Udostępnij za pośrednictwem


ResourceSkuRestrictions Class

Definition

Describes restrictions of a SKU.

public class ResourceSkuRestrictions
type ResourceSkuRestrictions = class
Public Class ResourceSkuRestrictions
Inheritance
ResourceSkuRestrictions

Constructors

ResourceSkuRestrictions()

Initializes a new instance of the ResourceSkuRestrictions class.

ResourceSkuRestrictions(Nullable<ResourceSkuRestrictionsType>, IList<String>, ResourceSkuRestrictionInfo, String)

Initializes a new instance of the ResourceSkuRestrictions class.

Properties

ReasonCode

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

RestrictionInfo

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

Type

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

Values

Gets or sets the value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.

Applies to