BotConnectionOperations Class
BotConnectionOperations 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.objectBotConnectionOperations
Constructor
BotConnectionOperations(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
| create |
Register a new Auth Connection for a Bot Service. |
| delete |
Deletes a Connection Setting registration for a Bot Service. |
| get |
Get a Connection Setting registration for a Bot Service. |
| list_by_bot_service |
Returns all the Connection Settings registered to a particular BotService resource. |
| list_service_providers |
Lists the available Service Providers for creating Connection Settings. |
| list_with_secrets |
Get a Connection Setting registration for a Bot Service. |
| update |
Updates a Connection Setting registration for a Bot Service. |
create
Register a new Auth Connection for a Bot Service.
async create(resource_group_name: str, resource_name: str, connection_name: str, parameters: azure.mgmt.botservice.models._models_py3.ConnectionSetting, **kwargs: Any) -> azure.mgmt.botservice.models._models_py3.ConnectionSetting
Parameters
- parameters
- ConnectionSetting
The parameters to provide for creating the Connection Setting.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ConnectionSetting, or the result of cls(response)
Return type
Exceptions
delete
Deletes a Connection Setting registration for a Bot Service.
async delete(resource_group_name: str, resource_name: str, connection_name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Get a Connection Setting registration for a Bot Service.
async get(resource_group_name: str, resource_name: str, connection_name: str, **kwargs: Any) -> azure.mgmt.botservice.models._models_py3.ConnectionSetting
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ConnectionSetting, or the result of cls(response)
Return type
Exceptions
list_by_bot_service
Returns all the Connection Settings registered to a particular BotService resource.
list_by_bot_service(resource_group_name: str, resource_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.botservice.models._models_py3.ConnectionSettingResponseList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ConnectionSettingResponseList or the result of cls(response)
Return type
Exceptions
list_service_providers
Lists the available Service Providers for creating Connection Settings.
async list_service_providers(**kwargs: Any) -> azure.mgmt.botservice.models._models_py3.ServiceProviderResponseList
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ServiceProviderResponseList, or the result of cls(response)
Return type
Exceptions
list_with_secrets
Get a Connection Setting registration for a Bot Service.
async list_with_secrets(resource_group_name: str, resource_name: str, connection_name: str, **kwargs: Any) -> azure.mgmt.botservice.models._models_py3.ConnectionSetting
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ConnectionSetting, or the result of cls(response)
Return type
Exceptions
update
Updates a Connection Setting registration for a Bot Service.
async update(resource_group_name: str, resource_name: str, connection_name: str, parameters: azure.mgmt.botservice.models._models_py3.ConnectionSetting, **kwargs: Any) -> azure.mgmt.botservice.models._models_py3.ConnectionSetting
Parameters
- parameters
- ConnectionSetting
The parameters to provide for updating the Connection Setting.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ConnectionSetting, 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