Accounts class
Class representing a Accounts.
Constructors
Accounts(MLTeam |
Create a Accounts. |
Methods
Constructor Details
Accounts(MLTeamAccountManagementClientContext)
Create a Accounts.
new Accounts(client: MLTeamAccountManagementClientContext)
Parameters
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<AccountsCreateOrUpdateResponse>
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
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
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<AccountsGetResponse>
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
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
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<AccountsListResponse>
Promise<Models.AccountsListResponse>
list(RequestOptionsBase, ServiceCallback<AccountListResult>)
function list(options: RequestOptionsBase, callback: ServiceCallback<AccountListResult>)
Parameters
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
list(ServiceCallback<AccountListResult>)
function list(callback: ServiceCallback<AccountListResult>)
Parameters
- callback
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<AccountsListByResourceGroupResponse>
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
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
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
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
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<AccountsListNextResponse>
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
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
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<AccountsUpdateResponse>
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
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
The callback