你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CheckNameAvailabilityResult Constructors

Definition

Overloads

CheckNameAvailabilityResult()

Initializes a new instance of the CheckNameAvailabilityResult class.

CheckNameAvailabilityResult(Nullable<Boolean>, Nullable<Reason>, String)

Initializes a new instance of the CheckNameAvailabilityResult class.

CheckNameAvailabilityResult()

Initializes a new instance of the CheckNameAvailabilityResult class.

public CheckNameAvailabilityResult ();
Public Sub New ()

Applies to

CheckNameAvailabilityResult(Nullable<Boolean>, Nullable<Reason>, String)

Initializes a new instance of the CheckNameAvailabilityResult class.

public CheckNameAvailabilityResult (bool? nameAvailable = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Reason? reason = default, string message = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.CheckNameAvailabilityResult : Nullable<bool> * Nullable<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Reason> * string -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.CheckNameAvailabilityResult
Public Sub New (Optional nameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of Reason) = Nothing, Optional message As String = Nothing)

Parameters

nameAvailable
Nullable<Boolean>

Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.

reason
Nullable<Reason>

Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: 'AccountNameInvalid', 'AlreadyExists'

message
String

Gets an error message explaining the Reason value in more detail.

Applies to