@azure/arm-resourcegraph 5.0.0-beta.4 → 5.0.0-beta.5
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/LICENSE +1 -1
- package/README.md +10 -13
- package/dist/browser/api/graphQuery/index.d.ts +3 -0
- package/dist/browser/api/graphQuery/index.js +4 -0
- package/dist/browser/api/graphQuery/index.js.map +1 -0
- package/dist/browser/api/graphQuery/operations.d.ts +30 -0
- package/dist/browser/api/graphQuery/operations.js +183 -0
- package/dist/browser/api/graphQuery/operations.js.map +1 -0
- package/dist/browser/api/graphQuery/options.d.ts +20 -0
- package/dist/browser/api/graphQuery/options.js +4 -0
- package/dist/browser/api/graphQuery/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +5 -0
- package/dist/browser/api/index.js +5 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +34 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/operations.d.ts +24 -0
- package/dist/browser/api/operations.js +125 -0
- package/dist/browser/api/operations.js.map +1 -0
- package/dist/browser/api/options.d.ts +14 -0
- package/dist/browser/api/options.js +4 -0
- package/dist/browser/api/options.js.map +1 -0
- package/dist/browser/api/resourceGraphContext.d.ts +14 -0
- package/dist/browser/api/resourceGraphContext.js +27 -0
- package/dist/browser/api/resourceGraphContext.js.map +1 -0
- package/dist/browser/classic/graphQuery/index.d.ts +21 -0
- package/dist/browser/classic/graphQuery/index.js +19 -0
- package/dist/browser/classic/graphQuery/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +3 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/index.d.ts +19 -3
- package/dist/browser/index.js +7 -11
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/graphQueryApi/index.d.ts +3 -0
- package/dist/browser/models/graphQueryApi/index.js +4 -0
- package/dist/browser/models/graphQueryApi/index.js.map +1 -0
- package/dist/browser/models/graphQueryApi/models.d.ts +116 -0
- package/dist/browser/models/graphQueryApi/models.js +118 -0
- package/dist/browser/models/graphQueryApi/models.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -215
- package/dist/browser/models/index.js +3 -8
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +64 -0
- package/dist/browser/models/models.js +53 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/models/resourceChanges/index.d.ts +2 -0
- package/dist/browser/models/resourceChanges/index.js +4 -0
- package/dist/browser/models/resourceChanges/index.js.map +1 -0
- package/dist/browser/models/resourceChanges/models.d.ts +111 -0
- package/dist/browser/models/resourceChanges/models.js +92 -0
- package/dist/browser/models/resourceChanges/models.js.map +1 -0
- package/dist/browser/models/resourceGraphApi/index.d.ts +2 -0
- package/dist/browser/models/resourceGraphApi/index.js +4 -0
- package/dist/browser/models/resourceGraphApi/index.js.map +1 -0
- package/dist/browser/models/resourceGraphApi/models.d.ts +143 -0
- package/dist/browser/models/resourceGraphApi/models.js +123 -0
- package/dist/browser/models/resourceGraphApi/models.js.map +1 -0
- package/dist/browser/models/resourceGraphCommon/index.d.ts +2 -0
- package/dist/browser/models/resourceGraphCommon/index.js +4 -0
- package/dist/browser/models/resourceGraphCommon/index.js.map +1 -0
- package/dist/browser/models/resourceGraphCommon/models.d.ts +42 -0
- package/dist/browser/models/resourceGraphCommon/models.js +31 -0
- package/dist/browser/models/resourceGraphCommon/models.js.map +1 -0
- package/dist/browser/models/resourceHistory/index.d.ts +2 -0
- package/dist/browser/models/resourceHistory/index.js +4 -0
- package/dist/browser/models/resourceHistory/index.js.map +1 -0
- package/dist/browser/models/resourceHistory/models.d.ts +32 -0
- package/dist/browser/models/resourceHistory/models.js +31 -0
- package/dist/browser/models/resourceHistory/models.js.map +1 -0
- package/dist/browser/resourceGraphClient.d.ts +28 -27
- package/dist/browser/resourceGraphClient.js +43 -147
- package/dist/browser/resourceGraphClient.js.map +1 -1
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/browser/static-helpers/serialization/serialize-record.js +19 -0
- package/dist/browser/static-helpers/serialization/serialize-record.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/graphQuery/index.d.ts +3 -0
- package/dist/commonjs/api/graphQuery/index.js +38 -0
- package/dist/commonjs/api/graphQuery/index.js.map +7 -0
- package/dist/commonjs/api/graphQuery/operations.d.ts +30 -0
- package/dist/commonjs/api/graphQuery/operations.js +277 -0
- package/dist/commonjs/api/graphQuery/operations.js.map +7 -0
- package/dist/commonjs/api/graphQuery/options.d.ts +20 -0
- package/dist/commonjs/api/graphQuery/options.js +16 -0
- package/dist/commonjs/api/graphQuery/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +5 -0
- package/dist/commonjs/api/index.js +37 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +71 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/operations.d.ts +24 -0
- package/dist/commonjs/api/operations.js +183 -0
- package/dist/commonjs/api/operations.js.map +7 -0
- package/dist/commonjs/api/options.d.ts +14 -0
- package/dist/commonjs/api/options.js +16 -0
- package/dist/commonjs/api/options.js.map +7 -0
- package/dist/commonjs/api/resourceGraphContext.d.ts +14 -0
- package/dist/commonjs/api/resourceGraphContext.js +51 -0
- package/dist/commonjs/api/resourceGraphContext.js.map +7 -0
- package/dist/commonjs/classic/graphQuery/index.d.ts +21 -0
- package/dist/commonjs/classic/graphQuery/index.js +43 -0
- package/dist/commonjs/classic/graphQuery/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +3 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +19 -3
- package/dist/commonjs/index.js +42 -19
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/graphQueryApi/index.d.ts +3 -0
- package/dist/commonjs/models/graphQueryApi/index.js +28 -0
- package/dist/commonjs/models/graphQueryApi/index.js.map +7 -0
- package/dist/commonjs/models/graphQueryApi/models.d.ts +116 -0
- package/dist/commonjs/models/graphQueryApi/models.js +160 -0
- package/dist/commonjs/models/graphQueryApi/models.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +2 -215
- package/dist/commonjs/models/index.js +28 -10
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +64 -0
- package/dist/commonjs/models/models.js +76 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/models/resourceChanges/index.d.ts +2 -0
- package/dist/commonjs/models/resourceChanges/index.js +16 -0
- package/dist/commonjs/models/resourceChanges/index.js.map +7 -0
- package/dist/commonjs/models/resourceChanges/models.d.ts +111 -0
- package/dist/commonjs/models/resourceChanges/models.js +130 -0
- package/dist/commonjs/models/resourceChanges/models.js.map +7 -0
- package/dist/commonjs/models/resourceGraphApi/index.d.ts +2 -0
- package/dist/commonjs/models/resourceGraphApi/index.js +16 -0
- package/dist/commonjs/models/resourceGraphApi/index.js.map +7 -0
- package/dist/commonjs/models/resourceGraphApi/models.d.ts +143 -0
- package/dist/commonjs/models/resourceGraphApi/models.js +171 -0
- package/dist/commonjs/models/resourceGraphApi/models.js.map +7 -0
- package/dist/commonjs/models/resourceGraphCommon/index.d.ts +2 -0
- package/dist/commonjs/models/resourceGraphCommon/index.js +16 -0
- package/dist/commonjs/models/resourceGraphCommon/index.js.map +7 -0
- package/dist/commonjs/models/resourceGraphCommon/models.d.ts +42 -0
- package/dist/commonjs/models/resourceGraphCommon/models.js +63 -0
- package/dist/commonjs/models/resourceGraphCommon/models.js.map +7 -0
- package/dist/commonjs/models/resourceHistory/index.d.ts +2 -0
- package/dist/commonjs/models/resourceHistory/index.js +16 -0
- package/dist/commonjs/models/resourceHistory/index.js.map +7 -0
- package/dist/commonjs/models/resourceHistory/models.d.ts +32 -0
- package/dist/commonjs/models/resourceHistory/models.js +51 -0
- package/dist/commonjs/models/resourceHistory/models.js.map +7 -0
- package/dist/commonjs/resourceGraphClient.d.ts +28 -27
- package/dist/commonjs/resourceGraphClient.js +72 -160
- package/dist/commonjs/resourceGraphClient.js.map +7 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.js +42 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/graphQuery/index.d.ts +3 -0
- package/dist/esm/api/graphQuery/index.js +4 -0
- package/dist/esm/api/graphQuery/index.js.map +1 -0
- package/dist/esm/api/graphQuery/operations.d.ts +30 -0
- package/dist/esm/api/graphQuery/operations.js +183 -0
- package/dist/esm/api/graphQuery/operations.js.map +1 -0
- package/dist/esm/api/graphQuery/options.d.ts +20 -0
- package/dist/esm/api/graphQuery/options.js +4 -0
- package/dist/esm/api/graphQuery/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +5 -0
- package/dist/esm/api/index.js +5 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +34 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/operations.d.ts +24 -0
- package/dist/esm/api/operations.js +125 -0
- package/dist/esm/api/operations.js.map +1 -0
- package/dist/esm/api/options.d.ts +14 -0
- package/dist/esm/api/options.js +4 -0
- package/dist/esm/api/options.js.map +1 -0
- package/dist/esm/api/resourceGraphContext.d.ts +14 -0
- package/dist/esm/api/resourceGraphContext.js +27 -0
- package/dist/esm/api/resourceGraphContext.js.map +1 -0
- package/dist/esm/classic/graphQuery/index.d.ts +21 -0
- package/dist/esm/classic/graphQuery/index.js +19 -0
- package/dist/esm/classic/graphQuery/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +3 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/index.d.ts +19 -3
- package/dist/esm/index.js +7 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/graphQueryApi/index.d.ts +3 -0
- package/dist/esm/models/graphQueryApi/index.js +4 -0
- package/dist/esm/models/graphQueryApi/index.js.map +1 -0
- package/dist/esm/models/graphQueryApi/models.d.ts +116 -0
- package/dist/esm/models/graphQueryApi/models.js +118 -0
- package/dist/esm/models/graphQueryApi/models.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -215
- package/dist/esm/models/index.js +3 -8
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +64 -0
- package/dist/esm/models/models.js +53 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/models/resourceChanges/index.d.ts +2 -0
- package/dist/esm/models/resourceChanges/index.js +4 -0
- package/dist/esm/models/resourceChanges/index.js.map +1 -0
- package/dist/esm/models/resourceChanges/models.d.ts +111 -0
- package/dist/esm/models/resourceChanges/models.js +92 -0
- package/dist/esm/models/resourceChanges/models.js.map +1 -0
- package/dist/esm/models/resourceGraphApi/index.d.ts +2 -0
- package/dist/esm/models/resourceGraphApi/index.js +4 -0
- package/dist/esm/models/resourceGraphApi/index.js.map +1 -0
- package/dist/esm/models/resourceGraphApi/models.d.ts +143 -0
- package/dist/esm/models/resourceGraphApi/models.js +123 -0
- package/dist/esm/models/resourceGraphApi/models.js.map +1 -0
- package/dist/esm/models/resourceGraphCommon/index.d.ts +2 -0
- package/dist/esm/models/resourceGraphCommon/index.js +4 -0
- package/dist/esm/models/resourceGraphCommon/index.js.map +1 -0
- package/dist/esm/models/resourceGraphCommon/models.d.ts +42 -0
- package/dist/esm/models/resourceGraphCommon/models.js +31 -0
- package/dist/esm/models/resourceGraphCommon/models.js.map +1 -0
- package/dist/esm/models/resourceHistory/index.d.ts +2 -0
- package/dist/esm/models/resourceHistory/index.js +4 -0
- package/dist/esm/models/resourceHistory/index.js.map +1 -0
- package/dist/esm/models/resourceHistory/models.d.ts +32 -0
- package/dist/esm/models/resourceHistory/models.js +31 -0
- package/dist/esm/models/resourceHistory/models.js.map +1 -0
- package/dist/esm/resourceGraphClient.d.ts +28 -27
- package/dist/esm/resourceGraphClient.js +43 -147
- package/dist/esm/resourceGraphClient.js.map +1 -1
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/esm/static-helpers/serialization/serialize-record.js +19 -0
- package/dist/esm/static-helpers/serialization/serialize-record.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +183 -91
- package/CHANGELOG.md +0 -21
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -26
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -663
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -8
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -61
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -2
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -9
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/operations.d.ts +0 -26
- package/dist/browser/operations/operations.d.ts.map +0 -1
- package/dist/browser/operations/operations.js +0 -79
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -2
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -9
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
- package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operations.js +0 -9
- package/dist/browser/operationsInterfaces/operations.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -30
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/browser/resourceGraphClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -26
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -666
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -8
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -64
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -2
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -12
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operations/operations.d.ts +0 -26
- package/dist/commonjs/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/operations/operations.js +0 -84
- package/dist/commonjs/operations/operations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -2
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -12
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.js +0 -10
- package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -34
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/commonjs/resourceGraphClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -26
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -663
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -8
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -61
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -2
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -9
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operations/operations.d.ts +0 -26
- package/dist/esm/operations/operations.d.ts.map +0 -1
- package/dist/esm/operations/operations.js +0 -79
- package/dist/esm/operations/operations.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -2
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -9
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
- package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operations.js +0 -9
- package/dist/esm/operationsInterfaces/operations.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -30
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/esm/resourceGraphClient.d.ts.map +0 -1
- package/dist/react-native/index.d.ts +0 -5
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -13
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -216
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -9
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -26
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -663
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -8
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -61
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -2
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -9
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/operations.d.ts +0 -26
- package/dist/react-native/operations/operations.d.ts.map +0 -1
- package/dist/react-native/operations/operations.js +0 -79
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -2
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -9
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.js +0 -9
- package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -30
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/dist/react-native/resourceGraphClient.d.ts +0 -30
- package/dist/react-native/resourceGraphClient.d.ts.map +0 -1
- package/dist/react-native/resourceGraphClient.js +0 -157
- package/dist/react-native/resourceGraphClient.js.map +0 -1
- package/review/arm-resourcegraph-node.api.md +0 -217
package/dist/esm/index.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
/// <reference lib="esnext.asynciterable" />
|
|
9
|
-
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
-
export * from "./models/index.js";
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { AzureClouds } from "./static-helpers/cloudSettingHelpers.js";
|
|
11
4
|
export { ResourceGraphClient } from "./resourceGraphClient.js";
|
|
12
|
-
export
|
|
5
|
+
export { KnownCreatedByType } from "./models/index.js";
|
|
6
|
+
export { KnownResultKind } from "./models/graphQueryApi/index.js";
|
|
7
|
+
export { AzureClouds };
|
|
8
|
+
export { RestError, isRestError } from "@azure/core-rest-pipeline";
|
|
13
9
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAOtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAQ/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAWvD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AA4DlE,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport { AzureClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport type {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { ResourceGraphClient } from \"./resourceGraphClient.js\";\nexport type {\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n ResourcesHistoryResponse,\n} from \"./models/index.js\";\nexport { KnownCreatedByType } from \"./models/index.js\";\nexport type {\n GraphQueryResource,\n GraphQueryProperties,\n ResultKind,\n GraphQueryError,\n GraphQueryErrorError,\n ErrorFieldContract,\n GraphQueryUpdateParameters,\n GraphQueryPropertiesUpdateParameters,\n} from \"./models/graphQueryApi/index.js\";\nexport { KnownResultKind } from \"./models/graphQueryApi/index.js\";\nexport type {\n ResourceChangesRequestParameters,\n ResourceChangesRequestParametersInterval,\n ResourceChangeList,\n ResourceChangeData,\n ResourceChangeDataBeforeSnapshot,\n ResourceChangeDataAfterSnapshot,\n ChangeType,\n ResourcePropertyChange,\n ChangeCategory,\n PropertyChangeType,\n ResourceSnapshotData,\n ResourceChangeDetailsRequestParameters,\n} from \"./models/resourceChanges/index.js\";\nexport type {\n QueryRequest,\n QueryRequestOptions,\n AuthorizationScopeFilter,\n FacetRequest,\n FacetRequestOptions,\n FacetSortOrder,\n QueryResponse,\n ResultTruncated,\n Facet,\n FacetUnion,\n FacetResult,\n FacetError,\n Operation,\n OperationDisplay,\n} from \"./models/resourceGraphApi/index.js\";\nexport type {\n DateTimeInterval,\n ErrorResponse,\n ErrorModel,\n ErrorDetails,\n ResultFormat,\n} from \"./models/resourceGraphCommon/index.js\";\nexport type {\n ResourcesHistoryRequest,\n ResourcesHistoryRequestOptions,\n} from \"./models/resourceHistory/index.js\";\nexport type {\n ResourcesHistoryOptionalParams,\n ResourcesOptionalParams,\n ResourceChangeDetailsOptionalParams,\n ResourceChangesOptionalParams,\n ResourceGraphClientOptionalParams,\n} from \"./api/index.js\";\nexport type {\n GraphQueryListBySubscriptionOptionalParams,\n GraphQueryListOptionalParams,\n GraphQueryDeleteOptionalParams,\n GraphQueryUpdateOptionalParams,\n GraphQueryCreateOrUpdateOptionalParams,\n GraphQueryGetOptionalParams,\n} from \"./api/graphQuery/index.js\";\nexport type { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport type { GraphQueryOperations, OperationsOperations } from \"./classic/index.js\";\nexport type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds };\nexport type { AzureSupportedClouds };\nexport { RestError, isRestError } from \"@azure/core-rest-pipeline\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,mBAAmB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"arm-resourcegraph\");\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { GraphQueryResource, GraphQueryProperties, ResultKind, GraphQueryError, GraphQueryErrorError, ErrorFieldContract, GraphQueryUpdateParameters, GraphQueryPropertiesUpdateParameters, } from "./models.js";
|
|
2
|
+
export { KnownResultKind } from "./models.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/graphQueryApi/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n GraphQueryResource,\n GraphQueryProperties,\n ResultKind,\n GraphQueryError,\n GraphQueryErrorError,\n ErrorFieldContract,\n GraphQueryUpdateParameters,\n GraphQueryPropertiesUpdateParameters,\n} from \"./models.js\";\nexport { KnownResultKind } from \"./models.js\";\n"]}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { ProxyResource } from "../models.js";
|
|
2
|
+
/**
|
|
3
|
+
* This file contains only generated model types and their (de)serializers.
|
|
4
|
+
* Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
|
|
5
|
+
*/
|
|
6
|
+
/** Graph Query entity definition. */
|
|
7
|
+
export interface GraphQueryResource extends ProxyResource {
|
|
8
|
+
/** Resource tags. */
|
|
9
|
+
tags?: Record<string, string>;
|
|
10
|
+
/** The location of the resource */
|
|
11
|
+
location?: string;
|
|
12
|
+
/** This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict. */
|
|
13
|
+
etag?: string;
|
|
14
|
+
/** Date and time in UTC of the last modification that was made to this graph query definition. */
|
|
15
|
+
readonly timeModified?: Date;
|
|
16
|
+
/** The description of a graph query. */
|
|
17
|
+
description?: string;
|
|
18
|
+
/** KQL query that will be graph. */
|
|
19
|
+
query?: string;
|
|
20
|
+
/** Enum indicating a type of graph query. */
|
|
21
|
+
readonly resultKind?: ResultKind;
|
|
22
|
+
}
|
|
23
|
+
export declare function graphQueryResourceSerializer(item: GraphQueryResource): any;
|
|
24
|
+
export declare function graphQueryResourceDeserializer(item: any): GraphQueryResource;
|
|
25
|
+
/** Properties that contain a graph query. */
|
|
26
|
+
export interface GraphQueryProperties {
|
|
27
|
+
/** Date and time in UTC of the last modification that was made to this graph query definition. */
|
|
28
|
+
readonly timeModified?: Date;
|
|
29
|
+
/** The description of a graph query. */
|
|
30
|
+
description?: string;
|
|
31
|
+
/** KQL query that will be graph. */
|
|
32
|
+
query: string;
|
|
33
|
+
/** Enum indicating a type of graph query. */
|
|
34
|
+
readonly resultKind?: ResultKind;
|
|
35
|
+
}
|
|
36
|
+
export declare function graphQueryPropertiesSerializer(item: GraphQueryProperties): any;
|
|
37
|
+
export declare function graphQueryPropertiesDeserializer(item: any): GraphQueryProperties;
|
|
38
|
+
/** Enum indicating a type of graph query. */
|
|
39
|
+
export declare enum KnownResultKind {
|
|
40
|
+
/** basic */
|
|
41
|
+
Basic = "basic"
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Enum indicating a type of graph query. \
|
|
45
|
+
* {@link KnownResultKind} can be used interchangeably with ResultKind,
|
|
46
|
+
* this enum contains the known values that the service supports.
|
|
47
|
+
* ### Known values supported by the service
|
|
48
|
+
* **basic**: basic
|
|
49
|
+
*/
|
|
50
|
+
export type ResultKind = string;
|
|
51
|
+
/** Error message body that will indicate why the operation failed. */
|
|
52
|
+
export interface GraphQueryError {
|
|
53
|
+
/** The error object. */
|
|
54
|
+
error?: GraphQueryErrorError;
|
|
55
|
+
}
|
|
56
|
+
export declare function graphQueryErrorDeserializer(item: any): GraphQueryError;
|
|
57
|
+
/** The error object. */
|
|
58
|
+
export interface GraphQueryErrorError {
|
|
59
|
+
/** Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. */
|
|
60
|
+
code?: string;
|
|
61
|
+
/** Human-readable representation of the error. */
|
|
62
|
+
message?: string;
|
|
63
|
+
/** The list of invalid fields send in request, in case of validation error. */
|
|
64
|
+
details?: ErrorFieldContract[];
|
|
65
|
+
}
|
|
66
|
+
export declare function graphQueryErrorErrorDeserializer(item: any): GraphQueryErrorError;
|
|
67
|
+
export declare function errorFieldContractArrayDeserializer(result: Array<ErrorFieldContract>): any[];
|
|
68
|
+
/** Error Field contract. */
|
|
69
|
+
export interface ErrorFieldContract {
|
|
70
|
+
/** Property level error code. */
|
|
71
|
+
code?: string;
|
|
72
|
+
/** Human-readable representation of property-level error. */
|
|
73
|
+
message?: string;
|
|
74
|
+
/** Property name. */
|
|
75
|
+
target?: string;
|
|
76
|
+
}
|
|
77
|
+
export declare function errorFieldContractDeserializer(item: any): ErrorFieldContract;
|
|
78
|
+
/** The parameters that can be provided when updating workbook properties properties. */
|
|
79
|
+
export interface GraphQueryUpdateParameters {
|
|
80
|
+
/** Resource tags */
|
|
81
|
+
tags?: Record<string, string>;
|
|
82
|
+
/** This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict. */
|
|
83
|
+
etag?: string;
|
|
84
|
+
/** The description of a graph query. */
|
|
85
|
+
description?: string;
|
|
86
|
+
/** KQL query that will be graph. */
|
|
87
|
+
query?: string;
|
|
88
|
+
}
|
|
89
|
+
export declare function graphQueryUpdateParametersSerializer(item: GraphQueryUpdateParameters): any;
|
|
90
|
+
/** Properties that contain a workbook for PATCH operation. */
|
|
91
|
+
export interface GraphQueryPropertiesUpdateParameters {
|
|
92
|
+
/** The description of a graph query. */
|
|
93
|
+
description?: string;
|
|
94
|
+
/** KQL query that will be graph. */
|
|
95
|
+
query?: string;
|
|
96
|
+
}
|
|
97
|
+
export declare function graphQueryPropertiesUpdateParametersSerializer(item: GraphQueryPropertiesUpdateParameters): any;
|
|
98
|
+
/** Graph query list result. */
|
|
99
|
+
export interface _GraphQueryListResult {
|
|
100
|
+
/** The GraphQueryResource items on this page */
|
|
101
|
+
value: GraphQueryResource[];
|
|
102
|
+
/** The link to the next page of items */
|
|
103
|
+
nextLink?: string;
|
|
104
|
+
}
|
|
105
|
+
export declare function _graphQueryListResultDeserializer(item: any): _GraphQueryListResult;
|
|
106
|
+
export declare function graphQueryResourceArraySerializer(result: Array<GraphQueryResource>): any[];
|
|
107
|
+
export declare function graphQueryResourceArrayDeserializer(result: Array<GraphQueryResource>): any[];
|
|
108
|
+
export declare function _graphQueryResourcePropertiesSerializer(item: GraphQueryResource): any;
|
|
109
|
+
export declare function _graphQueryResourcePropertiesDeserializer(item: any): {
|
|
110
|
+
timeModified: any;
|
|
111
|
+
description: any;
|
|
112
|
+
query: any;
|
|
113
|
+
resultKind: any;
|
|
114
|
+
};
|
|
115
|
+
export declare function _graphQueryUpdateParametersPropertiesSerializer(item: GraphQueryUpdateParameters): any;
|
|
116
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { areAllPropsUndefined } from "../../static-helpers/serialization/check-prop-undefined.js";
|
|
4
|
+
import { systemDataDeserializer } from "../models.js";
|
|
5
|
+
export function graphQueryResourceSerializer(item) {
|
|
6
|
+
return {
|
|
7
|
+
properties: areAllPropsUndefined(item, ["description", "query"])
|
|
8
|
+
? undefined
|
|
9
|
+
: _graphQueryResourcePropertiesSerializer(item),
|
|
10
|
+
tags: item["tags"],
|
|
11
|
+
location: item["location"],
|
|
12
|
+
etag: item["etag"],
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export function graphQueryResourceDeserializer(item) {
|
|
16
|
+
return {
|
|
17
|
+
id: item["id"],
|
|
18
|
+
name: item["name"],
|
|
19
|
+
type: item["type"],
|
|
20
|
+
systemData: !item["systemData"]
|
|
21
|
+
? item["systemData"]
|
|
22
|
+
: systemDataDeserializer(item["systemData"]),
|
|
23
|
+
...(!item["properties"]
|
|
24
|
+
? item["properties"]
|
|
25
|
+
: _graphQueryResourcePropertiesDeserializer(item["properties"])),
|
|
26
|
+
tags: !item["tags"]
|
|
27
|
+
? item["tags"]
|
|
28
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
29
|
+
location: item["location"],
|
|
30
|
+
etag: item["etag"],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function graphQueryPropertiesSerializer(item) {
|
|
34
|
+
return { description: item["description"], query: item["query"] };
|
|
35
|
+
}
|
|
36
|
+
export function graphQueryPropertiesDeserializer(item) {
|
|
37
|
+
return {
|
|
38
|
+
timeModified: !item["timeModified"] ? item["timeModified"] : new Date(item["timeModified"]),
|
|
39
|
+
description: item["description"],
|
|
40
|
+
query: item["query"],
|
|
41
|
+
resultKind: item["resultKind"],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/** Enum indicating a type of graph query. */
|
|
45
|
+
export var KnownResultKind;
|
|
46
|
+
(function (KnownResultKind) {
|
|
47
|
+
/** basic */
|
|
48
|
+
KnownResultKind["Basic"] = "basic";
|
|
49
|
+
})(KnownResultKind || (KnownResultKind = {}));
|
|
50
|
+
export function graphQueryErrorDeserializer(item) {
|
|
51
|
+
return {
|
|
52
|
+
error: !item["error"] ? item["error"] : graphQueryErrorErrorDeserializer(item["error"]),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export function graphQueryErrorErrorDeserializer(item) {
|
|
56
|
+
return {
|
|
57
|
+
code: item["code"],
|
|
58
|
+
message: item["message"],
|
|
59
|
+
details: !item["details"]
|
|
60
|
+
? item["details"]
|
|
61
|
+
: errorFieldContractArrayDeserializer(item["details"]),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export function errorFieldContractArrayDeserializer(result) {
|
|
65
|
+
return result.map((item) => {
|
|
66
|
+
return errorFieldContractDeserializer(item);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
export function errorFieldContractDeserializer(item) {
|
|
70
|
+
return {
|
|
71
|
+
code: item["code"],
|
|
72
|
+
message: item["message"],
|
|
73
|
+
target: item["target"],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export function graphQueryUpdateParametersSerializer(item) {
|
|
77
|
+
return {
|
|
78
|
+
tags: item["tags"],
|
|
79
|
+
etag: item["etag"],
|
|
80
|
+
properties: areAllPropsUndefined(item, ["description", "query"])
|
|
81
|
+
? undefined
|
|
82
|
+
: _graphQueryUpdateParametersPropertiesSerializer(item),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export function graphQueryPropertiesUpdateParametersSerializer(item) {
|
|
86
|
+
return { description: item["description"], query: item["query"] };
|
|
87
|
+
}
|
|
88
|
+
export function _graphQueryListResultDeserializer(item) {
|
|
89
|
+
return {
|
|
90
|
+
value: graphQueryResourceArrayDeserializer(item["value"]),
|
|
91
|
+
nextLink: item["nextLink"],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
export function graphQueryResourceArraySerializer(result) {
|
|
95
|
+
return result.map((item) => {
|
|
96
|
+
return graphQueryResourceSerializer(item);
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
export function graphQueryResourceArrayDeserializer(result) {
|
|
100
|
+
return result.map((item) => {
|
|
101
|
+
return graphQueryResourceDeserializer(item);
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
export function _graphQueryResourcePropertiesSerializer(item) {
|
|
105
|
+
return { description: item["description"], query: item["query"] };
|
|
106
|
+
}
|
|
107
|
+
export function _graphQueryResourcePropertiesDeserializer(item) {
|
|
108
|
+
return {
|
|
109
|
+
timeModified: !item["timeModified"] ? item["timeModified"] : new Date(item["timeModified"]),
|
|
110
|
+
description: item["description"],
|
|
111
|
+
query: item["query"],
|
|
112
|
+
resultKind: item["resultKind"],
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
export function _graphQueryUpdateParametersPropertiesSerializer(item) {
|
|
116
|
+
return { description: item["description"], query: item["query"] };
|
|
117
|
+
}
|
|
118
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/models/graphQueryApi/models.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { areAllPropsUndefined } from \"../../static-helpers/serialization/check-prop-undefined.js\";\nimport type { ProxyResource } from \"../models.js\";\nimport { systemDataDeserializer } from \"../models.js\";\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** Graph Query entity definition. */\nexport interface GraphQueryResource extends ProxyResource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The location of the resource */\n location?: string;\n /** This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict. */\n etag?: string;\n /** Date and time in UTC of the last modification that was made to this graph query definition. */\n readonly timeModified?: Date;\n /** The description of a graph query. */\n description?: string;\n /** KQL query that will be graph. */\n query?: string;\n /** Enum indicating a type of graph query. */\n readonly resultKind?: ResultKind;\n}\n\nexport function graphQueryResourceSerializer(item: GraphQueryResource): any {\n return {\n properties: areAllPropsUndefined(item, [\"description\", \"query\"])\n ? undefined\n : _graphQueryResourcePropertiesSerializer(item),\n tags: item[\"tags\"],\n location: item[\"location\"],\n etag: item[\"etag\"],\n };\n}\n\nexport function graphQueryResourceDeserializer(item: any): GraphQueryResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _graphQueryResourcePropertiesDeserializer(item[\"properties\"])),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n etag: item[\"etag\"],\n };\n}\n\n/** Properties that contain a graph query. */\nexport interface GraphQueryProperties {\n /** Date and time in UTC of the last modification that was made to this graph query definition. */\n readonly timeModified?: Date;\n /** The description of a graph query. */\n description?: string;\n /** KQL query that will be graph. */\n query: string;\n /** Enum indicating a type of graph query. */\n readonly resultKind?: ResultKind;\n}\n\nexport function graphQueryPropertiesSerializer(item: GraphQueryProperties): any {\n return { description: item[\"description\"], query: item[\"query\"] };\n}\n\nexport function graphQueryPropertiesDeserializer(item: any): GraphQueryProperties {\n return {\n timeModified: !item[\"timeModified\"] ? item[\"timeModified\"] : new Date(item[\"timeModified\"]),\n description: item[\"description\"],\n query: item[\"query\"],\n resultKind: item[\"resultKind\"],\n };\n}\n\n/** Enum indicating a type of graph query. */\nexport enum KnownResultKind {\n /** basic */\n Basic = \"basic\",\n}\n\n/**\n * Enum indicating a type of graph query. \\\n * {@link KnownResultKind} can be used interchangeably with ResultKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **basic**: basic\n */\nexport type ResultKind = string;\n\n/** Error message body that will indicate why the operation failed. */\nexport interface GraphQueryError {\n /** The error object. */\n error?: GraphQueryErrorError;\n}\n\nexport function graphQueryErrorDeserializer(item: any): GraphQueryError {\n return {\n error: !item[\"error\"] ? item[\"error\"] : graphQueryErrorErrorDeserializer(item[\"error\"]),\n };\n}\n\n/** The error object. */\nexport interface GraphQueryErrorError {\n /** Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. */\n code?: string;\n /** Human-readable representation of the error. */\n message?: string;\n /** The list of invalid fields send in request, in case of validation error. */\n details?: ErrorFieldContract[];\n}\n\nexport function graphQueryErrorErrorDeserializer(item: any): GraphQueryErrorError {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n details: !item[\"details\"]\n ? item[\"details\"]\n : errorFieldContractArrayDeserializer(item[\"details\"]),\n };\n}\n\nexport function errorFieldContractArrayDeserializer(result: Array<ErrorFieldContract>): any[] {\n return result.map((item) => {\n return errorFieldContractDeserializer(item);\n });\n}\n\n/** Error Field contract. */\nexport interface ErrorFieldContract {\n /** Property level error code. */\n code?: string;\n /** Human-readable representation of property-level error. */\n message?: string;\n /** Property name. */\n target?: string;\n}\n\nexport function errorFieldContractDeserializer(item: any): ErrorFieldContract {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n };\n}\n\n/** The parameters that can be provided when updating workbook properties properties. */\nexport interface GraphQueryUpdateParameters {\n /** Resource tags */\n tags?: Record<string, string>;\n /** This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict. */\n etag?: string;\n /** The description of a graph query. */\n description?: string;\n /** KQL query that will be graph. */\n query?: string;\n}\n\nexport function graphQueryUpdateParametersSerializer(item: GraphQueryUpdateParameters): any {\n return {\n tags: item[\"tags\"],\n etag: item[\"etag\"],\n properties: areAllPropsUndefined(item, [\"description\", \"query\"])\n ? undefined\n : _graphQueryUpdateParametersPropertiesSerializer(item),\n };\n}\n\n/** Properties that contain a workbook for PATCH operation. */\nexport interface GraphQueryPropertiesUpdateParameters {\n /** The description of a graph query. */\n description?: string;\n /** KQL query that will be graph. */\n query?: string;\n}\n\nexport function graphQueryPropertiesUpdateParametersSerializer(\n item: GraphQueryPropertiesUpdateParameters,\n): any {\n return { description: item[\"description\"], query: item[\"query\"] };\n}\n\n/** Graph query list result. */\nexport interface _GraphQueryListResult {\n /** The GraphQueryResource items on this page */\n value: GraphQueryResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _graphQueryListResultDeserializer(item: any): _GraphQueryListResult {\n return {\n value: graphQueryResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function graphQueryResourceArraySerializer(result: Array<GraphQueryResource>): any[] {\n return result.map((item) => {\n return graphQueryResourceSerializer(item);\n });\n}\n\nexport function graphQueryResourceArrayDeserializer(result: Array<GraphQueryResource>): any[] {\n return result.map((item) => {\n return graphQueryResourceDeserializer(item);\n });\n}\n\nexport function _graphQueryResourcePropertiesSerializer(item: GraphQueryResource): any {\n return { description: item[\"description\"], query: item[\"query\"] };\n}\n\nexport function _graphQueryResourcePropertiesDeserializer(item: any) {\n return {\n timeModified: !item[\"timeModified\"] ? item[\"timeModified\"] : new Date(item[\"timeModified\"]),\n description: item[\"description\"],\n query: item[\"query\"],\n resultKind: item[\"resultKind\"],\n };\n}\n\nexport function _graphQueryUpdateParametersPropertiesSerializer(\n item: GraphQueryUpdateParameters,\n): any {\n return { description: item[\"description\"], query: item[\"query\"] };\n}\n"]}
|
|
@@ -1,216 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
/** Describes a query to be executed. */
|
|
4
|
-
export interface QueryRequest {
|
|
5
|
-
/** Azure subscriptions against which to execute the query. */
|
|
6
|
-
subscriptions?: string[];
|
|
7
|
-
/** Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ] */
|
|
8
|
-
managementGroups?: string[];
|
|
9
|
-
/** The resources query. */
|
|
10
|
-
query: string;
|
|
11
|
-
/** The query evaluation options */
|
|
12
|
-
options?: QueryRequestOptions;
|
|
13
|
-
/** An array of facet requests to be computed against the query result. */
|
|
14
|
-
facets?: FacetRequest[];
|
|
15
|
-
}
|
|
16
|
-
/** The options for query evaluation */
|
|
17
|
-
export interface QueryRequestOptions {
|
|
18
|
-
/** Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. */
|
|
19
|
-
skipToken?: string;
|
|
20
|
-
/** The maximum number of rows that the query should return. Overrides the page size when ```$skipToken``` property is present. */
|
|
21
|
-
top?: number;
|
|
22
|
-
/** The number of rows to skip from the beginning of the results. Overrides the next page offset when ```$skipToken``` property is present. */
|
|
23
|
-
skip?: number;
|
|
24
|
-
/** Defines in which format query result returned. */
|
|
25
|
-
resultFormat?: ResultFormat;
|
|
26
|
-
/** Only applicable for tenant and management group level queries to decide whether to allow partial scopes for result in case the number of subscriptions exceed allowed limits. */
|
|
27
|
-
allowPartialScopes?: boolean;
|
|
28
|
-
/** Defines what level of authorization resources should be returned based on the which subscriptions and management groups are passed as scopes. */
|
|
29
|
-
authorizationScopeFilter?: AuthorizationScopeFilter;
|
|
30
|
-
}
|
|
31
|
-
/** A request to compute additional statistics (facets) over the query results. */
|
|
32
|
-
export interface FacetRequest {
|
|
33
|
-
/** The column or list of columns to summarize by */
|
|
34
|
-
expression: string;
|
|
35
|
-
/** The options for facet evaluation */
|
|
36
|
-
options?: FacetRequestOptions;
|
|
37
|
-
}
|
|
38
|
-
/** The options for facet evaluation */
|
|
39
|
-
export interface FacetRequestOptions {
|
|
40
|
-
/** The column name or query expression to sort on. Defaults to count if not present. */
|
|
41
|
-
sortBy?: string;
|
|
42
|
-
/** The sorting order by the selected column (count by default). */
|
|
43
|
-
sortOrder?: FacetSortOrder;
|
|
44
|
-
/** Specifies the filter condition for the 'where' clause which will be run on main query's result, just before the actual faceting. */
|
|
45
|
-
filter?: string;
|
|
46
|
-
/** The maximum number of facet rows that should be returned. */
|
|
47
|
-
top?: number;
|
|
48
|
-
}
|
|
49
|
-
/** Query result. */
|
|
50
|
-
export interface QueryResponse {
|
|
51
|
-
/** Number of total records matching the query. */
|
|
52
|
-
totalRecords: number;
|
|
53
|
-
/** Number of records returned in the current response. In the case of paging, this is the number of records in the current page. */
|
|
54
|
-
count: number;
|
|
55
|
-
/** Indicates whether the query results are truncated. */
|
|
56
|
-
resultTruncated: ResultTruncated;
|
|
57
|
-
/** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */
|
|
58
|
-
skipToken?: string;
|
|
59
|
-
/** Query output in JObject array or Table format. */
|
|
60
|
-
data: Record<string, unknown>;
|
|
61
|
-
/** Query facets. */
|
|
62
|
-
facets?: FacetUnion[];
|
|
63
|
-
}
|
|
64
|
-
/** A facet containing additional statistics on the response of a query. Can be either FacetResult or FacetError. */
|
|
65
|
-
export interface Facet {
|
|
66
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
67
|
-
resultType: "FacetResult" | "FacetError";
|
|
68
|
-
/** Facet expression, same as in the corresponding facet request. */
|
|
69
|
-
expression: string;
|
|
70
|
-
}
|
|
71
|
-
/** An error response from the API. */
|
|
72
|
-
export interface ErrorResponse {
|
|
73
|
-
/** Error information. */
|
|
74
|
-
error: ErrorModel;
|
|
75
|
-
}
|
|
76
|
-
/** Error details. */
|
|
77
|
-
export interface ErrorModel {
|
|
78
|
-
/** Error code identifying the specific error. */
|
|
79
|
-
code: string;
|
|
80
|
-
/** A human readable error message. */
|
|
81
|
-
message: string;
|
|
82
|
-
/** Error details */
|
|
83
|
-
details?: ErrorDetails[];
|
|
84
|
-
}
|
|
85
|
-
/** Error details. */
|
|
86
|
-
export interface ErrorDetails {
|
|
87
|
-
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
88
|
-
[property: string]: any;
|
|
89
|
-
/** Error code identifying the specific error. */
|
|
90
|
-
code: string;
|
|
91
|
-
/** A human readable error message. */
|
|
92
|
-
message: string;
|
|
93
|
-
}
|
|
94
|
-
/** Result of the request to list Resource Graph operations. It contains a list of operations and a URL link to get the next set of results. */
|
|
95
|
-
export interface OperationListResult {
|
|
96
|
-
/** List of Resource Graph operations supported by the Resource Graph resource provider. */
|
|
97
|
-
value?: Operation[];
|
|
98
|
-
}
|
|
99
|
-
/** Resource Graph REST API operation definition. */
|
|
100
|
-
export interface Operation {
|
|
101
|
-
/** Operation name: {provider}/{resource}/{operation} */
|
|
102
|
-
name?: string;
|
|
103
|
-
/** Display metadata associated with the operation. */
|
|
104
|
-
display?: OperationDisplay;
|
|
105
|
-
/** The origin of operations. */
|
|
106
|
-
origin?: string;
|
|
107
|
-
}
|
|
108
|
-
/** Display metadata associated with the operation. */
|
|
109
|
-
export interface OperationDisplay {
|
|
110
|
-
/** Service provider: Microsoft Resource Graph. */
|
|
111
|
-
provider?: string;
|
|
112
|
-
/** Resource on which the operation is performed etc. */
|
|
113
|
-
resource?: string;
|
|
114
|
-
/** Type of operation: get, read, delete, etc. */
|
|
115
|
-
operation?: string;
|
|
116
|
-
/** Description for the operation. */
|
|
117
|
-
description?: string;
|
|
118
|
-
}
|
|
119
|
-
/** Describes a history request to be executed. */
|
|
120
|
-
export interface ResourcesHistoryRequest {
|
|
121
|
-
/** Azure subscriptions against which to execute the query. */
|
|
122
|
-
subscriptions?: string[];
|
|
123
|
-
/** The resources query. */
|
|
124
|
-
query?: string;
|
|
125
|
-
/** The history request evaluation options */
|
|
126
|
-
options?: ResourcesHistoryRequestOptions;
|
|
127
|
-
/** Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ] */
|
|
128
|
-
managementGroups?: string[];
|
|
129
|
-
}
|
|
130
|
-
/** The options for history request evaluation */
|
|
131
|
-
export interface ResourcesHistoryRequestOptions {
|
|
132
|
-
/** The time interval used to fetch history. */
|
|
133
|
-
interval?: DateTimeInterval;
|
|
134
|
-
/** The maximum number of rows that the query should return. Overrides the page size when ```$skipToken``` property is present. */
|
|
135
|
-
top?: number;
|
|
136
|
-
/** The number of rows to skip from the beginning of the results. Overrides the next page offset when ```$skipToken``` property is present. */
|
|
137
|
-
skip?: number;
|
|
138
|
-
/** Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. */
|
|
139
|
-
skipToken?: string;
|
|
140
|
-
/** Defines in which format query result returned. */
|
|
141
|
-
resultFormat?: ResultFormat;
|
|
142
|
-
}
|
|
143
|
-
/** An interval in time specifying the date and time for the inclusive start and exclusive end, i.e. `[start, end)`. */
|
|
144
|
-
export interface DateTimeInterval {
|
|
145
|
-
/** A datetime indicating the inclusive/closed start of the time interval, i.e. `[`**`start`**`, end)`. Specifying a `start` that occurs chronologically after `end` will result in an error. */
|
|
146
|
-
start: Date;
|
|
147
|
-
/** A datetime indicating the exclusive/open end of the time interval, i.e. `[start, `**`end`**`)`. Specifying an `end` that occurs chronologically before `start` will result in an error. */
|
|
148
|
-
end: Date;
|
|
149
|
-
}
|
|
150
|
-
/** Query output in tabular format. */
|
|
151
|
-
export interface Table {
|
|
152
|
-
/** Query result column descriptors. */
|
|
153
|
-
columns: Column[];
|
|
154
|
-
/** Query result rows. */
|
|
155
|
-
rows: Record<string, unknown>[][];
|
|
156
|
-
}
|
|
157
|
-
/** Query result column descriptor. */
|
|
158
|
-
export interface Column {
|
|
159
|
-
/** Column name. */
|
|
160
|
-
name: string;
|
|
161
|
-
/** Column data type. */
|
|
162
|
-
type: ColumnDataType;
|
|
163
|
-
}
|
|
164
|
-
/** Successfully executed facet containing additional statistics on the response of a query. */
|
|
165
|
-
export interface FacetResult extends Facet {
|
|
166
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
167
|
-
resultType: "FacetResult";
|
|
168
|
-
/** Number of total records in the facet results. */
|
|
169
|
-
totalRecords: number;
|
|
170
|
-
/** Number of records returned in the facet response. */
|
|
171
|
-
count: number;
|
|
172
|
-
/** A JObject array or Table containing the desired facets. Only present if the facet is valid. */
|
|
173
|
-
data: Record<string, unknown>;
|
|
174
|
-
}
|
|
175
|
-
/** A facet whose execution resulted in an error. */
|
|
176
|
-
export interface FacetError extends Facet {
|
|
177
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
178
|
-
resultType: "FacetError";
|
|
179
|
-
/** An array containing detected facet errors with details. */
|
|
180
|
-
errors: ErrorDetails[];
|
|
181
|
-
}
|
|
182
|
-
/** Defines values for ResultFormat. */
|
|
183
|
-
export type ResultFormat = "table" | "objectArray";
|
|
184
|
-
/** Defines values for AuthorizationScopeFilter. */
|
|
185
|
-
export type AuthorizationScopeFilter = "AtScopeAndBelow" | "AtScopeAndAbove" | "AtScopeExact" | "AtScopeAboveAndBelow";
|
|
186
|
-
/** Defines values for FacetSortOrder. */
|
|
187
|
-
export type FacetSortOrder = "asc" | "desc";
|
|
188
|
-
/** Defines values for ResultTruncated. */
|
|
189
|
-
export type ResultTruncated = "true" | "false";
|
|
190
|
-
/** Defines values for ColumnDataType. */
|
|
191
|
-
export type ColumnDataType = "string" | "integer" | "number" | "boolean" | "object" | "datetime";
|
|
192
|
-
/** Optional parameters. */
|
|
193
|
-
export interface ResourcesOptionalParams extends coreClient.OperationOptions {
|
|
194
|
-
}
|
|
195
|
-
/** Contains response data for the resources operation. */
|
|
196
|
-
export type ResourcesResponse = QueryResponse;
|
|
197
|
-
/** Optional parameters. */
|
|
198
|
-
export interface ResourcesHistoryOptionalParams extends coreClient.OperationOptions {
|
|
199
|
-
}
|
|
200
|
-
/** Contains response data for the resourcesHistory operation. */
|
|
201
|
-
export type ResourcesHistoryResponse = Record<string, unknown>;
|
|
202
|
-
/** Optional parameters. */
|
|
203
|
-
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
204
|
-
}
|
|
205
|
-
/** Contains response data for the list operation. */
|
|
206
|
-
export type OperationsListResponse = OperationListResult;
|
|
207
|
-
/** Optional parameters. */
|
|
208
|
-
export interface ResourceGraphClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
209
|
-
/** server parameter */
|
|
210
|
-
$host?: string;
|
|
211
|
-
/** Api Version */
|
|
212
|
-
apiVersion?: string;
|
|
213
|
-
/** Overrides client endpoint. */
|
|
214
|
-
endpoint?: string;
|
|
215
|
-
}
|
|
1
|
+
export type { ProxyResource, Resource, SystemData, CreatedByType, ResourcesHistoryResponse, } from "./models.js";
|
|
2
|
+
export { KnownCreatedByType } from "./models.js";
|
|
216
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/models/index.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
export {};
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
export { KnownCreatedByType } from "./models.js";
|
|
9
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 type FacetUnion = Facet | FacetResult | FacetError;\n\n/** Describes a query to be executed. */\nexport interface QueryRequest {\n /** Azure subscriptions against which to execute the query. */\n subscriptions?: string[];\n /** Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ] */\n managementGroups?: string[];\n /** The resources query. */\n query: string;\n /** The query evaluation options */\n options?: QueryRequestOptions;\n /** An array of facet requests to be computed against the query result. */\n facets?: FacetRequest[];\n}\n\n/** The options for query evaluation */\nexport interface QueryRequestOptions {\n /** Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. */\n skipToken?: string;\n /** The maximum number of rows that the query should return. Overrides the page size when ```$skipToken``` property is present. */\n top?: number;\n /** The number of rows to skip from the beginning of the results. Overrides the next page offset when ```$skipToken``` property is present. */\n skip?: number;\n /** Defines in which format query result returned. */\n resultFormat?: ResultFormat;\n /** Only applicable for tenant and management group level queries to decide whether to allow partial scopes for result in case the number of subscriptions exceed allowed limits. */\n allowPartialScopes?: boolean;\n /** Defines what level of authorization resources should be returned based on the which subscriptions and management groups are passed as scopes. */\n authorizationScopeFilter?: AuthorizationScopeFilter;\n}\n\n/** A request to compute additional statistics (facets) over the query results. */\nexport interface FacetRequest {\n /** The column or list of columns to summarize by */\n expression: string;\n /** The options for facet evaluation */\n options?: FacetRequestOptions;\n}\n\n/** The options for facet evaluation */\nexport interface FacetRequestOptions {\n /** The column name or query expression to sort on. Defaults to count if not present. */\n sortBy?: string;\n /** The sorting order by the selected column (count by default). */\n sortOrder?: FacetSortOrder;\n /** Specifies the filter condition for the 'where' clause which will be run on main query's result, just before the actual faceting. */\n filter?: string;\n /** The maximum number of facet rows that should be returned. */\n top?: number;\n}\n\n/** Query result. */\nexport interface QueryResponse {\n /** Number of total records matching the query. */\n totalRecords: number;\n /** Number of records returned in the current response. In the case of paging, this is the number of records in the current page. */\n count: number;\n /** Indicates whether the query results are truncated. */\n resultTruncated: ResultTruncated;\n /** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */\n skipToken?: string;\n /** Query output in JObject array or Table format. */\n data: Record<string, unknown>;\n /** Query facets. */\n facets?: FacetUnion[];\n}\n\n/** A facet containing additional statistics on the response of a query. Can be either FacetResult or FacetError. */\nexport interface Facet {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resultType: \"FacetResult\" | \"FacetError\";\n /** Facet expression, same as in the corresponding facet request. */\n expression: string;\n}\n\n/** An error response from the API. */\nexport interface ErrorResponse {\n /** Error information. */\n error: ErrorModel;\n}\n\n/** Error details. */\nexport interface ErrorModel {\n /** Error code identifying the specific error. */\n code: string;\n /** A human readable error message. */\n message: string;\n /** Error details */\n details?: ErrorDetails[];\n}\n\n/** Error details. */\nexport interface ErrorDetails {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** Error code identifying the specific error. */\n code: string;\n /** A human readable error message. */\n message: string;\n}\n\n/** Result of the request to list Resource Graph operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Resource Graph operations supported by the Resource Graph resource provider. */\n value?: Operation[];\n}\n\n/** Resource Graph REST API operation definition. */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** Display metadata associated with the operation. */\n display?: OperationDisplay;\n /** The origin of operations. */\n origin?: string;\n}\n\n/** Display metadata associated with the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft Resource Graph. */\n provider?: string;\n /** Resource on which the operation is performed etc. */\n resource?: string;\n /** Type of operation: get, read, delete, etc. */\n operation?: string;\n /** Description for the operation. */\n description?: string;\n}\n\n/** Describes a history request to be executed. */\nexport interface ResourcesHistoryRequest {\n /** Azure subscriptions against which to execute the query. */\n subscriptions?: string[];\n /** The resources query. */\n query?: string;\n /** The history request evaluation options */\n options?: ResourcesHistoryRequestOptions;\n /** Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ] */\n managementGroups?: string[];\n}\n\n/** The options for history request evaluation */\nexport interface ResourcesHistoryRequestOptions {\n /** The time interval used to fetch history. */\n interval?: DateTimeInterval;\n /** The maximum number of rows that the query should return. Overrides the page size when ```$skipToken``` property is present. */\n top?: number;\n /** The number of rows to skip from the beginning of the results. Overrides the next page offset when ```$skipToken``` property is present. */\n skip?: number;\n /** Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. */\n skipToken?: string;\n /** Defines in which format query result returned. */\n resultFormat?: ResultFormat;\n}\n\n/** An interval in time specifying the date and time for the inclusive start and exclusive end, i.e. `[start, end)`. */\nexport interface DateTimeInterval {\n /** A datetime indicating the inclusive/closed start of the time interval, i.e. `[`**`start`**`, end)`. Specifying a `start` that occurs chronologically after `end` will result in an error. */\n start: Date;\n /** A datetime indicating the exclusive/open end of the time interval, i.e. `[start, `**`end`**`)`. Specifying an `end` that occurs chronologically before `start` will result in an error. */\n end: Date;\n}\n\n/** Query output in tabular format. */\nexport interface Table {\n /** Query result column descriptors. */\n columns: Column[];\n /** Query result rows. */\n rows: Record<string, unknown>[][];\n}\n\n/** Query result column descriptor. */\nexport interface Column {\n /** Column name. */\n name: string;\n /** Column data type. */\n type: ColumnDataType;\n}\n\n/** Successfully executed facet containing additional statistics on the response of a query. */\nexport interface FacetResult extends Facet {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resultType: \"FacetResult\";\n /** Number of total records in the facet results. */\n totalRecords: number;\n /** Number of records returned in the facet response. */\n count: number;\n /** A JObject array or Table containing the desired facets. Only present if the facet is valid. */\n data: Record<string, unknown>;\n}\n\n/** A facet whose execution resulted in an error. */\nexport interface FacetError extends Facet {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resultType: \"FacetError\";\n /** An array containing detected facet errors with details. */\n errors: ErrorDetails[];\n}\n\n/** Defines values for ResultFormat. */\nexport type ResultFormat = \"table\" | \"objectArray\";\n/** Defines values for AuthorizationScopeFilter. */\nexport type AuthorizationScopeFilter =\n | \"AtScopeAndBelow\"\n | \"AtScopeAndAbove\"\n | \"AtScopeExact\"\n | \"AtScopeAboveAndBelow\";\n/** Defines values for FacetSortOrder. */\nexport type FacetSortOrder = \"asc\" | \"desc\";\n/** Defines values for ResultTruncated. */\nexport type ResultTruncated = \"true\" | \"false\";\n/** Defines values for ColumnDataType. */\nexport type ColumnDataType =\n | \"string\"\n | \"integer\"\n | \"number\"\n | \"boolean\"\n | \"object\"\n | \"datetime\";\n\n/** Optional parameters. */\nexport interface ResourcesOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the resources operation. */\nexport type ResourcesResponse = QueryResponse;\n\n/** Optional parameters. */\nexport interface ResourcesHistoryOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the resourcesHistory operation. */\nexport type ResourcesHistoryResponse = Record<string, unknown>;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ResourceGraphClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n ResourcesHistoryResponse,\n} from \"./models.js\";\nexport { KnownCreatedByType } from \"./models.js\";\n"]}
|