Compartilhar via


AppPlatformExtensions.CheckAppPlatformNameAvailabilityAsync Método

Definição

Verifica se o nome do recurso é válido e ainda não está em uso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.AppPlatform/locations/{location}/checkNameAvailability
  • Operação IdServices_CheckNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityResult>> CheckAppPlatformNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckAppPlatformNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityResult>>
<Extension()>
Public Function CheckAppPlatformNameAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As AppPlatformNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformNameAvailabilityResult))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

a região.

content
AppPlatformNameAvailabilityContent

Parâmetros fornecidos para a operação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a