Workspaces class

Class representing a Workspaces.

Constructors

Workspaces(MLTeamAccountManagementClientContext)

Create a Workspaces.

Methods

createOrUpdate(string, string, string, Workspace, RequestOptionsBase)

Creates or updates a machine learning workspace with the specified parameters.

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

Deletes a machine learning workspace.

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

Gets the properties of the specified machine learning workspace.

get(string, string, string, RequestOptionsBase, ServiceCallback<Workspace>)
get(string, string, string, ServiceCallback<Workspace>)
listByAccounts(string, string, RequestOptionsBase)

Lists all the available machine learning workspaces under the specified team account.

listByAccounts(string, string, RequestOptionsBase, ServiceCallback<WorkspaceListResult>)
listByAccounts(string, string, ServiceCallback<WorkspaceListResult>)
listByAccountsNext(string, RequestOptionsBase)

Lists all the available machine learning workspaces under the specified team account.

listByAccountsNext(string, RequestOptionsBase, ServiceCallback<WorkspaceListResult>)
listByAccountsNext(string, ServiceCallback<WorkspaceListResult>)
update(string, string, string, WorkspaceUpdateParameters, RequestOptionsBase)

Updates a machine learning workspace with the specified parameters.

update(string, string, string, WorkspaceUpdateParameters, RequestOptionsBase, ServiceCallback<Workspace>)
update(string, string, string, WorkspaceUpdateParameters, ServiceCallback<Workspace>)

Constructor Details

Workspaces(MLTeamAccountManagementClientContext)

Create a Workspaces.

new Workspaces(client: MLTeamAccountManagementClientContext)

Parameters

client
MLTeamAccountManagementClientContext

Reference to the service client.

Method Details

createOrUpdate(string, string, string, Workspace, RequestOptionsBase)

Creates or updates a machine learning workspace with the specified parameters.

function createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Workspace, options?: RequestOptionsBase): Promise<WorkspacesCreateOrUpdateResponse>

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.

workspaceName

string

The name of the machine learning team account workspace.

parameters
Workspace

The parameters for creating or updating a machine learning workspace.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.WorkspacesCreateOrUpdateResponse>

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

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

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.

workspaceName

string

The name of the machine learning team account workspace.

parameters
Workspace

The parameters for creating or updating a machine learning workspace.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Workspace>

The callback

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

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

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.

workspaceName

string

The name of the machine learning team account workspace.

parameters
Workspace

The parameters for creating or updating a machine learning workspace.

callback

ServiceCallback<Workspace>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Deletes a machine learning workspace.

function deleteMethod(resourceGroupName: string, accountName: string, workspaceName: 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.

workspaceName

string

The name of the machine learning team account workspace.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

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

function deleteMethod(resourceGroupName: string, accountName: string, workspaceName: 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.

workspaceName

string

The name of the machine learning team account workspace.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

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

function deleteMethod(resourceGroupName: string, accountName: string, workspaceName: 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.

workspaceName

string

The name of the machine learning team account workspace.

callback

ServiceCallback<void>

The callback

get(string, string, string, RequestOptionsBase)

Gets the properties of the specified machine learning workspace.

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

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.

workspaceName

string

The name of the machine learning team account workspace.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.WorkspacesGetResponse>

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

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

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.

workspaceName

string

The name of the machine learning team account workspace.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Workspace>

The callback

get(string, string, string, ServiceCallback<Workspace>)

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

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.

workspaceName

string

The name of the machine learning team account workspace.

callback

ServiceCallback<Workspace>

The callback

listByAccounts(string, string, RequestOptionsBase)

Lists all the available machine learning workspaces under the specified team account.

function listByAccounts(accountName: string, resourceGroupName: string, options?: RequestOptionsBase): Promise<WorkspacesListByAccountsResponse>

Parameters

accountName

string

The name of the machine learning team account.

resourceGroupName

string

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

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.WorkspacesListByAccountsResponse>

listByAccounts(string, string, RequestOptionsBase, ServiceCallback<WorkspaceListResult>)

function listByAccounts(accountName: string, resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<WorkspaceListResult>)

Parameters

accountName

string

The name of the machine learning team account.

resourceGroupName

string

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

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<WorkspaceListResult>

The callback

listByAccounts(string, string, ServiceCallback<WorkspaceListResult>)

function listByAccounts(accountName: string, resourceGroupName: string, callback: ServiceCallback<WorkspaceListResult>)

Parameters

accountName

string

The name of the machine learning team account.

resourceGroupName

string

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

callback

ServiceCallback<WorkspaceListResult>

The callback

listByAccountsNext(string, RequestOptionsBase)

Lists all the available machine learning workspaces under the specified team account.

function listByAccountsNext(nextPageLink: string, options?: RequestOptionsBase): Promise<WorkspacesListByAccountsNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.WorkspacesListByAccountsNextResponse>

listByAccountsNext(string, RequestOptionsBase, ServiceCallback<WorkspaceListResult>)

function listByAccountsNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<WorkspaceListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<WorkspaceListResult>

The callback

listByAccountsNext(string, ServiceCallback<WorkspaceListResult>)

function listByAccountsNext(nextPageLink: string, callback: ServiceCallback<WorkspaceListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<WorkspaceListResult>

The callback

update(string, string, string, WorkspaceUpdateParameters, RequestOptionsBase)

Updates a machine learning workspace with the specified parameters.

function update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: RequestOptionsBase): Promise<WorkspacesUpdateResponse>

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.

workspaceName

string

The name of the machine learning team account workspace.

parameters
WorkspaceUpdateParameters

The parameters for updating a machine learning workspace.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.WorkspacesUpdateResponse>

update(string, string, string, WorkspaceUpdateParameters, RequestOptionsBase, ServiceCallback<Workspace>)

function update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Workspace>)

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.

workspaceName

string

The name of the machine learning team account workspace.

parameters
WorkspaceUpdateParameters

The parameters for updating a machine learning workspace.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Workspace>

The callback

update(string, string, string, WorkspaceUpdateParameters, ServiceCallback<Workspace>)

function update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, callback: ServiceCallback<Workspace>)

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.

workspaceName

string

The name of the machine learning team account workspace.

parameters
WorkspaceUpdateParameters

The parameters for updating a machine learning workspace.

callback

ServiceCallback<Workspace>

The callback