@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
|
@@ -1,1247 +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
|
-
(function (global, factory) {
|
|
11
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
12
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
13
|
-
(factory((global.Azure = global.Azure || {}, global.Azure.ArmPowerbiembedded = {}),global.msRestAzure,global.msRest));
|
|
14
|
-
}(this, (function (exports,msRestAzure,msRest) { 'use strict';
|
|
15
|
-
|
|
16
|
-
/*! *****************************************************************************
|
|
17
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
18
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
19
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
20
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
21
|
-
|
|
22
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
23
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
24
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
25
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
26
|
-
|
|
27
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
28
|
-
and limitations under the License.
|
|
29
|
-
***************************************************************************** */
|
|
30
|
-
/* global Reflect, Promise */
|
|
31
|
-
|
|
32
|
-
var extendStatics = function(d, b) {
|
|
33
|
-
extendStatics = Object.setPrototypeOf ||
|
|
34
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
35
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
36
|
-
return extendStatics(d, b);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
function __extends(d, b) {
|
|
40
|
-
extendStatics(d, b);
|
|
41
|
-
function __() { this.constructor = d; }
|
|
42
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
var __assign = function() {
|
|
46
|
-
__assign = Object.assign || function __assign(t) {
|
|
47
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
48
|
-
s = arguments[i];
|
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
50
|
-
}
|
|
51
|
-
return t;
|
|
52
|
-
};
|
|
53
|
-
return __assign.apply(this, arguments);
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
/*
|
|
57
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
58
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
59
|
-
* license information.
|
|
60
|
-
*
|
|
61
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
62
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
63
|
-
* regenerated.
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
67
|
-
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
/*
|
|
71
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
72
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
73
|
-
* license information.
|
|
74
|
-
*
|
|
75
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
76
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
77
|
-
* regenerated.
|
|
78
|
-
*/
|
|
79
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
80
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
81
|
-
var ErrorDetail = {
|
|
82
|
-
serializedName: "ErrorDetail",
|
|
83
|
-
type: {
|
|
84
|
-
name: "Composite",
|
|
85
|
-
className: "ErrorDetail",
|
|
86
|
-
modelProperties: {
|
|
87
|
-
code: {
|
|
88
|
-
serializedName: "code",
|
|
89
|
-
type: {
|
|
90
|
-
name: "String"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
message: {
|
|
94
|
-
serializedName: "message",
|
|
95
|
-
type: {
|
|
96
|
-
name: "String"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
target: {
|
|
100
|
-
serializedName: "target",
|
|
101
|
-
type: {
|
|
102
|
-
name: "String"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
var ErrorModel = {
|
|
109
|
-
serializedName: "Error",
|
|
110
|
-
type: {
|
|
111
|
-
name: "Composite",
|
|
112
|
-
className: "ErrorModel",
|
|
113
|
-
modelProperties: {
|
|
114
|
-
code: {
|
|
115
|
-
serializedName: "code",
|
|
116
|
-
type: {
|
|
117
|
-
name: "String"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
message: {
|
|
121
|
-
serializedName: "message",
|
|
122
|
-
type: {
|
|
123
|
-
name: "String"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
target: {
|
|
127
|
-
serializedName: "target",
|
|
128
|
-
type: {
|
|
129
|
-
name: "String"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
details: {
|
|
133
|
-
serializedName: "details",
|
|
134
|
-
type: {
|
|
135
|
-
name: "Sequence",
|
|
136
|
-
element: {
|
|
137
|
-
type: {
|
|
138
|
-
name: "Composite",
|
|
139
|
-
className: "ErrorDetail"
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
var AzureSku = {
|
|
148
|
-
serializedName: "AzureSku",
|
|
149
|
-
type: {
|
|
150
|
-
name: "Composite",
|
|
151
|
-
className: "AzureSku",
|
|
152
|
-
modelProperties: {
|
|
153
|
-
name: {
|
|
154
|
-
required: true,
|
|
155
|
-
isConstant: true,
|
|
156
|
-
serializedName: "name",
|
|
157
|
-
defaultValue: 'S1',
|
|
158
|
-
type: {
|
|
159
|
-
name: "String"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
tier: {
|
|
163
|
-
required: true,
|
|
164
|
-
isConstant: true,
|
|
165
|
-
serializedName: "tier",
|
|
166
|
-
defaultValue: 'Standard',
|
|
167
|
-
type: {
|
|
168
|
-
name: "String"
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
var WorkspaceCollection = {
|
|
175
|
-
serializedName: "WorkspaceCollection",
|
|
176
|
-
type: {
|
|
177
|
-
name: "Composite",
|
|
178
|
-
className: "WorkspaceCollection",
|
|
179
|
-
modelProperties: {
|
|
180
|
-
id: {
|
|
181
|
-
serializedName: "id",
|
|
182
|
-
type: {
|
|
183
|
-
name: "String"
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
name: {
|
|
187
|
-
serializedName: "name",
|
|
188
|
-
type: {
|
|
189
|
-
name: "String"
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
type: {
|
|
193
|
-
serializedName: "type",
|
|
194
|
-
type: {
|
|
195
|
-
name: "String"
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
location: {
|
|
199
|
-
serializedName: "location",
|
|
200
|
-
type: {
|
|
201
|
-
name: "String"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
tags: {
|
|
205
|
-
serializedName: "tags",
|
|
206
|
-
type: {
|
|
207
|
-
name: "Dictionary",
|
|
208
|
-
value: {
|
|
209
|
-
type: {
|
|
210
|
-
name: "String"
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
sku: {
|
|
216
|
-
isConstant: true,
|
|
217
|
-
serializedName: "sku",
|
|
218
|
-
defaultValue: {},
|
|
219
|
-
type: {
|
|
220
|
-
name: "Composite",
|
|
221
|
-
className: "AzureSku"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
properties: {
|
|
225
|
-
serializedName: "properties",
|
|
226
|
-
type: {
|
|
227
|
-
name: "Object"
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
};
|
|
233
|
-
var Workspace = {
|
|
234
|
-
serializedName: "Workspace",
|
|
235
|
-
type: {
|
|
236
|
-
name: "Composite",
|
|
237
|
-
className: "Workspace",
|
|
238
|
-
modelProperties: {
|
|
239
|
-
id: {
|
|
240
|
-
serializedName: "id",
|
|
241
|
-
type: {
|
|
242
|
-
name: "String"
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
name: {
|
|
246
|
-
serializedName: "name",
|
|
247
|
-
type: {
|
|
248
|
-
name: "String"
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
type: {
|
|
252
|
-
serializedName: "type",
|
|
253
|
-
type: {
|
|
254
|
-
name: "String"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
properties: {
|
|
258
|
-
serializedName: "properties",
|
|
259
|
-
type: {
|
|
260
|
-
name: "Object"
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
var Display = {
|
|
267
|
-
serializedName: "Display",
|
|
268
|
-
type: {
|
|
269
|
-
name: "Composite",
|
|
270
|
-
className: "Display",
|
|
271
|
-
modelProperties: {
|
|
272
|
-
provider: {
|
|
273
|
-
serializedName: "provider",
|
|
274
|
-
type: {
|
|
275
|
-
name: "String"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
resource: {
|
|
279
|
-
serializedName: "resource",
|
|
280
|
-
type: {
|
|
281
|
-
name: "String"
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
operation: {
|
|
285
|
-
serializedName: "operation",
|
|
286
|
-
type: {
|
|
287
|
-
name: "String"
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
description: {
|
|
291
|
-
serializedName: "description",
|
|
292
|
-
type: {
|
|
293
|
-
name: "String"
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
origin: {
|
|
297
|
-
serializedName: "origin",
|
|
298
|
-
type: {
|
|
299
|
-
name: "String"
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
};
|
|
305
|
-
var Operation = {
|
|
306
|
-
serializedName: "Operation",
|
|
307
|
-
type: {
|
|
308
|
-
name: "Composite",
|
|
309
|
-
className: "Operation",
|
|
310
|
-
modelProperties: {
|
|
311
|
-
name: {
|
|
312
|
-
serializedName: "name",
|
|
313
|
-
type: {
|
|
314
|
-
name: "String"
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
display: {
|
|
318
|
-
serializedName: "display",
|
|
319
|
-
type: {
|
|
320
|
-
name: "Composite",
|
|
321
|
-
className: "Display"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
};
|
|
327
|
-
var OperationList = {
|
|
328
|
-
serializedName: "OperationList",
|
|
329
|
-
type: {
|
|
330
|
-
name: "Composite",
|
|
331
|
-
className: "OperationList",
|
|
332
|
-
modelProperties: {
|
|
333
|
-
value: {
|
|
334
|
-
serializedName: "value",
|
|
335
|
-
type: {
|
|
336
|
-
name: "Sequence",
|
|
337
|
-
element: {
|
|
338
|
-
type: {
|
|
339
|
-
name: "Composite",
|
|
340
|
-
className: "Operation"
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
};
|
|
348
|
-
var WorkspaceCollectionAccessKeys = {
|
|
349
|
-
serializedName: "WorkspaceCollectionAccessKeys",
|
|
350
|
-
type: {
|
|
351
|
-
name: "Composite",
|
|
352
|
-
className: "WorkspaceCollectionAccessKeys",
|
|
353
|
-
modelProperties: {
|
|
354
|
-
key1: {
|
|
355
|
-
serializedName: "key1",
|
|
356
|
-
type: {
|
|
357
|
-
name: "String"
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
|
-
key2: {
|
|
361
|
-
serializedName: "key2",
|
|
362
|
-
type: {
|
|
363
|
-
name: "String"
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
};
|
|
369
|
-
var WorkspaceCollectionAccessKey = {
|
|
370
|
-
serializedName: "WorkspaceCollectionAccessKey",
|
|
371
|
-
type: {
|
|
372
|
-
name: "Composite",
|
|
373
|
-
className: "WorkspaceCollectionAccessKey",
|
|
374
|
-
modelProperties: {
|
|
375
|
-
keyName: {
|
|
376
|
-
serializedName: "keyName",
|
|
377
|
-
type: {
|
|
378
|
-
name: "Enum",
|
|
379
|
-
allowedValues: [
|
|
380
|
-
"key1",
|
|
381
|
-
"key2"
|
|
382
|
-
]
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
};
|
|
388
|
-
var CreateWorkspaceCollectionRequest = {
|
|
389
|
-
serializedName: "CreateWorkspaceCollectionRequest",
|
|
390
|
-
type: {
|
|
391
|
-
name: "Composite",
|
|
392
|
-
className: "CreateWorkspaceCollectionRequest",
|
|
393
|
-
modelProperties: {
|
|
394
|
-
location: {
|
|
395
|
-
serializedName: "location",
|
|
396
|
-
type: {
|
|
397
|
-
name: "String"
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
tags: {
|
|
401
|
-
serializedName: "tags",
|
|
402
|
-
type: {
|
|
403
|
-
name: "Dictionary",
|
|
404
|
-
value: {
|
|
405
|
-
type: {
|
|
406
|
-
name: "String"
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
},
|
|
411
|
-
sku: {
|
|
412
|
-
isConstant: true,
|
|
413
|
-
serializedName: "sku",
|
|
414
|
-
defaultValue: {},
|
|
415
|
-
type: {
|
|
416
|
-
name: "Composite",
|
|
417
|
-
className: "AzureSku"
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
};
|
|
423
|
-
var UpdateWorkspaceCollectionRequest = {
|
|
424
|
-
serializedName: "UpdateWorkspaceCollectionRequest",
|
|
425
|
-
type: {
|
|
426
|
-
name: "Composite",
|
|
427
|
-
className: "UpdateWorkspaceCollectionRequest",
|
|
428
|
-
modelProperties: {
|
|
429
|
-
tags: {
|
|
430
|
-
serializedName: "tags",
|
|
431
|
-
type: {
|
|
432
|
-
name: "Dictionary",
|
|
433
|
-
value: {
|
|
434
|
-
type: {
|
|
435
|
-
name: "String"
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
|
-
sku: {
|
|
441
|
-
isConstant: true,
|
|
442
|
-
serializedName: "sku",
|
|
443
|
-
defaultValue: {},
|
|
444
|
-
type: {
|
|
445
|
-
name: "Composite",
|
|
446
|
-
className: "AzureSku"
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
};
|
|
452
|
-
var CheckNameRequest = {
|
|
453
|
-
serializedName: "CheckNameRequest",
|
|
454
|
-
type: {
|
|
455
|
-
name: "Composite",
|
|
456
|
-
className: "CheckNameRequest",
|
|
457
|
-
modelProperties: {
|
|
458
|
-
name: {
|
|
459
|
-
serializedName: "name",
|
|
460
|
-
type: {
|
|
461
|
-
name: "String"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
type: {
|
|
465
|
-
serializedName: "type",
|
|
466
|
-
defaultValue: 'Microsoft.PowerBI/workspaceCollections',
|
|
467
|
-
type: {
|
|
468
|
-
name: "String"
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
};
|
|
474
|
-
var CheckNameResponse = {
|
|
475
|
-
serializedName: "CheckNameResponse",
|
|
476
|
-
type: {
|
|
477
|
-
name: "Composite",
|
|
478
|
-
className: "CheckNameResponse",
|
|
479
|
-
modelProperties: {
|
|
480
|
-
nameAvailable: {
|
|
481
|
-
serializedName: "nameAvailable",
|
|
482
|
-
type: {
|
|
483
|
-
name: "Boolean"
|
|
484
|
-
}
|
|
485
|
-
},
|
|
486
|
-
reason: {
|
|
487
|
-
serializedName: "reason",
|
|
488
|
-
type: {
|
|
489
|
-
name: "String"
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
message: {
|
|
493
|
-
serializedName: "message",
|
|
494
|
-
type: {
|
|
495
|
-
name: "String"
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
};
|
|
501
|
-
var MigrateWorkspaceCollectionRequest = {
|
|
502
|
-
serializedName: "MigrateWorkspaceCollectionRequest",
|
|
503
|
-
type: {
|
|
504
|
-
name: "Composite",
|
|
505
|
-
className: "MigrateWorkspaceCollectionRequest",
|
|
506
|
-
modelProperties: {
|
|
507
|
-
targetResourceGroup: {
|
|
508
|
-
serializedName: "targetResourceGroup",
|
|
509
|
-
type: {
|
|
510
|
-
name: "String"
|
|
511
|
-
}
|
|
512
|
-
},
|
|
513
|
-
resources: {
|
|
514
|
-
serializedName: "resources",
|
|
515
|
-
type: {
|
|
516
|
-
name: "Sequence",
|
|
517
|
-
element: {
|
|
518
|
-
type: {
|
|
519
|
-
name: "String"
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
};
|
|
527
|
-
var WorkspaceCollectionList = {
|
|
528
|
-
serializedName: "WorkspaceCollectionList",
|
|
529
|
-
type: {
|
|
530
|
-
name: "Composite",
|
|
531
|
-
className: "WorkspaceCollectionList",
|
|
532
|
-
modelProperties: {
|
|
533
|
-
value: {
|
|
534
|
-
serializedName: "",
|
|
535
|
-
type: {
|
|
536
|
-
name: "Sequence",
|
|
537
|
-
element: {
|
|
538
|
-
type: {
|
|
539
|
-
name: "Composite",
|
|
540
|
-
className: "WorkspaceCollection"
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
};
|
|
548
|
-
var WorkspaceList = {
|
|
549
|
-
serializedName: "WorkspaceList",
|
|
550
|
-
type: {
|
|
551
|
-
name: "Composite",
|
|
552
|
-
className: "WorkspaceList",
|
|
553
|
-
modelProperties: {
|
|
554
|
-
value: {
|
|
555
|
-
serializedName: "",
|
|
556
|
-
type: {
|
|
557
|
-
name: "Sequence",
|
|
558
|
-
element: {
|
|
559
|
-
type: {
|
|
560
|
-
name: "Composite",
|
|
561
|
-
className: "Workspace"
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
};
|
|
569
|
-
|
|
570
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
571
|
-
CloudError: CloudError,
|
|
572
|
-
BaseResource: BaseResource,
|
|
573
|
-
ErrorDetail: ErrorDetail,
|
|
574
|
-
ErrorModel: ErrorModel,
|
|
575
|
-
AzureSku: AzureSku,
|
|
576
|
-
WorkspaceCollection: WorkspaceCollection,
|
|
577
|
-
Workspace: Workspace,
|
|
578
|
-
Display: Display,
|
|
579
|
-
Operation: Operation,
|
|
580
|
-
OperationList: OperationList,
|
|
581
|
-
WorkspaceCollectionAccessKeys: WorkspaceCollectionAccessKeys,
|
|
582
|
-
WorkspaceCollectionAccessKey: WorkspaceCollectionAccessKey,
|
|
583
|
-
CreateWorkspaceCollectionRequest: CreateWorkspaceCollectionRequest,
|
|
584
|
-
UpdateWorkspaceCollectionRequest: UpdateWorkspaceCollectionRequest,
|
|
585
|
-
CheckNameRequest: CheckNameRequest,
|
|
586
|
-
CheckNameResponse: CheckNameResponse,
|
|
587
|
-
MigrateWorkspaceCollectionRequest: MigrateWorkspaceCollectionRequest,
|
|
588
|
-
WorkspaceCollectionList: WorkspaceCollectionList,
|
|
589
|
-
WorkspaceList: WorkspaceList
|
|
590
|
-
});
|
|
591
|
-
|
|
592
|
-
/*
|
|
593
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
594
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
595
|
-
* license information.
|
|
596
|
-
*
|
|
597
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
598
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
599
|
-
* regenerated.
|
|
600
|
-
*/
|
|
601
|
-
var acceptLanguage = {
|
|
602
|
-
parameterPath: "acceptLanguage",
|
|
603
|
-
mapper: {
|
|
604
|
-
serializedName: "accept-language",
|
|
605
|
-
defaultValue: 'en-US',
|
|
606
|
-
type: {
|
|
607
|
-
name: "String"
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
};
|
|
611
|
-
var apiVersion = {
|
|
612
|
-
parameterPath: "apiVersion",
|
|
613
|
-
mapper: {
|
|
614
|
-
required: true,
|
|
615
|
-
serializedName: "api-version",
|
|
616
|
-
type: {
|
|
617
|
-
name: "String"
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
};
|
|
621
|
-
var location = {
|
|
622
|
-
parameterPath: "location",
|
|
623
|
-
mapper: {
|
|
624
|
-
required: true,
|
|
625
|
-
serializedName: "location",
|
|
626
|
-
type: {
|
|
627
|
-
name: "String"
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
};
|
|
631
|
-
var resourceGroupName = {
|
|
632
|
-
parameterPath: "resourceGroupName",
|
|
633
|
-
mapper: {
|
|
634
|
-
required: true,
|
|
635
|
-
serializedName: "resourceGroupName",
|
|
636
|
-
type: {
|
|
637
|
-
name: "String"
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
};
|
|
641
|
-
var subscriptionId = {
|
|
642
|
-
parameterPath: "subscriptionId",
|
|
643
|
-
mapper: {
|
|
644
|
-
required: true,
|
|
645
|
-
serializedName: "subscriptionId",
|
|
646
|
-
type: {
|
|
647
|
-
name: "String"
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
};
|
|
651
|
-
var workspaceCollectionName = {
|
|
652
|
-
parameterPath: "workspaceCollectionName",
|
|
653
|
-
mapper: {
|
|
654
|
-
required: true,
|
|
655
|
-
serializedName: "workspaceCollectionName",
|
|
656
|
-
type: {
|
|
657
|
-
name: "String"
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
};
|
|
661
|
-
|
|
662
|
-
/*
|
|
663
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
664
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
665
|
-
* license information.
|
|
666
|
-
*
|
|
667
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
668
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
669
|
-
* regenerated.
|
|
670
|
-
*/
|
|
671
|
-
|
|
672
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
673
|
-
WorkspaceCollection: WorkspaceCollection,
|
|
674
|
-
AzureSku: AzureSku,
|
|
675
|
-
ErrorModel: ErrorModel,
|
|
676
|
-
ErrorDetail: ErrorDetail,
|
|
677
|
-
CreateWorkspaceCollectionRequest: CreateWorkspaceCollectionRequest,
|
|
678
|
-
UpdateWorkspaceCollectionRequest: UpdateWorkspaceCollectionRequest,
|
|
679
|
-
CheckNameRequest: CheckNameRequest,
|
|
680
|
-
CheckNameResponse: CheckNameResponse,
|
|
681
|
-
WorkspaceCollectionList: WorkspaceCollectionList,
|
|
682
|
-
WorkspaceCollectionAccessKeys: WorkspaceCollectionAccessKeys,
|
|
683
|
-
WorkspaceCollectionAccessKey: WorkspaceCollectionAccessKey,
|
|
684
|
-
MigrateWorkspaceCollectionRequest: MigrateWorkspaceCollectionRequest
|
|
685
|
-
});
|
|
686
|
-
|
|
687
|
-
/*
|
|
688
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
689
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
690
|
-
* license information.
|
|
691
|
-
*
|
|
692
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
693
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
694
|
-
* regenerated.
|
|
695
|
-
*/
|
|
696
|
-
/** Class representing a WorkspaceCollections. */
|
|
697
|
-
var WorkspaceCollections = /** @class */ (function () {
|
|
698
|
-
/**
|
|
699
|
-
* Create a WorkspaceCollections.
|
|
700
|
-
* @param {PowerBIEmbeddedManagementClientContext} client Reference to the service client.
|
|
701
|
-
*/
|
|
702
|
-
function WorkspaceCollections(client) {
|
|
703
|
-
this.client = client;
|
|
704
|
-
}
|
|
705
|
-
WorkspaceCollections.prototype.getByName = function (resourceGroupName$$1, workspaceCollectionName$$1, options, callback) {
|
|
706
|
-
return this.client.sendOperationRequest({
|
|
707
|
-
resourceGroupName: resourceGroupName$$1,
|
|
708
|
-
workspaceCollectionName: workspaceCollectionName$$1,
|
|
709
|
-
options: options
|
|
710
|
-
}, getByNameOperationSpec, callback);
|
|
711
|
-
};
|
|
712
|
-
WorkspaceCollections.prototype.create = function (resourceGroupName$$1, workspaceCollectionName$$1, body, options, callback) {
|
|
713
|
-
return this.client.sendOperationRequest({
|
|
714
|
-
resourceGroupName: resourceGroupName$$1,
|
|
715
|
-
workspaceCollectionName: workspaceCollectionName$$1,
|
|
716
|
-
body: body,
|
|
717
|
-
options: options
|
|
718
|
-
}, createOperationSpec, callback);
|
|
719
|
-
};
|
|
720
|
-
WorkspaceCollections.prototype.update = function (resourceGroupName$$1, workspaceCollectionName$$1, body, options, callback) {
|
|
721
|
-
return this.client.sendOperationRequest({
|
|
722
|
-
resourceGroupName: resourceGroupName$$1,
|
|
723
|
-
workspaceCollectionName: workspaceCollectionName$$1,
|
|
724
|
-
body: body,
|
|
725
|
-
options: options
|
|
726
|
-
}, updateOperationSpec, callback);
|
|
727
|
-
};
|
|
728
|
-
/**
|
|
729
|
-
* Delete a Power BI Workspace Collection.
|
|
730
|
-
* @param resourceGroupName Azure resource group
|
|
731
|
-
* @param workspaceCollectionName Power BI Embedded Workspace Collection name
|
|
732
|
-
* @param [options] The optional parameters
|
|
733
|
-
* @returns Promise<msRest.RestResponse>
|
|
734
|
-
*/
|
|
735
|
-
WorkspaceCollections.prototype.deleteMethod = function (resourceGroupName$$1, workspaceCollectionName$$1, options) {
|
|
736
|
-
return this.beginDeleteMethod(resourceGroupName$$1, workspaceCollectionName$$1, options)
|
|
737
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
738
|
-
};
|
|
739
|
-
WorkspaceCollections.prototype.checkNameAvailability = function (location$$1, body, options, callback) {
|
|
740
|
-
return this.client.sendOperationRequest({
|
|
741
|
-
location: location$$1,
|
|
742
|
-
body: body,
|
|
743
|
-
options: options
|
|
744
|
-
}, checkNameAvailabilityOperationSpec, callback);
|
|
745
|
-
};
|
|
746
|
-
WorkspaceCollections.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) {
|
|
747
|
-
return this.client.sendOperationRequest({
|
|
748
|
-
resourceGroupName: resourceGroupName$$1,
|
|
749
|
-
options: options
|
|
750
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
751
|
-
};
|
|
752
|
-
WorkspaceCollections.prototype.listBySubscription = function (options, callback) {
|
|
753
|
-
return this.client.sendOperationRequest({
|
|
754
|
-
options: options
|
|
755
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
756
|
-
};
|
|
757
|
-
WorkspaceCollections.prototype.getAccessKeys = function (resourceGroupName$$1, workspaceCollectionName$$1, options, callback) {
|
|
758
|
-
return this.client.sendOperationRequest({
|
|
759
|
-
resourceGroupName: resourceGroupName$$1,
|
|
760
|
-
workspaceCollectionName: workspaceCollectionName$$1,
|
|
761
|
-
options: options
|
|
762
|
-
}, getAccessKeysOperationSpec, callback);
|
|
763
|
-
};
|
|
764
|
-
WorkspaceCollections.prototype.regenerateKey = function (resourceGroupName$$1, workspaceCollectionName$$1, body, options, callback) {
|
|
765
|
-
return this.client.sendOperationRequest({
|
|
766
|
-
resourceGroupName: resourceGroupName$$1,
|
|
767
|
-
workspaceCollectionName: workspaceCollectionName$$1,
|
|
768
|
-
body: body,
|
|
769
|
-
options: options
|
|
770
|
-
}, regenerateKeyOperationSpec, callback);
|
|
771
|
-
};
|
|
772
|
-
WorkspaceCollections.prototype.migrate = function (resourceGroupName$$1, body, options, callback) {
|
|
773
|
-
return this.client.sendOperationRequest({
|
|
774
|
-
resourceGroupName: resourceGroupName$$1,
|
|
775
|
-
body: body,
|
|
776
|
-
options: options
|
|
777
|
-
}, migrateOperationSpec, callback);
|
|
778
|
-
};
|
|
779
|
-
/**
|
|
780
|
-
* Delete a Power BI Workspace Collection.
|
|
781
|
-
* @param resourceGroupName Azure resource group
|
|
782
|
-
* @param workspaceCollectionName Power BI Embedded Workspace Collection name
|
|
783
|
-
* @param [options] The optional parameters
|
|
784
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
785
|
-
*/
|
|
786
|
-
WorkspaceCollections.prototype.beginDeleteMethod = function (resourceGroupName$$1, workspaceCollectionName$$1, options) {
|
|
787
|
-
return this.client.sendLRORequest({
|
|
788
|
-
resourceGroupName: resourceGroupName$$1,
|
|
789
|
-
workspaceCollectionName: workspaceCollectionName$$1,
|
|
790
|
-
options: options
|
|
791
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
792
|
-
};
|
|
793
|
-
return WorkspaceCollections;
|
|
794
|
-
}());
|
|
795
|
-
// Operation Specifications
|
|
796
|
-
var serializer = new msRest.Serializer(Mappers$1);
|
|
797
|
-
var getByNameOperationSpec = {
|
|
798
|
-
httpMethod: "GET",
|
|
799
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}",
|
|
800
|
-
urlParameters: [
|
|
801
|
-
subscriptionId,
|
|
802
|
-
resourceGroupName,
|
|
803
|
-
workspaceCollectionName
|
|
804
|
-
],
|
|
805
|
-
queryParameters: [
|
|
806
|
-
apiVersion
|
|
807
|
-
],
|
|
808
|
-
headerParameters: [
|
|
809
|
-
acceptLanguage
|
|
810
|
-
],
|
|
811
|
-
responses: {
|
|
812
|
-
200: {
|
|
813
|
-
bodyMapper: WorkspaceCollection
|
|
814
|
-
},
|
|
815
|
-
default: {
|
|
816
|
-
bodyMapper: ErrorModel
|
|
817
|
-
}
|
|
818
|
-
},
|
|
819
|
-
serializer: serializer
|
|
820
|
-
};
|
|
821
|
-
var createOperationSpec = {
|
|
822
|
-
httpMethod: "PUT",
|
|
823
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}",
|
|
824
|
-
urlParameters: [
|
|
825
|
-
subscriptionId,
|
|
826
|
-
resourceGroupName,
|
|
827
|
-
workspaceCollectionName
|
|
828
|
-
],
|
|
829
|
-
queryParameters: [
|
|
830
|
-
apiVersion
|
|
831
|
-
],
|
|
832
|
-
headerParameters: [
|
|
833
|
-
acceptLanguage
|
|
834
|
-
],
|
|
835
|
-
requestBody: {
|
|
836
|
-
parameterPath: "body",
|
|
837
|
-
mapper: __assign({}, CreateWorkspaceCollectionRequest, { required: true })
|
|
838
|
-
},
|
|
839
|
-
responses: {
|
|
840
|
-
200: {
|
|
841
|
-
bodyMapper: WorkspaceCollection
|
|
842
|
-
},
|
|
843
|
-
default: {
|
|
844
|
-
bodyMapper: ErrorModel
|
|
845
|
-
}
|
|
846
|
-
},
|
|
847
|
-
serializer: serializer
|
|
848
|
-
};
|
|
849
|
-
var updateOperationSpec = {
|
|
850
|
-
httpMethod: "PATCH",
|
|
851
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}",
|
|
852
|
-
urlParameters: [
|
|
853
|
-
subscriptionId,
|
|
854
|
-
resourceGroupName,
|
|
855
|
-
workspaceCollectionName
|
|
856
|
-
],
|
|
857
|
-
queryParameters: [
|
|
858
|
-
apiVersion
|
|
859
|
-
],
|
|
860
|
-
headerParameters: [
|
|
861
|
-
acceptLanguage
|
|
862
|
-
],
|
|
863
|
-
requestBody: {
|
|
864
|
-
parameterPath: "body",
|
|
865
|
-
mapper: __assign({}, UpdateWorkspaceCollectionRequest, { required: true })
|
|
866
|
-
},
|
|
867
|
-
responses: {
|
|
868
|
-
200: {
|
|
869
|
-
bodyMapper: WorkspaceCollection
|
|
870
|
-
},
|
|
871
|
-
default: {
|
|
872
|
-
bodyMapper: ErrorModel
|
|
873
|
-
}
|
|
874
|
-
},
|
|
875
|
-
serializer: serializer
|
|
876
|
-
};
|
|
877
|
-
var checkNameAvailabilityOperationSpec = {
|
|
878
|
-
httpMethod: "POST",
|
|
879
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.PowerBI/locations/{location}/checkNameAvailability",
|
|
880
|
-
urlParameters: [
|
|
881
|
-
subscriptionId,
|
|
882
|
-
location
|
|
883
|
-
],
|
|
884
|
-
queryParameters: [
|
|
885
|
-
apiVersion
|
|
886
|
-
],
|
|
887
|
-
headerParameters: [
|
|
888
|
-
acceptLanguage
|
|
889
|
-
],
|
|
890
|
-
requestBody: {
|
|
891
|
-
parameterPath: "body",
|
|
892
|
-
mapper: __assign({}, CheckNameRequest, { required: true })
|
|
893
|
-
},
|
|
894
|
-
responses: {
|
|
895
|
-
200: {
|
|
896
|
-
bodyMapper: CheckNameResponse
|
|
897
|
-
},
|
|
898
|
-
default: {
|
|
899
|
-
bodyMapper: ErrorModel
|
|
900
|
-
}
|
|
901
|
-
},
|
|
902
|
-
serializer: serializer
|
|
903
|
-
};
|
|
904
|
-
var listByResourceGroupOperationSpec = {
|
|
905
|
-
httpMethod: "GET",
|
|
906
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections",
|
|
907
|
-
urlParameters: [
|
|
908
|
-
subscriptionId,
|
|
909
|
-
resourceGroupName
|
|
910
|
-
],
|
|
911
|
-
queryParameters: [
|
|
912
|
-
apiVersion
|
|
913
|
-
],
|
|
914
|
-
headerParameters: [
|
|
915
|
-
acceptLanguage
|
|
916
|
-
],
|
|
917
|
-
responses: {
|
|
918
|
-
200: {
|
|
919
|
-
bodyMapper: WorkspaceCollectionList
|
|
920
|
-
},
|
|
921
|
-
default: {
|
|
922
|
-
bodyMapper: ErrorModel
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
serializer: serializer
|
|
926
|
-
};
|
|
927
|
-
var listBySubscriptionOperationSpec = {
|
|
928
|
-
httpMethod: "GET",
|
|
929
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.PowerBI/workspaceCollections",
|
|
930
|
-
urlParameters: [
|
|
931
|
-
subscriptionId
|
|
932
|
-
],
|
|
933
|
-
queryParameters: [
|
|
934
|
-
apiVersion
|
|
935
|
-
],
|
|
936
|
-
headerParameters: [
|
|
937
|
-
acceptLanguage
|
|
938
|
-
],
|
|
939
|
-
responses: {
|
|
940
|
-
200: {
|
|
941
|
-
bodyMapper: WorkspaceCollectionList
|
|
942
|
-
},
|
|
943
|
-
default: {
|
|
944
|
-
bodyMapper: ErrorModel
|
|
945
|
-
}
|
|
946
|
-
},
|
|
947
|
-
serializer: serializer
|
|
948
|
-
};
|
|
949
|
-
var getAccessKeysOperationSpec = {
|
|
950
|
-
httpMethod: "POST",
|
|
951
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/listKeys",
|
|
952
|
-
urlParameters: [
|
|
953
|
-
subscriptionId,
|
|
954
|
-
resourceGroupName,
|
|
955
|
-
workspaceCollectionName
|
|
956
|
-
],
|
|
957
|
-
queryParameters: [
|
|
958
|
-
apiVersion
|
|
959
|
-
],
|
|
960
|
-
headerParameters: [
|
|
961
|
-
acceptLanguage
|
|
962
|
-
],
|
|
963
|
-
responses: {
|
|
964
|
-
200: {
|
|
965
|
-
bodyMapper: WorkspaceCollectionAccessKeys
|
|
966
|
-
},
|
|
967
|
-
default: {
|
|
968
|
-
bodyMapper: ErrorModel
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
serializer: serializer
|
|
972
|
-
};
|
|
973
|
-
var regenerateKeyOperationSpec = {
|
|
974
|
-
httpMethod: "POST",
|
|
975
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/regenerateKey",
|
|
976
|
-
urlParameters: [
|
|
977
|
-
subscriptionId,
|
|
978
|
-
resourceGroupName,
|
|
979
|
-
workspaceCollectionName
|
|
980
|
-
],
|
|
981
|
-
queryParameters: [
|
|
982
|
-
apiVersion
|
|
983
|
-
],
|
|
984
|
-
headerParameters: [
|
|
985
|
-
acceptLanguage
|
|
986
|
-
],
|
|
987
|
-
requestBody: {
|
|
988
|
-
parameterPath: "body",
|
|
989
|
-
mapper: __assign({}, WorkspaceCollectionAccessKey, { required: true })
|
|
990
|
-
},
|
|
991
|
-
responses: {
|
|
992
|
-
200: {
|
|
993
|
-
bodyMapper: WorkspaceCollectionAccessKeys
|
|
994
|
-
},
|
|
995
|
-
default: {
|
|
996
|
-
bodyMapper: ErrorModel
|
|
997
|
-
}
|
|
998
|
-
},
|
|
999
|
-
serializer: serializer
|
|
1000
|
-
};
|
|
1001
|
-
var migrateOperationSpec = {
|
|
1002
|
-
httpMethod: "POST",
|
|
1003
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources",
|
|
1004
|
-
urlParameters: [
|
|
1005
|
-
subscriptionId,
|
|
1006
|
-
resourceGroupName
|
|
1007
|
-
],
|
|
1008
|
-
queryParameters: [
|
|
1009
|
-
apiVersion
|
|
1010
|
-
],
|
|
1011
|
-
headerParameters: [
|
|
1012
|
-
acceptLanguage
|
|
1013
|
-
],
|
|
1014
|
-
requestBody: {
|
|
1015
|
-
parameterPath: "body",
|
|
1016
|
-
mapper: __assign({}, MigrateWorkspaceCollectionRequest, { required: true })
|
|
1017
|
-
},
|
|
1018
|
-
responses: {
|
|
1019
|
-
200: {},
|
|
1020
|
-
default: {
|
|
1021
|
-
bodyMapper: ErrorModel
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
serializer: serializer
|
|
1025
|
-
};
|
|
1026
|
-
var beginDeleteMethodOperationSpec = {
|
|
1027
|
-
httpMethod: "DELETE",
|
|
1028
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}",
|
|
1029
|
-
urlParameters: [
|
|
1030
|
-
subscriptionId,
|
|
1031
|
-
resourceGroupName,
|
|
1032
|
-
workspaceCollectionName
|
|
1033
|
-
],
|
|
1034
|
-
queryParameters: [
|
|
1035
|
-
apiVersion
|
|
1036
|
-
],
|
|
1037
|
-
headerParameters: [
|
|
1038
|
-
acceptLanguage
|
|
1039
|
-
],
|
|
1040
|
-
responses: {
|
|
1041
|
-
202: {},
|
|
1042
|
-
default: {
|
|
1043
|
-
bodyMapper: ErrorModel
|
|
1044
|
-
}
|
|
1045
|
-
},
|
|
1046
|
-
serializer: serializer
|
|
1047
|
-
};
|
|
1048
|
-
|
|
1049
|
-
/*
|
|
1050
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1051
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1052
|
-
* license information.
|
|
1053
|
-
*
|
|
1054
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1055
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1056
|
-
* regenerated.
|
|
1057
|
-
*/
|
|
1058
|
-
|
|
1059
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1060
|
-
WorkspaceList: WorkspaceList,
|
|
1061
|
-
Workspace: Workspace,
|
|
1062
|
-
ErrorModel: ErrorModel,
|
|
1063
|
-
ErrorDetail: ErrorDetail
|
|
1064
|
-
});
|
|
1065
|
-
|
|
1066
|
-
/*
|
|
1067
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1068
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1069
|
-
* license information.
|
|
1070
|
-
*
|
|
1071
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1072
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1073
|
-
* regenerated.
|
|
1074
|
-
*/
|
|
1075
|
-
/** Class representing a Workspaces. */
|
|
1076
|
-
var Workspaces = /** @class */ (function () {
|
|
1077
|
-
/**
|
|
1078
|
-
* Create a Workspaces.
|
|
1079
|
-
* @param {PowerBIEmbeddedManagementClientContext} client Reference to the service client.
|
|
1080
|
-
*/
|
|
1081
|
-
function Workspaces(client) {
|
|
1082
|
-
this.client = client;
|
|
1083
|
-
}
|
|
1084
|
-
Workspaces.prototype.list = function (resourceGroupName$$1, workspaceCollectionName$$1, options, callback) {
|
|
1085
|
-
return this.client.sendOperationRequest({
|
|
1086
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1087
|
-
workspaceCollectionName: workspaceCollectionName$$1,
|
|
1088
|
-
options: options
|
|
1089
|
-
}, listOperationSpec, callback);
|
|
1090
|
-
};
|
|
1091
|
-
return Workspaces;
|
|
1092
|
-
}());
|
|
1093
|
-
// Operation Specifications
|
|
1094
|
-
var serializer$1 = new msRest.Serializer(Mappers$2);
|
|
1095
|
-
var listOperationSpec = {
|
|
1096
|
-
httpMethod: "GET",
|
|
1097
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/workspaces",
|
|
1098
|
-
urlParameters: [
|
|
1099
|
-
subscriptionId,
|
|
1100
|
-
resourceGroupName,
|
|
1101
|
-
workspaceCollectionName
|
|
1102
|
-
],
|
|
1103
|
-
queryParameters: [
|
|
1104
|
-
apiVersion
|
|
1105
|
-
],
|
|
1106
|
-
headerParameters: [
|
|
1107
|
-
acceptLanguage
|
|
1108
|
-
],
|
|
1109
|
-
responses: {
|
|
1110
|
-
200: {
|
|
1111
|
-
bodyMapper: WorkspaceList
|
|
1112
|
-
},
|
|
1113
|
-
default: {
|
|
1114
|
-
bodyMapper: ErrorModel
|
|
1115
|
-
}
|
|
1116
|
-
},
|
|
1117
|
-
serializer: serializer$1
|
|
1118
|
-
};
|
|
1119
|
-
|
|
1120
|
-
/*
|
|
1121
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1122
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1123
|
-
* license information.
|
|
1124
|
-
*
|
|
1125
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1126
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1127
|
-
* regenerated.
|
|
1128
|
-
*/
|
|
1129
|
-
|
|
1130
|
-
/*
|
|
1131
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1132
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1133
|
-
* license information.
|
|
1134
|
-
*
|
|
1135
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1136
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1137
|
-
* regenerated.
|
|
1138
|
-
*/
|
|
1139
|
-
var packageName = "@azure/arm-powerbiembedded";
|
|
1140
|
-
var packageVersion = "0.1.0";
|
|
1141
|
-
var PowerBIEmbeddedManagementClientContext = /** @class */ (function (_super) {
|
|
1142
|
-
__extends(PowerBIEmbeddedManagementClientContext, _super);
|
|
1143
|
-
/**
|
|
1144
|
-
* Initializes a new instance of the PowerBIEmbeddedManagementClient class.
|
|
1145
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
1146
|
-
* @param subscriptionId Gets subscription credentials which uniquely identify a Microsoft Azure
|
|
1147
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
1148
|
-
* @param [options] The parameter options
|
|
1149
|
-
*/
|
|
1150
|
-
function PowerBIEmbeddedManagementClientContext(credentials, subscriptionId, options) {
|
|
1151
|
-
var _this = this;
|
|
1152
|
-
if (credentials == undefined) {
|
|
1153
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
1154
|
-
}
|
|
1155
|
-
if (subscriptionId == undefined) {
|
|
1156
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
1157
|
-
}
|
|
1158
|
-
if (!options) {
|
|
1159
|
-
options = {};
|
|
1160
|
-
}
|
|
1161
|
-
if (!options.userAgent) {
|
|
1162
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
1163
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
1164
|
-
}
|
|
1165
|
-
_this = _super.call(this, credentials, options) || this;
|
|
1166
|
-
_this.apiVersion = '2016-01-29';
|
|
1167
|
-
_this.acceptLanguage = 'en-US';
|
|
1168
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
1169
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
1170
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
1171
|
-
_this.credentials = credentials;
|
|
1172
|
-
_this.subscriptionId = subscriptionId;
|
|
1173
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
1174
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
1175
|
-
}
|
|
1176
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
1177
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
1178
|
-
}
|
|
1179
|
-
return _this;
|
|
1180
|
-
}
|
|
1181
|
-
return PowerBIEmbeddedManagementClientContext;
|
|
1182
|
-
}(msRestAzure.AzureServiceClient));
|
|
1183
|
-
|
|
1184
|
-
/*
|
|
1185
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1186
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1187
|
-
* license information.
|
|
1188
|
-
*
|
|
1189
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1190
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1191
|
-
* regenerated.
|
|
1192
|
-
*/
|
|
1193
|
-
var PowerBIEmbeddedManagementClient = /** @class */ (function (_super) {
|
|
1194
|
-
__extends(PowerBIEmbeddedManagementClient, _super);
|
|
1195
|
-
/**
|
|
1196
|
-
* Initializes a new instance of the PowerBIEmbeddedManagementClient class.
|
|
1197
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
1198
|
-
* @param subscriptionId Gets subscription credentials which uniquely identify a Microsoft Azure
|
|
1199
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
1200
|
-
* @param [options] The parameter options
|
|
1201
|
-
*/
|
|
1202
|
-
function PowerBIEmbeddedManagementClient(credentials, subscriptionId$$1, options) {
|
|
1203
|
-
var _this = _super.call(this, credentials, subscriptionId$$1, options) || this;
|
|
1204
|
-
_this.workspaceCollections = new WorkspaceCollections(_this);
|
|
1205
|
-
_this.workspaces = new Workspaces(_this);
|
|
1206
|
-
return _this;
|
|
1207
|
-
}
|
|
1208
|
-
PowerBIEmbeddedManagementClient.prototype.getAvailableOperations = function (options, callback) {
|
|
1209
|
-
return this.sendOperationRequest({
|
|
1210
|
-
options: options
|
|
1211
|
-
}, getAvailableOperationsOperationSpec, callback);
|
|
1212
|
-
};
|
|
1213
|
-
return PowerBIEmbeddedManagementClient;
|
|
1214
|
-
}(PowerBIEmbeddedManagementClientContext));
|
|
1215
|
-
// Operation Specifications
|
|
1216
|
-
var serializer$2 = new msRest.Serializer(Mappers);
|
|
1217
|
-
var getAvailableOperationsOperationSpec = {
|
|
1218
|
-
httpMethod: "GET",
|
|
1219
|
-
path: "providers/Microsoft.PowerBI/operations",
|
|
1220
|
-
queryParameters: [
|
|
1221
|
-
apiVersion
|
|
1222
|
-
],
|
|
1223
|
-
headerParameters: [
|
|
1224
|
-
acceptLanguage
|
|
1225
|
-
],
|
|
1226
|
-
responses: {
|
|
1227
|
-
200: {
|
|
1228
|
-
bodyMapper: OperationList
|
|
1229
|
-
},
|
|
1230
|
-
default: {
|
|
1231
|
-
bodyMapper: ErrorModel
|
|
1232
|
-
}
|
|
1233
|
-
},
|
|
1234
|
-
serializer: serializer$2
|
|
1235
|
-
};
|
|
1236
|
-
|
|
1237
|
-
exports.PowerBIEmbeddedManagementClient = PowerBIEmbeddedManagementClient;
|
|
1238
|
-
exports.PowerBIEmbeddedManagementClientContext = PowerBIEmbeddedManagementClientContext;
|
|
1239
|
-
exports.PowerBIEmbeddedManagementModels = index;
|
|
1240
|
-
exports.PowerBIEmbeddedManagementMappers = Mappers;
|
|
1241
|
-
exports.WorkspaceCollections = WorkspaceCollections;
|
|
1242
|
-
exports.Workspaces = Workspaces;
|
|
1243
|
-
|
|
1244
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1245
|
-
|
|
1246
|
-
})));
|
|
1247
|
-
//# sourceMappingURL=arm-powerbiembedded.js.map
|