Partilhar via


AgFoodPlatformExtensions.CheckNameAvailabilityLocation Método

Definição

Verifica a disponibilidade do nome do recurso com o nome do recurso solicitado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability
  • Operação IdLocations_CheckNameAvailability
public static Azure.Response<Azure.ResourceManager.AgFoodPlatform.Models.CheckNameAvailabilityResponse> CheckNameAvailabilityLocation (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.AgFoodPlatform.Models.CheckNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityLocation : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.AgFoodPlatform.Models.CheckNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AgFoodPlatform.Models.CheckNameAvailabilityResponse>
<Extension()>
Public Function CheckNameAvailabilityLocation (subscriptionResource As SubscriptionResource, content As CheckNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CheckNameAvailabilityResponse)

Parâmetros

subscriptionResource
SubscriptionResource

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

content
CheckNameAvailabilityContent

Objeto NameAvailabilityRequest.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a