Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions management/azure_mgmt_analysis_services/lib/generated/azure_mgmt_analysis_services.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,23 @@ module Azure::ARM::AnalysisServices
autoload :AnalysisServicesManagementClient, 'generated/azure_mgmt_analysis_services/analysis_services_management_client.rb'

module Models
autoload :ServerAdministrators, 'generated/azure_mgmt_analysis_services/models/server_administrators.rb'
autoload :AnalysisServicesServerUpdateParameters, 'generated/azure_mgmt_analysis_services/models/analysis_services_server_update_parameters.rb'
autoload :GatewayListStatusLive, 'generated/azure_mgmt_analysis_services/models/gateway_list_status_live.rb'
autoload :Resource, 'generated/azure_mgmt_analysis_services/models/resource.rb'
autoload :SkuEnumerationForNewResourceResult, 'generated/azure_mgmt_analysis_services/models/sku_enumeration_for_new_resource_result.rb'
autoload :GatewayError, 'generated/azure_mgmt_analysis_services/models/gateway_error.rb'
autoload :AnalysisServicesServers, 'generated/azure_mgmt_analysis_services/models/analysis_services_servers.rb'
autoload :GatewayListStatusError, 'generated/azure_mgmt_analysis_services/models/gateway_list_status_error.rb'
autoload :GatewayDetails, 'generated/azure_mgmt_analysis_services/models/gateway_details.rb'
autoload :SkuEnumerationForNewResourceResult, 'generated/azure_mgmt_analysis_services/models/sku_enumeration_for_new_resource_result.rb'
autoload :ServerAdministrators, 'generated/azure_mgmt_analysis_services/models/server_administrators.rb'
autoload :SkuDetailsForExistingResource, 'generated/azure_mgmt_analysis_services/models/sku_details_for_existing_resource.rb'
autoload :ResourceSku, 'generated/azure_mgmt_analysis_services/models/resource_sku.rb'
autoload :SkuEnumerationForExistingResourceResult, 'generated/azure_mgmt_analysis_services/models/sku_enumeration_for_existing_resource_result.rb'
autoload :AnalysisServicesServer, 'generated/azure_mgmt_analysis_services/models/analysis_services_server.rb'
autoload :SkuTier, 'generated/azure_mgmt_analysis_services/models/sku_tier.rb'
autoload :State, 'generated/azure_mgmt_analysis_services/models/state.rb'
autoload :ProvisioningState, 'generated/azure_mgmt_analysis_services/models/provisioning_state.rb'
autoload :ConnectionMode, 'generated/azure_mgmt_analysis_services/models/connection_mode.rb'
autoload :Status, 'generated/azure_mgmt_analysis_services/models/status.rb'
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def initialize(credentials = nil, base_url = nil, options = nil)
@credentials = credentials

@servers = Servers.new(self)
@api_version = '2016-05-16'
@api_version = '2017-08-01-beta'
@accept_language = 'en-US'
@long_running_operation_retry_timeout = 30
@generate_client_request_id = true
Expand Down
31 changes: 31 additions & 0 deletions ...is_services/lib/generated/azure_mgmt_analysis_services/models/analysis_services_server.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ class AnalysisServicesServer < MsRestAzure::Resource
# @return [String] The container URI of backup blob.
attr_accessor :backup_blob_container_uri

# @return [GatewayDetails] The gateway details configured for the AS
# server.
attr_accessor :gateway_details

# @return [ConnectionMode] How the read-write server's participation in
# the query pool is controlled.<br/>It can have the following values:
# <ul><li>readOnly - indicates that the read-write server is intended not
# to participate in query operations</li><li>all - indicates that the
# read-write server can participate in query
# operations</li></ul>Specifying readOnly when capacity is 1 results in
# error. Possible values include: 'All', 'ReadOnly'. Default value: 'All'
# .
attr_accessor :querypool_connection_mode

