@azure/arm-machinelearningcompute 2.1.1 → 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 (158) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -83
  4. package/dist/index.js +1821 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts +2 -0
  9. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js +31 -0
  11. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js.map +1 -0
  12. package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts +2 -0
  13. package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/deleteOperationalizationCluster.js +31 -0
  15. package/dist-esm/samples-dev/deleteOperationalizationCluster.js.map +1 -0
  16. package/dist-esm/samples-dev/getOperationalizationCluster.d.ts +2 -0
  17. package/dist-esm/samples-dev/getOperationalizationCluster.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/getOperationalizationCluster.js +31 -0
  19. package/dist-esm/samples-dev/getOperationalizationCluster.js.map +1 -0
  20. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts +2 -0
  21. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js +31 -0
  23. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js.map +1 -0
  24. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts +2 -0
  25. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js +44 -0
  27. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js.map +1 -0
  28. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts +2 -0
  29. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js +43 -0
  31. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js.map +1 -0
  32. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts +2 -0
  33. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js +29 -0
  35. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js.map +1 -0
  36. package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts +2 -0
  37. package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/patchOperationalizationCluster.js +34 -0
  39. package/dist-esm/samples-dev/patchOperationalizationCluster.js.map +1 -0
  40. package/dist-esm/samples-dev/putOperationalizationCluster.d.ts +2 -0
  41. package/dist-esm/samples-dev/putOperationalizationCluster.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/putOperationalizationCluster.js +54 -0
  43. package/dist-esm/samples-dev/putOperationalizationCluster.js.map +1 -0
  44. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts +2 -0
  45. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js +31 -0
  47. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js.map +1 -0
  48. package/dist-esm/src/index.d.ts +5 -0
  49. package/dist-esm/src/index.d.ts.map +1 -0
  50. package/dist-esm/src/index.js +12 -0
  51. package/dist-esm/src/index.js.map +1 -0
  52. package/dist-esm/src/lroImpl.d.ts +16 -0
  53. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  54. package/dist-esm/src/lroImpl.js +29 -0
  55. package/dist-esm/src/lroImpl.js.map +1 -0
  56. package/dist-esm/src/machineLearningComputeManagementClient.d.ts +19 -0
  57. package/dist-esm/src/machineLearningComputeManagementClient.d.ts.map +1 -0
  58. package/dist-esm/src/machineLearningComputeManagementClient.js +52 -0
  59. package/dist-esm/src/machineLearningComputeManagementClient.js.map +1 -0
  60. package/dist-esm/src/models/index.d.ts +637 -0
  61. package/dist-esm/src/models/index.d.ts.map +1 -0
  62. package/dist-esm/src/models/index.js +101 -0
  63. package/dist-esm/src/models/index.js.map +1 -0
  64. package/dist-esm/src/models/mappers.d.ts +32 -0
  65. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  66. package/{esm → dist-esm/src}/models/mappers.js +347 -401
  67. package/dist-esm/src/models/mappers.js.map +1 -0
  68. package/dist-esm/src/models/parameters.d.ts +14 -0
  69. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  70. package/dist-esm/src/models/parameters.js +130 -0
  71. package/dist-esm/src/models/parameters.js.map +1 -0
  72. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  73. package/dist-esm/src/operations/index.d.ts.map +1 -0
  74. package/{esm → dist-esm/src}/operations/index.js +1 -2
  75. package/dist-esm/src/operations/index.js.map +1 -0
  76. package/dist-esm/src/operations/machineLearningCompute.d.ts +18 -0
  77. package/dist-esm/src/operations/machineLearningCompute.d.ts.map +1 -0
  78. package/dist-esm/src/operations/machineLearningCompute.js +43 -0
  79. package/dist-esm/src/operations/machineLearningCompute.js.map +1 -0
  80. package/dist-esm/src/operations/operationalizationClusters.d.ts +130 -0
  81. package/dist-esm/src/operations/operationalizationClusters.d.ts.map +1 -0
  82. package/dist-esm/src/operations/operationalizationClusters.js +579 -0
  83. package/dist-esm/src/operations/operationalizationClusters.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  85. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  86. package/{esm/models/machineLearningComputeMappers.js → dist-esm/src/operationsInterfaces/index.js} +3 -2
  87. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/machineLearningCompute.d.ts +10 -0
  89. package/dist-esm/src/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
  90. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/machineLearningCompute.js} +2 -1
  91. package/dist-esm/src/operationsInterfaces/machineLearningCompute.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/operationalizationClusters.d.ts +94 -0
  93. package/dist-esm/src/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/operationalizationClusters.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/operationalizationClusters.js.map +1 -0
  96. package/dist-esm/test/sampleTest.d.ts +2 -0
  97. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  98. package/dist-esm/test/sampleTest.js +40 -0
  99. package/dist-esm/test/sampleTest.js.map +1 -0
  100. package/package.json +80 -33
  101. package/review/arm-machinelearningcompute.api.md +545 -0
  102. package/rollup.config.js +181 -30
  103. package/src/index.ts +12 -0
  104. package/src/lroImpl.ts +34 -0
  105. package/src/machineLearningComputeManagementClient.ts +68 -34
  106. package/src/models/index.ts +518 -800
  107. package/src/models/mappers.ts +357 -411
  108. package/src/models/parameters.ts +89 -45
  109. package/src/operations/index.ts +1 -2
  110. package/src/operations/machineLearningCompute.ts +29 -43
  111. package/src/operations/operationalizationClusters.ts +589 -461
  112. package/src/{models/machineLearningComputeMappers.ts → operationsInterfaces/index.ts} +2 -6
  113. package/src/operationsInterfaces/machineLearningCompute.ts +23 -0
  114. package/src/operationsInterfaces/operationalizationClusters.ts +189 -0
  115. package/tsconfig.json +5 -4
  116. package/types/arm-machinelearningcompute.d.ts +826 -0
  117. package/types/tsdoc-metadata.json +11 -0
  118. package/dist/arm-machinelearningcompute.js +0 -1764
  119. package/dist/arm-machinelearningcompute.js.map +0 -1
  120. package/dist/arm-machinelearningcompute.min.js +0 -1
  121. package/dist/arm-machinelearningcompute.min.js.map +0 -1
  122. package/esm/machineLearningComputeManagementClient.d.ts +0 -25
  123. package/esm/machineLearningComputeManagementClient.d.ts.map +0 -1
  124. package/esm/machineLearningComputeManagementClient.js +0 -38
  125. package/esm/machineLearningComputeManagementClient.js.map +0 -1
  126. package/esm/machineLearningComputeManagementClientContext.d.ts +0 -22
  127. package/esm/machineLearningComputeManagementClientContext.d.ts.map +0 -1
  128. package/esm/machineLearningComputeManagementClientContext.js +0 -60
  129. package/esm/machineLearningComputeManagementClientContext.js.map +0 -1
  130. package/esm/models/index.d.ts +0 -925
  131. package/esm/models/index.d.ts.map +0 -1
  132. package/esm/models/index.js.map +0 -1
  133. package/esm/models/machineLearningComputeMappers.d.ts +0 -2
  134. package/esm/models/machineLearningComputeMappers.d.ts.map +0 -1
  135. package/esm/models/machineLearningComputeMappers.js.map +0 -1
  136. package/esm/models/mappers.d.ts +0 -34
  137. package/esm/models/mappers.d.ts.map +0 -1
  138. package/esm/models/mappers.js.map +0 -1
  139. package/esm/models/operationalizationClustersMappers.d.ts +0 -2
  140. package/esm/models/operationalizationClustersMappers.d.ts.map +0 -1
  141. package/esm/models/operationalizationClustersMappers.js +0 -9
  142. package/esm/models/operationalizationClustersMappers.js.map +0 -1
  143. package/esm/models/parameters.d.ts +0 -10
  144. package/esm/models/parameters.d.ts.map +0 -1
  145. package/esm/models/parameters.js +0 -104
  146. package/esm/models/parameters.js.map +0 -1
  147. package/esm/operations/index.d.ts.map +0 -1
  148. package/esm/operations/index.js.map +0 -1
  149. package/esm/operations/machineLearningCompute.d.ts +0 -28
  150. package/esm/operations/machineLearningCompute.d.ts.map +0 -1
  151. package/esm/operations/machineLearningCompute.js +0 -50
  152. package/esm/operations/machineLearningCompute.js.map +0 -1
  153. package/esm/operations/operationalizationClusters.d.ts +0 -223
  154. package/esm/operations/operationalizationClusters.d.ts.map +0 -1
  155. package/esm/operations/operationalizationClusters.js +0 -441
  156. package/esm/operations/operationalizationClusters.js.map +0 -1
  157. package/src/machineLearningComputeManagementClientContext.ts +0 -67
  158. package/src/models/operationalizationClustersMappers.ts +0 -39
