@azure/arm-workspaces 0.2.0 → 1.0.0-alpha.20220119.5

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 (149) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +1009 -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/listWorkspaceKeys.d.ts +2 -0
  9. package/dist-esm/samples-dev/listWorkspaceKeys.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/listWorkspaceKeys.js +31 -0
  11. package/dist-esm/samples-dev/listWorkspaceKeys.js.map +1 -0
  12. package/dist-esm/samples-dev/resyncStorageKeys.d.ts +2 -0
  13. package/dist-esm/samples-dev/resyncStorageKeys.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/resyncStorageKeys.js +31 -0
  15. package/dist-esm/samples-dev/resyncStorageKeys.js.map +1 -0
  16. package/dist-esm/samples-dev/workspaceCreate.d.ts +2 -0
  17. package/dist-esm/samples-dev/workspaceCreate.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/workspaceCreate.js +38 -0
  19. package/dist-esm/samples-dev/workspaceCreate.js.map +1 -0
  20. package/dist-esm/samples-dev/workspaceDelete.d.ts +2 -0
  21. package/dist-esm/samples-dev/workspaceDelete.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/workspaceDelete.js +31 -0
  23. package/dist-esm/samples-dev/workspaceDelete.js.map +1 -0
  24. package/dist-esm/samples-dev/workspaceGet.d.ts +2 -0
  25. package/dist-esm/samples-dev/workspaceGet.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/workspaceGet.js +31 -0
  27. package/dist-esm/samples-dev/workspaceGet.js.map +1 -0
  28. package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts +2 -0
  29. package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/workspaceGetBySubscription.js +43 -0
  31. package/dist-esm/samples-dev/workspaceGetBySubscription.js.map +1 -0
  32. package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts +2 -0
  33. package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/workspaceListResourceGroup.js +44 -0
  35. package/dist-esm/samples-dev/workspaceListResourceGroup.js.map +1 -0
  36. package/dist-esm/samples-dev/workspaceUpdate.d.ts +2 -0
  37. package/dist-esm/samples-dev/workspaceUpdate.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/workspaceUpdate.js +36 -0
  39. package/dist-esm/samples-dev/workspaceUpdate.js.map +1 -0
  40. package/dist-esm/src/index.d.ts +5 -0
  41. package/dist-esm/src/index.d.ts.map +1 -0
  42. package/dist-esm/src/index.js +12 -0
  43. package/dist-esm/src/index.js.map +1 -0
  44. package/dist-esm/src/machineLearningWorkspacesManagementClient.d.ts +19 -0
  45. package/dist-esm/src/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
  46. package/dist-esm/src/machineLearningWorkspacesManagementClient.js +52 -0
  47. package/dist-esm/src/machineLearningWorkspacesManagementClient.js.map +1 -0
  48. package/dist-esm/src/models/index.d.ts +190 -0
  49. package/dist-esm/src/models/index.d.ts.map +1 -0
  50. package/dist-esm/src/models/index.js +9 -0
  51. package/dist-esm/src/models/index.js.map +1 -0
  52. package/dist-esm/src/models/mappers.d.ts +12 -0
  53. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/models/mappers.js +177 -167
  55. package/dist-esm/src/models/mappers.js.map +1 -0
  56. package/dist-esm/src/models/parameters.d.ts +12 -0
  57. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  58. package/dist-esm/src/models/parameters.js +102 -0
  59. package/dist-esm/src/models/parameters.js.map +1 -0
  60. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  61. package/dist-esm/src/operations/index.d.ts.map +1 -0
  62. package/dist-esm/src/operations/index.js +10 -0
  63. package/dist-esm/src/operations/index.js.map +1 -0
  64. package/dist-esm/src/operations/operations.d.ts +26 -0
  65. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/operations.js +90 -0
  67. package/dist-esm/src/operations/operations.js.map +1 -0
  68. package/dist-esm/src/operations/workspaces.d.ts +106 -0
  69. package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
  70. package/dist-esm/src/operations/workspaces.js +423 -0
  71. package/dist-esm/src/operations/workspaces.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  73. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  75. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  77. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +68 -0
  81. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
  84. package/dist-esm/test/sampleTest.d.ts +2 -0
  85. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  86. package/dist-esm/test/sampleTest.js +40 -0
  87. package/dist-esm/test/sampleTest.js.map +1 -0
  88. package/package.json +84 -25
  89. package/review/arm-workspaces.api.md +206 -0
  90. package/rollup.config.js +184 -27
  91. package/src/index.ts +12 -0
  92. package/src/machineLearningWorkspacesManagementClient.ts +64 -37
  93. package/src/models/index.ts +184 -393
  94. package/src/models/mappers.ts +177 -166
  95. package/src/models/parameters.ts +73 -26
  96. package/src/operations/index.ts +3 -5
  97. package/src/operations/operations.ts +66 -42
  98. package/src/operations/workspaces.ts +329 -406
  99. package/src/operationsInterfaces/index.ts +10 -0
  100. package/src/operationsInterfaces/operations.ts +22 -0
  101. package/src/operationsInterfaces/workspaces.ts +123 -0
  102. package/tsconfig.json +6 -5
  103. package/types/arm-workspaces.d.ts +316 -0
  104. package/types/tsdoc-metadata.json +11 -0
  105. package/dist/arm-workspaces.js +0 -990
  106. package/dist/arm-workspaces.js.map +0 -1
  107. package/dist/arm-workspaces.min.js +0 -1
  108. package/dist/arm-workspaces.min.js.map +0 -1
  109. package/esm/machineLearningWorkspacesManagementClient.d.ts +0 -25
  110. package/esm/machineLearningWorkspacesManagementClient.d.ts.map +0 -1
  111. package/esm/machineLearningWorkspacesManagementClient.js +0 -39
  112. package/esm/machineLearningWorkspacesManagementClient.js.map +0 -1
  113. package/esm/machineLearningWorkspacesManagementClientContext.d.ts +0 -22
  114. package/esm/machineLearningWorkspacesManagementClientContext.d.ts.map +0 -1
  115. package/esm/machineLearningWorkspacesManagementClientContext.js +0 -61
  116. package/esm/machineLearningWorkspacesManagementClientContext.js.map +0 -1
  117. package/esm/models/index.d.ts +0 -417
  118. package/esm/models/index.d.ts.map +0 -1
  119. package/esm/models/index.js +0 -10
  120. package/esm/models/index.js.map +0 -1
  121. package/esm/models/mappers.d.ts +0 -13
  122. package/esm/models/mappers.d.ts.map +0 -1
  123. package/esm/models/mappers.js.map +0 -1
  124. package/esm/models/operationsMappers.d.ts +0 -2
  125. package/esm/models/operationsMappers.d.ts.map +0 -1
  126. package/esm/models/operationsMappers.js +0 -11
  127. package/esm/models/operationsMappers.js.map +0 -1
  128. package/esm/models/parameters.d.ts +0 -8
  129. package/esm/models/parameters.d.ts.map +0 -1
  130. package/esm/models/parameters.js +0 -71
  131. package/esm/models/parameters.js.map +0 -1
  132. package/esm/models/workspacesMappers.d.ts +0 -2
  133. package/esm/models/workspacesMappers.d.ts.map +0 -1
  134. package/esm/models/workspacesMappers.js +0 -11
  135. package/esm/models/workspacesMappers.js.map +0 -1
  136. package/esm/operations/index.d.ts.map +0 -1
  137. package/esm/operations/index.js +0 -12
  138. package/esm/operations/index.js.map +0 -1
  139. package/esm/operations/operations.d.ts +0 -28
  140. package/esm/operations/operations.d.ts.map +0 -1
  141. package/esm/operations/operations.js +0 -51
  142. package/esm/operations/operations.js.map +0 -1
  143. package/esm/operations/workspaces.d.ts +0 -235
  144. package/esm/operations/workspaces.d.ts.map +0 -1
  145. package/esm/operations/workspaces.js +0 -329
  146. package/esm/operations/workspaces.js.map +0 -1
  147. package/src/machineLearningWorkspacesManagementClientContext.ts +0 -68
  148. package/src/models/operationsMappers.ts +0 -17
  149. package/src/models/workspacesMappers.ts +0 -20
