ReasonCode Struct

Definition

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.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ReasonCodeTypeConverter))]
public struct ReasonCode : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ReasonCode>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ReasonCodeTypeConverter))>]
type ReasonCode = struct
    interface IArgumentCompleter
Public Structure ReasonCode
Implements IArgumentCompleter, IEquatable(Of ReasonCode)
Inheritance
ReasonCode
Attributes
Implements

Fields

NotAvailableForSubscription
QuotaId

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type ReasonCode (override for Object)

Equals(ReasonCode)

Compares values of enum type ReasonCode

GetHashCode()

Returns hashCode for enum ReasonCode

ToString()

Returns string representation for ReasonCode

Operators

Equality(ReasonCode, ReasonCode)

Overriding == operator for enum ReasonCode

Implicit(ReasonCode to String)

Implicit operator to convert ReasonCode to string

Implicit(String to ReasonCode)

Implicit operator to convert string to ReasonCode

Inequality(ReasonCode, ReasonCode)

Overriding != operator for enum ReasonCode

Applies to