Partilhar via


CosmosDBLocationResource.CheckMongoClusterNameAailability Método

Definição

Verificar a disponibilidade do nome do recurso

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

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