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 <item> Mocking. To mock this method, please mock GetBotServiceQnAMakerEndpointKeyAsync(GetBotServiceQnAMakerEndpointKeyContent, CancellationToken) instead. </item>
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 the method will execute against.
The request body.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource is null.