共用方式為


ArmMongoClusterModelFactory.MongoClusterNameAvailabilityResult Method

Definition

Initializes a new instance of MongoClusterNameAvailabilityResult.

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

Parameters

isNameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<MongoClusterNameUnavailableReason>

The reason why the given name is not available.

message
String

Detailed reason why the given name is not available.

Returns

A new MongoClusterNameAvailabilityResult instance for mocking.

Applies to