@azure/arm-workspaces 0.1.1 → 1.0.0-alpha.20220201.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 (154) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +75 -73
  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 +85 -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 +77 -0
  93. package/src/models/index.ts +237 -0
  94. package/{lib → src}/models/mappers.ts +177 -166
  95. package/src/models/parameters.ts +120 -0
  96. package/{lib → src}/operations/index.ts +3 -5
  97. package/src/operations/operations.ts +98 -0
  98. package/src/operations/workspaces.ts +532 -0
  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 -980
  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 -19
  110. package/esm/machineLearningWorkspacesManagementClient.d.ts.map +0 -1
  111. package/esm/machineLearningWorkspacesManagementClient.js +0 -34
  112. package/esm/machineLearningWorkspacesManagementClient.js.map +0 -1
  113. package/esm/machineLearningWorkspacesManagementClientContext.d.ts +0 -16
  114. package/esm/machineLearningWorkspacesManagementClientContext.d.ts.map +0 -1
  115. package/esm/machineLearningWorkspacesManagementClientContext.js +0 -56
  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/lib/machineLearningWorkspacesManagementClient.ts +0 -44
  148. package/lib/machineLearningWorkspacesManagementClientContext.ts +0 -62
  149. package/lib/models/index.ts +0 -446
  150. package/lib/models/operationsMappers.ts +0 -17
  151. package/lib/models/parameters.ts +0 -73
  152. package/lib/models/workspacesMappers.ts +0 -20
  153. package/lib/operations/operations.ts +0 -74
  154. package/lib/operations/workspaces.ts +0 -609
