azure.mgmt.compute.v2019_04_01.models module¶
- class azure.mgmt.compute.v2019_04_01.models.ResourceSku(**kwargs: Any)[source]¶
Bases:
Model
Describes an available Compute SKU.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
resource_type (str) – The type of resource the SKU applies to.
name (str) – The name of SKU.
tier (str) – Specifies the tier of virtual machines in a scale set.
<br />
<br />
Possible Values:<br />
<br />
Standard<br />
<br />
Basic.size (str) – The Size of the SKU.
family (str) – The Family of this particular SKU.
kind (str) – The Kind of resources that are supported in this SKU.
capacity (ResourceSkuCapacity) – Specifies the number of virtual machines in the scale set.
locations (list[str]) – The set of locations that the SKU is available.
location_info (list[ResourceSkuLocationInfo]) – A list of locations and availability zones in those locations where the SKU is available.
api_versions (list[str]) – The api versions that support this SKU.
costs (list[ResourceSkuCosts]) – Metadata for retrieving price info.
capabilities (list[ResourceSkuCapabilities]) – A name value pair to describe the capability.
restrictions (list[ResourceSkuRestrictions]) – The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkuCapabilities(**kwargs: Any)[source]¶
Bases:
Model
Describes The SKU capabilities object.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkuCapacity(**kwargs: Any)[source]¶
Bases:
Model
Describes scaling information of a SKU.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
minimum (int) – The minimum capacity.
maximum (int) – The maximum capacity that can be set.
default (int) – The default capacity.
scale_type (str or ResourceSkuCapacityScaleType) – The scale type applicable to the sku. Known values are: “Automatic”, “Manual”, and “None”.
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkuCapacityScaleType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The scale type applicable to the sku.
- AUTOMATIC = 'Automatic'¶
- MANUAL = 'Manual'¶
- NONE = 'None'¶
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkuCosts(**kwargs: Any)[source]¶
Bases:
Model
Describes metadata for retrieving price info.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkuLocationInfo(**kwargs: Any)[source]¶
Bases:
Model
ResourceSkuLocationInfo.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
location (str) – Location of the SKU.
zones (list[str]) – List of availability zones where the SKU is supported.
zone_details (list[ResourceSkuZoneDetails]) – Details of capabilities available to a SKU in specific zones.
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkuRestrictionInfo(**kwargs: Any)[source]¶
Bases:
Model
ResourceSkuRestrictionInfo.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkuRestrictions(**kwargs: Any)[source]¶
Bases:
Model
Describes scaling information of a SKU.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
type (str or ResourceSkuRestrictionsType) – The type of restrictions. Known values are: “Location” and “Zone”.
values (list[str]) – The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
restriction_info (ResourceSkuRestrictionInfo) – The information about the restriction where the SKU cannot be used.
reason_code (str or ResourceSkuRestrictionsReasonCode) – The reason for restriction. Known values are: “QuotaId” and “NotAvailableForSubscription”.
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkuRestrictionsReasonCode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The reason for restriction.
- NOT_AVAILABLE_FOR_SUBSCRIPTION = 'NotAvailableForSubscription'¶
- QUOTA_ID = 'QuotaId'¶
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkuRestrictionsType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The type of restrictions.
- LOCATION = 'Location'¶
- ZONE = 'Zone'¶
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkuZoneDetails(**kwargs: Any)[source]¶
Bases:
Model
Describes The zonal capabilities of a SKU.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
name (list[str]) – The set of zones that the SKU is available in with the specified capabilities.
capabilities (list[ResourceSkuCapabilities]) – A list of capabilities that are available for the SKU in the specified list of zones.
- class azure.mgmt.compute.v2019_04_01.models.ResourceSkusResult(*, value: List[_models.ResourceSku], next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The List Resource Skus operation response.
All required parameters must be populated in order to send to server.
- Variables:
value (list[ResourceSku]) – The list of skus available for the subscription. Required.
next_link (str) – The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus.
- Keyword Arguments:
value (list[ResourceSku]) – The list of skus available for the subscription. Required.
next_link (str) – The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus.