ResourceSkuRestrictions Class

Restrictions where the SKU cannot be used.

Inheritance
ResourceSkuRestrictions

Constructor

ResourceSkuRestrictions(*, type: Optional[Union[str, azure.mgmt.appplatform.v2021_06_01_preview.models._app_platform_management_client_enums.ResourceSkuRestrictionsType]] = None, values: Optional[List[str]] = None, restriction_info: Optional[azure.mgmt.appplatform.v2021_06_01_preview.models._models_py3.ResourceSkuRestrictionInfo] = None, reason_code: Optional[Union[str, azure.mgmt.appplatform.v2021_06_01_preview.models._app_platform_management_client_enums.ResourceSkuRestrictionsReasonCode]] = None, **kwargs)

Variables

type
str or ResourceSkuRestrictionsType

Gets the type of restrictions. Possible values include: 'Location', 'Zone'. Possible values include: "Location", "Zone".

values
list[str]

Gets 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

Gets the information about the restriction where the SKU cannot be used.

reason_code
str or ResourceSkuRestrictionsReasonCode

Gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'. Possible values include: "QuotaId", "NotAvailableForSubscription".