次の方法で共有


IRestriction Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.RestrictionTypeConverter))]
public interface IRestriction : Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.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". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC.

Type

The type of restrictions. As of now only possible value for this is location.

Value

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to