Workspaces interface
Interface representing a Workspaces.
Methods
create |
Creates or updates a machine learning workspace with the specified parameters. |
delete(string, string, string, Workspaces |
Deletes a machine learning workspace. |
get(string, string, string, Workspaces |
Gets the properties of the specified machine learning workspace. |
list |
Lists all the available machine learning workspaces under the specified team account. |
update(string, string, string, Workspace |
Updates a machine learning workspace with the specified parameters. |
Method Details
createOrUpdate(string, string, string, Workspace, WorkspacesCreateOrUpdateOptionalParams)
Creates or updates a machine learning workspace with the specified parameters.
function createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<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.
The options parameters.
Returns
Promise<Workspace>
delete(string, string, string, WorkspacesDeleteOptionalParams)
Deletes a machine learning workspace.
function delete(resourceGroupName: string, accountName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<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
- WorkspacesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, WorkspacesGetOptionalParams)
Gets the properties of the specified machine learning workspace.
function get(resourceGroupName: string, accountName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<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
- WorkspacesGetOptionalParams
The options parameters.
Returns
Promise<Workspace>
listByAccounts(string, string, WorkspacesListByAccountsOptionalParams)
Lists all the available machine learning workspaces under the specified team account.
function listByAccounts(accountName: string, resourceGroupName: string, options?: WorkspacesListByAccountsOptionalParams): PagedAsyncIterableIterator<Workspace, Workspace[], PageSettings>
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.
The options parameters.
Returns
update(string, string, string, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams)
Updates a machine learning workspace with the specified parameters.
function update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise<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
- WorkspacesUpdateOptionalParams
The options parameters.
Returns
Promise<Workspace>
Azure SDK for JavaScript