Partager via


NameAvailabilityResponse Constructors

Definition

Overloads

NameAvailabilityResponse()

Initializes a new instance of the NameAvailabilityResponse class.

NameAvailabilityResponse(Nullable<Boolean>, String, String)

Initializes a new instance of the NameAvailabilityResponse class.

NameAvailabilityResponse()

Initializes a new instance of the NameAvailabilityResponse class.

public NameAvailabilityResponse ();
Public Sub New ()

Applies to

NameAvailabilityResponse(Nullable<Boolean>, String, String)

Initializes a new instance of the NameAvailabilityResponse class.

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

Parameters

nameAvailable
Nullable<Boolean>

If true, the name is valid and available. If false, 'reason' describes why not.

reason
String

The reason why the name is not available, if nameAvailable is false Possible values include: 'AlreadyExists', 'Invalid'

message
String

The localized reason why the name is not available, if nameAvailable is false

Applies to