@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
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file contains only generated model types and their (de)serializers.
|
|
3
|
+
* Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
|
|
4
|
+
*/
|
|
5
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
6
|
+
export interface ProxyResource extends Resource {
|
|
7
|
+
}
|
|
8
|
+
export declare function proxyResourceSerializer(_item: ProxyResource): any;
|
|
9
|
+
export declare function proxyResourceDeserializer(item: any): ProxyResource;
|
|
10
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
11
|
+
export interface Resource {
|
|
12
|
+
/** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
|
|
13
|
+
readonly id?: string;
|
|
14
|
+
/** The name of the resource */
|
|
15
|
+
readonly name?: string;
|
|
16
|
+
/** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
|
|
17
|
+
readonly type?: string;
|
|
18
|
+
/** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
|
|
19
|
+
readonly systemData?: SystemData;
|
|
20
|
+
}
|
|
21
|
+
export declare function resourceSerializer(_item: Resource): any;
|
|
22
|
+
export declare function resourceDeserializer(item: any): Resource;
|
|
23
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
24
|
+
export interface SystemData {
|
|
25
|
+
/** The identity that created the resource. */
|
|
26
|
+
createdBy?: string;
|
|
27
|
+
/** The type of identity that created the resource. */
|
|
28
|
+
createdByType?: CreatedByType;
|
|
29
|
+
/** The timestamp of resource creation (UTC). */
|
|
30
|
+
createdAt?: Date;
|
|
31
|
+
/** The identity that last modified the resource. */
|
|
32
|
+
lastModifiedBy?: string;
|
|
33
|
+
/** The type of identity that last modified the resource. */
|
|
34
|
+
lastModifiedByType?: CreatedByType;
|
|
35
|
+
/** The timestamp of resource last modification (UTC) */
|
|
36
|
+
lastModifiedAt?: Date;
|
|
37
|
+
}
|
|
38
|
+
export declare function systemDataDeserializer(item: any): SystemData;
|
|
39
|
+
/** The kind of entity that created the resource. */
|
|
40
|
+
export declare enum KnownCreatedByType {
|
|
41
|
+
/** The entity was created by a user. */
|
|
42
|
+
User = "User",
|
|
43
|
+
/** The entity was created by an application. */
|
|
44
|
+
Application = "Application",
|
|
45
|
+
/** The entity was created by a managed identity. */
|
|
46
|
+
ManagedIdentity = "ManagedIdentity",
|
|
47
|
+
/** The entity was created by a key. */
|
|
48
|
+
Key = "Key"
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The kind of entity that created the resource. \
|
|
52
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
53
|
+
* this enum contains the known values that the service supports.
|
|
54
|
+
* ### Known values supported by the service
|
|
55
|
+
* **User**: The entity was created by a user. \
|
|
56
|
+
* **Application**: The entity was created by an application. \
|
|
57
|
+
* **ManagedIdentity**: The entity was created by a managed identity. \
|
|
58
|
+
* **Key**: The entity was created by a key.
|
|
59
|
+
*/
|
|
60
|
+
export type CreatedByType = string;
|
|
61
|
+
export type ResourcesHistoryResponse = {
|
|
62
|
+
body: any;
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
export function proxyResourceSerializer(_item) {
|
|
4
|
+
return {};
|
|
5
|
+
}
|
|
6
|
+
export function proxyResourceDeserializer(item) {
|
|
7
|
+
return {
|
|
8
|
+
id: item["id"],
|
|
9
|
+
name: item["name"],
|
|
10
|
+
type: item["type"],
|
|
11
|
+
systemData: !item["systemData"]
|
|
12
|
+
? item["systemData"]
|
|
13
|
+
: systemDataDeserializer(item["systemData"]),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function resourceSerializer(_item) {
|
|
17
|
+
return {};
|
|
18
|
+
}
|
|
19
|
+
export function resourceDeserializer(item) {
|
|
20
|
+
return {
|
|
21
|
+
id: item["id"],
|
|
22
|
+
name: item["name"],
|
|
23
|
+
type: item["type"],
|
|
24
|
+
systemData: !item["systemData"]
|
|
25
|
+
? item["systemData"]
|
|
26
|
+
: systemDataDeserializer(item["systemData"]),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export function systemDataDeserializer(item) {
|
|
30
|
+
return {
|
|
31
|
+
createdBy: item["createdBy"],
|
|
32
|
+
createdByType: item["createdByType"],
|
|
33
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
34
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
35
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
36
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
37
|
+
? item["lastModifiedAt"]
|
|
38
|
+
: new Date(item["lastModifiedAt"]),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/** The kind of entity that created the resource. */
|
|
42
|
+
export var KnownCreatedByType;
|
|
43
|
+
(function (KnownCreatedByType) {
|
|
44
|
+
/** The entity was created by a user. */
|
|
45
|
+
KnownCreatedByType["User"] = "User";
|
|
46
|
+
/** The entity was created by an application. */
|
|
47
|
+
KnownCreatedByType["Application"] = "Application";
|
|
48
|
+
/** The entity was created by a managed identity. */
|
|
49
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
50
|
+
/** The entity was created by a key. */
|
|
51
|
+
KnownCreatedByType["Key"] = "Key";
|
|
52
|
+
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
53
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAWlC,MAAM,UAAU,uBAAuB,CAAC,KAAoB;IAC1D,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS;IACjD,OAAO;QACL,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC;QACd,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,UAAU,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;YACpB,CAAC,CAAC,sBAAsB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KAC/C,CAAC;AACJ,CAAC;AAcD,MAAM,UAAU,kBAAkB,CAAC,KAAe;IAChD,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAS;IAC5C,OAAO;QACL,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC;QACd,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,UAAU,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;YACpB,CAAC,CAAC,sBAAsB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KAC/C,CAAC;AACJ,CAAC;AAkBD,MAAM,UAAU,sBAAsB,CAAC,IAAS;IAC9C,OAAO;QACL,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;QAC5B,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC;QACpC,SAAS,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC/E,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACtC,kBAAkB,EAAE,IAAI,CAAC,oBAAoB,CAAC;QAC9C,cAAc,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACrC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACxB,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;KACrC,CAAC;AACJ,CAAC;AAED,oDAAoD;AACpD,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,wCAAwC;IACxC,mCAAa,CAAA;IACb,gDAAgD;IAChD,iDAA2B,CAAA;IAC3B,oDAAoD;IACpD,yDAAmC,CAAA;IACnC,uCAAuC;IACvC,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\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/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(_item: ProxyResource): any {\n return {};\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\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 };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(_item: Resource): any {\n return {};\n}\n\nexport function resourceDeserializer(item: any): Resource {\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 };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\nexport type ResourcesHistoryResponse = { body: any };\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type { ResourceChangesRequestParameters, ResourceChangesRequestParametersInterval, ResourceChangeList, ResourceChangeData, ResourceChangeDataBeforeSnapshot, ResourceChangeDataAfterSnapshot, ChangeType, ResourcePropertyChange, ChangeCategory, PropertyChangeType, ResourceSnapshotData, ResourceChangeDetailsRequestParameters, } from "./models.js";
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/resourceChanges/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\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.js\";\n"]}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import type { DateTimeInterval } from "../resourceGraphCommon/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
|
+
/** The parameters for a specific changes request. */
|
|
7
|
+
export interface ResourceChangesRequestParameters {
|
|
8
|
+
/** Specifies the list of resources for a changes request. */
|
|
9
|
+
resourceIds?: string[];
|
|
10
|
+
/** The subscription id of resources to query the changes from. */
|
|
11
|
+
subscriptionId?: string;
|
|
12
|
+
/** Specifies the date and time interval for a changes request. */
|
|
13
|
+
interval: ResourceChangesRequestParametersInterval;
|
|
14
|
+
/** Acts as the continuation token for paged responses. */
|
|
15
|
+
skipToken?: string;
|
|
16
|
+
/** The maximum number of changes the client can accept in a paged response. */
|
|
17
|
+
top?: number;
|
|
18
|
+
/** The table name to query resources from. */
|
|
19
|
+
table?: string;
|
|
20
|
+
/** The flag if set to true will fetch property changes */
|
|
21
|
+
fetchPropertyChanges?: boolean;
|
|
22
|
+
/** The flag if set to true will fetch change snapshots */
|
|
23
|
+
fetchSnapshots?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function resourceChangesRequestParametersSerializer(item: ResourceChangesRequestParameters): any;
|
|
26
|
+
/** Specifies the date and time interval for a changes request. */
|
|
27
|
+
export interface ResourceChangesRequestParametersInterval extends DateTimeInterval {
|
|
28
|
+
}
|
|
29
|
+
export declare function resourceChangesRequestParametersIntervalSerializer(item: ResourceChangesRequestParametersInterval): any;
|
|
30
|
+
/** A list of changes associated with a resource over a specific time interval. */
|
|
31
|
+
export interface ResourceChangeList {
|
|
32
|
+
/**
|
|
33
|
+
* The pageable value returned by the operation, i.e. a list of changes to the resource.
|
|
34
|
+
*
|
|
35
|
+
* - The list is ordered from the most recent changes to the least recent changes.
|
|
36
|
+
* - This list will be empty if there were no changes during the requested interval.
|
|
37
|
+
* - The `Before` snapshot timestamp value of the oldest change can be outside of the specified time interval.
|
|
38
|
+
*/
|
|
39
|
+
changes?: ResourceChangeData[];
|
|
40
|
+
/** Skip token that encodes the skip information while executing the current request */
|
|
41
|
+
skipToken?: any;
|
|
42
|
+
}
|
|
43
|
+
export declare function resourceChangeListDeserializer(item: any): ResourceChangeList;
|
|
44
|
+
export declare function resourceChangeDataArrayDeserializer(result: Array<ResourceChangeData>): any[];
|
|
45
|
+
/** Data on a specific change, represented by a pair of before and after resource snapshots. */
|
|
46
|
+
export interface ResourceChangeData {
|
|
47
|
+
/** The resource for a change. */
|
|
48
|
+
resourceId?: string;
|
|
49
|
+
/** The change ID. Valid and unique within the specified resource only. */
|
|
50
|
+
changeId: string;
|
|
51
|
+
/** The snapshot before the change. */
|
|
52
|
+
beforeSnapshot: ResourceChangeDataBeforeSnapshot;
|
|
53
|
+
/** The snapshot after the change. */
|
|
54
|
+
afterSnapshot: ResourceChangeDataAfterSnapshot;
|
|
55
|
+
/** The change type for snapshot. PropertyChanges will be provided in case of Update change type */
|
|
56
|
+
changeType?: ChangeType;
|
|
57
|
+
/** An array of resource property change */
|
|
58
|
+
propertyChanges?: ResourcePropertyChange[];
|
|
59
|
+
}
|
|
60
|
+
export declare function resourceChangeDataDeserializer(item: any): ResourceChangeData;
|
|
61
|
+
/** The snapshot before the change. */
|
|
62
|
+
export interface ResourceChangeDataBeforeSnapshot extends ResourceSnapshotData {
|
|
63
|
+
}
|
|
64
|
+
export declare function resourceChangeDataBeforeSnapshotDeserializer(item: any): ResourceChangeDataBeforeSnapshot;
|
|
65
|
+
/** The snapshot after the change. */
|
|
66
|
+
export interface ResourceChangeDataAfterSnapshot extends ResourceSnapshotData {
|
|
67
|
+
}
|
|
68
|
+
export declare function resourceChangeDataAfterSnapshotDeserializer(item: any): ResourceChangeDataAfterSnapshot;
|
|
69
|
+
/** The change type for snapshot. PropertyChanges will be provided in case of Update change type */
|
|
70
|
+
export type ChangeType = "Create" | "Update" | "Delete";
|
|
71
|
+
export declare function resourcePropertyChangeArrayDeserializer(result: Array<ResourcePropertyChange>): any[];
|
|
72
|
+
/** The resource property change */
|
|
73
|
+
export interface ResourcePropertyChange {
|
|
74
|
+
/** The property name */
|
|
75
|
+
propertyName: string;
|
|
76
|
+
/** The property value in before snapshot */
|
|
77
|
+
beforeValue?: string;
|
|
78
|
+
/** The property value in after snapshot */
|
|
79
|
+
afterValue?: string;
|
|
80
|
+
/** The change category. */
|
|
81
|
+
changeCategory: ChangeCategory;
|
|
82
|
+
/** The property change Type */
|
|
83
|
+
propertyChangeType: PropertyChangeType;
|
|
84
|
+
}
|
|
85
|
+
export declare function resourcePropertyChangeDeserializer(item: any): ResourcePropertyChange;
|
|
86
|
+
/** The change category. */
|
|
87
|
+
export type ChangeCategory = "User" | "System";
|
|
88
|
+
/** The property change Type */
|
|
89
|
+
export type PropertyChangeType = "Insert" | "Update" | "Remove";
|
|
90
|
+
/** Data on a specific resource snapshot. */
|
|
91
|
+
export interface ResourceSnapshotData {
|
|
92
|
+
/** The ID of the snapshot. */
|
|
93
|
+
snapshotId?: string;
|
|
94
|
+
/**
|
|
95
|
+
* The time when the snapshot was created.
|
|
96
|
+
* The snapshot timestamp provides an approximation as to when a modification to a resource was detected. There can be a difference between the actual modification time and the detection time. This is due to differences in how operations that modify a resource are processed, versus how operation that record resource snapshots are processed.
|
|
97
|
+
*/
|
|
98
|
+
timestamp: Date;
|
|
99
|
+
/** The resource snapshot content (in resourceChangeDetails response only). */
|
|
100
|
+
content?: any;
|
|
101
|
+
}
|
|
102
|
+
export declare function resourceSnapshotDataDeserializer(item: any): ResourceSnapshotData;
|
|
103
|
+
/** The parameters for a specific change details request. */
|
|
104
|
+
export interface ResourceChangeDetailsRequestParameters {
|
|
105
|
+
/** Specifies the list of resources for a change details request. */
|
|
106
|
+
resourceIds: string[];
|
|
107
|
+
/** Specifies the list of change IDs for a change details request. */
|
|
108
|
+
changeIds: string[];
|
|
109
|
+
}
|
|
110
|
+
export declare function resourceChangeDetailsRequestParametersSerializer(item: ResourceChangeDetailsRequestParameters): any;
|
|
111
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
export function resourceChangesRequestParametersSerializer(item) {
|
|
4
|
+
return {
|
|
5
|
+
resourceIds: !item["resourceIds"]
|
|
6
|
+
? item["resourceIds"]
|
|
7
|
+
: item["resourceIds"].map((p) => {
|
|
8
|
+
return p;
|
|
9
|
+
}),
|
|
10
|
+
subscriptionId: item["subscriptionId"],
|
|
11
|
+
interval: resourceChangesRequestParametersIntervalSerializer(item["interval"]),
|
|
12
|
+
$skipToken: item["skipToken"],
|
|
13
|
+
$top: item["top"],
|
|
14
|
+
table: item["table"],
|
|
15
|
+
fetchPropertyChanges: item["fetchPropertyChanges"],
|
|
16
|
+
fetchSnapshots: item["fetchSnapshots"],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function resourceChangesRequestParametersIntervalSerializer(item) {
|
|
20
|
+
return { start: item["start"].toISOString(), end: item["end"].toISOString() };
|
|
21
|
+
}
|
|
22
|
+
export function resourceChangeListDeserializer(item) {
|
|
23
|
+
return {
|
|
24
|
+
changes: !item["changes"]
|
|
25
|
+
? item["changes"]
|
|
26
|
+
: resourceChangeDataArrayDeserializer(item["changes"]),
|
|
27
|
+
skipToken: item["$skipToken"],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export function resourceChangeDataArrayDeserializer(result) {
|
|
31
|
+
return result.map((item) => {
|
|
32
|
+
return resourceChangeDataDeserializer(item);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
export function resourceChangeDataDeserializer(item) {
|
|
36
|
+
return {
|
|
37
|
+
resourceId: item["resourceId"],
|
|
38
|
+
changeId: item["changeId"],
|
|
39
|
+
beforeSnapshot: resourceChangeDataBeforeSnapshotDeserializer(item["beforeSnapshot"]),
|
|
40
|
+
afterSnapshot: resourceChangeDataAfterSnapshotDeserializer(item["afterSnapshot"]),
|
|
41
|
+
changeType: item["changeType"],
|
|
42
|
+
propertyChanges: !item["propertyChanges"]
|
|
43
|
+
? item["propertyChanges"]
|
|
44
|
+
: resourcePropertyChangeArrayDeserializer(item["propertyChanges"]),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function resourceChangeDataBeforeSnapshotDeserializer(item) {
|
|
48
|
+
return {
|
|
49
|
+
snapshotId: item["snapshotId"],
|
|
50
|
+
timestamp: new Date(item["timestamp"]),
|
|
51
|
+
content: item["content"],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function resourceChangeDataAfterSnapshotDeserializer(item) {
|
|
55
|
+
return {
|
|
56
|
+
snapshotId: item["snapshotId"],
|
|
57
|
+
timestamp: new Date(item["timestamp"]),
|
|
58
|
+
content: item["content"],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export function resourcePropertyChangeArrayDeserializer(result) {
|
|
62
|
+
return result.map((item) => {
|
|
63
|
+
return resourcePropertyChangeDeserializer(item);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
export function resourcePropertyChangeDeserializer(item) {
|
|
67
|
+
return {
|
|
68
|
+
propertyName: item["propertyName"],
|
|
69
|
+
beforeValue: item["beforeValue"],
|
|
70
|
+
afterValue: item["afterValue"],
|
|
71
|
+
changeCategory: item["changeCategory"],
|
|
72
|
+
propertyChangeType: item["propertyChangeType"],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
export function resourceSnapshotDataDeserializer(item) {
|
|
76
|
+
return {
|
|
77
|
+
snapshotId: item["snapshotId"],
|
|
78
|
+
timestamp: new Date(item["timestamp"]),
|
|
79
|
+
content: item["content"],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export function resourceChangeDetailsRequestParametersSerializer(item) {
|
|
83
|
+
return {
|
|
84
|
+
resourceIds: item["resourceIds"].map((p) => {
|
|
85
|
+
return p;
|
|
86
|
+
}),
|
|
87
|
+
changeIds: item["changeIds"].map((p) => {
|
|
88
|
+
return p;
|
|
89
|
+
}),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/models/resourceChanges/models.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { DateTimeInterval } from \"../resourceGraphCommon/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/** The parameters for a specific changes request. */\nexport interface ResourceChangesRequestParameters {\n /** Specifies the list of resources for a changes request. */\n resourceIds?: string[];\n /** The subscription id of resources to query the changes from. */\n subscriptionId?: string;\n /** Specifies the date and time interval for a changes request. */\n interval: ResourceChangesRequestParametersInterval;\n /** Acts as the continuation token for paged responses. */\n skipToken?: string;\n /** The maximum number of changes the client can accept in a paged response. */\n top?: number;\n /** The table name to query resources from. */\n table?: string;\n /** The flag if set to true will fetch property changes */\n fetchPropertyChanges?: boolean;\n /** The flag if set to true will fetch change snapshots */\n fetchSnapshots?: boolean;\n}\n\nexport function resourceChangesRequestParametersSerializer(\n item: ResourceChangesRequestParameters,\n): any {\n return {\n resourceIds: !item[\"resourceIds\"]\n ? item[\"resourceIds\"]\n : item[\"resourceIds\"].map((p: any) => {\n return p;\n }),\n subscriptionId: item[\"subscriptionId\"],\n interval: resourceChangesRequestParametersIntervalSerializer(item[\"interval\"]),\n $skipToken: item[\"skipToken\"],\n $top: item[\"top\"],\n table: item[\"table\"],\n fetchPropertyChanges: item[\"fetchPropertyChanges\"],\n fetchSnapshots: item[\"fetchSnapshots\"],\n };\n}\n\n/** Specifies the date and time interval for a changes request. */\nexport interface ResourceChangesRequestParametersInterval extends DateTimeInterval {}\n\nexport function resourceChangesRequestParametersIntervalSerializer(\n item: ResourceChangesRequestParametersInterval,\n): any {\n return { start: item[\"start\"].toISOString(), end: item[\"end\"].toISOString() };\n}\n\n/** A list of changes associated with a resource over a specific time interval. */\nexport interface ResourceChangeList {\n /**\n * The pageable value returned by the operation, i.e. a list of changes to the resource.\n *\n * - The list is ordered from the most recent changes to the least recent changes.\n * - This list will be empty if there were no changes during the requested interval.\n * - The `Before` snapshot timestamp value of the oldest change can be outside of the specified time interval.\n */\n changes?: ResourceChangeData[];\n /** Skip token that encodes the skip information while executing the current request */\n skipToken?: any;\n}\n\nexport function resourceChangeListDeserializer(item: any): ResourceChangeList {\n return {\n changes: !item[\"changes\"]\n ? item[\"changes\"]\n : resourceChangeDataArrayDeserializer(item[\"changes\"]),\n skipToken: item[\"$skipToken\"],\n };\n}\n\nexport function resourceChangeDataArrayDeserializer(result: Array<ResourceChangeData>): any[] {\n return result.map((item) => {\n return resourceChangeDataDeserializer(item);\n });\n}\n\n/** Data on a specific change, represented by a pair of before and after resource snapshots. */\nexport interface ResourceChangeData {\n /** The resource for a change. */\n resourceId?: string;\n /** The change ID. Valid and unique within the specified resource only. */\n changeId: string;\n /** The snapshot before the change. */\n beforeSnapshot: ResourceChangeDataBeforeSnapshot;\n /** The snapshot after the change. */\n afterSnapshot: ResourceChangeDataAfterSnapshot;\n /** The change type for snapshot. PropertyChanges will be provided in case of Update change type */\n changeType?: ChangeType;\n /** An array of resource property change */\n propertyChanges?: ResourcePropertyChange[];\n}\n\nexport function resourceChangeDataDeserializer(item: any): ResourceChangeData {\n return {\n resourceId: item[\"resourceId\"],\n changeId: item[\"changeId\"],\n beforeSnapshot: resourceChangeDataBeforeSnapshotDeserializer(item[\"beforeSnapshot\"]),\n afterSnapshot: resourceChangeDataAfterSnapshotDeserializer(item[\"afterSnapshot\"]),\n changeType: item[\"changeType\"],\n propertyChanges: !item[\"propertyChanges\"]\n ? item[\"propertyChanges\"]\n : resourcePropertyChangeArrayDeserializer(item[\"propertyChanges\"]),\n };\n}\n\n/** The snapshot before the change. */\nexport interface ResourceChangeDataBeforeSnapshot extends ResourceSnapshotData {}\n\nexport function resourceChangeDataBeforeSnapshotDeserializer(\n item: any,\n): ResourceChangeDataBeforeSnapshot {\n return {\n snapshotId: item[\"snapshotId\"],\n timestamp: new Date(item[\"timestamp\"]),\n content: item[\"content\"],\n };\n}\n\n/** The snapshot after the change. */\nexport interface ResourceChangeDataAfterSnapshot extends ResourceSnapshotData {}\n\nexport function resourceChangeDataAfterSnapshotDeserializer(\n item: any,\n): ResourceChangeDataAfterSnapshot {\n return {\n snapshotId: item[\"snapshotId\"],\n timestamp: new Date(item[\"timestamp\"]),\n content: item[\"content\"],\n };\n}\n\n/** The change type for snapshot. PropertyChanges will be provided in case of Update change type */\nexport type ChangeType = \"Create\" | \"Update\" | \"Delete\";\n\nexport function resourcePropertyChangeArrayDeserializer(\n result: Array<ResourcePropertyChange>,\n): any[] {\n return result.map((item) => {\n return resourcePropertyChangeDeserializer(item);\n });\n}\n\n/** The resource property change */\nexport interface ResourcePropertyChange {\n /** The property name */\n propertyName: string;\n /** The property value in before snapshot */\n beforeValue?: string;\n /** The property value in after snapshot */\n afterValue?: string;\n /** The change category. */\n changeCategory: ChangeCategory;\n /** The property change Type */\n propertyChangeType: PropertyChangeType;\n}\n\nexport function resourcePropertyChangeDeserializer(item: any): ResourcePropertyChange {\n return {\n propertyName: item[\"propertyName\"],\n beforeValue: item[\"beforeValue\"],\n afterValue: item[\"afterValue\"],\n changeCategory: item[\"changeCategory\"],\n propertyChangeType: item[\"propertyChangeType\"],\n };\n}\n\n/** The change category. */\nexport type ChangeCategory = \"User\" | \"System\";\n/** The property change Type */\nexport type PropertyChangeType = \"Insert\" | \"Update\" | \"Remove\";\n\n/** Data on a specific resource snapshot. */\nexport interface ResourceSnapshotData {\n /** The ID of the snapshot. */\n snapshotId?: string;\n /**\n * The time when the snapshot was created.\n * The snapshot timestamp provides an approximation as to when a modification to a resource was detected. There can be a difference between the actual modification time and the detection time. This is due to differences in how operations that modify a resource are processed, versus how operation that record resource snapshots are processed.\n */\n timestamp: Date;\n /** The resource snapshot content (in resourceChangeDetails response only). */\n content?: any;\n}\n\nexport function resourceSnapshotDataDeserializer(item: any): ResourceSnapshotData {\n return {\n snapshotId: item[\"snapshotId\"],\n timestamp: new Date(item[\"timestamp\"]),\n content: item[\"content\"],\n };\n}\n\n/** The parameters for a specific change details request. */\nexport interface ResourceChangeDetailsRequestParameters {\n /** Specifies the list of resources for a change details request. */\n resourceIds: string[];\n /** Specifies the list of change IDs for a change details request. */\n changeIds: string[];\n}\n\nexport function resourceChangeDetailsRequestParametersSerializer(\n item: ResourceChangeDetailsRequestParameters,\n): any {\n return {\n resourceIds: item[\"resourceIds\"].map((p: any) => {\n return p;\n }),\n changeIds: item[\"changeIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type { QueryRequest, QueryRequestOptions, AuthorizationScopeFilter, FacetRequest, FacetRequestOptions, FacetSortOrder, QueryResponse, ResultTruncated, Facet, FacetUnion, FacetResult, FacetError, Operation, OperationDisplay, } from "./models.js";
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/resourceGraphApi/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\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.js\";\n"]}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import type { ErrorDetails, ResultFormat } from "../resourceGraphCommon/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
|
+
/** Describes a query to be executed. */
|
|
7
|
+
export interface QueryRequest {
|
|
8
|
+
/** Azure subscriptions against which to execute the query. */
|
|
9
|
+
subscriptions?: string[];
|
|
10
|
+
/** Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ] */
|
|
11
|
+
managementGroups?: string[];
|
|
12
|
+
/** The resources query. */
|
|
13
|
+
query: string;
|
|
14
|
+
/** The query evaluation options */
|
|
15
|
+
options?: QueryRequestOptions;
|
|
16
|
+
/** An array of facet requests to be computed against the query result. */
|
|
17
|
+
facets?: FacetRequest[];
|
|
18
|
+
}
|
|
19
|
+
export declare function queryRequestSerializer(item: QueryRequest): any;
|
|
20
|
+
/** The options for query evaluation */
|
|
21
|
+
export interface QueryRequestOptions {
|
|
22
|
+
/** Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. */
|
|
23
|
+
skipToken?: string;
|
|
24
|
+
/** The maximum number of rows that the query should return. Overrides the page size when ```$skipToken``` property is present. */
|
|
25
|
+
top?: number;
|
|
26
|
+
/** The number of rows to skip from the beginning of the results. Overrides the next page offset when ```$skipToken``` property is present. */
|
|
27
|
+
skip?: number;
|
|
28
|
+
/** Defines in which format query result returned. */
|
|
29
|
+
resultFormat?: ResultFormat;
|
|
30
|
+
/** 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. */
|
|
31
|
+
allowPartialScopes?: boolean;
|
|
32
|
+
/** Defines what level of authorization resources should be returned based on the which subscriptions and management groups are passed as scopes. */
|
|
33
|
+
authorizationScopeFilter?: AuthorizationScopeFilter;
|
|
34
|
+
}
|
|
35
|
+
export declare function queryRequestOptionsSerializer(item: QueryRequestOptions): any;
|
|
36
|
+
/** Defines what level of authorization resources should be returned based on the which subscriptions and management groups are passed as scopes. */
|
|
37
|
+
export type AuthorizationScopeFilter = "AtScopeAndBelow" | "AtScopeAndAbove" | "AtScopeExact" | "AtScopeAboveAndBelow";
|
|
38
|
+
export declare function facetRequestArraySerializer(result: Array<FacetRequest>): any[];
|
|
39
|
+
/** A request to compute additional statistics (facets) over the query results. */
|
|
40
|
+
export interface FacetRequest {
|
|
41
|
+
/** The column or list of columns to summarize by */
|
|
42
|
+
expression: string;
|
|
43
|
+
/** The options for facet evaluation */
|
|
44
|
+
options?: FacetRequestOptions;
|
|
45
|
+
}
|
|
46
|
+
export declare function facetRequestSerializer(item: FacetRequest): any;
|
|
47
|
+
/** The options for facet evaluation */
|
|
48
|
+
export interface FacetRequestOptions {
|
|
49
|
+
/** The column name or query expression to sort on. Defaults to count if not present. */
|
|
50
|
+
sortBy?: string;
|
|
51
|
+
/** The sorting order by the selected column (count by default). */
|
|
52
|
+
sortOrder?: FacetSortOrder;
|
|
53
|
+
/** Specifies the filter condition for the 'where' clause which will be run on main query's result, just before the actual faceting. */
|
|
54
|
+
filter?: string;
|
|
55
|
+
/** The maximum number of facet rows that should be returned. */
|
|
56
|
+
top?: number;
|
|
57
|
+
}
|
|
58
|
+
export declare function facetRequestOptionsSerializer(item: FacetRequestOptions): any;
|
|
59
|
+
/** The sorting order by the selected column (count by default). */
|
|
60
|
+
export type FacetSortOrder = "asc" | "desc";
|
|
61
|
+
/** Query result. */
|
|
62
|
+
export interface QueryResponse {
|
|
63
|
+
/** Number of total records matching the query. */
|
|
64
|
+
totalRecords: number;
|
|
65
|
+
/** Number of records returned in the current response. In the case of paging, this is the number of records in the current page. */
|
|
66
|
+
count: number;
|
|
67
|
+
/** Indicates whether the query results are truncated. */
|
|
68
|
+
resultTruncated: ResultTruncated;
|
|
69
|
+
/** 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. */
|
|
70
|
+
skipToken?: string;
|
|
71
|
+
/** Query output in JObject array or Table format. */
|
|
72
|
+
data: any;
|
|
73
|
+
/** Query facets. */
|
|
74
|
+
facets?: FacetUnion[];
|
|
75
|
+
}
|
|
76
|
+
export declare function queryResponseDeserializer(item: any): QueryResponse;
|
|
77
|
+
/** Indicates whether the query results are truncated. */
|
|
78
|
+
export type ResultTruncated = "true" | "false";
|
|
79
|
+
export declare function facetUnionArrayDeserializer(result: Array<FacetUnion>): any[];
|
|
80
|
+
/** A facet containing additional statistics on the response of a query. Can be either FacetResult or FacetError. */
|
|
81
|
+
export interface Facet {
|
|
82
|
+
/** Facet expression, same as in the corresponding facet request. */
|
|
83
|
+
expression: string;
|
|
84
|
+
/** Result type */
|
|
85
|
+
/** The discriminator possible values: FacetResult, FacetError */
|
|
86
|
+
resultType: string;
|
|
87
|
+
}
|
|
88
|
+
export declare function facetDeserializer(item: any): Facet;
|
|
89
|
+
/** Alias for FacetUnion */
|
|
90
|
+
export type FacetUnion = FacetResult | FacetError | Facet;
|
|
91
|
+
export declare function facetUnionDeserializer(item: any): FacetUnion;
|
|
92
|
+
/** Successfully executed facet containing additional statistics on the response of a query. */
|
|
93
|
+
export interface FacetResult extends Facet {
|
|
94
|
+
/** Number of total records in the facet results. */
|
|
95
|
+
totalRecords: number;
|
|
96
|
+
/** Number of records returned in the facet response. */
|
|
97
|
+
count: number;
|
|
98
|
+
/** A JObject array or Table containing the desired facets. Only present if the facet is valid. */
|
|
99
|
+
data: any;
|
|
100
|
+
/** Result type */
|
|
101
|
+
resultType: "FacetResult";
|
|
102
|
+
}
|
|
103
|
+
export declare function facetResultDeserializer(item: any): FacetResult;
|
|
104
|
+
/** A facet whose execution resulted in an error. */
|
|
105
|
+
export interface FacetError extends Facet {
|
|
106
|
+
/** An array containing detected facet errors with details. */
|
|
107
|
+
errors: ErrorDetails[];
|
|
108
|
+
/** Result type */
|
|
109
|
+
resultType: "FacetError";
|
|
110
|
+
}
|
|
111
|
+
export declare function facetErrorDeserializer(item: any): FacetError;
|
|
112
|
+
/** Paged collection of Operation items */
|
|
113
|
+
export interface _OperationListResult {
|
|
114
|
+
/** The Operation items on this page */
|
|
115
|
+
value: Operation[];
|
|
116
|
+
/** The link to the next page of items */
|
|
117
|
+
nextLink?: string;
|
|
118
|
+
}
|
|
119
|
+
export declare function _operationListResultDeserializer(item: any): _OperationListResult;
|
|
120
|
+
export declare function operationArrayDeserializer(result: Array<Operation>): any[];
|
|
121
|
+
/** Resource Graph REST API operation definition. */
|
|
122
|
+
export interface Operation {
|
|
123
|
+
/** Operation name: {provider}/{resource}/{operation} */
|
|
124
|
+
name?: string;
|
|
125
|
+
/** Display metadata associated with the operation. */
|
|
126
|
+
display?: OperationDisplay;
|
|
127
|
+
/** The origin of operations. */
|
|
128
|
+
origin?: string;
|
|
129
|
+
}
|
|
130
|
+
export declare function operationDeserializer(item: any): Operation;
|
|
131
|
+
/** Display metadata associated with the operation. */
|
|
132
|
+
export interface OperationDisplay {
|
|
133
|
+
/** Service provider: Microsoft Resource Graph. */
|
|
134
|
+
provider?: string;
|
|
135
|
+
/** Resource on which the operation is performed etc. */
|
|
136
|
+
resource?: string;
|
|
137
|
+
/** Type of operation: get, read, delete, etc. */
|
|
138
|
+
operation?: string;
|
|
139
|
+
/** Description for the operation. */
|
|
140
|
+
description?: string;
|
|
141
|
+
}
|
|
142
|
+
export declare function operationDisplayDeserializer(item: any): OperationDisplay;
|
|
143
|
+
//# sourceMappingURL=models.d.ts.map
|