ResourceSkuRestrictions Class
Describes restrictions of a SKU.
Constructor
ResourceSkuRestrictions(*, type: str | _models.ResourceSkuRestrictionsType | None = None, values: list[str] | None = None, restriction_info: _models.ResourceSkuRestrictionInfo | None = None, reason_code: str | _models.ResourceSkuRestrictionsReasonCode | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
type
|
The type of restrictions. Known values are: "Location" and "Zone". Default value: None
|
|
values
|
The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. Default value: None
|
|
restriction_info
|
The information about the restriction where the SKU cannot be used. Default value: None
|
|
reason_code
|
The reason for restriction. Known values are: "QuotaId" and "NotAvailableForSubscription". Default value: None
|
Variables
| Name | Description |
|---|---|
|
type
|
The type of restrictions. Known values are: "Location" and "Zone". |
|
values
|
The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. |
|
restriction_info
|
The information about the restriction where the SKU cannot be used. |
|
reason_code
|
The reason for restriction. Known values are: "QuotaId" and "NotAvailableForSubscription". |