Freigeben über


CosmosDBLocationResource.CheckMongoClusterNameAailability Methode

Definition

Überprüfen der Verfügbarkeit des Namens für die Ressource

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability
  • Vorgang IdMongoClusters_CheckNameAvailability
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityResponse> CheckMongoClusterNameAailability (Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckMongoClusterNameAailability : Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityResponse>
override this.CheckMongoClusterNameAailability : Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityResponse>
Public Overridable Function CheckMongoClusterNameAailability (content As CheckCosmosDBNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CheckCosmosDBNameAvailabilityResponse)

Parameter

content
CheckCosmosDBNameAvailabilityContent

Die erforderlichen Parameter zum Überprüfen, ob der Ressourcenname verfügbar ist.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: