Compartir a través de


DeviceUpdateExtensions.CheckDeviceUpdateNameAvailability Método

Definición

Comprueba la disponibilidad del nombre del recurso de ADU.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.DeviceUpdate/checknameavailability
  • Operation IdCheckNameAvailability
public static Azure.Response<Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityResponse> CheckDeviceUpdateNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckDeviceUpdateNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityResponse>
<Extension()>
Public Function CheckDeviceUpdateNameAvailability (subscriptionResource As SubscriptionResource, content As CheckNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CheckNameAvailabilityResponse)

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

content
CheckNameAvailabilityContent

Compruebe la solicitud de disponibilidad de nombres.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a