diff --git a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_base_parameters.rb b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_base_parameters.rb index d32119577a..845bb9728c 100644 --- a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_base_parameters.rb +++ b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_base_parameters.rb @@ -75,7 +75,7 @@ class ApiManagementServiceBaseParameters # Management service, like disabling TLS 1.0. attr_accessor :custom_properties - # @return [VirtualNetworkType] The type of VPN in which API Managemet + # @return [VirtualNetworkType] The type of VPN in which API Management # service needs to be configured in. None (Default Value) means the API # Management service is not part of any Virtual Network, External means # the API Management deployment is set up inside a Virtual Network having diff --git a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb index 8273be76d5..4fa39948c5 100644 --- a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +++ b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb @@ -31,7 +31,7 @@ class ApiManagementServiceManageDeploymentsParameters # @return [VirtualNetworkConfiguration] Virtual network configuration. attr_accessor :vpn_configuration - # @return [VirtualNetworkType] The type of VPN in which API Managemet + # @return [VirtualNetworkType] The type of VPN in which API Management # service needs to be configured in. None (Default Value) means the API # Management service is not part of any Virtual Network, External means # the API Management deployment is set up inside a Virtual Network having diff --git a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_contract.rb b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_contract.rb index d710ce72f8..872af10bf8 100644 --- a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_contract.rb +++ b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_contract.rb @@ -14,7 +14,7 @@ class GroupContract # @return [String] Uniquely identifies the group within the current API # Management service instance. The value is a valid relative URL in the - # format of /groups/{groupid} where {groupid} is a group identifier. + # format of /groups/{groupId} where {groupId} is a group identifier. attr_accessor :id # @return [String] Group name. diff --git a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_record_contract.rb b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_record_contract.rb index 8c03802925..83017c7f91 100644 --- a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_record_contract.rb +++ b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_record_contract.rb @@ -22,7 +22,7 @@ class ReportRecordContract # attr_accessor :timestamp - # @return [Integer] Length of agregation period. + # @return [Integer] Length of aggregation period. attr_accessor :interval # @return [String] Country to which this record data is related. @@ -54,7 +54,7 @@ class ReportRecordContract # /subscriptions/{subscriptionId} attr_accessor :subscription_id - # @return [Integer] Number of succesful calls. + # @return [Integer] Number of successful calls. attr_accessor :call_count_success # @return [Integer] Number of calls blocked due to invalid credentials. diff --git a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_collection.rb b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_collection.rb index 5dcf209acb..0708e18151 100644 --- a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_collection.rb +++ b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_collection.rb @@ -6,7 +6,7 @@ module Azure::ApiManagement::Mgmt::V2016_07_07 module Models # - # Paged Subsctions list representation. + # Paged Subscriptions list representation. # class SubscriptionCollection diff --git a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb index 2ae2242c2c..82eb328fc0 100644 --- a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +++ b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb @@ -17,7 +17,7 @@ class SubscriptionCreateParameters attr_accessor :user_id # @return [String] Product (product id path) for which subscription is - # being created in form /products/{productid} + # being created in form /products/{productId} attr_accessor :product_id # @return [String] Subscription name. diff --git a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb index 7e46ded548..6bf7e48dd0 100644 --- a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +++ b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb @@ -21,7 +21,7 @@ class VirtualNetworkConfiguration attr_accessor :subnetname # @return [String] The name of the subnet Resource ID. This has format - # /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/{virtual + # /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/{virtual # network name}/subnets/{subnet name}. attr_accessor :subnet_resource_id diff --git a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb index c49daeeea6..40b3dc7260 100644 --- a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb +++ b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb @@ -440,7 +440,7 @@ def update_async(resource_group_name, service_name, prop_id, parameters, if_matc end # - # Deletes specific property from the the API Management service instance. + # Deletes specific property from the API Management service instance. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -459,7 +459,7 @@ def delete(resource_group_name, service_name, prop_id, if_match, custom_headers end # - # Deletes specific property from the the API Management service instance. + # Deletes specific property from the API Management service instance. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -477,7 +477,7 @@ def delete_with_http_info(resource_group_name, service_name, prop_id, if_match, end # - # Deletes specific property from the the API Management service instance. + # Deletes specific property from the API Management service instance. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. diff --git a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb index 7356f53bd0..873220d640 100644 --- a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb +++ b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb @@ -37,7 +37,7 @@ def initialize(client) # zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -64,7 +64,7 @@ def list_by_service(resource_group_name, service_name, aggregation, filter = nil # zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -90,7 +90,7 @@ def list_by_service_with_http_info(resource_group_name, service_name, aggregatio # zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # @@ -252,7 +252,7 @@ def list_by_service_next_async(next_page_link, custom_headers = nil) # zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # diff --git a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb index 03defef9cb..dde42d1539 100644 --- a/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb +++ b/management/azure_mgmt_api_management/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb @@ -359,7 +359,7 @@ def create_or_update_async(resource_group_name, service_name, sid, parameters, c end # - # Updates the details of a subscription specificied by its identifier. + # Updates the details of a subscription specified by its identifier. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -378,7 +378,7 @@ def update(resource_group_name, service_name, sid, parameters, if_match, custom_ end # - # Updates the details of a subscription specificied by its identifier. + # Updates the details of a subscription specified by its identifier. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -397,7 +397,7 @@ def update_with_http_info(resource_group_name, service_name, sid, parameters, if end # - # Updates the details of a subscription specificied by its identifier. + # Updates the details of a subscription specified by its identifier. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. diff --git a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb index 22cae317f6..08f2fcf3f2 100644 --- a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +++ b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb @@ -31,7 +31,7 @@ class ApiManagementServiceManageDeploymentsParameters # @return [VirtualNetworkConfiguration] Virtual network configuration. attr_accessor :vpn_configuration - # @return [VirtualNetworkType] The type of VPN in which API Managemet + # @return [VirtualNetworkType] The type of VPN in which API Management # service needs to be configured in. None (Default Value) means the API # Management service is not part of any Virtual Network, External means # the API Management deployment is set up inside a Virtual Network having diff --git a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_resource.rb b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_resource.rb index 0f3fca2156..e0bd9f3833 100644 --- a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +++ b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_resource.rb @@ -69,7 +69,7 @@ class ApiManagementServiceResource < Resource # Management service, like disabling TLS 1.0. attr_accessor :custom_properties - # @return [VirtualNetworkType] The type of VPN in which API Managemet + # @return [VirtualNetworkType] The type of VPN in which API Management # service needs to be configured in. None (Default Value) means the API # Management service is not part of any Virtual Network, External means # the API Management deployment is set up inside a Virtual Network having diff --git a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb index 4efe27864f..7579e5be3c 100644 --- a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +++ b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb @@ -69,7 +69,7 @@ class ApiManagementServiceUpdateParameters # Management service, like disabling TLS 1.0. attr_accessor :custom_properties - # @return [VirtualNetworkType] The type of VPN in which API Managemet + # @return [VirtualNetworkType] The type of VPN in which API Management # service needs to be configured in. None (Default Value) means the API # Management service is not part of any Virtual Network, External means # the API Management deployment is set up inside a Virtual Network having diff --git a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_contract.rb b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_contract.rb index 265fb99ea7..745bbacafa 100644 --- a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_contract.rb +++ b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_contract.rb @@ -14,7 +14,7 @@ class GroupContract # @return [String] Uniquely identifies the group within the current API # Management service instance. The value is a valid relative URL in the - # format of /groups/{groupid} where {groupid} is a group identifier. + # format of /groups/{groupId} where {groupId} is a group identifier. attr_accessor :id # @return [String] Group name. diff --git a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_record_contract.rb b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_record_contract.rb index 29eae9ab96..cbcc506d95 100644 --- a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_record_contract.rb +++ b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_record_contract.rb @@ -22,7 +22,7 @@ class ReportRecordContract # attr_accessor :timestamp - # @return [Integer] Length of agregation period. + # @return [Integer] Length of aggregation period. attr_accessor :interval # @return [String] Country to which this record data is related. @@ -54,13 +54,13 @@ class ReportRecordContract # /subscriptions/{subscriptionId} attr_accessor :subscription_id - # @return [Integer] Number of succesful calls. This includes calls + # @return [Integer] Number of successful calls. This includes calls # returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and # HttpStatusCode.TemporaryRedirect attr_accessor :call_count_success # @return [Integer] Number of calls blocked due to invalid credentials. - # This includes calls returning HttpStatusCode.Unauthorize and + # This includes calls returning HttpStatusCode.Unauthorized and # HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests attr_accessor :call_count_blocked diff --git a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb index 51725fff82..bb57c28884 100644 --- a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +++ b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb @@ -17,7 +17,7 @@ class SubscriptionCreateParameters attr_accessor :user_id # @return [String] Product (product id path) for which subscription is - # being created in form /products/{productid} + # being created in form /products/{productId} attr_accessor :product_id # @return [String] Subscription name. diff --git a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb index 478e47b4de..3156c387a7 100644 --- a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb +++ b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb @@ -322,7 +322,7 @@ def update_async(resource_group_name, service_name, prop_id, parameters, if_matc end # - # Deletes specific property from the the API Management service instance. + # Deletes specific property from the API Management service instance. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -341,7 +341,7 @@ def delete(resource_group_name, service_name, prop_id, if_match, custom_headers end # - # Deletes specific property from the the API Management service instance. + # Deletes specific property from the API Management service instance. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -359,7 +359,7 @@ def delete_with_http_info(resource_group_name, service_name, prop_id, if_match, end # - # Deletes specific property from the the API Management service instance. + # Deletes specific property from the API Management service instance. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. diff --git a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb index 74fe4af141..4b4c89a151 100644 --- a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb +++ b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb @@ -37,7 +37,7 @@ def initialize(client) # zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -64,7 +64,7 @@ def list_by_service(resource_group_name, service_name, aggregation, filter = nil # zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # @@ -90,7 +90,7 @@ def list_by_service_with_http_info(resource_group_name, service_name, aggregatio # zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # @@ -252,7 +252,7 @@ def list_by_service_next_async(next_page_link, custom_headers = nil) # zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # diff --git a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb index d1ad3f9055..c4857629e3 100644 --- a/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb +++ b/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb @@ -365,7 +365,7 @@ def create_or_update_async(resource_group_name, service_name, sid, parameters, c end # - # Updates the details of a subscription specificied by its identifier. + # Updates the details of a subscription specified by its identifier. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -385,7 +385,7 @@ def update(resource_group_name, service_name, sid, parameters, if_match, custom_ end # - # Updates the details of a subscription specificied by its identifier. + # Updates the details of a subscription specified by its identifier. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -405,7 +405,7 @@ def update_with_http_info(resource_group_name, service_name, sid, parameters, if end # - # Updates the details of a subscription specificied by its identifier. + # Updates the details of a subscription specified by its identifier. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management.rb index 8ccb61a9f7..ddadb8737c 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management.rb @@ -40,6 +40,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview autoload :Backend, '2018-01-01/generated/azure_mgmt_api_management/backend.rb' autoload :Certificate, '2018-01-01/generated/azure_mgmt_api_management/certificate.rb' autoload :ApiManagementOperations, '2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb' + autoload :ApiManagementServiceSkus, '2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb' autoload :ApiManagementService, '2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb' autoload :Diagnostic, '2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb' autoload :DiagnosticLogger, '2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb' @@ -82,148 +83,152 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview autoload :ApiManagementClient, '2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb' module Models + autoload :CertificateInformation, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb' + autoload :ErrorFieldContract, '2018-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb' + autoload :CertificateConfiguration, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb' + autoload :ErrorResponse, '2018-01-01/generated/azure_mgmt_api_management/models/error_response.rb' autoload :HostnameConfiguration, '2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb' + autoload :PolicyCollection, '2018-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb' autoload :VirtualNetworkConfiguration, '2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb' - autoload :ErrorResponseBody, '2018-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb' + autoload :PolicySnippetsCollection, '2018-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb' autoload :ApiManagementServiceSkuProperties, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb' - autoload :BackendCollection, '2018-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb' - autoload :BackendUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb' - autoload :PolicySnippetContract, '2018-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb' - autoload :QuotaCounterContract, '2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb' - autoload :RegionContract, '2018-01-01/generated/azure_mgmt_api_management/models/region_contract.rb' - autoload :QuotaCounterValueContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb' - autoload :Resource, '2018-01-01/generated/azure_mgmt_api_management/models/resource.rb' - autoload :CertificateCollection, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb' - autoload :ApiVersionSetContractDetails, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb' - autoload :CertificateCreateOrUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb' - autoload :AccessInformationContract, '2018-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb' - autoload :CertificateInformation, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb' - autoload :ApiCreateOrUpdatePropertiesWsdlSelector, '2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb' - autoload :CertificateConfiguration, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb' - autoload :ApiUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb' - autoload :ErrorFieldContract, '2018-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb' + autoload :RegionListResult, '2018-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb' + autoload :AdditionalLocation, '2018-01-01/generated/azure_mgmt_api_management/models/additional_location.rb' + autoload :ApiExportResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb' + autoload :ApiManagementServiceBackupRestoreParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb' + autoload :ResourceSkuCapacity, '2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb' + autoload :ResourceSkuResult, '2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb' + autoload :ApiCollection, '2018-01-01/generated/azure_mgmt_api_management/models/api_collection.rb' + autoload :ResourceSkuResults, '2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb' + autoload :ApiCreateOrUpdateParameter, '2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb' + autoload :ErrorResponseBody, '2018-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb' + autoload :OAuth2AuthenticationSettingsContract, '2018-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb' autoload :OpenIdAuthenticationSettingsContract, '2018-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb' - autoload :ErrorResponse, '2018-01-01/generated/azure_mgmt_api_management/models/error_response.rb' + autoload :PropertyUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb' autoload :SubscriptionKeyParameterNamesContract, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb' - autoload :PropertyEntityBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb' + autoload :PolicySnippetContract, '2018-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb' autoload :ApiRevisionContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb' - autoload :AdditionalLocation, '2018-01-01/generated/azure_mgmt_api_management/models/additional_location.rb' + autoload :RegionContract, '2018-01-01/generated/azure_mgmt_api_management/models/region_contract.rb' autoload :ApiRevisionInfoContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb' - autoload :ApiManagementServiceBackupRestoreParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb' + autoload :Resource, '2018-01-01/generated/azure_mgmt_api_management/models/resource.rb' autoload :ApiReleaseCollection, '2018-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb' - autoload :ApiManagementServiceBaseProperties, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb' + autoload :ApiVersionSetContractDetails, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb' autoload :OperationCollection, '2018-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb' - autoload :ApiManagementServiceIdentity, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb' + autoload :PropertyEntityBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb' autoload :RepresentationContract, '2018-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb' - autoload :PropertyUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb' + autoload :ApiManagementServiceBaseProperties, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb' autoload :ResponseContract, '2018-01-01/generated/azure_mgmt_api_management/models/response_contract.rb' - autoload :ApimResource, '2018-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb' + autoload :ApiManagementServiceIdentity, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb' autoload :OperationUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb' autoload :SchemaCollection, '2018-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb' - autoload :ApiManagementServiceListResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb' + autoload :ApimResource, '2018-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb' autoload :IssueCollection, '2018-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb' - autoload :ApiManagementServiceGetSsoTokenResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb' + autoload :ApiVersionSetUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb' autoload :IssueContractBaseProperties, '2018-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb' - autoload :ApiManagementServiceCheckNameAvailabilityParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb' + autoload :ApiManagementServiceListResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb' autoload :IssueCommentCollection, '2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb' - autoload :ApiManagementServiceNameAvailabilityResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb' + autoload :ApiManagementServiceGetSsoTokenResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb' autoload :IssueAttachmentCollection, '2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb' - autoload :ApiManagementServiceApplyNetworkConfigurationParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb' + autoload :ApiManagementServiceCheckNameAvailabilityParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb' autoload :LoggerCollection, '2018-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb' - autoload :ApiManagementServiceUploadCertificateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb' + autoload :ApiManagementServiceNameAvailabilityResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb' autoload :DiagnosticCollection, '2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb' - autoload :HostnameConfigurationOld, '2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb' + autoload :ApiManagementServiceApplyNetworkConfigurationParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb' autoload :RequestReportCollection, '2018-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb' - autoload :ApiManagementServiceUpdateHostnameParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb' + autoload :ApiManagementServiceUploadCertificateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb' autoload :RequestReportRecordContract, '2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb' - autoload :OperationDisplay, '2018-01-01/generated/azure_mgmt_api_management/models/operation_display.rb' + autoload :HostnameConfigurationOld, '2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb' autoload :TagResourceContract, '2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb' - autoload :Operation, '2018-01-01/generated/azure_mgmt_api_management/models/operation.rb' + autoload :ApiManagementServiceUpdateHostnameParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb' autoload :ReportCollection, '2018-01-01/generated/azure_mgmt_api_management/models/report_collection.rb' - autoload :OperationListResult, '2018-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb' + autoload :OperationDisplay, '2018-01-01/generated/azure_mgmt_api_management/models/operation_display.rb' autoload :ReportRecordContract, '2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb' - autoload :EmailTemplateParametersContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb' + autoload :Operation, '2018-01-01/generated/azure_mgmt_api_management/models/operation.rb' autoload :QuotaCounterValueContract, '2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb' - autoload :ApiVersionSetUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb' + autoload :OperationListResult, '2018-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb' autoload :AuthorizationServerContractBaseProperties, '2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb' - autoload :EmailTemplateCollection, '2018-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb' + autoload :EmailTemplateParametersContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb' autoload :X509CertificateName, '2018-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb' - autoload :EmailTemplateUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb' + autoload :ApiVersionSetEntityBase, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb' autoload :BackendProperties, '2018-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb' - autoload :GroupContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb' + autoload :EmailTemplateCollection, '2018-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb' autoload :BackendProxyContract, '2018-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb' - autoload :ApiVersionSetEntityBase, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb' + autoload :EmailTemplateUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb' autoload :BackendBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb' + autoload :GroupContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb' + autoload :BackendCollection, '2018-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb' + autoload :ApiVersionSetCollection, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb' + autoload :QuotaCounterContract, '2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb' autoload :GroupCollection, '2018-01-01/generated/azure_mgmt_api_management/models/group_collection.rb' - autoload :PolicyCollection, '2018-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb' + autoload :CertificateCollection, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb' autoload :GroupCreateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb' - autoload :RegionListResult, '2018-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb' + autoload :ResourceSku, '2018-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb' autoload :GroupUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb' - autoload :AccessInformationUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb' + autoload :ApiCreateOrUpdatePropertiesWsdlSelector, '2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb' autoload :UserIdentityContract, '2018-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb' - autoload :ApiCreateOrUpdateParameter, '2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb' - autoload :UserEntityBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb' autoload :AuthenticationSettingsContract, '2018-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb' - autoload :ApiVersionSetCollection, '2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb' + autoload :UserEntityBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb' autoload :ApiRevisionCollection, '2018-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb' - autoload :UserCollection, '2018-01-01/generated/azure_mgmt_api_management/models/user_collection.rb' - autoload :TagDescriptionCollection, '2018-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb' autoload :CurrentUserIdentity, '2018-01-01/generated/azure_mgmt_api_management/models/current_user_identity.rb' + autoload :TagDescriptionCollection, '2018-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb' + autoload :UserCollection, '2018-01-01/generated/azure_mgmt_api_management/models/user_collection.rb' autoload :RequestContract, '2018-01-01/generated/azure_mgmt_api_management/models/request_contract.rb' + autoload :UserUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb' + autoload :AccessInformationUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb' autoload :IdentityProviderList, '2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb' - autoload :DeployConfigurationParameters, '2018-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb' - autoload :IdentityProviderUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb' autoload :IssueUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb' + autoload :IdentityProviderUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb' + autoload :DeployConfigurationParameters, '2018-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb' autoload :IdentityProviderBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb' - autoload :OperationResultLogItemContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb' - autoload :LoggerUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb' autoload :SubscriptionCreateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb' - autoload :RecipientsContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb' + autoload :LoggerUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb' autoload :OperationTagResourceContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb' - autoload :UserUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb' + autoload :RecipientsContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb' autoload :TagResourceCollection, '2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb' - autoload :NotificationCollection, '2018-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb' - autoload :AuthorizationServerCollection, '2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb' autoload :UserTokenResult, '2018-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb' + autoload :AuthorizationServerCollection, '2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb' + autoload :NotificationCollection, '2018-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb' autoload :BackendAuthorizationHeaderCredentials, '2018-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb' - autoload :RecipientUserCollection, '2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb' - autoload :BackendCredentialsContract, '2018-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb' autoload :UserTokenParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb' + autoload :BackendCredentialsContract, '2018-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb' + autoload :RecipientUserCollection, '2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb' autoload :QuotaCounterCollection, '2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb' + autoload :UserIdentityCollection, '2018-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb' + autoload :QuotaCounterValueContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb' autoload :RecipientEmailCollection, '2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb' - autoload :ApiExportResult, '2018-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb' + autoload :AccessInformationContract, '2018-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb' autoload :ConnectivityStatusContract, '2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb' - autoload :OAuth2AuthenticationSettingsContract, '2018-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb' + autoload :ApiEntityBaseContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb' autoload :NetworkStatusContract, '2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb' - autoload :TagDescriptionCreateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb' + autoload :ParameterContract, '2018-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb' autoload :NetworkStatusContractByLocation, '2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb' - autoload :OperationEntityBaseContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb' - autoload :UserIdentityCollection, '2018-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb' - autoload :TagCollection, '2018-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb' + autoload :TagCreateUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb' + autoload :UserCreateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb' + autoload :SubscriptionUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb' autoload :OpenIdConnectProviderCollection, '2018-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb' - autoload :ProductEntityBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb' + autoload :TagTagResourceContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb' autoload :OpenidConnectProviderUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb' - autoload :ProductCollection, '2018-01-01/generated/azure_mgmt_api_management/models/product_collection.rb' - autoload :UserCreateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb' - autoload :BackendServiceFabricClusterProperties, '2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb' - autoload :TermsOfServiceProperties, '2018-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb' - autoload :PolicySnippetsCollection, '2018-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb' + autoload :TokenBodyParameterContract, '2018-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb' autoload :GenerateSsoUrlResult, '2018-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb' - autoload :ApiEntityBaseContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb' + autoload :BackendTlsProperties, '2018-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb' + autoload :TermsOfServiceProperties, '2018-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb' + autoload :CertificateCreateOrUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb' + autoload :TenantConfigurationSyncStateContract, '2018-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb' + autoload :TagDescriptionCreateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb' autoload :SubscriptionsDelegationSettingsProperties, '2018-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb' - autoload :TagCreateUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb' + autoload :TagCollection, '2018-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb' autoload :RegistrationDelegationSettingsProperties, '2018-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb' - autoload :TagTagResourceContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb' - autoload :TenantConfigurationSyncStateContract, '2018-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb' - autoload :BackendTlsProperties, '2018-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb' - autoload :ProductUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb' - autoload :ParameterContract, '2018-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb' + autoload :ProductCollection, '2018-01-01/generated/azure_mgmt_api_management/models/product_collection.rb' autoload :SaveConfigurationParameter, '2018-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb' - autoload :TokenBodyParameterContract, '2018-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb' - autoload :SubscriptionCollection, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb' - autoload :SubscriptionUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb' + autoload :BackendUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb' + autoload :ProductUpdateParameters, '2018-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb' + autoload :OperationEntityBaseContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb' autoload :OperationResultContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb' - autoload :ApiCollection, '2018-01-01/generated/azure_mgmt_api_management/models/api_collection.rb' + autoload :BackendServiceFabricClusterProperties, '2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb' + autoload :SubscriptionCollection, '2018-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb' + autoload :ProductEntityBaseParameters, '2018-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb' + autoload :OperationResultLogItemContract, '2018-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb' + autoload :ApiUpdateContract, '2018-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb' autoload :PropertyCollection, '2018-01-01/generated/azure_mgmt_api_management/models/property_collection.rb' autoload :PolicyContract, '2018-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb' autoload :ApiContractProperties, '2018-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb' @@ -276,8 +281,9 @@ module Models autoload :ClientAuthenticationMethod, '2018-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb' autoload :BearerTokenSendingMethod, '2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb' autoload :BackendProtocol, '2018-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb' - autoload :HostnameType, '2018-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb' autoload :SkuType, '2018-01-01/generated/azure_mgmt_api_management/models/sku_type.rb' + autoload :ResourceSkuCapacityScaleType, '2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb' + autoload :HostnameType, '2018-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb' autoload :VirtualNetworkType, '2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb' autoload :NameAvailabilityReason, '2018-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb' autoload :GroupType, '2018-01-01/generated/azure_mgmt_api_management/models/group_type.rb' diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb index edc4bd094b..211cf8d973 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb @@ -22,7 +22,7 @@ def initialize(client) attr_reader :client # - # Lists all loggers assosiated with the specified Diagnostic of an API. + # Lists all loggers associated with the specified Diagnostic of an API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -48,7 +48,7 @@ def list_by_service(resource_group_name, service_name, api_id, diagnostic_id, fi end # - # Lists all loggers assosiated with the specified Diagnostic of an API. + # Lists all loggers associated with the specified Diagnostic of an API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -73,7 +73,7 @@ def list_by_service_with_http_info(resource_group_name, service_name, api_id, di end # - # Lists all loggers assosiated with the specified Diagnostic of an API. + # Lists all loggers associated with the specified Diagnostic of an API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -254,7 +254,7 @@ def check_entity_exists_async(resource_group_name, service_name, api_id, diagnos end # - # Attaches a logger to a dignostic for an API. + # Attaches a logger to a diagnostic for an API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -275,7 +275,7 @@ def create_or_update(resource_group_name, service_name, api_id, diagnostic_id, l end # - # Attaches a logger to a dignostic for an API. + # Attaches a logger to a diagnostic for an API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -295,7 +295,7 @@ def create_or_update_with_http_info(resource_group_name, service_name, api_id, d end # - # Attaches a logger to a dignostic for an API. + # Attaches a logger to a diagnostic for an API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -477,7 +477,7 @@ def delete_async(resource_group_name, service_name, api_id, diagnostic_id, logge end # - # Lists all loggers assosiated with the specified Diagnostic of an API. + # Lists all loggers associated with the specified Diagnostic of an API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -492,7 +492,7 @@ def list_by_service_next(next_page_link, custom_headers = nil) end # - # Lists all loggers assosiated with the specified Diagnostic of an API. + # Lists all loggers associated with the specified Diagnostic of an API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -506,7 +506,7 @@ def list_by_service_next_with_http_info(next_page_link, custom_headers = nil) end # - # Lists all loggers assosiated with the specified Diagnostic of an API. + # Lists all loggers associated with the specified Diagnostic of an API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -564,7 +564,7 @@ def list_by_service_next_async(next_page_link, custom_headers = nil) end # - # Lists all loggers assosiated with the specified Diagnostic of an API. + # Lists all loggers associated with the specified Diagnostic of an API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb index 57e5006e2f..cf2c066aaf 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb @@ -22,7 +22,7 @@ def initialize(client) attr_reader :client # - # Lists all issues assosiated with the specified API. + # Lists all issues associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -48,7 +48,7 @@ def list_by_service(resource_group_name, service_name, api_id, filter = nil, top end # - # Lists all issues assosiated with the specified API. + # Lists all issues associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -73,7 +73,7 @@ def list_by_service_with_http_info(resource_group_name, service_name, api_id, fi end # - # Lists all issues assosiated with the specified API. + # Lists all issues associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -709,7 +709,7 @@ def delete_async(resource_group_name, service_name, api_id, issue_id, if_match, end # - # Lists all issues assosiated with the specified API. + # Lists all issues associated with the specified API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -724,7 +724,7 @@ def list_by_service_next(next_page_link, custom_headers = nil) end # - # Lists all issues assosiated with the specified API. + # Lists all issues associated with the specified API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -738,7 +738,7 @@ def list_by_service_next_with_http_info(next_page_link, custom_headers = nil) end # - # Lists all issues assosiated with the specified API. + # Lists all issues associated with the specified API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -796,7 +796,7 @@ def list_by_service_next_async(next_page_link, custom_headers = nil) end # - # Lists all issues assosiated with the specified API. + # Lists all issues associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb index 4fdcf56969..d89003dcf6 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb @@ -22,7 +22,7 @@ def initialize(client) attr_reader :client # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -49,7 +49,7 @@ def list_by_service(resource_group_name, service_name, api_id, issue_id, filter end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -75,7 +75,7 @@ def list_by_service_with_http_info(resource_group_name, service_name, api_id, is end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -627,7 +627,7 @@ def delete_async(resource_group_name, service_name, api_id, issue_id, attachment end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -642,7 +642,7 @@ def list_by_service_next(next_page_link, custom_headers = nil) end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -656,7 +656,7 @@ def list_by_service_next_with_http_info(next_page_link, custom_headers = nil) end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -714,7 +714,7 @@ def list_by_service_next_async(next_page_link, custom_headers = nil) end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb index aee3b4cbc7..fe25587b16 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb @@ -22,7 +22,7 @@ def initialize(client) attr_reader :client # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -49,7 +49,7 @@ def list_by_service(resource_group_name, service_name, api_id, issue_id, filter end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -75,7 +75,7 @@ def list_by_service_with_http_info(resource_group_name, service_name, api_id, is end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -624,7 +624,7 @@ def delete_async(resource_group_name, service_name, api_id, issue_id, comment_id end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -639,7 +639,7 @@ def list_by_service_next(next_page_link, custom_headers = nil) end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -653,7 +653,7 @@ def list_by_service_next_with_http_info(next_page_link, custom_headers = nil) end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -711,7 +711,7 @@ def list_by_service_next_async(next_page_link, custom_headers = nil) end # - # Lists all comments for the Issue assosiated with the specified API. + # Lists all comments for the Issue associated with the specified API. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb index ccbfb6204d..690241dde7 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb @@ -96,6 +96,9 @@ class ApiManagementClient < MsRestAzure::AzureServiceClient # @return [ApiManagementOperations] api_management_operations attr_reader :api_management_operations + # @return [ApiManagementServiceSkus] api_management_service_skus + attr_reader :api_management_service_skus + # @return [ApiManagementService] api_management_service attr_reader :api_management_service @@ -246,6 +249,7 @@ def initialize(credentials = nil, base_url = nil, options = nil) @backend = Backend.new(self) @certificate = Certificate.new(self) @api_management_operations = ApiManagementOperations.new(self) + @api_management_service_skus = ApiManagementServiceSkus.new(self) @api_management_service = ApiManagementService.new(self) @diagnostic = Diagnostic.new(self) @diagnostic_logger = DiagnosticLogger.new(self) diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb new file mode 100644 index 0000000000..fa606637a9 --- /dev/null +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb @@ -0,0 +1,239 @@ +# 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::ApiManagement::Mgmt::V2018_01_01_preview + # + # ApiManagement Client + # + class ApiManagementServiceSkus + include MsRestAzure + + # + # Creates and initializes a new instance of the ApiManagementServiceSkus class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ApiManagementClient] reference to the ApiManagementClient + attr_reader :client + + # + # Gets available SKUs for API Management service + # + # Gets all available SKU for a given API Management service + # + # @param resource_group_name [String] The name of the resource group. + # @param service_name [String] The name of the API Management service. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_available_service_skus(resource_group_name, service_name, custom_headers = nil) + first_page = list_available_service_skus_as_lazy(resource_group_name, service_name, custom_headers) + first_page.get_all_items + end + + # + # Gets available SKUs for API Management service + # + # Gets all available SKU for a given API Management service + # + # @param resource_group_name [String] The name of the resource group. + # @param service_name [String] The name of the API Management service. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_available_service_skus_with_http_info(resource_group_name, service_name, custom_headers = nil) + list_available_service_skus_async(resource_group_name, service_name, custom_headers).value! + end + + # + # Gets available SKUs for API Management service + # + # Gets all available SKU for a given API Management service + # + # @param resource_group_name [String] The name of the resource group. + # @param service_name [String] The name of the API Management service. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_available_service_skus_async(resource_group_name, service_name, custom_headers = nil) + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'service_name is nil' if service_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 = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/skus' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ResourceSkuResults.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Gets available SKUs for API Management service + # + # Gets all available SKU for a given API Management service + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ResourceSkuResults] operation results. + # + def list_available_service_skus_next(next_page_link, custom_headers = nil) + response = list_available_service_skus_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets available SKUs for API Management service + # + # Gets all available SKU for a given API Management service + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_available_service_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_available_service_skus_next_async(next_page_link, custom_headers).value! + end + + # + # Gets available SKUs for API Management service + # + # Gets all available SKU for a given API Management service + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_available_service_skus_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ResourceSkuResults.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Gets available SKUs for API Management service + # + # Gets all available SKU for a given API Management service + # + # @param resource_group_name [String] The name of the resource group. + # @param service_name [String] The name of the API Management service. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ResourceSkuResults] which provide lazy access to pages of the + # response. + # + def list_available_service_skus_as_lazy(resource_group_name, service_name, custom_headers = nil) + response = list_available_service_skus_async(resource_group_name, service_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_available_service_skus_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb index 1c24a1cec8..61d95f77a9 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb @@ -22,7 +22,7 @@ def initialize(client) attr_reader :client # - # Lists all loggers assosiated with the specified Diagnostic of the API + # Lists all loggers associated with the specified Diagnostic of the API # Management service instance. # # @param resource_group_name [String] The name of the resource group. @@ -47,7 +47,7 @@ def list_by_service(resource_group_name, service_name, diagnostic_id, filter = n end # - # Lists all loggers assosiated with the specified Diagnostic of the API + # Lists all loggers associated with the specified Diagnostic of the API # Management service instance. # # @param resource_group_name [String] The name of the resource group. @@ -71,7 +71,7 @@ def list_by_service_with_http_info(resource_group_name, service_name, diagnostic end # - # Lists all loggers assosiated with the specified Diagnostic of the API + # Lists all loggers associated with the specified Diagnostic of the API # Management service instance. # # @param resource_group_name [String] The name of the resource group. @@ -243,7 +243,7 @@ def check_entity_exists_async(resource_group_name, service_name, diagnostic_id, end # - # Attaches a logger to a dignostic. + # Attaches a logger to a diagnostic. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -262,7 +262,7 @@ def create_or_update(resource_group_name, service_name, diagnostic_id, loggerid, end # - # Attaches a logger to a dignostic. + # Attaches a logger to a diagnostic. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -280,7 +280,7 @@ def create_or_update_with_http_info(resource_group_name, service_name, diagnosti end # - # Attaches a logger to a dignostic. + # Attaches a logger to a diagnostic. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -452,7 +452,7 @@ def delete_async(resource_group_name, service_name, diagnostic_id, loggerid, cus end # - # Lists all loggers assosiated with the specified Diagnostic of the API + # Lists all loggers associated with the specified Diagnostic of the API # Management service instance. # # @param next_page_link [String] The NextLink from the previous successful call @@ -468,7 +468,7 @@ def list_by_service_next(next_page_link, custom_headers = nil) end # - # Lists all loggers assosiated with the specified Diagnostic of the API + # Lists all loggers associated with the specified Diagnostic of the API # Management service instance. # # @param next_page_link [String] The NextLink from the previous successful call @@ -483,7 +483,7 @@ def list_by_service_next_with_http_info(next_page_link, custom_headers = nil) end # - # Lists all loggers assosiated with the specified Diagnostic of the API + # Lists all loggers associated with the specified Diagnostic of the API # Management service instance. # # @param next_page_link [String] The NextLink from the previous successful call @@ -542,7 +542,7 @@ def list_by_service_next_async(next_page_link, custom_headers = nil) end # - # Lists all loggers assosiated with the specified Diagnostic of the API + # Lists all loggers associated with the specified Diagnostic of the API # Management service instance. # # @param resource_group_name [String] The name of the resource group. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb index bbe0b6279c..24ec380996 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb @@ -87,7 +87,7 @@ class ApiManagementServiceBaseProperties # certificates that can be installed is 10. attr_accessor :certificates - # @return [VirtualNetworkType] The type of VPN in which API Managemet + # @return [VirtualNetworkType] The type of VPN in which API Management # service needs to be configured in. None (Default Value) means the API # Management service is not part of any Virtual Network, External means # the API Management deployment is set up inside a Virtual Network having diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb index 9808e7fb3a..cbd88fcea0 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb @@ -87,7 +87,7 @@ class ApiManagementServiceResource < ApimResource # certificates that can be installed is 10. attr_accessor :certificates - # @return [VirtualNetworkType] The type of VPN in which API Managemet + # @return [VirtualNetworkType] The type of VPN in which API Management # service needs to be configured in. None (Default Value) means the API # Management service is not part of any Virtual Network, External means # the API Management deployment is set up inside a Virtual Network having diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb index 1bd0565464..e1d83c3cf3 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb @@ -87,7 +87,7 @@ class ApiManagementServiceUpdateParameters < ApimResource # certificates that can be installed is 10. attr_accessor :certificates - # @return [VirtualNetworkType] The type of VPN in which API Managemet + # @return [VirtualNetworkType] The type of VPN in which API Management # service needs to be configured in. None (Default Value) means the API # Management service is not part of any Virtual Network, External means # the API Management deployment is set up inside a Virtual Network having diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb index 5e513038e4..c1747db127 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb @@ -13,7 +13,7 @@ class BackendReconnectContract < Resource include MsRestAzure # @return [Duration] Duration in ISO8601 format after which reconnect - # will be initiated. Minimum duration of the Reconect is PT2M. + # will be initiated. Minimum duration of the Reconnect is PT2M. attr_accessor :after diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb index e171bbe81c..2008a0519f 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb @@ -17,7 +17,7 @@ class BackendServiceFabricClusterProperties attr_accessor :client_certificatethumbprint # @return [Integer] Maximum number of retries while attempting resolve - # the parition. + # the partition. attr_accessor :max_partition_resolution_retries # @return [Array] The cluster management endpoint. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb index 4647f78cce..7932c0c461 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb @@ -20,7 +20,7 @@ class CertificateConfiguration attr_accessor :certificate_password # @return [Enum] The - # System.Security.Cryptography.x509certificates.Storename certificate + # System.Security.Cryptography.x509certificates.StoreName certificate # store location. Only Root and CertificateAuthority are valid locations. # Possible values include: 'CertificateAuthority', 'Root' attr_accessor :store_name diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb index da598516ff..21ab2da0d7 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb @@ -22,7 +22,7 @@ class ReportRecordContract # attr_accessor :timestamp - # @return [String] Length of agregation period. Interval must be + # @return [String] Length of aggregation period. Interval must be # multiple of 15 minutes and may not be zero. The value should be in ISO # 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). attr_accessor :interval @@ -56,13 +56,13 @@ class ReportRecordContract # /subscriptions/{subscriptionId} attr_accessor :subscription_id - # @return [Integer] Number of succesful calls. This includes calls + # @return [Integer] Number of successful calls. This includes calls # returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and # HttpStatusCode.TemporaryRedirect attr_accessor :call_count_success # @return [Integer] Number of calls blocked due to invalid credentials. - # This includes calls returning HttpStatusCode.Unauthorize and + # This includes calls returning HttpStatusCode.Unauthorized and # HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests attr_accessor :call_count_blocked diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb index 7447d7cfe6..044b16f529 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb @@ -51,7 +51,7 @@ class RequestReportRecordContract # @return [String] Specifies if response cache was involved in generating # the response. If the value is none, the cache was not used. If the # value is hit, cached response was returned. If the value is miss, the - # cache was used but lookup resulted in a miss and request was fullfilled + # cache was used but lookup resulted in a miss and request was fulfilled # by the backend. attr_accessor :cache diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb new file mode 100644 index 0000000000..d1db5f80c7 --- /dev/null +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb @@ -0,0 +1,45 @@ +# 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::ApiManagement::Mgmt::V2018_01_01_preview + module Models + # + # Describes an available API Management SKU. + # + class ResourceSku + + include MsRestAzure + + # @return [SkuType] Name of the Sku. Possible values include: + # 'Developer', 'Standard', 'Premium', 'Basic' + attr_accessor :name + + + # + # Mapper for ResourceSku class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceSku', + type: { + name: 'Composite', + class_name: 'ResourceSku', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb new file mode 100644 index 0000000000..bafd7d43da --- /dev/null +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb @@ -0,0 +1,80 @@ +# 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::ApiManagement::Mgmt::V2018_01_01_preview + module Models + # + # Describes scaling information of a SKU. + # + class ResourceSkuCapacity + + include MsRestAzure + + # @return [Integer] The minimum capacity. + attr_accessor :minimum + + # @return [Integer] The maximum capacity that can be set. + attr_accessor :maximum + + # @return [Integer] The default capacity. + attr_accessor :default + + # @return [ResourceSkuCapacityScaleType] The scale type applicable to the + # sku. Possible values include: 'automatic', 'manual', 'none' + attr_accessor :scale_type + + + # + # Mapper for ResourceSkuCapacity class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceSkuCapacity', + type: { + name: 'Composite', + class_name: 'ResourceSkuCapacity', + model_properties: { + minimum: { + required: false, + read_only: true, + serialized_name: 'minimum', + type: { + name: 'Number' + } + }, + maximum: { + required: false, + read_only: true, + serialized_name: 'maximum', + type: { + name: 'Number' + } + }, + default: { + required: false, + read_only: true, + serialized_name: 'default', + type: { + name: 'Number' + } + }, + scale_type: { + required: false, + read_only: true, + serialized_name: 'scaleType', + type: { + name: 'Enum', + module: 'ResourceSkuCapacityScaleType' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb new file mode 100644 index 0000000000..7f5d943aae --- /dev/null +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb @@ -0,0 +1,17 @@ +# 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::ApiManagement::Mgmt::V2018_01_01_preview + module Models + # + # Defines values for ResourceSkuCapacityScaleType + # + module ResourceSkuCapacityScaleType + Automatic = "automatic" + Manual = "manual" + None = "none" + end + end +end diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb new file mode 100644 index 0000000000..69e3d36fff --- /dev/null +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb @@ -0,0 +1,70 @@ +# 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::ApiManagement::Mgmt::V2018_01_01_preview + module Models + # + # Describes an available API Management service SKU. + # + class ResourceSkuResult + + include MsRestAzure + + # @return [String] The type of resource the SKU applies to. + attr_accessor :resource_type + + # @return [ResourceSku] Specifies API Management SKU. + attr_accessor :sku + + # @return [ResourceSkuCapacity] Specifies the number of API Management + # units. + attr_accessor :capacity + + + # + # Mapper for ResourceSkuResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceSkuResult', + type: { + name: 'Composite', + class_name: 'ResourceSkuResult', + model_properties: { + resource_type: { + required: false, + read_only: true, + serialized_name: 'resourceType', + type: { + name: 'String' + } + }, + sku: { + required: false, + read_only: true, + serialized_name: 'sku', + type: { + name: 'Composite', + class_name: 'ResourceSku' + } + }, + capacity: { + required: false, + read_only: true, + serialized_name: 'capacity', + type: { + name: 'Composite', + class_name: 'ResourceSkuCapacity' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb new file mode 100644 index 0000000000..eff0af3534 --- /dev/null +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb @@ -0,0 +1,96 @@ +# 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::ApiManagement::Mgmt::V2018_01_01_preview + module Models + # + # The API Management service SKUs operation response. + # + class ResourceSkuResults + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The list of skus available for the + # service. + attr_accessor :value + + # @return [String] The uri to fetch the next page of API Management + # service Skus. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [ResourceSkuResults] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for ResourceSkuResults class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceSkuResults', + type: { + name: 'Composite', + class_name: 'ResourceSkuResults', + model_properties: { + value: { + required: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ResourceSkuResultElementType', + type: { + name: 'Composite', + class_name: 'ResourceSkuResult' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb index 9560f58d49..e429a043d5 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb @@ -17,7 +17,7 @@ class SubscriptionCreateParameters attr_accessor :user_id # @return [String] Product (product id path) for which subscription is - # being created in form /products/{productid} + # being created in form /products/{productId} attr_accessor :product_id # @return [String] Subscription name. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb index 882e883091..2c46656871 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb @@ -555,7 +555,7 @@ def update_async(resource_group_name, service_name, prop_id, parameters, if_matc end # - # Deletes specific property from the the API Management service instance. + # Deletes specific property from the API Management service instance. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -573,7 +573,7 @@ def delete(resource_group_name, service_name, prop_id, if_match, custom_headers end # - # Deletes specific property from the the API Management service instance. + # Deletes specific property from the API Management service instance. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -591,7 +591,7 @@ def delete_with_http_info(resource_group_name, service_name, prop_id, if_match, end # - # Deletes specific property from the the API Management service instance. + # Deletes specific property from the API Management service instance. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb index d5a2c52abb..4088a37a3a 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb @@ -426,7 +426,7 @@ def list_by_product_async(resource_group_name, service_name, filter, top = nil, end # - # Lists report records by GeoGraphy. + # Lists report records by geography. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -444,7 +444,7 @@ def list_by_geo(resource_group_name, service_name, filter = nil, top = nil, skip end # - # Lists report records by GeoGraphy. + # Lists report records by geography. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -461,7 +461,7 @@ def list_by_geo_with_http_info(resource_group_name, service_name, filter = nil, end # - # Lists report records by GeoGraphy. + # Lists report records by geography. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -634,7 +634,7 @@ def list_by_subscription_async(resource_group_name, service_name, filter = nil, # minutes and may not be zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimeSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param filter [String] The filter to apply on the operation. # @param top [Integer] Number of records to return. # @param skip [Integer] Number of records to skip. @@ -657,7 +657,7 @@ def list_by_time(resource_group_name, service_name, interval, filter = nil, top # minutes and may not be zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimeSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param filter [String] The filter to apply on the operation. # @param top [Integer] Number of records to return. # @param skip [Integer] Number of records to skip. @@ -679,7 +679,7 @@ def list_by_time_with_http_info(resource_group_name, service_name, interval, fil # minutes and may not be zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimeSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param filter [String] The filter to apply on the operation. # @param top [Integer] Number of records to return. # @param skip [Integer] Number of records to skip. @@ -1191,7 +1191,7 @@ def list_by_product_next_async(next_page_link, custom_headers = nil) end # - # Lists report records by GeoGraphy. + # Lists report records by geography. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -1206,7 +1206,7 @@ def list_by_geo_next(next_page_link, custom_headers = nil) end # - # Lists report records by GeoGraphy. + # Lists report records by geography. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -1220,7 +1220,7 @@ def list_by_geo_next_with_http_info(next_page_link, custom_headers = nil) end # - # Lists report records by GeoGraphy. + # Lists report records by geography. # # @param next_page_link [String] The NextLink from the previous successful call # to List operation. @@ -1552,7 +1552,7 @@ def list_by_product_as_lazy(resource_group_name, service_name, filter, top = nil end # - # Lists report records by GeoGraphy. + # Lists report records by geography. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -1610,7 +1610,7 @@ def list_by_subscription_as_lazy(resource_group_name, service_name, filter = nil # minutes and may not be zero. The value should be in ISO 8601 format # (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to # convert TimeSpan to a valid interval string: XmlConvert.ToString(new - # TimeSpan(hours, minutes, secconds)) + # TimeSpan(hours, minutes, seconds)) # @param filter [String] The filter to apply on the operation. # @param top [Integer] Number of records to return. # @param skip [Integer] Number of records to skip. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb index 5da9eeb3f6..f6f73c3ca9 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb @@ -495,7 +495,7 @@ def create_or_update_async(resource_group_name, service_name, sid, parameters, n end # - # Updates the details of a subscription specificied by its identifier. + # Updates the details of a subscription specified by its identifier. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -519,7 +519,7 @@ def update(resource_group_name, service_name, sid, parameters, if_match, notify end # - # Updates the details of a subscription specificied by its identifier. + # Updates the details of a subscription specified by its identifier. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -543,7 +543,7 @@ def update_with_http_info(resource_group_name, service_name, sid, parameters, if end # - # Updates the details of a subscription specificied by its identifier. + # Updates the details of a subscription specified by its identifier. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. diff --git a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb index 1bb72e0029..ece04aa2d5 100644 --- a/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb +++ b/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb @@ -361,7 +361,7 @@ def get_async(resource_group_name, service_name, api_id, tag_id, custom_headers end # - # Create/Update tag fescription in scope of the Api. + # Create/Update tag description in scope of the Api. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -384,7 +384,7 @@ def create_or_update(resource_group_name, service_name, api_id, tag_id, paramete end # - # Create/Update tag fescription in scope of the Api. + # Create/Update tag description in scope of the Api. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service. @@ -406,7 +406,7 @@ def create_or_update_with_http_info(resource_group_name, service_name, api_id, t end # - # Create/Update tag fescription in scope of the Api. + # Create/Update tag description in scope of the Api. # # @param resource_group_name [String] The name of the resource group. # @param service_name [String] The name of the API Management service.