@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,432 +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
- import * as tslib_1 from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/operationalizationClustersMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a OperationalizationClusters. */
15
- var OperationalizationClusters = /** @class */ (function () {
16
- /**
17
- * Create a OperationalizationClusters.
18
- * @param {MachineLearningComputeManagementClientContext} client Reference to the service client.
19
- */
20
- function OperationalizationClusters(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * Create or update an operationalization cluster.
25
- * @param resourceGroupName Name of the resource group in which the cluster is located.
26
- * @param clusterName The name of the cluster.
27
- * @param parameters Parameters supplied to create or update an Operationalization cluster.
28
- * @param [options] The optional parameters
29
- * @returns Promise<Models.OperationalizationClustersCreateOrUpdateResponse>
30
- */
31
- OperationalizationClusters.prototype.createOrUpdate = function (resourceGroupName, clusterName, parameters, options) {
32
- return this.beginCreateOrUpdate(resourceGroupName, clusterName, parameters, options)
33
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
34
- };
35
- OperationalizationClusters.prototype.get = function (resourceGroupName, clusterName, options, callback) {
36
- return this.client.sendOperationRequest({
37
- resourceGroupName: resourceGroupName,
38
- clusterName: clusterName,
39
- options: options
40
- }, getOperationSpec, callback);
41
- };
42
- OperationalizationClusters.prototype.update = function (resourceGroupName, clusterName, parameters, options, callback) {
43
- return this.client.sendOperationRequest({
44
- resourceGroupName: resourceGroupName,
45
- clusterName: clusterName,
46
- parameters: parameters,
47
- options: options
48
- }, updateOperationSpec, callback);
49
- };
50
- /**
51
- * Deletes the specified cluster.
52
- * @param resourceGroupName Name of the resource group in which the cluster is located.
53
- * @param clusterName The name of the cluster.
54
- * @param [options] The optional parameters
55
- * @returns Promise<Models.OperationalizationClustersDeleteResponse>
56
- */
57
- OperationalizationClusters.prototype.deleteMethod = function (resourceGroupName, clusterName, options) {
58
- return this.beginDeleteMethod(resourceGroupName, clusterName, options)
59
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
60
- };
61
- OperationalizationClusters.prototype.listKeys = function (resourceGroupName, clusterName, options, callback) {
62
- return this.client.sendOperationRequest({
63
- resourceGroupName: resourceGroupName,
64
- clusterName: clusterName,
65
- options: options
66
- }, listKeysOperationSpec, callback);
67
- };
68
- OperationalizationClusters.prototype.checkSystemServicesUpdatesAvailable = function (resourceGroupName, clusterName, options, callback) {
69
- return this.client.sendOperationRequest({
70
- resourceGroupName: resourceGroupName,
71
- clusterName: clusterName,
72
- options: options
73
- }, checkSystemServicesUpdatesAvailableOperationSpec, callback);
74
- };
75
- /**
76
- * Updates system services in a cluster.
77
- * @param resourceGroupName Name of the resource group in which the cluster is located.
78
- * @param clusterName The name of the cluster.
79
- * @param [options] The optional parameters
80
- * @returns Promise<Models.OperationalizationClustersUpdateSystemServicesResponse>
81
- */
82
- OperationalizationClusters.prototype.updateSystemServices = function (resourceGroupName, clusterName, options) {
83
- return this.beginUpdateSystemServices(resourceGroupName, clusterName, options)
84
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
85
- };
86
- OperationalizationClusters.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
87
- return this.client.sendOperationRequest({
88
- resourceGroupName: resourceGroupName,
89
- options: options
90
- }, listByResourceGroupOperationSpec, callback);
91
- };
92
- OperationalizationClusters.prototype.listBySubscriptionId = function (options, callback) {
93
- return this.client.sendOperationRequest({
94
- options: options
95
- }, listBySubscriptionIdOperationSpec, callback);
96
- };
97
- /**
98
- * Create or update an operationalization cluster.
99
- * @param resourceGroupName Name of the resource group in which the cluster is located.
100
- * @param clusterName The name of the cluster.
101
- * @param parameters Parameters supplied to create or update an Operationalization cluster.
102
- * @param [options] The optional parameters
103
- * @returns Promise<msRestAzure.LROPoller>
104
- */
105
- OperationalizationClusters.prototype.beginCreateOrUpdate = function (resourceGroupName, clusterName, parameters, options) {
106
- return this.client.sendLRORequest({
107
- resourceGroupName: resourceGroupName,
108
- clusterName: clusterName,
109
- parameters: parameters,
110
- options: options
111
- }, beginCreateOrUpdateOperationSpec, options);
112
- };
113
- /**
114
- * Deletes the specified cluster.
115
- * @param resourceGroupName Name of the resource group in which the cluster is located.
116
- * @param clusterName The name of the cluster.
117
- * @param [options] The optional parameters
118
- * @returns Promise<msRestAzure.LROPoller>
119
- */
120
- OperationalizationClusters.prototype.beginDeleteMethod = function (resourceGroupName, clusterName, options) {
121
- return this.client.sendLRORequest({
122
- resourceGroupName: resourceGroupName,
123
- clusterName: clusterName,
124
- options: options
125
- }, beginDeleteMethodOperationSpec, options);
126
- };
127
- /**
128
- * Updates system services in a cluster.
129
- * @param resourceGroupName Name of the resource group in which the cluster is located.
130
- * @param clusterName The name of the cluster.
131
- * @param [options] The optional parameters
132
- * @returns Promise<msRestAzure.LROPoller>
133
- */
134
- OperationalizationClusters.prototype.beginUpdateSystemServices = function (resourceGroupName, clusterName, options) {
135
- return this.client.sendLRORequest({
136
- resourceGroupName: resourceGroupName,
137
- clusterName: clusterName,
138
- options: options
139
- }, beginUpdateSystemServicesOperationSpec, options);
140
- };
141
- OperationalizationClusters.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
142
- return this.client.sendOperationRequest({
143
- nextPageLink: nextPageLink,
144
- options: options
145
- }, listByResourceGroupNextOperationSpec, callback);
146
- };
147
- OperationalizationClusters.prototype.listBySubscriptionIdNext = function (nextPageLink, options, callback) {
148
- return this.client.sendOperationRequest({
149
- nextPageLink: nextPageLink,
150
- options: options
151
- }, listBySubscriptionIdNextOperationSpec, callback);
152
- };
153
- return OperationalizationClusters;
154
- }());
155
- export { OperationalizationClusters };
156
- // Operation Specifications
157
- var serializer = new msRest.Serializer(Mappers);
158
- var getOperationSpec = {
159
- httpMethod: "GET",
160
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
161
- urlParameters: [
162
- Parameters.subscriptionId,
163
- Parameters.resourceGroupName,
164
- Parameters.clusterName
165
- ],
166
- queryParameters: [
167
- Parameters.apiVersion
168
- ],
169
- headerParameters: [
170
- Parameters.acceptLanguage
171
- ],
172
- responses: {
173
- 200: {
174
- bodyMapper: Mappers.OperationalizationCluster
175
- },
176
- default: {
177
- bodyMapper: Mappers.ErrorResponseWrapper
178
- }
179
- },
180
- serializer: serializer
181
- };
182
- var updateOperationSpec = {
183
- httpMethod: "PATCH",
184
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
185
- urlParameters: [
186
- Parameters.subscriptionId,
187
- Parameters.resourceGroupName,
188
- Parameters.clusterName
189
- ],
190
- queryParameters: [
191
- Parameters.apiVersion
192
- ],
193
- headerParameters: [
194
- Parameters.acceptLanguage
195
- ],
196
- requestBody: {
197
- parameterPath: "parameters",
198
- mapper: tslib_1.__assign({}, Mappers.OperationalizationClusterUpdateParameters, { required: true })
199
- },
200
- responses: {
201
- 200: {
202
- bodyMapper: Mappers.OperationalizationCluster
203
- },
204
- default: {
205
- bodyMapper: Mappers.ErrorResponseWrapper
206
- }
207
- },
208
- serializer: serializer
209
- };
210
- var listKeysOperationSpec = {
211
- httpMethod: "POST",
212
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/listKeys",
213
- urlParameters: [
214
- Parameters.subscriptionId,
215
- Parameters.resourceGroupName,
216
- Parameters.clusterName
217
- ],
218
- queryParameters: [
219
- Parameters.apiVersion
220
- ],
221
- headerParameters: [
222
- Parameters.acceptLanguage
223
- ],
224
- responses: {
225
- 200: {
226
- bodyMapper: Mappers.OperationalizationClusterCredentials
227
- },
228
- default: {
229
- bodyMapper: Mappers.CloudError
230
- }
231
- },
232
- serializer: serializer
233
- };
234
- var checkSystemServicesUpdatesAvailableOperationSpec = {
235
- httpMethod: "POST",
236
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/checkSystemServicesUpdatesAvailable",
237
- urlParameters: [
238
- Parameters.subscriptionId,
239
- Parameters.resourceGroupName,
240
- Parameters.clusterName
241
- ],
242
- queryParameters: [
243
- Parameters.apiVersion
244
- ],
245
- headerParameters: [
246
- Parameters.acceptLanguage
247
- ],
248
- responses: {
249
- 200: {
250
- bodyMapper: Mappers.CheckSystemServicesUpdatesAvailableResponse
251
- },
252
- default: {
253
- bodyMapper: Mappers.CloudError
254
- }
255
- },
256
- serializer: serializer
257
- };
258
- var listByResourceGroupOperationSpec = {
259
- httpMethod: "GET",
260
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
261
- urlParameters: [
262
- Parameters.subscriptionId,
263
- Parameters.resourceGroupName
264
- ],
265
- queryParameters: [
266
- Parameters.apiVersion,
267
- Parameters.skiptoken
268
- ],
269
- headerParameters: [
270
- Parameters.acceptLanguage
271
- ],
272
- responses: {
273
- 200: {
274
- bodyMapper: Mappers.PaginatedOperationalizationClustersList
275
- },
276
- default: {
277
- bodyMapper: Mappers.CloudError
278
- }
279
- },
280
- serializer: serializer
281
- };
282
- var listBySubscriptionIdOperationSpec = {
283
- httpMethod: "GET",
284
- path: "subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
285
- urlParameters: [
286
- Parameters.subscriptionId
287
- ],
288
- queryParameters: [
289
- Parameters.apiVersion,
290
- Parameters.skiptoken
291
- ],
292
- headerParameters: [
293
- Parameters.acceptLanguage
294
- ],
295
- responses: {
296
- 200: {
297
- bodyMapper: Mappers.PaginatedOperationalizationClustersList
298
- },
299
- default: {
300
- bodyMapper: Mappers.CloudError
301
- }
302
- },
303
- serializer: serializer
304
- };
305
- var beginCreateOrUpdateOperationSpec = {
306
- httpMethod: "PUT",
307
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
308
- urlParameters: [
309
- Parameters.subscriptionId,
310
- Parameters.resourceGroupName,
311
- Parameters.clusterName
312
- ],
313
- queryParameters: [
314
- Parameters.apiVersion
315
- ],
316
- headerParameters: [
317
- Parameters.acceptLanguage
318
- ],
319
- requestBody: {
320
- parameterPath: "parameters",
321
- mapper: tslib_1.__assign({}, Mappers.OperationalizationCluster, { required: true })
322
- },
323
- responses: {
324
- 200: {
325
- bodyMapper: Mappers.OperationalizationCluster
326
- },
327
- 201: {
328
- bodyMapper: Mappers.OperationalizationCluster
329
- },
330
- default: {
331
- bodyMapper: Mappers.ErrorResponseWrapper
332
- }
333
- },
334
- serializer: serializer
335
- };
336
- var beginDeleteMethodOperationSpec = {
337
- httpMethod: "DELETE",
338
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
339
- urlParameters: [
340
- Parameters.subscriptionId,
341
- Parameters.resourceGroupName,
342
- Parameters.clusterName
343
- ],
344
- queryParameters: [
345
- Parameters.apiVersion,
346
- Parameters.deleteAll
347
- ],
348
- headerParameters: [
349
- Parameters.acceptLanguage
350
- ],
351
- responses: {
352
- 202: {
353
- headersMapper: Mappers.OperationalizationClustersDeleteHeaders
354
- },
355
- 204: {
356
- headersMapper: Mappers.OperationalizationClustersDeleteHeaders
357
- },
358
- default: {
359
- bodyMapper: Mappers.ErrorResponseWrapper
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
- }
389
- },
390
- serializer: serializer
391
- };
392
- var listByResourceGroupNextOperationSpec = {
393
- httpMethod: "GET",
394
- baseUrl: "https://management.azure.com",
395
- path: "{nextLink}",
396
- urlParameters: [
397
- Parameters.nextPageLink
398
- ],
399
- headerParameters: [
400
- Parameters.acceptLanguage
401
- ],
402
- responses: {
403
- 200: {
404
- bodyMapper: Mappers.PaginatedOperationalizationClustersList
405
- },
406
- default: {
407
- bodyMapper: Mappers.CloudError
408
- }
409
- },
410
- serializer: serializer
411
- };
412
- var listBySubscriptionIdNextOperationSpec = {
413
- httpMethod: "GET",
414
- baseUrl: "https://management.azure.com",
415
- path: "{nextLink}",
416
- urlParameters: [
417
- Parameters.nextPageLink
418
- ],
419
- headerParameters: [
420
- Parameters.acceptLanguage
421
- ],
422
- responses: {
423
- 200: {
424
- bodyMapper: Mappers.PaginatedOperationalizationClustersList
425
- },
426
- default: {
427
- bodyMapper: Mappers.CloudError
428
- }
429
- },
430
- serializer: serializer
431
- };
432
- //# sourceMappingURL=operationalizationClusters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operationalizationClusters.js","sourceRoot":"","sources":["../../lib/operations/operationalizationClusters.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;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;S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1B;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,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,44 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Models from "./models";
13
- import * as Mappers from "./models/mappers";
14
- import * as operations from "./operations";
15
- import { MachineLearningComputeManagementClientContext } from "./machineLearningComputeManagementClientContext";
16
-
17
-
18
- class MachineLearningComputeManagementClient extends MachineLearningComputeManagementClientContext {
19
- // Operation groups
20
- operationalizationClusters: operations.OperationalizationClusters;
21
- machineLearningCompute: operations.MachineLearningCompute;
22
-
23
- /**
24
- * Initializes a new instance of the MachineLearningComputeManagementClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure.
26
- * @param subscriptionId The Azure subscription ID.
27
- * @param [options] The parameter options
28
- */
29
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MachineLearningComputeManagementClientOptions) {
30
- super(credentials, subscriptionId, options);
31
- this.operationalizationClusters = new operations.OperationalizationClusters(this);
32
- this.machineLearningCompute = new operations.MachineLearningCompute(this);
33
- }
34
- }
35
-
36
- // Operation Specifications
37
-
38
- export {
39
- MachineLearningComputeManagementClient,
40
- MachineLearningComputeManagementClientContext,
41
- Models as MachineLearningComputeManagementModels,
42
- Mappers as MachineLearningComputeManagementMappers
43
- };
44
- export * from "./operations";
@@ -1,62 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as Models from "./models";
12
- import * as msRest from "@azure/ms-rest-js";
13
- import * as msRestAzure from "@azure/ms-rest-azure-js";
14
-
15
- const packageName = "@azure/arm-machinelearningcompute";
16
- const packageVersion = "0.1.0";
17
-
18
- export class MachineLearningComputeManagementClientContext extends msRestAzure.AzureServiceClient {
19
- credentials: msRest.ServiceClientCredentials;
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.
26
- * @param subscriptionId The Azure subscription ID.
27
- * @param [options] The parameter options
28
- */
29
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MachineLearningComputeManagementClientOptions) {
30
- if (credentials == undefined) {
31
- throw new Error('\'credentials\' cannot be null.');
32
- }
33
- if (subscriptionId == undefined) {
34
- throw new Error('\'subscriptionId\' cannot be null.');
35
- }
36
-
37
- if (!options) {
38
- options = {};
39
- }
40
- if(!options.userAgent) {
41
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
42
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
43
- }
44
-
45
- super(credentials, options);
46
-
47
- this.apiVersion = '2017-08-01-preview';
48
- this.acceptLanguage = 'en-US';
49
- this.longRunningOperationRetryTimeout = 30;
50
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
51
- this.requestContentType = "application/json; charset=utf-8";
52
- this.credentials = credentials;
53
- this.subscriptionId = subscriptionId;
54
-
55
- if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
56
- this.acceptLanguage = options.acceptLanguage;
57
- }
58
- if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
59
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
60
- }
61
- }
62
- }