Projects class

Class representing a Projects.

Constructors

Projects(MLTeamAccountManagementClientContext)

Create a Projects.

Methods

createOrUpdate(string, string, string, string, Project, RequestOptionsBase)

Creates or updates a project with the specified parameters.

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

Deletes a project.

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

Gets the properties of the specified machine learning project.

get(string, string, string, string, RequestOptionsBase, ServiceCallback<Project>)
get(string, string, string, string, ServiceCallback<Project>)
listByWorkspace(string, string, string, RequestOptionsBase)

Lists all the available machine learning projects under the specified workspace.

listByWorkspace(string, string, string, RequestOptionsBase, ServiceCallback<ProjectListResult>)
listByWorkspace(string, string, string, ServiceCallback<ProjectListResult>)
listByWorkspaceNext(string, RequestOptionsBase)

Lists all the available machine learning projects under the specified workspace.

listByWorkspaceNext(string, RequestOptionsBase, ServiceCallback<ProjectListResult>)
listByWorkspaceNext(string, ServiceCallback<ProjectListResult>)
update(string, string, string, string, ProjectUpdateParameters, RequestOptionsBase)

Updates a project with the specified parameters.

update(string, string, string, string, ProjectUpdateParameters, RequestOptionsBase, ServiceCallback<Project>)
update(string, string, string, string, ProjectUpdateParameters, ServiceCallback<Project>)

Constructor Details

Projects(MLTeamAccountManagementClientContext)

Create a Projects.

new Projects(client: MLTeamAccountManagementClientContext)

Parameters

client
MLTeamAccountManagementClientContext

Reference to the service client.

Method Details

createOrUpdate(string, string, string, string, Project, RequestOptionsBase)

Creates or updates a project with the specified parameters.

function createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Project, options?: RequestOptionsBase): Promise<ProjectsCreateOrUpdateResponse>

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.

projectName

string

The name of the machine learning project under a team account workspace.

parameters
Project

The parameters for creating or updating a project.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ProjectsCreateOrUpdateResponse>

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

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

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.

projectName

string

The name of the machine learning project under a team account workspace.

parameters
Project

The parameters for creating or updating a project.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Project>

The callback

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

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

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.

projectName

string

The name of the machine learning project under a team account workspace.

parameters
Project

The parameters for creating or updating a project.

callback

ServiceCallback<Project>

The callback

deleteMethod(string, string, string, string, RequestOptionsBase)

Deletes a project.

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

projectName

string

The name of the machine learning project under a team account workspace.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

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

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

projectName

string

The name of the machine learning project under a team account workspace.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

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

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

projectName

string

The name of the machine learning project under a team account workspace.

callback

ServiceCallback<void>

The callback

get(string, string, string, string, RequestOptionsBase)

Gets the properties of the specified machine learning project.

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

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.

projectName

string

The name of the machine learning project under a team account workspace.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ProjectsGetResponse>

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

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

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.

projectName

string

The name of the machine learning project under a team account workspace.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Project>

The callback

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

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

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.

projectName

string

The name of the machine learning project under a team account workspace.

callback

ServiceCallback<Project>

The callback

listByWorkspace(string, string, string, RequestOptionsBase)

Lists all the available machine learning projects under the specified workspace.

function listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options?: RequestOptionsBase): Promise<ProjectsListByWorkspaceResponse>

Parameters

accountName

string

The name of the machine learning team account.

workspaceName

string

The name of the machine learning team account workspace.

resourceGroupName

string

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

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ProjectsListByWorkspaceResponse>

listByWorkspace(string, string, string, RequestOptionsBase, ServiceCallback<ProjectListResult>)

function listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectListResult>)

Parameters

accountName

string

The name of the machine learning team account.

workspaceName

string

The name of the machine learning team account workspace.

resourceGroupName

string

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

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ProjectListResult>

The callback

listByWorkspace(string, string, string, ServiceCallback<ProjectListResult>)

function listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, callback: ServiceCallback<ProjectListResult>)

Parameters

accountName

string

The name of the machine learning team account.

workspaceName

string

The name of the machine learning team account workspace.

resourceGroupName

string

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

callback

ServiceCallback<ProjectListResult>

The callback

listByWorkspaceNext(string, RequestOptionsBase)

Lists all the available machine learning projects under the specified workspace.

function listByWorkspaceNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ProjectsListByWorkspaceNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ProjectsListByWorkspaceNextResponse>

listByWorkspaceNext(string, RequestOptionsBase, ServiceCallback<ProjectListResult>)

function listByWorkspaceNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ProjectListResult>

The callback

listByWorkspaceNext(string, ServiceCallback<ProjectListResult>)

function listByWorkspaceNext(nextPageLink: string, callback: ServiceCallback<ProjectListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<ProjectListResult>

The callback

update(string, string, string, string, ProjectUpdateParameters, RequestOptionsBase)

Updates a project with the specified parameters.

function update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: ProjectUpdateParameters, options?: RequestOptionsBase): Promise<ProjectsUpdateResponse>

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.

projectName

string

The name of the machine learning project under a team account workspace.

parameters
ProjectUpdateParameters

The parameters for updating a machine learning team account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ProjectsUpdateResponse>

update(string, string, string, string, ProjectUpdateParameters, RequestOptionsBase, ServiceCallback<Project>)

function update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: ProjectUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Project>)

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.

projectName

string

The name of the machine learning project under a team account workspace.

parameters
ProjectUpdateParameters

The parameters for updating a machine learning team account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Project>

The callback

update(string, string, string, string, ProjectUpdateParameters, ServiceCallback<Project>)

function update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: ProjectUpdateParameters, callback: ServiceCallback<Project>)

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.

projectName

string

The name of the machine learning project under a team account workspace.

parameters
ProjectUpdateParameters

The parameters for updating a machine learning team account.

callback

ServiceCallback<Project>

The callback