@azure/arm-workspaces 0.1.1 → 1.0.0-alpha.20220201.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 +1009 -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/listWorkspaceKeys.d.ts +2 -0
- package/dist-esm/samples-dev/listWorkspaceKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/listWorkspaceKeys.js +31 -0
- package/dist-esm/samples-dev/listWorkspaceKeys.js.map +1 -0
- package/dist-esm/samples-dev/resyncStorageKeys.d.ts +2 -0
- package/dist-esm/samples-dev/resyncStorageKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/resyncStorageKeys.js +31 -0
- package/dist-esm/samples-dev/resyncStorageKeys.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 +38 -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 +31 -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 +31 -0
- package/dist-esm/samples-dev/workspaceGet.js.map +1 -0
- package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceGetBySubscription.js +43 -0
- package/dist-esm/samples-dev/workspaceGetBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceListResourceGroup.js +44 -0
- package/dist-esm/samples-dev/workspaceListResourceGroup.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 +36 -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/machineLearningWorkspacesManagementClient.d.ts +19 -0
- package/dist-esm/src/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
- package/dist-esm/src/machineLearningWorkspacesManagementClient.js +52 -0
- package/dist-esm/src/machineLearningWorkspacesManagementClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +190 -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 +12 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +177 -167
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +12 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +102 -0
- package/dist-esm/src/models/parameters.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/dist-esm/src/operations/index.js +10 -0
- 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/workspaces.d.ts +106 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +423 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +10 -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/workspaces.d.ts +68 -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 +85 -25
- package/review/arm-workspaces.api.md +206 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/machineLearningWorkspacesManagementClient.ts +77 -0
- package/src/models/index.ts +237 -0
- package/{lib → src}/models/mappers.ts +177 -166
- package/src/models/parameters.ts +120 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/operations.ts +98 -0
- package/src/operations/workspaces.ts +532 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/workspaces.ts +123 -0
- package/tsconfig.json +6 -5
- package/types/arm-workspaces.d.ts +316 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-workspaces.js +0 -980
- package/dist/arm-workspaces.js.map +0 -1
- package/dist/arm-workspaces.min.js +0 -1
- package/dist/arm-workspaces.min.js.map +0 -1
- package/esm/machineLearningWorkspacesManagementClient.d.ts +0 -19
- package/esm/machineLearningWorkspacesManagementClient.d.ts.map +0 -1
- package/esm/machineLearningWorkspacesManagementClient.js +0 -34
- package/esm/machineLearningWorkspacesManagementClient.js.map +0 -1
- package/esm/machineLearningWorkspacesManagementClientContext.d.ts +0 -16
- package/esm/machineLearningWorkspacesManagementClientContext.d.ts.map +0 -1
- package/esm/machineLearningWorkspacesManagementClientContext.js +0 -56
- package/esm/machineLearningWorkspacesManagementClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -417
- 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 -13
- 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 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -71
- package/esm/models/parameters.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/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- 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/workspaces.d.ts +0 -235
- package/esm/operations/workspaces.d.ts.map +0 -1
- package/esm/operations/workspaces.js +0 -329
- package/esm/operations/workspaces.js.map +0 -1
- package/lib/machineLearningWorkspacesManagementClient.ts +0 -44
- package/lib/machineLearningWorkspacesManagementClientContext.ts +0 -62
- package/lib/models/index.ts +0 -446
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -73
- package/lib/models/workspacesMappers.ts +0 -20
- package/lib/operations/operations.ts +0 -74
- package/lib/operations/workspaces.ts +0 -609
package/dist/arm-workspaces.js
DELETED
|
@@ -1,980 +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.ArmWorkspaces = {}),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 ErrorResponse = {
|
|
82
|
-
serializedName: "ErrorResponse",
|
|
83
|
-
type: {
|
|
84
|
-
name: "Composite",
|
|
85
|
-
className: "ErrorResponse",
|
|
86
|
-
modelProperties: {
|
|
87
|
-
code: {
|
|
88
|
-
required: true,
|
|
89
|
-
serializedName: "code",
|
|
90
|
-
type: {
|
|
91
|
-
name: "String"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
message: {
|
|
95
|
-
required: true,
|
|
96
|
-
serializedName: "message",
|
|
97
|
-
type: {
|
|
98
|
-
name: "String"
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
var Resource = {
|
|
105
|
-
serializedName: "Resource",
|
|
106
|
-
type: {
|
|
107
|
-
name: "Composite",
|
|
108
|
-
className: "Resource",
|
|
109
|
-
modelProperties: {
|
|
110
|
-
id: {
|
|
111
|
-
readOnly: true,
|
|
112
|
-
serializedName: "id",
|
|
113
|
-
type: {
|
|
114
|
-
name: "String"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
name: {
|
|
118
|
-
readOnly: true,
|
|
119
|
-
serializedName: "name",
|
|
120
|
-
type: {
|
|
121
|
-
name: "String"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
type: {
|
|
125
|
-
readOnly: true,
|
|
126
|
-
serializedName: "type",
|
|
127
|
-
type: {
|
|
128
|
-
name: "String"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
location: {
|
|
132
|
-
required: true,
|
|
133
|
-
serializedName: "location",
|
|
134
|
-
type: {
|
|
135
|
-
name: "String"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
tags: {
|
|
139
|
-
serializedName: "tags",
|
|
140
|
-
type: {
|
|
141
|
-
name: "Dictionary",
|
|
142
|
-
value: {
|
|
143
|
-
type: {
|
|
144
|
-
name: "String"
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
var Workspace = {
|
|
153
|
-
serializedName: "Workspace",
|
|
154
|
-
type: {
|
|
155
|
-
name: "Composite",
|
|
156
|
-
className: "Workspace",
|
|
157
|
-
modelProperties: __assign({}, Resource.type.modelProperties, { userStorageAccountId: {
|
|
158
|
-
required: true,
|
|
159
|
-
serializedName: "properties.userStorageAccountId",
|
|
160
|
-
type: {
|
|
161
|
-
name: "String"
|
|
162
|
-
}
|
|
163
|
-
}, ownerEmail: {
|
|
164
|
-
serializedName: "properties.ownerEmail",
|
|
165
|
-
type: {
|
|
166
|
-
name: "String"
|
|
167
|
-
}
|
|
168
|
-
}, workspaceType: {
|
|
169
|
-
readOnly: true,
|
|
170
|
-
serializedName: "properties.workspaceType",
|
|
171
|
-
type: {
|
|
172
|
-
name: "Enum",
|
|
173
|
-
allowedValues: [
|
|
174
|
-
"Production",
|
|
175
|
-
"Free",
|
|
176
|
-
"Anonymous",
|
|
177
|
-
"PaidStandard",
|
|
178
|
-
"PaidPremium"
|
|
179
|
-
]
|
|
180
|
-
}
|
|
181
|
-
}, workspaceState: {
|
|
182
|
-
readOnly: true,
|
|
183
|
-
serializedName: "properties.workspaceState",
|
|
184
|
-
type: {
|
|
185
|
-
name: "Enum",
|
|
186
|
-
allowedValues: [
|
|
187
|
-
"Deleted",
|
|
188
|
-
"Enabled",
|
|
189
|
-
"Disabled",
|
|
190
|
-
"Migrated",
|
|
191
|
-
"Updated",
|
|
192
|
-
"Registered",
|
|
193
|
-
"Unregistered"
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
}, workspaceId: {
|
|
197
|
-
readOnly: true,
|
|
198
|
-
serializedName: "properties.workspaceId",
|
|
199
|
-
type: {
|
|
200
|
-
name: "String"
|
|
201
|
-
}
|
|
202
|
-
}, creationTime: {
|
|
203
|
-
readOnly: true,
|
|
204
|
-
serializedName: "properties.creationTime",
|
|
205
|
-
type: {
|
|
206
|
-
name: "String"
|
|
207
|
-
}
|
|
208
|
-
}, studioEndpoint: {
|
|
209
|
-
readOnly: true,
|
|
210
|
-
serializedName: "properties.studioEndpoint",
|
|
211
|
-
type: {
|
|
212
|
-
name: "String"
|
|
213
|
-
}
|
|
214
|
-
}, keyVaultIdentifierId: {
|
|
215
|
-
serializedName: "properties.keyVaultIdentifierId",
|
|
216
|
-
type: {
|
|
217
|
-
name: "String"
|
|
218
|
-
}
|
|
219
|
-
} })
|
|
220
|
-
}
|
|
221
|
-
};
|
|
222
|
-
var WorkspaceUpdateParameters = {
|
|
223
|
-
serializedName: "WorkspaceUpdateParameters",
|
|
224
|
-
type: {
|
|
225
|
-
name: "Composite",
|
|
226
|
-
className: "WorkspaceUpdateParameters",
|
|
227
|
-
modelProperties: {
|
|
228
|
-
tags: {
|
|
229
|
-
serializedName: "tags",
|
|
230
|
-
type: {
|
|
231
|
-
name: "Dictionary",
|
|
232
|
-
value: {
|
|
233
|
-
type: {
|
|
234
|
-
name: "String"
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
workspaceState: {
|
|
240
|
-
serializedName: "properties.workspaceState",
|
|
241
|
-
type: {
|
|
242
|
-
name: "Enum",
|
|
243
|
-
allowedValues: [
|
|
244
|
-
"Deleted",
|
|
245
|
-
"Enabled",
|
|
246
|
-
"Disabled",
|
|
247
|
-
"Migrated",
|
|
248
|
-
"Updated",
|
|
249
|
-
"Registered",
|
|
250
|
-
"Unregistered"
|
|
251
|
-
]
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
keyVaultIdentifierId: {
|
|
255
|
-
serializedName: "properties.keyVaultIdentifierId",
|
|
256
|
-
type: {
|
|
257
|
-
name: "String"
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
};
|
|
263
|
-
var WorkspaceKeysResponse = {
|
|
264
|
-
serializedName: "WorkspaceKeysResponse",
|
|
265
|
-
type: {
|
|
266
|
-
name: "Composite",
|
|
267
|
-
className: "WorkspaceKeysResponse",
|
|
268
|
-
modelProperties: {
|
|
269
|
-
primaryToken: {
|
|
270
|
-
serializedName: "primaryToken",
|
|
271
|
-
type: {
|
|
272
|
-
name: "String"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
secondaryToken: {
|
|
276
|
-
serializedName: "secondaryToken",
|
|
277
|
-
type: {
|
|
278
|
-
name: "String"
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
};
|
|
284
|
-
var OperationDisplay = {
|
|
285
|
-
serializedName: "Operation_display",
|
|
286
|
-
type: {
|
|
287
|
-
name: "Composite",
|
|
288
|
-
className: "OperationDisplay",
|
|
289
|
-
modelProperties: {
|
|
290
|
-
provider: {
|
|
291
|
-
serializedName: "provider",
|
|
292
|
-
type: {
|
|
293
|
-
name: "String"
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
resource: {
|
|
297
|
-
serializedName: "resource",
|
|
298
|
-
type: {
|
|
299
|
-
name: "String"
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
operation: {
|
|
303
|
-
serializedName: "operation",
|
|
304
|
-
type: {
|
|
305
|
-
name: "String"
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
description: {
|
|
309
|
-
serializedName: "description",
|
|
310
|
-
type: {
|
|
311
|
-
name: "String"
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
};
|
|
317
|
-
var Operation = {
|
|
318
|
-
serializedName: "Operation",
|
|
319
|
-
type: {
|
|
320
|
-
name: "Composite",
|
|
321
|
-
className: "Operation",
|
|
322
|
-
modelProperties: {
|
|
323
|
-
name: {
|
|
324
|
-
serializedName: "name",
|
|
325
|
-
type: {
|
|
326
|
-
name: "String"
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
display: {
|
|
330
|
-
serializedName: "display",
|
|
331
|
-
type: {
|
|
332
|
-
name: "Composite",
|
|
333
|
-
className: "OperationDisplay"
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
};
|
|
339
|
-
var OperationListResult = {
|
|
340
|
-
serializedName: "OperationListResult",
|
|
341
|
-
type: {
|
|
342
|
-
name: "Composite",
|
|
343
|
-
className: "OperationListResult",
|
|
344
|
-
modelProperties: {
|
|
345
|
-
value: {
|
|
346
|
-
serializedName: "",
|
|
347
|
-
type: {
|
|
348
|
-
name: "Sequence",
|
|
349
|
-
element: {
|
|
350
|
-
type: {
|
|
351
|
-
name: "Composite",
|
|
352
|
-
className: "Operation"
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
};
|
|
360
|
-
var WorkspaceListResult = {
|
|
361
|
-
serializedName: "WorkspaceListResult",
|
|
362
|
-
type: {
|
|
363
|
-
name: "Composite",
|
|
364
|
-
className: "WorkspaceListResult",
|
|
365
|
-
modelProperties: {
|
|
366
|
-
value: {
|
|
367
|
-
serializedName: "",
|
|
368
|
-
type: {
|
|
369
|
-
name: "Sequence",
|
|
370
|
-
element: {
|
|
371
|
-
type: {
|
|
372
|
-
name: "Composite",
|
|
373
|
-
className: "Workspace"
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
nextLink: {
|
|
379
|
-
serializedName: "nextLink",
|
|
380
|
-
type: {
|
|
381
|
-
name: "String"
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
};
|
|
387
|
-
|
|
388
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
389
|
-
CloudError: CloudError,
|
|
390
|
-
BaseResource: BaseResource,
|
|
391
|
-
ErrorResponse: ErrorResponse,
|
|
392
|
-
Resource: Resource,
|
|
393
|
-
Workspace: Workspace,
|
|
394
|
-
WorkspaceUpdateParameters: WorkspaceUpdateParameters,
|
|
395
|
-
WorkspaceKeysResponse: WorkspaceKeysResponse,
|
|
396
|
-
OperationDisplay: OperationDisplay,
|
|
397
|
-
Operation: Operation,
|
|
398
|
-
OperationListResult: OperationListResult,
|
|
399
|
-
WorkspaceListResult: WorkspaceListResult
|
|
400
|
-
});
|
|
401
|
-
|
|
402
|
-
/*
|
|
403
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
404
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
405
|
-
* license information.
|
|
406
|
-
*
|
|
407
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
408
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
409
|
-
* regenerated.
|
|
410
|
-
*/
|
|
411
|
-
|
|
412
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
413
|
-
OperationListResult: OperationListResult,
|
|
414
|
-
Operation: Operation,
|
|
415
|
-
OperationDisplay: OperationDisplay,
|
|
416
|
-
ErrorResponse: ErrorResponse
|
|
417
|
-
});
|
|
418
|
-
|
|
419
|
-
/*
|
|
420
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
421
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
422
|
-
* license information.
|
|
423
|
-
*
|
|
424
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
425
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
426
|
-
* regenerated.
|
|
427
|
-
*/
|
|
428
|
-
var acceptLanguage = {
|
|
429
|
-
parameterPath: "acceptLanguage",
|
|
430
|
-
mapper: {
|
|
431
|
-
serializedName: "accept-language",
|
|
432
|
-
defaultValue: 'en-US',
|
|
433
|
-
type: {
|
|
434
|
-
name: "String"
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
var apiVersion = {
|
|
439
|
-
parameterPath: "apiVersion",
|
|
440
|
-
mapper: {
|
|
441
|
-
required: true,
|
|
442
|
-
serializedName: "api-version",
|
|
443
|
-
type: {
|
|
444
|
-
name: "String"
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
};
|
|
448
|
-
var nextPageLink = {
|
|
449
|
-
parameterPath: "nextPageLink",
|
|
450
|
-
mapper: {
|
|
451
|
-
required: true,
|
|
452
|
-
serializedName: "nextLink",
|
|
453
|
-
type: {
|
|
454
|
-
name: "String"
|
|
455
|
-
}
|
|
456
|
-
},
|
|
457
|
-
skipEncoding: true
|
|
458
|
-
};
|
|
459
|
-
var resourceGroupName = {
|
|
460
|
-
parameterPath: "resourceGroupName",
|
|
461
|
-
mapper: {
|
|
462
|
-
required: true,
|
|
463
|
-
serializedName: "resourceGroupName",
|
|
464
|
-
type: {
|
|
465
|
-
name: "String"
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
};
|
|
469
|
-
var subscriptionId = {
|
|
470
|
-
parameterPath: "subscriptionId",
|
|
471
|
-
mapper: {
|
|
472
|
-
required: true,
|
|
473
|
-
serializedName: "subscriptionId",
|
|
474
|
-
type: {
|
|
475
|
-
name: "String"
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
};
|
|
479
|
-
var workspaceName = {
|
|
480
|
-
parameterPath: "workspaceName",
|
|
481
|
-
mapper: {
|
|
482
|
-
required: true,
|
|
483
|
-
serializedName: "workspaceName",
|
|
484
|
-
type: {
|
|
485
|
-
name: "String"
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
|
|
490
|
-
/*
|
|
491
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
492
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
493
|
-
* license information.
|
|
494
|
-
*
|
|
495
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
496
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
497
|
-
* regenerated.
|
|
498
|
-
*/
|
|
499
|
-
/** Class representing a Operations. */
|
|
500
|
-
var Operations = /** @class */ (function () {
|
|
501
|
-
/**
|
|
502
|
-
* Create a Operations.
|
|
503
|
-
* @param {MachineLearningWorkspacesManagementClientContext} client Reference to the service client.
|
|
504
|
-
*/
|
|
505
|
-
function Operations(client) {
|
|
506
|
-
this.client = client;
|
|
507
|
-
}
|
|
508
|
-
Operations.prototype.list = function (options, callback) {
|
|
509
|
-
return this.client.sendOperationRequest({
|
|
510
|
-
options: options
|
|
511
|
-
}, listOperationSpec, callback);
|
|
512
|
-
};
|
|
513
|
-
return Operations;
|
|
514
|
-
}());
|
|
515
|
-
// Operation Specifications
|
|
516
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
517
|
-
var listOperationSpec = {
|
|
518
|
-
httpMethod: "GET",
|
|
519
|
-
path: "providers/Microsoft.MachineLearning/operations",
|
|
520
|
-
queryParameters: [
|
|
521
|
-
apiVersion
|
|
522
|
-
],
|
|
523
|
-
headerParameters: [
|
|
524
|
-
acceptLanguage
|
|
525
|
-
],
|
|
526
|
-
responses: {
|
|
527
|
-
200: {
|
|
528
|
-
bodyMapper: OperationListResult
|
|
529
|
-
},
|
|
530
|
-
default: {
|
|
531
|
-
bodyMapper: ErrorResponse
|
|
532
|
-
}
|
|
533
|
-
},
|
|
534
|
-
serializer: serializer
|
|
535
|
-
};
|
|
536
|
-
|
|
537
|
-
/*
|
|
538
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
539
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
540
|
-
* license information.
|
|
541
|
-
*
|
|
542
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
543
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
544
|
-
* regenerated.
|
|
545
|
-
*/
|
|
546
|
-
|
|
547
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
548
|
-
Workspace: Workspace,
|
|
549
|
-
Resource: Resource,
|
|
550
|
-
BaseResource: BaseResource,
|
|
551
|
-
ErrorResponse: ErrorResponse,
|
|
552
|
-
WorkspaceUpdateParameters: WorkspaceUpdateParameters,
|
|
553
|
-
WorkspaceKeysResponse: WorkspaceKeysResponse,
|
|
554
|
-
WorkspaceListResult: WorkspaceListResult
|
|
555
|
-
});
|
|
556
|
-
|
|
557
|
-
/*
|
|
558
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
559
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
560
|
-
* license information.
|
|
561
|
-
*
|
|
562
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
563
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
564
|
-
* regenerated.
|
|
565
|
-
*/
|
|
566
|
-
/** Class representing a Workspaces. */
|
|
567
|
-
var Workspaces = /** @class */ (function () {
|
|
568
|
-
/**
|
|
569
|
-
* Create a Workspaces.
|
|
570
|
-
* @param {MachineLearningWorkspacesManagementClientContext} client Reference to the service client.
|
|
571
|
-
*/
|
|
572
|
-
function Workspaces(client) {
|
|
573
|
-
this.client = client;
|
|
574
|
-
}
|
|
575
|
-
Workspaces.prototype.get = function (resourceGroupName$$1, workspaceName$$1, options, callback) {
|
|
576
|
-
return this.client.sendOperationRequest({
|
|
577
|
-
resourceGroupName: resourceGroupName$$1,
|
|
578
|
-
workspaceName: workspaceName$$1,
|
|
579
|
-
options: options
|
|
580
|
-
}, getOperationSpec, callback);
|
|
581
|
-
};
|
|
582
|
-
Workspaces.prototype.createOrUpdate = function (resourceGroupName$$1, workspaceName$$1, parameters, options, callback) {
|
|
583
|
-
return this.client.sendOperationRequest({
|
|
584
|
-
resourceGroupName: resourceGroupName$$1,
|
|
585
|
-
workspaceName: workspaceName$$1,
|
|
586
|
-
parameters: parameters,
|
|
587
|
-
options: options
|
|
588
|
-
}, createOrUpdateOperationSpec, callback);
|
|
589
|
-
};
|
|
590
|
-
Workspaces.prototype.deleteMethod = function (resourceGroupName$$1, workspaceName$$1, options, callback) {
|
|
591
|
-
return this.client.sendOperationRequest({
|
|
592
|
-
resourceGroupName: resourceGroupName$$1,
|
|
593
|
-
workspaceName: workspaceName$$1,
|
|
594
|
-
options: options
|
|
595
|
-
}, deleteMethodOperationSpec, callback);
|
|
596
|
-
};
|
|
597
|
-
Workspaces.prototype.update = function (resourceGroupName$$1, workspaceName$$1, parameters, options, callback) {
|
|
598
|
-
return this.client.sendOperationRequest({
|
|
599
|
-
resourceGroupName: resourceGroupName$$1,
|
|
600
|
-
workspaceName: workspaceName$$1,
|
|
601
|
-
parameters: parameters,
|
|
602
|
-
options: options
|
|
603
|
-
}, updateOperationSpec, callback);
|
|
604
|
-
};
|
|
605
|
-
Workspaces.prototype.resyncStorageKeys = function (workspaceName$$1, resourceGroupName$$1, options, callback) {
|
|
606
|
-
return this.client.sendOperationRequest({
|
|
607
|
-
workspaceName: workspaceName$$1,
|
|
608
|
-
resourceGroupName: resourceGroupName$$1,
|
|
609
|
-
options: options
|
|
610
|
-
}, resyncStorageKeysOperationSpec, callback);
|
|
611
|
-
};
|
|
612
|
-
Workspaces.prototype.listWorkspaceKeys = function (workspaceName$$1, resourceGroupName$$1, options, callback) {
|
|
613
|
-
return this.client.sendOperationRequest({
|
|
614
|
-
workspaceName: workspaceName$$1,
|
|
615
|
-
resourceGroupName: resourceGroupName$$1,
|
|
616
|
-
options: options
|
|
617
|
-
}, listWorkspaceKeysOperationSpec, callback);
|
|
618
|
-
};
|
|
619
|
-
Workspaces.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) {
|
|
620
|
-
return this.client.sendOperationRequest({
|
|
621
|
-
resourceGroupName: resourceGroupName$$1,
|
|
622
|
-
options: options
|
|
623
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
624
|
-
};
|
|
625
|
-
Workspaces.prototype.list = function (options, callback) {
|
|
626
|
-
return this.client.sendOperationRequest({
|
|
627
|
-
options: options
|
|
628
|
-
}, listOperationSpec$1, callback);
|
|
629
|
-
};
|
|
630
|
-
Workspaces.prototype.listByResourceGroupNext = function (nextPageLink$$1, options, callback) {
|
|
631
|
-
return this.client.sendOperationRequest({
|
|
632
|
-
nextPageLink: nextPageLink$$1,
|
|
633
|
-
options: options
|
|
634
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
635
|
-
};
|
|
636
|
-
Workspaces.prototype.listNext = function (nextPageLink$$1, options, callback) {
|
|
637
|
-
return this.client.sendOperationRequest({
|
|
638
|
-
nextPageLink: nextPageLink$$1,
|
|
639
|
-
options: options
|
|
640
|
-
}, listNextOperationSpec, callback);
|
|
641
|
-
};
|
|
642
|
-
return Workspaces;
|
|
643
|
-
}());
|
|
644
|
-
// Operation Specifications
|
|
645
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
646
|
-
var getOperationSpec = {
|
|
647
|
-
httpMethod: "GET",
|
|
648
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
649
|
-
urlParameters: [
|
|
650
|
-
subscriptionId,
|
|
651
|
-
resourceGroupName,
|
|
652
|
-
workspaceName
|
|
653
|
-
],
|
|
654
|
-
queryParameters: [
|
|
655
|
-
apiVersion
|
|
656
|
-
],
|
|
657
|
-
headerParameters: [
|
|
658
|
-
acceptLanguage
|
|
659
|
-
],
|
|
660
|
-
responses: {
|
|
661
|
-
200: {
|
|
662
|
-
bodyMapper: Workspace
|
|
663
|
-
},
|
|
664
|
-
default: {
|
|
665
|
-
bodyMapper: ErrorResponse
|
|
666
|
-
}
|
|
667
|
-
},
|
|
668
|
-
serializer: serializer$1
|
|
669
|
-
};
|
|
670
|
-
var createOrUpdateOperationSpec = {
|
|
671
|
-
httpMethod: "PUT",
|
|
672
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
673
|
-
urlParameters: [
|
|
674
|
-
subscriptionId,
|
|
675
|
-
resourceGroupName,
|
|
676
|
-
workspaceName
|
|
677
|
-
],
|
|
678
|
-
queryParameters: [
|
|
679
|
-
apiVersion
|
|
680
|
-
],
|
|
681
|
-
headerParameters: [
|
|
682
|
-
acceptLanguage
|
|
683
|
-
],
|
|
684
|
-
requestBody: {
|
|
685
|
-
parameterPath: "parameters",
|
|
686
|
-
mapper: __assign({}, Workspace, { required: true })
|
|
687
|
-
},
|
|
688
|
-
responses: {
|
|
689
|
-
200: {
|
|
690
|
-
bodyMapper: Workspace
|
|
691
|
-
},
|
|
692
|
-
default: {
|
|
693
|
-
bodyMapper: ErrorResponse
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
serializer: serializer$1
|
|
697
|
-
};
|
|
698
|
-
var deleteMethodOperationSpec = {
|
|
699
|
-
httpMethod: "DELETE",
|
|
700
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
701
|
-
urlParameters: [
|
|
702
|
-
subscriptionId,
|
|
703
|
-
resourceGroupName,
|
|
704
|
-
workspaceName
|
|
705
|
-
],
|
|
706
|
-
queryParameters: [
|
|
707
|
-
apiVersion
|
|
708
|
-
],
|
|
709
|
-
headerParameters: [
|
|
710
|
-
acceptLanguage
|
|
711
|
-
],
|
|
712
|
-
responses: {
|
|
713
|
-
200: {},
|
|
714
|
-
204: {},
|
|
715
|
-
default: {
|
|
716
|
-
bodyMapper: ErrorResponse
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
|
-
serializer: serializer$1
|
|
720
|
-
};
|
|
721
|
-
var updateOperationSpec = {
|
|
722
|
-
httpMethod: "PATCH",
|
|
723
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
724
|
-
urlParameters: [
|
|
725
|
-
subscriptionId,
|
|
726
|
-
resourceGroupName,
|
|
727
|
-
workspaceName
|
|
728
|
-
],
|
|
729
|
-
queryParameters: [
|
|
730
|
-
apiVersion
|
|
731
|
-
],
|
|
732
|
-
headerParameters: [
|
|
733
|
-
acceptLanguage
|
|
734
|
-
],
|
|
735
|
-
requestBody: {
|
|
736
|
-
parameterPath: "parameters",
|
|
737
|
-
mapper: __assign({}, WorkspaceUpdateParameters, { required: true })
|
|
738
|
-
},
|
|
739
|
-
responses: {
|
|
740
|
-
200: {
|
|
741
|
-
bodyMapper: Workspace
|
|
742
|
-
},
|
|
743
|
-
default: {
|
|
744
|
-
bodyMapper: ErrorResponse
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
serializer: serializer$1
|
|
748
|
-
};
|
|
749
|
-
var resyncStorageKeysOperationSpec = {
|
|
750
|
-
httpMethod: "POST",
|
|
751
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/resyncStorageKeys",
|
|
752
|
-
urlParameters: [
|
|
753
|
-
subscriptionId,
|
|
754
|
-
workspaceName,
|
|
755
|
-
resourceGroupName
|
|
756
|
-
],
|
|
757
|
-
queryParameters: [
|
|
758
|
-
apiVersion
|
|
759
|
-
],
|
|
760
|
-
headerParameters: [
|
|
761
|
-
acceptLanguage
|
|
762
|
-
],
|
|
763
|
-
responses: {
|
|
764
|
-
200: {},
|
|
765
|
-
default: {
|
|
766
|
-
bodyMapper: ErrorResponse
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
serializer: serializer$1
|
|
770
|
-
};
|
|
771
|
-
var listWorkspaceKeysOperationSpec = {
|
|
772
|
-
httpMethod: "POST",
|
|
773
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/listWorkspaceKeys",
|
|
774
|
-
urlParameters: [
|
|
775
|
-
subscriptionId,
|
|
776
|
-
workspaceName,
|
|
777
|
-
resourceGroupName
|
|
778
|
-
],
|
|
779
|
-
queryParameters: [
|
|
780
|
-
apiVersion
|
|
781
|
-
],
|
|
782
|
-
headerParameters: [
|
|
783
|
-
acceptLanguage
|
|
784
|
-
],
|
|
785
|
-
responses: {
|
|
786
|
-
200: {
|
|
787
|
-
bodyMapper: WorkspaceKeysResponse
|
|
788
|
-
},
|
|
789
|
-
default: {
|
|
790
|
-
bodyMapper: ErrorResponse
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
|
-
serializer: serializer$1
|
|
794
|
-
};
|
|
795
|
-
var listByResourceGroupOperationSpec = {
|
|
796
|
-
httpMethod: "GET",
|
|
797
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces",
|
|
798
|
-
urlParameters: [
|
|
799
|
-
subscriptionId,
|
|
800
|
-
resourceGroupName
|
|
801
|
-
],
|
|
802
|
-
queryParameters: [
|
|
803
|
-
apiVersion
|
|
804
|
-
],
|
|
805
|
-
headerParameters: [
|
|
806
|
-
acceptLanguage
|
|
807
|
-
],
|
|
808
|
-
responses: {
|
|
809
|
-
200: {
|
|
810
|
-
bodyMapper: WorkspaceListResult
|
|
811
|
-
},
|
|
812
|
-
default: {
|
|
813
|
-
bodyMapper: ErrorResponse
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
serializer: serializer$1
|
|
817
|
-
};
|
|
818
|
-
var listOperationSpec$1 = {
|
|
819
|
-
httpMethod: "GET",
|
|
820
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces",
|
|
821
|
-
urlParameters: [
|
|
822
|
-
subscriptionId
|
|
823
|
-
],
|
|
824
|
-
queryParameters: [
|
|
825
|
-
apiVersion
|
|
826
|
-
],
|
|
827
|
-
headerParameters: [
|
|
828
|
-
acceptLanguage
|
|
829
|
-
],
|
|
830
|
-
responses: {
|
|
831
|
-
200: {
|
|
832
|
-
bodyMapper: WorkspaceListResult
|
|
833
|
-
},
|
|
834
|
-
default: {
|
|
835
|
-
bodyMapper: ErrorResponse
|
|
836
|
-
}
|
|
837
|
-
},
|
|
838
|
-
serializer: serializer$1
|
|
839
|
-
};
|
|
840
|
-
var listByResourceGroupNextOperationSpec = {
|
|
841
|
-
httpMethod: "GET",
|
|
842
|
-
baseUrl: "https://management.azure.com",
|
|
843
|
-
path: "{nextLink}",
|
|
844
|
-
urlParameters: [
|
|
845
|
-
nextPageLink
|
|
846
|
-
],
|
|
847
|
-
headerParameters: [
|
|
848
|
-
acceptLanguage
|
|
849
|
-
],
|
|
850
|
-
responses: {
|
|
851
|
-
200: {
|
|
852
|
-
bodyMapper: WorkspaceListResult
|
|
853
|
-
},
|
|
854
|
-
default: {
|
|
855
|
-
bodyMapper: ErrorResponse
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
serializer: serializer$1
|
|
859
|
-
};
|
|
860
|
-
var listNextOperationSpec = {
|
|
861
|
-
httpMethod: "GET",
|
|
862
|
-
baseUrl: "https://management.azure.com",
|
|
863
|
-
path: "{nextLink}",
|
|
864
|
-
urlParameters: [
|
|
865
|
-
nextPageLink
|
|
866
|
-
],
|
|
867
|
-
headerParameters: [
|
|
868
|
-
acceptLanguage
|
|
869
|
-
],
|
|
870
|
-
responses: {
|
|
871
|
-
200: {
|
|
872
|
-
bodyMapper: WorkspaceListResult
|
|
873
|
-
},
|
|
874
|
-
default: {
|
|
875
|
-
bodyMapper: ErrorResponse
|
|
876
|
-
}
|
|
877
|
-
},
|
|
878
|
-
serializer: serializer$1
|
|
879
|
-
};
|
|
880
|
-
|
|
881
|
-
/*
|
|
882
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
883
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
884
|
-
* license information.
|
|
885
|
-
*
|
|
886
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
887
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
888
|
-
* regenerated.
|
|
889
|
-
*/
|
|
890
|
-
|
|
891
|
-
/*
|
|
892
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
893
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
894
|
-
* license information.
|
|
895
|
-
*
|
|
896
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
897
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
898
|
-
* regenerated.
|
|
899
|
-
*/
|
|
900
|
-
var packageName = "@azure/arm-workspaces";
|
|
901
|
-
var packageVersion = "0.1.1";
|
|
902
|
-
var MachineLearningWorkspacesManagementClientContext = /** @class */ (function (_super) {
|
|
903
|
-
__extends(MachineLearningWorkspacesManagementClientContext, _super);
|
|
904
|
-
/**
|
|
905
|
-
* Initializes a new instance of the MachineLearningWorkspacesManagementClient class.
|
|
906
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
907
|
-
* @param subscriptionId The Microsoft Azure subscription ID.
|
|
908
|
-
* @param [options] The parameter options
|
|
909
|
-
*/
|
|
910
|
-
function MachineLearningWorkspacesManagementClientContext(credentials, subscriptionId, options) {
|
|
911
|
-
var _this = this;
|
|
912
|
-
if (credentials == undefined) {
|
|
913
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
914
|
-
}
|
|
915
|
-
if (subscriptionId == undefined) {
|
|
916
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
917
|
-
}
|
|
918
|
-
if (!options) {
|
|
919
|
-
options = {};
|
|
920
|
-
}
|
|
921
|
-
if (!options.userAgent) {
|
|
922
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
923
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
924
|
-
}
|
|
925
|
-
_this = _super.call(this, credentials, options) || this;
|
|
926
|
-
_this.apiVersion = '2016-04-01';
|
|
927
|
-
_this.acceptLanguage = 'en-US';
|
|
928
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
929
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
930
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
931
|
-
_this.credentials = credentials;
|
|
932
|
-
_this.subscriptionId = subscriptionId;
|
|
933
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
934
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
935
|
-
}
|
|
936
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
937
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
938
|
-
}
|
|
939
|
-
return _this;
|
|
940
|
-
}
|
|
941
|
-
return MachineLearningWorkspacesManagementClientContext;
|
|
942
|
-
}(msRestAzure.AzureServiceClient));
|
|
943
|
-
|
|
944
|
-
/*
|
|
945
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
946
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
947
|
-
* license information.
|
|
948
|
-
*
|
|
949
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
950
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
951
|
-
* regenerated.
|
|
952
|
-
*/
|
|
953
|
-
var MachineLearningWorkspacesManagementClient = /** @class */ (function (_super) {
|
|
954
|
-
__extends(MachineLearningWorkspacesManagementClient, _super);
|
|
955
|
-
/**
|
|
956
|
-
* Initializes a new instance of the MachineLearningWorkspacesManagementClient class.
|
|
957
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
958
|
-
* @param subscriptionId The Microsoft Azure subscription ID.
|
|
959
|
-
* @param [options] The parameter options
|
|
960
|
-
*/
|
|
961
|
-
function MachineLearningWorkspacesManagementClient(credentials, subscriptionId, options) {
|
|
962
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
963
|
-
_this.operations = new Operations(_this);
|
|
964
|
-
_this.workspaces = new Workspaces(_this);
|
|
965
|
-
return _this;
|
|
966
|
-
}
|
|
967
|
-
return MachineLearningWorkspacesManagementClient;
|
|
968
|
-
}(MachineLearningWorkspacesManagementClientContext));
|
|
969
|
-
|
|
970
|
-
exports.MachineLearningWorkspacesManagementClient = MachineLearningWorkspacesManagementClient;
|
|
971
|
-
exports.MachineLearningWorkspacesManagementClientContext = MachineLearningWorkspacesManagementClientContext;
|
|
972
|
-
exports.MachineLearningWorkspacesManagementModels = index;
|
|
973
|
-
exports.MachineLearningWorkspacesManagementMappers = mappers;
|
|
974
|
-
exports.Operations = Operations;
|
|
975
|
-
exports.Workspaces = Workspaces;
|
|
976
|
-
|
|
977
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
978
|
-
|
|
979
|
-
})));
|
|
980
|
-
//# sourceMappingURL=arm-workspaces.js.map
|