Compartilhar via


CosmosDBLocationResource.CheckMongoClusterNameAailabilityAsync Método

Definição

Verificar a disponibilidade do nome do recurso

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability
  • IdMongoClusters_CheckNameAvailability de operação
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

Os parâmetros necessários para verificar se o nome do recurso está disponível.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a