@azure/arm-resourcegraph 5.0.0-beta.3 → 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 +3 -3
- package/README.md +30 -24
- 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 +21 -0
- package/dist/browser/index.js +9 -0
- package/dist/browser/index.js.map +1 -0
- 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 +3 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- 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/package.json +3 -0
- package/dist/browser/resourceGraphClient.d.ts +31 -0
- package/dist/browser/resourceGraphClient.js +53 -0
- package/dist/browser/resourceGraphClient.js.map +1 -0
- 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 +21 -0
- package/dist/commonjs/index.js +42 -0
- package/dist/commonjs/index.js.map +7 -0
- 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 +3 -0
- package/dist/commonjs/models/index.js +28 -0
- package/dist/commonjs/models/index.js.map +7 -0
- 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/package.json +3 -0
- package/dist/commonjs/resourceGraphClient.d.ts +31 -0
- package/dist/commonjs/resourceGraphClient.js +74 -0
- package/dist/commonjs/resourceGraphClient.js.map +7 -0
- 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/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- 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 +21 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- 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 +3 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- 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/package.json +3 -0
- package/dist/esm/resourceGraphClient.d.ts +31 -0
- package/dist/esm/resourceGraphClient.js +53 -0
- package/dist/esm/resourceGraphClient.js.map +1 -0
- 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 +190 -87
- package/CHANGELOG.md +0 -11
- package/dist/index.js +0 -1030
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -42
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/resourcesHistorySample.d.ts +0 -2
- package/dist-esm/samples-dev/resourcesHistorySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourcesHistorySample.js +0 -63
- package/dist-esm/samples-dev/resourcesHistorySample.js.map +0 -1
- package/dist-esm/samples-dev/resourcesSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourcesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourcesSample.js +0 -245
- package/dist-esm/samples-dev/resourcesSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -216
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -9
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -26
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -655
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -8
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -61
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -2
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -9
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -26
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -94
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -9
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js +0 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/pagingHelper.d.ts +0 -13
- package/dist-esm/src/pagingHelper.d.ts.map +0 -1
- package/dist-esm/src/pagingHelper.js +0 -32
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/resourceGraphClient.d.ts +0 -30
- package/dist-esm/src/resourceGraphClient.d.ts.map +0 -1
- package/dist-esm/src/resourceGraphClient.js +0 -152
- package/dist-esm/src/resourceGraphClient.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/review/arm-resourcegraph.api.md +0 -217
- package/rollup.config.js +0 -122
- package/src/index.ts +0 -13
- package/src/models/index.ts +0 -261
- package/src/models/mappers.ts +0 -684
- package/src/models/parameters.ts +0 -75
- package/src/operations/index.ts +0 -9
- package/src/operations/operations.ts +0 -103
- package/src/operationsInterfaces/index.ts +0 -9
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/pagingHelper.ts +0 -39
- package/src/resourceGraphClient.ts +0 -213
- package/tsconfig.json +0 -33
- package/types/arm-resourcegraph.d.ts +0 -295
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var logger_exports = {};
|
|
19
|
+
__export(logger_exports, {
|
|
20
|
+
logger: () => logger
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(logger_exports);
|
|
23
|
+
var import_logger = require("@azure/logger");
|
|
24
|
+
const logger = (0, import_logger.createClientLogger)("arm-resourcegraph");
|
|
25
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
26
|
+
0 && (module.exports = {
|
|
27
|
+
logger
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=logger.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/logger.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"arm-resourcegraph\");\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAmC;AAC5B,MAAM,aAAS,kCAAmB,mBAAmB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -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,28 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var graphQueryApi_exports = {};
|
|
19
|
+
__export(graphQueryApi_exports, {
|
|
20
|
+
KnownResultKind: () => import_models.KnownResultKind
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(graphQueryApi_exports);
|
|
23
|
+
var import_models = require("./models.js");
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
KnownResultKind
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/models/graphQueryApi/index.ts"],
|
|
4
|
+
"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"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAaA,oBAAgC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -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,160 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var models_exports = {};
|
|
19
|
+
__export(models_exports, {
|
|
20
|
+
KnownResultKind: () => KnownResultKind,
|
|
21
|
+
_graphQueryListResultDeserializer: () => _graphQueryListResultDeserializer,
|
|
22
|
+
_graphQueryResourcePropertiesDeserializer: () => _graphQueryResourcePropertiesDeserializer,
|
|
23
|
+
_graphQueryResourcePropertiesSerializer: () => _graphQueryResourcePropertiesSerializer,
|
|
24
|
+
_graphQueryUpdateParametersPropertiesSerializer: () => _graphQueryUpdateParametersPropertiesSerializer,
|
|
25
|
+
errorFieldContractArrayDeserializer: () => errorFieldContractArrayDeserializer,
|
|
26
|
+
errorFieldContractDeserializer: () => errorFieldContractDeserializer,
|
|
27
|
+
graphQueryErrorDeserializer: () => graphQueryErrorDeserializer,
|
|
28
|
+
graphQueryErrorErrorDeserializer: () => graphQueryErrorErrorDeserializer,
|
|
29
|
+
graphQueryPropertiesDeserializer: () => graphQueryPropertiesDeserializer,
|
|
30
|
+
graphQueryPropertiesSerializer: () => graphQueryPropertiesSerializer,
|
|
31
|
+
graphQueryPropertiesUpdateParametersSerializer: () => graphQueryPropertiesUpdateParametersSerializer,
|
|
32
|
+
graphQueryResourceArrayDeserializer: () => graphQueryResourceArrayDeserializer,
|
|
33
|
+
graphQueryResourceArraySerializer: () => graphQueryResourceArraySerializer,
|
|
34
|
+
graphQueryResourceDeserializer: () => graphQueryResourceDeserializer,
|
|
35
|
+
graphQueryResourceSerializer: () => graphQueryResourceSerializer,
|
|
36
|
+
graphQueryUpdateParametersSerializer: () => graphQueryUpdateParametersSerializer
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(models_exports);
|
|
39
|
+
var import_check_prop_undefined = require("../../static-helpers/serialization/check-prop-undefined.js");
|
|
40
|
+
var import_models = require("../models.js");
|
|
41
|
+
function graphQueryResourceSerializer(item) {
|
|
42
|
+
return {
|
|
43
|
+
properties: (0, import_check_prop_undefined.areAllPropsUndefined)(item, ["description", "query"]) ? void 0 : _graphQueryResourcePropertiesSerializer(item),
|
|
44
|
+
tags: item["tags"],
|
|
45
|
+
location: item["location"],
|
|
46
|
+
etag: item["etag"]
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function graphQueryResourceDeserializer(item) {
|
|
50
|
+
return {
|
|
51
|
+
id: item["id"],
|
|
52
|
+
name: item["name"],
|
|
53
|
+
type: item["type"],
|
|
54
|
+
systemData: !item["systemData"] ? item["systemData"] : (0, import_models.systemDataDeserializer)(item["systemData"]),
|
|
55
|
+
...!item["properties"] ? item["properties"] : _graphQueryResourcePropertiesDeserializer(item["properties"]),
|
|
56
|
+
tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
57
|
+
location: item["location"],
|
|
58
|
+
etag: item["etag"]
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function graphQueryPropertiesSerializer(item) {
|
|
62
|
+
return { description: item["description"], query: item["query"] };
|
|
63
|
+
}
|
|
64
|
+
function graphQueryPropertiesDeserializer(item) {
|
|
65
|
+
return {
|
|
66
|
+
timeModified: !item["timeModified"] ? item["timeModified"] : new Date(item["timeModified"]),
|
|
67
|
+
description: item["description"],
|
|
68
|
+
query: item["query"],
|
|
69
|
+
resultKind: item["resultKind"]
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
var KnownResultKind = /* @__PURE__ */ ((KnownResultKind2) => {
|
|
73
|
+
KnownResultKind2["Basic"] = "basic";
|
|
74
|
+
return KnownResultKind2;
|
|
75
|
+
})(KnownResultKind || {});
|
|
76
|
+
function graphQueryErrorDeserializer(item) {
|
|
77
|
+
return {
|
|
78
|
+
error: !item["error"] ? item["error"] : graphQueryErrorErrorDeserializer(item["error"])
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function graphQueryErrorErrorDeserializer(item) {
|
|
82
|
+
return {
|
|
83
|
+
code: item["code"],
|
|
84
|
+
message: item["message"],
|
|
85
|
+
details: !item["details"] ? item["details"] : errorFieldContractArrayDeserializer(item["details"])
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function errorFieldContractArrayDeserializer(result) {
|
|
89
|
+
return result.map((item) => {
|
|
90
|
+
return errorFieldContractDeserializer(item);
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
function errorFieldContractDeserializer(item) {
|
|
94
|
+
return {
|
|
95
|
+
code: item["code"],
|
|
96
|
+
message: item["message"],
|
|
97
|
+
target: item["target"]
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function graphQueryUpdateParametersSerializer(item) {
|
|
101
|
+
return {
|
|
102
|
+
tags: item["tags"],
|
|
103
|
+
etag: item["etag"],
|
|
104
|
+
properties: (0, import_check_prop_undefined.areAllPropsUndefined)(item, ["description", "query"]) ? void 0 : _graphQueryUpdateParametersPropertiesSerializer(item)
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function graphQueryPropertiesUpdateParametersSerializer(item) {
|
|
108
|
+
return { description: item["description"], query: item["query"] };
|
|
109
|
+
}
|
|
110
|
+
function _graphQueryListResultDeserializer(item) {
|
|
111
|
+
return {
|
|
112
|
+
value: graphQueryResourceArrayDeserializer(item["value"]),
|
|
113
|
+
nextLink: item["nextLink"]
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function graphQueryResourceArraySerializer(result) {
|
|
117
|
+
return result.map((item) => {
|
|
118
|
+
return graphQueryResourceSerializer(item);
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
function graphQueryResourceArrayDeserializer(result) {
|
|
122
|
+
return result.map((item) => {
|
|
123
|
+
return graphQueryResourceDeserializer(item);
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
function _graphQueryResourcePropertiesSerializer(item) {
|
|
127
|
+
return { description: item["description"], query: item["query"] };
|
|
128
|
+
}
|
|
129
|
+
function _graphQueryResourcePropertiesDeserializer(item) {
|
|
130
|
+
return {
|
|
131
|
+
timeModified: !item["timeModified"] ? item["timeModified"] : new Date(item["timeModified"]),
|
|
132
|
+
description: item["description"],
|
|
133
|
+
query: item["query"],
|
|
134
|
+
resultKind: item["resultKind"]
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
function _graphQueryUpdateParametersPropertiesSerializer(item) {
|
|
138
|
+
return { description: item["description"], query: item["query"] };
|
|
139
|
+
}
|
|
140
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
141
|
+
0 && (module.exports = {
|
|
142
|
+
KnownResultKind,
|
|
143
|
+
_graphQueryListResultDeserializer,
|
|
144
|
+
_graphQueryResourcePropertiesDeserializer,
|
|
145
|
+
_graphQueryResourcePropertiesSerializer,
|
|
146
|
+
_graphQueryUpdateParametersPropertiesSerializer,
|
|
147
|
+
errorFieldContractArrayDeserializer,
|
|
148
|
+
errorFieldContractDeserializer,
|
|
149
|
+
graphQueryErrorDeserializer,
|
|
150
|
+
graphQueryErrorErrorDeserializer,
|
|
151
|
+
graphQueryPropertiesDeserializer,
|
|
152
|
+
graphQueryPropertiesSerializer,
|
|
153
|
+
graphQueryPropertiesUpdateParametersSerializer,
|
|
154
|
+
graphQueryResourceArrayDeserializer,
|
|
155
|
+
graphQueryResourceArraySerializer,
|
|
156
|
+
graphQueryResourceDeserializer,
|
|
157
|
+
graphQueryResourceSerializer,
|
|
158
|
+
graphQueryUpdateParametersSerializer
|
|
159
|
+
});
|
|
160
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/models/graphQueryApi/models.ts"],
|
|
4
|
+
"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"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,kCAAqC;AAErC,oBAAuC;AA0BhC,SAAS,6BAA6B,MAA+B;AAC1E,SAAO;AAAA,IACL,gBAAY,kDAAqB,MAAM,CAAC,eAAe,OAAO,CAAC,IAC3D,SACA,wCAAwC,IAAI;AAAA,IAChD,MAAM,KAAK,MAAM;AAAA,IACjB,UAAU,KAAK,UAAU;AAAA,IACzB,MAAM,KAAK,MAAM;AAAA,EACnB;AACF;AAEO,SAAS,+BAA+B,MAA+B;AAC5E,SAAO;AAAA,IACL,IAAI,KAAK,IAAI;AAAA,IACb,MAAM,KAAK,MAAM;AAAA,IACjB,MAAM,KAAK,MAAM;AAAA,IACjB,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,QACjB,sCAAuB,KAAK,YAAY,CAAC;AAAA,IAC7C,GAAI,CAAC,KAAK,YAAY,IAClB,KAAK,YAAY,IACjB,0CAA0C,KAAK,YAAY,CAAC;AAAA,IAChE,MAAM,CAAC,KAAK,MAAM,IACd,KAAK,MAAM,IACX,OAAO,YAAY,OAAO,QAAQ,KAAK,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,MAAqB,CAAC,GAAG,CAAC,CAAC,CAAC;AAAA,IAC1F,UAAU,KAAK,UAAU;AAAA,IACzB,MAAM,KAAK,MAAM;AAAA,EACnB;AACF;AAcO,SAAS,+BAA+B,MAAiC;AAC9E,SAAO,EAAE,aAAa,KAAK,aAAa,GAAG,OAAO,KAAK,OAAO,EAAE;AAClE;AAEO,SAAS,iCAAiC,MAAiC;AAChF,SAAO;AAAA,IACL,cAAc,CAAC,KAAK,cAAc,IAAI,KAAK,cAAc,IAAI,IAAI,KAAK,KAAK,cAAc,CAAC;AAAA,IAC1F,aAAa,KAAK,aAAa;AAAA,IAC/B,OAAO,KAAK,OAAO;AAAA,IACnB,YAAY,KAAK,YAAY;AAAA,EAC/B;AACF;AAGO,IAAK,kBAAL,kBAAKA,qBAAL;AAEL,EAAAA,iBAAA,WAAQ;AAFE,SAAAA;AAAA,GAAA;AAoBL,SAAS,4BAA4B,MAA4B;AACtE,SAAO;AAAA,IACL,OAAO,CAAC,KAAK,OAAO,IAAI,KAAK,OAAO,IAAI,iCAAiC,KAAK,OAAO,CAAC;AAAA,EACxF;AACF;AAYO,SAAS,iCAAiC,MAAiC;AAChF,SAAO;AAAA,IACL,MAAM,KAAK,MAAM;AAAA,IACjB,SAAS,KAAK,SAAS;AAAA,IACvB,SAAS,CAAC,KAAK,SAAS,IACpB,KAAK,SAAS,IACd,oCAAoC,KAAK,SAAS,CAAC;AAAA,EACzD;AACF;AAEO,SAAS,oCAAoC,QAA0C;AAC5F,SAAO,OAAO,IAAI,CAAC,SAAS;AAC1B,WAAO,+BAA+B,IAAI;AAAA,EAC5C,CAAC;AACH;AAYO,SAAS,+BAA+B,MAA+B;AAC5E,SAAO;AAAA,IACL,MAAM,KAAK,MAAM;AAAA,IACjB,SAAS,KAAK,SAAS;AAAA,IACvB,QAAQ,KAAK,QAAQ;AAAA,EACvB;AACF;AAcO,SAAS,qCAAqC,MAAuC;AAC1F,SAAO;AAAA,IACL,MAAM,KAAK,MAAM;AAAA,IACjB,MAAM,KAAK,MAAM;AAAA,IACjB,gBAAY,kDAAqB,MAAM,CAAC,eAAe,OAAO,CAAC,IAC3D,SACA,gDAAgD,IAAI;AAAA,EAC1D;AACF;AAUO,SAAS,+CACd,MACK;AACL,SAAO,EAAE,aAAa,KAAK,aAAa,GAAG,OAAO,KAAK,OAAO,EAAE;AAClE;AAUO,SAAS,kCAAkC,MAAkC;AAClF,SAAO;AAAA,IACL,OAAO,oCAAoC,KAAK,OAAO,CAAC;AAAA,IACxD,UAAU,KAAK,UAAU;AAAA,EAC3B;AACF;AAEO,SAAS,kCAAkC,QAA0C;AAC1F,SAAO,OAAO,IAAI,CAAC,SAAS;AAC1B,WAAO,6BAA6B,IAAI;AAAA,EAC1C,CAAC;AACH;AAEO,SAAS,oCAAoC,QAA0C;AAC5F,SAAO,OAAO,IAAI,CAAC,SAAS;AAC1B,WAAO,+BAA+B,IAAI;AAAA,EAC5C,CAAC;AACH;AAEO,SAAS,wCAAwC,MAA+B;AACrF,SAAO,EAAE,aAAa,KAAK,aAAa,GAAG,OAAO,KAAK,OAAO,EAAE;AAClE;AAEO,SAAS,0CAA0C,MAAW;AACnE,SAAO;AAAA,IACL,cAAc,CAAC,KAAK,cAAc,IAAI,KAAK,cAAc,IAAI,IAAI,KAAK,KAAK,cAAc,CAAC;AAAA,IAC1F,aAAa,KAAK,aAAa;AAAA,IAC/B,OAAO,KAAK,OAAO;AAAA,IACnB,YAAY,KAAK,YAAY;AAAA,EAC/B;AACF;AAEO,SAAS,gDACd,MACK;AACL,SAAO,EAAE,aAAa,KAAK,aAAa,GAAG,OAAO,KAAK,OAAO,EAAE;AAClE;",
|
|
6
|
+
"names": ["KnownResultKind"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var models_exports = {};
|
|
19
|
+
__export(models_exports, {
|
|
20
|
+
KnownCreatedByType: () => import_models.KnownCreatedByType
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(models_exports);
|
|
23
|
+
var import_models = require("./models.js");
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
KnownCreatedByType
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/models/index.ts"],
|
|
4
|
+
"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"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,oBAAmC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -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,76 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var models_exports = {};
|
|
19
|
+
__export(models_exports, {
|
|
20
|
+
KnownCreatedByType: () => KnownCreatedByType,
|
|
21
|
+
proxyResourceDeserializer: () => proxyResourceDeserializer,
|
|
22
|
+
proxyResourceSerializer: () => proxyResourceSerializer,
|
|
23
|
+
resourceDeserializer: () => resourceDeserializer,
|
|
24
|
+
resourceSerializer: () => resourceSerializer,
|
|
25
|
+
systemDataDeserializer: () => systemDataDeserializer
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(models_exports);
|
|
28
|
+
function proxyResourceSerializer(_item) {
|
|
29
|
+
return {};
|
|
30
|
+
}
|
|
31
|
+
function proxyResourceDeserializer(item) {
|
|
32
|
+
return {
|
|
33
|
+
id: item["id"],
|
|
34
|
+
name: item["name"],
|
|
35
|
+
type: item["type"],
|
|
36
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function resourceSerializer(_item) {
|
|
40
|
+
return {};
|
|
41
|
+
}
|
|
42
|
+
function resourceDeserializer(item) {
|
|
43
|
+
return {
|
|
44
|
+
id: item["id"],
|
|
45
|
+
name: item["name"],
|
|
46
|
+
type: item["type"],
|
|
47
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function systemDataDeserializer(item) {
|
|
51
|
+
return {
|
|
52
|
+
createdBy: item["createdBy"],
|
|
53
|
+
createdByType: item["createdByType"],
|
|
54
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
55
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
56
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
57
|
+
lastModifiedAt: !item["lastModifiedAt"] ? item["lastModifiedAt"] : new Date(item["lastModifiedAt"])
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
var KnownCreatedByType = /* @__PURE__ */ ((KnownCreatedByType2) => {
|
|
61
|
+
KnownCreatedByType2["User"] = "User";
|
|
62
|
+
KnownCreatedByType2["Application"] = "Application";
|
|
63
|
+
KnownCreatedByType2["ManagedIdentity"] = "ManagedIdentity";
|
|
64
|
+
KnownCreatedByType2["Key"] = "Key";
|
|
65
|
+
return KnownCreatedByType2;
|
|
66
|
+
})(KnownCreatedByType || {});
|
|
67
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
68
|
+
0 && (module.exports = {
|
|
69
|
+
KnownCreatedByType,
|
|
70
|
+
proxyResourceDeserializer,
|
|
71
|
+
proxyResourceSerializer,
|
|
72
|
+
resourceDeserializer,
|
|
73
|
+
resourceSerializer,
|
|
74
|
+
systemDataDeserializer
|
|
75
|
+
});
|
|
76
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/models/models.ts"],
|
|
4
|
+
"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"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYO,SAAS,wBAAwB,OAA2B;AACjE,SAAO,CAAC;AACV;AAEO,SAAS,0BAA0B,MAA0B;AAClE,SAAO;AAAA,IACL,IAAI,KAAK,IAAI;AAAA,IACb,MAAM,KAAK,MAAM;AAAA,IACjB,MAAM,KAAK,MAAM;AAAA,IACjB,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,uBAAuB,KAAK,YAAY,CAAC;AAAA,EAC/C;AACF;AAcO,SAAS,mBAAmB,OAAsB;AACvD,SAAO,CAAC;AACV;AAEO,SAAS,qBAAqB,MAAqB;AACxD,SAAO;AAAA,IACL,IAAI,KAAK,IAAI;AAAA,IACb,MAAM,KAAK,MAAM;AAAA,IACjB,MAAM,KAAK,MAAM;AAAA,IACjB,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,uBAAuB,KAAK,YAAY,CAAC;AAAA,EAC/C;AACF;AAkBO,SAAS,uBAAuB,MAAuB;AAC5D,SAAO;AAAA,IACL,WAAW,KAAK,WAAW;AAAA,IAC3B,eAAe,KAAK,eAAe;AAAA,IACnC,WAAW,CAAC,KAAK,WAAW,IAAI,KAAK,WAAW,IAAI,IAAI,KAAK,KAAK,WAAW,CAAC;AAAA,IAC9E,gBAAgB,KAAK,gBAAgB;AAAA,IACrC,oBAAoB,KAAK,oBAAoB;AAAA,IAC7C,gBAAgB,CAAC,KAAK,gBAAgB,IAClC,KAAK,gBAAgB,IACrB,IAAI,KAAK,KAAK,gBAAgB,CAAC;AAAA,EACrC;AACF;AAGO,IAAK,qBAAL,kBAAKA,wBAAL;AAEL,EAAAA,oBAAA,UAAO;AAEP,EAAAA,oBAAA,iBAAc;AAEd,EAAAA,oBAAA,qBAAkB;AAElB,EAAAA,oBAAA,SAAM;AARI,SAAAA;AAAA,GAAA;",
|
|
6
|
+
"names": ["KnownCreatedByType"]
|
|
7
|
+
}
|
|
@@ -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,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
var resourceChanges_exports = {};
|
|
15
|
+
module.exports = __toCommonJS(resourceChanges_exports);
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/models/resourceChanges/index.ts"],
|
|
4
|
+
"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"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|