你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IRestriction Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.RestrictionTypeConverter))]
public interface IRestriction : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.RestrictionTypeConverter))>]
type IRestriction = interface
interface IJsonSerializable
Public Interface IRestriction
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
ReasonCode |
The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". "QuotaId" is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. "NotAvailableForSubscription" is related to capacity at the datacenter. |
Type |
The type of restrictions. In this version, the only possible value for this is location. |
Value |
The value of restrictions. If the restriction type is set to location, then this would be the different locations where the SKU is restricted. |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |