Udostępnij za pośrednictwem


BotServiceExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.BotService.

public static class BotServiceExtensions
type BotServiceExtensions = class
Public Module BotServiceExtensions
Inheritance
BotServiceExtensions

Methods

CheckBotServiceNameAvailability(TenantResource, BotServiceNameAvailabilityContent, CancellationToken)

Check whether a bot name is available.

  • Request Path: /providers/Microsoft.BotService/checkNameAvailability
  • Operation Id: Bots_GetCheckNameAvailability
CheckBotServiceNameAvailabilityAsync(TenantResource, BotServiceNameAvailabilityContent, CancellationToken)

Check whether a bot name is available.

  • Request Path: /providers/Microsoft.BotService/checkNameAvailability
  • Operation Id: Bots_GetCheckNameAvailability
GetBot(ResourceGroupResource, String, CancellationToken)

Returns a BotService specified by the parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}
  • Operation Id: Bots_Get
GetBotAsync(ResourceGroupResource, String, CancellationToken)

Returns a BotService specified by the parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}
  • Operation Id: Bots_Get
GetBotChannelResource(ArmClient, ResourceIdentifier)

Gets an object representing a BotChannelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, BotChannelName) to create a BotChannelResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBotChannelResource(ResourceIdentifier) instead.

GetBotConnectionServiceProviders(SubscriptionResource, CancellationToken)

Lists the available Service Providers for creating Connection Settings

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.BotService/listAuthServiceProviders
  • Operation Id: BotConnection_ListServiceProviders
GetBotConnectionServiceProvidersAsync(SubscriptionResource, CancellationToken)

Lists the available Service Providers for creating Connection Settings

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.BotService/listAuthServiceProviders
  • Operation Id: BotConnection_ListServiceProviders
GetBotConnectionSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a BotConnectionSettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BotConnectionSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBotConnectionSettingResource(ResourceIdentifier) instead.

GetBotResource(ArmClient, ResourceIdentifier)

Gets an object representing a BotResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BotResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBotResource(ResourceIdentifier) instead.

GetBots(ResourceGroupResource)

Gets a collection of BotResources in the ResourceGroupResource. MockingTo mock this method, please mock GetBots() instead.

GetBots(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.BotService/botServices
  • Operation Id: Bots_List
GetBotsAsync(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.BotService/botServices
  • Operation Id: Bots_List
GetBotServiceHostSettings(SubscriptionResource, CancellationToken)

Get per subscription settings needed to host bot in compute resource such as Azure App Service

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.BotService/hostSettings
  • Operation Id: HostSettings_Get
GetBotServiceHostSettingsAsync(SubscriptionResource, CancellationToken)

Get per subscription settings needed to host bot in compute resource such as Azure App Service

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.BotService/hostSettings
  • Operation Id: HostSettings_Get
GetBotServicePrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BotServicePrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BotServicePrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBotServicePrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetBotServiceQnAMakerEndpointKey(SubscriptionResource, GetBotServiceQnAMakerEndpointKeyContent, CancellationToken)

Lists the QnA Maker endpoint keys

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.BotService/listQnAMakerEndpointKeys
  • Operation Id: QnAMakerEndpointKeys_Get
GetBotServiceQnAMakerEndpointKeyAsync(SubscriptionResource, GetBotServiceQnAMakerEndpointKeyContent, CancellationToken)

Lists the QnA Maker endpoint keys

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.BotService/listQnAMakerEndpointKeys
  • Operation Id: QnAMakerEndpointKeys_Get

Applies to