@azure/arm-powerbiembedded 1.2.0 → 2.0.0
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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +75 -77
- package/dist/index.js +1266 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +226 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +24 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +19 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +183 -228
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +15 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +113 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +10 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/workspaceCollections.d.ts +110 -0
- package/dist-esm/src/operations/workspaceCollections.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaceCollections.js +456 -0
- package/dist-esm/src/operations/workspaceCollections.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +30 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +99 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +10 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaceCollections.d.ts +87 -0
- package/dist-esm/src/operationsInterfaces/workspaceCollections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaceCollections.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaceCollections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
- package/dist-esm/src/powerBIEmbeddedManagementClient.d.ts +25 -0
- package/dist-esm/src/powerBIEmbeddedManagementClient.d.ts.map +1 -0
- package/dist-esm/src/powerBIEmbeddedManagementClient.js +80 -0
- package/dist-esm/src/powerBIEmbeddedManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +78 -34
- package/review/arm-powerbiembedded.api.md +304 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +275 -0
- package/{lib → src}/models/mappers.ts +185 -231
- package/src/models/parameters.ts +137 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/workspaceCollections.ts +595 -0
- package/src/operations/workspaces.ts +135 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/workspaceCollections.ts +163 -0
- package/src/operationsInterfaces/workspaces.ts +26 -0
- package/src/powerBIEmbeddedManagementClient.ts +116 -0
- package/tsconfig.json +6 -5
- package/types/arm-powerbiembedded.d.ts +394 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-powerbiembedded.js +0 -1247
- package/dist/arm-powerbiembedded.js.map +0 -1
- package/dist/arm-powerbiembedded.min.js +0 -1
- package/dist/arm-powerbiembedded.min.js.map +0 -1
- package/esm/models/index.d.ts +0 -493
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -21
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -70
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/workspaceCollectionsMappers.d.ts +0 -2
- package/esm/models/workspaceCollectionsMappers.d.ts.map +0 -1
- package/esm/models/workspaceCollectionsMappers.js +0 -11
- package/esm/models/workspaceCollectionsMappers.js.map +0 -1
- package/esm/models/workspacesMappers.d.ts +0 -2
- package/esm/models/workspacesMappers.d.ts.map +0 -1
- package/esm/models/workspacesMappers.js +0 -11
- package/esm/models/workspacesMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/workspaceCollections.d.ts +0 -222
- package/esm/operations/workspaceCollections.d.ts.map +0 -1
- package/esm/operations/workspaceCollections.js +0 -367
- package/esm/operations/workspaceCollections.js.map +0 -1
- package/esm/operations/workspaces.d.ts +0 -34
- package/esm/operations/workspaces.d.ts.map +0 -1
- package/esm/operations/workspaces.js +0 -58
- package/esm/operations/workspaces.js.map +0 -1
- package/esm/powerBIEmbeddedManagementClient.d.ts +0 -35
- package/esm/powerBIEmbeddedManagementClient.d.ts.map +0 -1
- package/esm/powerBIEmbeddedManagementClient.js +0 -62
- package/esm/powerBIEmbeddedManagementClient.js.map +0 -1
- package/esm/powerBIEmbeddedManagementClientContext.d.ts +0 -17
- package/esm/powerBIEmbeddedManagementClientContext.d.ts.map +0 -1
- package/esm/powerBIEmbeddedManagementClientContext.js +0 -57
- package/esm/powerBIEmbeddedManagementClientContext.js.map +0 -1
- package/lib/models/index.ts +0 -529
- package/lib/models/parameters.ts +0 -72
- package/lib/models/workspaceCollectionsMappers.ts +0 -25
- package/lib/models/workspacesMappers.ts +0 -17
- package/lib/operations/workspaceCollections.ts +0 -628
- package/lib/operations/workspaces.ts +0 -87
- package/lib/powerBIEmbeddedManagementClient.ts +0 -90
- package/lib/powerBIEmbeddedManagementClientContext.ts +0 -63
package/lib/models/index.ts
DELETED
|
@@ -1,529 +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 ErrorDetail.
|
|
20
|
-
*/
|
|
21
|
-
export interface ErrorDetail {
|
|
22
|
-
/**
|
|
23
|
-
* @member {string} [code]
|
|
24
|
-
*/
|
|
25
|
-
code?: string;
|
|
26
|
-
/**
|
|
27
|
-
* @member {string} [message]
|
|
28
|
-
*/
|
|
29
|
-
message?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @member {string} [target]
|
|
32
|
-
*/
|
|
33
|
-
target?: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @interface
|
|
38
|
-
* An interface representing ErrorModel.
|
|
39
|
-
*/
|
|
40
|
-
export interface ErrorModel {
|
|
41
|
-
/**
|
|
42
|
-
* @member {string} [code]
|
|
43
|
-
*/
|
|
44
|
-
code?: string;
|
|
45
|
-
/**
|
|
46
|
-
* @member {string} [message]
|
|
47
|
-
*/
|
|
48
|
-
message?: string;
|
|
49
|
-
/**
|
|
50
|
-
* @member {string} [target]
|
|
51
|
-
*/
|
|
52
|
-
target?: string;
|
|
53
|
-
/**
|
|
54
|
-
* @member {ErrorDetail[]} [details]
|
|
55
|
-
*/
|
|
56
|
-
details?: ErrorDetail[];
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @interface
|
|
61
|
-
* An interface representing AzureSku.
|
|
62
|
-
*/
|
|
63
|
-
export interface AzureSku {
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @interface
|
|
68
|
-
* An interface representing WorkspaceCollection.
|
|
69
|
-
*/
|
|
70
|
-
export interface WorkspaceCollection {
|
|
71
|
-
/**
|
|
72
|
-
* @member {string} [id] Resource id
|
|
73
|
-
*/
|
|
74
|
-
id?: string;
|
|
75
|
-
/**
|
|
76
|
-
* @member {string} [name] Workspace collection name
|
|
77
|
-
*/
|
|
78
|
-
name?: string;
|
|
79
|
-
/**
|
|
80
|
-
* @member {string} [type] Resource type
|
|
81
|
-
*/
|
|
82
|
-
type?: string;
|
|
83
|
-
/**
|
|
84
|
-
* @member {string} [location] Azure location
|
|
85
|
-
*/
|
|
86
|
-
location?: string;
|
|
87
|
-
/**
|
|
88
|
-
* @member {{ [propertyName: string]: string }} [tags]
|
|
89
|
-
*/
|
|
90
|
-
tags?: { [propertyName: string]: string };
|
|
91
|
-
/**
|
|
92
|
-
* @member {any} [properties] Properties
|
|
93
|
-
*/
|
|
94
|
-
properties?: any;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @interface
|
|
99
|
-
* An interface representing Workspace.
|
|
100
|
-
*/
|
|
101
|
-
export interface Workspace {
|
|
102
|
-
/**
|
|
103
|
-
* @member {string} [id] Workspace id
|
|
104
|
-
*/
|
|
105
|
-
id?: string;
|
|
106
|
-
/**
|
|
107
|
-
* @member {string} [name] Workspace name
|
|
108
|
-
*/
|
|
109
|
-
name?: string;
|
|
110
|
-
/**
|
|
111
|
-
* @member {string} [type] Resource type
|
|
112
|
-
*/
|
|
113
|
-
type?: string;
|
|
114
|
-
/**
|
|
115
|
-
* @member {any} [properties] Property bag
|
|
116
|
-
*/
|
|
117
|
-
properties?: any;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @interface
|
|
122
|
-
* An interface representing Display.
|
|
123
|
-
*/
|
|
124
|
-
export interface Display {
|
|
125
|
-
/**
|
|
126
|
-
* @member {string} [provider] The localized friendly form of the resource
|
|
127
|
-
* provider name. This form is also expected to include the publisher/company
|
|
128
|
-
* responsible. Use Title Casing. Begin with "Microsoft" for 1st party
|
|
129
|
-
* services.
|
|
130
|
-
*/
|
|
131
|
-
provider?: string;
|
|
132
|
-
/**
|
|
133
|
-
* @member {string} [resource] The localized friendly form of the resource
|
|
134
|
-
* type related to this action/operation. This form should match the public
|
|
135
|
-
* documentation for the resource provider. Use Title Casing. For examples,
|
|
136
|
-
* refer to the "name" section.
|
|
137
|
-
*/
|
|
138
|
-
resource?: string;
|
|
139
|
-
/**
|
|
140
|
-
* @member {string} [operation] The localized friendly name for the operation
|
|
141
|
-
* as shown to the user. This name should be concise (to fit in drop downs),
|
|
142
|
-
* but clear (self-documenting). Use Title Casing and include the
|
|
143
|
-
* entity/resource to which it applies.
|
|
144
|
-
*/
|
|
145
|
-
operation?: string;
|
|
146
|
-
/**
|
|
147
|
-
* @member {string} [description] The localized friendly description for the
|
|
148
|
-
* operation as shown to the user. This description should be thorough, yet
|
|
149
|
-
* concise. It will be used in tool-tips and detailed views.
|
|
150
|
-
*/
|
|
151
|
-
description?: string;
|
|
152
|
-
/**
|
|
153
|
-
* @member {string} [origin] The intended executor of the operation; governs
|
|
154
|
-
* the display of the operation in the RBAC UX and the audit logs UX. Default
|
|
155
|
-
* value is 'user,system'
|
|
156
|
-
*/
|
|
157
|
-
origin?: string;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @interface
|
|
162
|
-
* An interface representing Operation.
|
|
163
|
-
*/
|
|
164
|
-
export interface Operation {
|
|
165
|
-
/**
|
|
166
|
-
* @member {string} [name] The name of the operation being performed on this
|
|
167
|
-
* particular object. This name should match the action name that appears in
|
|
168
|
-
* RBAC / the event service.
|
|
169
|
-
*/
|
|
170
|
-
name?: string;
|
|
171
|
-
/**
|
|
172
|
-
* @member {Display} [display]
|
|
173
|
-
*/
|
|
174
|
-
display?: Display;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* @interface
|
|
179
|
-
* An interface representing OperationList.
|
|
180
|
-
*/
|
|
181
|
-
export interface OperationList {
|
|
182
|
-
/**
|
|
183
|
-
* @member {Operation[]} [value]
|
|
184
|
-
*/
|
|
185
|
-
value?: Operation[];
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* @interface
|
|
190
|
-
* An interface representing WorkspaceCollectionAccessKeys.
|
|
191
|
-
*/
|
|
192
|
-
export interface WorkspaceCollectionAccessKeys {
|
|
193
|
-
/**
|
|
194
|
-
* @member {string} [key1] Access key 1
|
|
195
|
-
*/
|
|
196
|
-
key1?: string;
|
|
197
|
-
/**
|
|
198
|
-
* @member {string} [key2] Access key 2
|
|
199
|
-
*/
|
|
200
|
-
key2?: string;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* @interface
|
|
205
|
-
* An interface representing WorkspaceCollectionAccessKey.
|
|
206
|
-
*/
|
|
207
|
-
export interface WorkspaceCollectionAccessKey {
|
|
208
|
-
/**
|
|
209
|
-
* @member {AccessKeyName} [keyName] Key name. Possible values include:
|
|
210
|
-
* 'key1', 'key2'
|
|
211
|
-
*/
|
|
212
|
-
keyName?: AccessKeyName;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* @interface
|
|
217
|
-
* An interface representing CreateWorkspaceCollectionRequest.
|
|
218
|
-
*/
|
|
219
|
-
export interface CreateWorkspaceCollectionRequest {
|
|
220
|
-
/**
|
|
221
|
-
* @member {string} [location] Azure location
|
|
222
|
-
*/
|
|
223
|
-
location?: string;
|
|
224
|
-
/**
|
|
225
|
-
* @member {{ [propertyName: string]: string }} [tags]
|
|
226
|
-
*/
|
|
227
|
-
tags?: { [propertyName: string]: string };
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* @interface
|
|
232
|
-
* An interface representing UpdateWorkspaceCollectionRequest.
|
|
233
|
-
*/
|
|
234
|
-
export interface UpdateWorkspaceCollectionRequest {
|
|
235
|
-
/**
|
|
236
|
-
* @member {{ [propertyName: string]: string }} [tags]
|
|
237
|
-
*/
|
|
238
|
-
tags?: { [propertyName: string]: string };
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @interface
|
|
243
|
-
* An interface representing CheckNameRequest.
|
|
244
|
-
*/
|
|
245
|
-
export interface CheckNameRequest {
|
|
246
|
-
/**
|
|
247
|
-
* @member {string} [name] Workspace collection name
|
|
248
|
-
*/
|
|
249
|
-
name?: string;
|
|
250
|
-
/**
|
|
251
|
-
* @member {string} [type] Resource type. Default value:
|
|
252
|
-
* 'Microsoft.PowerBI/workspaceCollections' .
|
|
253
|
-
*/
|
|
254
|
-
type?: string;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* @interface
|
|
259
|
-
* An interface representing CheckNameResponse.
|
|
260
|
-
*/
|
|
261
|
-
export interface CheckNameResponse {
|
|
262
|
-
/**
|
|
263
|
-
* @member {boolean} [nameAvailable] Specifies a Boolean value that indicates
|
|
264
|
-
* whether the specified Power BI Workspace Collection name is available to
|
|
265
|
-
* use.
|
|
266
|
-
*/
|
|
267
|
-
nameAvailable?: boolean;
|
|
268
|
-
/**
|
|
269
|
-
* @member {CheckNameReason} [reason] Reason why the workspace collection
|
|
270
|
-
* name cannot be used. Possible values include: 'Unavailable', 'Invalid'
|
|
271
|
-
*/
|
|
272
|
-
reason?: CheckNameReason;
|
|
273
|
-
/**
|
|
274
|
-
* @member {string} [message] Message indicating an unavailable name due to a
|
|
275
|
-
* conflict, or a description of the naming rules that are violated.
|
|
276
|
-
*/
|
|
277
|
-
message?: string;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* @interface
|
|
282
|
-
* An interface representing MigrateWorkspaceCollectionRequest.
|
|
283
|
-
*/
|
|
284
|
-
export interface MigrateWorkspaceCollectionRequest {
|
|
285
|
-
/**
|
|
286
|
-
* @member {string} [targetResourceGroup] Name of the resource group the
|
|
287
|
-
* Power BI workspace collections will be migrated to.
|
|
288
|
-
*/
|
|
289
|
-
targetResourceGroup?: string;
|
|
290
|
-
/**
|
|
291
|
-
* @member {string[]} [resources]
|
|
292
|
-
*/
|
|
293
|
-
resources?: string[];
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* @interface
|
|
298
|
-
* An interface representing PowerBIEmbeddedManagementClientOptions.
|
|
299
|
-
* @extends AzureServiceClientOptions
|
|
300
|
-
*/
|
|
301
|
-
export interface PowerBIEmbeddedManagementClientOptions extends AzureServiceClientOptions {
|
|
302
|
-
/**
|
|
303
|
-
* @member {string} [baseUri]
|
|
304
|
-
*/
|
|
305
|
-
baseUri?: string;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* @interface
|
|
311
|
-
* An interface representing the WorkspaceCollectionList.
|
|
312
|
-
* @extends Array<WorkspaceCollection>
|
|
313
|
-
*/
|
|
314
|
-
export interface WorkspaceCollectionList extends Array<WorkspaceCollection> {
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* @interface
|
|
319
|
-
* An interface representing the WorkspaceList.
|
|
320
|
-
* @extends Array<Workspace>
|
|
321
|
-
*/
|
|
322
|
-
export interface WorkspaceList extends Array<Workspace> {
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Defines values for AccessKeyName.
|
|
327
|
-
* Possible values include: 'key1', 'key2'
|
|
328
|
-
* @readonly
|
|
329
|
-
* @enum {string}
|
|
330
|
-
*/
|
|
331
|
-
export type AccessKeyName = 'key1' | 'key2';
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Defines values for CheckNameReason.
|
|
335
|
-
* Possible values include: 'Unavailable', 'Invalid'
|
|
336
|
-
* @readonly
|
|
337
|
-
* @enum {string}
|
|
338
|
-
*/
|
|
339
|
-
export type CheckNameReason = 'Unavailable' | 'Invalid';
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* Contains response data for the getByName operation.
|
|
343
|
-
*/
|
|
344
|
-
export type WorkspaceCollectionsGetByNameResponse = WorkspaceCollection & {
|
|
345
|
-
/**
|
|
346
|
-
* The underlying HTTP response.
|
|
347
|
-
*/
|
|
348
|
-
_response: msRest.HttpResponse & {
|
|
349
|
-
/**
|
|
350
|
-
* The response body as text (string format)
|
|
351
|
-
*/
|
|
352
|
-
bodyAsText: string;
|
|
353
|
-
/**
|
|
354
|
-
* The response body as parsed JSON or XML
|
|
355
|
-
*/
|
|
356
|
-
parsedBody: WorkspaceCollection;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* Contains response data for the create operation.
|
|
362
|
-
*/
|
|
363
|
-
export type WorkspaceCollectionsCreateResponse = WorkspaceCollection & {
|
|
364
|
-
/**
|
|
365
|
-
* The underlying HTTP response.
|
|
366
|
-
*/
|
|
367
|
-
_response: msRest.HttpResponse & {
|
|
368
|
-
/**
|
|
369
|
-
* The response body as text (string format)
|
|
370
|
-
*/
|
|
371
|
-
bodyAsText: string;
|
|
372
|
-
/**
|
|
373
|
-
* The response body as parsed JSON or XML
|
|
374
|
-
*/
|
|
375
|
-
parsedBody: WorkspaceCollection;
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* Contains response data for the update operation.
|
|
381
|
-
*/
|
|
382
|
-
export type WorkspaceCollectionsUpdateResponse = WorkspaceCollection & {
|
|
383
|
-
/**
|
|
384
|
-
* The underlying HTTP response.
|
|
385
|
-
*/
|
|
386
|
-
_response: msRest.HttpResponse & {
|
|
387
|
-
/**
|
|
388
|
-
* The response body as text (string format)
|
|
389
|
-
*/
|
|
390
|
-
bodyAsText: string;
|
|
391
|
-
/**
|
|
392
|
-
* The response body as parsed JSON or XML
|
|
393
|
-
*/
|
|
394
|
-
parsedBody: WorkspaceCollection;
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Contains response data for the checkNameAvailability operation.
|
|
400
|
-
*/
|
|
401
|
-
export type WorkspaceCollectionsCheckNameAvailabilityResponse = CheckNameResponse & {
|
|
402
|
-
/**
|
|
403
|
-
* The underlying HTTP response.
|
|
404
|
-
*/
|
|
405
|
-
_response: msRest.HttpResponse & {
|
|
406
|
-
/**
|
|
407
|
-
* The response body as text (string format)
|
|
408
|
-
*/
|
|
409
|
-
bodyAsText: string;
|
|
410
|
-
/**
|
|
411
|
-
* The response body as parsed JSON or XML
|
|
412
|
-
*/
|
|
413
|
-
parsedBody: CheckNameResponse;
|
|
414
|
-
};
|
|
415
|
-
};
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Contains response data for the listByResourceGroup operation.
|
|
419
|
-
*/
|
|
420
|
-
export type WorkspaceCollectionsListByResourceGroupResponse = WorkspaceCollectionList & {
|
|
421
|
-
/**
|
|
422
|
-
* The underlying HTTP response.
|
|
423
|
-
*/
|
|
424
|
-
_response: msRest.HttpResponse & {
|
|
425
|
-
/**
|
|
426
|
-
* The response body as text (string format)
|
|
427
|
-
*/
|
|
428
|
-
bodyAsText: string;
|
|
429
|
-
/**
|
|
430
|
-
* The response body as parsed JSON or XML
|
|
431
|
-
*/
|
|
432
|
-
parsedBody: WorkspaceCollectionList;
|
|
433
|
-
};
|
|
434
|
-
};
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* Contains response data for the listBySubscription operation.
|
|
438
|
-
*/
|
|
439
|
-
export type WorkspaceCollectionsListBySubscriptionResponse = WorkspaceCollectionList & {
|
|
440
|
-
/**
|
|
441
|
-
* The underlying HTTP response.
|
|
442
|
-
*/
|
|
443
|
-
_response: msRest.HttpResponse & {
|
|
444
|
-
/**
|
|
445
|
-
* The response body as text (string format)
|
|
446
|
-
*/
|
|
447
|
-
bodyAsText: string;
|
|
448
|
-
/**
|
|
449
|
-
* The response body as parsed JSON or XML
|
|
450
|
-
*/
|
|
451
|
-
parsedBody: WorkspaceCollectionList;
|
|
452
|
-
};
|
|
453
|
-
};
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* Contains response data for the getAccessKeys operation.
|
|
457
|
-
*/
|
|
458
|
-
export type WorkspaceCollectionsGetAccessKeysResponse = WorkspaceCollectionAccessKeys & {
|
|
459
|
-
/**
|
|
460
|
-
* The underlying HTTP response.
|
|
461
|
-
*/
|
|
462
|
-
_response: msRest.HttpResponse & {
|
|
463
|
-
/**
|
|
464
|
-
* The response body as text (string format)
|
|
465
|
-
*/
|
|
466
|
-
bodyAsText: string;
|
|
467
|
-
/**
|
|
468
|
-
* The response body as parsed JSON or XML
|
|
469
|
-
*/
|
|
470
|
-
parsedBody: WorkspaceCollectionAccessKeys;
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* Contains response data for the regenerateKey operation.
|
|
476
|
-
*/
|
|
477
|
-
export type WorkspaceCollectionsRegenerateKeyResponse = WorkspaceCollectionAccessKeys & {
|
|
478
|
-
/**
|
|
479
|
-
* The underlying HTTP response.
|
|
480
|
-
*/
|
|
481
|
-
_response: msRest.HttpResponse & {
|
|
482
|
-
/**
|
|
483
|
-
* The response body as text (string format)
|
|
484
|
-
*/
|
|
485
|
-
bodyAsText: string;
|
|
486
|
-
/**
|
|
487
|
-
* The response body as parsed JSON or XML
|
|
488
|
-
*/
|
|
489
|
-
parsedBody: WorkspaceCollectionAccessKeys;
|
|
490
|
-
};
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* Contains response data for the getAvailableOperations operation.
|
|
495
|
-
*/
|
|
496
|
-
export type GetAvailableOperationsResponse = OperationList & {
|
|
497
|
-
/**
|
|
498
|
-
* The underlying HTTP response.
|
|
499
|
-
*/
|
|
500
|
-
_response: msRest.HttpResponse & {
|
|
501
|
-
/**
|
|
502
|
-
* The response body as text (string format)
|
|
503
|
-
*/
|
|
504
|
-
bodyAsText: string;
|
|
505
|
-
/**
|
|
506
|
-
* The response body as parsed JSON or XML
|
|
507
|
-
*/
|
|
508
|
-
parsedBody: OperationList;
|
|
509
|
-
};
|
|
510
|
-
};
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Contains response data for the list operation.
|
|
514
|
-
*/
|
|
515
|
-
export type WorkspacesListResponse = WorkspaceList & {
|
|
516
|
-
/**
|
|
517
|
-
* The underlying HTTP response.
|
|
518
|
-
*/
|
|
519
|
-
_response: msRest.HttpResponse & {
|
|
520
|
-
/**
|
|
521
|
-
* The response body as text (string format)
|
|
522
|
-
*/
|
|
523
|
-
bodyAsText: string;
|
|
524
|
-
/**
|
|
525
|
-
* The response body as parsed JSON or XML
|
|
526
|
-
*/
|
|
527
|
-
parsedBody: WorkspaceList;
|
|
528
|
-
};
|
|
529
|
-
};
|
package/lib/models/parameters.ts
DELETED
|
@@ -1,72 +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 location: msRest.OperationURLParameter = {
|
|
34
|
-
parameterPath: "location",
|
|
35
|
-
mapper: {
|
|
36
|
-
required: true,
|
|
37
|
-
serializedName: "location",
|
|
38
|
-
type: {
|
|
39
|
-
name: "String"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
export const resourceGroupName: msRest.OperationURLParameter = {
|
|
44
|
-
parameterPath: "resourceGroupName",
|
|
45
|
-
mapper: {
|
|
46
|
-
required: true,
|
|
47
|
-
serializedName: "resourceGroupName",
|
|
48
|
-
type: {
|
|
49
|
-
name: "String"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
export const subscriptionId: msRest.OperationURLParameter = {
|
|
54
|
-
parameterPath: "subscriptionId",
|
|
55
|
-
mapper: {
|
|
56
|
-
required: true,
|
|
57
|
-
serializedName: "subscriptionId",
|
|
58
|
-
type: {
|
|
59
|
-
name: "String"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
export const workspaceCollectionName: msRest.OperationURLParameter = {
|
|
64
|
-
parameterPath: "workspaceCollectionName",
|
|
65
|
-
mapper: {
|
|
66
|
-
required: true,
|
|
67
|
-
serializedName: "workspaceCollectionName",
|
|
68
|
-
type: {
|
|
69
|
-
name: "String"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
};
|
|
@@ -1,25 +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
|
-
WorkspaceCollection,
|
|
13
|
-
AzureSku,
|
|
14
|
-
ErrorModel,
|
|
15
|
-
ErrorDetail,
|
|
16
|
-
CreateWorkspaceCollectionRequest,
|
|
17
|
-
UpdateWorkspaceCollectionRequest,
|
|
18
|
-
CheckNameRequest,
|
|
19
|
-
CheckNameResponse,
|
|
20
|
-
WorkspaceCollectionList,
|
|
21
|
-
WorkspaceCollectionAccessKeys,
|
|
22
|
-
WorkspaceCollectionAccessKey,
|
|
23
|
-
MigrateWorkspaceCollectionRequest
|
|
24
|
-
} from "../models/mappers";
|
|
25
|
-
|
|
@@ -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
|
-
WorkspaceList,
|
|
13
|
-
Workspace,
|
|
14
|
-
ErrorModel,
|
|
15
|
-
ErrorDetail
|
|
16
|
-
} from "../models/mappers";
|
|
17
|
-
|