Compartir a través de


SupportExtensions.CheckSupportTicketNameAvailabilityAsync Método

Definición

Compruebe la disponibilidad de un nombre de recurso. Esta API debe usarse para comprobar la unicidad del nombre para la creación de incidencias de soporte técnico para la suscripción seleccionada.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability
  • IdSupportTickets_CheckNameAvailability de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.SupportNameAvailabilityResult>> CheckSupportTicketNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Support.Models.SupportNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckSupportTicketNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Support.Models.SupportNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.SupportNameAvailabilityResult>>
<Extension()>
Public Function CheckSupportTicketNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As SupportNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SupportNameAvailabilityResult))

Parámetros

subscriptionResource
SubscriptionResource

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

content
SupportNameAvailabilityContent

Entrada que se va a comprobar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a