AzureAccounts class

Class representing a AzureAccounts.

Constructors

AzureAccounts(LUISAuthoringClientContext)

Create a AzureAccounts.

Methods

assignToApp(string, AzureAccountsAssignToAppOptionalParams)

Assigns an Azure account to the application.

assignToApp(string, AzureAccountsAssignToAppOptionalParams, ServiceCallback<OperationStatus>)
assignToApp(string, ServiceCallback<OperationStatus>)
getAssigned(string, AzureAccountsGetAssignedOptionalParams)

Gets the LUIS Azure accounts assigned to the application for the user using his ARM token.

getAssigned(string, AzureAccountsGetAssignedOptionalParams, ServiceCallback<AzureAccountInfoObject[]>)
getAssigned(string, ServiceCallback<AzureAccountInfoObject[]>)
listUserLUISAccounts(AzureAccountsListUserLUISAccountsOptionalParams)

Gets the LUIS Azure accounts for the user using his ARM token.

listUserLUISAccounts(AzureAccountsListUserLUISAccountsOptionalParams, ServiceCallback<AzureAccountInfoObject[]>)
listUserLUISAccounts(ServiceCallback<AzureAccountInfoObject[]>)
removeFromApp(string, AzureAccountsRemoveFromAppOptionalParams)

Removes assigned Azure account from the application.

removeFromApp(string, AzureAccountsRemoveFromAppOptionalParams, ServiceCallback<OperationStatus>)
removeFromApp(string, ServiceCallback<OperationStatus>)

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.

options
AzureAccountsAssignToAppOptionalParams

The optional parameters

Returns

Promise<Models.AzureAccountsAssignToAppResponse>

assignToApp(string, AzureAccountsAssignToAppOptionalParams, ServiceCallback<OperationStatus>)

function assignToApp(appId: string, options: AzureAccountsAssignToAppOptionalParams, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

options
AzureAccountsAssignToAppOptionalParams

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

assignToApp(string, ServiceCallback<OperationStatus>)

function assignToApp(appId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

callback

ServiceCallback<OperationStatus>

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.

options
AzureAccountsGetAssignedOptionalParams

The optional parameters

Returns

Promise<Models.AzureAccountsGetAssignedResponse>

getAssigned(string, AzureAccountsGetAssignedOptionalParams, ServiceCallback<AzureAccountInfoObject[]>)

function getAssigned(appId: string, options: AzureAccountsGetAssignedOptionalParams, callback: ServiceCallback<AzureAccountInfoObject[]>)

Parameters

appId

string

The application ID.

options
AzureAccountsGetAssignedOptionalParams

The optional parameters

callback

ServiceCallback<AzureAccountInfoObject[]>

The callback

getAssigned(string, ServiceCallback<AzureAccountInfoObject[]>)

function getAssigned(appId: string, callback: ServiceCallback<AzureAccountInfoObject[]>)

Parameters

appId

string

The application ID.

callback

ServiceCallback<AzureAccountInfoObject[]>

The callback

listUserLUISAccounts(AzureAccountsListUserLUISAccountsOptionalParams)

Gets the LUIS Azure accounts for the user using his ARM token.

function listUserLUISAccounts(options?: AzureAccountsListUserLUISAccountsOptionalParams): Promise<AzureAccountsListUserLUISAccountsResponse>

Parameters

options
AzureAccountsListUserLUISAccountsOptionalParams

The optional parameters

Returns

Promise<Models.AzureAccountsListUserLUISAccountsResponse>

listUserLUISAccounts(AzureAccountsListUserLUISAccountsOptionalParams, ServiceCallback<AzureAccountInfoObject[]>)

function listUserLUISAccounts(options: AzureAccountsListUserLUISAccountsOptionalParams, callback: ServiceCallback<AzureAccountInfoObject[]>)

Parameters

options
AzureAccountsListUserLUISAccountsOptionalParams

The optional parameters

callback

ServiceCallback<AzureAccountInfoObject[]>

The callback

listUserLUISAccounts(ServiceCallback<AzureAccountInfoObject[]>)

function listUserLUISAccounts(callback: ServiceCallback<AzureAccountInfoObject[]>)

Parameters

callback

ServiceCallback<AzureAccountInfoObject[]>

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.

options
AzureAccountsRemoveFromAppOptionalParams

The optional parameters

Returns

Promise<Models.AzureAccountsRemoveFromAppResponse>

removeFromApp(string, AzureAccountsRemoveFromAppOptionalParams, ServiceCallback<OperationStatus>)

function removeFromApp(appId: string, options: AzureAccountsRemoveFromAppOptionalParams, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

options
AzureAccountsRemoveFromAppOptionalParams

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

removeFromApp(string, ServiceCallback<OperationStatus>)

function removeFromApp(appId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

callback

ServiceCallback<OperationStatus>

The callback