@azure/arm-devopsinfrastructure 1.0.0-beta.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -2
- package/README.md +19 -22
- package/dist/browser/api/devOpsInfrastructureContext.d.ts +12 -0
- package/dist/browser/api/devOpsInfrastructureContext.d.ts.map +1 -0
- package/dist/browser/api/devOpsInfrastructureContext.js +34 -0
- package/dist/browser/api/devOpsInfrastructureContext.js.map +1 -0
- package/dist/browser/api/imageVersions/index.d.ts +9 -0
- package/dist/browser/api/imageVersions/index.d.ts.map +1 -0
- package/dist/browser/api/imageVersions/index.js +22 -0
- package/dist/browser/api/imageVersions/index.js.map +1 -0
- package/dist/browser/api/index.d.ts +9 -0
- package/dist/browser/api/index.d.ts.map +1 -0
- package/dist/browser/api/index.js +10 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +9 -0
- package/dist/browser/api/operations/index.d.ts.map +1 -0
- package/dist/browser/api/operations/index.js +22 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/options.d.ts +41 -0
- package/dist/browser/api/options.d.ts.map +1 -0
- package/dist/browser/api/options.js +4 -0
- package/dist/browser/api/options.js.map +1 -0
- package/dist/browser/api/pools/index.d.ts +30 -0
- package/dist/browser/api/pools/index.d.ts.map +1 -0
- package/dist/browser/api/pools/index.js +119 -0
- package/dist/browser/api/pools/index.js.map +1 -0
- package/dist/browser/api/resourceDetails/index.d.ts +9 -0
- package/dist/browser/api/resourceDetails/index.d.ts.map +1 -0
- package/dist/browser/api/resourceDetails/index.js +22 -0
- package/dist/browser/api/resourceDetails/index.js.map +1 -0
- package/dist/browser/api/sku/index.d.ts +9 -0
- package/dist/browser/api/sku/index.d.ts.map +1 -0
- package/dist/browser/api/sku/index.js +22 -0
- package/dist/browser/api/sku/index.js.map +1 -0
- package/dist/browser/api/subscriptionUsages/index.d.ts +9 -0
- package/dist/browser/api/subscriptionUsages/index.d.ts.map +1 -0
- package/dist/browser/api/subscriptionUsages/index.js +22 -0
- package/dist/browser/api/subscriptionUsages/index.js.map +1 -0
- package/dist/browser/classic/imageVersions/index.d.ts +14 -0
- package/dist/browser/classic/imageVersions/index.d.ts.map +1 -0
- package/dist/browser/classic/imageVersions/index.js +12 -0
- package/dist/browser/classic/imageVersions/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +7 -0
- package/dist/browser/classic/index.d.ts.map +1 -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 +14 -0
- package/dist/browser/classic/operations/index.d.ts.map +1 -0
- package/dist/browser/classic/operations/index.js +12 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/pools/index.d.ts +30 -0
- package/dist/browser/classic/pools/index.d.ts.map +1 -0
- package/dist/browser/classic/pools/index.js +17 -0
- package/dist/browser/classic/pools/index.js.map +1 -0
- package/dist/browser/classic/resourceDetails/index.d.ts +14 -0
- package/dist/browser/classic/resourceDetails/index.d.ts.map +1 -0
- package/dist/browser/classic/resourceDetails/index.js +12 -0
- package/dist/browser/classic/resourceDetails/index.js.map +1 -0
- package/dist/browser/classic/sku/index.d.ts +14 -0
- package/dist/browser/classic/sku/index.d.ts.map +1 -0
- package/dist/browser/classic/sku/index.js +12 -0
- package/dist/browser/classic/sku/index.js.map +1 -0
- package/dist/browser/classic/subscriptionUsages/index.d.ts +14 -0
- package/dist/browser/classic/subscriptionUsages/index.d.ts.map +1 -0
- package/dist/browser/classic/subscriptionUsages/index.js +12 -0
- package/dist/browser/classic/subscriptionUsages/index.js.map +1 -0
- package/dist/browser/devOpsInfrastructureClient.d.ts +29 -0
- package/dist/browser/devOpsInfrastructureClient.d.ts.map +1 -0
- package/dist/browser/devOpsInfrastructureClient.js +27 -0
- package/dist/browser/devOpsInfrastructureClient.js.map +1 -0
- package/dist/browser/helpers/serializerHelpers.d.ts +3 -0
- package/dist/browser/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/browser/helpers/serializerHelpers.js +24 -0
- package/dist/browser/helpers/serializerHelpers.js.map +1 -0
- package/dist/browser/index.d.ts +8 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src/models/index.d.ts → dist/browser/models/models.d.ts} +678 -836
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +1038 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
- package/dist/browser/restorePollerHelpers.js +98 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +137 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.js +76 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/api/devOpsInfrastructureContext.d.ts +12 -0
- package/dist/commonjs/api/devOpsInfrastructureContext.d.ts.map +1 -0
- package/dist/commonjs/api/devOpsInfrastructureContext.js +37 -0
- package/dist/commonjs/api/devOpsInfrastructureContext.js.map +1 -0
- package/dist/commonjs/api/imageVersions/index.d.ts +9 -0
- package/dist/commonjs/api/imageVersions/index.d.ts.map +1 -0
- package/dist/commonjs/api/imageVersions/index.js +27 -0
- package/dist/commonjs/api/imageVersions/index.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +9 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +25 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +9 -0
- package/dist/commonjs/api/operations/index.d.ts.map +1 -0
- package/dist/commonjs/api/operations/index.js +27 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/options.d.ts +41 -0
- package/dist/commonjs/api/options.d.ts.map +1 -0
- package/dist/commonjs/api/options.js +5 -0
- package/dist/commonjs/api/options.js.map +1 -0
- package/dist/commonjs/api/pools/index.d.ts +30 -0
- package/dist/commonjs/api/pools/index.d.ts.map +1 -0
- package/dist/commonjs/api/pools/index.js +139 -0
- package/dist/commonjs/api/pools/index.js.map +1 -0
- package/dist/commonjs/api/resourceDetails/index.d.ts +9 -0
- package/dist/commonjs/api/resourceDetails/index.d.ts.map +1 -0
- package/dist/commonjs/api/resourceDetails/index.js +27 -0
- package/dist/commonjs/api/resourceDetails/index.js.map +1 -0
- package/dist/commonjs/api/sku/index.d.ts +9 -0
- package/dist/commonjs/api/sku/index.d.ts.map +1 -0
- package/dist/commonjs/api/sku/index.js +27 -0
- package/dist/commonjs/api/sku/index.js.map +1 -0
- package/dist/commonjs/api/subscriptionUsages/index.d.ts +9 -0
- package/dist/commonjs/api/subscriptionUsages/index.d.ts.map +1 -0
- package/dist/commonjs/api/subscriptionUsages/index.js +27 -0
- package/dist/commonjs/api/subscriptionUsages/index.js.map +1 -0
- package/dist/commonjs/classic/imageVersions/index.d.ts +14 -0
- package/dist/commonjs/classic/imageVersions/index.d.ts.map +1 -0
- package/dist/commonjs/classic/imageVersions/index.js +16 -0
- package/dist/commonjs/classic/imageVersions/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +7 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +14 -0
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/operations/index.js +16 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/classic/pools/index.d.ts +30 -0
- package/dist/commonjs/classic/pools/index.d.ts.map +1 -0
- package/dist/commonjs/classic/pools/index.js +21 -0
- package/dist/commonjs/classic/pools/index.js.map +1 -0
- package/dist/commonjs/classic/resourceDetails/index.d.ts +14 -0
- package/dist/commonjs/classic/resourceDetails/index.d.ts.map +1 -0
- package/dist/commonjs/classic/resourceDetails/index.js +16 -0
- package/dist/commonjs/classic/resourceDetails/index.js.map +1 -0
- package/dist/commonjs/classic/sku/index.d.ts +14 -0
- package/dist/commonjs/classic/sku/index.d.ts.map +1 -0
- package/dist/commonjs/classic/sku/index.js +16 -0
- package/dist/commonjs/classic/sku/index.js.map +1 -0
- package/dist/commonjs/classic/subscriptionUsages/index.d.ts +14 -0
- package/dist/commonjs/classic/subscriptionUsages/index.d.ts.map +1 -0
- package/dist/commonjs/classic/subscriptionUsages/index.js +16 -0
- package/dist/commonjs/classic/subscriptionUsages/index.js.map +1 -0
- package/dist/commonjs/devOpsInfrastructureClient.d.ts +29 -0
- package/dist/commonjs/devOpsInfrastructureClient.d.ts.map +1 -0
- package/dist/commonjs/devOpsInfrastructureClient.js +31 -0
- package/dist/commonjs/devOpsInfrastructureClient.js.map +1 -0
- package/dist/commonjs/helpers/serializerHelpers.d.ts +3 -0
- package/dist/commonjs/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/commonjs/helpers/serializerHelpers.js +27 -0
- package/dist/commonjs/helpers/serializerHelpers.js.map +1 -0
- package/dist/commonjs/index.d.ts +8 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +27 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +23 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +886 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +1149 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
- package/dist/commonjs/restorePollerHelpers.js +101 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- package/dist/esm/api/devOpsInfrastructureContext.d.ts +12 -0
- package/dist/esm/api/devOpsInfrastructureContext.d.ts.map +1 -0
- package/dist/esm/api/devOpsInfrastructureContext.js +34 -0
- package/dist/esm/api/devOpsInfrastructureContext.js.map +1 -0
- package/dist/esm/api/imageVersions/index.d.ts +9 -0
- package/dist/esm/api/imageVersions/index.d.ts.map +1 -0
- package/dist/esm/api/imageVersions/index.js +22 -0
- package/dist/esm/api/imageVersions/index.js.map +1 -0
- package/dist/esm/api/index.d.ts +9 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +10 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +9 -0
- package/dist/esm/api/operations/index.d.ts.map +1 -0
- package/dist/esm/api/operations/index.js +22 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/options.d.ts +41 -0
- package/dist/esm/api/options.d.ts.map +1 -0
- package/dist/esm/api/options.js +4 -0
- package/dist/esm/api/options.js.map +1 -0
- package/dist/esm/api/pools/index.d.ts +30 -0
- package/dist/esm/api/pools/index.d.ts.map +1 -0
- package/dist/esm/api/pools/index.js +119 -0
- package/dist/esm/api/pools/index.js.map +1 -0
- package/dist/esm/api/resourceDetails/index.d.ts +9 -0
- package/dist/esm/api/resourceDetails/index.d.ts.map +1 -0
- package/dist/esm/api/resourceDetails/index.js +22 -0
- package/dist/esm/api/resourceDetails/index.js.map +1 -0
- package/dist/esm/api/sku/index.d.ts +9 -0
- package/dist/esm/api/sku/index.d.ts.map +1 -0
- package/dist/esm/api/sku/index.js +22 -0
- package/dist/esm/api/sku/index.js.map +1 -0
- package/dist/esm/api/subscriptionUsages/index.d.ts +9 -0
- package/dist/esm/api/subscriptionUsages/index.d.ts.map +1 -0
- package/dist/esm/api/subscriptionUsages/index.js +22 -0
- package/dist/esm/api/subscriptionUsages/index.js.map +1 -0
- package/dist/esm/classic/imageVersions/index.d.ts +14 -0
- package/dist/esm/classic/imageVersions/index.d.ts.map +1 -0
- package/dist/esm/classic/imageVersions/index.js +12 -0
- package/dist/esm/classic/imageVersions/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +7 -0
- package/dist/esm/classic/index.d.ts.map +1 -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 +14 -0
- package/dist/esm/classic/operations/index.d.ts.map +1 -0
- package/dist/esm/classic/operations/index.js +12 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/pools/index.d.ts +30 -0
- package/dist/esm/classic/pools/index.d.ts.map +1 -0
- package/dist/esm/classic/pools/index.js +17 -0
- package/dist/esm/classic/pools/index.js.map +1 -0
- package/dist/esm/classic/resourceDetails/index.d.ts +14 -0
- package/dist/esm/classic/resourceDetails/index.d.ts.map +1 -0
- package/dist/esm/classic/resourceDetails/index.js +12 -0
- package/dist/esm/classic/resourceDetails/index.js.map +1 -0
- package/dist/esm/classic/sku/index.d.ts +14 -0
- package/dist/esm/classic/sku/index.d.ts.map +1 -0
- package/dist/esm/classic/sku/index.js +12 -0
- package/dist/esm/classic/sku/index.js.map +1 -0
- package/dist/esm/classic/subscriptionUsages/index.d.ts +14 -0
- package/dist/esm/classic/subscriptionUsages/index.d.ts.map +1 -0
- package/dist/esm/classic/subscriptionUsages/index.js +12 -0
- package/dist/esm/classic/subscriptionUsages/index.js.map +1 -0
- package/dist/esm/devOpsInfrastructureClient.d.ts +29 -0
- package/dist/esm/devOpsInfrastructureClient.d.ts.map +1 -0
- package/dist/esm/devOpsInfrastructureClient.js +27 -0
- package/dist/esm/devOpsInfrastructureClient.js.map +1 -0
- package/dist/esm/helpers/serializerHelpers.d.ts +3 -0
- package/dist/esm/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/esm/helpers/serializerHelpers.js +24 -0
- package/dist/esm/helpers/serializerHelpers.js.map +1 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -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 +886 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +1038 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
- package/dist/esm/restorePollerHelpers.js +98 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +137 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.js +76 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/api/devOpsInfrastructureContext.d.ts +12 -0
- package/dist/react-native/api/devOpsInfrastructureContext.d.ts.map +1 -0
- package/dist/react-native/api/devOpsInfrastructureContext.js +34 -0
- package/dist/react-native/api/devOpsInfrastructureContext.js.map +1 -0
- package/dist/react-native/api/imageVersions/index.d.ts +9 -0
- package/dist/react-native/api/imageVersions/index.d.ts.map +1 -0
- package/dist/react-native/api/imageVersions/index.js +22 -0
- package/dist/react-native/api/imageVersions/index.js.map +1 -0
- package/dist/react-native/api/index.d.ts +9 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +10 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +9 -0
- package/dist/react-native/api/operations/index.d.ts.map +1 -0
- package/dist/react-native/api/operations/index.js +22 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/options.d.ts +41 -0
- package/dist/react-native/api/options.d.ts.map +1 -0
- package/dist/react-native/api/options.js +4 -0
- package/dist/react-native/api/options.js.map +1 -0
- package/dist/react-native/api/pools/index.d.ts +30 -0
- package/dist/react-native/api/pools/index.d.ts.map +1 -0
- package/dist/react-native/api/pools/index.js +119 -0
- package/dist/react-native/api/pools/index.js.map +1 -0
- package/dist/react-native/api/resourceDetails/index.d.ts +9 -0
- package/dist/react-native/api/resourceDetails/index.d.ts.map +1 -0
- package/dist/react-native/api/resourceDetails/index.js +22 -0
- package/dist/react-native/api/resourceDetails/index.js.map +1 -0
- package/dist/react-native/api/sku/index.d.ts +9 -0
- package/dist/react-native/api/sku/index.d.ts.map +1 -0
- package/dist/react-native/api/sku/index.js +22 -0
- package/dist/react-native/api/sku/index.js.map +1 -0
- package/dist/react-native/api/subscriptionUsages/index.d.ts +9 -0
- package/dist/react-native/api/subscriptionUsages/index.d.ts.map +1 -0
- package/dist/react-native/api/subscriptionUsages/index.js +22 -0
- package/dist/react-native/api/subscriptionUsages/index.js.map +1 -0
- package/dist/react-native/classic/imageVersions/index.d.ts +14 -0
- package/dist/react-native/classic/imageVersions/index.d.ts.map +1 -0
- package/dist/react-native/classic/imageVersions/index.js +12 -0
- package/dist/react-native/classic/imageVersions/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +7 -0
- package/dist/react-native/classic/index.d.ts.map +1 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +14 -0
- package/dist/react-native/classic/operations/index.d.ts.map +1 -0
- package/dist/react-native/classic/operations/index.js +12 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/classic/pools/index.d.ts +30 -0
- package/dist/react-native/classic/pools/index.d.ts.map +1 -0
- package/dist/react-native/classic/pools/index.js +17 -0
- package/dist/react-native/classic/pools/index.js.map +1 -0
- package/dist/react-native/classic/resourceDetails/index.d.ts +14 -0
- package/dist/react-native/classic/resourceDetails/index.d.ts.map +1 -0
- package/dist/react-native/classic/resourceDetails/index.js +12 -0
- package/dist/react-native/classic/resourceDetails/index.js.map +1 -0
- package/dist/react-native/classic/sku/index.d.ts +14 -0
- package/dist/react-native/classic/sku/index.d.ts.map +1 -0
- package/dist/react-native/classic/sku/index.js +12 -0
- package/dist/react-native/classic/sku/index.js.map +1 -0
- package/dist/react-native/classic/subscriptionUsages/index.d.ts +14 -0
- package/dist/react-native/classic/subscriptionUsages/index.d.ts.map +1 -0
- package/dist/react-native/classic/subscriptionUsages/index.js +12 -0
- package/dist/react-native/classic/subscriptionUsages/index.js.map +1 -0
- package/dist/react-native/devOpsInfrastructureClient.d.ts +29 -0
- package/dist/react-native/devOpsInfrastructureClient.d.ts.map +1 -0
- package/dist/react-native/devOpsInfrastructureClient.js +27 -0
- package/dist/react-native/devOpsInfrastructureClient.js.map +1 -0
- package/dist/react-native/helpers/serializerHelpers.d.ts +3 -0
- package/dist/react-native/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/react-native/helpers/serializerHelpers.js +24 -0
- package/dist/react-native/helpers/serializerHelpers.js.map +1 -0
- package/dist/react-native/index.d.ts +8 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +886 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +1038 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
- package/dist/react-native/restorePollerHelpers.js +98 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/package.json +128 -85
- package/review/arm-devopsinfrastructure-models.api.md +504 -0
- package/review/arm-devopsinfrastructure.api.md +110 -299
- package/dist/index.js +0 -3582
- 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/imageVersionsListByImageSample.d.ts +0 -2
- package/dist-esm/samples-dev/imageVersionsListByImageSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/imageVersionsListByImageSample.js +0 -55
- package/dist-esm/samples-dev/imageVersionsListByImageSample.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 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.js +0 -61
- package/dist-esm/samples-dev/poolsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/poolsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/poolsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/poolsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolsGetSample.js +0 -39
- package/dist-esm/samples-dev/poolsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/poolsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolsListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/poolsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/poolsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolsListBySubscriptionSample.js +0 -53
- package/dist-esm/samples-dev/poolsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/poolsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/poolsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/poolsUpdateSample.js +0 -40
- package/dist-esm/samples-dev/poolsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceDetailsListByPoolSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceDetailsListByPoolSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceDetailsListByPoolSample.js +0 -55
- package/dist-esm/samples-dev/resourceDetailsListByPoolSample.js.map +0 -1
- package/dist-esm/samples-dev/skuListByLocationSample.d.ts +0 -2
- package/dist-esm/samples-dev/skuListByLocationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/skuListByLocationSample.js +0 -54
- package/dist-esm/samples-dev/skuListByLocationSample.js.map +0 -1
- package/dist-esm/samples-dev/subscriptionUsagesListByLocationSample.d.ts +0 -2
- package/dist-esm/samples-dev/subscriptionUsagesListByLocationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/subscriptionUsagesListByLocationSample.js +0 -54
- package/dist-esm/samples-dev/subscriptionUsagesListByLocationSample.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/lroImpl.d.ts +0 -11
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/managedDevOpsInfrastructure.d.ts +0 -25
- package/dist-esm/src/managedDevOpsInfrastructure.d.ts.map +0 -1
- package/dist-esm/src/managedDevOpsInfrastructure.js +0 -105
- package/dist-esm/src/managedDevOpsInfrastructure.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -182
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -86
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -1766
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -14
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -135
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/imageVersions.d.ts +0 -38
- package/dist-esm/src/operations/imageVersions.d.ts.map +0 -1
- package/dist-esm/src/operations/imageVersions.js +0 -150
- package/dist-esm/src/operations/imageVersions.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -7
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -14
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -32
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -133
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/pools.d.ts +0 -107
- package/dist-esm/src/operations/pools.d.ts.map +0 -1
- package/dist-esm/src/operations/pools.js +0 -554
- package/dist-esm/src/operations/pools.js.map +0 -1
- package/dist-esm/src/operations/resourceDetails.d.ts +0 -38
- package/dist-esm/src/operations/resourceDetails.d.ts.map +0 -1
- package/dist-esm/src/operations/resourceDetails.js +0 -150
- package/dist-esm/src/operations/resourceDetails.js.map +0 -1
- package/dist-esm/src/operations/sku.d.ts +0 -35
- package/dist-esm/src/operations/sku.d.ts.map +0 -1
- package/dist-esm/src/operations/sku.js +0 -145
- package/dist-esm/src/operations/sku.js.map +0 -1
- package/dist-esm/src/operations/subscriptionUsages.d.ts +0 -35
- package/dist-esm/src/operations/subscriptionUsages.d.ts.map +0 -1
- package/dist-esm/src/operations/subscriptionUsages.js +0 -145
- package/dist-esm/src/operations/subscriptionUsages.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/imageVersions.d.ts +0 -13
- package/dist-esm/src/operationsInterfaces/imageVersions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/imageVersions.js +0 -9
- package/dist-esm/src/operationsInterfaces/imageVersions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -14
- 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/operationsInterfaces/pools.d.ts +0 -71
- package/dist-esm/src/operationsInterfaces/pools.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/pools.js +0 -9
- package/dist-esm/src/operationsInterfaces/pools.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/resourceDetails.d.ts +0 -13
- package/dist-esm/src/operationsInterfaces/resourceDetails.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/resourceDetails.js +0 -9
- package/dist-esm/src/operationsInterfaces/resourceDetails.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sku.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/sku.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/sku.js +0 -9
- package/dist-esm/src/operationsInterfaces/sku.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/subscriptionUsages.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/subscriptionUsages.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/subscriptionUsages.js +0 -9
- package/dist-esm/src/operationsInterfaces/subscriptionUsages.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/test/devopsinfrastructure_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/devopsinfrastructure_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/devopsinfrastructure_operations_test.spec.js +0 -74
- package/dist-esm/test/devopsinfrastructure_operations_test.spec.js.map +0 -1
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -42
- package/src/managedDevOpsInfrastructure.ts +0 -165
- package/src/models/index.ts +0 -1197
- package/src/models/mappers.ts +0 -1899
- package/src/models/parameters.ts +0 -155
- package/src/operations/imageVersions.ts +0 -197
- package/src/operations/index.ts +0 -14
- package/src/operations/operations.ts +0 -149
- package/src/operations/pools.ts +0 -718
- package/src/operations/resourceDetails.ts +0 -193
- package/src/operations/sku.ts +0 -176
- package/src/operations/subscriptionUsages.ts +0 -176
- package/src/operationsInterfaces/imageVersions.ts +0 -29
- package/src/operationsInterfaces/index.ts +0 -14
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/pools.ts +0 -139
- package/src/operationsInterfaces/resourceDetails.ts +0 -29
- package/src/operationsInterfaces/sku.ts +0 -24
- package/src/operationsInterfaces/subscriptionUsages.ts +0 -27
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-devopsinfrastructure.d.ts +0 -1336
|
@@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MAAM,CAAC;QAClB,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,OAAO,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3F,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;KAC/B,CAAC;AACJ,CAAC;AAcD,MAAM,UAAU,4BAA4B,CAAC,IAAS;IACpD,OAAO;QACL,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;QAC5B,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;KACjC,CAAC;AACJ,CAAC;AAED,2IAA2I;AAC3I,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,sDAAsD;IACtD,4BAAa,CAAA;IACb,wDAAwD;IACxD,gCAAiB,CAAA;IACjB,gEAAgE;IAChE,yCAA0B,CAAA;AAC5B,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAaD,gHAAgH;AAChH,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,0CAA0C;IAC1C,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAWD,mBAAmB;AACnB,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,yBAAyB;IACzB,2CAA4B,CAAA;AAC9B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** The response of a ImageVersion list operation. */\nexport interface _ImageVersionListResult {\n /** The ImageVersion items on this page */\n value: ImageVersion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _imageVersionListResultDeserializer(item: any): _ImageVersionListResult {\n return {\n value: imageVersionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function imageVersionArrayDeserializer(result: Array<ImageVersion>): any[] {\n return result.map((item) => {\n return imageVersionDeserializer(item);\n });\n}\n\n/** An image version object */\nexport interface ImageVersion extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: ImageVersionProperties;\n}\n\nexport function imageVersionDeserializer(item: any): ImageVersion {\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 properties: !item[\"properties\"]\n ? item[\"properties\"]\n : imageVersionPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Details of the ImageVersionProperties. */\nexport interface ImageVersionProperties {\n /** Version of the image. */\n version: string;\n}\n\nexport function imageVersionPropertiesDeserializer(item: any): ImageVersionProperties {\n return {\n version: item[\"version\"],\n };\n}\n\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 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 item;\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\n/** Paged collection of Quota items */\nexport interface _PagedQuota {\n /** The Quota items on this page */\n value: Quota[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedQuotaDeserializer(item: any): _PagedQuota {\n return {\n value: quotaArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function quotaArrayDeserializer(result: Array<Quota>): any[] {\n return result.map((item) => {\n return quotaDeserializer(item);\n });\n}\n\n/** Describes Resource Quota */\nexport interface Quota {\n /** The name of the quota. */\n readonly name?: QuotaName;\n /** Fully qualified ARM resource id */\n id: string;\n /** The unit of usage measurement. */\n unit: string;\n /** The current usage of the resource. */\n currentValue: number;\n /** The maximum permitted usage of the resource. */\n limit: number;\n}\n\nexport function quotaDeserializer(item: any): Quota {\n return {\n name: !item[\"name\"] ? item[\"name\"] : quotaNameDeserializer(item[\"name\"]),\n id: item[\"id\"],\n unit: item[\"unit\"],\n currentValue: item[\"currentValue\"],\n limit: item[\"limit\"],\n };\n}\n\n/** The Quota Names */\nexport interface QuotaName {\n /** The name of the resource. */\n value?: string;\n /** The localized name of the resource. */\n localizedValue?: string;\n}\n\nexport function quotaNameDeserializer(item: any): QuotaName {\n return {\n value: item[\"value\"],\n localizedValue: item[\"localizedValue\"],\n };\n}\n\n/** The response of a ResourceSku list operation. */\nexport interface _ResourceSkuListResult {\n /** The ResourceSku items on this page */\n value: ResourceSku[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _resourceSkuListResultDeserializer(item: any): _ResourceSkuListResult {\n return {\n value: resourceSkuArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function resourceSkuArrayDeserializer(result: Array<ResourceSku>): any[] {\n return result.map((item) => {\n return resourceSkuDeserializer(item);\n });\n}\n\n/** A ResourceSku */\nexport interface ResourceSku extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: ResourceSkuProperties;\n}\n\nexport function resourceSkuDeserializer(item: any): ResourceSku {\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 properties: !item[\"properties\"]\n ? item[\"properties\"]\n : resourceSkuPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of a ResourceSku */\nexport interface ResourceSkuProperties {\n /** The type of resource the SKU applies to. */\n resourceType: string;\n /** The tier of virtual machines in a scale set */\n tier: string;\n /** The size of the SKU. */\n size: string;\n /** The family of the SKU. */\n family: string;\n /** The set of locations that the SKU is available. */\n locations: string[];\n /** A list of locations and availability zones in those locations where the SKU is available */\n locationInfo: ResourceSkuLocationInfo[];\n /** Name value pairs to describe the capability. */\n capabilities: ResourceSkuCapabilities[];\n /** The restrictions of the SKU. */\n restrictions: ResourceSkuRestrictions[];\n}\n\nexport function resourceSkuPropertiesDeserializer(item: any): ResourceSkuProperties {\n return {\n resourceType: item[\"resourceType\"],\n tier: item[\"tier\"],\n size: item[\"size\"],\n family: item[\"family\"],\n locations: item[\"locations\"].map((p: any) => {\n return p;\n }),\n locationInfo: resourceSkuLocationInfoArrayDeserializer(item[\"locationInfo\"]),\n capabilities: resourceSkuCapabilitiesArrayDeserializer(item[\"capabilities\"]),\n restrictions: resourceSkuRestrictionsArrayDeserializer(item[\"restrictions\"]),\n };\n}\n\nexport function resourceSkuLocationInfoArrayDeserializer(\n result: Array<ResourceSkuLocationInfo>,\n): any[] {\n return result.map((item) => {\n return resourceSkuLocationInfoDeserializer(item);\n });\n}\n\n/** Describes an available Compute SKU Location Information. */\nexport interface ResourceSkuLocationInfo {\n /** Location of the SKU */\n location: string;\n /** List of availability zones where the SKU is supported. */\n zones: string[];\n /** Gets details of capabilities available to a SKU in specific zones. */\n zoneDetails: ResourceSkuZoneDetails[];\n}\n\nexport function resourceSkuLocationInfoDeserializer(item: any): ResourceSkuLocationInfo {\n return {\n location: item[\"location\"],\n zones: item[\"zones\"].map((p: any) => {\n return p;\n }),\n zoneDetails: resourceSkuZoneDetailsArrayDeserializer(item[\"zoneDetails\"]),\n };\n}\n\nexport function resourceSkuZoneDetailsArrayDeserializer(\n result: Array<ResourceSkuZoneDetails>,\n): any[] {\n return result.map((item) => {\n return resourceSkuZoneDetailsDeserializer(item);\n });\n}\n\n/** Describes The zonal capabilities of a SKU. */\nexport interface ResourceSkuZoneDetails {\n /** Gets the set of zones that the SKU is available in with the specified capabilities. */\n name: string[];\n /** A list of capabilities that are available for the SKU in the specified list of zones. */\n capabilities: ResourceSkuCapabilities[];\n}\n\nexport function resourceSkuZoneDetailsDeserializer(item: any): ResourceSkuZoneDetails {\n return {\n name: item[\"name\"].map((p: any) => {\n return p;\n }),\n capabilities: resourceSkuCapabilitiesArrayDeserializer(item[\"capabilities\"]),\n };\n}\n\nexport function resourceSkuCapabilitiesArrayDeserializer(\n result: Array<ResourceSkuCapabilities>,\n): any[] {\n return result.map((item) => {\n return resourceSkuCapabilitiesDeserializer(item);\n });\n}\n\n/** Describes The SKU capabilities object. */\nexport interface ResourceSkuCapabilities {\n /** The name of the SKU capability. */\n name: string;\n /** The value of the SKU capability. */\n value: string;\n}\n\nexport function resourceSkuCapabilitiesDeserializer(item: any): ResourceSkuCapabilities {\n return {\n name: item[\"name\"],\n value: item[\"value\"],\n };\n}\n\nexport function resourceSkuRestrictionsArrayDeserializer(\n result: Array<ResourceSkuRestrictions>,\n): any[] {\n return result.map((item) => {\n return resourceSkuRestrictionsDeserializer(item);\n });\n}\n\n/** The restrictions of the SKU. */\nexport interface ResourceSkuRestrictions {\n /** the type of restrictions. */\n type?: ResourceSkuRestrictionsType;\n /** The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. */\n values: string[];\n /** The information about the restriction where the SKU cannot be used. */\n restrictionInfo: ResourceSkuRestrictionInfo;\n /** the reason for restriction. */\n reasonCode?: ResourceSkuRestrictionsReasonCode;\n}\n\nexport function resourceSkuRestrictionsDeserializer(item: any): ResourceSkuRestrictions {\n return {\n type: item[\"type\"],\n values: item[\"values\"].map((p: any) => {\n return p;\n }),\n restrictionInfo: resourceSkuRestrictionInfoDeserializer(item[\"restrictionInfo\"]),\n reasonCode: item[\"reasonCode\"],\n };\n}\n\n/** Describes the kind of SKU restrictions that can exist */\nexport enum KnownResourceSkuRestrictionsType {\n /** SKU restricted by location. */\n Location = \"Location\",\n /** SKU restricted by availability zone. */\n Zone = \"Zone\",\n}\n\n/**\n * Describes the kind of SKU restrictions that can exist \\\n * {@link KnownResourceSkuRestrictionsType} can be used interchangeably with ResourceSkuRestrictionsType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Location**: SKU restricted by location. \\\n * **Zone**: SKU restricted by availability zone.\n */\nexport type ResourceSkuRestrictionsType = string;\n\n/** Describes an available Compute SKU Restriction Information. */\nexport interface ResourceSkuRestrictionInfo {\n /** Locations where the SKU is restricted */\n locations?: string[];\n /** List of availability zones where the SKU is restricted. */\n zones?: string[];\n}\n\nexport function resourceSkuRestrictionInfoDeserializer(item: any): ResourceSkuRestrictionInfo {\n return {\n locations: !item[\"locations\"]\n ? item[\"locations\"]\n : item[\"locations\"].map((p: any) => {\n return p;\n }),\n zones: !item[\"zones\"]\n ? item[\"zones\"]\n : item[\"zones\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Describes the reason for SKU restriction. */\nexport enum KnownResourceSkuRestrictionsReasonCode {\n /** The restriction is due to exceeding a quota limitation. */\n QuotaId = \"QuotaId\",\n /** The restriction is not available for this subscription. */\n NotAvailableForSubscription = \"NotAvailableForSubscription\",\n}\n\n/**\n * Describes the reason for SKU restriction. \\\n * {@link KnownResourceSkuRestrictionsReasonCode} can be used interchangeably with ResourceSkuRestrictionsReasonCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **QuotaId**: The restriction is due to exceeding a quota limitation. \\\n * **NotAvailableForSubscription**: The restriction is not available for this subscription.\n */\nexport type ResourceSkuRestrictionsReasonCode = string;\n\n/** The response of a ResourceDetailsObject list operation. */\nexport interface _ResourceDetailsObjectListResult {\n /** The ResourceDetailsObject items on this page */\n value: ResourceDetailsObject[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _resourceDetailsObjectListResultDeserializer(\n item: any,\n): _ResourceDetailsObjectListResult {\n return {\n value: resourceDetailsObjectArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function resourceDetailsObjectArrayDeserializer(\n result: Array<ResourceDetailsObject>,\n): any[] {\n return result.map((item) => {\n return resourceDetailsObjectDeserializer(item);\n });\n}\n\n/** A ResourceDetailsObject */\nexport interface ResourceDetailsObject extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: ResourceDetailsObjectProperties;\n}\n\nexport function resourceDetailsObjectDeserializer(item: any): ResourceDetailsObject {\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 properties: !item[\"properties\"]\n ? item[\"properties\"]\n : resourceDetailsObjectPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Details of the ResourceDetailsObject. */\nexport interface ResourceDetailsObjectProperties {\n /** The status of the resource. */\n status: ResourceStatus;\n /** The image name of the resource. */\n image: string;\n /** The version of the image running on the resource. */\n imageVersion: string;\n}\n\nexport function resourceDetailsObjectPropertiesDeserializer(\n item: any,\n): ResourceDetailsObjectProperties {\n return {\n status: item[\"status\"],\n image: item[\"image\"],\n imageVersion: item[\"imageVersion\"],\n };\n}\n\n/** The status of the machine resource. */\nexport enum KnownResourceStatus {\n /** Represents a machine resource that is ready. */\n Ready = \"Ready\",\n /** Represents a machine resource that is not ready. */\n NotReady = \"NotReady\",\n /** Represents a machine resource that is allocated. */\n Allocated = \"Allocated\",\n /** Represents a machine resource that is pending return. */\n PendingReturn = \"PendingReturn\",\n /** Represents a machine resource that is returned. */\n Returned = \"Returned\",\n /** Represents a machine resource that is leased. */\n Leased = \"Leased\",\n /** Represents a machine resource that is provisioning. */\n Provisioning = \"Provisioning\",\n /** Represents a machine resource that is updating. */\n Updating = \"Updating\",\n /** Represents a machine resource that is starting. */\n Starting = \"Starting\",\n /** Represents a machine resource that is pending reimage. */\n PendingReimage = \"PendingReimage\",\n /** Represents a machine resource that is reimaging. */\n Reimaging = \"Reimaging\",\n}\n\n/**\n * The status of the machine resource. \\\n * {@link KnownResourceStatus} can be used interchangeably with ResourceStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Ready**: Represents a machine resource that is ready. \\\n * **NotReady**: Represents a machine resource that is not ready. \\\n * **Allocated**: Represents a machine resource that is allocated. \\\n * **PendingReturn**: Represents a machine resource that is pending return. \\\n * **Returned**: Represents a machine resource that is returned. \\\n * **Leased**: Represents a machine resource that is leased. \\\n * **Provisioning**: Represents a machine resource that is provisioning. \\\n * **Updating**: Represents a machine resource that is updating. \\\n * **Starting**: Represents a machine resource that is starting. \\\n * **PendingReimage**: Represents a machine resource that is pending reimage. \\\n * **Reimaging**: Represents a machine resource that is reimaging.\n */\nexport type ResourceStatus = string;\n\n/** Concrete tracked resource types can be created by aliasing this type using a specific property type. */\nexport interface Pool extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: PoolProperties;\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n}\n\nexport function poolSerializer(item: Pool): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : poolPropertiesSerializer(item[\"properties\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n };\n}\n\nexport function poolDeserializer(item: any): Pool {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : poolPropertiesDeserializer(item[\"properties\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentityDeserializer(item[\"identity\"]),\n };\n}\n\n/** Pool properties */\nexport interface PoolProperties {\n /** The status of the current operation. */\n provisioningState?: ProvisioningState;\n /** Defines how many resources can there be created at any given time. */\n maximumConcurrency: number;\n /** Defines the organization in which the pool will be used. */\n organizationProfile: OrganizationProfileUnion;\n /** Defines how the machine will be handled once it executed a job. */\n agentProfile: AgentProfileUnion;\n /** Defines the type of fabric the agent will run on. */\n fabricProfile: FabricProfileUnion;\n /** The resource id of the DevCenter Project the pool belongs to. */\n devCenterProjectResourceId: string;\n}\n\nexport function poolPropertiesSerializer(item: PoolProperties): any {\n return {\n provisioningState: item[\"provisioningState\"],\n maximumConcurrency: item[\"maximumConcurrency\"],\n organizationProfile: organizationProfileUnionSerializer(item[\"organizationProfile\"]),\n agentProfile: agentProfileUnionSerializer(item[\"agentProfile\"]),\n fabricProfile: fabricProfileUnionSerializer(item[\"fabricProfile\"]),\n devCenterProjectResourceId: item[\"devCenterProjectResourceId\"],\n };\n}\n\nexport function poolPropertiesDeserializer(item: any): PoolProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n maximumConcurrency: item[\"maximumConcurrency\"],\n organizationProfile: organizationProfileUnionDeserializer(item[\"organizationProfile\"]),\n agentProfile: agentProfileUnionDeserializer(item[\"agentProfile\"]),\n fabricProfile: fabricProfileUnionDeserializer(item[\"fabricProfile\"]),\n devCenterProjectResourceId: item[\"devCenterProjectResourceId\"],\n };\n}\n\n/** The status of the current operation. */\nexport enum KnownProvisioningState {\n /** Represents a succeeded operation. */\n Succeeded = \"Succeeded\",\n /** Represents a failed operation. */\n Failed = \"Failed\",\n /** Represents a canceled operation. */\n Canceled = \"Canceled\",\n /** Represents a pending operation. */\n Provisioning = \"Provisioning\",\n /** Represents a pending operation. */\n Updating = \"Updating\",\n /** Represents an operation under deletion. */\n Deleting = \"Deleting\",\n /** Represents an accepted operation. */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the current operation. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Represents a succeeded operation. \\\n * **Failed**: Represents a failed operation. \\\n * **Canceled**: Represents a canceled operation. \\\n * **Provisioning**: Represents a pending operation. \\\n * **Updating**: Represents a pending operation. \\\n * **Deleting**: Represents an operation under deletion. \\\n * **Accepted**: Represents an accepted operation.\n */\nexport type ProvisioningState = string;\n\n/** Defines the organization in which the pool will be used. */\nexport interface OrganizationProfile {\n /** Discriminator property for OrganizationProfile. */\n /** The discriminator possible values: GitHub, AzureDevOps */\n kind: string;\n}\n\nexport function organizationProfileSerializer(item: OrganizationProfile): any {\n return { kind: item[\"kind\"] };\n}\n\nexport function organizationProfileDeserializer(item: any): OrganizationProfile {\n return {\n kind: item[\"kind\"],\n };\n}\n\n/** Alias for OrganizationProfileUnion */\nexport type OrganizationProfileUnion =\n | GitHubOrganizationProfile\n | AzureDevOpsOrganizationProfile\n | OrganizationProfile;\n\nexport function organizationProfileUnionSerializer(item: OrganizationProfileUnion): any {\n switch (item.kind) {\n case \"GitHub\":\n return gitHubOrganizationProfileSerializer(item as GitHubOrganizationProfile);\n\n case \"AzureDevOps\":\n return azureDevOpsOrganizationProfileSerializer(item as AzureDevOpsOrganizationProfile);\n\n default:\n return organizationProfileSerializer(item);\n }\n}\n\nexport function organizationProfileUnionDeserializer(item: any): OrganizationProfileUnion {\n switch (item.kind) {\n case \"GitHub\":\n return gitHubOrganizationProfileDeserializer(item as GitHubOrganizationProfile);\n\n case \"AzureDevOps\":\n return azureDevOpsOrganizationProfileDeserializer(item as AzureDevOpsOrganizationProfile);\n\n default:\n return organizationProfileDeserializer(item);\n }\n}\n\n/** GitHub organization profile */\nexport interface GitHubOrganizationProfile extends OrganizationProfile {\n /** GitHub organization profile */\n kind: \"GitHub\";\n /** The list of GitHub organizations/repositories the pool should be present in. */\n organizations: GitHubOrganization[];\n}\n\nexport function gitHubOrganizationProfileSerializer(item: GitHubOrganizationProfile): any {\n return {\n kind: item[\"kind\"],\n organizations: gitHubOrganizationArraySerializer(item[\"organizations\"]),\n };\n}\n\nexport function gitHubOrganizationProfileDeserializer(item: any): GitHubOrganizationProfile {\n return {\n kind: item[\"kind\"],\n organizations: gitHubOrganizationArrayDeserializer(item[\"organizations\"]),\n };\n}\n\nexport function gitHubOrganizationArraySerializer(result: Array<GitHubOrganization>): any[] {\n return result.map((item) => {\n return gitHubOrganizationSerializer(item);\n });\n}\n\nexport function gitHubOrganizationArrayDeserializer(result: Array<GitHubOrganization>): any[] {\n return result.map((item) => {\n return gitHubOrganizationDeserializer(item);\n });\n}\n\n/** Defines a GitHub organization */\nexport interface GitHubOrganization {\n /** The GitHub organization URL in which the pool should be created. */\n url: string;\n /** Optional list of repositories in which the pool should be created. */\n repositories?: string[];\n}\n\nexport function gitHubOrganizationSerializer(item: GitHubOrganization): any {\n return {\n url: item[\"url\"],\n repositories: !item[\"repositories\"]\n ? item[\"repositories\"]\n : item[\"repositories\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function gitHubOrganizationDeserializer(item: any): GitHubOrganization {\n return {\n url: item[\"url\"],\n repositories: !item[\"repositories\"]\n ? item[\"repositories\"]\n : item[\"repositories\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Azure DevOps organization profile */\nexport interface AzureDevOpsOrganizationProfile extends OrganizationProfile {\n /** Azure DevOps organization profile */\n kind: \"AzureDevOps\";\n /** The list of Azure DevOps organizations the pool should be present in. */\n organizations: Organization[];\n /** The type of permission which determines which accounts are admins on the Azure DevOps pool. */\n permissionProfile?: AzureDevOpsPermissionProfile;\n}\n\nexport function azureDevOpsOrganizationProfileSerializer(\n item: AzureDevOpsOrganizationProfile,\n): any {\n return {\n kind: item[\"kind\"],\n organizations: organizationArraySerializer(item[\"organizations\"]),\n permissionProfile: !item[\"permissionProfile\"]\n ? item[\"permissionProfile\"]\n : azureDevOpsPermissionProfileSerializer(item[\"permissionProfile\"]),\n };\n}\n\nexport function azureDevOpsOrganizationProfileDeserializer(\n item: any,\n): AzureDevOpsOrganizationProfile {\n return {\n kind: item[\"kind\"],\n organizations: organizationArrayDeserializer(item[\"organizations\"]),\n permissionProfile: !item[\"permissionProfile\"]\n ? item[\"permissionProfile\"]\n : azureDevOpsPermissionProfileDeserializer(item[\"permissionProfile\"]),\n };\n}\n\nexport function organizationArraySerializer(result: Array<Organization>): any[] {\n return result.map((item) => {\n return organizationSerializer(item);\n });\n}\n\nexport function organizationArrayDeserializer(result: Array<Organization>): any[] {\n return result.map((item) => {\n return organizationDeserializer(item);\n });\n}\n\n/** Defines an Azure DevOps organization. */\nexport interface Organization {\n /** The Azure DevOps organization URL in which the pool should be created. */\n url: string;\n /** Optional list of projects in which the pool should be created. */\n projects?: string[];\n /** How many machines can be created at maximum in this organization out of the maximumConcurrency of the pool. */\n parallelism?: number;\n}\n\nexport function organizationSerializer(item: Organization): any {\n return {\n url: item[\"url\"],\n projects: !item[\"projects\"]\n ? item[\"projects\"]\n : item[\"projects\"].map((p: any) => {\n return p;\n }),\n parallelism: item[\"parallelism\"],\n };\n}\n\nexport function organizationDeserializer(item: any): Organization {\n return {\n url: item[\"url\"],\n projects: !item[\"projects\"]\n ? item[\"projects\"]\n : item[\"projects\"].map((p: any) => {\n return p;\n }),\n parallelism: item[\"parallelism\"],\n };\n}\n\n/** Defines the type of Azure DevOps pool permission. */\nexport interface AzureDevOpsPermissionProfile {\n /** Determines who has admin permissions to the Azure DevOps pool. */\n kind: AzureDevOpsPermissionType;\n /** User email addresses */\n users?: string[];\n /** Group email addresses */\n groups?: string[];\n}\n\nexport function azureDevOpsPermissionProfileSerializer(item: AzureDevOpsPermissionProfile): any {\n return {\n kind: item[\"kind\"],\n users: !item[\"users\"]\n ? item[\"users\"]\n : item[\"users\"].map((p: any) => {\n return p;\n }),\n groups: !item[\"groups\"]\n ? item[\"groups\"]\n : item[\"groups\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function azureDevOpsPermissionProfileDeserializer(item: any): AzureDevOpsPermissionProfile {\n return {\n kind: item[\"kind\"],\n users: !item[\"users\"]\n ? item[\"users\"]\n : item[\"users\"].map((p: any) => {\n return p;\n }),\n groups: !item[\"groups\"]\n ? item[\"groups\"]\n : item[\"groups\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Determines who has admin permissions to the Azure DevOps pool. */\nexport enum KnownAzureDevOpsPermissionType {\n /** Pool will inherit permissions from the project or organization. */\n Inherit = \"Inherit\",\n /** Only the pool creator will be an admin of the pool. */\n CreatorOnly = \"CreatorOnly\",\n /** Only the specified accounts will be admins of the pool. */\n SpecificAccounts = \"SpecificAccounts\",\n}\n\n/**\n * Determines who has admin permissions to the Azure DevOps pool. \\\n * {@link KnownAzureDevOpsPermissionType} can be used interchangeably with AzureDevOpsPermissionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Inherit**: Pool will inherit permissions from the project or organization. \\\n * **CreatorOnly**: Only the pool creator will be an admin of the pool. \\\n * **SpecificAccounts**: Only the specified accounts will be admins of the pool.\n */\nexport type AzureDevOpsPermissionType = string;\n\n/** The agent profile of the machines in the pool. */\nexport interface AgentProfile {\n /** Discriminator property for AgentProfile. */\n /** The discriminator possible values: Stateless, Stateful */\n kind: string;\n /** Defines pool buffer/stand-by agents. */\n resourcePredictions?: ResourcePredictions;\n /** Defines how the pool buffer/stand-by agents is provided. */\n resourcePredictionsProfile?: ResourcePredictionsProfileUnion;\n}\n\nexport function agentProfileSerializer(item: AgentProfile): any {\n return {\n resourcePredictions: !item[\"resourcePredictions\"]\n ? item[\"resourcePredictions\"]\n : resourcePredictionsSerializer(item[\"resourcePredictions\"]),\n resourcePredictionsProfile: !item[\"resourcePredictionsProfile\"]\n ? item[\"resourcePredictionsProfile\"]\n : resourcePredictionsProfileUnionSerializer(item[\"resourcePredictionsProfile\"]),\n kind: item[\"kind\"],\n };\n}\n\nexport function agentProfileDeserializer(item: any): AgentProfile {\n return {\n resourcePredictions: !item[\"resourcePredictions\"]\n ? item[\"resourcePredictions\"]\n : resourcePredictionsDeserializer(item[\"resourcePredictions\"]),\n resourcePredictionsProfile: !item[\"resourcePredictionsProfile\"]\n ? item[\"resourcePredictionsProfile\"]\n : resourcePredictionsProfileUnionDeserializer(item[\"resourcePredictionsProfile\"]),\n kind: item[\"kind\"],\n };\n}\n\n/** Alias for AgentProfileUnion */\nexport type AgentProfileUnion = StatelessAgentProfile | Stateful | AgentProfile;\n\nexport function agentProfileUnionSerializer(item: AgentProfileUnion): any {\n switch (item.kind) {\n case \"Stateless\":\n return statelessAgentProfileSerializer(item as StatelessAgentProfile);\n\n case \"Stateful\":\n return statefulSerializer(item as Stateful);\n\n default:\n return agentProfileSerializer(item);\n }\n}\n\nexport function agentProfileUnionDeserializer(item: any): AgentProfileUnion {\n switch (item.kind) {\n case \"Stateless\":\n return statelessAgentProfileDeserializer(item as StatelessAgentProfile);\n\n case \"Stateful\":\n return statefulDeserializer(item as Stateful);\n\n default:\n return agentProfileDeserializer(item);\n }\n}\n\n/** Defines pool buffer. */\nexport interface ResourcePredictions {}\n\nexport function resourcePredictionsSerializer(item: ResourcePredictions): any {\n return item;\n}\n\nexport function resourcePredictionsDeserializer(item: any): ResourcePredictions {\n return item;\n}\n\n/** Determines how the stand-by scheme should be provided. */\nexport interface ResourcePredictionsProfile {\n /** Determines how the stand-by scheme should be provided. */\n /** The discriminator possible values: Manual, Automatic */\n kind: ResourcePredictionsProfileType;\n}\n\nexport function resourcePredictionsProfileSerializer(item: ResourcePredictionsProfile): any {\n return { kind: item[\"kind\"] };\n}\n\nexport function resourcePredictionsProfileDeserializer(item: any): ResourcePredictionsProfile {\n return {\n kind: item[\"kind\"],\n };\n}\n\n/** Alias for ResourcePredictionsProfileUnion */\nexport type ResourcePredictionsProfileUnion =\n | ManualResourcePredictionsProfile\n | AutomaticResourcePredictionsProfile\n | ResourcePredictionsProfile;\n\nexport function resourcePredictionsProfileUnionSerializer(\n item: ResourcePredictionsProfileUnion,\n): any {\n switch (item.kind) {\n case \"Manual\":\n return manualResourcePredictionsProfileSerializer(item as ManualResourcePredictionsProfile);\n\n case \"Automatic\":\n return automaticResourcePredictionsProfileSerializer(\n item as AutomaticResourcePredictionsProfile,\n );\n\n default:\n return resourcePredictionsProfileSerializer(item);\n }\n}\n\nexport function resourcePredictionsProfileUnionDeserializer(\n item: any,\n): ResourcePredictionsProfileUnion {\n switch (item.kind) {\n case \"Manual\":\n return manualResourcePredictionsProfileDeserializer(item as ManualResourcePredictionsProfile);\n\n case \"Automatic\":\n return automaticResourcePredictionsProfileDeserializer(\n item as AutomaticResourcePredictionsProfile,\n );\n\n default:\n return resourcePredictionsProfileDeserializer(item);\n }\n}\n\n/** Determines how the stand-by scheme should be provided. */\nexport enum KnownResourcePredictionsProfileType {\n /** Customer provides the stand-by agent scheme. */\n Manual = \"Manual\",\n /** The stand-by agent scheme is determined based on historical demand. */\n Automatic = \"Automatic\",\n}\n\n/**\n * Determines how the stand-by scheme should be provided. \\\n * {@link KnownResourcePredictionsProfileType} can be used interchangeably with ResourcePredictionsProfileType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Manual**: Customer provides the stand-by agent scheme. \\\n * **Automatic**: The stand-by agent scheme is determined based on historical demand.\n */\nexport type ResourcePredictionsProfileType = string;\n\n/** Customer provides the stand-by agent scheme. */\nexport interface ManualResourcePredictionsProfile extends ResourcePredictionsProfile {\n /** Customer provides the stand-by agent scheme. */\n kind: \"Manual\";\n}\n\nexport function manualResourcePredictionsProfileSerializer(\n item: ManualResourcePredictionsProfile,\n): any {\n return { kind: item[\"kind\"] };\n}\n\nexport function manualResourcePredictionsProfileDeserializer(\n item: any,\n): ManualResourcePredictionsProfile {\n return {\n kind: item[\"kind\"],\n };\n}\n\n/** The stand-by agent scheme is determined based on historical demand. */\nexport interface AutomaticResourcePredictionsProfile extends ResourcePredictionsProfile {\n /** The stand-by agent scheme is determined based on historical demand. */\n kind: \"Automatic\";\n /** Determines the balance between cost and performance. */\n predictionPreference?: PredictionPreference;\n}\n\nexport function automaticResourcePredictionsProfileSerializer(\n item: AutomaticResourcePredictionsProfile,\n): any {\n return {\n kind: item[\"kind\"],\n predictionPreference: item[\"predictionPreference\"],\n };\n}\n\nexport function automaticResourcePredictionsProfileDeserializer(\n item: any,\n): AutomaticResourcePredictionsProfile {\n return {\n kind: item[\"kind\"],\n predictionPreference: item[\"predictionPreference\"],\n };\n}\n\n/** Determines the balance between cost and performance. */\nexport enum KnownPredictionPreference {\n /** Balance between cost and performance. */\n Balanced = \"Balanced\",\n /** Optimizes for cost over performance. */\n MostCostEffective = \"MostCostEffective\",\n /** Halfway through cost and balanced. */\n MoreCostEffective = \"MoreCostEffective\",\n /** Halfway through balanced and performance. */\n MorePerformance = \"MorePerformance\",\n /** Optimizes for performance over cost. */\n BestPerformance = \"BestPerformance\",\n}\n\n/**\n * Determines the balance between cost and performance. \\\n * {@link KnownPredictionPreference} can be used interchangeably with PredictionPreference,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Balanced**: Balance between cost and performance. \\\n * **MostCostEffective**: Optimizes for cost over performance. \\\n * **MoreCostEffective**: Halfway through cost and balanced. \\\n * **MorePerformance**: Halfway through balanced and performance. \\\n * **BestPerformance**: Optimizes for performance over cost.\n */\nexport type PredictionPreference = string;\n\n/** Stateless profile meaning that the machines will be cleaned up after running a job. */\nexport interface StatelessAgentProfile extends AgentProfile {\n /** Stateless profile meaning that the machines will be cleaned up after running a job. */\n kind: \"Stateless\";\n}\n\nexport function statelessAgentProfileSerializer(item: StatelessAgentProfile): any {\n return {\n resourcePredictions: !item[\"resourcePredictions\"]\n ? item[\"resourcePredictions\"]\n : resourcePredictionsSerializer(item[\"resourcePredictions\"]),\n resourcePredictionsProfile: !item[\"resourcePredictionsProfile\"]\n ? item[\"resourcePredictionsProfile\"]\n : resourcePredictionsProfileUnionSerializer(item[\"resourcePredictionsProfile\"]),\n kind: item[\"kind\"],\n };\n}\n\nexport function statelessAgentProfileDeserializer(item: any): StatelessAgentProfile {\n return {\n resourcePredictions: !item[\"resourcePredictions\"]\n ? item[\"resourcePredictions\"]\n : resourcePredictionsDeserializer(item[\"resourcePredictions\"]),\n resourcePredictionsProfile: !item[\"resourcePredictionsProfile\"]\n ? item[\"resourcePredictionsProfile\"]\n : resourcePredictionsProfileUnionDeserializer(item[\"resourcePredictionsProfile\"]),\n kind: item[\"kind\"],\n };\n}\n\n/** Stateful profile meaning that the machines will be returned to the pool after running a job. */\nexport interface Stateful extends AgentProfile {\n /** Stateful profile meaning that the machines will be returned to the pool after running a job. */\n kind: \"Stateful\";\n /** How long should stateful machines be kept around. The maximum is one week. */\n maxAgentLifetime?: string;\n /** How long should the machine be kept around after it ran a workload when there are no stand-by agents. The maximum is one week. */\n gracePeriodTimeSpan?: string;\n}\n\nexport function statefulSerializer(item: Stateful): any {\n return {\n resourcePredictions: !item[\"resourcePredictions\"]\n ? item[\"resourcePredictions\"]\n : resourcePredictionsSerializer(item[\"resourcePredictions\"]),\n resourcePredictionsProfile: !item[\"resourcePredictionsProfile\"]\n ? item[\"resourcePredictionsProfile\"]\n : resourcePredictionsProfileUnionSerializer(item[\"resourcePredictionsProfile\"]),\n kind: item[\"kind\"],\n maxAgentLifetime: item[\"maxAgentLifetime\"],\n gracePeriodTimeSpan: item[\"gracePeriodTimeSpan\"],\n };\n}\n\nexport function statefulDeserializer(item: any): Stateful {\n return {\n resourcePredictions: !item[\"resourcePredictions\"]\n ? item[\"resourcePredictions\"]\n : resourcePredictionsDeserializer(item[\"resourcePredictions\"]),\n resourcePredictionsProfile: !item[\"resourcePredictionsProfile\"]\n ? item[\"resourcePredictionsProfile\"]\n : resourcePredictionsProfileUnionDeserializer(item[\"resourcePredictionsProfile\"]),\n kind: item[\"kind\"],\n maxAgentLifetime: item[\"maxAgentLifetime\"],\n gracePeriodTimeSpan: item[\"gracePeriodTimeSpan\"],\n };\n}\n\n/** Defines the type of fabric the agent will run on. */\nexport interface FabricProfile {\n /** Discriminator property for FabricProfile. */\n /** The discriminator possible values: Vmss */\n kind: string;\n}\n\nexport function fabricProfileSerializer(item: FabricProfile): any {\n return { kind: item[\"kind\"] };\n}\n\nexport function fabricProfileDeserializer(item: any): FabricProfile {\n return {\n kind: item[\"kind\"],\n };\n}\n\n/** Alias for FabricProfileUnion */\nexport type FabricProfileUnion = VmssFabricProfile | FabricProfile;\n\nexport function fabricProfileUnionSerializer(item: FabricProfileUnion): any {\n switch (item.kind) {\n case \"Vmss\":\n return vmssFabricProfileSerializer(item as VmssFabricProfile);\n\n default:\n return fabricProfileSerializer(item);\n }\n}\n\nexport function fabricProfileUnionDeserializer(item: any): FabricProfileUnion {\n switch (item.kind) {\n case \"Vmss\":\n return vmssFabricProfileDeserializer(item as VmssFabricProfile);\n\n default:\n return fabricProfileDeserializer(item);\n }\n}\n\n/** The agents will run on Virtual Machine Scale Sets. */\nexport interface VmssFabricProfile extends FabricProfile {\n /** Virtual Machine Scale Sets */\n kind: \"Vmss\";\n /** The Azure SKU of the machines in the pool. */\n sku: DevOpsAzureSku;\n /** The VM images of the machines in the pool. */\n images: PoolImage[];\n /** The OS profile of the machines in the pool. */\n osProfile?: OsProfile;\n /** The storage profile of the machines in the pool. */\n storageProfile?: StorageProfile;\n /** The network profile of the machines in the pool. */\n networkProfile?: NetworkProfile;\n}\n\nexport function vmssFabricProfileSerializer(item: VmssFabricProfile): any {\n return {\n kind: item[\"kind\"],\n sku: devOpsAzureSkuSerializer(item[\"sku\"]),\n images: poolImageArraySerializer(item[\"images\"]),\n osProfile: !item[\"osProfile\"] ? item[\"osProfile\"] : osProfileSerializer(item[\"osProfile\"]),\n storageProfile: !item[\"storageProfile\"]\n ? item[\"storageProfile\"]\n : storageProfileSerializer(item[\"storageProfile\"]),\n networkProfile: !item[\"networkProfile\"]\n ? item[\"networkProfile\"]\n : networkProfileSerializer(item[\"networkProfile\"]),\n };\n}\n\nexport function vmssFabricProfileDeserializer(item: any): VmssFabricProfile {\n return {\n kind: item[\"kind\"],\n sku: devOpsAzureSkuDeserializer(item[\"sku\"]),\n images: poolImageArrayDeserializer(item[\"images\"]),\n osProfile: !item[\"osProfile\"] ? item[\"osProfile\"] : osProfileDeserializer(item[\"osProfile\"]),\n storageProfile: !item[\"storageProfile\"]\n ? item[\"storageProfile\"]\n : storageProfileDeserializer(item[\"storageProfile\"]),\n networkProfile: !item[\"networkProfile\"]\n ? item[\"networkProfile\"]\n : networkProfileDeserializer(item[\"networkProfile\"]),\n };\n}\n\n/** The Azure SKU of the machines in the pool. */\nexport interface DevOpsAzureSku {\n /** The Azure SKU name of the machines in the pool. */\n name: string;\n}\n\nexport function devOpsAzureSkuSerializer(item: DevOpsAzureSku): any {\n return { name: item[\"name\"] };\n}\n\nexport function devOpsAzureSkuDeserializer(item: any): DevOpsAzureSku {\n return {\n name: item[\"name\"],\n };\n}\n\nexport function poolImageArraySerializer(result: Array<PoolImage>): any[] {\n return result.map((item) => {\n return poolImageSerializer(item);\n });\n}\n\nexport function poolImageArrayDeserializer(result: Array<PoolImage>): any[] {\n return result.map((item) => {\n return poolImageDeserializer(item);\n });\n}\n\n/** The VM image of the machines in the pool. */\nexport interface PoolImage {\n /** The resource id of the image. */\n resourceId?: string;\n /** The image to use from a well-known set of images made available to customers. */\n wellKnownImageName?: string;\n /** List of aliases to reference the image by. */\n aliases?: string[];\n /** The percentage of the buffer to be allocated to this image. */\n buffer?: string;\n}\n\nexport function poolImageSerializer(item: PoolImage): any {\n return {\n resourceId: item[\"resourceId\"],\n wellKnownImageName: item[\"wellKnownImageName\"],\n aliases: !item[\"aliases\"]\n ? item[\"aliases\"]\n : item[\"aliases\"].map((p: any) => {\n return p;\n }),\n buffer: item[\"buffer\"],\n };\n}\n\nexport function poolImageDeserializer(item: any): PoolImage {\n return {\n resourceId: item[\"resourceId\"],\n wellKnownImageName: item[\"wellKnownImageName\"],\n aliases: !item[\"aliases\"]\n ? item[\"aliases\"]\n : item[\"aliases\"].map((p: any) => {\n return p;\n }),\n buffer: item[\"buffer\"],\n };\n}\n\n/** The OS profile of the machines in the pool. */\nexport interface OsProfile {\n /** The secret management settings of the machines in the pool. */\n secretsManagementSettings?: SecretsManagementSettings;\n /** Determines how the service should be run. By default, this will be set to Service. */\n logonType?: LogonType;\n}\n\nexport function osProfileSerializer(item: OsProfile): any {\n return {\n secretsManagementSettings: !item[\"secretsManagementSettings\"]\n ? item[\"secretsManagementSettings\"]\n : secretsManagementSettingsSerializer(item[\"secretsManagementSettings\"]),\n logonType: item[\"logonType\"],\n };\n}\n\nexport function osProfileDeserializer(item: any): OsProfile {\n return {\n secretsManagementSettings: !item[\"secretsManagementSettings\"]\n ? item[\"secretsManagementSettings\"]\n : secretsManagementSettingsDeserializer(item[\"secretsManagementSettings\"]),\n logonType: item[\"logonType\"],\n };\n}\n\n/** The secret management settings of the machines in the pool. */\nexport interface SecretsManagementSettings {\n /** Where to store certificates on the machine. */\n certificateStoreLocation?: string;\n /** The list of certificates to install on all machines in the pool. */\n observedCertificates: string[];\n /** Defines if the key of the certificates should be exportable. */\n keyExportable: boolean;\n}\n\nexport function secretsManagementSettingsSerializer(item: SecretsManagementSettings): any {\n return {\n certificateStoreLocation: item[\"certificateStoreLocation\"],\n observedCertificates: item[\"observedCertificates\"].map((p: any) => {\n return p;\n }),\n keyExportable: item[\"keyExportable\"],\n };\n}\n\nexport function secretsManagementSettingsDeserializer(item: any): SecretsManagementSettings {\n return {\n certificateStoreLocation: item[\"certificateStoreLocation\"],\n observedCertificates: item[\"observedCertificates\"].map((p: any) => {\n return p;\n }),\n keyExportable: item[\"keyExportable\"],\n };\n}\n\n/** Determines how the service should be run. */\nexport enum KnownLogonType {\n /** Run as a service. */\n Service = \"Service\",\n /** Run in interactive mode. */\n Interactive = \"Interactive\",\n}\n\n/**\n * Determines how the service should be run. \\\n * {@link KnownLogonType} can be used interchangeably with LogonType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Service**: Run as a service. \\\n * **Interactive**: Run in interactive mode.\n */\nexport type LogonType = string;\n\n/** The storage profile of the VMSS. */\nexport interface StorageProfile {\n /** The Azure SKU name of the machines in the pool. */\n osDiskStorageAccountType?: OsDiskStorageAccountType;\n /** A list of empty data disks to attach. */\n dataDisks?: DataDisk[];\n}\n\nexport function storageProfileSerializer(item: StorageProfile): any {\n return {\n osDiskStorageAccountType: item[\"osDiskStorageAccountType\"],\n dataDisks: !item[\"dataDisks\"] ? item[\"dataDisks\"] : dataDiskArraySerializer(item[\"dataDisks\"]),\n };\n}\n\nexport function storageProfileDeserializer(item: any): StorageProfile {\n return {\n osDiskStorageAccountType: item[\"osDiskStorageAccountType\"],\n dataDisks: !item[\"dataDisks\"]\n ? item[\"dataDisks\"]\n : dataDiskArrayDeserializer(item[\"dataDisks\"]),\n };\n}\n\n/** The storage account type of the OS disk. */\nexport enum KnownOsDiskStorageAccountType {\n /** Standard OS disk type. */\n Standard = \"Standard\",\n /** Premium OS disk type. */\n Premium = \"Premium\",\n /** Standard SSD OS disk type. */\n StandardSSD = \"StandardSSD\",\n}\n\n/**\n * The storage account type of the OS disk. \\\n * {@link KnownOsDiskStorageAccountType} can be used interchangeably with OsDiskStorageAccountType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Standard**: Standard OS disk type. \\\n * **Premium**: Premium OS disk type. \\\n * **StandardSSD**: Standard SSD OS disk type.\n */\nexport type OsDiskStorageAccountType = string;\n\nexport function dataDiskArraySerializer(result: Array<DataDisk>): any[] {\n return result.map((item) => {\n return dataDiskSerializer(item);\n });\n}\n\nexport function dataDiskArrayDeserializer(result: Array<DataDisk>): any[] {\n return result.map((item) => {\n return dataDiskDeserializer(item);\n });\n}\n\n/** The data disk of the VMSS. */\nexport interface DataDisk {\n /** The type of caching to be enabled for the data disks. The default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. */\n caching?: CachingType;\n /** The initial disk size in gigabytes. */\n diskSizeGiB?: number;\n /** The storage Account type to be used for the data disk. If omitted, the default is \"standard_lrs\". */\n storageAccountType?: StorageAccountType;\n /** The drive letter for the empty data disk. If not specified, it will be the first available letter. */\n driveLetter?: string;\n}\n\nexport function dataDiskSerializer(item: DataDisk): any {\n return {\n caching: item[\"caching\"],\n diskSizeGiB: item[\"diskSizeGiB\"],\n storageAccountType: item[\"storageAccountType\"],\n driveLetter: item[\"driveLetter\"],\n };\n}\n\nexport function dataDiskDeserializer(item: any): DataDisk {\n return {\n caching: item[\"caching\"],\n diskSizeGiB: item[\"diskSizeGiB\"],\n storageAccountType: item[\"storageAccountType\"],\n driveLetter: item[\"driveLetter\"],\n };\n}\n\n/** The type of caching in a data disk. */\nexport enum KnownCachingType {\n /** Don't use host caching. */\n None = \"None\",\n /** For workloads that only do read operations. */\n ReadOnly = \"ReadOnly\",\n /** For workloads that do a balance of read and write operations. */\n ReadWrite = \"ReadWrite\",\n}\n\n/**\n * The type of caching in a data disk. \\\n * {@link KnownCachingType} can be used interchangeably with CachingType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: Don't use host caching. \\\n * **ReadOnly**: For workloads that only do read operations. \\\n * **ReadWrite**: For workloads that do a balance of read and write operations.\n */\nexport type CachingType = string;\n\n/** StorageAccountType enums */\nexport enum KnownStorageAccountType {\n /** The data disk should use standard locally redundant storage. */\n StandardLRS = \"Standard_LRS\",\n /** The data disk should use premium locally redundant storage. */\n PremiumLRS = \"Premium_LRS\",\n /** The data disk should use standard SSD locally redundant storage. */\n StandardSSDLRS = \"StandardSSD_LRS\",\n /** The data disk should use premium SSD zonal redundant storage. */\n PremiumZRS = \"Premium_ZRS\",\n /** The data disk should use standard SSD zonal redundant storage. */\n StandardSSDZRS = \"StandardSSD_ZRS\",\n}\n\n/**\n * StorageAccountType enums \\\n * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Standard_LRS**: The data disk should use standard locally redundant storage. \\\n * **Premium_LRS**: The data disk should use premium locally redundant storage. \\\n * **StandardSSD_LRS**: The data disk should use standard SSD locally redundant storage. \\\n * **Premium_ZRS**: The data disk should use premium SSD zonal redundant storage. \\\n * **StandardSSD_ZRS**: The data disk should use standard SSD zonal redundant storage.\n */\nexport type StorageAccountType = string;\n\n/** The network profile of the machines in the pool. */\nexport interface NetworkProfile {\n /** The subnet id on which to put all machines created in the pool. */\n subnetId: string;\n}\n\nexport function networkProfileSerializer(item: NetworkProfile): any {\n return { subnetId: item[\"subnetId\"] };\n}\n\nexport function networkProfileDeserializer(item: any): NetworkProfile {\n return {\n subnetId: item[\"subnetId\"],\n };\n}\n\n/** Managed service identity (system assigned and/or user assigned identities) */\nexport interface ManagedServiceIdentity {\n /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly principalId?: string;\n /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly tenantId?: string;\n /** The type of managed identity assigned to this resource. */\n type: ManagedServiceIdentityType;\n /** The identities assigned to this resource by the user. */\n userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;\n}\n\nexport function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any {\n return {\n type: item[\"type\"],\n userAssignedIdentities: item[\"userAssignedIdentities\"],\n };\n}\n\nexport function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity {\n return {\n principalId: item[\"principalId\"],\n tenantId: item[\"tenantId\"],\n type: item[\"type\"],\n userAssignedIdentities: item[\"userAssignedIdentities\"],\n };\n}\n\n/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */\nexport enum KnownManagedServiceIdentityType {\n /** No managed identity. */\n None = \"None\",\n /** System assigned managed identity. */\n SystemAssigned = \"SystemAssigned\",\n /** User assigned managed identity. */\n UserAssigned = \"UserAssigned\",\n /** System and user assigned managed identity. */\n SystemAssignedUserAssigned = \"SystemAssigned,UserAssigned\",\n}\n\n/**\n * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \\\n * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: No managed identity. \\\n * **SystemAssigned**: System assigned managed identity. \\\n * **UserAssigned**: User assigned managed identity. \\\n * **SystemAssigned,UserAssigned**: System and user assigned managed identity.\n */\nexport type ManagedServiceIdentityType = string;\n\n/** User assigned identity properties */\nexport interface UserAssignedIdentity {\n /** The principal ID of the assigned identity. */\n readonly principalId?: string;\n /** The client ID of the assigned identity. */\n readonly clientId?: string;\n}\n\nexport function userAssignedIdentitySerializer(item: UserAssignedIdentity): any {\n return item;\n}\n\nexport function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity {\n return {\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n };\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\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 tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** The type used for update operations of the Pool. */\nexport interface PoolUpdate {\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: PoolUpdateProperties;\n}\n\nexport function poolUpdateSerializer(item: PoolUpdate): any {\n return {\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : poolUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the Pool. */\nexport interface PoolUpdateProperties {\n /** The status of the current operation. */\n provisioningState?: ProvisioningState;\n /** Defines how many resources can there be created at any given time. */\n maximumConcurrency?: number;\n /** Defines the organization in which the pool will be used. */\n organizationProfile?: OrganizationProfileUnion;\n /** Defines how the machine will be handled once it executed a job. */\n agentProfile?: AgentProfileUnion;\n /** Defines the type of fabric the agent will run on. */\n fabricProfile?: FabricProfileUnion;\n /** The resource id of the DevCenter Project the pool belongs to. */\n devCenterProjectResourceId?: string;\n}\n\nexport function poolUpdatePropertiesSerializer(item: PoolUpdateProperties): any {\n return {\n provisioningState: item[\"provisioningState\"],\n maximumConcurrency: item[\"maximumConcurrency\"],\n organizationProfile: !item[\"organizationProfile\"]\n ? item[\"organizationProfile\"]\n : organizationProfileUnionSerializer(item[\"organizationProfile\"]),\n agentProfile: !item[\"agentProfile\"]\n ? item[\"agentProfile\"]\n : agentProfileUnionSerializer(item[\"agentProfile\"]),\n fabricProfile: !item[\"fabricProfile\"]\n ? item[\"fabricProfile\"]\n : fabricProfileUnionSerializer(item[\"fabricProfile\"]),\n devCenterProjectResourceId: item[\"devCenterProjectResourceId\"],\n };\n}\n\n/** The response of a Pool list operation. */\nexport interface _PoolListResult {\n /** The Pool items on this page */\n value: Pool[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _poolListResultDeserializer(item: any): _PoolListResult {\n return {\n value: poolArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function poolArraySerializer(result: Array<Pool>): any[] {\n return result.map((item) => {\n return poolSerializer(item);\n });\n}\n\nexport function poolArrayDeserializer(result: Array<Pool>): any[] {\n return result.map((item) => {\n return poolDeserializer(item);\n });\n}\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n readonly display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Api versions */\nexport enum KnownVersions {\n /** 2024-10-19 version */\n \"V2024-10-19\" = \"2024-10-19\",\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DevOpsInfrastructureClient } from "./devOpsInfrastructureClient.js";
|
|
2
|
+
import { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
3
|
+
import { AbortSignalLike } from "@azure/abort-controller";
|
|
4
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
|
|
6
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
7
|
+
updateIntervalInMs?: number;
|
|
8
|
+
/**
|
|
9
|
+
* The signal which can be used to abort requests.
|
|
10
|
+
*/
|
|
11
|
+
abortSignal?: AbortSignalLike;
|
|
12
|
+
/** Deserialization function for raw response body */
|
|
13
|
+
processResponseBody?: (result: TResponse) => Promise<TResult>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
17
|
+
* useful when you want to create pollers on a different host or a poller
|
|
18
|
+
* needs to be constructed after the original one is not in scope.
|
|
19
|
+
*/
|
|
20
|
+
export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: DevOpsInfrastructureClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
|
|
21
|
+
//# sourceMappingURL=restorePollerHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restorePollerHelpers.d.ts","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAO7E,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACL,UAAU,EACV,cAAc,EAGf,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,oBAAoB,CACnC,OAAO,EACP,SAAS,SAAS,qBAAqB,GAAG,qBAAqB,CAC/D,SAAQ,gBAAgB;IACxB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,qDAAqD;IACrD,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAC/D;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,SAAS,SAAS,qBAAqB,EAAE,OAAO,EAC5E,MAAM,EAAE,0BAA0B,EAClC,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,EACjF,OAAO,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,GACtC,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,CA+B9C"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { _poolsCreateOrUpdateDeserialize, _poolsUpdateDeserialize, _poolsDeleteDeserialize, } from "./api/pools/index.js";
|
|
4
|
+
import { getLongRunningPoller } from "./static-helpers/pollingHelpers.js";
|
|
5
|
+
import { deserializeState, } from "@azure/core-lro";
|
|
6
|
+
/**
|
|
7
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
8
|
+
* useful when you want to create pollers on a different host or a poller
|
|
9
|
+
* needs to be constructed after the original one is not in scope.
|
|
10
|
+
*/
|
|
11
|
+
export function restorePoller(client, serializedState, sourceOperation, options) {
|
|
12
|
+
var _a, _b, _c;
|
|
13
|
+
const pollerConfig = deserializeState(serializedState).config;
|
|
14
|
+
const { initialRequestUrl, requestMethod, metadata } = pollerConfig;
|
|
15
|
+
if (!initialRequestUrl || !requestMethod) {
|
|
16
|
+
throw new Error(`Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation === null || sourceOperation === void 0 ? void 0 : sourceOperation.name}`);
|
|
17
|
+
}
|
|
18
|
+
const resourceLocationConfig = metadata === null || metadata === void 0 ? void 0 : metadata["resourceLocationConfig"];
|
|
19
|
+
const { deserializer, expectedStatuses = [] } = (_a = getDeserializationHelper(initialRequestUrl, requestMethod)) !== null && _a !== void 0 ? _a : {};
|
|
20
|
+
const deserializeHelper = (_b = options === null || options === void 0 ? void 0 : options.processResponseBody) !== null && _b !== void 0 ? _b : deserializer;
|
|
21
|
+
if (!deserializeHelper) {
|
|
22
|
+
throw new Error(`Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation === null || sourceOperation === void 0 ? void 0 : sourceOperation.name}.`);
|
|
23
|
+
}
|
|
24
|
+
return getLongRunningPoller((_c = client["_client"]) !== null && _c !== void 0 ? _c : client, deserializeHelper, expectedStatuses, {
|
|
25
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
26
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
27
|
+
resourceLocationConfig,
|
|
28
|
+
restoreFrom: serializedState,
|
|
29
|
+
initialRequestUrl,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
const deserializeMap = {
|
|
33
|
+
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}": {
|
|
34
|
+
deserializer: _poolsCreateOrUpdateDeserialize,
|
|
35
|
+
expectedStatuses: ["200", "201"],
|
|
36
|
+
},
|
|
37
|
+
"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}": { deserializer: _poolsUpdateDeserialize, expectedStatuses: ["200", "202"] },
|
|
38
|
+
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}": {
|
|
39
|
+
deserializer: _poolsDeleteDeserialize,
|
|
40
|
+
expectedStatuses: ["202", "204", "200"],
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
function getDeserializationHelper(urlStr, method) {
|
|
44
|
+
var _a, _b, _c, _d;
|
|
45
|
+
const path = new URL(urlStr).pathname;
|
|
46
|
+
const pathParts = path.split("/");
|
|
47
|
+
// Traverse list to match the longest candidate
|
|
48
|
+
// matchedLen: the length of candidate path
|
|
49
|
+
// matchedValue: the matched status code array
|
|
50
|
+
let matchedLen = -1, matchedValue;
|
|
51
|
+
// Iterate the responseMap to find a match
|
|
52
|
+
for (const [key, value] of Object.entries(deserializeMap)) {
|
|
53
|
+
// Extracting the path from the map key which is in format
|
|
54
|
+
// GET /path/foo
|
|
55
|
+
if (!key.startsWith(method)) {
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
const candidatePath = getPathFromMapKey(key);
|
|
59
|
+
// Get each part of the url path
|
|
60
|
+
const candidateParts = candidatePath.split("/");
|
|
61
|
+
// track if we have found a match to return the values found.
|
|
62
|
+
let found = true;
|
|
63
|
+
for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
|
|
64
|
+
if (((_a = candidateParts[i]) === null || _a === void 0 ? void 0 : _a.startsWith("{")) && ((_b = candidateParts[i]) === null || _b === void 0 ? void 0 : _b.indexOf("}")) !== -1) {
|
|
65
|
+
const start = candidateParts[i].indexOf("}") + 1, end = (_c = candidateParts[i]) === null || _c === void 0 ? void 0 : _c.length;
|
|
66
|
+
// If the current part of the candidate is a "template" part
|
|
67
|
+
// Try to use the suffix of pattern to match the path
|
|
68
|
+
// {guid} ==> $
|
|
69
|
+
// {guid}:export ==> :export$
|
|
70
|
+
const isMatched = new RegExp(`${(_d = candidateParts[i]) === null || _d === void 0 ? void 0 : _d.slice(start, end)}`).test(pathParts[j] || "");
|
|
71
|
+
if (!isMatched) {
|
|
72
|
+
found = false;
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
continue;
|
|
76
|
+
}
|
|
77
|
+
// If the candidate part is not a template and
|
|
78
|
+
// the parts don't match mark the candidate as not found
|
|
79
|
+
// to move on with the next candidate path.
|
|
80
|
+
if (candidateParts[i] !== pathParts[j]) {
|
|
81
|
+
found = false;
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
// We finished evaluating the current candidate parts
|
|
86
|
+
// Update the matched value if and only if we found the longer pattern
|
|
87
|
+
if (found && candidatePath.length > matchedLen) {
|
|
88
|
+
matchedLen = candidatePath.length;
|
|
89
|
+
matchedValue = value;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return matchedValue;
|
|
93
|
+
}
|
|
94
|
+
function getPathFromMapKey(mapKey) {
|
|
95
|
+
const pathStart = mapKey.indexOf("/");
|
|
96
|
+
return mapKey.slice(pathStart);
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=restorePollerHelpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,+BAA+B,EAC/B,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAG1E,OAAO,EAGL,gBAAgB,GAEjB,MAAM,iBAAiB,CAAC;AAgBzB;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAC3B,MAAkC,EAClC,eAAuB,EACvB,eAAiF,EACjF,OAAuC;;IAEvC,MAAM,YAAY,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC;IAC9D,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,YAAY,CAAC;IACpE,IAAI,CAAC,iBAAiB,IAAI,CAAC,aAAa,EAAE,CAAC;QACzC,MAAM,IAAI,KAAK,CACb,6BAA6B,eAAe,wBAAwB,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,IAAI,EAAE,CAC5F,CAAC;IACJ,CAAC;IACD,MAAM,sBAAsB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,wBAAwB,CAErD,CAAC;IACd,MAAM,EAAE,YAAY,EAAE,gBAAgB,GAAG,EAAE,EAAE,GAC3C,MAAA,wBAAwB,CAAC,iBAAiB,EAAE,aAAa,CAAC,mCAAI,EAAE,CAAC;IACnE,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,mBAAmB,mCAAI,YAAY,CAAC;IACvE,IAAI,CAAC,i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C9C,wDAAwD;YACxD,2CAA2C;YAC3C,IAAI,cAAc,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;gBACvC,KAAK,GAAG,KAAK,CAAC;gBACd,MAAM;YACR,CAAC;QACH,CAAC;QAED,qDAAqD;QACrD,sEAAsE;QACtE,IAAI,KAAK,IAAI,aAAa,CAAC,MAAM,GAAG,UAAU,EAAE,CAAC;YAC/C,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC;YAClC,YAAY,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DevOpsInfrastructureClient } from \"./devOpsInfrastructureClient.js\";\nimport {\n _poolsCreateOrUpdateDeserialize,\n _poolsUpdateDeserialize,\n _poolsDeleteDeserialize,\n} from \"./api/pools/index.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n PollerLike,\n OperationState,\n deserializeState,\n ResourceLocationConfig,\n} from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: DevOpsInfrastructureClient,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n | ResourceLocationConfig\n | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n },\n );\n}\n\ninterface DeserializationHelper {\n deserializer: Function;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}\":\n {\n deserializer: _poolsCreateOrUpdateDeserialize,\n expectedStatuses: [\"200\", \"201\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}\":\n { deserializer: _poolsUpdateDeserialize, expectedStatuses: [\"200\", \"202\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}\":\n {\n deserializer: _poolsDeleteDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n"]}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Client, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
2
|
+
/**
|
|
3
|
+
* Options for the byPage method
|
|
4
|
+
*/
|
|
5
|
+
export interface PageSettings {
|
|
6
|
+
/**
|
|
7
|
+
* A reference to a specific page to start iterating from.
|
|
8
|
+
*/
|
|
9
|
+
continuationToken?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* An interface that describes a page of results.
|
|
13
|
+
*/
|
|
14
|
+
export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
|
|
15
|
+
/**
|
|
16
|
+
* The token that keeps track of where to continue the iterator
|
|
17
|
+
*/
|
|
18
|
+
continuationToken?: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* An interface that allows async iterable iteration both to completion and by page.
|
|
22
|
+
*/
|
|
23
|
+
export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
|
|
24
|
+
/**
|
|
25
|
+
* The next method, part of the iteration protocol
|
|
26
|
+
*/
|
|
27
|
+
next(): Promise<IteratorResult<TElement>>;
|
|
28
|
+
/**
|
|
29
|
+
* The connection to the async iterator, part of the iteration protocol
|
|
30
|
+
*/
|
|
31
|
+
[Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
|
|
32
|
+
/**
|
|
33
|
+
* Return an AsyncIterableIterator that works a page at a time
|
|
34
|
+
*/
|
|
35
|
+
byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* An interface that describes how to communicate with the service.
|
|
39
|
+
*/
|
|
40
|
+
export interface PagedResult<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
|
|
41
|
+
/**
|
|
42
|
+
* Link to the first page of results.
|
|
43
|
+
*/
|
|
44
|
+
firstPageLink?: string;
|
|
45
|
+
/**
|
|
46
|
+
* A method that returns a page of results.
|
|
47
|
+
*/
|
|
48
|
+
getPage: (pageLink?: string) => Promise<{
|
|
49
|
+
page: TPage;
|
|
50
|
+
nextPageLink?: string;
|
|
51
|
+
} | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* a function to implement the `byPage` method on the paged async iterator.
|
|
54
|
+
*/
|
|
55
|
+
byPage?: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
|
|
56
|
+
/**
|
|
57
|
+
* A function to extract elements from a page.
|
|
58
|
+
*/
|
|
59
|
+
toElements?: (page: TPage) => TElement[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Options for the paging helper
|
|
63
|
+
*/
|
|
64
|
+
export interface BuildPagedAsyncIteratorOptions {
|
|
65
|
+
itemName?: string;
|
|
66
|
+
nextLinkName?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Helper to paginate results in a generic way and return a PagedAsyncIterableIterator
|
|
70
|
+
*/
|
|
71
|
+
export declare function buildPagedAsyncIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings, TResponse extends PathUncheckedResponse = PathUncheckedResponse>(client: Client, getInitialResponse: () => PromiseLike<TResponse>, processResponseBody: (result: TResponse) => PromiseLike<unknown>, expectedStatuses: string[], options?: BuildPagedAsyncIteratorOptions): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
|
|
72
|
+
//# sourceMappingURL=pagingHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelpers.d.ts","sourceRoot":"","sources":["../../../src/static-helpers/pagingHelpers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGzF;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,CAAC,QAAQ,EAAE,KAAK,GAAG,QAAQ,EA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GAEG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EACR,KAAK,GAAG,QAAQ,EAAE,EAClB,aAAa,SAAS,YAAY,GAAG,YAAY,EACjD,SAAS,SAAS,qBAAqB,GAAG,qBAAqB,EAE/D,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,MAAM,WAAW,CAAC,SAAS,CAAC,EAChD,mBAAmB,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,WAAW,CAAC,OAAO,CAAC,EAChE,gBAAgB,EAAE,MAAM,EAAE,EAC1B,OAAO,GAAE,8BAAmC,GAC3C,0BAA0B,CAAC,QAAQ,EAAE,KAAK,EAAE,aAAa,CAAC,CA0B5D"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
4
|
+
import { createRestError } from "@azure-rest/core-client";
|
|
5
|
+
import { RestError } from "@azure/core-rest-pipeline";
|
|
6
|
+
/**
|
|
7
|
+
* Helper to paginate results in a generic way and return a PagedAsyncIterableIterator
|
|
8
|
+
*/
|
|
9
|
+
export function buildPagedAsyncIterator(client, getInitialResponse, processResponseBody, expectedStatuses, options = {}) {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const itemName = (_a = options.itemName) !== null && _a !== void 0 ? _a : "value";
|
|
12
|
+
const nextLinkName = (_b = options.nextLinkName) !== null && _b !== void 0 ? _b : "nextLink";
|
|
13
|
+
const pagedResult = {
|
|
14
|
+
getPage: async (pageLink) => {
|
|
15
|
+
const result = pageLink === undefined
|
|
16
|
+
? await getInitialResponse()
|
|
17
|
+
: await client.pathUnchecked(pageLink).get();
|
|
18
|
+
checkPagingRequest(result, expectedStatuses);
|
|
19
|
+
const results = await processResponseBody(result);
|
|
20
|
+
const nextLink = getNextLink(results, nextLinkName);
|
|
21
|
+
const values = getElements(results, itemName);
|
|
22
|
+
return {
|
|
23
|
+
page: values,
|
|
24
|
+
nextPageLink: nextLink,
|
|
25
|
+
};
|
|
26
|
+
},
|
|
27
|
+
byPage: (settings) => {
|
|
28
|
+
const { continuationToken } = settings !== null && settings !== void 0 ? settings : {};
|
|
29
|
+
return getPageAsyncIterator(pagedResult, {
|
|
30
|
+
pageLink: continuationToken,
|
|
31
|
+
});
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
return getPagedAsyncIterator(pagedResult);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* returns an async iterator that iterates over results. It also has a `byPage`
|
|
38
|
+
* method that returns pages of items at once.
|
|
39
|
+
*
|
|
40
|
+
* @param pagedResult - an object that specifies how to get pages.
|
|
41
|
+
* @returns a paged async iterator that iterates over results.
|
|
42
|
+
*/
|
|
43
|
+
function getPagedAsyncIterator(pagedResult) {
|
|
44
|
+
var _a;
|
|
45
|
+
const iter = getItemAsyncIterator(pagedResult);
|
|
46
|
+
return {
|
|
47
|
+
next() {
|
|
48
|
+
return iter.next();
|
|
49
|
+
},
|
|
50
|
+
[Symbol.asyncIterator]() {
|
|
51
|
+
return this;
|
|
52
|
+
},
|
|
53
|
+
byPage: (_a = pagedResult === null || pagedResult === void 0 ? void 0 : pagedResult.byPage) !== null && _a !== void 0 ? _a : ((settings) => {
|
|
54
|
+
const { continuationToken } = settings !== null && settings !== void 0 ? settings : {};
|
|
55
|
+
return getPageAsyncIterator(pagedResult, {
|
|
56
|
+
pageLink: continuationToken,
|
|
57
|
+
});
|
|
58
|
+
}),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function getItemAsyncIterator(pagedResult) {
|
|
62
|
+
return __asyncGenerator(this, arguments, function* getItemAsyncIterator_1() {
|
|
63
|
+
var _a, e_1, _b, _c;
|
|
64
|
+
const pages = getPageAsyncIterator(pagedResult);
|
|
65
|
+
try {
|
|
66
|
+
for (var _d = true, pages_1 = __asyncValues(pages), pages_1_1; pages_1_1 = yield __await(pages_1.next()), _a = pages_1_1.done, !_a; _d = true) {
|
|
67
|
+
_c = pages_1_1.value;
|
|
68
|
+
_d = false;
|
|
69
|
+
const page = _c;
|
|
70
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
74
|
+
finally {
|
|
75
|
+
try {
|
|
76
|
+
if (!_d && !_a && (_b = pages_1.return)) yield __await(_b.call(pages_1));
|
|
77
|
+
}
|
|
78
|
+
finally { if (e_1) throw e_1.error; }
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
function getPageAsyncIterator(pagedResult_1) {
|
|
83
|
+
return __asyncGenerator(this, arguments, function* getPageAsyncIterator_1(pagedResult, options = {}) {
|
|
84
|
+
const { pageLink } = options;
|
|
85
|
+
let response = yield __await(pagedResult.getPage(pageLink !== null && pageLink !== void 0 ? pageLink : pagedResult.firstPageLink));
|
|
86
|
+
if (!response) {
|
|
87
|
+
return yield __await(void 0);
|
|
88
|
+
}
|
|
89
|
+
let result = response.page;
|
|
90
|
+
result.continuationToken = response.nextPageLink;
|
|
91
|
+
yield yield __await(result);
|
|
92
|
+
while (response.nextPageLink) {
|
|
93
|
+
response = yield __await(pagedResult.getPage(response.nextPageLink));
|
|
94
|
+
if (!response) {
|
|
95
|
+
return yield __await(void 0);
|
|
96
|
+
}
|
|
97
|
+
result = response.page;
|
|
98
|
+
result.continuationToken = response.nextPageLink;
|
|
99
|
+
yield yield __await(result);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Gets for the value of nextLink in the body
|
|
105
|
+
*/
|
|
106
|
+
function getNextLink(body, nextLinkName) {
|
|
107
|
+
if (!nextLinkName) {
|
|
108
|
+
return undefined;
|
|
109
|
+
}
|
|
110
|
+
const nextLink = body[nextLinkName];
|
|
111
|
+
if (typeof nextLink !== "string" && typeof nextLink !== "undefined" && nextLink !== null) {
|
|
112
|
+
throw new RestError(`Body Property ${nextLinkName} should be a string or undefined or null but got ${typeof nextLink}`);
|
|
113
|
+
}
|
|
114
|
+
if (nextLink === null) {
|
|
115
|
+
return undefined;
|
|
116
|
+
}
|
|
117
|
+
return nextLink;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Gets the elements of the current request in the body.
|
|
121
|
+
*/
|
|
122
|
+
function getElements(body, itemName) {
|
|
123
|
+
const value = body[itemName];
|
|
124
|
+
if (!Array.isArray(value)) {
|
|
125
|
+
throw new RestError(`Couldn't paginate response\n Body doesn't contain an array property with name: ${itemName}`);
|
|
126
|
+
}
|
|
127
|
+
return value !== null && value !== void 0 ? value : [];
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Checks if a request failed
|
|
131
|
+
*/
|
|
132
|
+
function checkPagingRequest(response, expectedStatuses) {
|
|
133
|
+
if (!expectedStatuses.includes(response.status)) {
|
|
134
|
+
throw createRestError(`Pagination failed with unexpected statusCode ${response.status}`, response);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
//# sourceMappingURL=pagingHelpers.js.map
|