AzureAccounts Interface

public interface AzureAccounts

An instance of this class provides access to all the operations defined in AzureAccounts.

Method Summary

Modifier and Type Method and Description
AzureAccountsAssignToAppDefinitionStages.WithAppId assignToApp()

apps - Assign a LUIS Azure account to an application. Assigns an Azure account to the application.

OperationStatus assignToApp(UUID appId, AssignToAppOptionalParameter assignToAppOptionalParameter)

apps - Assign a LUIS Azure account to an application. Assigns an Azure account to the application.

Observable<OperationStatus> assignToAppAsync(UUID appId, AssignToAppOptionalParameter assignToAppOptionalParameter)

apps - Assign a LUIS Azure account to an application. Assigns an Azure account to the application.

AzureAccountsGetAssignedDefinitionStages.WithAppId getAssigned()

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<AzureAccountInfoObject> getAssigned(UUID appId, GetAssignedOptionalParameter getAssignedOptionalParameter)

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.

Observable<List<AzureAccountInfoObject>> getAssignedAsync(UUID appId, GetAssignedOptionalParameter getAssignedOptionalParameter)

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.

AzureAccountsListUserLUISAccountsDefinitionStages.WithExecute listUserLUISAccounts()

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

List<AzureAccountInfoObject> listUserLUISAccounts(ListUserLUISAccountsOptionalParameter listUserLUISAccountsOptionalParameter)

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

Observable<List<AzureAccountInfoObject>> listUserLUISAccountsAsync(ListUserLUISAccountsOptionalParameter listUserLUISAccountsOptionalParameter)

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

AzureAccountsRemoveFromAppDefinitionStages.WithAppId removeFromApp()

apps - Removes an assigned LUIS Azure account from an application. Removes assigned Azure account from the application.

OperationStatus removeFromApp(UUID appId, RemoveFromAppOptionalParameter removeFromAppOptionalParameter)

apps - Removes an assigned LUIS Azure account from an application. Removes assigned Azure account from the application.

Observable<OperationStatus> removeFromAppAsync(UUID appId, RemoveFromAppOptionalParameter removeFromAppOptionalParameter)

apps - Removes an assigned LUIS Azure account from an application. Removes assigned Azure account from the application.

Method Details

assignToApp

public AzureAccountsAssignToAppDefinitionStages.WithAppId assignToApp()

apps - Assign a LUIS Azure account to an application. Assigns an Azure account to the application.

Returns:

the first stage of the assignToApp call

assignToApp

public OperationStatus assignToApp(UUID appId, AssignToAppOptionalParameter assignToAppOptionalParameter)

apps - Assign a LUIS Azure account to an application. Assigns an Azure account to the application.

Parameters:

appId - The application ID.
assignToAppOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the OperationStatus object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
ErrorResponseException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

assignToAppAsync

public Observable assignToAppAsync(UUID appId, AssignToAppOptionalParameter assignToAppOptionalParameter)

apps - Assign a LUIS Azure account to an application. Assigns an Azure account to the application.

Parameters:

appId - The application ID.
assignToAppOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the observable to the OperationStatus object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAssigned

public AzureAccountsGetAssignedDefinitionStages.WithAppId getAssigned()

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.

Returns:

the first stage of the getAssigned call

getAssigned

public List getAssigned(UUID appId, GetAssignedOptionalParameter getAssignedOptionalParameter)

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.

Parameters:

appId - The application ID.
getAssignedOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the List<AzureAccountInfoObject> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
ErrorResponseException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getAssignedAsync

public Observable> getAssignedAsync(UUID appId, GetAssignedOptionalParameter getAssignedOptionalParameter)

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.

Parameters:

appId - The application ID.
getAssignedOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the observable to the List<AzureAccountInfoObject> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listUserLUISAccounts

public AzureAccountsListUserLUISAccountsDefinitionStages.WithExecute listUserLUISAccounts()

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

Returns:

the first stage of the listUserLUISAccounts call

listUserLUISAccounts

public List listUserLUISAccounts(ListUserLUISAccountsOptionalParameter listUserLUISAccountsOptionalParameter)

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

Parameters:

listUserLUISAccountsOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the List<AzureAccountInfoObject> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
ErrorResponseException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listUserLUISAccountsAsync

public Observable> listUserLUISAccountsAsync(ListUserLUISAccountsOptionalParameter listUserLUISAccountsOptionalParameter)

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

Parameters:

listUserLUISAccountsOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the observable to the List<AzureAccountInfoObject> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

removeFromApp

public AzureAccountsRemoveFromAppDefinitionStages.WithAppId removeFromApp()

apps - Removes an assigned LUIS Azure account from an application. Removes assigned Azure account from the application.

Returns:

the first stage of the removeFromApp call

removeFromApp

public OperationStatus removeFromApp(UUID appId, RemoveFromAppOptionalParameter removeFromAppOptionalParameter)

apps - Removes an assigned LUIS Azure account from an application. Removes assigned Azure account from the application.

Parameters:

appId - The application ID.
removeFromAppOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the OperationStatus object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
ErrorResponseException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

removeFromAppAsync

public Observable removeFromAppAsync(UUID appId, RemoveFromAppOptionalParameter removeFromAppOptionalParameter)

apps - Removes an assigned LUIS Azure account from an application. Removes assigned Azure account from the application.

Parameters:

appId - The application ID.
removeFromAppOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the observable to the OperationStatus object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to