@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,1715 +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
|
-
(function (global, factory) {
|
|
11
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
12
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
13
|
-
(factory((global.Azure = global.Azure || {}, global.Azure.ArmMachinelearningexperimentation = {}),global.msRestAzure,global.msRest));
|
|
14
|
-
}(this, (function (exports,msRestAzure,msRest) { 'use strict';
|
|
15
|
-
|
|
16
|
-
/*! *****************************************************************************
|
|
17
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
18
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
19
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
20
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
21
|
-
|
|
22
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
23
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
24
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
25
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
26
|
-
|
|
27
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
28
|
-
and limitations under the License.
|
|
29
|
-
***************************************************************************** */
|
|
30
|
-
/* global Reflect, Promise */
|
|
31
|
-
|
|
32
|
-
var extendStatics = function(d, b) {
|
|
33
|
-
extendStatics = Object.setPrototypeOf ||
|
|
34
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
35
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
36
|
-
return extendStatics(d, b);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
function __extends(d, b) {
|
|
40
|
-
extendStatics(d, b);
|
|
41
|
-
function __() { this.constructor = d; }
|
|
42
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
var __assign = function() {
|
|
46
|
-
__assign = Object.assign || function __assign(t) {
|
|
47
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
48
|
-
s = arguments[i];
|
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
50
|
-
}
|
|
51
|
-
return t;
|
|
52
|
-
};
|
|
53
|
-
return __assign.apply(this, arguments);
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
/*
|
|
57
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
58
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
59
|
-
* license information.
|
|
60
|
-
*
|
|
61
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
62
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
63
|
-
* regenerated.
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
67
|
-
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
/*
|
|
71
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
72
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
73
|
-
* license information.
|
|
74
|
-
*
|
|
75
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
76
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
77
|
-
* regenerated.
|
|
78
|
-
*/
|
|
79
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
80
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
81
|
-
var Resource = {
|
|
82
|
-
serializedName: "Resource",
|
|
83
|
-
type: {
|
|
84
|
-
name: "Composite",
|
|
85
|
-
className: "Resource",
|
|
86
|
-
modelProperties: {
|
|
87
|
-
id: {
|
|
88
|
-
readOnly: true,
|
|
89
|
-
serializedName: "id",
|
|
90
|
-
type: {
|
|
91
|
-
name: "String"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
name: {
|
|
95
|
-
readOnly: true,
|
|
96
|
-
serializedName: "name",
|
|
97
|
-
type: {
|
|
98
|
-
name: "String"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
type: {
|
|
102
|
-
readOnly: true,
|
|
103
|
-
serializedName: "type",
|
|
104
|
-
type: {
|
|
105
|
-
name: "String"
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
location: {
|
|
109
|
-
required: true,
|
|
110
|
-
serializedName: "location",
|
|
111
|
-
type: {
|
|
112
|
-
name: "String"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
tags: {
|
|
116
|
-
serializedName: "tags",
|
|
117
|
-
type: {
|
|
118
|
-
name: "Dictionary",
|
|
119
|
-
value: {
|
|
120
|
-
type: {
|
|
121
|
-
name: "String"
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
var Workspace = {
|
|
130
|
-
serializedName: "Workspace",
|
|
131
|
-
type: {
|
|
132
|
-
name: "Composite",
|
|
133
|
-
className: "Workspace",
|
|
134
|
-
modelProperties: __assign({}, Resource.type.modelProperties, { description: {
|
|
135
|
-
serializedName: "properties.description",
|
|
136
|
-
type: {
|
|
137
|
-
name: "String"
|
|
138
|
-
}
|
|
139
|
-
}, accountId: {
|
|
140
|
-
readOnly: true,
|
|
141
|
-
serializedName: "properties.accountId",
|
|
142
|
-
type: {
|
|
143
|
-
name: "String"
|
|
144
|
-
}
|
|
145
|
-
}, workspaceId: {
|
|
146
|
-
readOnly: true,
|
|
147
|
-
serializedName: "properties.workspaceId",
|
|
148
|
-
type: {
|
|
149
|
-
name: "String"
|
|
150
|
-
}
|
|
151
|
-
}, friendlyName: {
|
|
152
|
-
required: true,
|
|
153
|
-
serializedName: "properties.friendlyName",
|
|
154
|
-
type: {
|
|
155
|
-
name: "String"
|
|
156
|
-
}
|
|
157
|
-
}, creationDate: {
|
|
158
|
-
readOnly: true,
|
|
159
|
-
serializedName: "properties.creationDate",
|
|
160
|
-
type: {
|
|
161
|
-
name: "DateTime"
|
|
162
|
-
}
|
|
163
|
-
}, provisioningState: {
|
|
164
|
-
readOnly: true,
|
|
165
|
-
serializedName: "properties.provisioningState",
|
|
166
|
-
type: {
|
|
167
|
-
name: "Enum",
|
|
168
|
-
allowedValues: [
|
|
169
|
-
"Creating",
|
|
170
|
-
"Succeeded",
|
|
171
|
-
"Updating",
|
|
172
|
-
"Deleting",
|
|
173
|
-
"Failed"
|
|
174
|
-
]
|
|
175
|
-
}
|
|
176
|
-
} })
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
var WorkspaceUpdateParameters = {
|
|
180
|
-
serializedName: "WorkspaceUpdateParameters",
|
|
181
|
-
type: {
|
|
182
|
-
name: "Composite",
|
|
183
|
-
className: "WorkspaceUpdateParameters",
|
|
184
|
-
modelProperties: {
|
|
185
|
-
tags: {
|
|
186
|
-
serializedName: "tags",
|
|
187
|
-
type: {
|
|
188
|
-
name: "Dictionary",
|
|
189
|
-
value: {
|
|
190
|
-
type: {
|
|
191
|
-
name: "String"
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
friendlyName: {
|
|
197
|
-
serializedName: "properties.friendlyName",
|
|
198
|
-
type: {
|
|
199
|
-
name: "String"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
description: {
|
|
203
|
-
serializedName: "properties.description",
|
|
204
|
-
type: {
|
|
205
|
-
name: "String"
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
};
|
|
211
|
-
var Project = {
|
|
212
|
-
serializedName: "Project",
|
|
213
|
-
type: {
|
|
214
|
-
name: "Composite",
|
|
215
|
-
className: "Project",
|
|
216
|
-
modelProperties: __assign({}, Resource.type.modelProperties, { description: {
|
|
217
|
-
serializedName: "properties.description",
|
|
218
|
-
type: {
|
|
219
|
-
name: "String"
|
|
220
|
-
}
|
|
221
|
-
}, accountId: {
|
|
222
|
-
readOnly: true,
|
|
223
|
-
serializedName: "properties.accountId",
|
|
224
|
-
type: {
|
|
225
|
-
name: "String"
|
|
226
|
-
}
|
|
227
|
-
}, workspaceId: {
|
|
228
|
-
readOnly: true,
|
|
229
|
-
serializedName: "properties.workspaceId",
|
|
230
|
-
type: {
|
|
231
|
-
name: "String"
|
|
232
|
-
}
|
|
233
|
-
}, projectId: {
|
|
234
|
-
readOnly: true,
|
|
235
|
-
serializedName: "properties.projectId",
|
|
236
|
-
type: {
|
|
237
|
-
name: "String"
|
|
238
|
-
}
|
|
239
|
-
}, gitrepo: {
|
|
240
|
-
serializedName: "properties.gitrepo",
|
|
241
|
-
type: {
|
|
242
|
-
name: "String"
|
|
243
|
-
}
|
|
244
|
-
}, friendlyName: {
|
|
245
|
-
required: true,
|
|
246
|
-
serializedName: "properties.friendlyName",
|
|
247
|
-
type: {
|
|
248
|
-
name: "String"
|
|
249
|
-
}
|
|
250
|
-
}, creationDate: {
|
|
251
|
-
readOnly: true,
|
|
252
|
-
serializedName: "properties.creationDate",
|
|
253
|
-
type: {
|
|
254
|
-
name: "DateTime"
|
|
255
|
-
}
|
|
256
|
-
}, provisioningState: {
|
|
257
|
-
readOnly: true,
|
|
258
|
-
serializedName: "properties.provisioningState",
|
|
259
|
-
type: {
|
|
260
|
-
name: "Enum",
|
|
261
|
-
allowedValues: [
|
|
262
|
-
"Creating",
|
|
263
|
-
"Succeeded",
|
|
264
|
-
"Updating",
|
|
265
|
-
"Deleting",
|
|
266
|
-
"Failed"
|
|
267
|
-
]
|
|
268
|
-
}
|
|
269
|
-
} })
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
var ProjectUpdateParameters = {
|
|
273
|
-
serializedName: "ProjectUpdateParameters",
|
|
274
|
-
type: {
|
|
275
|
-
name: "Composite",
|
|
276
|
-
className: "ProjectUpdateParameters",
|
|
277
|
-
modelProperties: {
|
|
278
|
-
tags: {
|
|
279
|
-
serializedName: "tags",
|
|
280
|
-
type: {
|
|
281
|
-
name: "Dictionary",
|
|
282
|
-
value: {
|
|
283
|
-
type: {
|
|
284
|
-
name: "String"
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
},
|
|
289
|
-
friendlyName: {
|
|
290
|
-
serializedName: "properties.friendlyName",
|
|
291
|
-
type: {
|
|
292
|
-
name: "String"
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
description: {
|
|
296
|
-
serializedName: "properties.description",
|
|
297
|
-
type: {
|
|
298
|
-
name: "String"
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
gitrepo: {
|
|
302
|
-
serializedName: "properties.gitrepo",
|
|
303
|
-
type: {
|
|
304
|
-
name: "String"
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
var ErrorResponse = {
|
|
311
|
-
serializedName: "ErrorResponse",
|
|
312
|
-
type: {
|
|
313
|
-
name: "Composite",
|
|
314
|
-
className: "ErrorResponse",
|
|
315
|
-
modelProperties: {
|
|
316
|
-
code: {
|
|
317
|
-
required: true,
|
|
318
|
-
serializedName: "code",
|
|
319
|
-
type: {
|
|
320
|
-
name: "String"
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
message: {
|
|
324
|
-
required: true,
|
|
325
|
-
serializedName: "message",
|
|
326
|
-
type: {
|
|
327
|
-
name: "String"
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
};
|
|
333
|
-
var StorageAccountProperties = {
|
|
334
|
-
serializedName: "StorageAccountProperties",
|
|
335
|
-
type: {
|
|
336
|
-
name: "Composite",
|
|
337
|
-
className: "StorageAccountProperties",
|
|
338
|
-
modelProperties: {
|
|
339
|
-
storageAccountId: {
|
|
340
|
-
required: true,
|
|
341
|
-
serializedName: "storageAccountId",
|
|
342
|
-
type: {
|
|
343
|
-
name: "String"
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
|
-
accessKey: {
|
|
347
|
-
required: true,
|
|
348
|
-
serializedName: "accessKey",
|
|
349
|
-
type: {
|
|
350
|
-
name: "String"
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
};
|
|
356
|
-
var Account = {
|
|
357
|
-
serializedName: "Account",
|
|
358
|
-
type: {
|
|
359
|
-
name: "Composite",
|
|
360
|
-
className: "Account",
|
|
361
|
-
modelProperties: __assign({}, Resource.type.modelProperties, { vsoAccountId: {
|
|
362
|
-
required: true,
|
|
363
|
-
serializedName: "properties.vsoAccountId",
|
|
364
|
-
type: {
|
|
365
|
-
name: "String"
|
|
366
|
-
}
|
|
367
|
-
}, accountId: {
|
|
368
|
-
readOnly: true,
|
|
369
|
-
serializedName: "properties.accountId",
|
|
370
|
-
type: {
|
|
371
|
-
name: "String"
|
|
372
|
-
}
|
|
373
|
-
}, description: {
|
|
374
|
-
serializedName: "properties.description",
|
|
375
|
-
type: {
|
|
376
|
-
name: "String"
|
|
377
|
-
}
|
|
378
|
-
}, friendlyName: {
|
|
379
|
-
serializedName: "properties.friendlyName",
|
|
380
|
-
type: {
|
|
381
|
-
name: "String"
|
|
382
|
-
}
|
|
383
|
-
}, keyVaultId: {
|
|
384
|
-
required: true,
|
|
385
|
-
serializedName: "properties.keyVaultId",
|
|
386
|
-
type: {
|
|
387
|
-
name: "String"
|
|
388
|
-
}
|
|
389
|
-
}, seats: {
|
|
390
|
-
serializedName: "properties.seats",
|
|
391
|
-
type: {
|
|
392
|
-
name: "String"
|
|
393
|
-
}
|
|
394
|
-
}, discoveryUri: {
|
|
395
|
-
readOnly: true,
|
|
396
|
-
serializedName: "properties.discoveryUri",
|
|
397
|
-
type: {
|
|
398
|
-
name: "String"
|
|
399
|
-
}
|
|
400
|
-
}, creationDate: {
|
|
401
|
-
readOnly: true,
|
|
402
|
-
serializedName: "properties.creationDate",
|
|
403
|
-
type: {
|
|
404
|
-
name: "DateTime"
|
|
405
|
-
}
|
|
406
|
-
}, storageAccount: {
|
|
407
|
-
required: true,
|
|
408
|
-
serializedName: "properties.storageAccount",
|
|
409
|
-
type: {
|
|
410
|
-
name: "Composite",
|
|
411
|
-
className: "StorageAccountProperties"
|
|
412
|
-
}
|
|
413
|
-
}, provisioningState: {
|
|
414
|
-
readOnly: true,
|
|
415
|
-
serializedName: "properties.provisioningState",
|
|
416
|
-
type: {
|
|
417
|
-
name: "Enum",
|
|
418
|
-
allowedValues: [
|
|
419
|
-
"Creating",
|
|
420
|
-
"Succeeded",
|
|
421
|
-
"Updating",
|
|
422
|
-
"Deleting",
|
|
423
|
-
"Failed"
|
|
424
|
-
]
|
|
425
|
-
}
|
|
426
|
-
} })
|
|
427
|
-
}
|
|
428
|
-
};
|
|
429
|
-
var AccountUpdateParameters = {
|
|
430
|
-
serializedName: "AccountUpdateParameters",
|
|
431
|
-
type: {
|
|
432
|
-
name: "Composite",
|
|
433
|
-
className: "AccountUpdateParameters",
|
|
434
|
-
modelProperties: {
|
|
435
|
-
tags: {
|
|
436
|
-
serializedName: "tags",
|
|
437
|
-
type: {
|
|
438
|
-
name: "Dictionary",
|
|
439
|
-
value: {
|
|
440
|
-
type: {
|
|
441
|
-
name: "String"
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
description: {
|
|
447
|
-
serializedName: "properties.description",
|
|
448
|
-
type: {
|
|
449
|
-
name: "String"
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
friendlyName: {
|
|
453
|
-
serializedName: "properties.friendlyName",
|
|
454
|
-
type: {
|
|
455
|
-
name: "String"
|
|
456
|
-
}
|
|
457
|
-
},
|
|
458
|
-
seats: {
|
|
459
|
-
serializedName: "properties.seats",
|
|
460
|
-
type: {
|
|
461
|
-
name: "String"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
storageAccountKey: {
|
|
465
|
-
serializedName: "properties.storageAccountKey",
|
|
466
|
-
type: {
|
|
467
|
-
name: "String"
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
};
|
|
473
|
-
var OperationDisplay = {
|
|
474
|
-
serializedName: "Operation_display",
|
|
475
|
-
type: {
|
|
476
|
-
name: "Composite",
|
|
477
|
-
className: "OperationDisplay",
|
|
478
|
-
modelProperties: {
|
|
479
|
-
provider: {
|
|
480
|
-
serializedName: "provider",
|
|
481
|
-
type: {
|
|
482
|
-
name: "String"
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
resource: {
|
|
486
|
-
serializedName: "resource",
|
|
487
|
-
type: {
|
|
488
|
-
name: "String"
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
operation: {
|
|
492
|
-
serializedName: "operation",
|
|
493
|
-
type: {
|
|
494
|
-
name: "String"
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
description: {
|
|
498
|
-
serializedName: "description",
|
|
499
|
-
type: {
|
|
500
|
-
name: "String"
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
};
|
|
506
|
-
var Operation = {
|
|
507
|
-
serializedName: "Operation",
|
|
508
|
-
type: {
|
|
509
|
-
name: "Composite",
|
|
510
|
-
className: "Operation",
|
|
511
|
-
modelProperties: {
|
|
512
|
-
name: {
|
|
513
|
-
serializedName: "name",
|
|
514
|
-
type: {
|
|
515
|
-
name: "String"
|
|
516
|
-
}
|
|
517
|
-
},
|
|
518
|
-
display: {
|
|
519
|
-
serializedName: "display",
|
|
520
|
-
type: {
|
|
521
|
-
name: "Composite",
|
|
522
|
-
className: "OperationDisplay"
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
};
|
|
528
|
-
var OperationListResult = {
|
|
529
|
-
serializedName: "OperationListResult",
|
|
530
|
-
type: {
|
|
531
|
-
name: "Composite",
|
|
532
|
-
className: "OperationListResult",
|
|
533
|
-
modelProperties: {
|
|
534
|
-
value: {
|
|
535
|
-
serializedName: "",
|
|
536
|
-
type: {
|
|
537
|
-
name: "Sequence",
|
|
538
|
-
element: {
|
|
539
|
-
type: {
|
|
540
|
-
name: "Composite",
|
|
541
|
-
className: "Operation"
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
};
|
|
549
|
-
var AccountListResult = {
|
|
550
|
-
serializedName: "AccountListResult",
|
|
551
|
-
type: {
|
|
552
|
-
name: "Composite",
|
|
553
|
-
className: "AccountListResult",
|
|
554
|
-
modelProperties: {
|
|
555
|
-
value: {
|
|
556
|
-
serializedName: "",
|
|
557
|
-
type: {
|
|
558
|
-
name: "Sequence",
|
|
559
|
-
element: {
|
|
560
|
-
type: {
|
|
561
|
-
name: "Composite",
|
|
562
|
-
className: "Account"
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
|
-
nextLink: {
|
|
568
|
-
serializedName: "nextLink",
|
|
569
|
-
type: {
|
|
570
|
-
name: "String"
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
};
|
|
576
|
-
var WorkspaceListResult = {
|
|
577
|
-
serializedName: "WorkspaceListResult",
|
|
578
|
-
type: {
|
|
579
|
-
name: "Composite",
|
|
580
|
-
className: "WorkspaceListResult",
|
|
581
|
-
modelProperties: {
|
|
582
|
-
value: {
|
|
583
|
-
serializedName: "",
|
|
584
|
-
type: {
|
|
585
|
-
name: "Sequence",
|
|
586
|
-
element: {
|
|
587
|
-
type: {
|
|
588
|
-
name: "Composite",
|
|
589
|
-
className: "Workspace"
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
nextLink: {
|
|
595
|
-
serializedName: "nextLink",
|
|
596
|
-
type: {
|
|
597
|
-
name: "String"
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
};
|
|
603
|
-
var ProjectListResult = {
|
|
604
|
-
serializedName: "ProjectListResult",
|
|
605
|
-
type: {
|
|
606
|
-
name: "Composite",
|
|
607
|
-
className: "ProjectListResult",
|
|
608
|
-
modelProperties: {
|
|
609
|
-
value: {
|
|
610
|
-
serializedName: "",
|
|
611
|
-
type: {
|
|
612
|
-
name: "Sequence",
|
|
613
|
-
element: {
|
|
614
|
-
type: {
|
|
615
|
-
name: "Composite",
|
|
616
|
-
className: "Project"
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
},
|
|
621
|
-
nextLink: {
|
|
622
|
-
serializedName: "nextLink",
|
|
623
|
-
type: {
|
|
624
|
-
name: "String"
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
};
|
|
630
|
-
|
|
631
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
632
|
-
CloudError: CloudError,
|
|
633
|
-
BaseResource: BaseResource,
|
|
634
|
-
Resource: Resource,
|
|
635
|
-
Workspace: Workspace,
|
|
636
|
-
WorkspaceUpdateParameters: WorkspaceUpdateParameters,
|
|
637
|
-
Project: Project,
|
|
638
|
-
ProjectUpdateParameters: ProjectUpdateParameters,
|
|
639
|
-
ErrorResponse: ErrorResponse,
|
|
640
|
-
StorageAccountProperties: StorageAccountProperties,
|
|
641
|
-
Account: Account,
|
|
642
|
-
AccountUpdateParameters: AccountUpdateParameters,
|
|
643
|
-
OperationDisplay: OperationDisplay,
|
|
644
|
-
Operation: Operation,
|
|
645
|
-
OperationListResult: OperationListResult,
|
|
646
|
-
AccountListResult: AccountListResult,
|
|
647
|
-
WorkspaceListResult: WorkspaceListResult,
|
|
648
|
-
ProjectListResult: ProjectListResult
|
|
649
|
-
});
|
|
650
|
-
|
|
651
|
-
/*
|
|
652
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
653
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
654
|
-
* license information.
|
|
655
|
-
*
|
|
656
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
657
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
658
|
-
* regenerated.
|
|
659
|
-
*/
|
|
660
|
-
|
|
661
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
662
|
-
OperationListResult: OperationListResult,
|
|
663
|
-
Operation: Operation,
|
|
664
|
-
OperationDisplay: OperationDisplay,
|
|
665
|
-
ErrorResponse: ErrorResponse
|
|
666
|
-
});
|
|
667
|
-
|
|
668
|
-
/*
|
|
669
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
670
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
671
|
-
* license information.
|
|
672
|
-
*
|
|
673
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
674
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
675
|
-
* regenerated.
|
|
676
|
-
*/
|
|
677
|
-
var acceptLanguage = {
|
|
678
|
-
parameterPath: "acceptLanguage",
|
|
679
|
-
mapper: {
|
|
680
|
-
serializedName: "accept-language",
|
|
681
|
-
defaultValue: 'en-US',
|
|
682
|
-
type: {
|
|
683
|
-
name: "String"
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
};
|
|
687
|
-
var accountName = {
|
|
688
|
-
parameterPath: "accountName",
|
|
689
|
-
mapper: {
|
|
690
|
-
required: true,
|
|
691
|
-
serializedName: "accountName",
|
|
692
|
-
constraints: {
|
|
693
|
-
MaxLength: 50,
|
|
694
|
-
MinLength: 5,
|
|
695
|
-
Pattern: /^[a-zA-Z0-9]*$/
|
|
696
|
-
},
|
|
697
|
-
type: {
|
|
698
|
-
name: "String"
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
};
|
|
702
|
-
var apiVersion = {
|
|
703
|
-
parameterPath: "apiVersion",
|
|
704
|
-
mapper: {
|
|
705
|
-
required: true,
|
|
706
|
-
serializedName: "api-version",
|
|
707
|
-
type: {
|
|
708
|
-
name: "String"
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
};
|
|
712
|
-
var nextPageLink = {
|
|
713
|
-
parameterPath: "nextPageLink",
|
|
714
|
-
mapper: {
|
|
715
|
-
required: true,
|
|
716
|
-
serializedName: "nextLink",
|
|
717
|
-
type: {
|
|
718
|
-
name: "String"
|
|
719
|
-
}
|
|
720
|
-
},
|
|
721
|
-
skipEncoding: true
|
|
722
|
-
};
|
|
723
|
-
var projectName = {
|
|
724
|
-
parameterPath: "projectName",
|
|
725
|
-
mapper: {
|
|
726
|
-
required: true,
|
|
727
|
-
serializedName: "projectName",
|
|
728
|
-
constraints: {
|
|
729
|
-
MaxLength: 50,
|
|
730
|
-
MinLength: 5,
|
|
731
|
-
Pattern: /^[a-zA-Z0-9]*$/
|
|
732
|
-
},
|
|
733
|
-
type: {
|
|
734
|
-
name: "String"
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
};
|
|
738
|
-
var resourceGroupName = {
|
|
739
|
-
parameterPath: "resourceGroupName",
|
|
740
|
-
mapper: {
|
|
741
|
-
required: true,
|
|
742
|
-
serializedName: "resourceGroupName",
|
|
743
|
-
type: {
|
|
744
|
-
name: "String"
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
};
|
|
748
|
-
var subscriptionId = {
|
|
749
|
-
parameterPath: "subscriptionId",
|
|
750
|
-
mapper: {
|
|
751
|
-
required: true,
|
|
752
|
-
serializedName: "subscriptionId",
|
|
753
|
-
type: {
|
|
754
|
-
name: "String"
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
};
|
|
758
|
-
var workspaceName = {
|
|
759
|
-
parameterPath: "workspaceName",
|
|
760
|
-
mapper: {
|
|
761
|
-
required: true,
|
|
762
|
-
serializedName: "workspaceName",
|
|
763
|
-
constraints: {
|
|
764
|
-
MaxLength: 50,
|
|
765
|
-
MinLength: 5,
|
|
766
|
-
Pattern: /^[a-zA-Z0-9]*$/
|
|
767
|
-
},
|
|
768
|
-
type: {
|
|
769
|
-
name: "String"
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
};
|
|
773
|
-
|
|
774
|
-
/*
|
|
775
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
776
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
777
|
-
* license information.
|
|
778
|
-
*
|
|
779
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
780
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
781
|
-
* regenerated.
|
|
782
|
-
*/
|
|
783
|
-
/** Class representing a Operations. */
|
|
784
|
-
var Operations = /** @class */ (function () {
|
|
785
|
-
/**
|
|
786
|
-
* Create a Operations.
|
|
787
|
-
* @param {MLTeamAccountManagementClientContext} client Reference to the service client.
|
|
788
|
-
*/
|
|
789
|
-
function Operations(client) {
|
|
790
|
-
this.client = client;
|
|
791
|
-
}
|
|
792
|
-
Operations.prototype.list = function (options, callback) {
|
|
793
|
-
return this.client.sendOperationRequest({
|
|
794
|
-
options: options
|
|
795
|
-
}, listOperationSpec, callback);
|
|
796
|
-
};
|
|
797
|
-
return Operations;
|
|
798
|
-
}());
|
|
799
|
-
// Operation Specifications
|
|
800
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
801
|
-
var listOperationSpec = {
|
|
802
|
-
httpMethod: "GET",
|
|
803
|
-
path: "providers/Microsoft.MachineLearningExperimentation/operations",
|
|
804
|
-
queryParameters: [
|
|
805
|
-
apiVersion
|
|
806
|
-
],
|
|
807
|
-
headerParameters: [
|
|
808
|
-
acceptLanguage
|
|
809
|
-
],
|
|
810
|
-
responses: {
|
|
811
|
-
200: {
|
|
812
|
-
bodyMapper: OperationListResult
|
|
813
|
-
},
|
|
814
|
-
default: {
|
|
815
|
-
bodyMapper: ErrorResponse
|
|
816
|
-
}
|
|
817
|
-
},
|
|
818
|
-
serializer: serializer
|
|
819
|
-
};
|
|
820
|
-
|
|
821
|
-
/*
|
|
822
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
823
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
824
|
-
* license information.
|
|
825
|
-
*
|
|
826
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
827
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
828
|
-
* regenerated.
|
|
829
|
-
*/
|
|
830
|
-
|
|
831
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
832
|
-
Account: Account,
|
|
833
|
-
Resource: Resource,
|
|
834
|
-
BaseResource: BaseResource,
|
|
835
|
-
StorageAccountProperties: StorageAccountProperties,
|
|
836
|
-
ErrorResponse: ErrorResponse,
|
|
837
|
-
AccountUpdateParameters: AccountUpdateParameters,
|
|
838
|
-
AccountListResult: AccountListResult,
|
|
839
|
-
Workspace: Workspace,
|
|
840
|
-
Project: Project
|
|
841
|
-
});
|
|
842
|
-
|
|
843
|
-
/*
|
|
844
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
845
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
846
|
-
* license information.
|
|
847
|
-
*
|
|
848
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
849
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
850
|
-
* regenerated.
|
|
851
|
-
*/
|
|
852
|
-
/** Class representing a Accounts. */
|
|
853
|
-
var Accounts = /** @class */ (function () {
|
|
854
|
-
/**
|
|
855
|
-
* Create a Accounts.
|
|
856
|
-
* @param {MLTeamAccountManagementClientContext} client Reference to the service client.
|
|
857
|
-
*/
|
|
858
|
-
function Accounts(client) {
|
|
859
|
-
this.client = client;
|
|
860
|
-
}
|
|
861
|
-
Accounts.prototype.get = function (resourceGroupName$$1, accountName$$1, options, callback) {
|
|
862
|
-
return this.client.sendOperationRequest({
|
|
863
|
-
resourceGroupName: resourceGroupName$$1,
|
|
864
|
-
accountName: accountName$$1,
|
|
865
|
-
options: options
|
|
866
|
-
}, getOperationSpec, callback);
|
|
867
|
-
};
|
|
868
|
-
Accounts.prototype.createOrUpdate = function (resourceGroupName$$1, accountName$$1, parameters, options, callback) {
|
|
869
|
-
return this.client.sendOperationRequest({
|
|
870
|
-
resourceGroupName: resourceGroupName$$1,
|
|
871
|
-
accountName: accountName$$1,
|
|
872
|
-
parameters: parameters,
|
|
873
|
-
options: options
|
|
874
|
-
}, createOrUpdateOperationSpec, callback);
|
|
875
|
-
};
|
|
876
|
-
Accounts.prototype.deleteMethod = function (resourceGroupName$$1, accountName$$1, options, callback) {
|
|
877
|
-
return this.client.sendOperationRequest({
|
|
878
|
-
resourceGroupName: resourceGroupName$$1,
|
|
879
|
-
accountName: accountName$$1,
|
|
880
|
-
options: options
|
|
881
|
-
}, deleteMethodOperationSpec, callback);
|
|
882
|
-
};
|
|
883
|
-
Accounts.prototype.update = function (resourceGroupName$$1, accountName$$1, parameters, options, callback) {
|
|
884
|
-
return this.client.sendOperationRequest({
|
|
885
|
-
resourceGroupName: resourceGroupName$$1,
|
|
886
|
-
accountName: accountName$$1,
|
|
887
|
-
parameters: parameters,
|
|
888
|
-
options: options
|
|
889
|
-
}, updateOperationSpec, callback);
|
|
890
|
-
};
|
|
891
|
-
Accounts.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) {
|
|
892
|
-
return this.client.sendOperationRequest({
|
|
893
|
-
resourceGroupName: resourceGroupName$$1,
|
|
894
|
-
options: options
|
|
895
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
896
|
-
};
|
|
897
|
-
Accounts.prototype.list = function (options, callback) {
|
|
898
|
-
return this.client.sendOperationRequest({
|
|
899
|
-
options: options
|
|
900
|
-
}, listOperationSpec$1, callback);
|
|
901
|
-
};
|
|
902
|
-
Accounts.prototype.listByResourceGroupNext = function (nextPageLink$$1, options, callback) {
|
|
903
|
-
return this.client.sendOperationRequest({
|
|
904
|
-
nextPageLink: nextPageLink$$1,
|
|
905
|
-
options: options
|
|
906
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
907
|
-
};
|
|
908
|
-
Accounts.prototype.listNext = function (nextPageLink$$1, options, callback) {
|
|
909
|
-
return this.client.sendOperationRequest({
|
|
910
|
-
nextPageLink: nextPageLink$$1,
|
|
911
|
-
options: options
|
|
912
|
-
}, listNextOperationSpec, callback);
|
|
913
|
-
};
|
|
914
|
-
return Accounts;
|
|
915
|
-
}());
|
|
916
|
-
// Operation Specifications
|
|
917
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
918
|
-
var getOperationSpec = {
|
|
919
|
-
httpMethod: "GET",
|
|
920
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
921
|
-
urlParameters: [
|
|
922
|
-
subscriptionId,
|
|
923
|
-
resourceGroupName,
|
|
924
|
-
accountName
|
|
925
|
-
],
|
|
926
|
-
queryParameters: [
|
|
927
|
-
apiVersion
|
|
928
|
-
],
|
|
929
|
-
headerParameters: [
|
|
930
|
-
acceptLanguage
|
|
931
|
-
],
|
|
932
|
-
responses: {
|
|
933
|
-
200: {
|
|
934
|
-
bodyMapper: Account
|
|
935
|
-
},
|
|
936
|
-
default: {
|
|
937
|
-
bodyMapper: ErrorResponse
|
|
938
|
-
}
|
|
939
|
-
},
|
|
940
|
-
serializer: serializer$1
|
|
941
|
-
};
|
|
942
|
-
var createOrUpdateOperationSpec = {
|
|
943
|
-
httpMethod: "PUT",
|
|
944
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
945
|
-
urlParameters: [
|
|
946
|
-
subscriptionId,
|
|
947
|
-
resourceGroupName,
|
|
948
|
-
accountName
|
|
949
|
-
],
|
|
950
|
-
queryParameters: [
|
|
951
|
-
apiVersion
|
|
952
|
-
],
|
|
953
|
-
headerParameters: [
|
|
954
|
-
acceptLanguage
|
|
955
|
-
],
|
|
956
|
-
requestBody: {
|
|
957
|
-
parameterPath: "parameters",
|
|
958
|
-
mapper: __assign({}, Account, { required: true })
|
|
959
|
-
},
|
|
960
|
-
responses: {
|
|
961
|
-
200: {
|
|
962
|
-
bodyMapper: Account
|
|
963
|
-
},
|
|
964
|
-
201: {
|
|
965
|
-
bodyMapper: Account
|
|
966
|
-
},
|
|
967
|
-
default: {
|
|
968
|
-
bodyMapper: ErrorResponse
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
serializer: serializer$1
|
|
972
|
-
};
|
|
973
|
-
var deleteMethodOperationSpec = {
|
|
974
|
-
httpMethod: "DELETE",
|
|
975
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
976
|
-
urlParameters: [
|
|
977
|
-
subscriptionId,
|
|
978
|
-
resourceGroupName,
|
|
979
|
-
accountName
|
|
980
|
-
],
|
|
981
|
-
queryParameters: [
|
|
982
|
-
apiVersion
|
|
983
|
-
],
|
|
984
|
-
headerParameters: [
|
|
985
|
-
acceptLanguage
|
|
986
|
-
],
|
|
987
|
-
responses: {
|
|
988
|
-
200: {},
|
|
989
|
-
204: {},
|
|
990
|
-
default: {
|
|
991
|
-
bodyMapper: ErrorResponse
|
|
992
|
-
}
|
|
993
|
-
},
|
|
994
|
-
serializer: serializer$1
|
|
995
|
-
};
|
|
996
|
-
var updateOperationSpec = {
|
|
997
|
-
httpMethod: "PATCH",
|
|
998
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
|
|
999
|
-
urlParameters: [
|
|
1000
|
-
subscriptionId,
|
|
1001
|
-
resourceGroupName,
|
|
1002
|
-
accountName
|
|
1003
|
-
],
|
|
1004
|
-
queryParameters: [
|
|
1005
|
-
apiVersion
|
|
1006
|
-
],
|
|
1007
|
-
headerParameters: [
|
|
1008
|
-
acceptLanguage
|
|
1009
|
-
],
|
|
1010
|
-
requestBody: {
|
|
1011
|
-
parameterPath: "parameters",
|
|
1012
|
-
mapper: __assign({}, AccountUpdateParameters, { required: true })
|
|
1013
|
-
},
|
|
1014
|
-
responses: {
|
|
1015
|
-
200: {
|
|
1016
|
-
bodyMapper: Account
|
|
1017
|
-
},
|
|
1018
|
-
default: {
|
|
1019
|
-
bodyMapper: ErrorResponse
|
|
1020
|
-
}
|
|
1021
|
-
},
|
|
1022
|
-
serializer: serializer$1
|
|
1023
|
-
};
|
|
1024
|
-
var listByResourceGroupOperationSpec = {
|
|
1025
|
-
httpMethod: "GET",
|
|
1026
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts",
|
|
1027
|
-
urlParameters: [
|
|
1028
|
-
subscriptionId,
|
|
1029
|
-
resourceGroupName
|
|
1030
|
-
],
|
|
1031
|
-
queryParameters: [
|
|
1032
|
-
apiVersion
|
|
1033
|
-
],
|
|
1034
|
-
headerParameters: [
|
|
1035
|
-
acceptLanguage
|
|
1036
|
-
],
|
|
1037
|
-
responses: {
|
|
1038
|
-
200: {
|
|
1039
|
-
bodyMapper: AccountListResult
|
|
1040
|
-
},
|
|
1041
|
-
default: {
|
|
1042
|
-
bodyMapper: ErrorResponse
|
|
1043
|
-
}
|
|
1044
|
-
},
|
|
1045
|
-
serializer: serializer$1
|
|
1046
|
-
};
|
|
1047
|
-
var listOperationSpec$1 = {
|
|
1048
|
-
httpMethod: "GET",
|
|
1049
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningExperimentation/accounts",
|
|
1050
|
-
urlParameters: [
|
|
1051
|
-
subscriptionId
|
|
1052
|
-
],
|
|
1053
|
-
queryParameters: [
|
|
1054
|
-
apiVersion
|
|
1055
|
-
],
|
|
1056
|
-
headerParameters: [
|
|
1057
|
-
acceptLanguage
|
|
1058
|
-
],
|
|
1059
|
-
responses: {
|
|
1060
|
-
200: {
|
|
1061
|
-
bodyMapper: AccountListResult
|
|
1062
|
-
},
|
|
1063
|
-
default: {
|
|
1064
|
-
bodyMapper: ErrorResponse
|
|
1065
|
-
}
|
|
1066
|
-
},
|
|
1067
|
-
serializer: serializer$1
|
|
1068
|
-
};
|
|
1069
|
-
var listByResourceGroupNextOperationSpec = {
|
|
1070
|
-
httpMethod: "GET",
|
|
1071
|
-
baseUrl: "https://management.azure.com",
|
|
1072
|
-
path: "{nextLink}",
|
|
1073
|
-
urlParameters: [
|
|
1074
|
-
nextPageLink
|
|
1075
|
-
],
|
|
1076
|
-
headerParameters: [
|
|
1077
|
-
acceptLanguage
|
|
1078
|
-
],
|
|
1079
|
-
responses: {
|
|
1080
|
-
200: {
|
|
1081
|
-
bodyMapper: AccountListResult
|
|
1082
|
-
},
|
|
1083
|
-
default: {
|
|
1084
|
-
bodyMapper: ErrorResponse
|
|
1085
|
-
}
|
|
1086
|
-
},
|
|
1087
|
-
serializer: serializer$1
|
|
1088
|
-
};
|
|
1089
|
-
var listNextOperationSpec = {
|
|
1090
|
-
httpMethod: "GET",
|
|
1091
|
-
baseUrl: "https://management.azure.com",
|
|
1092
|
-
path: "{nextLink}",
|
|
1093
|
-
urlParameters: [
|
|
1094
|
-
nextPageLink
|
|
1095
|
-
],
|
|
1096
|
-
headerParameters: [
|
|
1097
|
-
acceptLanguage
|
|
1098
|
-
],
|
|
1099
|
-
responses: {
|
|
1100
|
-
200: {
|
|
1101
|
-
bodyMapper: AccountListResult
|
|
1102
|
-
},
|
|
1103
|
-
default: {
|
|
1104
|
-
bodyMapper: ErrorResponse
|
|
1105
|
-
}
|
|
1106
|
-
},
|
|
1107
|
-
serializer: serializer$1
|
|
1108
|
-
};
|
|
1109
|
-
|
|
1110
|
-
/*
|
|
1111
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1112
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1113
|
-
* license information.
|
|
1114
|
-
*
|
|
1115
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1116
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1117
|
-
* regenerated.
|
|
1118
|
-
*/
|
|
1119
|
-
|
|
1120
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1121
|
-
Workspace: Workspace,
|
|
1122
|
-
Resource: Resource,
|
|
1123
|
-
BaseResource: BaseResource,
|
|
1124
|
-
ErrorResponse: ErrorResponse,
|
|
1125
|
-
WorkspaceUpdateParameters: WorkspaceUpdateParameters,
|
|
1126
|
-
WorkspaceListResult: WorkspaceListResult,
|
|
1127
|
-
Project: Project,
|
|
1128
|
-
Account: Account,
|
|
1129
|
-
StorageAccountProperties: StorageAccountProperties
|
|
1130
|
-
});
|
|
1131
|
-
|
|
1132
|
-
/*
|
|
1133
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1134
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1135
|
-
* license information.
|
|
1136
|
-
*
|
|
1137
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1138
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1139
|
-
* regenerated.
|
|
1140
|
-
*/
|
|
1141
|
-
/** Class representing a Workspaces. */
|
|
1142
|
-
var Workspaces = /** @class */ (function () {
|
|
1143
|
-
/**
|
|
1144
|
-
* Create a Workspaces.
|
|
1145
|
-
* @param {MLTeamAccountManagementClientContext} client Reference to the service client.
|
|
1146
|
-
*/
|
|
1147
|
-
function Workspaces(client) {
|
|
1148
|
-
this.client = client;
|
|
1149
|
-
}
|
|
1150
|
-
Workspaces.prototype.get = function (resourceGroupName$$1, accountName$$1, workspaceName$$1, options, callback) {
|
|
1151
|
-
return this.client.sendOperationRequest({
|
|
1152
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1153
|
-
accountName: accountName$$1,
|
|
1154
|
-
workspaceName: workspaceName$$1,
|
|
1155
|
-
options: options
|
|
1156
|
-
}, getOperationSpec$1, callback);
|
|
1157
|
-
};
|
|
1158
|
-
Workspaces.prototype.createOrUpdate = function (resourceGroupName$$1, accountName$$1, workspaceName$$1, parameters, options, callback) {
|
|
1159
|
-
return this.client.sendOperationRequest({
|
|
1160
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1161
|
-
accountName: accountName$$1,
|
|
1162
|
-
workspaceName: workspaceName$$1,
|
|
1163
|
-
parameters: parameters,
|
|
1164
|
-
options: options
|
|
1165
|
-
}, createOrUpdateOperationSpec$1, callback);
|
|
1166
|
-
};
|
|
1167
|
-
Workspaces.prototype.deleteMethod = function (resourceGroupName$$1, accountName$$1, workspaceName$$1, options, callback) {
|
|
1168
|
-
return this.client.sendOperationRequest({
|
|
1169
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1170
|
-
accountName: accountName$$1,
|
|
1171
|
-
workspaceName: workspaceName$$1,
|
|
1172
|
-
options: options
|
|
1173
|
-
}, deleteMethodOperationSpec$1, callback);
|
|
1174
|
-
};
|
|
1175
|
-
Workspaces.prototype.update = function (resourceGroupName$$1, accountName$$1, workspaceName$$1, parameters, options, callback) {
|
|
1176
|
-
return this.client.sendOperationRequest({
|
|
1177
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1178
|
-
accountName: accountName$$1,
|
|
1179
|
-
workspaceName: workspaceName$$1,
|
|
1180
|
-
parameters: parameters,
|
|
1181
|
-
options: options
|
|
1182
|
-
}, updateOperationSpec$1, callback);
|
|
1183
|
-
};
|
|
1184
|
-
Workspaces.prototype.listByAccounts = function (accountName$$1, resourceGroupName$$1, options, callback) {
|
|
1185
|
-
return this.client.sendOperationRequest({
|
|
1186
|
-
accountName: accountName$$1,
|
|
1187
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1188
|
-
options: options
|
|
1189
|
-
}, listByAccountsOperationSpec, callback);
|
|
1190
|
-
};
|
|
1191
|
-
Workspaces.prototype.listByAccountsNext = function (nextPageLink$$1, options, callback) {
|
|
1192
|
-
return this.client.sendOperationRequest({
|
|
1193
|
-
nextPageLink: nextPageLink$$1,
|
|
1194
|
-
options: options
|
|
1195
|
-
}, listByAccountsNextOperationSpec, callback);
|
|
1196
|
-
};
|
|
1197
|
-
return Workspaces;
|
|
1198
|
-
}());
|
|
1199
|
-
// Operation Specifications
|
|
1200
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
1201
|
-
var getOperationSpec$1 = {
|
|
1202
|
-
httpMethod: "GET",
|
|
1203
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
|
|
1204
|
-
urlParameters: [
|
|
1205
|
-
subscriptionId,
|
|
1206
|
-
resourceGroupName,
|
|
1207
|
-
accountName,
|
|
1208
|
-
workspaceName
|
|
1209
|
-
],
|
|
1210
|
-
queryParameters: [
|
|
1211
|
-
apiVersion
|
|
1212
|
-
],
|
|
1213
|
-
headerParameters: [
|
|
1214
|
-
acceptLanguage
|
|
1215
|
-
],
|
|
1216
|
-
responses: {
|
|
1217
|
-
200: {
|
|
1218
|
-
bodyMapper: Workspace
|
|
1219
|
-
},
|
|
1220
|
-
default: {
|
|
1221
|
-
bodyMapper: ErrorResponse
|
|
1222
|
-
}
|
|
1223
|
-
},
|
|
1224
|
-
serializer: serializer$2
|
|
1225
|
-
};
|
|
1226
|
-
var createOrUpdateOperationSpec$1 = {
|
|
1227
|
-
httpMethod: "PUT",
|
|
1228
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
|
|
1229
|
-
urlParameters: [
|
|
1230
|
-
subscriptionId,
|
|
1231
|
-
resourceGroupName,
|
|
1232
|
-
accountName,
|
|
1233
|
-
workspaceName
|
|
1234
|
-
],
|
|
1235
|
-
queryParameters: [
|
|
1236
|
-
apiVersion
|
|
1237
|
-
],
|
|
1238
|
-
headerParameters: [
|
|
1239
|
-
acceptLanguage
|
|
1240
|
-
],
|
|
1241
|
-
requestBody: {
|
|
1242
|
-
parameterPath: "parameters",
|
|
1243
|
-
mapper: __assign({}, Workspace, { required: true })
|
|
1244
|
-
},
|
|
1245
|
-
responses: {
|
|
1246
|
-
200: {
|
|
1247
|
-
bodyMapper: Workspace
|
|
1248
|
-
},
|
|
1249
|
-
201: {
|
|
1250
|
-
bodyMapper: Workspace
|
|
1251
|
-
},
|
|
1252
|
-
default: {
|
|
1253
|
-
bodyMapper: ErrorResponse
|
|
1254
|
-
}
|
|
1255
|
-
},
|
|
1256
|
-
serializer: serializer$2
|
|
1257
|
-
};
|
|
1258
|
-
var deleteMethodOperationSpec$1 = {
|
|
1259
|
-
httpMethod: "DELETE",
|
|
1260
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
|
|
1261
|
-
urlParameters: [
|
|
1262
|
-
subscriptionId,
|
|
1263
|
-
resourceGroupName,
|
|
1264
|
-
accountName,
|
|
1265
|
-
workspaceName
|
|
1266
|
-
],
|
|
1267
|
-
queryParameters: [
|
|
1268
|
-
apiVersion
|
|
1269
|
-
],
|
|
1270
|
-
headerParameters: [
|
|
1271
|
-
acceptLanguage
|
|
1272
|
-
],
|
|
1273
|
-
responses: {
|
|
1274
|
-
200: {},
|
|
1275
|
-
204: {},
|
|
1276
|
-
default: {
|
|
1277
|
-
bodyMapper: ErrorResponse
|
|
1278
|
-
}
|
|
1279
|
-
},
|
|
1280
|
-
serializer: serializer$2
|
|
1281
|
-
};
|
|
1282
|
-
var updateOperationSpec$1 = {
|
|
1283
|
-
httpMethod: "PATCH",
|
|
1284
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
|
|
1285
|
-
urlParameters: [
|
|
1286
|
-
subscriptionId,
|
|
1287
|
-
resourceGroupName,
|
|
1288
|
-
accountName,
|
|
1289
|
-
workspaceName
|
|
1290
|
-
],
|
|
1291
|
-
queryParameters: [
|
|
1292
|
-
apiVersion
|
|
1293
|
-
],
|
|
1294
|
-
headerParameters: [
|
|
1295
|
-
acceptLanguage
|
|
1296
|
-
],
|
|
1297
|
-
requestBody: {
|
|
1298
|
-
parameterPath: "parameters",
|
|
1299
|
-
mapper: __assign({}, WorkspaceUpdateParameters, { required: true })
|
|
1300
|
-
},
|
|
1301
|
-
responses: {
|
|
1302
|
-
200: {
|
|
1303
|
-
bodyMapper: Workspace
|
|
1304
|
-
},
|
|
1305
|
-
default: {
|
|
1306
|
-
bodyMapper: ErrorResponse
|
|
1307
|
-
}
|
|
1308
|
-
},
|
|
1309
|
-
serializer: serializer$2
|
|
1310
|
-
};
|
|
1311
|
-
var listByAccountsOperationSpec = {
|
|
1312
|
-
httpMethod: "GET",
|
|
1313
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces",
|
|
1314
|
-
urlParameters: [
|
|
1315
|
-
subscriptionId,
|
|
1316
|
-
accountName,
|
|
1317
|
-
resourceGroupName
|
|
1318
|
-
],
|
|
1319
|
-
queryParameters: [
|
|
1320
|
-
apiVersion
|
|
1321
|
-
],
|
|
1322
|
-
headerParameters: [
|
|
1323
|
-
acceptLanguage
|
|
1324
|
-
],
|
|
1325
|
-
responses: {
|
|
1326
|
-
200: {
|
|
1327
|
-
bodyMapper: WorkspaceListResult
|
|
1328
|
-
},
|
|
1329
|
-
default: {
|
|
1330
|
-
bodyMapper: ErrorResponse
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1333
|
-
serializer: serializer$2
|
|
1334
|
-
};
|
|
1335
|
-
var listByAccountsNextOperationSpec = {
|
|
1336
|
-
httpMethod: "GET",
|
|
1337
|
-
baseUrl: "https://management.azure.com",
|
|
1338
|
-
path: "{nextLink}",
|
|
1339
|
-
urlParameters: [
|
|
1340
|
-
nextPageLink
|
|
1341
|
-
],
|
|
1342
|
-
headerParameters: [
|
|
1343
|
-
acceptLanguage
|
|
1344
|
-
],
|
|
1345
|
-
responses: {
|
|
1346
|
-
200: {
|
|
1347
|
-
bodyMapper: WorkspaceListResult
|
|
1348
|
-
},
|
|
1349
|
-
default: {
|
|
1350
|
-
bodyMapper: ErrorResponse
|
|
1351
|
-
}
|
|
1352
|
-
},
|
|
1353
|
-
serializer: serializer$2
|
|
1354
|
-
};
|
|
1355
|
-
|
|
1356
|
-
/*
|
|
1357
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1358
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1359
|
-
* license information.
|
|
1360
|
-
*
|
|
1361
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1362
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1363
|
-
* regenerated.
|
|
1364
|
-
*/
|
|
1365
|
-
|
|
1366
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
1367
|
-
Project: Project,
|
|
1368
|
-
Resource: Resource,
|
|
1369
|
-
BaseResource: BaseResource,
|
|
1370
|
-
ErrorResponse: ErrorResponse,
|
|
1371
|
-
ProjectUpdateParameters: ProjectUpdateParameters,
|
|
1372
|
-
ProjectListResult: ProjectListResult,
|
|
1373
|
-
Workspace: Workspace,
|
|
1374
|
-
Account: Account,
|
|
1375
|
-
StorageAccountProperties: StorageAccountProperties
|
|
1376
|
-
});
|
|
1377
|
-
|
|
1378
|
-
/*
|
|
1379
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1380
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1381
|
-
* license information.
|
|
1382
|
-
*
|
|
1383
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1384
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1385
|
-
* regenerated.
|
|
1386
|
-
*/
|
|
1387
|
-
/** Class representing a Projects. */
|
|
1388
|
-
var Projects = /** @class */ (function () {
|
|
1389
|
-
/**
|
|
1390
|
-
* Create a Projects.
|
|
1391
|
-
* @param {MLTeamAccountManagementClientContext} client Reference to the service client.
|
|
1392
|
-
*/
|
|
1393
|
-
function Projects(client) {
|
|
1394
|
-
this.client = client;
|
|
1395
|
-
}
|
|
1396
|
-
Projects.prototype.get = function (resourceGroupName$$1, accountName$$1, workspaceName$$1, projectName$$1, options, callback) {
|
|
1397
|
-
return this.client.sendOperationRequest({
|
|
1398
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1399
|
-
accountName: accountName$$1,
|
|
1400
|
-
workspaceName: workspaceName$$1,
|
|
1401
|
-
projectName: projectName$$1,
|
|
1402
|
-
options: options
|
|
1403
|
-
}, getOperationSpec$2, callback);
|
|
1404
|
-
};
|
|
1405
|
-
Projects.prototype.createOrUpdate = function (resourceGroupName$$1, accountName$$1, workspaceName$$1, projectName$$1, parameters, options, callback) {
|
|
1406
|
-
return this.client.sendOperationRequest({
|
|
1407
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1408
|
-
accountName: accountName$$1,
|
|
1409
|
-
workspaceName: workspaceName$$1,
|
|
1410
|
-
projectName: projectName$$1,
|
|
1411
|
-
parameters: parameters,
|
|
1412
|
-
options: options
|
|
1413
|
-
}, createOrUpdateOperationSpec$2, callback);
|
|
1414
|
-
};
|
|
1415
|
-
Projects.prototype.deleteMethod = function (resourceGroupName$$1, accountName$$1, workspaceName$$1, projectName$$1, options, callback) {
|
|
1416
|
-
return this.client.sendOperationRequest({
|
|
1417
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1418
|
-
accountName: accountName$$1,
|
|
1419
|
-
workspaceName: workspaceName$$1,
|
|
1420
|
-
projectName: projectName$$1,
|
|
1421
|
-
options: options
|
|
1422
|
-
}, deleteMethodOperationSpec$2, callback);
|
|
1423
|
-
};
|
|
1424
|
-
Projects.prototype.update = function (resourceGroupName$$1, accountName$$1, workspaceName$$1, projectName$$1, parameters, options, callback) {
|
|
1425
|
-
return this.client.sendOperationRequest({
|
|
1426
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1427
|
-
accountName: accountName$$1,
|
|
1428
|
-
workspaceName: workspaceName$$1,
|
|
1429
|
-
projectName: projectName$$1,
|
|
1430
|
-
parameters: parameters,
|
|
1431
|
-
options: options
|
|
1432
|
-
}, updateOperationSpec$2, callback);
|
|
1433
|
-
};
|
|
1434
|
-
Projects.prototype.listByWorkspace = function (accountName$$1, workspaceName$$1, resourceGroupName$$1, options, callback) {
|
|
1435
|
-
return this.client.sendOperationRequest({
|
|
1436
|
-
accountName: accountName$$1,
|
|
1437
|
-
workspaceName: workspaceName$$1,
|
|
1438
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1439
|
-
options: options
|
|
1440
|
-
}, listByWorkspaceOperationSpec, callback);
|
|
1441
|
-
};
|
|
1442
|
-
Projects.prototype.listByWorkspaceNext = function (nextPageLink$$1, options, callback) {
|
|
1443
|
-
return this.client.sendOperationRequest({
|
|
1444
|
-
nextPageLink: nextPageLink$$1,
|
|
1445
|
-
options: options
|
|
1446
|
-
}, listByWorkspaceNextOperationSpec, callback);
|
|
1447
|
-
};
|
|
1448
|
-
return Projects;
|
|
1449
|
-
}());
|
|
1450
|
-
// Operation Specifications
|
|
1451
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
1452
|
-
var getOperationSpec$2 = {
|
|
1453
|
-
httpMethod: "GET",
|
|
1454
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
1455
|
-
urlParameters: [
|
|
1456
|
-
subscriptionId,
|
|
1457
|
-
resourceGroupName,
|
|
1458
|
-
accountName,
|
|
1459
|
-
workspaceName,
|
|
1460
|
-
projectName
|
|
1461
|
-
],
|
|
1462
|
-
queryParameters: [
|
|
1463
|
-
apiVersion
|
|
1464
|
-
],
|
|
1465
|
-
headerParameters: [
|
|
1466
|
-
acceptLanguage
|
|
1467
|
-
],
|
|
1468
|
-
responses: {
|
|
1469
|
-
200: {
|
|
1470
|
-
bodyMapper: Project
|
|
1471
|
-
},
|
|
1472
|
-
default: {
|
|
1473
|
-
bodyMapper: ErrorResponse
|
|
1474
|
-
}
|
|
1475
|
-
},
|
|
1476
|
-
serializer: serializer$3
|
|
1477
|
-
};
|
|
1478
|
-
var createOrUpdateOperationSpec$2 = {
|
|
1479
|
-
httpMethod: "PUT",
|
|
1480
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
1481
|
-
urlParameters: [
|
|
1482
|
-
subscriptionId,
|
|
1483
|
-
resourceGroupName,
|
|
1484
|
-
accountName,
|
|
1485
|
-
workspaceName,
|
|
1486
|
-
projectName
|
|
1487
|
-
],
|
|
1488
|
-
queryParameters: [
|
|
1489
|
-
apiVersion
|
|
1490
|
-
],
|
|
1491
|
-
headerParameters: [
|
|
1492
|
-
acceptLanguage
|
|
1493
|
-
],
|
|
1494
|
-
requestBody: {
|
|
1495
|
-
parameterPath: "parameters",
|
|
1496
|
-
mapper: __assign({}, Project, { required: true })
|
|
1497
|
-
},
|
|
1498
|
-
responses: {
|
|
1499
|
-
200: {
|
|
1500
|
-
bodyMapper: Project
|
|
1501
|
-
},
|
|
1502
|
-
201: {
|
|
1503
|
-
bodyMapper: Project
|
|
1504
|
-
},
|
|
1505
|
-
default: {
|
|
1506
|
-
bodyMapper: ErrorResponse
|
|
1507
|
-
}
|
|
1508
|
-
},
|
|
1509
|
-
serializer: serializer$3
|
|
1510
|
-
};
|
|
1511
|
-
var deleteMethodOperationSpec$2 = {
|
|
1512
|
-
httpMethod: "DELETE",
|
|
1513
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
1514
|
-
urlParameters: [
|
|
1515
|
-
subscriptionId,
|
|
1516
|
-
resourceGroupName,
|
|
1517
|
-
accountName,
|
|
1518
|
-
workspaceName,
|
|
1519
|
-
projectName
|
|
1520
|
-
],
|
|
1521
|
-
queryParameters: [
|
|
1522
|
-
apiVersion
|
|
1523
|
-
],
|
|
1524
|
-
headerParameters: [
|
|
1525
|
-
acceptLanguage
|
|
1526
|
-
],
|
|
1527
|
-
responses: {
|
|
1528
|
-
200: {},
|
|
1529
|
-
204: {},
|
|
1530
|
-
default: {
|
|
1531
|
-
bodyMapper: ErrorResponse
|
|
1532
|
-
}
|
|
1533
|
-
},
|
|
1534
|
-
serializer: serializer$3
|
|
1535
|
-
};
|
|
1536
|
-
var updateOperationSpec$2 = {
|
|
1537
|
-
httpMethod: "PATCH",
|
|
1538
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
1539
|
-
urlParameters: [
|
|
1540
|
-
subscriptionId,
|
|
1541
|
-
resourceGroupName,
|
|
1542
|
-
accountName,
|
|
1543
|
-
workspaceName,
|
|
1544
|
-
projectName
|
|
1545
|
-
],
|
|
1546
|
-
queryParameters: [
|
|
1547
|
-
apiVersion
|
|
1548
|
-
],
|
|
1549
|
-
headerParameters: [
|
|
1550
|
-
acceptLanguage
|
|
1551
|
-
],
|
|
1552
|
-
requestBody: {
|
|
1553
|
-
parameterPath: "parameters",
|
|
1554
|
-
mapper: __assign({}, ProjectUpdateParameters, { required: true })
|
|
1555
|
-
},
|
|
1556
|
-
responses: {
|
|
1557
|
-
200: {
|
|
1558
|
-
bodyMapper: Project
|
|
1559
|
-
},
|
|
1560
|
-
default: {
|
|
1561
|
-
bodyMapper: ErrorResponse
|
|
1562
|
-
}
|
|
1563
|
-
},
|
|
1564
|
-
serializer: serializer$3
|
|
1565
|
-
};
|
|
1566
|
-
var listByWorkspaceOperationSpec = {
|
|
1567
|
-
httpMethod: "GET",
|
|
1568
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces{workspaceName}/projects",
|
|
1569
|
-
urlParameters: [
|
|
1570
|
-
subscriptionId,
|
|
1571
|
-
accountName,
|
|
1572
|
-
workspaceName,
|
|
1573
|
-
resourceGroupName
|
|
1574
|
-
],
|
|
1575
|
-
queryParameters: [
|
|
1576
|
-
apiVersion
|
|
1577
|
-
],
|
|
1578
|
-
headerParameters: [
|
|
1579
|
-
acceptLanguage
|
|
1580
|
-
],
|
|
1581
|
-
responses: {
|
|
1582
|
-
200: {
|
|
1583
|
-
bodyMapper: ProjectListResult
|
|
1584
|
-
},
|
|
1585
|
-
default: {
|
|
1586
|
-
bodyMapper: ErrorResponse
|
|
1587
|
-
}
|
|
1588
|
-
},
|
|
1589
|
-
serializer: serializer$3
|
|
1590
|
-
};
|
|
1591
|
-
var listByWorkspaceNextOperationSpec = {
|
|
1592
|
-
httpMethod: "GET",
|
|
1593
|
-
baseUrl: "https://management.azure.com",
|
|
1594
|
-
path: "{nextLink}",
|
|
1595
|
-
urlParameters: [
|
|
1596
|
-
nextPageLink
|
|
1597
|
-
],
|
|
1598
|
-
headerParameters: [
|
|
1599
|
-
acceptLanguage
|
|
1600
|
-
],
|
|
1601
|
-
responses: {
|
|
1602
|
-
200: {
|
|
1603
|
-
bodyMapper: ProjectListResult
|
|
1604
|
-
},
|
|
1605
|
-
default: {
|
|
1606
|
-
bodyMapper: ErrorResponse
|
|
1607
|
-
}
|
|
1608
|
-
},
|
|
1609
|
-
serializer: serializer$3
|
|
1610
|
-
};
|
|
1611
|
-
|
|
1612
|
-
/*
|
|
1613
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1614
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1615
|
-
* license information.
|
|
1616
|
-
*
|
|
1617
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1618
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1619
|
-
* regenerated.
|
|
1620
|
-
*/
|
|
1621
|
-
|
|
1622
|
-
/*
|
|
1623
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1624
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1625
|
-
* license information.
|
|
1626
|
-
*
|
|
1627
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1628
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1629
|
-
* regenerated.
|
|
1630
|
-
*/
|
|
1631
|
-
var packageName = "@azure/arm-machinelearningexperimentation";
|
|
1632
|
-
var packageVersion = "0.1.0";
|
|
1633
|
-
var MLTeamAccountManagementClientContext = /** @class */ (function (_super) {
|
|
1634
|
-
__extends(MLTeamAccountManagementClientContext, _super);
|
|
1635
|
-
/**
|
|
1636
|
-
* Initializes a new instance of the MLTeamAccountManagementClient class.
|
|
1637
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
1638
|
-
* @param subscriptionId The Microsoft Azure subscription ID.
|
|
1639
|
-
* @param [options] The parameter options
|
|
1640
|
-
*/
|
|
1641
|
-
function MLTeamAccountManagementClientContext(credentials, subscriptionId, options) {
|
|
1642
|
-
var _this = this;
|
|
1643
|
-
if (credentials == undefined) {
|
|
1644
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
1645
|
-
}
|
|
1646
|
-
if (subscriptionId == undefined) {
|
|
1647
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
1648
|
-
}
|
|
1649
|
-
if (!options) {
|
|
1650
|
-
options = {};
|
|
1651
|
-
}
|
|
1652
|
-
if (!options.userAgent) {
|
|
1653
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
1654
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
1655
|
-
}
|
|
1656
|
-
_this = _super.call(this, credentials, options) || this;
|
|
1657
|
-
_this.apiVersion = '2017-05-01-preview';
|
|
1658
|
-
_this.acceptLanguage = 'en-US';
|
|
1659
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
1660
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
1661
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
1662
|
-
_this.credentials = credentials;
|
|
1663
|
-
_this.subscriptionId = subscriptionId;
|
|
1664
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
1665
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
1666
|
-
}
|
|
1667
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
1668
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
1669
|
-
}
|
|
1670
|
-
return _this;
|
|
1671
|
-
}
|
|
1672
|
-
return MLTeamAccountManagementClientContext;
|
|
1673
|
-
}(msRestAzure.AzureServiceClient));
|
|
1674
|
-
|
|
1675
|
-
/*
|
|
1676
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1677
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1678
|
-
* license information.
|
|
1679
|
-
*
|
|
1680
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1681
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1682
|
-
* regenerated.
|
|
1683
|
-
*/
|
|
1684
|
-
var MLTeamAccountManagementClient = /** @class */ (function (_super) {
|
|
1685
|
-
__extends(MLTeamAccountManagementClient, _super);
|
|
1686
|
-
/**
|
|
1687
|
-
* Initializes a new instance of the MLTeamAccountManagementClient class.
|
|
1688
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
1689
|
-
* @param subscriptionId The Microsoft Azure subscription ID.
|
|
1690
|
-
* @param [options] The parameter options
|
|
1691
|
-
*/
|
|
1692
|
-
function MLTeamAccountManagementClient(credentials, subscriptionId, options) {
|
|
1693
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
1694
|
-
_this.operations = new Operations(_this);
|
|
1695
|
-
_this.accounts = new Accounts(_this);
|
|
1696
|
-
_this.workspaces = new Workspaces(_this);
|
|
1697
|
-
_this.projects = new Projects(_this);
|
|
1698
|
-
return _this;
|
|
1699
|
-
}
|
|
1700
|
-
return MLTeamAccountManagementClient;
|
|
1701
|
-
}(MLTeamAccountManagementClientContext));
|
|
1702
|
-
|
|
1703
|
-
exports.MLTeamAccountManagementClient = MLTeamAccountManagementClient;
|
|
1704
|
-
exports.MLTeamAccountManagementClientContext = MLTeamAccountManagementClientContext;
|
|
1705
|
-
exports.MLTeamAccountManagementModels = index;
|
|
1706
|
-
exports.MLTeamAccountManagementMappers = mappers;
|
|
1707
|
-
exports.Operations = Operations;
|
|
1708
|
-
exports.Accounts = Accounts;
|
|
1709
|
-
exports.Workspaces = Workspaces;
|
|
1710
|
-
exports.Projects = Projects;
|
|
1711
|
-
|
|
1712
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1713
|
-
|
|
1714
|
-
})));
|
|
1715
|
-
//# sourceMappingURL=arm-machinelearningexperimentation.js.map
|