@@ -1,446 +1,237 @@
1
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.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
8
 
11
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
12
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
13
10
 
14
- export { BaseResource, CloudError };
11
+ /** An array of operations supported by the resource provider. */
12
+ export interface OperationListResult {
13
+ /** List of AML Studio operations supported by the AML Studio resource provider. */
14
+ value?: Operation[];
15
+ }
15
16
 
17
+ /** Azure Machine Learning Studio REST API operation */
18
+ export interface Operation {
19
+ /** Operation name: {provider}/{resource}/{operation} */
20
+ name?: string;
21
+ /** Display name of operation */
22
+ display?: OperationDisplay;
23
+ }
16
24
 
17
- /**
18
- * @interface
19
- * An interface representing ErrorResponse.
20
- * The error response send when an operation fails.
21
- *
22
- */
25
+ /** Display name of operation */
26
+ export interface OperationDisplay {
27
+ /** The resource provider name: Microsoft.MachineLearning */
28
+ provider?: string;
29
+ /** The resource on which the operation is performed. */
30
+ resource?: string;
31
+ /** The operation that users can perform. */
32
+ operation?: string;
33
+ /** The description for the operation. */
34
+ description?: string;
35
+ }
36
+
37
+ /** The error response send when an operation fails. */
23
38
  export interface ErrorResponse {
24
- /**
25
- * @member {string} code error code
26
- */
39
+ /** error code */
27
40
  code: string;
28
- /**
29
- * @member {string} message error message
30
- */
41
+ /** error message */
31
42
  message: string;
32
43
  }
