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.objectDirectLineOperations
Constructor
DirectLineOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
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
- channel_name
- str or RegenerateKeysChannelName
The name of the Channel resource for which keys are to be regenerated.
- 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'>
Feedback
Submit and view feedback for