DirectLineOperations Class

DirectLineOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
DirectLineOperations

Constructor

DirectLineOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

regenerate_keys

Regenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource.

regenerate_keys

Regenerates secret keys and returns them for the DirectLine Channel of a particular BotService resource.

async regenerate_keys(resource_group_name: str, resource_name: str, channel_name: Union[str, azure.mgmt.botservice.models._azure_bot_service_enums.RegenerateKeysChannelName], parameters: azure.mgmt.botservice.models._models_py3.SiteInfo, **kwargs: Any) -> azure.mgmt.botservice.models._models_py3.BotChannel

Parameters

resource_group_name
str
Required

The name of the Bot resource group in the user subscription.

resource_name
str
Required

The name of the Bot resource.

channel_name
str or RegenerateKeysChannelName
Required

The name of the Channel resource for which keys are to be regenerated.

parameters
SiteInfo
Required

The parameters to provide for the created bot.

cls
callable

A custom type or function that will be passed the direct response

Returns

BotChannel, or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.botservice.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\botservice\\models\\__init__.py'>