33
44
 
34
- /**
35
- * @interface
36
- * An interface representing Resource.
37
- * An Azure resource.
38
- *
39
- * @extends BaseResource
40
- */
41
- export interface Resource extends BaseResource {
45
+ /** An Azure resource. */
46
+ export interface Resource {
42
47
  /**
43
- * @member {string} [id] The resource ID.
44
- * **NOTE: This property will not be serialized. It can only be populated by
45
- * the server.**
48
+ * The resource ID.
49
+ * NOTE: This property will not be serialized. It can only be populated by the server.
46
50
  */
47
51
  readonly id?: string;
48
52
  /**
49
- * @member {string} [name] The name of the resource.
50
- * **NOTE: This property will not be serialized. It can only be populated by
51
- * the server.**
53
+ * The name of the resource.
54
+ * NOTE: This property will not be serialized. It can only be populated by the server.
52
55
  */
53
56
  readonly name?: string;
54
57
  /**
55
- * @member {string} [type] The type of the resource.
56
- * **NOTE: This property will not be serialized. It can only be populated by
57
- * the server.**
58
+ * The type of the resource.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
58
60
  */
59
61
  readonly type?: string;
60
- /**
61
- * @member {string} location The location of the resource. This cannot be
62
- * changed after the resource is created.
63
- */
62
+ /** The location of the resource. This cannot be changed after the resource is created. */
64
63
  location: string;
65
- /**
66
- * @member {{ [propertyName: string]: string }} [tags] The tags of the
67
- * resource.
68
- */
64
+ /** The tags of the resource. */
69
65
  tags?: { [propertyName: string]: string };
66
+ /** The sku of the workspace. */
67
+ sku?: Sku;
70
68
  }
71
69
 
72
- /**
73
- * @interface
74
- * An interface representing Workspace.
75
- * An object that represents a machine learning workspace.
76
- *
77
- * @extends Resource
78
- */
79
- export interface Workspace extends Resource {
80
- /**
81
- * @member {string} userStorageAccountId The fully qualified arm id of the
82
- * storage account associated with this workspace.
83
- */
84
- userStorageAccountId: string;
85
- /**
86
- * @member {string} [ownerEmail] The email id of the owner for this
87
- * workspace.
88
- */
89
- ownerEmail?: string;
90
- /**
91
- * @member {WorkspaceType} [workspaceType] The type of this workspace.
92
- * Possible values include: 'Production', 'Free', 'Anonymous',
93
- * 'PaidStandard', 'PaidPremium'
94
- * **NOTE: This property will not be serialized. It can only be populated by
95
- * the server.**
96
- */
97
- readonly workspaceType?: WorkspaceType;
98
- /**
99
- * @member {WorkspaceState} [workspaceState] The current state of workspace
100
- * resource. Possible values include: 'Deleted', 'Enabled', 'Disabled',
101
- * 'Migrated', 'Updated', 'Registered', 'Unregistered'
102
- * **NOTE: This property will not be serialized. It can only be populated by
103
- * the server.**
104
- */
105
- readonly workspaceState?: WorkspaceState;
106
- /**
107
- * @member {string} [workspaceId] The immutable id associated with this
108
- * workspace.
109
- * **NOTE: This property will not be serialized. It can only be populated by
110
- * the server.**
111
- */
112
- readonly workspaceId?: string;
113
- /**
114
- * @member {string} [creationTime] The creation time for this workspace
115
- * resource.
116
- * **NOTE: This property will not be serialized. It can only be populated by
117
- * the server.**
118
- */
119
- readonly creationTime?: string;
120
- /**
121
- * @member {string} [studioEndpoint] The regional endpoint for the machine
122
- * learning studio service which hosts this workspace.
123
- * **NOTE: This property will not be serialized. It can only be populated by
124
- * the server.**
125
- */
126
- readonly studioEndpoint?: string;
127
- /**
128
- * @member {string} [keyVaultIdentifierId] The key vault identifier used for
129
- * encrypted workspaces.
130
- */
131
- keyVaultIdentifierId?: string;
70
+ /** Sku of the resource */
71
+ export interface Sku {
72
+ /** Name of the sku */
73
+ name?: string;
74
+ /** Tier of the sku like Basic or Enterprise */
75
+ tier?: string;
132
76
  }
133
77
 
134
- /**
135
- * @interface
136
- * An interface representing WorkspaceUpdateParameters.
137
- * The parameters for updating a machine learning workspace.
138
- *
139
- */
78
+ /** The parameters for updating a machine learning workspace. */
140
79
  export interface WorkspaceUpdateParameters {
141
- /**
142
- * @member {{ [propertyName: string]: string }} [tags] The resource tags for
143
- * the machine learning workspace.
144
- */
80
+ /** The resource tags for the machine learning workspace. */
145
81
  tags?: { [propertyName: string]: string };
146
- /**
147
- * @member {WorkspaceState} [workspaceState] The current state of workspace
148
- * resource. Possible values include: 'Deleted', 'Enabled', 'Disabled',
149
- * 'Migrated', 'Updated', 'Registered', 'Unregistered'
150
- */
82
+ /** The current state of workspace resource. */
151
83
  workspaceState?: WorkspaceState;
152
- /**
153
- * @member {string} [keyVaultIdentifierId] The key vault identifier used for
154
- * encrypted workspaces.
155
- */
84
+ /** The key vault identifier used for encrypted workspaces. */
156
85
  keyVaultIdentifierId?: string;
86
+ /** The sku of the workspace. */
87
+ sku?: Sku;
157
88
  }
158
89
 
159
- /**
160
- * @interface
161
- * An interface representing WorkspaceKeysResponse.
162
- * Workspace authorization keys for a workspace.
163
- *
164
- */
90
+ /** Workspace authorization keys for a workspace. */
165
91
  export interface WorkspaceKeysResponse {
166
- /**
167
- * @member {string} [primaryToken] Primary authorization key for this
168
- * workspace.
169
- */
92
+ /** Primary authorization key for this workspace. */
170
93
  primaryToken?: string;
171
- /**
172
- * @member {string} [secondaryToken] Secondary authorization key for this
173
- * workspace.
174
- */
94
+ /** Secondary authorization key for this workspace. */
175
95
  secondaryToken?: string;
176
96
  }
177
97
 
178
- /**
179
- * @interface
180
- * An interface representing OperationDisplay.
181
- * Display name of operation
182
- *
183
- */
184
- export interface OperationDisplay {
185
- /**
186
- * @member {string} [provider] The resource provider name:
187
- * Microsoft.MachineLearning
188
- */
189
- provider?: string;
190
- /**
191
- * @member {string} [resource] The resource on which the operation is
192
- * performed.
193
- */
194
- resource?: string;
195
- /**
196
- * @member {string} [operation] The operation that users can perform.
197
- */
198
- operation?: string;
199
- /**
200
- * @member {string} [description] The description for the operation.
201
- */
202
- description?: string;
203
- }
204
-
205
- /**
206
- * @interface
207
- * An interface representing Operation.
208
- * Azure Machine Learning Studio REST API operation
209
- *
210
- */
211
- export interface Operation {
212
- /**
213
- * @member {string} [name] Operation name: {provider}/{resource}/{operation}
214
- */
215
- name?: string;
216
- /**
217
- * @member {OperationDisplay} [display] Display name of operation
218
- */
219
- display?: OperationDisplay;
220
- }
221
-
222
- /**
223
- * @interface
224
- * An interface representing MachineLearningWorkspacesManagementClientOptions.
225
- * @extends AzureServiceClientOptions
226
- */
227
- export interface MachineLearningWorkspacesManagementClientOptions extends AzureServiceClientOptions {
228
- /**
229
- * @member {string} [baseUri]
230
- */
231
- baseUri?: string;
232
- }
233
-
234
-
235
- /**
236
- * @interface
237
- * An interface representing the OperationListResult.
238
- * An array of operations supported by the resource provider.
239
- *
240
- * @extends Array<Operation>
241
- */
242
- export interface OperationListResult extends Array<Operation> {
243
- }
244
-
245
- /**
246
- * @interface
247
- * An interface representing the WorkspaceListResult.
248
- * The result of a request to list machine learning workspace keys.
249
- *
250
- * @extends Array<Workspace>
251
- */
252
- export interface WorkspaceListResult extends Array<Workspace> {
253
- /**
254
- * @member {string} [nextLink] The URI that can be used to request the next
255
- * list of machine learning workspaces.
256
- */
98
+ /** The result of a request to list machine learning workspace keys. */
99
+ export interface WorkspaceListResult {
100
+ /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */
101
+ value?: Workspace[];
102
+ /** The URI that can be used to request the next list of machine learning workspaces. */
257
103
  nextLink?: string;
258
104
  }
259
105
 
260
- /**
261
- * Defines values for WorkspaceType.
262
- * Possible values include: 'Production', 'Free', 'Anonymous', 'PaidStandard', 'PaidPremium'
263
- * @readonly
264
- * @enum {string}
265
- */
266
- export type WorkspaceType = 'Production' | 'Free' | 'Anonymous' | 'PaidStandard' | 'PaidPremium';
267
-
268
- /**
269
- * Defines values for WorkspaceState.
270
- * Possible values include: 'Deleted', 'Enabled', 'Disabled', 'Migrated', 'Updated', 'Registered',
271
- * 'Unregistered'
272
- * @readonly
273
- * @enum {string}
274
- */
275
- export type WorkspaceState = 'Deleted' | 'Enabled' | 'Disabled' | 'Migrated' | 'Updated' | 'Registered' | 'Unregistered';
276
-
277
- /**
278
- * Contains response data for the list operation.
279
- */
280
- export type OperationsListResponse = OperationListResult & {
281
- /**
282
- * The underlying HTTP response.
283
- */
284
- _response: msRest.HttpResponse & {
285
- /**
286
- * The response body as text (string format)
287
- */
288
- bodyAsText: string;
289
- /**
290
- * The response body as parsed JSON or XML
291
- */
292
- parsedBody: OperationListResult;
293
- };
294
- };
295
-
296
- /**
297
- * Contains response data for the get operation.
298
- */
299
- export type WorkspacesGetResponse = Workspace & {
300
- /**
301
- * The underlying HTTP response.
302
- */
303
- _response: msRest.HttpResponse & {
304
- /**
305
- * The response body as text (string format)
306
- */
307
- bodyAsText: string;
308
- /**
309
- * The response body as parsed JSON or XML
310
- */
311
- parsedBody: Workspace;
312
- };
313
- };
314
-
315
- /**
316
- * Contains response data for the createOrUpdate operation.
317
- */
318
- export type WorkspacesCreateOrUpdateResponse = Workspace & {
319
- /**
320
- * The underlying HTTP response.
321
- */
322
- _response: msRest.HttpResponse & {
323
- /**
324
- * The response body as text (string format)
325
- */
326
- bodyAsText: string;
327
- /**
328
- * The response body as parsed JSON or XML
329
- */
330
- parsedBody: Workspace;
331
- };
332
- };
333
-
334
- /**
335
- * Contains response data for the update operation.
336
- */
337
- export type WorkspacesUpdateResponse = Workspace & {
338
- /**
339
- * The underlying HTTP response.
340
- */
341
- _response: msRest.HttpResponse & {
342
- /**
343
- * The response body as text (string format)
344
- */
345
- bodyAsText: string;
346
- /**
347
- * The response body as parsed JSON or XML
348
- */
349
- parsedBody: Workspace;
350
- };
351
- };
352
-
353
- /**
354
- * Contains response data for the listWorkspaceKeys operation.
355
- */
356
- export type WorkspacesListWorkspaceKeysResponse = WorkspaceKeysResponse & {
106
+ /** An object that represents a machine learning workspace. */
107
+ export type Workspace = Resource & {
108
+ /** The fully qualified arm id of the storage account associated with this workspace. */
109
+ userStorageAccountId?: string;
110
+ /** The email id of the owner for this workspace. */
111
+ ownerEmail?: string;
357
112
  /**
358
- * The underlying HTTP response.
113
+ * The type of this workspace.
114
+ * NOTE: This property will not be serialized. It can only be populated by the server.
359
115
  */
360
- _response: msRest.HttpResponse & {
361
- /**
362
- * The response body as text (string format)
363
- */
364
- bodyAsText: string;
365
- /**
366
- * The response body as parsed JSON or XML
367
- */
368
- parsedBody: WorkspaceKeysResponse;
369
- };
370
- };
371
-
372
- /**
373
- * Contains response data for the listByResourceGroup operation.
374
- */
375
- export type WorkspacesListByResourceGroupResponse = WorkspaceListResult & {
116
+ readonly workspaceType?: WorkspaceType;
376
117
  /**
377
- * The underlying HTTP response.
118
+ * The current state of workspace resource.
119
+ * NOTE: This property will not be serialized. It can only be populated by the server.
378
120
  */
379
- _response: msRest.HttpResponse & {
380
- /**
381
- * The response body as text (string format)
382
- */
383
- bodyAsText: string;
384
- /**
385
- * The response body as parsed JSON or XML
386
- */
387
- parsedBody: WorkspaceListResult;
388
- };
389
- };
390
-
391
- /**
392
- * Contains response data for the list operation.
393
- */
394
- export type WorkspacesListResponse = WorkspaceListResult & {
121
+ readonly workspaceState?: WorkspaceState;
395
122
  /**
396
- * The underlying HTTP response.
123
+ * The immutable id associated with this workspace.
124
+ * NOTE: This property will not be serialized. It can only be populated by the server.
397
125
  */
398
- _response: msRest.HttpResponse & {
399
- /**
400
- * The response body as text (string format)
401
- */
402
- bodyAsText: string;
403
- /**
404
- * The response body as parsed JSON or XML
405
- */
406
- parsedBody: WorkspaceListResult;
407
- };
408
- };
409
-
410
- /**
411
- * Contains response data for the listByResourceGroupNext operation.
412
- */
413
- export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult & {
126
+ readonly workspaceId?: string;
414
127
  /**
415
- * The underlying HTTP response.
128
+ * The creation time for this workspace resource.
129
+ * NOTE: This property will not be serialized. It can only be populated by the server.
416
130
  */
417
- _response: msRest.HttpResponse & {
418
- /**
419
- * The response body as text (string format)
420
- */
421
- bodyAsText: string;
422
- /**
423
- * The response body as parsed JSON or XML
424
- */
425
- parsedBody: WorkspaceListResult;
426
- };
427
- };
428
-
429
- /**
430
- * Contains response data for the listNext operation.
431
- */
432
- export type WorkspacesListNextResponse = WorkspaceListResult & {
131
+ readonly creationTime?: string;
433
132
  /**
434
- * The underlying HTTP response.
133
+ * The regional endpoint for the machine learning studio service which hosts this workspace.
134
+ * NOTE: This property will not be serialized. It can only be populated by the server.
435
135
  */
436
- _response: msRest.HttpResponse & {
437
- /**
438
- * The response body as text (string format)
439
- */
440
- bodyAsText: string;
441
- /**
442
- * The response body as parsed JSON or XML
443
- */
444
- parsedBody: WorkspaceListResult;
445
- };
136
+ readonly studioEndpoint?: string;
137
+ /** The key vault identifier used for encrypted workspaces. */
138
+ keyVaultIdentifierId?: string;
446
139
  };
140
+ /** Defines values for WorkspaceType. */
141
+ export type WorkspaceType =
142
+ | "Production"
143
+ | "Free"
144
+ | "Anonymous"
145
+ | "PaidStandard"
146
+ | "PaidPremium";
147
+ /** Defines values for WorkspaceState. */
148
+ export type WorkspaceState =
149
+ | "Deleted"
150
+ | "Enabled"
151
+ | "Disabled"
152
+ | "Migrated"
153
+ | "Updated"
154
+ | "Registered"
155
+ | "Unregistered";
156
+
157
+ /** Optional parameters. */
158
+ export interface OperationsListOptionalParams
159
+ extends coreClient.OperationOptions {}
160
+
161
+ /** Contains response data for the list operation. */
162
+ export type OperationsListResponse = OperationListResult;
163
+
164
+ /** Optional parameters. */
165
+ export interface WorkspacesGetOptionalParams
166
+ extends coreClient.OperationOptions {}
167
+
168
+ /** Contains response data for the get operation. */
169
+ export type WorkspacesGetResponse = Workspace;
170
+
171
+ /** Optional parameters. */
172
+ export interface WorkspacesCreateOrUpdateOptionalParams
173
+ extends coreClient.OperationOptions {}
174
+
175
+ /** Contains response data for the createOrUpdate operation. */
176
+ export type WorkspacesCreateOrUpdateResponse = Workspace;
177
+
178
+ /** Optional parameters. */
179
+ export interface WorkspacesDeleteOptionalParams
180
+ extends coreClient.OperationOptions {}
181
+
182
+ /** Optional parameters. */
183
+ export interface WorkspacesUpdateOptionalParams
184
+ extends coreClient.OperationOptions {}
185
+
186
+ /** Contains response data for the update operation. */
187
+ export type WorkspacesUpdateResponse = Workspace;
188
+
189
+ /** Optional parameters. */
190
+ export interface WorkspacesResyncStorageKeysOptionalParams
191
+ extends coreClient.OperationOptions {}
192
+
193
+ /** Optional parameters. */
194
+ export interface WorkspacesListWorkspaceKeysOptionalParams
195
+ extends coreClient.OperationOptions {}
196
+
197
+ /** Contains response data for the listWorkspaceKeys operation. */
198
+ export type WorkspacesListWorkspaceKeysResponse = WorkspaceKeysResponse;
199
+
200
+ /** Optional parameters. */
201
+ export interface WorkspacesListByResourceGroupOptionalParams
202
+ extends coreClient.OperationOptions {}
203
+
204
+ /** Contains response data for the listByResourceGroup operation. */
205
+ export type WorkspacesListByResourceGroupResponse = WorkspaceListResult;
206
+
207
+ /** Optional parameters. */
208
+ export interface WorkspacesListOptionalParams
209
+ extends coreClient.OperationOptions {}
210
+
211
+ /** Contains response data for the list operation. */
212
+ export type WorkspacesListResponse = WorkspaceListResult;
213
+
214
+ /** Optional parameters. */
215
+ export interface WorkspacesListByResourceGroupNextOptionalParams
216
+ extends coreClient.OperationOptions {}
217
+
218
+ /** Contains response data for the listByResourceGroupNext operation. */
219
+ export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult;
220
+
221
+ /** Optional parameters. */
222
+ export interface WorkspacesListNextOptionalParams
223
+ extends coreClient.OperationOptions {}
224
+
225
+ /** Contains response data for the listNext operation. */
226
+ export type WorkspacesListNextResponse = WorkspaceListResult;
227
+
228
+ /** Optional parameters. */
229
+ export interface MachineLearningWorkspacesManagementClientOptionalParams
230
+ extends coreClient.ServiceClientOptions {
231
+ /** server parameter */
232
+ $host?: string;
233
+ /** Api Version */
234
+ apiVersion?: string;
235
+ /** Overrides client endpoint. */
236
+ endpoint?: string;
237
+ }