@azure/arm-resourcegraph 5.0.0-beta.2 → 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 +14 -4
- package/LICENSE +4 -4
- package/README.md +27 -18
- 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 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +13 -13
- 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 +16 -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/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/resourceGraphClient.d.ts +4 -2
- package/dist/browser/resourceGraphClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/resourceGraphClient.js +59 -23
- 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 -284
- 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 -4
- 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 -344
- 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 +83 -68
- package/review/{arm-resourcegraph.api.md → arm-resourcegraph-node.api.md} +10 -7
- 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/accessAPropertiesField.d.ts +0 -2
- package/dist-esm/samples-dev/accessAPropertiesField.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessAPropertiesField.js +0 -32
- package/dist-esm/samples-dev/accessAPropertiesField.js.map +0 -1
- package/dist-esm/samples-dev/basicManagementGroupQuery.d.ts +0 -2
- package/dist-esm/samples-dev/basicManagementGroupQuery.d.ts.map +0 -1
- package/dist-esm/samples-dev/basicManagementGroupQuery.js +0 -32
- package/dist-esm/samples-dev/basicManagementGroupQuery.js.map +0 -1
- package/dist-esm/samples-dev/basicQuery.d.ts +0 -2
- package/dist-esm/samples-dev/basicQuery.d.ts.map +0 -1
- package/dist-esm/samples-dev/basicQuery.js +0 -32
- package/dist-esm/samples-dev/basicQuery.js.map +0 -1
- package/dist-esm/samples-dev/basicTenantQuery.d.ts +0 -2
- package/dist-esm/samples-dev/basicTenantQuery.d.ts.map +0 -1
- package/dist-esm/samples-dev/basicTenantQuery.js +0 -31
- package/dist-esm/samples-dev/basicTenantQuery.js.map +0 -1
- package/dist-esm/samples-dev/complexQuery.d.ts +0 -2
- package/dist-esm/samples-dev/complexQuery.d.ts.map +0 -1
- package/dist-esm/samples-dev/complexQuery.js +0 -32
- package/dist-esm/samples-dev/complexQuery.js.map +0 -1
- package/dist-esm/samples-dev/filterResources.d.ts +0 -2
- package/dist-esm/samples-dev/filterResources.d.ts.map +0 -1
- package/dist-esm/samples-dev/filterResources.js +0 -32
- package/dist-esm/samples-dev/filterResources.js.map +0 -1
- package/dist-esm/samples-dev/firstPageQuery.d.ts +0 -2
- package/dist-esm/samples-dev/firstPageQuery.d.ts.map +0 -1
- package/dist-esm/samples-dev/firstPageQuery.js +0 -33
- package/dist-esm/samples-dev/firstPageQuery.js.map +0 -1
- package/dist-esm/samples-dev/nextPageQuery.d.ts +0 -2
- package/dist-esm/samples-dev/nextPageQuery.d.ts.map +0 -1
- package/dist-esm/samples-dev/nextPageQuery.js +0 -35
- package/dist-esm/samples-dev/nextPageQuery.js.map +0 -1
- package/dist-esm/samples-dev/operationsList.d.ts +0 -2
- package/dist-esm/samples-dev/operationsList.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsList.js +0 -42
- package/dist-esm/samples-dev/operationsList.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/queryWithAFacetRequest.d.ts +0 -2
- package/dist-esm/samples-dev/queryWithAFacetRequest.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryWithAFacetRequest.js +0 -51
- package/dist-esm/samples-dev/queryWithAFacetRequest.js.map +0 -1
- package/dist-esm/samples-dev/randomPageQuery.d.ts +0 -2
- package/dist-esm/samples-dev/randomPageQuery.d.ts.map +0 -1
- package/dist-esm/samples-dev/randomPageQuery.js +0 -33
- package/dist-esm/samples-dev/randomPageQuery.js.map +0 -1
- package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.d.ts +0 -2
- package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.js +0 -38
- package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.js.map +0 -1
- package/dist-esm/samples-dev/resourceHistoryQuery.d.ts +0 -2
- package/dist-esm/samples-dev/resourceHistoryQuery.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceHistoryQuery.js +0 -38
- package/dist-esm/samples-dev/resourceHistoryQuery.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/samples-dev/summarizeResourcesByLocation.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeResourcesByLocation.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeResourcesByLocation.js +0 -32
- package/dist-esm/samples-dev/summarizeResourcesByLocation.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- 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/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 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/models/index.ts +0 -260
- package/src/models/mappers.ts +0 -684
- package/src/models/parameters.ts +0 -75
- package/src/operations/operations.ts +0 -98
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/resourceGraphClient.ts +0 -173
- 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
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var coreClient = require('@azure/core-client');
|
|
6
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
7
|
-
var tslib = require('tslib');
|
|
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
1
|
/*
|
|
31
2
|
* Copyright (c) Microsoft Corporation.
|
|
32
3
|
* Licensed under the MIT License.
|
|
@@ -34,7 +5,7 @@ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipelin
|
|
|
34
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
7
|
*/
|
|
37
|
-
const QueryRequest = {
|
|
8
|
+
export const QueryRequest = {
|
|
38
9
|
type: {
|
|
39
10
|
name: "Composite",
|
|
40
11
|
className: "QueryRequest",
|
|
@@ -90,7 +61,7 @@ const QueryRequest = {
|
|
|
90
61
|
}
|
|
91
62
|
}
|
|
92
63
|
};
|
|
93
|
-
const QueryRequestOptions = {
|
|
64
|
+
export const QueryRequestOptions = {
|
|
94
65
|
type: {
|
|
95
66
|
name: "Composite",
|
|
96
67
|
className: "QueryRequestOptions",
|
|
@@ -150,7 +121,7 @@ const QueryRequestOptions = {
|
|
|
150
121
|
}
|
|
151
122
|
}
|
|
152
123
|
};
|
|
153
|
-
const FacetRequest = {
|
|
124
|
+
export const FacetRequest = {
|
|
154
125
|
type: {
|
|
155
126
|
name: "Composite",
|
|
156
127
|
className: "FacetRequest",
|
|
@@ -172,7 +143,7 @@ const FacetRequest = {
|
|
|
172
143
|
}
|
|
173
144
|
}
|
|
174
145
|
};
|
|
175
|
-
const FacetRequestOptions = {
|
|
146
|
+
export const FacetRequestOptions = {
|
|
176
147
|
type: {
|
|
177
148
|
name: "Composite",
|
|
178
149
|
className: "FacetRequestOptions",
|
|
@@ -210,7 +181,7 @@ const FacetRequestOptions = {
|
|
|
210
181
|
}
|
|
211
182
|
}
|
|
212
183
|
};
|
|
213
|
-
const QueryResponse = {
|
|
184
|
+
export const QueryResponse = {
|
|
214
185
|
type: {
|
|
215
186
|
name: "Composite",
|
|
216
187
|
className: "QueryResponse",
|
|
@@ -266,7 +237,7 @@ const QueryResponse = {
|
|
|
266
237
|
}
|
|
267
238
|
}
|
|
268
239
|
};
|
|
269
|
-
const Facet = {
|
|
240
|
+
export const Facet = {
|
|
270
241
|
type: {
|
|
271
242
|
name: "Composite",
|
|
272
243
|
className: "Facet",
|
|
@@ -293,7 +264,7 @@ const Facet = {
|
|
|
293
264
|
}
|
|
294
265
|
}
|
|
295
266
|
};
|
|
296
|
-
const ErrorResponse = {
|
|
267
|
+
export const ErrorResponse = {
|
|
297
268
|
type: {
|
|
298
269
|
name: "Composite",
|
|
299
270
|
className: "ErrorResponse",
|
|
@@ -308,7 +279,7 @@ const ErrorResponse = {
|
|
|
308
279
|
}
|
|
309
280
|
}
|
|
310
281
|
};
|
|
311
|
-
const ErrorModel = {
|
|
282
|
+
export const ErrorModel = {
|
|
312
283
|
type: {
|
|
313
284
|
name: "Composite",
|
|
314
285
|
className: "ErrorModel",
|
|
@@ -342,7 +313,7 @@ const ErrorModel = {
|
|
|
342
313
|
}
|
|
343
314
|
}
|
|
344
315
|
};
|
|
345
|
-
const ErrorDetails = {
|
|
316
|
+
export const ErrorDetails = {
|
|
346
317
|
type: {
|
|
347
318
|
name: "Composite",
|
|
348
319
|
className: "ErrorDetails",
|
|
@@ -365,7 +336,7 @@ const ErrorDetails = {
|
|
|
365
336
|
}
|
|
366
337
|
}
|
|
367
338
|
};
|
|
368
|
-
const OperationListResult = {
|
|
339
|
+
export const OperationListResult = {
|
|
369
340
|
type: {
|
|
370
341
|
name: "Composite",
|
|
371
342
|
className: "OperationListResult",
|
|
@@ -385,7 +356,7 @@ const OperationListResult = {
|
|
|
385
356
|
}
|
|
386
357
|
}
|
|
387
358
|
};
|
|
388
|
-
const Operation = {
|
|
359
|
+
export const Operation = {
|
|
389
360
|
type: {
|
|
390
361
|
name: "Composite",
|
|
391
362
|
className: "Operation",
|
|
@@ -412,7 +383,7 @@ const Operation = {
|
|
|
412
383
|
}
|
|
413
384
|
}
|
|
414
385
|
};
|
|
415
|
-
const OperationDisplay = {
|
|
386
|
+
export const OperationDisplay = {
|
|
416
387
|
type: {
|
|
417
388
|
name: "Composite",
|
|
418
389
|
className: "OperationDisplay",
|
|
@@ -444,7 +415,7 @@ const OperationDisplay = {
|
|
|
444
415
|
}
|
|
445
416
|
}
|
|
446
417
|
};
|
|
447
|
-
const ResourcesHistoryRequest = {
|
|
418
|
+
export const ResourcesHistoryRequest = {
|
|
448
419
|
type: {
|
|
449
420
|
name: "Composite",
|
|
450
421
|
className: "ResourcesHistoryRequest",
|
|
@@ -487,7 +458,7 @@ const ResourcesHistoryRequest = {
|
|
|
487
458
|
}
|
|
488
459
|
}
|
|
489
460
|
};
|
|
490
|
-
const ResourcesHistoryRequestOptions = {
|
|
461
|
+
export const ResourcesHistoryRequestOptions = {
|
|
491
462
|
type: {
|
|
492
463
|
name: "Composite",
|
|
493
464
|
className: "ResourcesHistoryRequestOptions",
|
|
@@ -534,7 +505,7 @@ const ResourcesHistoryRequestOptions = {
|
|
|
534
505
|
}
|
|
535
506
|
}
|
|
536
507
|
};
|
|
537
|
-
const DateTimeInterval = {
|
|
508
|
+
export const DateTimeInterval = {
|
|
538
509
|
type: {
|
|
539
510
|
name: "Composite",
|
|
540
511
|
className: "DateTimeInterval",
|
|
@@ -556,7 +527,7 @@ const DateTimeInterval = {
|
|
|
556
527
|
}
|
|
557
528
|
}
|
|
558
529
|
};
|
|
559
|
-
const Table = {
|
|
530
|
+
export const Table = {
|
|
560
531
|
type: {
|
|
561
532
|
name: "Composite",
|
|
562
533
|
className: "Table",
|
|
@@ -595,7 +566,7 @@ const Table = {
|
|
|
595
566
|
}
|
|
596
567
|
}
|
|
597
568
|
};
|
|
598
|
-
const Column = {
|
|
569
|
+
export const Column = {
|
|
599
570
|
type: {
|
|
600
571
|
name: "Composite",
|
|
601
572
|
className: "Column",
|
|
@@ -625,43 +596,50 @@ const Column = {
|
|
|
625
596
|
}
|
|
626
597
|
}
|
|
627
598
|
};
|
|
628
|
-
const FacetResult = {
|
|
599
|
+
export const FacetResult = {
|
|
629
600
|
serializedName: "FacetResult",
|
|
630
601
|
type: {
|
|
631
602
|
name: "Composite",
|
|
632
603
|
className: "FacetResult",
|
|
633
604
|
uberParent: "Facet",
|
|
634
605
|
polymorphicDiscriminator: Facet.type.polymorphicDiscriminator,
|
|
635
|
-
modelProperties:
|
|
606
|
+
modelProperties: {
|
|
607
|
+
...Facet.type.modelProperties,
|
|
608
|
+
totalRecords: {
|
|
636
609
|
serializedName: "totalRecords",
|
|
637
610
|
required: true,
|
|
638
611
|
type: {
|
|
639
612
|
name: "Number"
|
|
640
613
|
}
|
|
641
|
-
},
|
|
614
|
+
},
|
|
615
|
+
count: {
|
|
642
616
|
serializedName: "count",
|
|
643
617
|
required: true,
|
|
644
618
|
type: {
|
|
645
619
|
name: "Number"
|
|
646
620
|
}
|
|
647
|
-
},
|
|
621
|
+
},
|
|
622
|
+
data: {
|
|
648
623
|
serializedName: "data",
|
|
649
624
|
required: true,
|
|
650
625
|
type: {
|
|
651
626
|
name: "Dictionary",
|
|
652
627
|
value: { type: { name: "any" } }
|
|
653
628
|
}
|
|
654
|
-
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
655
631
|
}
|
|
656
632
|
};
|
|
657
|
-
const FacetError = {
|
|
633
|
+
export const FacetError = {
|
|
658
634
|
serializedName: "FacetError",
|
|
659
635
|
type: {
|
|
660
636
|
name: "Composite",
|
|
661
637
|
className: "FacetError",
|
|
662
638
|
uberParent: "Facet",
|
|
663
639
|
polymorphicDiscriminator: Facet.type.polymorphicDiscriminator,
|
|
664
|
-
modelProperties:
|
|
640
|
+
modelProperties: {
|
|
641
|
+
...Facet.type.modelProperties,
|
|
642
|
+
errors: {
|
|
665
643
|
serializedName: "errors",
|
|
666
644
|
required: true,
|
|
667
645
|
type: {
|
|
@@ -673,300 +651,13 @@ const FacetError = {
|
|
|
673
651
|
}
|
|
674
652
|
}
|
|
675
653
|
}
|
|
676
|
-
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
677
656
|
}
|
|
678
657
|
};
|
|
679
|
-
let discriminators = {
|
|
658
|
+
export let discriminators = {
|
|
680
659
|
Facet: Facet,
|
|
681
660
|
"Facet.FacetResult": FacetResult,
|
|
682
661
|
"Facet.FacetError": FacetError
|
|
683
662
|
};
|
|
684
|
-
|
|
685
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
686
|
-
__proto__: null,
|
|
687
|
-
QueryRequest: QueryRequest,
|
|
688
|
-
QueryRequestOptions: QueryRequestOptions,
|
|
689
|
-
FacetRequest: FacetRequest,
|
|
690
|
-
FacetRequestOptions: FacetRequestOptions,
|
|
691
|
-
QueryResponse: QueryResponse,
|
|
692
|
-
Facet: Facet,
|
|
693
|
-
ErrorResponse: ErrorResponse,
|
|
694
|
-
ErrorModel: ErrorModel,
|
|
695
|
-
ErrorDetails: ErrorDetails,
|
|
696
|
-
OperationListResult: OperationListResult,
|
|
697
|
-
Operation: Operation,
|
|
698
|
-
OperationDisplay: OperationDisplay,
|
|
699
|
-
ResourcesHistoryRequest: ResourcesHistoryRequest,
|
|
700
|
-
ResourcesHistoryRequestOptions: ResourcesHistoryRequestOptions,
|
|
701
|
-
DateTimeInterval: DateTimeInterval,
|
|
702
|
-
Table: Table,
|
|
703
|
-
Column: Column,
|
|
704
|
-
FacetResult: FacetResult,
|
|
705
|
-
FacetError: FacetError,
|
|
706
|
-
discriminators: discriminators
|
|
707
|
-
});
|
|
708
|
-
|
|
709
|
-
/*
|
|
710
|
-
* Copyright (c) Microsoft Corporation.
|
|
711
|
-
* Licensed under the MIT License.
|
|
712
|
-
*
|
|
713
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
714
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
715
|
-
*/
|
|
716
|
-
const contentType = {
|
|
717
|
-
parameterPath: ["options", "contentType"],
|
|
718
|
-
mapper: {
|
|
719
|
-
defaultValue: "application/json",
|
|
720
|
-
isConstant: true,
|
|
721
|
-
serializedName: "Content-Type",
|
|
722
|
-
type: {
|
|
723
|
-
name: "String"
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
};
|
|
727
|
-
const query = {
|
|
728
|
-
parameterPath: "query",
|
|
729
|
-
mapper: QueryRequest
|
|
730
|
-
};
|
|
731
|
-
const accept = {
|
|
732
|
-
parameterPath: "accept",
|
|
733
|
-
mapper: {
|
|
734
|
-
defaultValue: "application/json",
|
|
735
|
-
isConstant: true,
|
|
736
|
-
serializedName: "Accept",
|
|
737
|
-
type: {
|
|
738
|
-
name: "String"
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
};
|
|
742
|
-
const $host = {
|
|
743
|
-
parameterPath: "$host",
|
|
744
|
-
mapper: {
|
|
745
|
-
serializedName: "$host",
|
|
746
|
-
required: true,
|
|
747
|
-
type: {
|
|
748
|
-
name: "String"
|
|
749
|
-
}
|
|
750
|
-
},
|
|
751
|
-
skipEncoding: true
|
|
752
|
-
};
|
|
753
|
-
const apiVersion = {
|
|
754
|
-
parameterPath: "apiVersion",
|
|
755
|
-
mapper: {
|
|
756
|
-
defaultValue: "2021-06-01-preview",
|
|
757
|
-
isConstant: true,
|
|
758
|
-
serializedName: "api-version",
|
|
759
|
-
type: {
|
|
760
|
-
name: "String"
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
};
|
|
764
|
-
const request = {
|
|
765
|
-
parameterPath: "request",
|
|
766
|
-
mapper: ResourcesHistoryRequest
|
|
767
|
-
};
|
|
768
|
-
|
|
769
|
-
/*
|
|
770
|
-
* Copyright (c) Microsoft Corporation.
|
|
771
|
-
* Licensed under the MIT License.
|
|
772
|
-
*
|
|
773
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
774
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
775
|
-
*/
|
|
776
|
-
/// <reference lib="esnext.asynciterable" />
|
|
777
|
-
/** Class containing Operations operations. */
|
|
778
|
-
class OperationsImpl {
|
|
779
|
-
/**
|
|
780
|
-
* Initialize a new instance of the class Operations class.
|
|
781
|
-
* @param client Reference to the service client
|
|
782
|
-
*/
|
|
783
|
-
constructor(client) {
|
|
784
|
-
this.client = client;
|
|
785
|
-
}
|
|
786
|
-
/**
|
|
787
|
-
* Lists all of the available REST API operations.
|
|
788
|
-
* @param options The options parameters.
|
|
789
|
-
*/
|
|
790
|
-
list(options) {
|
|
791
|
-
const iter = this.listPagingAll(options);
|
|
792
|
-
return {
|
|
793
|
-
next() {
|
|
794
|
-
return iter.next();
|
|
795
|
-
},
|
|
796
|
-
[Symbol.asyncIterator]() {
|
|
797
|
-
return this;
|
|
798
|
-
},
|
|
799
|
-
byPage: () => {
|
|
800
|
-
return this.listPagingPage(options);
|
|
801
|
-
}
|
|
802
|
-
};
|
|
803
|
-
}
|
|
804
|
-
listPagingPage(options) {
|
|
805
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
806
|
-
let result = yield tslib.__await(this._list(options));
|
|
807
|
-
yield yield tslib.__await(result.value || []);
|
|
808
|
-
});
|
|
809
|
-
}
|
|
810
|
-
listPagingAll(options) {
|
|
811
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
812
|
-
var e_1, _a;
|
|
813
|
-
try {
|
|
814
|
-
for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
815
|
-
const page = _c.value;
|
|
816
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
820
|
-
finally {
|
|
821
|
-
try {
|
|
822
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
823
|
-
}
|
|
824
|
-
finally { if (e_1) throw e_1.error; }
|
|
825
|
-
}
|
|
826
|
-
});
|
|
827
|
-
}
|
|
828
|
-
/**
|
|
829
|
-
* Lists all of the available REST API operations.
|
|
830
|
-
* @param options The options parameters.
|
|
831
|
-
*/
|
|
832
|
-
_list(options) {
|
|
833
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
// Operation Specifications
|
|
837
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
838
|
-
const listOperationSpec = {
|
|
839
|
-
path: "/providers/Microsoft.ResourceGraph/operations",
|
|
840
|
-
httpMethod: "GET",
|
|
841
|
-
responses: {
|
|
842
|
-
200: {
|
|
843
|
-
bodyMapper: OperationListResult
|
|
844
|
-
},
|
|
845
|
-
default: {
|
|
846
|
-
bodyMapper: ErrorResponse
|
|
847
|
-
}
|
|
848
|
-
},
|
|
849
|
-
queryParameters: [apiVersion],
|
|
850
|
-
urlParameters: [$host],
|
|
851
|
-
headerParameters: [accept],
|
|
852
|
-
serializer: serializer$1
|
|
853
|
-
};
|
|
854
|
-
|
|
855
|
-
/*
|
|
856
|
-
* Copyright (c) Microsoft Corporation.
|
|
857
|
-
* Licensed under the MIT License.
|
|
858
|
-
*
|
|
859
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
860
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
861
|
-
*/
|
|
862
|
-
class ResourceGraphClient extends coreClient__namespace.ServiceClient {
|
|
863
|
-
/**
|
|
864
|
-
* Initializes a new instance of the ResourceGraphClient class.
|
|
865
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
866
|
-
* @param options The parameter options
|
|
867
|
-
*/
|
|
868
|
-
constructor(credentials, options) {
|
|
869
|
-
var _a, _b;
|
|
870
|
-
if (credentials === undefined) {
|
|
871
|
-
throw new Error("'credentials' cannot be null");
|
|
872
|
-
}
|
|
873
|
-
// Initializing default values for options
|
|
874
|
-
if (!options) {
|
|
875
|
-
options = {};
|
|
876
|
-
}
|
|
877
|
-
const defaults = {
|
|
878
|
-
requestContentType: "application/json; charset=utf-8",
|
|
879
|
-
credential: credentials
|
|
880
|
-
};
|
|
881
|
-
const packageDetails = `azsdk-js-arm-resourcegraph/5.0.0-beta.2`;
|
|
882
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
883
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
884
|
-
: `${packageDetails}`;
|
|
885
|
-
if (!options.credentialScopes) {
|
|
886
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
887
|
-
}
|
|
888
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
889
|
-
userAgentPrefix
|
|
890
|
-
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
891
|
-
super(optionsWithDefaults);
|
|
892
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
893
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
894
|
-
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
895
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
896
|
-
if (!bearerTokenAuthenticationPolicyFound) {
|
|
897
|
-
this.pipeline.removePolicy({
|
|
898
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
899
|
-
});
|
|
900
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
901
|
-
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
|
902
|
-
challengeCallbacks: {
|
|
903
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
904
|
-
}
|
|
905
|
-
}));
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
// Assigning values to Constant parameters
|
|
909
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
910
|
-
this.apiVersion = options.apiVersion || "2021-06-01-preview";
|
|
911
|
-
this.operations = new OperationsImpl(this);
|
|
912
|
-
}
|
|
913
|
-
/**
|
|
914
|
-
* Queries the resources managed by Azure Resource Manager for scopes specified in the request.
|
|
915
|
-
* @param query Request specifying query and its options.
|
|
916
|
-
* @param options The options parameters.
|
|
917
|
-
*/
|
|
918
|
-
resources(query, options) {
|
|
919
|
-
return this.sendOperationRequest({ query, options }, resourcesOperationSpec);
|
|
920
|
-
}
|
|
921
|
-
/**
|
|
922
|
-
* List all snapshots of a resource for a given time interval.
|
|
923
|
-
* @param request Request specifying the query and its options.
|
|
924
|
-
* @param options The options parameters.
|
|
925
|
-
*/
|
|
926
|
-
resourcesHistory(request, options) {
|
|
927
|
-
return this.sendOperationRequest({ request, options }, resourcesHistoryOperationSpec);
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
// Operation Specifications
|
|
931
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
932
|
-
const resourcesOperationSpec = {
|
|
933
|
-
path: "/providers/Microsoft.ResourceGraph/resources",
|
|
934
|
-
httpMethod: "POST",
|
|
935
|
-
responses: {
|
|
936
|
-
200: {
|
|
937
|
-
bodyMapper: QueryResponse
|
|
938
|
-
},
|
|
939
|
-
default: {
|
|
940
|
-
bodyMapper: ErrorResponse
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
|
-
requestBody: query,
|
|
944
|
-
queryParameters: [apiVersion],
|
|
945
|
-
urlParameters: [$host],
|
|
946
|
-
headerParameters: [contentType, accept],
|
|
947
|
-
mediaType: "json",
|
|
948
|
-
serializer
|
|
949
|
-
};
|
|
950
|
-
const resourcesHistoryOperationSpec = {
|
|
951
|
-
path: "/providers/Microsoft.ResourceGraph/resourcesHistory",
|
|
952
|
-
httpMethod: "POST",
|
|
953
|
-
responses: {
|
|
954
|
-
200: {
|
|
955
|
-
bodyMapper: {
|
|
956
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
957
|
-
}
|
|
958
|
-
},
|
|
959
|
-
default: {
|
|
960
|
-
bodyMapper: ErrorResponse
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
requestBody: request,
|
|
964
|
-
queryParameters: [apiVersion],
|
|
965
|
-
urlParameters: [$host],
|
|
966
|
-
headerParameters: [contentType, accept],
|
|
967
|
-
mediaType: "json",
|
|
968
|
-
serializer
|
|
969
|
-
};
|
|
970
|
-
|
|
971
|
-
exports.ResourceGraphClient = ResourceGraphClient;
|
|
972
|
-
//# 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,IAA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c,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"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { QueryRequest as QueryRequestMapper, ResourcesHistoryRequest as ResourcesHistoryRequestMapper } from "../models/mappers.js";
|
|
9
|
+
export const contentType = {
|
|
10
|
+
parameterPath: ["options", "contentType"],
|
|
11
|
+
mapper: {
|
|
12
|
+
defaultValue: "application/json",
|
|
13
|
+
isConstant: true,
|
|
14
|
+
serializedName: "Content-Type",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export const query = {
|
|
21
|
+
parameterPath: "query",
|
|
22
|
+
mapper: QueryRequestMapper
|
|
23
|
+
};
|
|
24
|
+
export const accept = {
|
|
25
|
+
parameterPath: "accept",
|
|
26
|
+
mapper: {
|
|
27
|
+
defaultValue: "application/json",
|
|
28
|
+
isConstant: true,
|
|
29
|
+
serializedName: "Accept",
|
|
30
|
+
type: {
|
|
31
|
+
name: "String"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export const $host = {
|
|
36
|
+
parameterPath: "$host",
|
|
37
|
+
mapper: {
|
|
38
|
+
serializedName: "$host",
|
|
39
|
+
required: true,
|
|
40
|
+
type: {
|
|
41
|
+
name: "String"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
skipEncoding: true
|
|
45
|
+
};
|
|
46
|
+
export const apiVersion = {
|
|
47
|
+
parameterPath: "apiVersion",
|
|
48
|
+
mapper: {
|
|
49
|
+
defaultValue: "2021-06-01-preview",
|
|
50
|
+
isConstant: true,
|
|
51
|
+
serializedName: "api-version",
|
|
52
|
+
type: {
|
|
53
|
+
name: "String"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
export const request = {
|
|
58
|
+
parameterPath: "request",
|
|
59
|
+
mapper: ResourcesHistoryRequestMapper
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,YAAY,IAAI,kBAAkB,EAClC,uBAAuB,IAAI,6BAA6B,EACzD,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAuB;IACzC,aAAa,EAAE,SAAS;IACxB,MAAM,EAAE,6BAA6B;CACtC,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n QueryRequest as QueryRequestMapper,\n ResourcesHistoryRequest as ResourcesHistoryRequestMapper\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const query: OperationParameter = {\n parameterPath: \"query\",\n mapper: QueryRequestMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-06-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const request: OperationParameter = {\n parameterPath: \"request\",\n mapper: ResourcesHistoryRequestMapper\n};\n"]}
|