Compartir a través de


CosmosDBLocationResource.CheckMongoClusterNameAailabilityAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityResponse>> CheckMongoClusterNameAailabilityAsync (Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckMongoClusterNameAailabilityAsync : Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityResponse>>
override this.CheckMongoClusterNameAailabilityAsync : Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.Models.CheckCosmosDBNameAvailabilityResponse>>
Public Overridable Function CheckMongoClusterNameAailabilityAsync (content As CheckCosmosDBNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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