Compartir a través de


CosmosDBLocationResource.CheckMongoClusterNameAailability Método

Definición

Comprobación de la disponibilidad del nombre del recurso

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability
  • IdMongoClusters_CheckNameAvailability de operaciones
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)

Parámetros

content
CheckCosmosDBNameAvailabilityContent

Parámetros necesarios para comprobar si el nombre del recurso está disponible.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a