Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Generated from ce0aafdbf5af1e3a55c8a79eac903bf7a1503631
Sync up changes with 2018-01-01
  • Loading branch information
AutorestCI committed Jun 20, 2018
commit f932ce1ee54d52f9c45f30104717e99c10f15d9d
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ProductContract(Resource):
subscriptionRequired property is present and has a value of false.
:type approval_required: bool
:param subscriptions_limit: Whether the number of subscriptions a user can
have to this product at the same time. Set to null or omit to allow
have to this product at the same time. Set to null or omit to allow
unlimited per user subscriptions. Can be present only if
subscriptionRequired property is present and has a value of false.
:type subscriptions_limit: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ProductContract(Resource):
subscriptionRequired property is present and has a value of false.
:type approval_required: bool
:param subscriptions_limit: Whether the number of subscriptions a user can
have to this product at the same time. Set to null or omit to allow
have to this product at the same time. Set to null or omit to allow
unlimited per user subscriptions. Can be present only if
subscriptionRequired property is present and has a value of false.
:type subscriptions_limit: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ProductEntityBaseParameters(Model):
subscriptionRequired property is present and has a value of false.
:type approval_required: bool
:param subscriptions_limit: Whether the number of subscriptions a user can
have to this product at the same time. Set to null or omit to allow
have to this product at the same time. Set to null or omit to allow
unlimited per user subscriptions. Can be present only if
subscriptionRequired property is present and has a value of false.
:type subscriptions_limit: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ProductEntityBaseParameters(Model):
subscriptionRequired property is present and has a value of false.
:type approval_required: bool
:param subscriptions_limit: Whether the number of subscriptions a user can
have to this product at the same time. Set to null or omit to allow
have to this product at the same time. Set to null or omit to allow
unlimited per user subscriptions. Can be present only if
subscriptionRequired property is present and has a value of false.
:type subscriptions_limit: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ProductTagResourceContractProperties(ProductEntityBaseParameters):
subscriptionRequired property is present and has a value of false.
:type approval_required: bool
:param subscriptions_limit: Whether the number of subscriptions a user can
have to this product at the same time. Set to null or omit to allow
have to this product at the same time. Set to null or omit to allow
unlimited per user subscriptions. Can be present only if
subscriptionRequired property is present and has a value of false.
:type subscriptions_limit: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ProductTagResourceContractProperties(ProductEntityBaseParameters):
subscriptionRequired property is present and has a value of false.
:type approval_required: bool
:param subscriptions_limit: Whether the number of subscriptions a user can
have to this product at the same time. Set to null or omit to allow
have to this product at the same time. Set to null or omit to allow
unlimited per user subscriptions. Can be present only if
subscriptionRequired property is present and has a value of false.
:type subscriptions_limit: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ProductUpdateParameters(Model):
subscriptionRequired property is present and has a value of false.
:type approval_required: bool
:param subscriptions_limit: Whether the number of subscriptions a user can
have to this product at the same time. Set to null or omit to allow
have to this product at the same time. Set to null or omit to allow
unlimited per user subscriptions. Can be present only if
subscriptionRequired property is present and has a value of false.
:type subscriptions_limit: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ProductUpdateParameters(Model):
subscriptionRequired property is present and has a value of false.
:type approval_required: bool
:param subscriptions_limit: Whether the number of subscriptions a user can
have to this product at the same time. Set to null or omit to allow
have to this product at the same time. Set to null or omit to allow
unlimited per user subscriptions. Can be present only if
subscriptionRequired property is present and has a value of false.
:type subscriptions_limit: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ def check_entity_exists(
:param product_id: Product identifier. Must be unique in the current
API Management service instance.
:type product_id: str
:param api_id: API identifier. Must be unique in the current API
Management service instance.
:param api_id: API revision identifier. Must be unique in the current
API Management service instance. Non-current revision has ;rev=n as a
suffix where n is the revision number.
:type api_id: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand All @@ -165,7 +166,7 @@ def check_entity_exists(
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'serviceName': self._serialize.url("service_name", service_name, 'str', max_length=50, min_length=1, pattern=r'^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'),
'productId': self._serialize.url("product_id", product_id, 'str', max_length=80, min_length=1, pattern=r'(^[\w]+$)|(^[\w][\w\-]+[\w]$)'),
'apiId': self._serialize.url("api_id", api_id, 'str', max_length=80, min_length=1, pattern=r'(^[\w]+$)|(^[\w][\w\-]+[\w]$)'),
'apiId': self._serialize.url("api_id", api_id, 'str', max_length=256, min_length=1, pattern=r'^[^*#&+:<>?]+$'),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
Expand Down Expand Up @@ -209,8 +210,9 @@ def create_or_update(
:param product_id: Product identifier. Must be unique in the current
API Management service instance.
:type product_id: str
:param api_id: API identifier. Must be unique in the current API
Management service instance.
:param api_id: API revision identifier. Must be unique in the current
API Management service instance. Non-current revision has ;rev=n as a
suffix where n is the revision number.
:type api_id: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand All @@ -229,7 +231,7 @@ def create_or_update(
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'serviceName': self._serialize.url("service_name", service_name, 'str', max_length=50, min_length=1, pattern=r'^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'),
'productId': self._serialize.url("product_id", product_id, 'str', max_length=80, min_length=1, pattern=r'(^[\w]+$)|(^[\w][\w\-]+[\w]$)'),
'apiId': self._serialize.url("api_id", api_id, 'str', max_length=80, min_length=1, pattern=r'(^[\w]+$)|(^[\w][\w\-]+[\w]$)'),
'apiId': self._serialize.url("api_id", api_id, 'str', max_length=256, min_length=1, pattern=r'^[^*#&+:<>?]+$'),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
Expand Down Expand Up @@ -280,8 +282,9 @@ def delete(
:param product_id: Product identifier. Must be unique in the current
API Management service instance.
:type product_id: str
:param api_id: API identifier. Must be unique in the current API
Management service instance.
:param api_id: API revision identifier. Must be unique in the current
API Management service instance. Non-current revision has ;rev=n as a
suffix where n is the revision number.
:type api_id: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand All @@ -299,7 +302,7 @@ def delete(
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'serviceName': self._serialize.url("service_name", service_name, 'str', max_length=50, min_length=1, pattern=r'^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'),
'productId': self._serialize.url("product_id", product_id, 'str', max_length=80, min_length=1, pattern=r'(^[\w]+$)|(^[\w][\w\-]+[\w]$)'),
'apiId': self._serialize.url("api_id", api_id, 'str', max_length=80, min_length=1, pattern=r'(^[\w]+$)|(^[\w][\w\-]+[\w]$)'),
'apiId': self._serialize.url("api_id", api_id, 'str', max_length=256, min_length=1, pattern=r'^[^*#&+:<>?]+$'),
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
Expand Down