共用方式為


ArmPurviewModelFactory.PurviewAccountNameAvailabilityResult Method

Definition

Initializes a new instance of PurviewAccountNameAvailabilityResult.

public static Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityResult PurviewAccountNameAvailabilityResult (string message = default, bool? isNameAvailable = default, Azure.ResourceManager.Purview.Models.PurviewAccountNameUnavailableReason? reason = default);
static member PurviewAccountNameAvailabilityResult : string * Nullable<bool> * Nullable<Azure.ResourceManager.Purview.Models.PurviewAccountNameUnavailableReason> -> Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityResult
Public Shared Function PurviewAccountNameAvailabilityResult (Optional message As String = Nothing, Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of PurviewAccountNameUnavailableReason) = Nothing) As PurviewAccountNameAvailabilityResult

Parameters

message
String

Error message.

isNameAvailable
Nullable<Boolean>

Indicates if name is valid and available.

reason
Nullable<PurviewAccountNameUnavailableReason>

The reason the name is not available.

Returns

A new PurviewAccountNameAvailabilityResult instance for mocking.

Applies to