diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb index a21cc50652..488ef95f16 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb @@ -106,9 +106,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -125,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_service' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::ContainerService::Mgmt::V2016_03_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerService::Mgmt::V2016_03_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb index 50780b6c5a..55e809ac8c 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [ContainerServiceListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -60,13 +60,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -125,8 +124,8 @@ def list_async(custom_headers:nil) # # @return [ContainerService] operation results. # - def create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -142,9 +141,9 @@ def create_or_update(resource_group_name, container_service_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -174,8 +173,8 @@ def create_or_update_async(resource_group_name, container_service_name, paramete # # @return [ContainerService] operation results. # - def get(resource_group_name, container_service_name, custom_headers:nil) - response = get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_service_name, custom_headers = nil) + response = get_async(resource_group_name, container_service_name, custom_headers).value! response.body unless response.nil? end @@ -193,8 +192,8 @@ def get(resource_group_name, container_service_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + get_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -211,7 +210,7 @@ def get_with_http_info(resource_group_name, container_service_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_service_name, custom_headers:nil) + def get_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -219,7 +218,6 @@ def get_async(resource_group_name, container_service_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -277,8 +275,8 @@ def get_async(resource_group_name, container_service_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, container_service_name, custom_headers:nil) - response = delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_service_name, custom_headers = nil) + response = delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -292,9 +290,9 @@ def delete(resource_group_name, container_service_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, container_service_name, custom_headers:nil) + def delete_async(resource_group_name, container_service_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, container_service_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -320,8 +318,8 @@ def delete_async(resource_group_name, container_service_name, custom_headers:nil # # @return [ContainerServiceListResult] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -337,8 +335,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -353,14 +351,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -419,8 +416,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerService] operation results. # - def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -438,8 +435,8 @@ def begin_create_or_update(resource_group_name, container_service_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! end # @@ -456,7 +453,7 @@ def begin_create_or_update_with_http_info(resource_group_name, container_service # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -465,12 +462,13 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerService::Mgmt::V2016_03_30::Models::ContainerService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -551,8 +549,8 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, container_service_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, container_service_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -571,8 +569,8 @@ def begin_delete(resource_group_name, container_service_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + begin_delete_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -590,7 +588,7 @@ def begin_delete_with_http_info(resource_group_name, container_service_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, container_service_name, custom_headers:nil) + def begin_delete_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -598,7 +596,6 @@ def begin_delete_async(resource_group_name, container_service_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service.rb index b5490b113c..5c13f759bc 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service.rb @@ -44,7 +44,6 @@ class ContainerService < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerService', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ContainerService', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -70,7 +67,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -79,7 +75,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -87,13 +82,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -112,7 +104,6 @@ def self.mapper() } }, orchestrator_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.orchestratorProfile', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, master_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.masterProfile', type: { @@ -130,13 +120,11 @@ def self.mapper() } }, agent_pool_profiles: { - client_side_validation: true, required: true, serialized_name: 'properties.agentPoolProfiles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfileElementType', type: { @@ -147,7 +135,6 @@ def self.mapper() } }, windows_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.windowsProfile', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, linux_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.linuxProfile', type: { @@ -165,7 +151,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb index 605ca740b5..28b3c6dd42 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb @@ -51,7 +51,6 @@ class ContainerServiceAgentPoolProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfile', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerServiceAgentPoolProfile', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, serialized_name: 'count', constraints: { @@ -79,7 +76,6 @@ def self.mapper() } }, vm_size: { - client_side_validation: true, required: true, serialized_name: 'vmSize', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb index c555be2e3e..89525fd9ac 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb @@ -24,7 +24,6 @@ class ContainerServiceDiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceDiagnosticsProfile', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceDiagnosticsProfile', model_properties: { vm_diagnostics: { - client_side_validation: true, required: true, serialized_name: 'vmDiagnostics', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb index d7ba50ca41..a3f61771e0 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb @@ -26,7 +26,6 @@ class ContainerServiceLinuxProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceLinuxProfile', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerServiceLinuxProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: true, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb index bd6284cf13..94bb6d0ca0 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb @@ -22,7 +22,6 @@ class ContainerServiceListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ContainerServiceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb index ae9e18323e..73b5be057b 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb @@ -30,7 +30,6 @@ class ContainerServiceMasterProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceMasterProfile', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ContainerServiceMasterProfile', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', default_value: 1, @@ -47,7 +45,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb index 518ac8412b..c058e5b013 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb @@ -24,7 +24,6 @@ class ContainerServiceOrchestratorProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceOrchestratorProfile', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceOrchestratorProfile', model_properties: { orchestrator_type: { - client_side_validation: true, required: true, serialized_name: 'orchestratorType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb index 6460848ea9..36e9142ada 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb @@ -23,7 +23,6 @@ class ContainerServiceSshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ContainerServiceSshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: true, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb index 3eb40cb55f..f14376fa38 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb @@ -24,7 +24,6 @@ class ContainerServiceSshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceSshPublicKey', model_properties: { key_data: { - client_side_validation: true, required: true, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb index 06879019d6..125373d10a 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb @@ -27,7 +27,6 @@ class ContainerServiceVMDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceVMDiagnostics', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ContainerServiceVMDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'storageUri', diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb index 4d28b221ec..4e56b52abc 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb @@ -25,7 +25,6 @@ class ContainerServiceWindowsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceWindowsProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerServiceWindowsProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: true, serialized_name: 'adminPassword', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/resource.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/resource.rb index baf987dd10..af2e41eb47 100644 --- a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/resource.rb +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/version.rb b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/version.rb new file mode 100644 index 0000000000..5a26d25a3f --- /dev/null +++ b/management/azure_mgmt_container_service/lib/2016-03-30/generated/azure_mgmt_container_service/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerService::Mgmt::V2016_03_30 + VERSION = '0.17.0' +end diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb index 272dba6dad..c519be3a3c 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb @@ -106,9 +106,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -125,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_service' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::ContainerService::Mgmt::V2016_09_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerService::Mgmt::V2016_09_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb index a23e3b0d47..0dcf14f8ab 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb @@ -5,7 +5,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30 # - # Compute Client + # The Container Service Client. # class ContainerServices include MsRestAzure @@ -33,8 +33,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -50,8 +50,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -66,13 +66,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -133,8 +132,8 @@ def list_async(custom_headers:nil) # # @return [ContainerService] operation results. # - def create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -150,9 +149,9 @@ def create_or_update(resource_group_name, container_service_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -184,8 +183,8 @@ def create_or_update_async(resource_group_name, container_service_name, paramete # # @return [ContainerService] operation results. # - def get(resource_group_name, container_service_name, custom_headers:nil) - response = get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_service_name, custom_headers = nil) + response = get_async(resource_group_name, container_service_name, custom_headers).value! response.body unless response.nil? end @@ -205,8 +204,8 @@ def get(resource_group_name, container_service_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + get_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -225,7 +224,7 @@ def get_with_http_info(resource_group_name, container_service_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_service_name, custom_headers:nil) + def get_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -233,7 +232,6 @@ def get_async(resource_group_name, container_service_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def get_async(resource_group_name, container_service_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, container_service_name, custom_headers:nil) - response = delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_service_name, custom_headers = nil) + response = delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -308,9 +306,9 @@ def delete(resource_group_name, container_service_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, container_service_name, custom_headers:nil) + def delete_async(resource_group_name, container_service_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, container_service_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -338,8 +336,8 @@ def delete_async(resource_group_name, container_service_name, custom_headers:nil # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -357,8 +355,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -375,14 +373,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,8 +440,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerService] operation results. # - def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +461,8 @@ def begin_create_or_update(resource_group_name, container_service_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! end # @@ -484,7 +481,7 @@ def begin_create_or_update_with_http_info(resource_group_name, container_service # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -493,12 +490,13 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerService::Mgmt::V2016_09_30::Models::ContainerService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -581,8 +579,8 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, container_service_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, container_service_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -603,8 +601,8 @@ def begin_delete(resource_group_name, container_service_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + begin_delete_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -624,7 +622,7 @@ def begin_delete_with_http_info(resource_group_name, container_service_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, container_service_name, custom_headers:nil) + def begin_delete_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -632,7 +630,6 @@ def begin_delete_async(resource_group_name, container_service_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -681,8 +678,8 @@ def begin_delete_async(resource_group_name, container_service_name, custom_heade # # @return [ContainerServiceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -700,8 +697,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -718,12 +715,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -782,8 +778,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerServiceListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -802,8 +798,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -821,12 +817,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -883,12 +878,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerServiceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -909,12 +904,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerServiceListResult] which provide lazy access to pages of # the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service.rb index ee33454730..3a76e35fa3 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service.rb @@ -51,7 +51,6 @@ class ContainerService < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerService', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerService', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -119,7 +111,6 @@ def self.mapper() } }, orchestrator_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.orchestratorProfile', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, custom_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.customProfile', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, service_principal_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.servicePrincipalProfile', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, master_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.masterProfile', type: { @@ -155,13 +143,11 @@ def self.mapper() } }, agent_pool_profiles: { - client_side_validation: true, required: true, serialized_name: 'properties.agentPoolProfiles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfileElementType', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, windows_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.windowsProfile', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, linux_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.linuxProfile', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb index 5aa6764a9e..2cac621510 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb @@ -51,7 +51,6 @@ class ContainerServiceAgentPoolProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfile', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerServiceAgentPoolProfile', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: true, serialized_name: 'count', default_value: 1, @@ -80,7 +77,6 @@ def self.mapper() } }, vm_size: { - client_side_validation: true, required: true, serialized_name: 'vmSize', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -96,7 +91,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb index a1933ddfbf..3e9e132ba8 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb @@ -22,7 +22,6 @@ class ContainerServiceCustomProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceCustomProfile', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ContainerServiceCustomProfile', model_properties: { orchestrator: { - client_side_validation: true, required: true, serialized_name: 'orchestrator', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb index da194c939e..ca969f0dcd 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb @@ -24,7 +24,6 @@ class ContainerServiceDiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceDiagnosticsProfile', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceDiagnosticsProfile', model_properties: { vm_diagnostics: { - client_side_validation: true, required: true, serialized_name: 'vmDiagnostics', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb index cdba270aaf..0eb28e4877 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb @@ -26,7 +26,6 @@ class ContainerServiceLinuxProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceLinuxProfile', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerServiceLinuxProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', constraints: { @@ -45,7 +43,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: true, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb index d361d1c7ed..55a813e9be 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerServiceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb index a0ef8e7dfc..439f5e2d19 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb @@ -30,7 +30,6 @@ class ContainerServiceMasterProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceMasterProfile', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ContainerServiceMasterProfile', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', default_value: 1, @@ -47,7 +45,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb index b7cce3460e..c8e40f500d 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb @@ -25,7 +25,6 @@ class ContainerServiceOrchestratorProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceOrchestratorProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerServiceOrchestratorProfile', model_properties: { orchestrator_type: { - client_side_validation: true, required: true, serialized_name: 'orchestratorType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb index e7ca81886d..e3825bad75 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb @@ -27,7 +27,6 @@ class ContainerServiceServicePrincipalProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceServicePrincipalProfile', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ContainerServiceServicePrincipalProfile', model_properties: { client_id: { - client_side_validation: true, required: true, serialized_name: 'clientId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, secret: { - client_side_validation: true, required: true, serialized_name: 'secret', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb index c162b7d892..7392701f73 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb @@ -23,7 +23,6 @@ class ContainerServiceSshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ContainerServiceSshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: true, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb index ec8f127112..cd76506b1c 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb @@ -24,7 +24,6 @@ class ContainerServiceSshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceSshPublicKey', model_properties: { key_data: { - client_side_validation: true, required: true, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb index 63938ae8fc..c2ae098d41 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb @@ -27,7 +27,6 @@ class ContainerServiceVMDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceVMDiagnostics', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ContainerServiceVMDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'storageUri', diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb index 6bab93de90..d8b743f302 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb @@ -25,7 +25,6 @@ class ContainerServiceWindowsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceWindowsProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerServiceWindowsProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', constraints: { @@ -44,7 +42,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: true, serialized_name: 'adminPassword', constraints: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/resource.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/resource.rb index 23e048410b..48f927a8ba 100644 --- a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/resource.rb +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/version.rb b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/version.rb new file mode 100644 index 0000000000..46be72fb12 --- /dev/null +++ b/management/azure_mgmt_container_service/lib/2016-09-30/generated/azure_mgmt_container_service/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerService::Mgmt::V2016_09_30 + VERSION = '0.17.0' +end diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb index ab182bef80..815d9b460c 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb @@ -106,9 +106,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -125,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_service' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::ContainerService::Mgmt::V2017_01_31::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerService::Mgmt::V2017_01_31::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb index 322e687733..d2d74e55e9 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb @@ -5,7 +5,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31 # - # Compute Client + # The Container Service Client. # class ContainerServices include MsRestAzure @@ -33,8 +33,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -50,8 +50,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -66,13 +66,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -133,8 +132,8 @@ def list_async(custom_headers:nil) # # @return [ContainerService] operation results. # - def create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -150,9 +149,9 @@ def create_or_update(resource_group_name, container_service_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -184,8 +183,8 @@ def create_or_update_async(resource_group_name, container_service_name, paramete # # @return [ContainerService] operation results. # - def get(resource_group_name, container_service_name, custom_headers:nil) - response = get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_service_name, custom_headers = nil) + response = get_async(resource_group_name, container_service_name, custom_headers).value! response.body unless response.nil? end @@ -205,8 +204,8 @@ def get(resource_group_name, container_service_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + get_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -225,7 +224,7 @@ def get_with_http_info(resource_group_name, container_service_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_service_name, custom_headers:nil) + def get_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -233,7 +232,6 @@ def get_async(resource_group_name, container_service_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def get_async(resource_group_name, container_service_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, container_service_name, custom_headers:nil) - response = delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_service_name, custom_headers = nil) + response = delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -308,9 +306,9 @@ def delete(resource_group_name, container_service_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, container_service_name, custom_headers:nil) + def delete_async(resource_group_name, container_service_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, container_service_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -338,8 +336,8 @@ def delete_async(resource_group_name, container_service_name, custom_headers:nil # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -357,8 +355,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -375,14 +373,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,8 +440,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerService] operation results. # - def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +461,8 @@ def begin_create_or_update(resource_group_name, container_service_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value! end # @@ -484,7 +481,7 @@ def begin_create_or_update_with_http_info(resource_group_name, container_service # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -493,12 +490,13 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -581,8 +579,8 @@ def begin_create_or_update_async(resource_group_name, container_service_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, container_service_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, container_service_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, container_service_name, custom_headers).value! nil end @@ -603,8 +601,8 @@ def begin_delete(resource_group_name, container_service_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers:nil) - begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers = nil) + begin_delete_async(resource_group_name, container_service_name, custom_headers).value! end # @@ -624,7 +622,7 @@ def begin_delete_with_http_info(resource_group_name, container_service_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, container_service_name, custom_headers:nil) + def begin_delete_async(resource_group_name, container_service_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'container_service_name is nil' if container_service_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -632,7 +630,6 @@ def begin_delete_async(resource_group_name, container_service_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -681,8 +678,8 @@ def begin_delete_async(resource_group_name, container_service_name, custom_heade # # @return [ContainerServiceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -700,8 +697,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -718,12 +715,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -782,8 +778,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerServiceListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -802,8 +798,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -821,12 +817,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -883,12 +878,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerServiceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -909,12 +904,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerServiceListResult] which provide lazy access to pages of # the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service.rb index b53a8d56e5..4af88f7d72 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service.rb @@ -51,7 +51,6 @@ class ContainerService < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerService', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerService', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -119,7 +111,6 @@ def self.mapper() } }, orchestrator_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.orchestratorProfile', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, custom_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.customProfile', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, service_principal_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.servicePrincipalProfile', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, master_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.masterProfile', type: { @@ -155,13 +143,11 @@ def self.mapper() } }, agent_pool_profiles: { - client_side_validation: true, required: true, serialized_name: 'properties.agentPoolProfiles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfileElementType', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, windows_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.windowsProfile', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, linux_profile: { - client_side_validation: true, required: true, serialized_name: 'properties.linuxProfile', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb index a7baa0de87..f6d8d8dd0f 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb @@ -51,7 +51,6 @@ class ContainerServiceAgentPoolProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceAgentPoolProfile', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerServiceAgentPoolProfile', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: true, serialized_name: 'count', default_value: 1, @@ -80,7 +77,6 @@ def self.mapper() } }, vm_size: { - client_side_validation: true, required: true, serialized_name: 'vmSize', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -96,7 +91,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb index 9eed1e804e..5b54e36730 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb @@ -22,7 +22,6 @@ class ContainerServiceCustomProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceCustomProfile', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ContainerServiceCustomProfile', model_properties: { orchestrator: { - client_side_validation: true, required: true, serialized_name: 'orchestrator', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb index 638090921c..cd987e08f8 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb @@ -24,7 +24,6 @@ class ContainerServiceDiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceDiagnosticsProfile', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceDiagnosticsProfile', model_properties: { vm_diagnostics: { - client_side_validation: true, required: true, serialized_name: 'vmDiagnostics', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb index 92e56289f5..c9a7f1140c 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb @@ -26,7 +26,6 @@ class ContainerServiceLinuxProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceLinuxProfile', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerServiceLinuxProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', constraints: { @@ -45,7 +43,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: true, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_list_result.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_list_result.rb index c716969027..6fb70cfe61 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_list_result.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerServiceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb index 63e42eee4d..e82285464e 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb @@ -30,7 +30,6 @@ class ContainerServiceMasterProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceMasterProfile', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ContainerServiceMasterProfile', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', default_value: 1, @@ -47,7 +45,6 @@ def self.mapper() } }, dns_prefix: { - client_side_validation: true, required: true, serialized_name: 'dnsPrefix', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb index 6e20a009a6..640c421a24 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb @@ -25,7 +25,6 @@ class ContainerServiceOrchestratorProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceOrchestratorProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerServiceOrchestratorProfile', model_properties: { orchestrator_type: { - client_side_validation: true, required: true, serialized_name: 'orchestratorType', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb index a022852fe0..45f14314e8 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb @@ -27,7 +27,6 @@ class ContainerServiceServicePrincipalProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceServicePrincipalProfile', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ContainerServiceServicePrincipalProfile', model_properties: { client_id: { - client_side_validation: true, required: true, serialized_name: 'clientId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, secret: { - client_side_validation: true, required: true, serialized_name: 'secret', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb index 33e7a61fb4..b423549a50 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb @@ -23,7 +23,6 @@ class ContainerServiceSshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ContainerServiceSshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: true, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb index 397daa31c0..8eb43fae94 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb @@ -24,7 +24,6 @@ class ContainerServiceSshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceSshPublicKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ContainerServiceSshPublicKey', model_properties: { key_data: { - client_side_validation: true, required: true, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb index b61005ca9d..422d47faee 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb @@ -27,7 +27,6 @@ class ContainerServiceVMDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceVMDiagnostics', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ContainerServiceVMDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'storageUri', diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb index c3b00c2c0a..71051cfde5 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb @@ -25,7 +25,6 @@ class ContainerServiceWindowsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerServiceWindowsProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerServiceWindowsProfile', model_properties: { admin_username: { - client_side_validation: true, required: true, serialized_name: 'adminUsername', constraints: { @@ -44,7 +42,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: true, serialized_name: 'adminPassword', constraints: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/resource.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/resource.rb index 5d9bf447e3..f729cfd16c 100644 --- a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/resource.rb +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/version.rb b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/version.rb new file mode 100644 index 0000000000..f327b496b1 --- /dev/null +++ b/management/azure_mgmt_container_service/lib/2017-01-31/generated/azure_mgmt_container_service/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerService::Mgmt::V2017_01_31 + VERSION = '0.17.0' +end