Workspaces class
Class representing a Workspaces.
Constructors
Workspaces(MLTeam |
Create a Workspaces. |
Methods
Constructor Details
Workspaces(MLTeamAccountManagementClientContext)
Create a Workspaces.
new Workspaces(client: MLTeamAccountManagementClientContext)
Parameters
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<WorkspacesCreateOrUpdateResponse>
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
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
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<WorkspacesGetResponse>
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
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
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<WorkspacesListByAccountsResponse>
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
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
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<WorkspacesListByAccountsNextResponse>
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
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
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<WorkspacesUpdateResponse>
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
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
The callback