@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,925 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * Azure resource
6
- */
7
- export interface Resource extends BaseResource {
8
- /**
9
- * Specifies the resource ID.
10
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
11
- */
12
- readonly id?: string;
13
- /**
14
- * Specifies the name of the resource.
15
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
16
- */
17
- readonly name?: string;
18
- /**
19
- * Specifies the location of the resource.
20
- */
21
- location: string;
22
- /**
23
- * Specifies the type of the resource.
24
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
25
- */
26
- readonly type?: string;
27
- /**
28
- * Contains resource tags defined as key/value pairs.
29
- */
30
- tags?: {
31
- [propertyName: string]: string;
32
- };
33
- }
34
- /**
35
- * Error detail information.
36
- */
37
- export interface ErrorDetail {
38
- /**
39
- * Error code.
40
- */
41
- code: string;
42
- /**
43
- * Error message.
44
- */
45
- message: string;
46
- }
47
- /**
48
- * Error response information.
49
- */
50
- export interface ErrorResponse {
51
- /**
52
- * Error code.
53
- */
54
- code: string;
55
- /**
56
- * Error message.
57
- */
58
- message: string;
59
- /**
60
- * An array of error detail objects.
61
- */
62
- details?: ErrorDetail[];
63
- }
64
- /**
65
- * Wrapper for error response to follow ARM guidelines.
66
- */
67
- export interface ErrorResponseWrapper {
68
- /**
69
- * The error response.
70
- */
71
- error?: ErrorResponse;
72
- }
73
- /**
74
- * Properties of Storage Account.
75
- */
76
- export interface StorageAccountProperties {
77
- /**
78
- * ARM resource ID of the Azure Storage Account to store CLI specific files. If not provided one
79
- * will be created. This cannot be changed once the cluster is created.
80
- */
81
- resourceId?: string;
82
- }
83
- /**
84
- * Properties of Azure Container Registry.
85
- */
86
- export interface ContainerRegistryProperties {
87
- /**
88
- * ARM resource ID of the Azure Container Registry used to store Docker images for web services
89
- * in the cluster. If not provided one will be created. This cannot be changed once the cluster
90
- * is created.
91
- */
92
- resourceId?: string;
93
- }
94
- /**
95
- * The Azure service principal used by Kubernetes for configuring load balancers
96
- */
97
- export interface ServicePrincipalProperties {
98
- /**
99
- * The service principal client ID
100
- */
101
- clientId: string;
102
- /**
103
- * The service principal secret. This is not returned in response of GET/PUT on the resource. To
104
- * see this please call listKeys.
105
- */
106
- secret: string;
107
- }
108
- /**
109
- * Kubernetes cluster specific properties
110
- */
111
- export interface KubernetesClusterProperties {
112
- /**
113
- * The Azure Service Principal used by Kubernetes
114
- */
115
- servicePrincipal?: ServicePrincipalProperties;
116
- }
117
- /**
118
- * Information about a system service deployed in the cluster
119
- */
120
- export interface SystemService {
121
- /**
122
- * The system service type. Possible values include: 'None', 'ScoringFrontEnd', 'BatchFrontEnd'
123
- */
124
- systemServiceType: SystemServiceType;
125
- /**
126
- * The public IP address of the system service
127
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
128
- */
129
- readonly publicIpAddress?: string;
130
- /**
131
- * The state of the system service
132
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
133
- */
134
- readonly version?: string;
135
- }
136
- /**
137
- * Information about the container service backing the cluster
138
- */
139
- export interface AcsClusterProperties {
140
- /**
141
- * The FQDN of the cluster.
142
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
143
- */
144
- readonly clusterFqdn?: string;
145
- /**
146
- * Type of orchestrator. It cannot be changed once the cluster is created. Possible values
147
- * include: 'Kubernetes', 'None'
148
- */
149
- orchestratorType: OrchestratorType;
150
- /**
151
- * Orchestrator specific properties
152
- */
153
- orchestratorProperties?: KubernetesClusterProperties;
154
- /**
155
- * The system services deployed to the cluster
156
- */
157
- systemServices?: SystemService[];
158
- /**
159
- * The number of master nodes in the container service. Default value: 1.
160
- */
161
- masterCount?: number;
162
- /**
163
- * The number of agent nodes in the Container Service. This can be changed to scale the cluster.
164
- * Default value: 2.
165
- */
166
- agentCount?: number;
167
- /**
168
- * The Azure VM size of the agent VM nodes. This cannot be changed once the cluster is created.
169
- * This list is non exhaustive; refer to
170
- * https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes for the possible VM
171
- * sizes. Possible values include: 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3',
172
- * 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9',
173
- * 'Standard_A10', 'Standard_A11', 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4',
174
- * 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2',
175
- * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2',
176
- * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', 'Standard_G2',
177
- * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3',
178
- * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14',
179
- * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5'. Default value:
180
- * 'Standard_D3_v2'.
181
- */
182
- agentVmSize?: AgentVMSizeTypes;
183
- }
184
- /**
185
- * Properties of App Insights.
186
- */
187
- export interface AppInsightsProperties {
188
- /**
189
- * ARM resource ID of the App Insights.
190
- */
191
- resourceId?: string;
192
- }
193
- /**
194
- * SSL configuration. If configured data-plane calls to user services will be exposed over SSL
195
- * only.
196
- */
197
- export interface SslConfiguration {
198
- /**
199
- * SSL status. Allowed values are Enabled and Disabled. Possible values include: 'Enabled',
200
- * 'Disabled'. Default value: 'Enabled'.
201
- */
202
- status?: Status;
203
- /**
204
- * The SSL cert data in PEM format.
205
- */
206
- cert?: string;
207
- /**
208
- * The SSL key data in PEM format. This is not returned in response of GET/PUT on the resource.
209
- * To see this please call listKeys API.
210
- */
211
- key?: string;
212
- /**
213
- * The CName of the certificate.
214
- */
215
- cname?: string;
216
- }
217
- /**
218
- * Global service auth configuration properties. These are the data-plane authorization keys and
219
- * are used if a service doesn't define it's own.
220
- */
221
- export interface ServiceAuthConfiguration {
222
- /**
223
- * The primary auth key hash. This is not returned in response of GET/PUT on the resource.. To
224
- * see this please call listKeys API.
225
- */
226
- primaryAuthKeyHash: string;
227
- /**
228
- * The secondary auth key hash. This is not returned in response of GET/PUT on the resource.. To
229
- * see this please call listKeys API.
230
- */
231
- secondaryAuthKeyHash: string;
232
- }
233
- /**
234
- * AutoScale configuration properties.
235
- */
236
- export interface AutoScaleConfiguration {
237
- /**
238
- * If auto-scale is enabled for all services. Each service can turn it off individually. Possible
239
- * values include: 'Enabled', 'Disabled'. Default value: 'Disabled'.
240
- */
241
- status?: Status;
242
- /**
243
- * The minimum number of replicas for each service. Default value: 1.
244
- */
245
- minReplicas?: number;
246
- /**
247
- * The maximum number of replicas for each service. Default value: 100.
248
- */
249
- maxReplicas?: number;
250
- /**
251
- * The target utilization.
252
- */
253
- targetUtilization?: number;
254
- /**
255
- * Refresh period in seconds.
256
- */
257
- refreshPeriodInSeconds?: number;
258
- }
259
- /**
260
- * Global configuration for services in the cluster.
261
- */
262
- export interface GlobalServiceConfiguration {
263
- /**
264
- * The configuration ETag for updates.
265
- */
266
- etag?: string;
267
- /**
268
- * The SSL configuration properties
269
- */
270
- ssl?: SslConfiguration;
271
- /**
272
- * Optional global authorization keys for all user services deployed in cluster. These are used
273
- * if the service does not have auth keys.
274
- */
275
- serviceAuth?: ServiceAuthConfiguration;
276
- /**
277
- * The auto-scale configuration
278
- */
279
- autoScale?: AutoScaleConfiguration;
280
- /**
281
- * Describes unknown properties. The value of an unknown property can be of "any" type.
282
- */
283
- [property: string]: any;
284
- }
285
- /**
286
- * Instance of an Azure ML Operationalization Cluster resource.
287
- */
288
- export interface OperationalizationCluster extends Resource {
289
- /**
290
- * The description of the cluster.
291
- */
292
- description?: string;
293
- /**
294
- * The date and time when the cluster was created.
295
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
296
- */
297
- readonly createdOn?: Date;
298
- /**
299
- * The date and time when the cluster was last modified.
300
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
301
- */
302
- readonly modifiedOn?: Date;
303
- /**
304
- * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning,
305
- * Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting',
306
- * 'Succeeded', 'Failed', 'Canceled'
307
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
308
- */
309
- readonly provisioningState?: OperationStatus;
310
- /**
311
- * List of provisioning errors reported by the resource provider.
312
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
313
- */
314
- readonly provisioningErrors?: ErrorResponseWrapper[];
315
- /**
316
- * The cluster type. Possible values include: 'ACS', 'Local'
317
- */
318
- clusterType: ClusterType;
319
- /**
320
- * Storage Account properties.
321
- */
322
- storageAccount?: StorageAccountProperties;
323
- /**
324
- * Container Registry properties.
325
- */
326
- containerRegistry?: ContainerRegistryProperties;
327
- /**
328
- * Parameters for the Azure Container Service cluster.
329
- */
330
- containerService?: AcsClusterProperties;
331
- /**
332
- * AppInsights configuration.
333
- */
334
- appInsights?: AppInsightsProperties;
335
- /**
336
- * Contains global configuration for the web services in the cluster.
337
- */
338
- globalServiceConfiguration?: GlobalServiceConfiguration;
339
- }
340
- /**
341
- * Parameters for PATCH operation on an operationalization cluster
342
- */
343
- export interface OperationalizationClusterUpdateParameters {
344
- /**
345
- * Gets or sets a list of key value pairs that describe the resource. These tags can be used in
346
- * viewing and grouping this resource (across resource groups). A maximum of 15 tags can be
347
- * provided for a resource. Each tag must have a key no greater in length than 128 characters and
348
- * a value no greater in length than 256 characters.
349
- */
350
- tags?: {
351
- [propertyName: string]: string;
352
- };
353
- }
354
- /**
355
- * Access information for the storage account.
356
- */
357
- export interface StorageAccountCredentials {
358
- /**
359
- * The ARM resource ID of the storage account.
360
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
361
- */
362
- readonly resourceId?: string;
363
- /**
364
- * The primary key of the storage account.
365
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
366
- */
367
- readonly primaryKey?: string;
368
- /**
369
- * The secondary key of the storage account.
370
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
371
- */
372
- readonly secondaryKey?: string;
373
- }
374
- /**
375
- * Information about the Azure Container Registry which contains the images deployed to the
376
- * cluster.
377
- */
378
- export interface ContainerRegistryCredentials {
379
- /**
380
- * The ACR login server name. User name is the first part of the FQDN.
381
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
382
- */
383
- readonly loginServer?: string;
384
- /**
385
- * The ACR primary password.
386
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
387
- */
388
- readonly password?: string;
389
- /**
390
- * The ACR secondary password.
391
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
392
- */
393
- readonly password2?: string;
394
- /**
395
- * The ACR login username.
396
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
397
- */
398
- readonly username?: string;
399
- }
400
- /**
401
- * Information about the Azure Container Registry which contains the images deployed to the
402
- * cluster.
403
- */
404
- export interface ContainerServiceCredentials {
405
- /**
406
- * The ACS kube config file.
407
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
408
- */
409
- readonly acsKubeConfig?: string;
410
- /**
411
- * Service principal configuration used by Kubernetes.
412
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
413
- */
414
- readonly servicePrincipalConfiguration?: ServicePrincipalProperties;
415
- /**
416
- * The ACR image pull secret name which was created in Kubernetes.
417
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
418
- */
419
- readonly imagePullSecretName?: string;
420
- }
421
- /**
422
- * AppInsights credentials.
423
- */
424
- export interface AppInsightsCredentials {
425
- /**
426
- * The AppInsights application ID.
427
- */
428
- appId?: string;
429
- /**
430
- * The AppInsights instrumentation key. This is not returned in response of GET/PUT on the
431
- * resource. To see this please call listKeys API.
432
- */
433
- instrumentationKey?: string;
434
- }
435
- /**
436
- * Credentials to resources in the cluster.
437
- */
438
- export interface OperationalizationClusterCredentials {
439
- /**
440
- * Credentials for the Storage Account.
441
- */
442
- storageAccount?: StorageAccountCredentials;
443
- /**
444
- * Credentials for Azure Container Registry.
445
- */
446
- containerRegistry?: ContainerRegistryCredentials;
447
- /**
448
- * Credentials for Azure Container Service.
449
- */
450
- containerService?: ContainerServiceCredentials;
451
- /**
452
- * Credentials for Azure AppInsights.
453
- */
454
- appInsights?: AppInsightsCredentials;
455
- /**
456
- * Global authorization keys for all user services deployed in cluster. These are used if the
457
- * service does not have auth keys.
458
- */
459
- serviceAuthConfiguration?: ServiceAuthConfiguration;
460
- /**
461
- * The SSL configuration for the services.
462
- */
463
- sslConfiguration?: SslConfiguration;
464
- }
465
- /**
466
- * Information about updates available for system services in a cluster.
467
- */
468
- export interface CheckSystemServicesUpdatesAvailableResponse {
469
- /**
470
- * Yes if updates are available for the system services, No if not. Possible values include:
471
- * 'Yes', 'No'
472
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
473
- */
474
- readonly updatesAvailable?: UpdatesAvailable;
475
- }
476
- /**
477
- * Response of the update system services API
478
- */
479
- export interface UpdateSystemServicesResponse {
480
- /**
481
- * Update status. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting',
482
- * 'Succeeded', 'Failed', 'Canceled'
483
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
484
- */
485
- readonly updateStatus?: OperationStatus;
486
- /**
487
- * The date and time when the last system services update was started.
488
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
489
- */
490
- readonly updateStartedOn?: Date;
491
- /**
492
- * The date and time when the last system services update completed.
493
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
494
- */
495
- readonly updateCompletedOn?: Date;
496
- }
497
- /**
498
- * Display of the operation.
499
- */
500
- export interface ResourceOperationDisplay {
501
- /**
502
- * The resource provider name.
503
- */
504
- provider?: string;
505
- /**
506
- * The resource name.
507
- */
508
- resource?: string;
509
- /**
510
- * The operation.
511
- */
512
- operation?: string;
513
- /**
514
- * The description of the operation.
515
- */
516
- description?: string;
517
- }
518
- /**
519
- * Resource operation.
520
- */
521
- export interface ResourceOperation {
522
- /**
523
- * Name of this operation.
524
- */
525
- name?: string;
526
- /**
527
- * Display of the operation.
528
- */
529
- display?: ResourceOperationDisplay;
530
- /**
531
- * The operation origin.
532
- */
533
- origin?: string;
534
- }
535
- /**
536
- * Available operation list.
537
- */
538
- export interface AvailableOperations {
539
- /**
540
- * An array of available operations.
541
- */
542
- value?: ResourceOperation[];
543
- }
544
- /**
545
- * Optional Parameters.
546
- */
547
- export interface OperationalizationClustersDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
548
- /**
549
- * If true, deletes all resources associated with this cluster.
550
- */
551
- deleteAll?: boolean;
552
- }
553
- /**
554
- * Optional Parameters.
555
- */
556
- export interface OperationalizationClustersListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
557
- /**
558
- * Continuation token for pagination.
559
- */
560
- skiptoken?: string;
561
- }
562
- /**
563
- * Optional Parameters.
564
- */
565
- export interface OperationalizationClustersListBySubscriptionIdOptionalParams extends msRest.RequestOptionsBase {
566
- /**
567
- * Continuation token for pagination.
568
- */
569
- skiptoken?: string;
570
- }
571
- /**
572
- * Optional Parameters.
573
- */
574
- export interface OperationalizationClustersBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
575
- /**
576
- * If true, deletes all resources associated with this cluster.
577
- */
578
- deleteAll?: boolean;
579
- }
580
- /**
581
- * Optional Parameters.
582
- */
583
- export interface OperationalizationClustersListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
584
- /**
585
- * Continuation token for pagination.
586
- */
587
- skiptoken?: string;
588
- }
589
- /**
590
- * Optional Parameters.
591
- */
592
- export interface OperationalizationClustersListBySubscriptionIdNextOptionalParams extends msRest.RequestOptionsBase {
593
- /**
594
- * Continuation token for pagination.
595
- */
596
- skiptoken?: string;
597
- }
598
- /**
599
- * An interface representing MachineLearningComputeManagementClientOptions.
600
- */
601
- export interface MachineLearningComputeManagementClientOptions extends AzureServiceClientOptions {
602
- baseUri?: string;
603
- }
604
- /**
605
- * Defines headers for Delete operation.
606
- */
607
- export interface OperationalizationClustersDeleteHeaders {
608
- /**
609
- * URI of the async operation.
610
- */
611
- location: string;
612
- }
613
- /**
614
- * Defines headers for UpdateSystemServices operation.
615
- */
616
- export interface OperationalizationClustersUpdateSystemServicesHeaders {
617
- /**
618
- * URI of the async operation.
619
- */
620
- location: string;
621
- }
622
- /**
623
- * @interface
624
- * Paginated list of operationalization clusters.
625
- * @extends Array<OperationalizationCluster>
626
- */
627
- export interface PaginatedOperationalizationClustersList extends Array<OperationalizationCluster> {
628
- /**
629
- * A continuation link (absolute URI) to the next page of results in the list.
630
- */
631
- nextLink?: string;
632
- }
633
- /**
634
- * Defines values for OperationStatus.
635
- * Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed',
636
- * 'Canceled'
637
- * @readonly
638
- * @enum {string}
639
- */
640
- export declare type OperationStatus = 'Unknown' | 'Updating' | 'Creating' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled';
641
- /**
642
- * Defines values for ClusterType.
643
- * Possible values include: 'ACS', 'Local'
644
- * @readonly
645
- * @enum {string}
646
- */
647
- export declare type ClusterType = 'ACS' | 'Local';
648
- /**
649
- * Defines values for OrchestratorType.
650
- * Possible values include: 'Kubernetes', 'None'
651
- * @readonly
652
- * @enum {string}
653
- */
654
- export declare type OrchestratorType = 'Kubernetes' | 'None';
655
- /**
656
- * Defines values for SystemServiceType.
657
- * Possible values include: 'None', 'ScoringFrontEnd', 'BatchFrontEnd'
658
- * @readonly
659
- * @enum {string}
660
- */
661
- export declare type SystemServiceType = 'None' | 'ScoringFrontEnd' | 'BatchFrontEnd';
662
- /**
663
- * Defines values for AgentVMSizeTypes.
664
- * Possible values include: 'Standard_A0', 'Standard_A1', 'Standard_A2', 'Standard_A3',
665
- * 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A9',
666
- * 'Standard_A10', 'Standard_A11', 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4',
667
- * 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2',
668
- * 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2',
669
- * 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_G1', 'Standard_G2',
670
- * 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3',
671
- * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14',
672
- * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5'
673
- * @readonly
674
- * @enum {string}
675
- */
676
- export declare type AgentVMSizeTypes = 'Standard_A0' | 'Standard_A1' | 'Standard_A2' | 'Standard_A3' | 'Standard_A4' | 'Standard_A5' | 'Standard_A6' | 'Standard_A7' | 'Standard_A8' | 'Standard_A9' | 'Standard_A10' | 'Standard_A11' | 'Standard_D1' | 'Standard_D2' | 'Standard_D3' | 'Standard_D4' | 'Standard_D11' | 'Standard_D12' | 'Standard_D13' | 'Standard_D14' | 'Standard_D1_v2' | 'Standard_D2_v2' | 'Standard_D3_v2' | 'Standard_D4_v2' | 'Standard_D5_v2' | 'Standard_D11_v2' | 'Standard_D12_v2' | 'Standard_D13_v2' | 'Standard_D14_v2' | 'Standard_G1' | 'Standard_G2' | 'Standard_G3' | 'Standard_G4' | 'Standard_G5' | 'Standard_DS1' | 'Standard_DS2' | 'Standard_DS3' | 'Standard_DS4' | 'Standard_DS11' | 'Standard_DS12' | 'Standard_DS13' | 'Standard_DS14' | 'Standard_GS1' | 'Standard_GS2' | 'Standard_GS3' | 'Standard_GS4' | 'Standard_GS5';
677
- /**
678
- * Defines values for Status.
679
- * Possible values include: 'Enabled', 'Disabled'
680
- * @readonly
681
- * @enum {string}
682
- */
683
- export declare type Status = 'Enabled' | 'Disabled';
684
- /**
685
- * Defines values for UpdatesAvailable.
686
- * Possible values include: 'Yes', 'No'
687
- * @readonly
688
- * @enum {string}
689
- */
690
- export declare type UpdatesAvailable = 'Yes' | 'No';
691
- /**
692
- * Contains response data for the createOrUpdate operation.
693
- */
694
- export declare type OperationalizationClustersCreateOrUpdateResponse = OperationalizationCluster & {
695
- /**
696
- * The underlying HTTP response.
697
- */
698
- _response: msRest.HttpResponse & {
699
- /**
700
- * The response body as text (string format)
701
- */
702
- bodyAsText: string;
703
- /**
704
- * The response body as parsed JSON or XML
705
- */
706
- parsedBody: OperationalizationCluster;
707
- };
708
- };
709
- /**
710
- * Contains response data for the get operation.
711
- */
712
- export declare type OperationalizationClustersGetResponse = OperationalizationCluster & {
713
- /**
714
- * The underlying HTTP response.
715
- */
716
- _response: msRest.HttpResponse & {
717
- /**
718
- * The response body as text (string format)
719
- */
720
- bodyAsText: string;
721
- /**
722
- * The response body as parsed JSON or XML
723
- */
724
- parsedBody: OperationalizationCluster;
725
- };
726
- };
727
- /**
728
- * Contains response data for the update operation.
729
- */
730
- export declare type OperationalizationClustersUpdateResponse = OperationalizationCluster & {
731
- /**
732
- * The underlying HTTP response.
733
- */
734
- _response: msRest.HttpResponse & {
735
- /**
736
- * The response body as text (string format)
737
- */
738
- bodyAsText: string;
739
- /**
740
- * The response body as parsed JSON or XML
741
- */
742
- parsedBody: OperationalizationCluster;
743
- };
744
- };
745
- /**
746
- * Contains response data for the deleteMethod operation.
747
- */
748
- export declare type OperationalizationClustersDeleteResponse = OperationalizationClustersDeleteHeaders & {
749
- /**
750
- * The underlying HTTP response.
751
- */
752
- _response: msRest.HttpResponse & {
753
- /**
754
- * The parsed HTTP response headers.
755
- */
756
- parsedHeaders: OperationalizationClustersDeleteHeaders;
757
- };
758
- };
759
- /**
760
- * Contains response data for the listKeys operation.
761
- */
762
- export declare type OperationalizationClustersListKeysResponse = OperationalizationClusterCredentials & {
763
- /**
764
- * The underlying HTTP response.
765
- */
766
- _response: msRest.HttpResponse & {
767
- /**
768
- * The response body as text (string format)
769
- */
770
- bodyAsText: string;
771
- /**
772
- * The response body as parsed JSON or XML
773
- */
774
- parsedBody: OperationalizationClusterCredentials;
775
- };
776
- };
777
- /**
778
- * Contains response data for the checkSystemServicesUpdatesAvailable operation.
779
- */
780
- export declare type OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse = CheckSystemServicesUpdatesAvailableResponse & {
781
- /**
782
- * The underlying HTTP response.
783
- */
784
- _response: msRest.HttpResponse & {
785
- /**
786
- * The response body as text (string format)
787
- */
788
- bodyAsText: string;
789
- /**
790
- * The response body as parsed JSON or XML
791
- */
792
- parsedBody: CheckSystemServicesUpdatesAvailableResponse;
793
- };
794
- };
795
- /**
796
- * Contains response data for the updateSystemServices operation.
797
- */
798
- export declare type OperationalizationClustersUpdateSystemServicesResponse = UpdateSystemServicesResponse & OperationalizationClustersUpdateSystemServicesHeaders & {
799
- /**
800
- * The underlying HTTP response.
801
- */
802
- _response: msRest.HttpResponse & {
803
- /**
804
- * The parsed HTTP response headers.
805
- */
806
- parsedHeaders: OperationalizationClustersUpdateSystemServicesHeaders;
807
- /**
808
- * The response body as text (string format)
809
- */
810
- bodyAsText: string;
811
- /**
812
- * The response body as parsed JSON or XML
813
- */
814
- parsedBody: UpdateSystemServicesResponse;
815
- };
816
- };
817
- /**
818
- * Contains response data for the listByResourceGroup operation.
819
- */
820
- export declare type OperationalizationClustersListByResourceGroupResponse = PaginatedOperationalizationClustersList & {
821
- /**
822
- * The underlying HTTP response.
823
- */
824
- _response: msRest.HttpResponse & {
825
- /**
826
- * The response body as text (string format)
827
- */
828
- bodyAsText: string;
829
- /**
830
- * The response body as parsed JSON or XML
831
- */
832
- parsedBody: PaginatedOperationalizationClustersList;
833
- };
834
- };
835
- /**
836
- * Contains response data for the listBySubscriptionId operation.
837
- */
838
- export declare type OperationalizationClustersListBySubscriptionIdResponse = PaginatedOperationalizationClustersList & {
839
- /**
840
- * The underlying HTTP response.
841
- */
842
- _response: msRest.HttpResponse & {
843
- /**
844
- * The response body as text (string format)
845
- */
846
- bodyAsText: string;
847
- /**
848
- * The response body as parsed JSON or XML
849
- */
850
- parsedBody: PaginatedOperationalizationClustersList;
851
- };
852
- };
853
- /**
854
- * Contains response data for the beginCreateOrUpdate operation.
855
- */
856
- export declare type OperationalizationClustersBeginCreateOrUpdateResponse = OperationalizationCluster & {
857
- /**
858
- * The underlying HTTP response.
859
- */
860
- _response: msRest.HttpResponse & {
861
- /**
862
- * The response body as text (string format)
863
- */
864
- bodyAsText: string;
865
- /**
866
- * The response body as parsed JSON or XML
867
- */
868
- parsedBody: OperationalizationCluster;
869
- };
870
- };
871
- /**
872
- * Contains response data for the listByResourceGroupNext operation.
873
- */
874
- export declare type OperationalizationClustersListByResourceGroupNextResponse = PaginatedOperationalizationClustersList & {
875
- /**
876
- * The underlying HTTP response.
877
- */
878
- _response: msRest.HttpResponse & {
879
- /**
880
- * The response body as text (string format)
881
- */
882
- bodyAsText: string;
883
- /**
884
- * The response body as parsed JSON or XML
885
- */
886
- parsedBody: PaginatedOperationalizationClustersList;
887
- };
888
- };
889
- /**
890
- * Contains response data for the listBySubscriptionIdNext operation.
891
- */
892
- export declare type OperationalizationClustersListBySubscriptionIdNextResponse = PaginatedOperationalizationClustersList & {
893
- /**
894
- * The underlying HTTP response.
895
- */
896
- _response: msRest.HttpResponse & {
897
- /**
898
- * The response body as text (string format)
899
- */
900
- bodyAsText: string;
901
- /**
902
- * The response body as parsed JSON or XML
903
- */
904
- parsedBody: PaginatedOperationalizationClustersList;
905
- };
906
- };
907
- /**
908
- * Contains response data for the listAvailableOperations operation.
909
- */
910
- export declare type MachineLearningComputeListAvailableOperationsResponse = AvailableOperations & {
911
- /**
912
- * The underlying HTTP response.
913
- */
914
- _response: msRest.HttpResponse & {
915
- /**
916
- * The response body as text (string format)
917
- */
918
- bodyAsText: string;
919
- /**
920
- * The response body as parsed JSON or XML
921
- */
922
- parsedBody: AvailableOperations;
923
- };
924
- };
925
- //# sourceMappingURL=index.d.ts.map