Projects class
Class representing a Projects.
Constructors
Projects(MLTeam |
Create a Projects. |
Methods
Constructor Details
Projects(MLTeamAccountManagementClientContext)
Create a Projects.
new Projects(client: MLTeamAccountManagementClientContext)
Parameters
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<ProjectsCreateOrUpdateResponse>
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
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
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<ProjectsGetResponse>
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
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
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<ProjectsListByWorkspaceResponse>
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
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
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<ProjectsListByWorkspaceNextResponse>
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
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
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<ProjectsUpdateResponse>
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
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
The callback