@@ -1,441 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/operationalizationClustersMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a OperationalizationClusters. */
14
- var OperationalizationClusters = /** @class */ (function () {
15
- /**
16
- * Create a OperationalizationClusters.
17
- * @param {MachineLearningComputeManagementClientContext} client Reference to the service client.
18
- */
19
- function OperationalizationClusters(client) {
20
- this.client = client;
21
- }
22
- /**
23
- * Create or update an operationalization cluster.
24
- * @param resourceGroupName Name of the resource group in which the cluster is located.
25
- * @param clusterName The name of the cluster.
26
- * @param parameters Parameters supplied to create or update an Operationalization cluster.
27
- * @param [options] The optional parameters
28
- * @returns Promise<Models.OperationalizationClustersCreateOrUpdateResponse>
29
- */
30
- OperationalizationClusters.prototype.createOrUpdate = function (resourceGroupName, clusterName, parameters, options) {
31
- return this.beginCreateOrUpdate(resourceGroupName, clusterName, parameters, options)
32
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
33
- };
34
- OperationalizationClusters.prototype.get = function (resourceGroupName, clusterName, options, callback) {
35
- return this.client.sendOperationRequest({
36
- resourceGroupName: resourceGroupName,
37
- clusterName: clusterName,
38
- options: options
39
- }, getOperationSpec, callback);
40
- };
41
- OperationalizationClusters.prototype.update = function (resourceGroupName, clusterName, parameters, options, callback) {
42
- return this.client.sendOperationRequest({
43
- resourceGroupName: resourceGroupName,
44
- clusterName: clusterName,
45
- parameters: parameters,
46
- options: options
47
- }, updateOperationSpec, callback);
48
- };
49
- /**
50
- * Deletes the specified cluster.
51
- * @param resourceGroupName Name of the resource group in which the cluster is located.
52
- * @param clusterName The name of the cluster.
53
- * @param [options] The optional parameters
54
- * @returns Promise<Models.OperationalizationClustersDeleteResponse>
55
- */
56
- OperationalizationClusters.prototype.deleteMethod = function (resourceGroupName, clusterName, options) {
57
- return this.beginDeleteMethod(resourceGroupName, clusterName, options)
58
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
59
- };
60
- OperationalizationClusters.prototype.listKeys = function (resourceGroupName, clusterName, options, callback) {
61
- return this.client.sendOperationRequest({
62
- resourceGroupName: resourceGroupName,
63
- clusterName: clusterName,
64
- options: options
65
- }, listKeysOperationSpec, callback);
66
- };
67
- OperationalizationClusters.prototype.checkSystemServicesUpdatesAvailable = function (resourceGroupName, clusterName, options, callback) {
68
- return this.client.sendOperationRequest({
69
- resourceGroupName: resourceGroupName,
70
- clusterName: clusterName,
71
- options: options
72
- }, checkSystemServicesUpdatesAvailableOperationSpec, callback);
73
- };
74
- /**
75
- * Updates system services in a cluster.
76
- * @param resourceGroupName Name of the resource group in which the cluster is located.
77
- * @param clusterName The name of the cluster.
78
- * @param [options] The optional parameters
79
- * @returns Promise<Models.OperationalizationClustersUpdateSystemServicesResponse>
80
- */
81
- OperationalizationClusters.prototype.updateSystemServices = function (resourceGroupName, clusterName, options) {
82
- return this.beginUpdateSystemServices(resourceGroupName, clusterName, options)
83
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
84
- };
85
- OperationalizationClusters.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
86
- return this.client.sendOperationRequest({
87
- resourceGroupName: resourceGroupName,
88
- options: options
89
- }, listByResourceGroupOperationSpec, callback);
90
- };
91
- OperationalizationClusters.prototype.listBySubscriptionId = function (options, callback) {
92
- return this.client.sendOperationRequest({
93
- options: options
94
- }, listBySubscriptionIdOperationSpec, callback);
95
- };
96
- /**
97
- * Create or update an operationalization cluster.
98
- * @param resourceGroupName Name of the resource group in which the cluster is located.
99
- * @param clusterName The name of the cluster.
100
- * @param parameters Parameters supplied to create or update an Operationalization cluster.
101
- * @param [options] The optional parameters
102
- * @returns Promise<msRestAzure.LROPoller>
103
- */
104
- OperationalizationClusters.prototype.beginCreateOrUpdate = function (resourceGroupName, clusterName, parameters, options) {
105
- return this.client.sendLRORequest({
106
- resourceGroupName: resourceGroupName,
107
- clusterName: clusterName,
108
- parameters: parameters,
109
- options: options
110
- }, beginCreateOrUpdateOperationSpec, options);
111
- };
112
- /**
113
- * Deletes the specified cluster.
114
- * @param resourceGroupName Name of the resource group in which the cluster is located.
115
- * @param clusterName The name of the cluster.
116
- * @param [options] The optional parameters
117
- * @returns Promise<msRestAzure.LROPoller>
118
- */
119
- OperationalizationClusters.prototype.beginDeleteMethod = function (resourceGroupName, clusterName, options) {
120
- return this.client.sendLRORequest({
121
- resourceGroupName: resourceGroupName,
122
- clusterName: clusterName,
123
- options: options
124
- }, beginDeleteMethodOperationSpec, options);
125
- };
126
- /**
127
- * Updates system services in a cluster.
128
- * @param resourceGroupName Name of the resource group in which the cluster is located.
129
- * @param clusterName The name of the cluster.
130
- * @param [options] The optional parameters
131
- * @returns Promise<msRestAzure.LROPoller>
132
- */
133
- OperationalizationClusters.prototype.beginUpdateSystemServices = function (resourceGroupName, clusterName, options) {
134
- return this.client.sendLRORequest({
135
- resourceGroupName: resourceGroupName,
136
- clusterName: clusterName,
137
- options: options
138
- }, beginUpdateSystemServicesOperationSpec, options);
139
- };
140
- OperationalizationClusters.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
141
- return this.client.sendOperationRequest({
142
- nextPageLink: nextPageLink,
143
- options: options
144
- }, listByResourceGroupNextOperationSpec, callback);
145
- };
146
- OperationalizationClusters.prototype.listBySubscriptionIdNext = function (nextPageLink, options, callback) {
147
- return this.client.sendOperationRequest({
148
- nextPageLink: nextPageLink,
149
- options: options
150
- }, listBySubscriptionIdNextOperationSpec, callback);
151
- };
152
- return OperationalizationClusters;
153
- }());
154
- export { OperationalizationClusters };
155
- // Operation Specifications
156
- var serializer = new msRest.Serializer(Mappers);
157
- var getOperationSpec = {
158
- httpMethod: "GET",
159
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
160
- urlParameters: [
161
- Parameters.subscriptionId,
162
- Parameters.resourceGroupName,
163
- Parameters.clusterName
164
- ],
165
- queryParameters: [
166
- Parameters.apiVersion
167
- ],
168
- headerParameters: [
169
- Parameters.acceptLanguage
170
- ],
171
- responses: {
172
- 200: {
173
- bodyMapper: Mappers.OperationalizationCluster
174
- },
175
- default: {
176
- bodyMapper: Mappers.ErrorResponseWrapper
177
- }
178
- },
179
- serializer: serializer
180
- };
181
- var updateOperationSpec = {
182
- httpMethod: "PATCH",
183
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
184
- urlParameters: [
185
- Parameters.subscriptionId,
186
- Parameters.resourceGroupName,
187
- Parameters.clusterName
188
- ],
189
- queryParameters: [
190
- Parameters.apiVersion
191
- ],
192
- headerParameters: [
193
- Parameters.acceptLanguage
194
- ],
195
- requestBody: {
196
- parameterPath: "parameters",
197
- mapper: __assign(__assign({}, Mappers.OperationalizationClusterUpdateParameters), { required: true })
198
- },
199
- responses: {
200
- 200: {
201
- bodyMapper: Mappers.OperationalizationCluster
202
- },
203
- default: {
204
- bodyMapper: Mappers.ErrorResponseWrapper
205
- }
206
- },
207
- serializer: serializer
208
- };
209
- var listKeysOperationSpec = {
210
- httpMethod: "POST",
211
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/listKeys",
212
- urlParameters: [
213
- Parameters.subscriptionId,
214
- Parameters.resourceGroupName,
215
- Parameters.clusterName
216
- ],
217
- queryParameters: [
218
- Parameters.apiVersion
219
- ],
220
- headerParameters: [
221
- Parameters.acceptLanguage
222
- ],
223
- responses: {
224
- 200: {
225
- bodyMapper: Mappers.OperationalizationClusterCredentials
226
- },
227
- default: {
228
- bodyMapper: Mappers.CloudError
229
- }
230
- },
231
- serializer: serializer
232
- };
233
- var checkSystemServicesUpdatesAvailableOperationSpec = {
234
- httpMethod: "POST",
235
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/checkSystemServicesUpdatesAvailable",
236
- urlParameters: [
237
- Parameters.subscriptionId,
238
- Parameters.resourceGroupName,
239
- Parameters.clusterName
240
- ],
241
- queryParameters: [
242
- Parameters.apiVersion
243
- ],
244
- headerParameters: [
245
- Parameters.acceptLanguage
246
- ],
247
- responses: {
248
- 200: {
249
- bodyMapper: Mappers.CheckSystemServicesUpdatesAvailableResponse
250
- },
251
- default: {
252
- bodyMapper: Mappers.CloudError
253
- }
254
- },
255
- serializer: serializer
256
- };
257
- var listByResourceGroupOperationSpec = {
258
- httpMethod: "GET",
259
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
260
- urlParameters: [
261
- Parameters.subscriptionId,
262
- Parameters.resourceGroupName
263
- ],
264
- queryParameters: [
265
- Parameters.apiVersion,
266
- Parameters.skiptoken
267
- ],
268
- headerParameters: [
269
- Parameters.acceptLanguage
270
- ],
271
- responses: {
272
- 200: {
273
- bodyMapper: Mappers.PaginatedOperationalizationClustersList
274
- },
275
- default: {
276
- bodyMapper: Mappers.CloudError
277
- }
278
- },
279
- serializer: serializer
280
- };
281
- var listBySubscriptionIdOperationSpec = {
282
- httpMethod: "GET",
283
- path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
284
- urlParameters: [
285
- Parameters.subscriptionId
286
- ],
287
- queryParameters: [
288
- Parameters.apiVersion,
289
- Parameters.skiptoken
290
- ],
291
- headerParameters: [
292
- Parameters.acceptLanguage
293
- ],
294
- responses: {
295
- 200: {
296
- bodyMapper: Mappers.PaginatedOperationalizationClustersList
297
- },
298
- default: {
299
- bodyMapper: Mappers.CloudError
300
- }
301
- },
302
- serializer: serializer
303
- };
304
- var beginCreateOrUpdateOperationSpec = {
305
- httpMethod: "PUT",
306
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
307
- urlParameters: [
308
- Parameters.subscriptionId,
309
- Parameters.resourceGroupName,
310
- Parameters.clusterName
311
- ],
312
- queryParameters: [
313
- Parameters.apiVersion
314
- ],
315
- headerParameters: [
316
- Parameters.acceptLanguage
317
- ],
318
- requestBody: {
319
- parameterPath: "parameters",
320
- mapper: __assign(__assign({}, Mappers.OperationalizationCluster), { required: true })
321
- },
322
- responses: {
323
- 200: {
324
- bodyMapper: Mappers.OperationalizationCluster
325
- },
326
- 201: {
327
- bodyMapper: Mappers.OperationalizationCluster
328
- },
329
- default: {
330
- bodyMapper: Mappers.ErrorResponseWrapper
331
- }
332
- },
333
- serializer: serializer
334
- };
335
- var beginDeleteMethodOperationSpec = {
336
- httpMethod: "DELETE",
337
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
338
- urlParameters: [
339
- Parameters.subscriptionId,
340
- Parameters.resourceGroupName,
341
- Parameters.clusterName
342
- ],
343
- queryParameters: [
344
- Parameters.apiVersion,
345
- Parameters.deleteAll
346
- ],
347
- headerParameters: [
348
- Parameters.acceptLanguage
349
- ],
350
- responses: {
351
- 202: {
352
- headersMapper: Mappers.OperationalizationClustersDeleteHeaders
353
- },
354
- 204: {
355
- headersMapper: Mappers.OperationalizationClustersDeleteHeaders
356
- },
357
- default: {
358
- bodyMapper: Mappers.ErrorResponseWrapper,
359
- headersMapper: Mappers.OperationalizationClustersDeleteHeaders
360
- }
361
- },
362
- serializer: serializer
363
- };
364
- var beginUpdateSystemServicesOperationSpec = {
365
- httpMethod: "POST",
366
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/updateSystemServices",
367
- urlParameters: [
368
- Parameters.subscriptionId,
369
- Parameters.resourceGroupName,
370
- Parameters.clusterName
371
- ],
372
- queryParameters: [
373
- Parameters.apiVersion
374
- ],
375
- headerParameters: [
376
- Parameters.acceptLanguage
377
- ],
378
- responses: {
379
- 200: {
380
- bodyMapper: Mappers.UpdateSystemServicesResponse,
381
- headersMapper: Mappers.OperationalizationClustersUpdateSystemServicesHeaders
382
- },
383
- 202: {
384
- headersMapper: Mappers.OperationalizationClustersUpdateSystemServicesHeaders
385
- },
386
- default: {
387
- bodyMapper: Mappers.CloudError,
388
- headersMapper: Mappers.OperationalizationClustersUpdateSystemServicesHeaders
389
- }
390
- },
391
- serializer: serializer
392
- };
393
- var listByResourceGroupNextOperationSpec = {
394
- httpMethod: "GET",
395
- baseUrl: "https://management.azure.com",
396
- path: "{nextLink}",
397
- urlParameters: [
398
- Parameters.nextPageLink
399
- ],
400
- queryParameters: [
401
- Parameters.apiVersion,
402
- Parameters.skiptoken
403
- ],
404
- headerParameters: [
405
- Parameters.acceptLanguage
406
- ],
407
- responses: {
408
- 200: {
409
- bodyMapper: Mappers.PaginatedOperationalizationClustersList
410
- },
411
- default: {
412
- bodyMapper: Mappers.CloudError
413
- }
414
- },
415
- serializer: serializer
416
- };
417
- var listBySubscriptionIdNextOperationSpec = {
418
- httpMethod: "GET",
419
- baseUrl: "https://management.azure.com",
420
- path: "{nextLink}",
421
- urlParameters: [
422
- Parameters.nextPageLink
423
- ],
424
- queryParameters: [
425
- Parameters.apiVersion,
426
- Parameters.skiptoken
427
- ],
428
- headerParameters: [
429
- Parameters.acceptLanguage
430
- ],
431
- responses: {
432
- 200: {
433
- bodyMapper: Mappers.PaginatedOperationalizationClustersList
434
- },
435
- default: {
436
- bodyMapper: Mappers.CloudError
437
- }
438
- },
439
- serializer: serializer
440
- };
441
- //# sourceMappingURL=operationalizationClusters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operationalizationClusters.js","sourceRoot":"","sources":["../../src/operations/operationalizationClusters.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,6CAA6C,CAAC;AACvE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uDAAuD;AACvD;IAGE;;;OAGG;IACH,oCAAY,MAAqD;QAC/D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,mDAAc,GAAd,UAAe,iBAAyB,EAAE,WAAmB,EAAE,UAA4C,EAAE,OAAmC;QAC9I,OAAO,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EAAC,WAAW,EAAC,UAAU,EAAC,OAAO,CAAC;aAC9E,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,iBAAiB,EAAE,EAA7B,CAA6B,CAAqE,CAAC;IAC1H,CAAC;IAwBD,wCAAG,GAAH,UAAI,iBAAyB,EAAE,WAAmB,EAAE,OAA8F,EAAE,QAAmE;QACrN,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAA0D,CAAC;IACvE,CAAC;IA2BD,2CAAM,GAAN,UAAO,iBAAyB,EAAE,WAAmB,EAAE,UAA4D,EAAE,OAA8F,EAAE,QAAmE;QACtR,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,UAAU,YAAA;YACV,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAA6D,CAAC;IAC1E,CAAC;IAED;;;;;;OA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U;QACrB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uCAAuC;SAC5D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qCAAqC,GAAyB;IAClE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uCAAuC;SAC5D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,67 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
-
10
- import * as Models from "./models";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import { TokenCredential } from "@azure/core-auth";
13
- import * as msRestAzure from "@azure/ms-rest-azure-js";
14
-
15
- const packageName = "@azure/arm-machinelearningcompute";
16
- const packageVersion = "2.1.1";
17
-
18
- export class MachineLearningComputeManagementClientContext extends msRestAzure.AzureServiceClient {
19
- credentials: msRest.ServiceClientCredentials | TokenCredential;
20
- subscriptionId: string;
21
- apiVersion?: string;
22
-
23
- /**
24
- * Initializes a new instance of the MachineLearningComputeManagementClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
26
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
27
- * more information about these credentials, see
28
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
29
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
30
- * @azure/ms-rest-browserauth are also supported.
31
- * @param subscriptionId The Azure subscription ID.
32
- * @param [options] The parameter options
33
- */
34
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MachineLearningComputeManagementClientOptions) {
35
- if (credentials == undefined) {
36
- throw new Error('\'credentials\' cannot be null.');
37
- }
38
- if (subscriptionId == undefined) {
39
- throw new Error('\'subscriptionId\' cannot be null.');
40
- }
41
-
42
- if (!options) {
43
- options = {};
44
- }
45
- if (!options.userAgent) {
46
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
47
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
48
- }
49
-
50
- super(credentials, options);
51
-
52
- this.apiVersion = '2017-08-01-preview';
53
- this.acceptLanguage = 'en-US';
54
- this.longRunningOperationRetryTimeout = 30;
55
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
56
- this.requestContentType = "application/json; charset=utf-8";
57
- this.credentials = credentials;
58
- this.subscriptionId = subscriptionId;
59
-
60
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
61
- this.acceptLanguage = options.acceptLanguage;
62
- }
63
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
64
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
65
- }
66
- }
67
- }
@@ -1,39 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export {
10
- AcsClusterProperties,
11
- AppInsightsCredentials,
12
- AppInsightsProperties,
13
- AutoScaleConfiguration,
14
- BaseResource,
15
- CheckSystemServicesUpdatesAvailableResponse,
16
- CloudError,
17
- ContainerRegistryCredentials,
18
- ContainerRegistryProperties,
19
- ContainerServiceCredentials,
20
- ErrorDetail,
21
- ErrorResponse,
22
- ErrorResponseWrapper,
23
- GlobalServiceConfiguration,
24
- KubernetesClusterProperties,
25
- OperationalizationCluster,
26
- OperationalizationClusterCredentials,
27
- OperationalizationClustersDeleteHeaders,
28
- OperationalizationClustersUpdateSystemServicesHeaders,
29
- OperationalizationClusterUpdateParameters,
30
- PaginatedOperationalizationClustersList,
31
- Resource,
32
- ServiceAuthConfiguration,
33
- ServicePrincipalProperties,
34
- SslConfiguration,
35
- StorageAccountCredentials,
36
- StorageAccountProperties,
37
- SystemService,
38
- UpdateSystemServicesResponse
39
- } from "../models/mappers";