Skip to content

Commit

Permalink
CodeGen from PR 13002 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
support restricted access skus (Azure#13002)
  • Loading branch information
SDKAuto committed Feb 17, 2021
1 parent 27ab12c commit 44e6e30
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,8 @@ class SkuDescription(msrest.serialization.Model):
:type name: str
:param description: Description about this sku.
:type description: str
:param restricted_access_uri: Uri to subscribe to the restricted access sku.
:type restricted_access_uri: str
:param targets: The list of targets available for this sku.
:type targets: list[str]
:param quota_dimensions: The list of quota dimensions for this sku.
Expand All @@ -715,6 +717,7 @@ class SkuDescription(msrest.serialization.Model):
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'restricted_access_uri': {'key': 'restrictedAccessUri', 'type': 'str'},
'targets': {'key': 'targets', 'type': '[str]'},
'quota_dimensions': {'key': 'quotaDimensions', 'type': '[QuotaDimension]'},
'pricing_details': {'key': 'pricingDetails', 'type': '[PricingDetail]'},
Expand All @@ -728,6 +731,7 @@ def __init__(
self.id = kwargs.get('id', None)
self.name = kwargs.get('name', None)
self.description = kwargs.get('description', None)
self.restricted_access_uri = kwargs.get('restricted_access_uri', None)
self.targets = kwargs.get('targets', None)
self.quota_dimensions = kwargs.get('quota_dimensions', None)
self.pricing_details = kwargs.get('pricing_details', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,8 @@ class SkuDescription(msrest.serialization.Model):
:type name: str
:param description: Description about this sku.
:type description: str
:param restricted_access_uri: Uri to subscribe to the restricted access sku.
:type restricted_access_uri: str
:param targets: The list of targets available for this sku.
:type targets: list[str]
:param quota_dimensions: The list of quota dimensions for this sku.
Expand All @@ -779,6 +781,7 @@ class SkuDescription(msrest.serialization.Model):
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'restricted_access_uri': {'key': 'restrictedAccessUri', 'type': 'str'},
'targets': {'key': 'targets', 'type': '[str]'},
'quota_dimensions': {'key': 'quotaDimensions', 'type': '[QuotaDimension]'},
'pricing_details': {'key': 'pricingDetails', 'type': '[PricingDetail]'},
Expand All @@ -790,6 +793,7 @@ def __init__(
id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
restricted_access_uri: Optional[str] = None,
targets: Optional[List[str]] = None,
quota_dimensions: Optional[List["QuotaDimension"]] = None,
pricing_details: Optional[List["PricingDetail"]] = None,
Expand All @@ -799,6 +803,7 @@ def __init__(
self.id = id
self.name = name
self.description = description
self.restricted_access_uri = restricted_access_uri
self.targets = targets
self.quota_dimensions = quota_dimensions
self.pricing_details = pricing_details
Expand Down

0 comments on commit 44e6e30

Please sign in to comment.