AzureAccounts class
Class representing a AzureAccounts.
Constructors
Azure |
Create a AzureAccounts. |
Methods
Constructor Details
AzureAccounts(LUISAuthoringClientContext)
Create a AzureAccounts.
new AzureAccounts(client: LUISAuthoringClientContext)
Parameters
- client
- LUISAuthoringClientContext
Reference to the service client.
Method Details
assignToApp(string, AzureAccountsAssignToAppOptionalParams)
Assigns an Azure account to the application.
function assignToApp(appId: string, options?: AzureAccountsAssignToAppOptionalParams): Promise<AzureAccountsAssignToAppResponse>
Parameters
- appId
-
string
The application ID.
The optional parameters
Returns
Promise<AzureAccountsAssignToAppResponse>
Promise<Models.AzureAccountsAssignToAppResponse>
assignToApp(string, AzureAccountsAssignToAppOptionalParams, ServiceCallback<OperationStatus>)
function assignToApp(appId: string, options: AzureAccountsAssignToAppOptionalParams, callback: ServiceCallback<OperationStatus>)
Parameters
- appId
-
string
The application ID.
The optional parameters
- callback
The callback
assignToApp(string, ServiceCallback<OperationStatus>)
function assignToApp(appId: string, callback: ServiceCallback<OperationStatus>)
Parameters
- appId
-
string
The application ID.
- callback
The callback
getAssigned(string, AzureAccountsGetAssignedOptionalParams)
Gets the LUIS Azure accounts assigned to the application for the user using his ARM token.
function getAssigned(appId: string, options?: AzureAccountsGetAssignedOptionalParams): Promise<AzureAccountsGetAssignedResponse>
Parameters
- appId
-
string
The application ID.
The optional parameters
Returns
Promise<AzureAccountsGetAssignedResponse>
Promise<Models.AzureAccountsGetAssignedResponse>
getAssigned(string, AzureAccountsGetAssignedOptionalParams, ServiceCallback<AzureAccountInfoObject[]>)
function getAssigned(appId: string, options: AzureAccountsGetAssignedOptionalParams, callback: ServiceCallback<AzureAccountInfoObject[]>)
Parameters
- appId
-
string
The application ID.
The optional parameters
- callback
The callback
getAssigned(string, ServiceCallback<AzureAccountInfoObject[]>)
function getAssigned(appId: string, callback: ServiceCallback<AzureAccountInfoObject[]>)
Parameters
- appId
-
string
The application ID.
- callback
The callback
listUserLUISAccounts(AzureAccountsListUserLUISAccountsOptionalParams)
Gets the LUIS Azure accounts for the user using his ARM token.
function listUserLUISAccounts(options?: AzureAccountsListUserLUISAccountsOptionalParams): Promise<AzureAccountsListUserLUISAccountsResponse>
Parameters
The optional parameters
Returns
Promise<Models.AzureAccountsListUserLUISAccountsResponse>
listUserLUISAccounts(AzureAccountsListUserLUISAccountsOptionalParams, ServiceCallback<AzureAccountInfoObject[]>)
function listUserLUISAccounts(options: AzureAccountsListUserLUISAccountsOptionalParams, callback: ServiceCallback<AzureAccountInfoObject[]>)
Parameters
The optional parameters
- callback
The callback
listUserLUISAccounts(ServiceCallback<AzureAccountInfoObject[]>)
function listUserLUISAccounts(callback: ServiceCallback<AzureAccountInfoObject[]>)
Parameters
- callback
The callback
removeFromApp(string, AzureAccountsRemoveFromAppOptionalParams)
Removes assigned Azure account from the application.
function removeFromApp(appId: string, options?: AzureAccountsRemoveFromAppOptionalParams): Promise<AzureAccountsRemoveFromAppResponse>
Parameters
- appId
-
string
The application ID.
The optional parameters
Returns
Promise<AzureAccountsRemoveFromAppResponse>
Promise<Models.AzureAccountsRemoveFromAppResponse>
removeFromApp(string, AzureAccountsRemoveFromAppOptionalParams, ServiceCallback<OperationStatus>)
function removeFromApp(appId: string, options: AzureAccountsRemoveFromAppOptionalParams, callback: ServiceCallback<OperationStatus>)
Parameters
- appId
-
string
The application ID.
The optional parameters
- callback
The callback
removeFromApp(string, ServiceCallback<OperationStatus>)
function removeFromApp(appId: string, callback: ServiceCallback<OperationStatus>)
Parameters
- appId
-
string
The application ID.
- callback
The callback