CheckNameAvailabilityResult Constructors

Definition

Overloads

CheckNameAvailabilityResult()

Initializes a new instance of the CheckNameAvailabilityResult class.

CheckNameAvailabilityResult(Nullable<Boolean>, Nullable<NameAvailabilityReason>, 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<NameAvailabilityReason>, String)

Initializes a new instance of the CheckNameAvailabilityResult class.

public CheckNameAvailabilityResult (Nullable<bool> nameAvailable = null, Nullable<Microsoft.Azure.Management.Batch.Models.NameAvailabilityReason> reason = null, string message = null);
new Microsoft.Azure.Management.Batch.Models.CheckNameAvailabilityResult : Nullable<bool> * Nullable<Microsoft.Azure.Management.Batch.Models.NameAvailabilityReason> * string -> Microsoft.Azure.Management.Batch.Models.CheckNameAvailabilityResult
Public Sub New (Optional nameAvailable As Nullable(Of Boolean) = null, Optional reason As Nullable(Of NameAvailabilityReason) = null, Optional message As String = null)

Parameters

nameAvailable
System.Nullable<System.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 invalid and cannot be used.

reason
System.Nullable<NameAvailabilityReason>

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

message
System.String

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

Applies to