共用方式為


BotServiceExtensions.GetBotServiceQnAMakerEndpointKeyAsync Method

Definition

Lists the QnA Maker endpoint keys

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.BotService/listQnAMakerEndpointKeys
  • Operation Id: QnAMakerEndpointKeys_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.Models.GetBotServiceQnAMakerEndpointKeyResult>> GetBotServiceQnAMakerEndpointKeyAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.BotService.Models.GetBotServiceQnAMakerEndpointKeyContent content, System.Threading.CancellationToken cancellationToken = default);
static member GetBotServiceQnAMakerEndpointKeyAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.BotService.Models.GetBotServiceQnAMakerEndpointKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.Models.GetBotServiceQnAMakerEndpointKeyResult>>
<Extension()>
Public Function GetBotServiceQnAMakerEndpointKeyAsync (subscriptionResource As SubscriptionResource, content As GetBotServiceQnAMakerEndpointKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GetBotServiceQnAMakerEndpointKeyResult))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

content
GetBotServiceQnAMakerEndpointKeyContent

The request body parameters to provide for the check name availability request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or content is null.

Applies to