# @return [State] The current state of Analysis Services resource. The
# state is to indicate more states outside of resource provisioning.
# Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused',
Expand Down Expand Up @@ -117,6 +131,23 @@ def self.mapper()
name: 'String'
}
},
gateway_details: {
required: false,
serialized_name: 'properties.gatewayDetails',
type: {
name: 'Composite',
class_name: 'GatewayDetails'
}
},
querypool_connection_mode: {
required: false,
serialized_name: 'properties.querypoolConnectionMode',
default_value: 'All',
type: {
name: 'Enum',
module: 'ConnectionMode'
}
},
state: {
required: false,
read_only: true,
Expand Down
31 changes: 31 additions & 0 deletions ...nerated/azure_mgmt_analysis_services/models/analysis_services_server_update_parameters.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ class AnalysisServicesServerUpdateParameters
# @return [String] The container URI of backup blob.
attr_accessor :backup_blob_container_uri

# @return [GatewayDetails] The gateway details configured for the AS
# server.
attr_accessor :gateway_details

# @return [ConnectionMode] How the read-write server's participation in
# the query pool is controlled.<br/>It can have the following values:
# <ul><li>readOnly - indicates that the read-write server is intended not
# to participate in query operations</li><li>all - indicates that the
# read-write server can participate in query
# operations</li></ul>Specifying readOnly when capacity is 1 results in
# error. Possible values include: 'All', 'ReadOnly'. Default value: 'All'
# .
attr_accessor :querypool_connection_mode


#
# Mapper for AnalysisServicesServerUpdateParameters class as Ruby Hash.
Expand Down Expand Up @@ -75,6 +89,23 @@ def self.mapper()
type: {
name: 'String'
}
},
gateway_details: {
required: false,
serialized_name: 'properties.gatewayDetails',
type: {
name: 'Composite',
class_name: 'GatewayDetails'
}
},
querypool_connection_mode: {
required: false,
serialized_name: 'properties.querypoolConnectionMode',
default_value: 'All',
type: {
name: 'Enum',
module: 'ConnectionMode'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::AnalysisServices
module Models
#
# Defines values for ConnectionMode
#
module ConnectionMode
All = "All"
ReadOnly = "ReadOnly"
end
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::AnalysisServices
module Models
#
# The gateway details.
#
class GatewayDetails

include MsRestAzure

include MsRest::JSONable
# @return [String] Gateway resource to be associated with the server.
attr_accessor :gateway_resource_id

# @return [String] Gateway object id from in the DMTS cluster for the
# gateway resource.
attr_accessor :gateway_object_id

# @return [String] Uri of the DMTS cluster.
attr_accessor :dmts_cluster_uri


#
# Mapper for GatewayDetails class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'GatewayDetails',
type: {
name: 'Composite',
class_name: 'GatewayDetails',
model_properties: {
gateway_resource_id: {
required: false,
serialized_name: 'gatewayResourceId',
type: {
name: 'String'
}
},
gateway_object_id: {
required: false,
read_only: true,
serialized_name: 'gatewayObjectId',
type: {
name: 'String'
}
},
dmts_cluster_uri: {
required: false,
read_only: true,
serialized_name: 'dmtsClusterUri',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::AnalysisServices
module Models
#
# Detail of gateway errors
#
class GatewayError

include MsRestAzure

include MsRest::JSONable
# @return [String] Error code of list gateway.
attr_accessor :code

# @return [String] Error message of list gateway.
attr_accessor :message


#
# Mapper for GatewayError class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'GatewayError',
type: {
name: 'Composite',
class_name: 'GatewayError',
model_properties: {
code: {
required: false,
serialized_name: 'code',
type: {
name: 'String'
}
},
message: {
required: false,
serialized_name: 'message',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::AnalysisServices
module Models
#
# Status of gateway is error
#
class GatewayListStatusError

include MsRestAzure

include MsRest::JSONable
# @return [GatewayError] Error of the list gateway status.
attr_accessor :error


#
# Mapper for GatewayListStatusError class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'GatewayListStatusError',
type: {
name: 'Composite',
class_name: 'GatewayListStatusError',
model_properties: {
error: {
required: false,
serialized_name: 'error',
type: {
name: 'Composite',
class_name: 'GatewayError'
}
}
}
}
}
end
end
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::AnalysisServices
module Models
#
# Status of gateway is live
#
class GatewayListStatusLive

include MsRestAzure

include MsRest::JSONable
# @return [Status] Live message of list gateway. Possible values include:
# 'Live'
attr_accessor :status


#
# Mapper for GatewayListStatusLive class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'GatewayListStatusLive',
type: {
name: 'Composite',
class_name: 'GatewayListStatusLive',
model_properties: {
status: {
required: false,
serialized_name: 'status',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end
16 changes: 16 additions & 0 deletions ..._mgmt_analysis_services/lib/generated/azure_mgmt_analysis_services/models/resource_sku.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ class ResourceSku
# applies. Possible values include: 'Development', 'Basic', 'Standard'
attr_accessor :tier

# @return [Integer] The number of instances in the read only query pool.
# Default value: 1 .
attr_accessor :capacity


#
# Mapper for ResourceSku class as Ruby Hash.
Expand All @@ -47,6 +51,18 @@ def self.mapper()
type: {
name: 'String'
}
},
capacity: {
required: false,
serialized_name: 'capacity',
default_value: 1,
constraints: {
InclusiveMaximum: 8,
InclusiveMinimum: 1
},
type: {
name: 'Number'
}
}
}
}
Expand Down
Loading