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