Share via


CheckNameAvailabilityOutput Constructors

Definition

Overloads

CheckNameAvailabilityOutput()

Initializes a new instance of the CheckNameAvailabilityOutput class.

CheckNameAvailabilityOutput(Nullable<Boolean>, String, String)

Initializes a new instance of the CheckNameAvailabilityOutput class.

CheckNameAvailabilityOutput()

Initializes a new instance of the CheckNameAvailabilityOutput class.

public CheckNameAvailabilityOutput ();
Public Sub New ()

Applies to

CheckNameAvailabilityOutput(Nullable<Boolean>, String, String)

Initializes a new instance of the CheckNameAvailabilityOutput class.

public CheckNameAvailabilityOutput (bool? isNameAvailable = default, string reason = default, string message = default);
new Microsoft.Azure.Management.Search.Models.CheckNameAvailabilityOutput : Nullable<bool> * string * string -> Microsoft.Azure.Management.Search.Models.CheckNameAvailabilityOutput
Public Sub New (Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As String = Nothing, Optional message As String = Nothing)

Parameters

isNameAvailable
Nullable<Boolean>

A value indicating whether the name is available.

reason
String

The reason why the name is not available. 'Invalid' indicates the name provided does not match the naming requirements (incorrect length, unsupported characters, etc.). 'AlreadyExists' indicates that the name is already in use and is therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists'

message
String

A message that explains why the name is invalid and provides resource naming requirements. Available only if 'Invalid' is returned in the 'reason' property.

Applies to