Compartir a través de


BotServiceExtensions.CheckBotServiceNameAvailability Método

Definición

Compruebe si hay un nombre de bot disponible.

  • Ruta de acceso de solicitud/providers/Microsoft.BotService/checkNameAvailability
  • IdBots_GetCheckNameAvailability de operaciones
public static Azure.Response<Azure.ResourceManager.BotService.Models.BotServiceNameAvailabilityResult> CheckBotServiceNameAvailability (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.BotService.Models.BotServiceNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckBotServiceNameAvailability : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.BotService.Models.BotServiceNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.BotService.Models.BotServiceNameAvailabilityResult>
<Extension()>
Public Function CheckBotServiceNameAvailability (tenantResource As TenantResource, content As BotServiceNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BotServiceNameAvailabilityResult)

Parámetros

tenantResource
TenantResource

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

content
BotServiceNameAvailabilityContent

Parámetros del cuerpo de la solicitud que se van a proporcionar para la solicitud de disponibilidad del nombre de comprobación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a