Share via


ICheckNameAvailabilityResult.Reason Property

Definition

Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.

[Microsoft.Azure.PowerShell.Cmdlets.Storage.PSArgumentCompleter(new System.String[] { "AccountNameInvalid", "AlreadyExists" })]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(Create=false, Description="Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=true, Required=false, SerializedName="reason", Update=false)]
public string Reason { get; }
[<Microsoft.Azure.PowerShell.Cmdlets.Storage.PSArgumentCompleter(new System.String[] { "AccountNameInvalid", "AlreadyExists" })>]
[<Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(Create=false, Description="Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=true, Required=false, SerializedName="reason", Update=false)>]
member this.Reason : string
Public ReadOnly Property Reason As String

Property Value

Attributes

Applies to