@azure/arm-resourcegraph 5.0.0-beta.3 → 5.0.0-beta.4
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 +12 -2
- package/LICENSE +4 -4
- package/README.md +26 -17
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +9 -9
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +14 -6
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +2 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +1 -1
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +12 -27
- package/dist/browser/operations/operations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +2 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +1 -1
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/resourceGraphClient.d.ts +2 -2
- package/dist/browser/resourceGraphClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/resourceGraphClient.js +31 -26
- package/dist/browser/resourceGraphClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/{types/arm-resourcegraph.d.ts → dist/commonjs/models/index.d.ts} +216 -295
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +10 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +26 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +666 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +8 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +64 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +2 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +12 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +26 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +84 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +2 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +12 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/resourceGraphClient.d.ts +30 -0
- package/dist/commonjs/resourceGraphClient.d.ts.map +1 -0
- package/dist/commonjs/resourceGraphClient.js +162 -0
- package/dist/commonjs/resourceGraphClient.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +216 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/models/index.js} +2 -2
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +26 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/{index.js → esm/models/mappers.js} +35 -402
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +8 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +61 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +2 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +9 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +26 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +79 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +2 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +9 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/resourceGraphClient.d.ts +30 -0
- package/dist/esm/resourceGraphClient.d.ts.map +1 -0
- package/dist/esm/resourceGraphClient.js +157 -0
- package/dist/esm/resourceGraphClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +216 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/react-native/models/index.js} +2 -2
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +26 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +663 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +8 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +61 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +2 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +9 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +26 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +79 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +2 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +9 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/resourceGraphClient.d.ts +30 -0
- package/dist/react-native/resourceGraphClient.d.ts.map +1 -0
- package/dist/react-native/resourceGraphClient.js +157 -0
- package/dist/react-native/resourceGraphClient.js.map +1 -0
- package/package.json +82 -71
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -42
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/resourcesHistorySample.d.ts +0 -2
- package/dist-esm/samples-dev/resourcesHistorySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourcesHistorySample.js +0 -63
- package/dist-esm/samples-dev/resourcesHistorySample.js.map +0 -1
- package/dist-esm/samples-dev/resourcesSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourcesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourcesSample.js +0 -245
- package/dist-esm/samples-dev/resourcesSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -2
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/resourceGraphClient.d.ts.map +0 -1
- package/dist-esm/src/resourceGraphClient.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/models/index.ts +0 -261
- package/src/models/mappers.ts +0 -684
- package/src/models/parameters.ts +0 -75
- package/src/operations/operations.ts +0 -103
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/pagingHelper.ts +0 -39
- package/src/resourceGraphClient.ts +0 -213
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-resourcegraph.api.md → arm-resourcegraph-node.api.md} +0 -0
|
@@ -1,55 +1,3 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var coreClient = require('@azure/core-client');
|
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
-
|
|
9
|
-
function _interopNamespace(e) {
|
|
10
|
-
if (e && e.__esModule) return e;
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n["default"] = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Copyright (c) Microsoft Corporation.
|
|
32
|
-
* Licensed under the MIT License.
|
|
33
|
-
*
|
|
34
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
|
-
*/
|
|
37
|
-
const pageMap = new WeakMap();
|
|
38
|
-
/**
|
|
39
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
-
* returns a continuation token that can be used to begin paging from
|
|
41
|
-
* that point later.
|
|
42
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
44
|
-
*/
|
|
45
|
-
function getContinuationToken(page) {
|
|
46
|
-
var _a;
|
|
47
|
-
if (typeof page !== "object" || page === null) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
1
|
/*
|
|
54
2
|
* Copyright (c) Microsoft Corporation.
|
|
55
3
|
* Licensed under the MIT License.
|
|
@@ -57,7 +5,7 @@ function getContinuationToken(page) {
|
|
|
57
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
58
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
59
7
|
*/
|
|
60
|
-
const QueryRequest = {
|
|
8
|
+
export const QueryRequest = {
|
|
61
9
|
type: {
|
|
62
10
|
name: "Composite",
|
|
63
11
|
className: "QueryRequest",
|
|
@@ -113,7 +61,7 @@ const QueryRequest = {
|
|
|
113
61
|
}
|
|
114
62
|
}
|
|
115
63
|
};
|
|
116
|
-
const QueryRequestOptions = {
|
|
64
|
+
export const QueryRequestOptions = {
|
|
117
65
|
type: {
|
|
118
66
|
name: "Composite",
|
|
119
67
|
className: "QueryRequestOptions",
|
|
@@ -173,7 +121,7 @@ const QueryRequestOptions = {
|
|
|
173
121
|
}
|
|
174
122
|
}
|
|
175
123
|
};
|
|
176
|
-
const FacetRequest = {
|
|
124
|
+
export const FacetRequest = {
|
|
177
125
|
type: {
|
|
178
126
|
name: "Composite",
|
|
179
127
|
className: "FacetRequest",
|
|
@@ -195,7 +143,7 @@ const FacetRequest = {
|
|
|
195
143
|
}
|
|
196
144
|
}
|
|
197
145
|
};
|
|
198
|
-
const FacetRequestOptions = {
|
|
146
|
+
export const FacetRequestOptions = {
|
|
199
147
|
type: {
|
|
200
148
|
name: "Composite",
|
|
201
149
|
className: "FacetRequestOptions",
|
|
@@ -233,7 +181,7 @@ const FacetRequestOptions = {
|
|
|
233
181
|
}
|
|
234
182
|
}
|
|
235
183
|
};
|
|
236
|
-
const QueryResponse = {
|
|
184
|
+
export const QueryResponse = {
|
|
237
185
|
type: {
|
|
238
186
|
name: "Composite",
|
|
239
187
|
className: "QueryResponse",
|
|
@@ -289,7 +237,7 @@ const QueryResponse = {
|
|
|
289
237
|
}
|
|
290
238
|
}
|
|
291
239
|
};
|
|
292
|
-
const Facet = {
|
|
240
|
+
export const Facet = {
|
|
293
241
|
type: {
|
|
294
242
|
name: "Composite",
|
|
295
243
|
className: "Facet",
|
|
@@ -316,7 +264,7 @@ const Facet = {
|
|
|
316
264
|
}
|
|
317
265
|
}
|
|
318
266
|
};
|
|
319
|
-
const ErrorResponse = {
|
|
267
|
+
export const ErrorResponse = {
|
|
320
268
|
type: {
|
|
321
269
|
name: "Composite",
|
|
322
270
|
className: "ErrorResponse",
|
|
@@ -331,7 +279,7 @@ const ErrorResponse = {
|
|
|
331
279
|
}
|
|
332
280
|
}
|
|
333
281
|
};
|
|
334
|
-
const ErrorModel = {
|
|
282
|
+
export const ErrorModel = {
|
|
335
283
|
type: {
|
|
336
284
|
name: "Composite",
|
|
337
285
|
className: "ErrorModel",
|
|
@@ -365,7 +313,7 @@ const ErrorModel = {
|
|
|
365
313
|
}
|
|
366
314
|
}
|
|
367
315
|
};
|
|
368
|
-
const ErrorDetails = {
|
|
316
|
+
export const ErrorDetails = {
|
|
369
317
|
type: {
|
|
370
318
|
name: "Composite",
|
|
371
319
|
className: "ErrorDetails",
|
|
@@ -388,7 +336,7 @@ const ErrorDetails = {
|
|
|
388
336
|
}
|
|
389
337
|
}
|
|
390
338
|
};
|
|
391
|
-
const OperationListResult = {
|
|
339
|
+
export const OperationListResult = {
|
|
392
340
|
type: {
|
|
393
341
|
name: "Composite",
|
|
394
342
|
className: "OperationListResult",
|
|
@@ -408,7 +356,7 @@ const OperationListResult = {
|
|
|
408
356
|
}
|
|
409
357
|
}
|
|
410
358
|
};
|
|
411
|
-
const Operation = {
|
|
359
|
+
export const Operation = {
|
|
412
360
|
type: {
|
|
413
361
|
name: "Composite",
|
|
414
362
|
className: "Operation",
|
|
@@ -435,7 +383,7 @@ const Operation = {
|
|
|
435
383
|
}
|
|
436
384
|
}
|
|
437
385
|
};
|
|
438
|
-
const OperationDisplay = {
|
|
386
|
+
export const OperationDisplay = {
|
|
439
387
|
type: {
|
|
440
388
|
name: "Composite",
|
|
441
389
|
className: "OperationDisplay",
|
|
@@ -467,7 +415,7 @@ const OperationDisplay = {
|
|
|
467
415
|
}
|
|
468
416
|
}
|
|
469
417
|
};
|
|
470
|
-
const ResourcesHistoryRequest = {
|
|
418
|
+
export const ResourcesHistoryRequest = {
|
|
471
419
|
type: {
|
|
472
420
|
name: "Composite",
|
|
473
421
|
className: "ResourcesHistoryRequest",
|
|
@@ -510,7 +458,7 @@ const ResourcesHistoryRequest = {
|
|
|
510
458
|
}
|
|
511
459
|
}
|
|
512
460
|
};
|
|
513
|
-
const ResourcesHistoryRequestOptions = {
|
|
461
|
+
export const ResourcesHistoryRequestOptions = {
|
|
514
462
|
type: {
|
|
515
463
|
name: "Composite",
|
|
516
464
|
className: "ResourcesHistoryRequestOptions",
|
|
@@ -557,7 +505,7 @@ const ResourcesHistoryRequestOptions = {
|
|
|
557
505
|
}
|
|
558
506
|
}
|
|
559
507
|
};
|
|
560
|
-
const DateTimeInterval = {
|
|
508
|
+
export const DateTimeInterval = {
|
|
561
509
|
type: {
|
|
562
510
|
name: "Composite",
|
|
563
511
|
className: "DateTimeInterval",
|
|
@@ -579,7 +527,7 @@ const DateTimeInterval = {
|
|
|
579
527
|
}
|
|
580
528
|
}
|
|
581
529
|
};
|
|
582
|
-
const Table = {
|
|
530
|
+
export const Table = {
|
|
583
531
|
type: {
|
|
584
532
|
name: "Composite",
|
|
585
533
|
className: "Table",
|
|
@@ -618,7 +566,7 @@ const Table = {
|
|
|
618
566
|
}
|
|
619
567
|
}
|
|
620
568
|
};
|
|
621
|
-
const Column = {
|
|
569
|
+
export const Column = {
|
|
622
570
|
type: {
|
|
623
571
|
name: "Composite",
|
|
624
572
|
className: "Column",
|
|
@@ -648,43 +596,50 @@ const Column = {
|
|
|
648
596
|
}
|
|
649
597
|
}
|
|
650
598
|
};
|
|
651
|
-
const FacetResult = {
|
|
599
|
+
export const FacetResult = {
|
|
652
600
|
serializedName: "FacetResult",
|
|
653
601
|
type: {
|
|
654
602
|
name: "Composite",
|
|
655
603
|
className: "FacetResult",
|
|
656
604
|
uberParent: "Facet",
|
|
657
605
|
polymorphicDiscriminator: Facet.type.polymorphicDiscriminator,
|
|
658
|
-
modelProperties:
|
|
606
|
+
modelProperties: {
|
|
607
|
+
...Facet.type.modelProperties,
|
|
608
|
+
totalRecords: {
|
|
659
609
|
serializedName: "totalRecords",
|
|
660
610
|
required: true,
|
|
661
611
|
type: {
|
|
662
612
|
name: "Number"
|
|
663
613
|
}
|
|
664
|
-
},
|
|
614
|
+
},
|
|
615
|
+
count: {
|
|
665
616
|
serializedName: "count",
|
|
666
617
|
required: true,
|
|
667
618
|
type: {
|
|
668
619
|
name: "Number"
|
|
669
620
|
}
|
|
670
|
-
},
|
|
621
|
+
},
|
|
622
|
+
data: {
|
|
671
623
|
serializedName: "data",
|
|
672
624
|
required: true,
|
|
673
625
|
type: {
|
|
674
626
|
name: "Dictionary",
|
|
675
627
|
value: { type: { name: "any" } }
|
|
676
628
|
}
|
|
677
|
-
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
678
631
|
}
|
|
679
632
|
};
|
|
680
|
-
const FacetError = {
|
|
633
|
+
export const FacetError = {
|
|
681
634
|
serializedName: "FacetError",
|
|
682
635
|
type: {
|
|
683
636
|
name: "Composite",
|
|
684
637
|
className: "FacetError",
|
|
685
638
|
uberParent: "Facet",
|
|
686
639
|
polymorphicDiscriminator: Facet.type.polymorphicDiscriminator,
|
|
687
|
-
modelProperties:
|
|
640
|
+
modelProperties: {
|
|
641
|
+
...Facet.type.modelProperties,
|
|
642
|
+
errors: {
|
|
688
643
|
serializedName: "errors",
|
|
689
644
|
required: true,
|
|
690
645
|
type: {
|
|
@@ -696,335 +651,13 @@ const FacetError = {
|
|
|
696
651
|
}
|
|
697
652
|
}
|
|
698
653
|
}
|
|
699
|
-
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
700
656
|
}
|
|
701
657
|
};
|
|
702
|
-
let discriminators = {
|
|
658
|
+
export let discriminators = {
|
|
703
659
|
Facet: Facet,
|
|
704
660
|
"Facet.FacetResult": FacetResult,
|
|
705
661
|
"Facet.FacetError": FacetError
|
|
706
662
|
};
|
|
707
|
-
|
|
708
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
709
|
-
__proto__: null,
|
|
710
|
-
QueryRequest: QueryRequest,
|
|
711
|
-
QueryRequestOptions: QueryRequestOptions,
|
|
712
|
-
FacetRequest: FacetRequest,
|
|
713
|
-
FacetRequestOptions: FacetRequestOptions,
|
|
714
|
-
QueryResponse: QueryResponse,
|
|
715
|
-
Facet: Facet,
|
|
716
|
-
ErrorResponse: ErrorResponse,
|
|
717
|
-
ErrorModel: ErrorModel,
|
|
718
|
-
ErrorDetails: ErrorDetails,
|
|
719
|
-
OperationListResult: OperationListResult,
|
|
720
|
-
Operation: Operation,
|
|
721
|
-
OperationDisplay: OperationDisplay,
|
|
722
|
-
ResourcesHistoryRequest: ResourcesHistoryRequest,
|
|
723
|
-
ResourcesHistoryRequestOptions: ResourcesHistoryRequestOptions,
|
|
724
|
-
DateTimeInterval: DateTimeInterval,
|
|
725
|
-
Table: Table,
|
|
726
|
-
Column: Column,
|
|
727
|
-
FacetResult: FacetResult,
|
|
728
|
-
FacetError: FacetError,
|
|
729
|
-
discriminators: discriminators
|
|
730
|
-
});
|
|
731
|
-
|
|
732
|
-
/*
|
|
733
|
-
* Copyright (c) Microsoft Corporation.
|
|
734
|
-
* Licensed under the MIT License.
|
|
735
|
-
*
|
|
736
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
737
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
738
|
-
*/
|
|
739
|
-
const contentType = {
|
|
740
|
-
parameterPath: ["options", "contentType"],
|
|
741
|
-
mapper: {
|
|
742
|
-
defaultValue: "application/json",
|
|
743
|
-
isConstant: true,
|
|
744
|
-
serializedName: "Content-Type",
|
|
745
|
-
type: {
|
|
746
|
-
name: "String"
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
};
|
|
750
|
-
const query = {
|
|
751
|
-
parameterPath: "query",
|
|
752
|
-
mapper: QueryRequest
|
|
753
|
-
};
|
|
754
|
-
const accept = {
|
|
755
|
-
parameterPath: "accept",
|
|
756
|
-
mapper: {
|
|
757
|
-
defaultValue: "application/json",
|
|
758
|
-
isConstant: true,
|
|
759
|
-
serializedName: "Accept",
|
|
760
|
-
type: {
|
|
761
|
-
name: "String"
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
};
|
|
765
|
-
const $host = {
|
|
766
|
-
parameterPath: "$host",
|
|
767
|
-
mapper: {
|
|
768
|
-
serializedName: "$host",
|
|
769
|
-
required: true,
|
|
770
|
-
type: {
|
|
771
|
-
name: "String"
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
skipEncoding: true
|
|
775
|
-
};
|
|
776
|
-
const apiVersion = {
|
|
777
|
-
parameterPath: "apiVersion",
|
|
778
|
-
mapper: {
|
|
779
|
-
defaultValue: "2021-06-01-preview",
|
|
780
|
-
isConstant: true,
|
|
781
|
-
serializedName: "api-version",
|
|
782
|
-
type: {
|
|
783
|
-
name: "String"
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
};
|
|
787
|
-
const request = {
|
|
788
|
-
parameterPath: "request",
|
|
789
|
-
mapper: ResourcesHistoryRequest
|
|
790
|
-
};
|
|
791
|
-
|
|
792
|
-
/*
|
|
793
|
-
* Copyright (c) Microsoft Corporation.
|
|
794
|
-
* Licensed under the MIT License.
|
|
795
|
-
*
|
|
796
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
797
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
798
|
-
*/
|
|
799
|
-
/// <reference lib="esnext.asynciterable" />
|
|
800
|
-
/** Class containing Operations operations. */
|
|
801
|
-
class OperationsImpl {
|
|
802
|
-
/**
|
|
803
|
-
* Initialize a new instance of the class Operations class.
|
|
804
|
-
* @param client Reference to the service client
|
|
805
|
-
*/
|
|
806
|
-
constructor(client) {
|
|
807
|
-
this.client = client;
|
|
808
|
-
}
|
|
809
|
-
/**
|
|
810
|
-
* Lists all of the available REST API operations.
|
|
811
|
-
* @param options The options parameters.
|
|
812
|
-
*/
|
|
813
|
-
list(options) {
|
|
814
|
-
const iter = this.listPagingAll(options);
|
|
815
|
-
return {
|
|
816
|
-
next() {
|
|
817
|
-
return iter.next();
|
|
818
|
-
},
|
|
819
|
-
[Symbol.asyncIterator]() {
|
|
820
|
-
return this;
|
|
821
|
-
},
|
|
822
|
-
byPage: (settings) => {
|
|
823
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
824
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
825
|
-
}
|
|
826
|
-
return this.listPagingPage(options, settings);
|
|
827
|
-
}
|
|
828
|
-
};
|
|
829
|
-
}
|
|
830
|
-
listPagingPage(options, _settings) {
|
|
831
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
832
|
-
let result;
|
|
833
|
-
result = yield tslib.__await(this._list(options));
|
|
834
|
-
yield yield tslib.__await(result.value || []);
|
|
835
|
-
});
|
|
836
|
-
}
|
|
837
|
-
listPagingAll(options) {
|
|
838
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
839
|
-
var e_1, _a;
|
|
840
|
-
try {
|
|
841
|
-
for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
842
|
-
const page = _c.value;
|
|
843
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
847
|
-
finally {
|
|
848
|
-
try {
|
|
849
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
850
|
-
}
|
|
851
|
-
finally { if (e_1) throw e_1.error; }
|
|
852
|
-
}
|
|
853
|
-
});
|
|
854
|
-
}
|
|
855
|
-
/**
|
|
856
|
-
* Lists all of the available REST API operations.
|
|
857
|
-
* @param options The options parameters.
|
|
858
|
-
*/
|
|
859
|
-
_list(options) {
|
|
860
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
// Operation Specifications
|
|
864
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
865
|
-
const listOperationSpec = {
|
|
866
|
-
path: "/providers/Microsoft.ResourceGraph/operations",
|
|
867
|
-
httpMethod: "GET",
|
|
868
|
-
responses: {
|
|
869
|
-
200: {
|
|
870
|
-
bodyMapper: OperationListResult
|
|
871
|
-
},
|
|
872
|
-
default: {
|
|
873
|
-
bodyMapper: ErrorResponse
|
|
874
|
-
}
|
|
875
|
-
},
|
|
876
|
-
queryParameters: [apiVersion],
|
|
877
|
-
urlParameters: [$host],
|
|
878
|
-
headerParameters: [accept],
|
|
879
|
-
serializer: serializer$1
|
|
880
|
-
};
|
|
881
|
-
|
|
882
|
-
/*
|
|
883
|
-
* Copyright (c) Microsoft Corporation.
|
|
884
|
-
* Licensed under the MIT License.
|
|
885
|
-
*
|
|
886
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
887
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
888
|
-
*/
|
|
889
|
-
class ResourceGraphClient extends coreClient__namespace.ServiceClient {
|
|
890
|
-
/**
|
|
891
|
-
* Initializes a new instance of the ResourceGraphClient class.
|
|
892
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
893
|
-
* @param options The parameter options
|
|
894
|
-
*/
|
|
895
|
-
constructor(credentials, options) {
|
|
896
|
-
var _a, _b, _c;
|
|
897
|
-
if (credentials === undefined) {
|
|
898
|
-
throw new Error("'credentials' cannot be null");
|
|
899
|
-
}
|
|
900
|
-
// Initializing default values for options
|
|
901
|
-
if (!options) {
|
|
902
|
-
options = {};
|
|
903
|
-
}
|
|
904
|
-
const defaults = {
|
|
905
|
-
requestContentType: "application/json; charset=utf-8",
|
|
906
|
-
credential: credentials
|
|
907
|
-
};
|
|
908
|
-
const packageDetails = `azsdk-js-arm-resourcegraph/5.0.0-beta.3`;
|
|
909
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
910
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
911
|
-
: `${packageDetails}`;
|
|
912
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
913
|
-
userAgentPrefix
|
|
914
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
915
|
-
super(optionsWithDefaults);
|
|
916
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
917
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
918
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
919
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
920
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
921
|
-
}
|
|
922
|
-
if (!options ||
|
|
923
|
-
!options.pipeline ||
|
|
924
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
925
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
926
|
-
this.pipeline.removePolicy({
|
|
927
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
928
|
-
});
|
|
929
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
930
|
-
credential: credentials,
|
|
931
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
932
|
-
challengeCallbacks: {
|
|
933
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
934
|
-
}
|
|
935
|
-
}));
|
|
936
|
-
}
|
|
937
|
-
// Assigning values to Constant parameters
|
|
938
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
939
|
-
this.apiVersion = options.apiVersion || "2021-06-01-preview";
|
|
940
|
-
this.operations = new OperationsImpl(this);
|
|
941
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
942
|
-
}
|
|
943
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
944
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
945
|
-
if (!apiVersion) {
|
|
946
|
-
return;
|
|
947
|
-
}
|
|
948
|
-
const apiVersionPolicy = {
|
|
949
|
-
name: "CustomApiVersionPolicy",
|
|
950
|
-
sendRequest(request, next) {
|
|
951
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
952
|
-
const param = request.url.split("?");
|
|
953
|
-
if (param.length > 1) {
|
|
954
|
-
const newParams = param[1].split("&").map((item) => {
|
|
955
|
-
if (item.indexOf("api-version") > -1) {
|
|
956
|
-
return "api-version=" + apiVersion;
|
|
957
|
-
}
|
|
958
|
-
else {
|
|
959
|
-
return item;
|
|
960
|
-
}
|
|
961
|
-
});
|
|
962
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
963
|
-
}
|
|
964
|
-
return next(request);
|
|
965
|
-
});
|
|
966
|
-
}
|
|
967
|
-
};
|
|
968
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
969
|
-
}
|
|
970
|
-
/**
|
|
971
|
-
* Queries the resources managed by Azure Resource Manager for scopes specified in the request.
|
|
972
|
-
* @param query Request specifying query and its options.
|
|
973
|
-
* @param options The options parameters.
|
|
974
|
-
*/
|
|
975
|
-
resources(query, options) {
|
|
976
|
-
return this.sendOperationRequest({ query, options }, resourcesOperationSpec);
|
|
977
|
-
}
|
|
978
|
-
/**
|
|
979
|
-
* List all snapshots of a resource for a given time interval.
|
|
980
|
-
* @param request Request specifying the query and its options.
|
|
981
|
-
* @param options The options parameters.
|
|
982
|
-
*/
|
|
983
|
-
resourcesHistory(request, options) {
|
|
984
|
-
return this.sendOperationRequest({ request, options }, resourcesHistoryOperationSpec);
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
// Operation Specifications
|
|
988
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
989
|
-
const resourcesOperationSpec = {
|
|
990
|
-
path: "/providers/Microsoft.ResourceGraph/resources",
|
|
991
|
-
httpMethod: "POST",
|
|
992
|
-
responses: {
|
|
993
|
-
200: {
|
|
994
|
-
bodyMapper: QueryResponse
|
|
995
|
-
},
|
|
996
|
-
default: {
|
|
997
|
-
bodyMapper: ErrorResponse
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
requestBody: query,
|
|
1001
|
-
queryParameters: [apiVersion],
|
|
1002
|
-
urlParameters: [$host],
|
|
1003
|
-
headerParameters: [contentType, accept],
|
|
1004
|
-
mediaType: "json",
|
|
1005
|
-
serializer
|
|
1006
|
-
};
|
|
1007
|
-
const resourcesHistoryOperationSpec = {
|
|
1008
|
-
path: "/providers/Microsoft.ResourceGraph/resourcesHistory",
|
|
1009
|
-
httpMethod: "POST",
|
|
1010
|
-
responses: {
|
|
1011
|
-
200: {
|
|
1012
|
-
bodyMapper: {
|
|
1013
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
1014
|
-
}
|
|
1015
|
-
},
|
|
1016
|
-
default: {
|
|
1017
|
-
bodyMapper: ErrorResponse
|
|
1018
|
-
}
|
|
1019
|
-
},
|
|
1020
|
-
requestBody: request,
|
|
1021
|
-
queryParameters: [apiVersion],
|
|
1022
|
-
urlParameters: [$host],
|
|
1023
|
-
headerParameters: [contentType, accept],
|
|
1024
|
-
mediaType: "json",
|
|
1025
|
-
serializer
|
|
1026
|
-
};
|
|
1027
|
-
|
|
1028
|
-
exports.ResourceGraphClient = ResourceGraphClient;
|
|
1029
|
-
exports.getContinuationToken = getContinuationToken;
|
|
1030
|
-
//# sourceMappingURL=index.js.map
|
|
663
|
+
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,YAAY,GAA+B;IACtD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,cAAc;QACzB,eAAe,EAAE;YACf,aAAa,EAAE;gBACb,cAAc,EAAE,eAAe;gBAC/B,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;YACD,gBAAgB,EAAE;gBAChB,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,qBAAqB;iBACjC;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,cAAc;yBAC1B;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAA+B;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,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;iBACjC;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,cAAc,EAAE,YAAY;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,OAAO;QACnB,wBAAwB,EAAE,KAAK,CAAC,IAAI,CAAC,wBAAwB;QAC7D,eAAe,EAAE;YACf,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe;YAC7B,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,cAAc;yBAC1B;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,IAAI,cAAc,GAAG;IAC1B,KAAK,EAAE,KAAK;IACZ,mBAAmB,EAAE,WAAW;IAChC,kBAAkB,EAAE,UAAU;CAC/B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const QueryRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QueryRequest\",\n modelProperties: {\n subscriptions: {\n serializedName: \"subscriptions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n managementGroups: {\n serializedName: \"managementGroups\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n query: {\n serializedName: \"query\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n options: {\n serializedName: \"options\",\n type: {\n name: \"Composite\",\n className: \"QueryRequestOptions\"\n }\n },\n facets: {\n serializedName: \"facets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"FacetRequest\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const QueryRequestOptions: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QueryRequestOptions\",\n modelProperties: {\n skipToken: {\n serializedName: \"$skipToken\",\n type: {\n name: \"String\"\n }\n },\n top: {\n constraints: {\n InclusiveMaximum: 1000,\n InclusiveMinimum: 1\n },\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n },\n skip: {\n constraints: {\n InclusiveMinimum: 0\n },\n serializedName: \"$skip\",\n type: {\n name: \"Number\"\n }\n },\n resultFormat: {\n serializedName: \"resultFormat\",\n type: {\n name: \"Enum\",\n allowedValues: [\"table\", \"objectArray\"]\n }\n },\n allowPartialScopes: {\n defaultValue: false,\n serializedName: \"allowPartialScopes\",\n type: {\n name: \"Boolean\"\n }\n },\n authorizationScopeFilter: {\n defaultValue: \"AtScopeAndBelow\",\n serializedName: \"authorizationScopeFilter\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"AtScopeAndBelow\",\n \"AtScopeAndAbove\",\n \"AtScopeExact\",\n \"AtScopeAboveAndBelow\"\n ]\n }\n }\n }\n }\n};\n\nexport const FacetRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FacetRequest\",\n modelProperties: {\n expression: {\n serializedName: \"expression\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n options: {\n serializedName: \"options\",\n type: {\n name: \"Composite\",\n className: \"FacetRequestOptions\"\n }\n }\n }\n }\n};\n\nexport const FacetRequestOptions: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FacetRequestOptions\",\n modelProperties: {\n sortBy: {\n serializedName: \"sortBy\",\n type: {\n name: \"String\"\n }\n },\n sortOrder: {\n defaultValue: \"desc\",\n serializedName: \"sortOrder\",\n type: {\n name: \"Enum\",\n allowedValues: [\"asc\", \"desc\"]\n }\n },\n filter: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n },\n top: {\n constraints: {\n InclusiveMaximum: 1000,\n InclusiveMinimum: 1\n },\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const QueryResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QueryResponse\",\n modelProperties: {\n totalRecords: {\n serializedName: \"totalRecords\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n count: {\n serializedName: \"count\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n resultTruncated: {\n serializedName: \"resultTruncated\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"true\", \"false\"]\n }\n },\n skipToken: {\n serializedName: \"$skipToken\",\n type: {\n name: \"String\"\n }\n },\n data: {\n serializedName: \"data\",\n required: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n facets: {\n serializedName: \"facets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Facet\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Facet: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Facet\",\n uberParent: \"Facet\",\n polymorphicDiscriminator: {\n serializedName: \"resultType\",\n clientName: \"resultType\"\n },\n modelProperties: {\n expression: {\n serializedName: \"expression\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n resultType: {\n serializedName: \"resultType\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n }\n }\n }\n};\n\nexport const ErrorModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourcesHistoryRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourcesHistoryRequest\",\n modelProperties: {\n subscriptions: {\n serializedName: \"subscriptions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n query: {\n serializedName: \"query\",\n type: {\n name: \"String\"\n }\n },\n options: {\n serializedName: \"options\",\n type: {\n name: \"Composite\",\n className: \"ResourcesHistoryRequestOptions\"\n }\n },\n managementGroups: {\n serializedName: \"managementGroups\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ResourcesHistoryRequestOptions: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourcesHistoryRequestOptions\",\n modelProperties: {\n interval: {\n serializedName: \"interval\",\n type: {\n name: \"Composite\",\n className: \"DateTimeInterval\"\n }\n },\n top: {\n constraints: {\n InclusiveMaximum: 1000,\n InclusiveMinimum: 1\n },\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n },\n skip: {\n constraints: {\n InclusiveMinimum: 0\n },\n serializedName: \"$skip\",\n type: {\n name: \"Number\"\n }\n },\n skipToken: {\n serializedName: \"$skipToken\",\n type: {\n name: \"String\"\n }\n },\n resultFormat: {\n serializedName: \"resultFormat\",\n type: {\n name: \"Enum\",\n allowedValues: [\"table\", \"objectArray\"]\n }\n }\n }\n }\n};\n\nexport const DateTimeInterval: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DateTimeInterval\",\n modelProperties: {\n start: {\n serializedName: \"start\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n end: {\n serializedName: \"end\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const Table: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Table\",\n modelProperties: {\n columns: {\n serializedName: \"columns\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Column\"\n }\n }\n }\n },\n rows: {\n serializedName: \"rows\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n }\n }\n }\n }\n};\n\nexport const Column: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Column\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"string\",\n \"integer\",\n \"number\",\n \"boolean\",\n \"object\",\n \"datetime\"\n ]\n }\n }\n }\n }\n};\n\nexport const FacetResult: coreClient.CompositeMapper = {\n serializedName: \"FacetResult\",\n type: {\n name: \"Composite\",\n className: \"FacetResult\",\n uberParent: \"Facet\",\n polymorphicDiscriminator: Facet.type.polymorphicDiscriminator,\n modelProperties: {\n ...Facet.type.modelProperties,\n totalRecords: {\n serializedName: \"totalRecords\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n count: {\n serializedName: \"count\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n data: {\n serializedName: \"data\",\n required: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const FacetError: coreClient.CompositeMapper = {\n serializedName: \"FacetError\",\n type: {\n name: \"Composite\",\n className: \"FacetError\",\n uberParent: \"Facet\",\n polymorphicDiscriminator: Facet.type.polymorphicDiscriminator,\n modelProperties: {\n ...Facet.type.modelProperties,\n errors: {\n serializedName: \"errors\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\"\n }\n }\n }\n }\n }\n }\n};\n\nexport let discriminators = {\n Facet: Facet,\n \"Facet.FacetResult\": FacetResult,\n \"Facet.FacetError\": FacetError\n};\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const contentType: OperationParameter;
|
|
3
|
+
export declare const query: OperationParameter;
|
|
4
|
+
export declare const accept: OperationParameter;
|
|
5
|
+
export declare const $host: OperationURLParameter;
|
|
6
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
7
|
+
export declare const request: OperationParameter;
|
|
8
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAM5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAGrB,CAAC"}
|