BotServiceExtensions.GetBotServiceQnAMakerEndpointKeyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.