Share via


StorageRestrictionReasonCode 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.

public readonly struct StorageRestrictionReasonCode : IEquatable<Azure.ResourceManager.Storage.Models.StorageRestrictionReasonCode>
type StorageRestrictionReasonCode = struct
Public Structure StorageRestrictionReasonCode
Implements IEquatable(Of StorageRestrictionReasonCode)
Inheritance
StorageRestrictionReasonCode
Implements

Constructors

StorageRestrictionReasonCode(String)

Initializes a new instance of StorageRestrictionReasonCode.

Properties

NotAvailableForSubscription

NotAvailableForSubscription.

QuotaId

QuotaId.

Methods

Equals(StorageRestrictionReasonCode)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(StorageRestrictionReasonCode, StorageRestrictionReasonCode)

Determines if two StorageRestrictionReasonCode values are the same.

Implicit(String to StorageRestrictionReasonCode)

Converts a string to a StorageRestrictionReasonCode.

Inequality(StorageRestrictionReasonCode, StorageRestrictionReasonCode)

Determines if two StorageRestrictionReasonCode values are not the same.

Applies to