@@ -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 { MachineLearningWorkspacesManagementClientContext } from "./machineLearningWorkspacesManagementClientContext";
16
-
17
-
18
- class MachineLearningWorkspacesManagementClient extends MachineLearningWorkspacesManagementClientContext {
19
- // Operation groups
20
- operations: operations.Operations;
21
- workspaces: operations.Workspaces;
22
-
23
- /**
24
- * Initializes a new instance of the MachineLearningWorkspacesManagementClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure.
26
- * @param subscriptionId The Microsoft Azure subscription ID.
27
- * @param [options] The parameter options
28
- */
29
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MachineLearningWorkspacesManagementClientOptions) {
30
- super(credentials, subscriptionId, options);
31
- this.operations = new operations.Operations(this);
32
- this.workspaces = new operations.Workspaces(this);
33
- }
34
- }
35
-
36
- // Operation Specifications
37
-
38
- export {
39
- MachineLearningWorkspacesManagementClient,
40
- MachineLearningWorkspacesManagementClientContext,
41
- Models as MachineLearningWorkspacesManagementModels,
42
- Mappers as MachineLearningWorkspacesManagementMappers
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-workspaces";
16
- const packageVersion = "0.1.1";
17
-
18
- export class MachineLearningWorkspacesManagementClientContext extends msRestAzure.AzureServiceClient {
19
- credentials: msRest.ServiceClientCredentials;
20
- subscriptionId: string;
21
- apiVersion?: string;
22
-
23
- /**
24
- * Initializes a new instance of the MachineLearningWorkspacesManagementClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure.
26
- * @param subscriptionId The Microsoft Azure subscription ID.
27
- * @param [options] The parameter options
28
- */
29
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MachineLearningWorkspacesManagementClientOptions) {
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 = '2016-04-01';
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
- }
@@ -1,446 +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 { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
12
- import * as msRest from "@azure/ms-rest-js";
13
-
14
- export { BaseResource, CloudError };
15
-
16
-
17
- /**
18
- * @interface
19
- * An interface representing ErrorResponse.
20
- * The error response send when an operation fails.
21
- *
22
- */
23
- export interface ErrorResponse {
24
- /**
25
- * @member {string} code error code
26
- */
27
- code: string;
28
- /**
29
- * @member {string} message error message
30
- */
31
- message: string;
32
- }
33
-
34
- /**
35
- * @interface
36
- * An interface representing Resource.
37
- * An Azure resource.
38
- *
39
- * @extends BaseResource
40
- */
41
- export interface Resource extends BaseResource {
42
- /**
43
- * @member {string} [id] The resource ID.
44
- * **NOTE: This property will not be serialized. It can only be populated by
45
- * the server.**
46
- */
47
- readonly id?: string;
48
- /**
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.**
52
- */
53
- readonly name?: string;
54
- /**
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
- */
59
- readonly type?: string;
60
- /**
61
- * @member {string} location The location of the resource. This cannot be
62
- * changed after the resource is created.
63
- */
64
- location: string;
65
- /**
66
- * @member {{ [propertyName: string]: string }} [tags] The tags of the
67
- * resource.
68
- */
69
- tags?: { [propertyName: string]: string };
70
- }
71
-
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;
132
- }
133
-
134
- /**
135
- * @interface
136
- * An interface representing WorkspaceUpdateParameters.
137
- * The parameters for updating a machine learning workspace.
138
- *
139
- */
140
- export interface WorkspaceUpdateParameters {
141
- /**
142
- * @member {{ [propertyName: string]: string }} [tags] The resource tags for
143
- * the machine learning workspace.
144
- */
145
- 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
- */
151
- workspaceState?: WorkspaceState;
152
- /**
153
- * @member {string} [keyVaultIdentifierId] The key vault identifier used for
154
- * encrypted workspaces.
155
- */
156
- keyVaultIdentifierId?: string;
157
- }
158
-
159
- /**
160
- * @interface
161
- * An interface representing WorkspaceKeysResponse.
162
- * Workspace authorization keys for a workspace.
163
- *
164
- */
165
- export interface WorkspaceKeysResponse {
166
- /**
167
- * @member {string} [primaryToken] Primary authorization key for this
168
- * workspace.
169
- */
170
- primaryToken?: string;
171
- /**
172
- * @member {string} [secondaryToken] Secondary authorization key for this
173
- * workspace.
174
- */
175
- secondaryToken?: string;
176
- }
177
-
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
- */
257
- nextLink?: string;
258
- }
259
-
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 & {
357
- /**
358
- * The underlying HTTP response.
359
- */
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 & {
376
- /**
377
- * The underlying HTTP response.
378
- */
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 & {
395
- /**
396
- * The underlying HTTP response.
397
- */
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 & {
414
- /**
415
- * The underlying HTTP response.
416
- */
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 & {
433
- /**
434
- * The underlying HTTP response.
435
- */
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
- };
446
- };
@@ -1,17 +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
- export {
12
- OperationListResult,
13
- Operation,
14
- OperationDisplay,
15
- ErrorResponse
16
- } from "../models/mappers";
17
-
@@ -1,73 +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
-
13
- export const acceptLanguage: msRest.OperationParameter = {
14
- parameterPath: "acceptLanguage",
15
- mapper: {
16
- serializedName: "accept-language",
17
- defaultValue: 'en-US',
18
- type: {
19
- name: "String"
20
- }
21
- }
22
- };
23
- export const apiVersion: msRest.OperationQueryParameter = {
24
- parameterPath: "apiVersion",
25
- mapper: {
26
- required: true,
27
- serializedName: "api-version",
28
- type: {
29
- name: "String"
30
- }
31
- }
32
- };
33
- export const nextPageLink: msRest.OperationURLParameter = {
34
- parameterPath: "nextPageLink",
35
- mapper: {
36
- required: true,
37
- serializedName: "nextLink",
38
- type: {
39
- name: "String"
40
- }
41
- },
42
- skipEncoding: true
43
- };
44
- export const resourceGroupName: msRest.OperationURLParameter = {
45
- parameterPath: "resourceGroupName",
46
- mapper: {
47
- required: true,
48
- serializedName: "resourceGroupName",
49
- type: {
50
- name: "String"
51
- }
52
- }
53
- };
54
- export const subscriptionId: msRest.OperationURLParameter = {
55
- parameterPath: "subscriptionId",
56
- mapper: {
57
- required: true,
58
- serializedName: "subscriptionId",
59
- type: {
60
- name: "String"
61
- }
62
- }
63
- };
64
- export const workspaceName: msRest.OperationURLParameter = {
65
- parameterPath: "workspaceName",
66
- mapper: {
67
- required: true,
68
- serializedName: "workspaceName",
69
- type: {
70
- name: "String"
71
- }
72
- }
73
- };
@@ -1,20 +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
- export {
12
- Workspace,
13
- Resource,
14
- BaseResource,
15
- ErrorResponse,
16
- WorkspaceUpdateParameters,
17
- WorkspaceKeysResponse,
18
- WorkspaceListResult
19
- } from "../models/mappers";
20
-