azure.mgmt.compute.v2017_09_01.models module

class azure.mgmt.compute.v2017_09_01.models.ResourceSku(**kwargs)[source]

Bases: msrest.serialization.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.v2017_09_01.models.ResourceSkuCapabilities(**kwargs)[source]

Bases: msrest.serialization.Model

Describes The SKU capabilities object.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • name (str) – An invariant to describe the feature.

  • value (str) – An invariant if the feature is measured by quantity.

class azure.mgmt.compute.v2017_09_01.models.ResourceSkuCapacity(**kwargs)[source]

Bases: msrest.serialization.Model

Describes scaling information of a SKU.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • minimum (long) – The minimum capacity.

  • maximum (long) – The maximum capacity that can be set.

  • default (long) – The default capacity.

  • scale_type (str or ResourceSkuCapacityScaleType) – The scale type applicable to the sku. Possible values include: ‘Automatic’, ‘Manual’, ‘None’

class azure.mgmt.compute.v2017_09_01.models.ResourceSkuCapacityScaleType(value)[source]

Bases: str, enum.Enum

An enumeration.

automatic = 'Automatic'
manual = 'Manual'
none = 'None'
class azure.mgmt.compute.v2017_09_01.models.ResourceSkuCosts(**kwargs)[source]

Bases: msrest.serialization.Model

Describes metadata for retrieving price info.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • meter_id (str) – Used for querying price from commerce.

  • quantity (long) – The multiplier is needed to extend the base metered cost.

  • extended_unit (str) – An invariant to show the extended unit.

class azure.mgmt.compute.v2017_09_01.models.ResourceSkuLocationInfo(**kwargs)[source]

Bases: msrest.serialization.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.

class azure.mgmt.compute.v2017_09_01.models.ResourceSkuPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of ResourceSku object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.compute.v2017_09_01.models.ResourceSkuRestrictionInfo(**kwargs)[source]

Bases: msrest.serialization.Model

ResourceSkuRestrictionInfo.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • locations (list[str]) – Locations where the SKU is restricted

  • zones (list[str]) – List of availability zones where the SKU is restricted.

class azure.mgmt.compute.v2017_09_01.models.ResourceSkuRestrictions(**kwargs)[source]

Bases: msrest.serialization.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. Possible values include: ‘Location’, ‘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. Possible values include: ‘QuotaId’, ‘NotAvailableForSubscription’

class azure.mgmt.compute.v2017_09_01.models.ResourceSkuRestrictionsReasonCode(value)[source]

Bases: str, enum.Enum

An enumeration.

not_available_for_subscription = 'NotAvailableForSubscription'
quota_id = 'QuotaId'
class azure.mgmt.compute.v2017_09_01.models.ResourceSkuRestrictionsType(value)[source]

Bases: str, enum.Enum

An enumeration.

location = 'Location'
zone = 'Zone'