Accounts class

Class representing a Accounts.

Constructors

Accounts(MLTeamAccountManagementClientContext)

Create a Accounts.

Methods

createOrUpdate(string, string, Account, RequestOptionsBase)

Creates or updates a team account with the specified parameters.

createOrUpdate(string, string, Account, RequestOptionsBase, ServiceCallback<Account>)
createOrUpdate(string, string, Account, ServiceCallback<Account>)
deleteMethod(string, string, RequestOptionsBase)

Deletes a machine learning team account.

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, ServiceCallback<void>)
get(string, string, RequestOptionsBase)

Gets the properties of the specified machine learning team account.

get(string, string, RequestOptionsBase, ServiceCallback<Account>)
get(string, string, ServiceCallback<Account>)
list(RequestOptionsBase)

Lists all the available machine learning team accounts under the specified subscription.

list(RequestOptionsBase, ServiceCallback<AccountListResult>)
list(ServiceCallback<AccountListResult>)
listByResourceGroup(string, RequestOptionsBase)

Lists all the available machine learning team accounts under the specified resource group.

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<AccountListResult>)
listByResourceGroup(string, ServiceCallback<AccountListResult>)
listByResourceGroupNext(string, RequestOptionsBase)

Lists all the available machine learning team accounts under the specified resource group.

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<AccountListResult>)
listByResourceGroupNext(string, ServiceCallback<AccountListResult>)
listNext(string, RequestOptionsBase)

Lists all the available machine learning team accounts under the specified subscription.

listNext(string, RequestOptionsBase, ServiceCallback<AccountListResult>)
listNext(string, ServiceCallback<AccountListResult>)
update(string, string, AccountUpdateParameters, RequestOptionsBase)

Updates a machine learning team account with the specified parameters.

update(string, string, AccountUpdateParameters, RequestOptionsBase, ServiceCallback<Account>)
update(string, string, AccountUpdateParameters, ServiceCallback<Account>)

Constructor Details

Accounts(MLTeamAccountManagementClientContext)

Create a Accounts.

new Accounts(client: MLTeamAccountManagementClientContext)

Parameters

client
MLTeamAccountManagementClientContext

Reference to the service client.

Method Details

createOrUpdate(string, string, Account, RequestOptionsBase)

Creates or updates a team account with the specified parameters.

function createOrUpdate(resourceGroupName: string, accountName: string, parameters: Account, options?: RequestOptionsBase): Promise<AccountsCreateOrUpdateResponse>

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

parameters
Account

The parameters for creating or updating a machine learning team account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AccountsCreateOrUpdateResponse>

createOrUpdate(string, string, Account, RequestOptionsBase, ServiceCallback<Account>)

function createOrUpdate(resourceGroupName: string, accountName: string, parameters: Account, options: RequestOptionsBase, callback: ServiceCallback<Account>)

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

parameters
Account

The parameters for creating or updating a machine learning team account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Account>

The callback

createOrUpdate(string, string, Account, ServiceCallback<Account>)

function createOrUpdate(resourceGroupName: string, accountName: string, parameters: Account, callback: ServiceCallback<Account>)

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

parameters
Account

The parameters for creating or updating a machine learning team account.

callback

ServiceCallback<Account>

The callback

deleteMethod(string, string, RequestOptionsBase)

Deletes a machine learning team account.

function deleteMethod(resourceGroupName: string, accountName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, accountName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, accountName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

callback

ServiceCallback<void>

The callback

get(string, string, RequestOptionsBase)

Gets the properties of the specified machine learning team account.

function get(resourceGroupName: string, accountName: string, options?: RequestOptionsBase): Promise<AccountsGetResponse>

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AccountsGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<Account>)

function get(resourceGroupName: string, accountName: string, options: RequestOptionsBase, callback: ServiceCallback<Account>)

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Account>

The callback

get(string, string, ServiceCallback<Account>)

function get(resourceGroupName: string, accountName: string, callback: ServiceCallback<Account>)

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

callback

ServiceCallback<Account>

The callback

list(RequestOptionsBase)

Lists all the available machine learning team accounts under the specified subscription.

function list(options?: RequestOptionsBase): Promise<AccountsListResponse>

Parameters

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AccountsListResponse>

list(RequestOptionsBase, ServiceCallback<AccountListResult>)

function list(options: RequestOptionsBase, callback: ServiceCallback<AccountListResult>)

Parameters

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<AccountListResult>

The callback

list(ServiceCallback<AccountListResult>)

function list(callback: ServiceCallback<AccountListResult>)

Parameters

callback

ServiceCallback<AccountListResult>

The callback

listByResourceGroup(string, RequestOptionsBase)

Lists all the available machine learning team accounts under the specified resource group.

function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<AccountsListByResourceGroupResponse>

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AccountsListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<AccountListResult>)

function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<AccountListResult>)

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<AccountListResult>

The callback

listByResourceGroup(string, ServiceCallback<AccountListResult>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<AccountListResult>)

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

callback

ServiceCallback<AccountListResult>

The callback

listByResourceGroupNext(string, RequestOptionsBase)

Lists all the available machine learning team accounts under the specified resource group.

function listByResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<AccountsListByResourceGroupNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AccountsListByResourceGroupNextResponse>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<AccountListResult>)

function listByResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<AccountListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<AccountListResult>

The callback

listByResourceGroupNext(string, ServiceCallback<AccountListResult>)

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<AccountListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<AccountListResult>

The callback

listNext(string, RequestOptionsBase)

Lists all the available machine learning team accounts under the specified subscription.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<AccountsListNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AccountsListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<AccountListResult>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<AccountListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<AccountListResult>

The callback

listNext(string, ServiceCallback<AccountListResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<AccountListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<AccountListResult>

The callback

update(string, string, AccountUpdateParameters, RequestOptionsBase)

Updates a machine learning team account with the specified parameters.

function update(resourceGroupName: string, accountName: string, parameters: AccountUpdateParameters, options?: RequestOptionsBase): Promise<AccountsUpdateResponse>

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

parameters
AccountUpdateParameters

The parameters for updating a machine learning team account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AccountsUpdateResponse>

update(string, string, AccountUpdateParameters, RequestOptionsBase, ServiceCallback<Account>)

function update(resourceGroupName: string, accountName: string, parameters: AccountUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Account>)

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

parameters
AccountUpdateParameters

The parameters for updating a machine learning team account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Account>

The callback

update(string, string, AccountUpdateParameters, ServiceCallback<Account>)

function update(resourceGroupName: string, accountName: string, parameters: AccountUpdateParameters, callback: ServiceCallback<Account>)

Parameters

resourceGroupName

string

The name of the resource group to which the machine learning team account belongs.

accountName

string

The name of the machine learning team account.

parameters
AccountUpdateParameters

The parameters for updating a machine learning team account.

callback

ServiceCallback<Account>

The callback