Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Generated from 52e8c136547f090c4c3f45185587d7bf7f9133bb (#1981)
Browse files Browse the repository at this point in the history
Added example for template params
  • Loading branch information
AutorestCI authored Nov 30, 2018
1 parent 0a34b14 commit 700219a
Show file tree
Hide file tree
Showing 36 changed files with 107 additions and 107 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Azure::ApiManagement::Mgmt::V2016_07_07
module Models
#
# Paged Subsctions list representation.
# Paged Subscriptions list representation.
#
class SubscriptionCollection

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand All @@ -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.
#
Expand All @@ -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.
#
Expand Down Expand Up @@ -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.
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand All @@ -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.
#
Expand All @@ -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.
#
Expand Down Expand Up @@ -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.
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand Down
Loading

0 comments on commit 700219a

Please sign in to comment.