Freigeben über


ArmCosmosDBModelFactory.CheckCosmosDBNameAvailabilityResponse Methode

Definition

Initialisiert eine neue instance von CheckCosmosDBNameAvailabilityResponse.

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

Parameter

nameAvailable
Nullable<Boolean>

Gibt an, ob der Ressourcenname verfügbar ist.

reason
Nullable<CosmosDBNameUnavailableReason>

Der Grund, warum der angegebene Name nicht verfügbar ist.

message
String

Detaillierter Grund, warum der angegebene Name verfügbar ist.

Gibt zurück

Eine neue CheckCosmosDBNameAvailabilityResponse instance zum Mocking.

Gilt für: