Compartir a través de


MockableSelfHelpArmClient.CheckSelfHelpNameAvailabilityAsync Método

Definición

Esta API se usa para comprobar la unicidad de un nombre de recurso usado para un diagnóstico, solucionador de problemas o soluciones.

  • Ruta de acceso de solicitud/{scope}/providers/Microsoft.Help/checkNameAvailability
  • IdCheckNameAvailability_Post de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.Models.SelfHelpNameAvailabilityResult>> CheckSelfHelpNameAvailabilityAsync (Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.SelfHelp.Models.SelfHelpNameAvailabilityContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckSelfHelpNameAvailabilityAsync : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SelfHelp.Models.SelfHelpNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.Models.SelfHelpNameAvailabilityResult>>
override this.CheckSelfHelpNameAvailabilityAsync : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SelfHelp.Models.SelfHelpNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.Models.SelfHelpNameAvailabilityResult>>
Public Overridable Function CheckSelfHelpNameAvailabilityAsync (scope As ResourceIdentifier, Optional content As SelfHelpNameAvailabilityContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SelfHelpNameAvailabilityResult))

Parámetros

scope
ResourceIdentifier

Ámbito que se va a usar.

content
SelfHelpNameAvailabilityContent

Parámetros necesarios para la comprobación de disponibilidad.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a