Partilhar via


DeviceUpdateExtensions.CheckDeviceUpdateNameAvailabilityAsync Método

Definição

Verifica a disponibilidade do nome do recurso da ADU.

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

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

content
CheckNameAvailabilityContent

Verifique a Solicitação de Disponibilidade de Nome.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a