共用方式為


CheckNameAvailabilityResult Constructors

Definition

Overloads

CheckNameAvailabilityResult()

Initializes a new instance of the CheckNameAvailabilityResult class.

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

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

Initializes a new instance of the CheckNameAvailabilityResult class.

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

Parameters

message
String

The detailed info regarding the reason associated with the namespace.

nameAvailable
Nullable<Boolean>

Value indicating namespace is availability, true if the namespace is available; otherwise, false.

reason
Nullable<UnavailableReason>

The reason for unavailability of a namespace. Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', 'NameInUse', 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription'

Applies to