Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ApiManagementServiceSkuProperties(Model):
'Developer', 'Standard', 'Premium', 'Basic', 'Consumption'
:type name: str or ~azure.mgmt.apimanagement.models.SkuType
:param capacity: Capacity of the SKU (number of deployed units of the
SKU). The default value is 1. Default value: 1 .
SKU).
:type capacity: int
"""

Expand All @@ -37,4 +37,4 @@ class ApiManagementServiceSkuProperties(Model):
def __init__(self, **kwargs):
super(ApiManagementServiceSkuProperties, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.capacity = kwargs.get('capacity', 1)
self.capacity = kwargs.get('capacity', None)
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ApiManagementServiceSkuProperties(Model):
'Developer', 'Standard', 'Premium', 'Basic', 'Consumption'
:type name: str or ~azure.mgmt.apimanagement.models.SkuType
:param capacity: Capacity of the SKU (number of deployed units of the
SKU). The default value is 1. Default value: 1 .
SKU).
:type capacity: int
"""

Expand All @@ -34,7 +34,7 @@ class ApiManagementServiceSkuProperties(Model):
'capacity': {'key': 'capacity', 'type': 'int'},
}

def __init__(self, *, name, capacity: int=1, **kwargs) -> None:
def __init__(self, *, name, capacity: int=None, **kwargs) -> None:
super(ApiManagementServiceSkuProperties, self).__init__(**kwargs)
self.name = name
self.capacity = capacity