@azure/arm-machinelearningexperimentation 0.1.0 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +75 -73
- package/dist/index.js +1780 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/accountCreate.d.ts +2 -0
- package/dist-esm/samples-dev/accountCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountCreate.js +33 -0
- package/dist-esm/samples-dev/accountCreate.js.map +1 -0
- package/dist-esm/samples-dev/accountGet.d.ts +2 -0
- package/dist-esm/samples-dev/accountGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountGet.js +31 -0
- package/dist-esm/samples-dev/accountGet.js.map +1 -0
- package/dist-esm/samples-dev/accountUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/accountUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountUpdate.js +35 -0
- package/dist-esm/samples-dev/accountUpdate.js.map +1 -0
- package/dist-esm/samples-dev/createProject.d.ts +2 -0
- package/dist-esm/samples-dev/createProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/createProject.js +39 -0
- package/dist-esm/samples-dev/createProject.js.map +1 -0
- package/dist-esm/samples-dev/getProject.d.ts +2 -0
- package/dist-esm/samples-dev/getProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/getProject.js +33 -0
- package/dist-esm/samples-dev/getProject.js.map +1 -0
- package/dist-esm/samples-dev/listWorkspacesByAccounts.d.ts +2 -0
- package/dist-esm/samples-dev/listWorkspacesByAccounts.d.ts.map +1 -0
- package/dist-esm/samples-dev/listWorkspacesByAccounts.js +45 -0
- package/dist-esm/samples-dev/listWorkspacesByAccounts.js.map +1 -0
- package/dist-esm/samples-dev/projectListByWorkspaces.d.ts +2 -0
- package/dist-esm/samples-dev/projectListByWorkspaces.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectListByWorkspaces.js +46 -0
- package/dist-esm/samples-dev/projectListByWorkspaces.js.map +1 -0
- package/dist-esm/samples-dev/updateProject.d.ts +2 -0
- package/dist-esm/samples-dev/updateProject.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateProject.js +37 -0
- package/dist-esm/samples-dev/updateProject.js.map +1 -0
- package/dist-esm/samples-dev/workspaceCreate.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceCreate.js +37 -0
- package/dist-esm/samples-dev/workspaceCreate.js.map +1 -0
- package/dist-esm/samples-dev/workspaceDelete.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceDelete.js +32 -0
- package/dist-esm/samples-dev/workspaceDelete.js.map +1 -0
- package/dist-esm/samples-dev/workspaceGet.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceGet.js +32 -0
- package/dist-esm/samples-dev/workspaceGet.js.map +1 -0
- package/dist-esm/samples-dev/workspaceUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceUpdate.js +33 -0
- package/dist-esm/samples-dev/workspaceUpdate.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/mLTeamAccountManagementClient.d.ts +21 -0
- package/dist-esm/src/mLTeamAccountManagementClient.d.ts.map +1 -0
- package/dist-esm/src/mLTeamAccountManagementClient.js +54 -0
- package/dist-esm/src/mLTeamAccountManagementClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +329 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +17 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +273 -315
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +18 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +153 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/accounts.d.ts +90 -0
- package/dist-esm/src/operations/accounts.d.ts.map +1 -0
- package/dist-esm/src/operations/accounts.js +366 -0
- package/dist-esm/src/operations/accounts.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/projects.d.ts +86 -0
- package/dist-esm/src/operations/projects.d.ts.map +1 -0
- package/dist-esm/src/operations/projects.js +307 -0
- package/dist-esm/src/operations/projects.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +79 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +280 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts +57 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.js +9 -0
- package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +83 -34
- package/review/arm-machinelearningexperimentation.api.md +339 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/mLTeamAccountManagementClient.ts +91 -0
- package/src/models/index.ts +389 -0
- package/{lib → src}/models/mappers.ts +263 -305
- package/src/models/parameters.ts +181 -0
- package/src/operations/accounts.ts +454 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/operations.ts +98 -0
- package/src/operations/projects.ts +423 -0
- package/src/operations/workspaces.ts +382 -0
- package/src/operationsInterfaces/accounts.ts +96 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/projects.ts +108 -0
- package/src/operationsInterfaces/workspaces.ts +98 -0
- package/tsconfig.json +6 -5
- package/types/arm-machinelearningexperimentation.d.ts +569 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-machinelearningexperimentation.js +0 -1715
- package/dist/arm-machinelearningexperimentation.js.map +0 -1
- package/dist/arm-machinelearningexperimentation.min.js +0 -1
- package/dist/arm-machinelearningexperimentation.min.js.map +0 -1
- package/esm/mLTeamAccountManagementClient.d.ts +0 -21
- package/esm/mLTeamAccountManagementClient.d.ts.map +0 -1
- package/esm/mLTeamAccountManagementClient.js +0 -36
- package/esm/mLTeamAccountManagementClient.js.map +0 -1
- package/esm/mLTeamAccountManagementClientContext.d.ts +0 -16
- package/esm/mLTeamAccountManagementClientContext.d.ts.map +0 -1
- package/esm/mLTeamAccountManagementClientContext.js +0 -56
- package/esm/mLTeamAccountManagementClientContext.js.map +0 -1
- package/esm/models/accountsMappers.d.ts +0 -2
- package/esm/models/accountsMappers.d.ts.map +0 -1
- package/esm/models/accountsMappers.js +0 -11
- package/esm/models/accountsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -770
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -19
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -106
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/projectsMappers.d.ts +0 -2
- package/esm/models/projectsMappers.d.ts.map +0 -1
- package/esm/models/projectsMappers.js +0 -11
- package/esm/models/projectsMappers.js.map +0 -1
- package/esm/models/workspacesMappers.d.ts +0 -2
- package/esm/models/workspacesMappers.d.ts.map +0 -1
- package/esm/models/workspacesMappers.js +0 -11
- package/esm/models/workspacesMappers.js.map +0 -1
- package/esm/operations/accounts.d.ts +0 -187
- package/esm/operations/accounts.d.ts.map +0 -1
- package/esm/operations/accounts.js +0 -272
- package/esm/operations/accounts.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/projects.d.ts +0 -184
- package/esm/operations/projects.d.ts.map +0 -1
- package/esm/operations/projects.js +0 -239
- package/esm/operations/projects.js.map +0 -1
- package/esm/operations/workspaces.d.ts +0 -169
- package/esm/operations/workspaces.d.ts.map +0 -1
- package/esm/operations/workspaces.js +0 -229
- package/esm/operations/workspaces.js.map +0 -1
- package/lib/mLTeamAccountManagementClient.ts +0 -48
- package/lib/mLTeamAccountManagementClientContext.ts +0 -62
- package/lib/models/accountsMappers.ts +0 -22
- package/lib/models/index.ts +0 -809
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -108
- package/lib/models/projectsMappers.ts +0 -22
- package/lib/models/workspacesMappers.ts +0 -22
- package/lib/operations/accounts.ts +0 -494
- package/lib/operations/operations.ts +0 -74
- package/lib/operations/projects.ts +0 -448
- package/lib/operations/workspaces.ts +0 -423
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Models from "../models";
|
|
13
|
-
import * as Mappers from "../models/operationsMappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { MLTeamAccountManagementClientContext } from "../mLTeamAccountManagementClientContext";
|
|
16
|
-
|
|
17
|
-
/** Class representing a Operations. */
|
|
18
|
-
export class Operations {
|
|
19
|
-
private readonly client: MLTeamAccountManagementClientContext;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Create a Operations.
|
|
23
|
-
* @param {MLTeamAccountManagementClientContext} client Reference to the service client.
|
|
24
|
-
*/
|
|
25
|
-
constructor(client: MLTeamAccountManagementClientContext) {
|
|
26
|
-
this.client = client;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Lists all of the available Azure Machine Learning Team Accounts REST API operations.
|
|
31
|
-
* @param [options] The optional parameters
|
|
32
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
33
|
-
*/
|
|
34
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
35
|
-
/**
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param options The optional parameters
|
|
41
|
-
* @param callback The callback
|
|
42
|
-
*/
|
|
43
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
44
|
-
list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OperationListResult>, callback?: msRest.ServiceCallback<Models.OperationListResult>): Promise<Models.OperationsListResponse> {
|
|
45
|
-
return this.client.sendOperationRequest(
|
|
46
|
-
{
|
|
47
|
-
options
|
|
48
|
-
},
|
|
49
|
-
listOperationSpec,
|
|
50
|
-
callback) as Promise<Models.OperationsListResponse>;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Operation Specifications
|
|
55
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
56
|
-
const listOperationSpec: msRest.OperationSpec = {
|
|
57
|
-
httpMethod: "GET",
|
|
58
|
-
path: "providers/Microsoft.MachineLearningExperimentation/operations",
|
|
59
|
-
queryParameters: [
|
|
60
|
-
Parameters.apiVersion
|
|
61
|
-
],
|
|
62
|
-
headerParameters: [
|
|
63
|
-
Parameters.acceptLanguage
|
|
64
|
-
],
|
|
65
|
-
responses: {
|
|
66
|
-
200: {
|
|
67
|
-
bodyMapper: Mappers.OperationListResult
|
|
68
|
-
},
|
|
69
|
-
default: {
|
|
70
|
-
bodyMapper: Mappers.ErrorResponse
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
serializer
|
|
74
|
-
};
|
|
@@ -1,448 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Models from "../models";
|
|
13
|
-
import * as Mappers from "../models/projectsMappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { MLTeamAccountManagementClientContext } from "../mLTeamAccountManagementClientContext";
|
|
16
|
-
|
|
17
|
-
/** Class representing a Projects. */
|
|
18
|
-
export class Projects {
|
|
19
|
-
private readonly client: MLTeamAccountManagementClientContext;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Create a Projects.
|
|
23
|
-
* @param {MLTeamAccountManagementClientContext} client Reference to the service client.
|
|
24
|
-
*/
|
|
25
|
-
constructor(client: MLTeamAccountManagementClientContext) {
|
|
26
|
-
this.client = client;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Gets the properties of the specified machine learning project.
|
|
31
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
32
|
-
* account belongs.
|
|
33
|
-
* @param accountName The name of the machine learning team account.
|
|
34
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
35
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
36
|
-
* @param [options] The optional parameters
|
|
37
|
-
* @returns Promise<Models.ProjectsGetResponse>
|
|
38
|
-
*/
|
|
39
|
-
get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsGetResponse>;
|
|
40
|
-
/**
|
|
41
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
42
|
-
* account belongs.
|
|
43
|
-
* @param accountName The name of the machine learning team account.
|
|
44
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
45
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
46
|
-
* @param callback The callback
|
|
47
|
-
*/
|
|
48
|
-
get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, callback: msRest.ServiceCallback<Models.Project>): void;
|
|
49
|
-
/**
|
|
50
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
51
|
-
* account belongs.
|
|
52
|
-
* @param accountName The name of the machine learning team account.
|
|
53
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
54
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
55
|
-
* @param options The optional parameters
|
|
56
|
-
* @param callback The callback
|
|
57
|
-
*/
|
|
58
|
-
get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
|
|
59
|
-
get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Project>, callback?: msRest.ServiceCallback<Models.Project>): Promise<Models.ProjectsGetResponse> {
|
|
60
|
-
return this.client.sendOperationRequest(
|
|
61
|
-
{
|
|
62
|
-
resourceGroupName,
|
|
63
|
-
accountName,
|
|
64
|
-
workspaceName,
|
|
65
|
-
projectName,
|
|
66
|
-
options
|
|
67
|
-
},
|
|
68
|
-
getOperationSpec,
|
|
69
|
-
callback) as Promise<Models.ProjectsGetResponse>;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Creates or updates a project with the specified parameters.
|
|
74
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
75
|
-
* account belongs.
|
|
76
|
-
* @param accountName The name of the machine learning team account.
|
|
77
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
78
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
79
|
-
* @param parameters The parameters for creating or updating a project.
|
|
80
|
-
* @param [options] The optional parameters
|
|
81
|
-
* @returns Promise<Models.ProjectsCreateOrUpdateResponse>
|
|
82
|
-
*/
|
|
83
|
-
createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsCreateOrUpdateResponse>;
|
|
84
|
-
/**
|
|
85
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
86
|
-
* account belongs.
|
|
87
|
-
* @param accountName The name of the machine learning team account.
|
|
88
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
89
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
90
|
-
* @param parameters The parameters for creating or updating a project.
|
|
91
|
-
* @param callback The callback
|
|
92
|
-
*/
|
|
93
|
-
createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, callback: msRest.ServiceCallback<Models.Project>): void;
|
|
94
|
-
/**
|
|
95
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
96
|
-
* account belongs.
|
|
97
|
-
* @param accountName The name of the machine learning team account.
|
|
98
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
99
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
100
|
-
* @param parameters The parameters for creating or updating a project.
|
|
101
|
-
* @param options The optional parameters
|
|
102
|
-
* @param callback The callback
|
|
103
|
-
*/
|
|
104
|
-
createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
|
|
105
|
-
createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.Project, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Project>, callback?: msRest.ServiceCallback<Models.Project>): Promise<Models.ProjectsCreateOrUpdateResponse> {
|
|
106
|
-
return this.client.sendOperationRequest(
|
|
107
|
-
{
|
|
108
|
-
resourceGroupName,
|
|
109
|
-
accountName,
|
|
110
|
-
workspaceName,
|
|
111
|
-
projectName,
|
|
112
|
-
parameters,
|
|
113
|
-
options
|
|
114
|
-
},
|
|
115
|
-
createOrUpdateOperationSpec,
|
|
116
|
-
callback) as Promise<Models.ProjectsCreateOrUpdateResponse>;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Deletes a project.
|
|
121
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
122
|
-
* account belongs.
|
|
123
|
-
* @param accountName The name of the machine learning team account.
|
|
124
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
125
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
126
|
-
* @param [options] The optional parameters
|
|
127
|
-
* @returns Promise<msRest.RestResponse>
|
|
128
|
-
*/
|
|
129
|
-
deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
130
|
-
/**
|
|
131
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
132
|
-
* account belongs.
|
|
133
|
-
* @param accountName The name of the machine learning team account.
|
|
134
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
135
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
136
|
-
* @param callback The callback
|
|
137
|
-
*/
|
|
138
|
-
deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, callback: msRest.ServiceCallback<void>): void;
|
|
139
|
-
/**
|
|
140
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
141
|
-
* account belongs.
|
|
142
|
-
* @param accountName The name of the machine learning team account.
|
|
143
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
144
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
145
|
-
* @param options The optional parameters
|
|
146
|
-
* @param callback The callback
|
|
147
|
-
*/
|
|
148
|
-
deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
149
|
-
deleteMethod(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
150
|
-
return this.client.sendOperationRequest(
|
|
151
|
-
{
|
|
152
|
-
resourceGroupName,
|
|
153
|
-
accountName,
|
|
154
|
-
workspaceName,
|
|
155
|
-
projectName,
|
|
156
|
-
options
|
|
157
|
-
},
|
|
158
|
-
deleteMethodOperationSpec,
|
|
159
|
-
callback);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Updates a project with the specified parameters.
|
|
164
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
165
|
-
* account belongs.
|
|
166
|
-
* @param accountName The name of the machine learning team account.
|
|
167
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
168
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
169
|
-
* @param parameters The parameters for updating a machine learning team account.
|
|
170
|
-
* @param [options] The optional parameters
|
|
171
|
-
* @returns Promise<Models.ProjectsUpdateResponse>
|
|
172
|
-
*/
|
|
173
|
-
update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsUpdateResponse>;
|
|
174
|
-
/**
|
|
175
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
176
|
-
* account belongs.
|
|
177
|
-
* @param accountName The name of the machine learning team account.
|
|
178
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
179
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
180
|
-
* @param parameters The parameters for updating a machine learning team account.
|
|
181
|
-
* @param callback The callback
|
|
182
|
-
*/
|
|
183
|
-
update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, callback: msRest.ServiceCallback<Models.Project>): void;
|
|
184
|
-
/**
|
|
185
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
186
|
-
* account belongs.
|
|
187
|
-
* @param accountName The name of the machine learning team account.
|
|
188
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
189
|
-
* @param projectName The name of the machine learning project under a team account workspace.
|
|
190
|
-
* @param parameters The parameters for updating a machine learning team account.
|
|
191
|
-
* @param options The optional parameters
|
|
192
|
-
* @param callback The callback
|
|
193
|
-
*/
|
|
194
|
-
update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
|
|
195
|
-
update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Models.ProjectUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Project>, callback?: msRest.ServiceCallback<Models.Project>): Promise<Models.ProjectsUpdateResponse> {
|
|
196
|
-
return this.client.sendOperationRequest(
|
|
197
|
-
{
|
|
198
|
-
resourceGroupName,
|
|
199
|
-
accountName,
|
|
200
|
-
workspaceName,
|
|
201
|
-
projectName,
|
|
202
|
-
parameters,
|
|
203
|
-
options
|
|
204
|
-
},
|
|
205
|
-
updateOperationSpec,
|
|
206
|
-
callback) as Promise<Models.ProjectsUpdateResponse>;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Lists all the available machine learning projects under the specified workspace.
|
|
211
|
-
* @param accountName The name of the machine learning team account.
|
|
212
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
213
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
214
|
-
* account belongs.
|
|
215
|
-
* @param [options] The optional parameters
|
|
216
|
-
* @returns Promise<Models.ProjectsListByWorkspaceResponse>
|
|
217
|
-
*/
|
|
218
|
-
listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsListByWorkspaceResponse>;
|
|
219
|
-
/**
|
|
220
|
-
* @param accountName The name of the machine learning team account.
|
|
221
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
222
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
223
|
-
* account belongs.
|
|
224
|
-
* @param callback The callback
|
|
225
|
-
*/
|
|
226
|
-
listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, callback: msRest.ServiceCallback<Models.ProjectListResult>): void;
|
|
227
|
-
/**
|
|
228
|
-
* @param accountName The name of the machine learning team account.
|
|
229
|
-
* @param workspaceName The name of the machine learning team account workspace.
|
|
230
|
-
* @param resourceGroupName The name of the resource group to which the machine learning team
|
|
231
|
-
* account belongs.
|
|
232
|
-
* @param options The optional parameters
|
|
233
|
-
* @param callback The callback
|
|
234
|
-
*/
|
|
235
|
-
listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectListResult>): void;
|
|
236
|
-
listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProjectListResult>, callback?: msRest.ServiceCallback<Models.ProjectListResult>): Promise<Models.ProjectsListByWorkspaceResponse> {
|
|
237
|
-
return this.client.sendOperationRequest(
|
|
238
|
-
{
|
|
239
|
-
accountName,
|
|
240
|
-
workspaceName,
|
|
241
|
-
resourceGroupName,
|
|
242
|
-
options
|
|
243
|
-
},
|
|
244
|
-
listByWorkspaceOperationSpec,
|
|
245
|
-
callback) as Promise<Models.ProjectsListByWorkspaceResponse>;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Lists all the available machine learning projects under the specified workspace.
|
|
250
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
251
|
-
* @param [options] The optional parameters
|
|
252
|
-
* @returns Promise<Models.ProjectsListByWorkspaceNextResponse>
|
|
253
|
-
*/
|
|
254
|
-
listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsListByWorkspaceNextResponse>;
|
|
255
|
-
/**
|
|
256
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
257
|
-
* @param callback The callback
|
|
258
|
-
*/
|
|
259
|
-
listByWorkspaceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ProjectListResult>): void;
|
|
260
|
-
/**
|
|
261
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
262
|
-
* @param options The optional parameters
|
|
263
|
-
* @param callback The callback
|
|
264
|
-
*/
|
|
265
|
-
listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectListResult>): void;
|
|
266
|
-
listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProjectListResult>, callback?: msRest.ServiceCallback<Models.ProjectListResult>): Promise<Models.ProjectsListByWorkspaceNextResponse> {
|
|
267
|
-
return this.client.sendOperationRequest(
|
|
268
|
-
{
|
|
269
|
-
nextPageLink,
|
|
270
|
-
options
|
|
271
|
-
},
|
|
272
|
-
listByWorkspaceNextOperationSpec,
|
|
273
|
-
callback) as Promise<Models.ProjectsListByWorkspaceNextResponse>;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
// Operation Specifications
|
|
278
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
279
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
280
|
-
httpMethod: "GET",
|
|
281
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
282
|
-
urlParameters: [
|
|
283
|
-
Parameters.subscriptionId,
|
|
284
|
-
Parameters.resourceGroupName,
|
|
285
|
-
Parameters.accountName,
|
|
286
|
-
Parameters.workspaceName,
|
|
287
|
-
Parameters.projectName
|
|
288
|
-
],
|
|
289
|
-
queryParameters: [
|
|
290
|
-
Parameters.apiVersion
|
|
291
|
-
],
|
|
292
|
-
headerParameters: [
|
|
293
|
-
Parameters.acceptLanguage
|
|
294
|
-
],
|
|
295
|
-
responses: {
|
|
296
|
-
200: {
|
|
297
|
-
bodyMapper: Mappers.Project
|
|
298
|
-
},
|
|
299
|
-
default: {
|
|
300
|
-
bodyMapper: Mappers.ErrorResponse
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
serializer
|
|
304
|
-
};
|
|
305
|
-
|
|
306
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
307
|
-
httpMethod: "PUT",
|
|
308
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
309
|
-
urlParameters: [
|
|
310
|
-
Parameters.subscriptionId,
|
|
311
|
-
Parameters.resourceGroupName,
|
|
312
|
-
Parameters.accountName,
|
|
313
|
-
Parameters.workspaceName,
|
|
314
|
-
Parameters.projectName
|
|
315
|
-
],
|
|
316
|
-
queryParameters: [
|
|
317
|
-
Parameters.apiVersion
|
|
318
|
-
],
|
|
319
|
-
headerParameters: [
|
|
320
|
-
Parameters.acceptLanguage
|
|
321
|
-
],
|
|
322
|
-
requestBody: {
|
|
323
|
-
parameterPath: "parameters",
|
|
324
|
-
mapper: {
|
|
325
|
-
...Mappers.Project,
|
|
326
|
-
required: true
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
responses: {
|
|
330
|
-
200: {
|
|
331
|
-
bodyMapper: Mappers.Project
|
|
332
|
-
},
|
|
333
|
-
201: {
|
|
334
|
-
bodyMapper: Mappers.Project
|
|
335
|
-
},
|
|
336
|
-
default: {
|
|
337
|
-
bodyMapper: Mappers.ErrorResponse
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
serializer
|
|
341
|
-
};
|
|
342
|
-
|
|
343
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
344
|
-
httpMethod: "DELETE",
|
|
345
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
346
|
-
urlParameters: [
|
|
347
|
-
Parameters.subscriptionId,
|
|
348
|
-
Parameters.resourceGroupName,
|
|
349
|
-
Parameters.accountName,
|
|
350
|
-
Parameters.workspaceName,
|
|
351
|
-
Parameters.projectName
|
|
352
|
-
],
|
|
353
|
-
queryParameters: [
|
|
354
|
-
Parameters.apiVersion
|
|
355
|
-
],
|
|
356
|
-
headerParameters: [
|
|
357
|
-
Parameters.acceptLanguage
|
|
358
|
-
],
|
|
359
|
-
responses: {
|
|
360
|
-
200: {},
|
|
361
|
-
204: {},
|
|
362
|
-
default: {
|
|
363
|
-
bodyMapper: Mappers.ErrorResponse
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
serializer
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
370
|
-
httpMethod: "PATCH",
|
|
371
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
372
|
-
urlParameters: [
|
|
373
|
-
Parameters.subscriptionId,
|
|
374
|
-
Parameters.resourceGroupName,
|
|
375
|
-
Parameters.accountName,
|
|
376
|
-
Parameters.workspaceName,
|
|
377
|
-
Parameters.projectName
|
|
378
|
-
],
|
|
379
|
-
queryParameters: [
|
|
380
|
-
Parameters.apiVersion
|
|
381
|
-
],
|
|
382
|
-
headerParameters: [
|
|
383
|
-
Parameters.acceptLanguage
|
|
384
|
-
],
|
|
385
|
-
requestBody: {
|
|
386
|
-
parameterPath: "parameters",
|
|
387
|
-
mapper: {
|
|
388
|
-
...Mappers.ProjectUpdateParameters,
|
|
389
|
-
required: true
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
responses: {
|
|
393
|
-
200: {
|
|
394
|
-
bodyMapper: Mappers.Project
|
|
395
|
-
},
|
|
396
|
-
default: {
|
|
397
|
-
bodyMapper: Mappers.ErrorResponse
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
serializer
|
|
401
|
-
};
|
|
402
|
-
|
|
403
|
-
const listByWorkspaceOperationSpec: msRest.OperationSpec = {
|
|
404
|
-
httpMethod: "GET",
|
|
405
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces{workspaceName}/projects",
|
|
406
|
-
urlParameters: [
|
|
407
|
-
Parameters.subscriptionId,
|
|
408
|
-
Parameters.accountName,
|
|
409
|
-
Parameters.workspaceName,
|
|
410
|
-
Parameters.resourceGroupName
|
|
411
|
-
],
|
|
412
|
-
queryParameters: [
|
|
413
|
-
Parameters.apiVersion
|
|
414
|
-
],
|
|
415
|
-
headerParameters: [
|
|
416
|
-
Parameters.acceptLanguage
|
|
417
|
-
],
|
|
418
|
-
responses: {
|
|
419
|
-
200: {
|
|
420
|
-
bodyMapper: Mappers.ProjectListResult
|
|
421
|
-
},
|
|
422
|
-
default: {
|
|
423
|
-
bodyMapper: Mappers.ErrorResponse
|
|
424
|
-
}
|
|
425
|
-
},
|
|
426
|
-
serializer
|
|
427
|
-
};
|
|
428
|
-
|
|
429
|
-
const listByWorkspaceNextOperationSpec: msRest.OperationSpec = {
|
|
430
|
-
httpMethod: "GET",
|
|
431
|
-
baseUrl: "https://management.azure.com",
|
|
432
|
-
path: "{nextLink}",
|
|
433
|
-
urlParameters: [
|
|
434
|
-
Parameters.nextPageLink
|
|
435
|
-
],
|
|
436
|
-
headerParameters: [
|
|
437
|
-
Parameters.acceptLanguage
|
|
438
|
-
],
|
|
439
|
-
responses: {
|
|
440
|
-
200: {
|
|
441
|
-
bodyMapper: Mappers.ProjectListResult
|
|
442
|
-
},
|
|
443
|
-
default: {
|
|
444
|
-
bodyMapper: Mappers.ErrorResponse
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
serializer
|
|
448
|
-
};
|