AzureAccountsOperations Class
AzureAccountsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Inheritance
-
builtins.objectAzureAccountsOperations
Constructor
AzureAccountsOperations(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.
Methods
| assign_to_app |
apps - Assign a LUIS Azure account to an application. Assigns an Azure account to the application. |
| get_assigned |
apps - Get LUIS Azure accounts assigned to the application. Gets the LUIS Azure accounts assigned to the application for the user using his ARM token. |
| list_user_luis_accounts |
user - Get LUIS Azure accounts. Gets the LUIS Azure accounts for the user using his ARM token. |
| remove_from_app |
apps - Removes an assigned LUIS Azure account from an application. Removes assigned Azure account from the application. |
assign_to_app
apps - Assign a LUIS Azure account to an application.
Assigns an Azure account to the application.
assign_to_app(app_id, arm_token=None, azure_account_info_object=None, custom_headers=None, raw=False, **operation_config)
Parameters
- arm_token
- str
The custom arm token header to use; containing the user's ARM token used to validate azure accounts information.
- azure_account_info_object
- AzureAccountInfoObject
The Azure account information object.
- operation_config
Operation configuration overrides.
Returns
OperationStatus or ClientRawResponse if raw=true
Return type
Exceptions
get_assigned
apps - Get LUIS Azure accounts assigned to the application.
Gets the LUIS Azure accounts assigned to the application for the user using his ARM token.
get_assigned(app_id, arm_token=None, custom_headers=None, raw=False, **operation_config)
Parameters
- arm_token
- str
The custom arm token header to use; containing the user's ARM token used to validate azure accounts information.
- operation_config
Operation configuration overrides.
Returns
list or ClientRawResponse if raw=true
Return type
Exceptions
list_user_luis_accounts
user - Get LUIS Azure accounts.
Gets the LUIS Azure accounts for the user using his ARM token.
list_user_luis_accounts(arm_token=None, custom_headers=None, raw=False, **operation_config)
Parameters
- arm_token
- str
The custom arm token header to use; containing the user's ARM token used to validate azure accounts information.
- operation_config
Operation configuration overrides.
Returns
list or ClientRawResponse if raw=true
Return type
Exceptions
remove_from_app
apps - Removes an assigned LUIS Azure account from an application.
Removes assigned Azure account from the application.
remove_from_app(app_id, arm_token=None, azure_account_info_object=None, custom_headers=None, raw=False, **operation_config)
Parameters
- arm_token
- str
The custom arm token header to use; containing the user's ARM token used to validate azure accounts information.
- azure_account_info_object
- AzureAccountInfoObject
The Azure account information object.
- operation_config
Operation configuration overrides.
Returns
OperationStatus or ClientRawResponse if raw=true
Return type
Exceptions
Attributes
models
models = <module 'azure.cognitiveservices.language.luis.authoring.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\cognitiveservices\\language\\luis\\authoring\\models\\__init__.py'>
Feedback
Submit and view feedback for