@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
|
@@ -0,0 +1,1038 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
export function _imageVersionListResultDeserializer(item) {
|
|
4
|
+
return {
|
|
5
|
+
value: imageVersionArrayDeserializer(item["value"]),
|
|
6
|
+
nextLink: item["nextLink"],
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export function imageVersionArrayDeserializer(result) {
|
|
10
|
+
return result.map((item) => {
|
|
11
|
+
return imageVersionDeserializer(item);
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
export function imageVersionDeserializer(item) {
|
|
15
|
+
return {
|
|
16
|
+
id: item["id"],
|
|
17
|
+
name: item["name"],
|
|
18
|
+
type: item["type"],
|
|
19
|
+
systemData: !item["systemData"]
|
|
20
|
+
? item["systemData"]
|
|
21
|
+
: systemDataDeserializer(item["systemData"]),
|
|
22
|
+
properties: !item["properties"]
|
|
23
|
+
? item["properties"]
|
|
24
|
+
: imageVersionPropertiesDeserializer(item["properties"]),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function imageVersionPropertiesDeserializer(item) {
|
|
28
|
+
return {
|
|
29
|
+
version: item["version"],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function proxyResourceDeserializer(item) {
|
|
33
|
+
return {
|
|
34
|
+
id: item["id"],
|
|
35
|
+
name: item["name"],
|
|
36
|
+
type: item["type"],
|
|
37
|
+
systemData: !item["systemData"]
|
|
38
|
+
? item["systemData"]
|
|
39
|
+
: systemDataDeserializer(item["systemData"]),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function resourceSerializer(item) {
|
|
43
|
+
return item;
|
|
44
|
+
}
|
|
45
|
+
export function resourceDeserializer(item) {
|
|
46
|
+
return {
|
|
47
|
+
id: item["id"],
|
|
48
|
+
name: item["name"],
|
|
49
|
+
type: item["type"],
|
|
50
|
+
systemData: !item["systemData"]
|
|
51
|
+
? item["systemData"]
|
|
52
|
+
: systemDataDeserializer(item["systemData"]),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export function systemDataDeserializer(item) {
|
|
56
|
+
return {
|
|
57
|
+
createdBy: item["createdBy"],
|
|
58
|
+
createdByType: item["createdByType"],
|
|
59
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
60
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
61
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
62
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
63
|
+
? item["lastModifiedAt"]
|
|
64
|
+
: new Date(item["lastModifiedAt"]),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
/** The kind of entity that created the resource. */
|
|
68
|
+
export var KnownCreatedByType;
|
|
69
|
+
(function (KnownCreatedByType) {
|
|
70
|
+
/** The entity was created by a user. */
|
|
71
|
+
KnownCreatedByType["User"] = "User";
|
|
72
|
+
/** The entity was created by an application. */
|
|
73
|
+
KnownCreatedByType["Application"] = "Application";
|
|
74
|
+
/** The entity was created by a managed identity. */
|
|
75
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
76
|
+
/** The entity was created by a key. */
|
|
77
|
+
KnownCreatedByType["Key"] = "Key";
|
|
78
|
+
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
79
|
+
export function _pagedQuotaDeserializer(item) {
|
|
80
|
+
return {
|
|
81
|
+
value: quotaArrayDeserializer(item["value"]),
|
|
82
|
+
nextLink: item["nextLink"],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export function quotaArrayDeserializer(result) {
|
|
86
|
+
return result.map((item) => {
|
|
87
|
+
return quotaDeserializer(item);
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
export function quotaDeserializer(item) {
|
|
91
|
+
return {
|
|
92
|
+
name: !item["name"] ? item["name"] : quotaNameDeserializer(item["name"]),
|
|
93
|
+
id: item["id"],
|
|
94
|
+
unit: item["unit"],
|
|
95
|
+
currentValue: item["currentValue"],
|
|
96
|
+
limit: item["limit"],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
export function quotaNameDeserializer(item) {
|
|
100
|
+
return {
|
|
101
|
+
value: item["value"],
|
|
102
|
+
localizedValue: item["localizedValue"],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export function _resourceSkuListResultDeserializer(item) {
|
|
106
|
+
return {
|
|
107
|
+
value: resourceSkuArrayDeserializer(item["value"]),
|
|
108
|
+
nextLink: item["nextLink"],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
export function resourceSkuArrayDeserializer(result) {
|
|
112
|
+
return result.map((item) => {
|
|
113
|
+
return resourceSkuDeserializer(item);
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
export function resourceSkuDeserializer(item) {
|
|
117
|
+
return {
|
|
118
|
+
id: item["id"],
|
|
119
|
+
name: item["name"],
|
|
120
|
+
type: item["type"],
|
|
121
|
+
systemData: !item["systemData"]
|
|
122
|
+
? item["systemData"]
|
|
123
|
+
: systemDataDeserializer(item["systemData"]),
|
|
124
|
+
properties: !item["properties"]
|
|
125
|
+
? item["properties"]
|
|
126
|
+
: resourceSkuPropertiesDeserializer(item["properties"]),
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
export function resourceSkuPropertiesDeserializer(item) {
|
|
130
|
+
return {
|
|
131
|
+
resourceType: item["resourceType"],
|
|
132
|
+
tier: item["tier"],
|
|
133
|
+
size: item["size"],
|
|
134
|
+
family: item["family"],
|
|
135
|
+
locations: item["locations"].map((p) => {
|
|
136
|
+
return p;
|
|
137
|
+
}),
|
|
138
|
+
locationInfo: resourceSkuLocationInfoArrayDeserializer(item["locationInfo"]),
|
|
139
|
+
capabilities: resourceSkuCapabilitiesArrayDeserializer(item["capabilities"]),
|
|
140
|
+
restrictions: resourceSkuRestrictionsArrayDeserializer(item["restrictions"]),
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
export function resourceSkuLocationInfoArrayDeserializer(result) {
|
|
144
|
+
return result.map((item) => {
|
|
145
|
+
return resourceSkuLocationInfoDeserializer(item);
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
export function resourceSkuLocationInfoDeserializer(item) {
|
|
149
|
+
return {
|
|
150
|
+
location: item["location"],
|
|
151
|
+
zones: item["zones"].map((p) => {
|
|
152
|
+
return p;
|
|
153
|
+
}),
|
|
154
|
+
zoneDetails: resourceSkuZoneDetailsArrayDeserializer(item["zoneDetails"]),
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
export function resourceSkuZoneDetailsArrayDeserializer(result) {
|
|
158
|
+
return result.map((item) => {
|
|
159
|
+
return resourceSkuZoneDetailsDeserializer(item);
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
export function resourceSkuZoneDetailsDeserializer(item) {
|
|
163
|
+
return {
|
|
164
|
+
name: item["name"].map((p) => {
|
|
165
|
+
return p;
|
|
166
|
+
}),
|
|
167
|
+
capabilities: resourceSkuCapabilitiesArrayDeserializer(item["capabilities"]),
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
export function resourceSkuCapabilitiesArrayDeserializer(result) {
|
|
171
|
+
return result.map((item) => {
|
|
172
|
+
return resourceSkuCapabilitiesDeserializer(item);
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
export function resourceSkuCapabilitiesDeserializer(item) {
|
|
176
|
+
return {
|
|
177
|
+
name: item["name"],
|
|
178
|
+
value: item["value"],
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
export function resourceSkuRestrictionsArrayDeserializer(result) {
|
|
182
|
+
return result.map((item) => {
|
|
183
|
+
return resourceSkuRestrictionsDeserializer(item);
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
export function resourceSkuRestrictionsDeserializer(item) {
|
|
187
|
+
return {
|
|
188
|
+
type: item["type"],
|
|
189
|
+
values: item["values"].map((p) => {
|
|
190
|
+
return p;
|
|
191
|
+
}),
|
|
192
|
+
restrictionInfo: resourceSkuRestrictionInfoDeserializer(item["restrictionInfo"]),
|
|
193
|
+
reasonCode: item["reasonCode"],
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
/** Describes the kind of SKU restrictions that can exist */
|
|
197
|
+
export var KnownResourceSkuRestrictionsType;
|
|
198
|
+
(function (KnownResourceSkuRestrictionsType) {
|
|
199
|
+
/** SKU restricted by location. */
|
|
200
|
+
KnownResourceSkuRestrictionsType["Location"] = "Location";
|
|
201
|
+
/** SKU restricted by availability zone. */
|
|
202
|
+
KnownResourceSkuRestrictionsType["Zone"] = "Zone";
|
|
203
|
+
})(KnownResourceSkuRestrictionsType || (KnownResourceSkuRestrictionsType = {}));
|
|
204
|
+
export function resourceSkuRestrictionInfoDeserializer(item) {
|
|
205
|
+
return {
|
|
206
|
+
locations: !item["locations"]
|
|
207
|
+
? item["locations"]
|
|
208
|
+
: item["locations"].map((p) => {
|
|
209
|
+
return p;
|
|
210
|
+
}),
|
|
211
|
+
zones: !item["zones"]
|
|
212
|
+
? item["zones"]
|
|
213
|
+
: item["zones"].map((p) => {
|
|
214
|
+
return p;
|
|
215
|
+
}),
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
/** Describes the reason for SKU restriction. */
|
|
219
|
+
export var KnownResourceSkuRestrictionsReasonCode;
|
|
220
|
+
(function (KnownResourceSkuRestrictionsReasonCode) {
|
|
221
|
+
/** The restriction is due to exceeding a quota limitation. */
|
|
222
|
+
KnownResourceSkuRestrictionsReasonCode["QuotaId"] = "QuotaId";
|
|
223
|
+
/** The restriction is not available for this subscription. */
|
|
224
|
+
KnownResourceSkuRestrictionsReasonCode["NotAvailableForSubscription"] = "NotAvailableForSubscription";
|
|
225
|
+
})(KnownResourceSkuRestrictionsReasonCode || (KnownResourceSkuRestrictionsReasonCode = {}));
|
|
226
|
+
export function _resourceDetailsObjectListResultDeserializer(item) {
|
|
227
|
+
return {
|
|
228
|
+
value: resourceDetailsObjectArrayDeserializer(item["value"]),
|
|
229
|
+
nextLink: item["nextLink"],
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
export function resourceDetailsObjectArrayDeserializer(result) {
|
|
233
|
+
return result.map((item) => {
|
|
234
|
+
return resourceDetailsObjectDeserializer(item);
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
export function resourceDetailsObjectDeserializer(item) {
|
|
238
|
+
return {
|
|
239
|
+
id: item["id"],
|
|
240
|
+
name: item["name"],
|
|
241
|
+
type: item["type"],
|
|
242
|
+
systemData: !item["systemData"]
|
|
243
|
+
? item["systemData"]
|
|
244
|
+
: systemDataDeserializer(item["systemData"]),
|
|
245
|
+
properties: !item["properties"]
|
|
246
|
+
? item["properties"]
|
|
247
|
+
: resourceDetailsObjectPropertiesDeserializer(item["properties"]),
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
export function resourceDetailsObjectPropertiesDeserializer(item) {
|
|
251
|
+
return {
|
|
252
|
+
status: item["status"],
|
|
253
|
+
image: item["image"],
|
|
254
|
+
imageVersion: item["imageVersion"],
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
/** The status of the machine resource. */
|
|
258
|
+
export var KnownResourceStatus;
|
|
259
|
+
(function (KnownResourceStatus) {
|
|
260
|
+
/** Represents a machine resource that is ready. */
|
|
261
|
+
KnownResourceStatus["Ready"] = "Ready";
|
|
262
|
+
/** Represents a machine resource that is not ready. */
|
|
263
|
+
KnownResourceStatus["NotReady"] = "NotReady";
|
|
264
|
+
/** Represents a machine resource that is allocated. */
|
|
265
|
+
KnownResourceStatus["Allocated"] = "Allocated";
|
|
266
|
+
/** Represents a machine resource that is pending return. */
|
|
267
|
+
KnownResourceStatus["PendingReturn"] = "PendingReturn";
|
|
268
|
+
/** Represents a machine resource that is returned. */
|
|
269
|
+
KnownResourceStatus["Returned"] = "Returned";
|
|
270
|
+
/** Represents a machine resource that is leased. */
|
|
271
|
+
KnownResourceStatus["Leased"] = "Leased";
|
|
272
|
+
/** Represents a machine resource that is provisioning. */
|
|
273
|
+
KnownResourceStatus["Provisioning"] = "Provisioning";
|
|
274
|
+
/** Represents a machine resource that is updating. */
|
|
275
|
+
KnownResourceStatus["Updating"] = "Updating";
|
|
276
|
+
/** Represents a machine resource that is starting. */
|
|
277
|
+
KnownResourceStatus["Starting"] = "Starting";
|
|
278
|
+
/** Represents a machine resource that is pending reimage. */
|
|
279
|
+
KnownResourceStatus["PendingReimage"] = "PendingReimage";
|
|
280
|
+
/** Represents a machine resource that is reimaging. */
|
|
281
|
+
KnownResourceStatus["Reimaging"] = "Reimaging";
|
|
282
|
+
})(KnownResourceStatus || (KnownResourceStatus = {}));
|
|
283
|
+
export function poolSerializer(item) {
|
|
284
|
+
return {
|
|
285
|
+
tags: item["tags"],
|
|
286
|
+
location: item["location"],
|
|
287
|
+
properties: !item["properties"]
|
|
288
|
+
? item["properties"]
|
|
289
|
+
: poolPropertiesSerializer(item["properties"]),
|
|
290
|
+
identity: !item["identity"]
|
|
291
|
+
? item["identity"]
|
|
292
|
+
: managedServiceIdentitySerializer(item["identity"]),
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
export function poolDeserializer(item) {
|
|
296
|
+
return {
|
|
297
|
+
tags: item["tags"],
|
|
298
|
+
location: item["location"],
|
|
299
|
+
id: item["id"],
|
|
300
|
+
name: item["name"],
|
|
301
|
+
type: item["type"],
|
|
302
|
+
systemData: !item["systemData"]
|
|
303
|
+
? item["systemData"]
|
|
304
|
+
: systemDataDeserializer(item["systemData"]),
|
|
305
|
+
properties: !item["properties"]
|
|
306
|
+
? item["properties"]
|
|
307
|
+
: poolPropertiesDeserializer(item["properties"]),
|
|
308
|
+
identity: !item["identity"]
|
|
309
|
+
? item["identity"]
|
|
310
|
+
: managedServiceIdentityDeserializer(item["identity"]),
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
export function poolPropertiesSerializer(item) {
|
|
314
|
+
return {
|
|
315
|
+
provisioningState: item["provisioningState"],
|
|
316
|
+
maximumConcurrency: item["maximumConcurrency"],
|
|
317
|
+
organizationProfile: organizationProfileUnionSerializer(item["organizationProfile"]),
|
|
318
|
+
agentProfile: agentProfileUnionSerializer(item["agentProfile"]),
|
|
319
|
+
fabricProfile: fabricProfileUnionSerializer(item["fabricProfile"]),
|
|
320
|
+
devCenterProjectResourceId: item["devCenterProjectResourceId"],
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
export function poolPropertiesDeserializer(item) {
|
|
324
|
+
return {
|
|
325
|
+
provisioningState: item["provisioningState"],
|
|
326
|
+
maximumConcurrency: item["maximumConcurrency"],
|
|
327
|
+
organizationProfile: organizationProfileUnionDeserializer(item["organizationProfile"]),
|
|
328
|
+
agentProfile: agentProfileUnionDeserializer(item["agentProfile"]),
|
|
329
|
+
fabricProfile: fabricProfileUnionDeserializer(item["fabricProfile"]),
|
|
330
|
+
devCenterProjectResourceId: item["devCenterProjectResourceId"],
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
/** The status of the current operation. */
|
|
334
|
+
export var KnownProvisioningState;
|
|
335
|
+
(function (KnownProvisioningState) {
|
|
336
|
+
/** Represents a succeeded operation. */
|
|
337
|
+
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
338
|
+
/** Represents a failed operation. */
|
|
339
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
340
|
+
/** Represents a canceled operation. */
|
|
341
|
+
KnownProvisioningState["Canceled"] = "Canceled";
|
|
342
|
+
/** Represents a pending operation. */
|
|
343
|
+
KnownProvisioningState["Provisioning"] = "Provisioning";
|
|
344
|
+
/** Represents a pending operation. */
|
|
345
|
+
KnownProvisioningState["Updating"] = "Updating";
|
|
346
|
+
/** Represents an operation under deletion. */
|
|
347
|
+
KnownProvisioningState["Deleting"] = "Deleting";
|
|
348
|
+
/** Represents an accepted operation. */
|
|
349
|
+
KnownProvisioningState["Accepted"] = "Accepted";
|
|
350
|
+
})(KnownProvisioningState || (KnownProvisioningState = {}));
|
|
351
|
+
export function organizationProfileSerializer(item) {
|
|
352
|
+
return { kind: item["kind"] };
|
|
353
|
+
}
|
|
354
|
+
export function organizationProfileDeserializer(item) {
|
|
355
|
+
return {
|
|
356
|
+
kind: item["kind"],
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
export function organizationProfileUnionSerializer(item) {
|
|
360
|
+
switch (item.kind) {
|
|
361
|
+
case "GitHub":
|
|
362
|
+
return gitHubOrganizationProfileSerializer(item);
|
|
363
|
+
case "AzureDevOps":
|
|
364
|
+
return azureDevOpsOrganizationProfileSerializer(item);
|
|
365
|
+
default:
|
|
366
|
+
return organizationProfileSerializer(item);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
export function organizationProfileUnionDeserializer(item) {
|
|
370
|
+
switch (item.kind) {
|
|
371
|
+
case "GitHub":
|
|
372
|
+
return gitHubOrganizationProfileDeserializer(item);
|
|
373
|
+
case "AzureDevOps":
|
|
374
|
+
return azureDevOpsOrganizationProfileDeserializer(item);
|
|
375
|
+
default:
|
|
376
|
+
return organizationProfileDeserializer(item);
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
export function gitHubOrganizationProfileSerializer(item) {
|
|
380
|
+
return {
|
|
381
|
+
kind: item["kind"],
|
|
382
|
+
organizations: gitHubOrganizationArraySerializer(item["organizations"]),
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
export function gitHubOrganizationProfileDeserializer(item) {
|
|
386
|
+
return {
|
|
387
|
+
kind: item["kind"],
|
|
388
|
+
organizations: gitHubOrganizationArrayDeserializer(item["organizations"]),
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
export function gitHubOrganizationArraySerializer(result) {
|
|
392
|
+
return result.map((item) => {
|
|
393
|
+
return gitHubOrganizationSerializer(item);
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
export function gitHubOrganizationArrayDeserializer(result) {
|
|
397
|
+
return result.map((item) => {
|
|
398
|
+
return gitHubOrganizationDeserializer(item);
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
export function gitHubOrganizationSerializer(item) {
|
|
402
|
+
return {
|
|
403
|
+
url: item["url"],
|
|
404
|
+
repositories: !item["repositories"]
|
|
405
|
+
? item["repositories"]
|
|
406
|
+
: item["repositories"].map((p) => {
|
|
407
|
+
return p;
|
|
408
|
+
}),
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
export function gitHubOrganizationDeserializer(item) {
|
|
412
|
+
return {
|
|
413
|
+
url: item["url"],
|
|
414
|
+
repositories: !item["repositories"]
|
|
415
|
+
? item["repositories"]
|
|
416
|
+
: item["repositories"].map((p) => {
|
|
417
|
+
return p;
|
|
418
|
+
}),
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
export function azureDevOpsOrganizationProfileSerializer(item) {
|
|
422
|
+
return {
|
|
423
|
+
kind: item["kind"],
|
|
424
|
+
organizations: organizationArraySerializer(item["organizations"]),
|
|
425
|
+
permissionProfile: !item["permissionProfile"]
|
|
426
|
+
? item["permissionProfile"]
|
|
427
|
+
: azureDevOpsPermissionProfileSerializer(item["permissionProfile"]),
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
export function azureDevOpsOrganizationProfileDeserializer(item) {
|
|
431
|
+
return {
|
|
432
|
+
kind: item["kind"],
|
|
433
|
+
organizations: organizationArrayDeserializer(item["organizations"]),
|
|
434
|
+
permissionProfile: !item["permissionProfile"]
|
|
435
|
+
? item["permissionProfile"]
|
|
436
|
+
: azureDevOpsPermissionProfileDeserializer(item["permissionProfile"]),
|
|
437
|
+
};
|
|
438
|
+
}
|
|
439
|
+
export function organizationArraySerializer(result) {
|
|
440
|
+
return result.map((item) => {
|
|
441
|
+
return organizationSerializer(item);
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
export function organizationArrayDeserializer(result) {
|
|
445
|
+
return result.map((item) => {
|
|
446
|
+
return organizationDeserializer(item);
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
export function organizationSerializer(item) {
|
|
450
|
+
return {
|
|
451
|
+
url: item["url"],
|
|
452
|
+
projects: !item["projects"]
|
|
453
|
+
? item["projects"]
|
|
454
|
+
: item["projects"].map((p) => {
|
|
455
|
+
return p;
|
|
456
|
+
}),
|
|
457
|
+
parallelism: item["parallelism"],
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
export function organizationDeserializer(item) {
|
|
461
|
+
return {
|
|
462
|
+
url: item["url"],
|
|
463
|
+
projects: !item["projects"]
|
|
464
|
+
? item["projects"]
|
|
465
|
+
: item["projects"].map((p) => {
|
|
466
|
+
return p;
|
|
467
|
+
}),
|
|
468
|
+
parallelism: item["parallelism"],
|
|
469
|
+
};
|
|
470
|
+
}
|
|
471
|
+
export function azureDevOpsPermissionProfileSerializer(item) {
|
|
472
|
+
return {
|
|
473
|
+
kind: item["kind"],
|
|
474
|
+
users: !item["users"]
|
|
475
|
+
? item["users"]
|
|
476
|
+
: item["users"].map((p) => {
|
|
477
|
+
return p;
|
|
478
|
+
}),
|
|
479
|
+
groups: !item["groups"]
|
|
480
|
+
? item["groups"]
|
|
481
|
+
: item["groups"].map((p) => {
|
|
482
|
+
return p;
|
|
483
|
+
}),
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
export function azureDevOpsPermissionProfileDeserializer(item) {
|
|
487
|
+
return {
|
|
488
|
+
kind: item["kind"],
|
|
489
|
+
users: !item["users"]
|
|
490
|
+
? item["users"]
|
|
491
|
+
: item["users"].map((p) => {
|
|
492
|
+
return p;
|
|
493
|
+
}),
|
|
494
|
+
groups: !item["groups"]
|
|
495
|
+
? item["groups"]
|
|
496
|
+
: item["groups"].map((p) => {
|
|
497
|
+
return p;
|
|
498
|
+
}),
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
/** Determines who has admin permissions to the Azure DevOps pool. */
|
|
502
|
+
export var KnownAzureDevOpsPermissionType;
|
|
503
|
+
(function (KnownAzureDevOpsPermissionType) {
|
|
504
|
+
/** Pool will inherit permissions from the project or organization. */
|
|
505
|
+
KnownAzureDevOpsPermissionType["Inherit"] = "Inherit";
|
|
506
|
+
/** Only the pool creator will be an admin of the pool. */
|
|
507
|
+
KnownAzureDevOpsPermissionType["CreatorOnly"] = "CreatorOnly";
|
|
508
|
+
/** Only the specified accounts will be admins of the pool. */
|
|
509
|
+
KnownAzureDevOpsPermissionType["SpecificAccounts"] = "SpecificAccounts";
|
|
510
|
+
})(KnownAzureDevOpsPermissionType || (KnownAzureDevOpsPermissionType = {}));
|
|
511
|
+
export function agentProfileSerializer(item) {
|
|
512
|
+
return {
|
|
513
|
+
resourcePredictions: !item["resourcePredictions"]
|
|
514
|
+
? item["resourcePredictions"]
|
|
515
|
+
: resourcePredictionsSerializer(item["resourcePredictions"]),
|
|
516
|
+
resourcePredictionsProfile: !item["resourcePredictionsProfile"]
|
|
517
|
+
? item["resourcePredictionsProfile"]
|
|
518
|
+
: resourcePredictionsProfileUnionSerializer(item["resourcePredictionsProfile"]),
|
|
519
|
+
kind: item["kind"],
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
export function agentProfileDeserializer(item) {
|
|
523
|
+
return {
|
|
524
|
+
resourcePredictions: !item["resourcePredictions"]
|
|
525
|
+
? item["resourcePredictions"]
|
|
526
|
+
: resourcePredictionsDeserializer(item["resourcePredictions"]),
|
|
527
|
+
resourcePredictionsProfile: !item["resourcePredictionsProfile"]
|
|
528
|
+
? item["resourcePredictionsProfile"]
|
|
529
|
+
: resourcePredictionsProfileUnionDeserializer(item["resourcePredictionsProfile"]),
|
|
530
|
+
kind: item["kind"],
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
export function agentProfileUnionSerializer(item) {
|
|
534
|
+
switch (item.kind) {
|
|
535
|
+
case "Stateless":
|
|
536
|
+
return statelessAgentProfileSerializer(item);
|
|
537
|
+
case "Stateful":
|
|
538
|
+
return statefulSerializer(item);
|
|
539
|
+
default:
|
|
540
|
+
return agentProfileSerializer(item);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
export function agentProfileUnionDeserializer(item) {
|
|
544
|
+
switch (item.kind) {
|
|
545
|
+
case "Stateless":
|
|
546
|
+
return statelessAgentProfileDeserializer(item);
|
|
547
|
+
case "Stateful":
|
|
548
|
+
return statefulDeserializer(item);
|
|
549
|
+
default:
|
|
550
|
+
return agentProfileDeserializer(item);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
export function resourcePredictionsSerializer(item) {
|
|
554
|
+
return item;
|
|
555
|
+
}
|
|
556
|
+
export function resourcePredictionsDeserializer(item) {
|
|
557
|
+
return item;
|
|
558
|
+
}
|
|
559
|
+
export function resourcePredictionsProfileSerializer(item) {
|
|
560
|
+
return { kind: item["kind"] };
|
|
561
|
+
}
|
|
562
|
+
export function resourcePredictionsProfileDeserializer(item) {
|
|
563
|
+
return {
|
|
564
|
+
kind: item["kind"],
|
|
565
|
+
};
|
|
566
|
+
}
|
|
567
|
+
export function resourcePredictionsProfileUnionSerializer(item) {
|
|
568
|
+
switch (item.kind) {
|
|
569
|
+
case "Manual":
|
|
570
|
+
return manualResourcePredictionsProfileSerializer(item);
|
|
571
|
+
case "Automatic":
|
|
572
|
+
return automaticResourcePredictionsProfileSerializer(item);
|
|
573
|
+
default:
|
|
574
|
+
return resourcePredictionsProfileSerializer(item);
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
export function resourcePredictionsProfileUnionDeserializer(item) {
|
|
578
|
+
switch (item.kind) {
|
|
579
|
+
case "Manual":
|
|
580
|
+
return manualResourcePredictionsProfileDeserializer(item);
|
|
581
|
+
case "Automatic":
|
|
582
|
+
return automaticResourcePredictionsProfileDeserializer(item);
|
|
583
|
+
default:
|
|
584
|
+
return resourcePredictionsProfileDeserializer(item);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
/** Determines how the stand-by scheme should be provided. */
|
|
588
|
+
export var KnownResourcePredictionsProfileType;
|
|
589
|
+
(function (KnownResourcePredictionsProfileType) {
|
|
590
|
+
/** Customer provides the stand-by agent scheme. */
|
|
591
|
+
KnownResourcePredictionsProfileType["Manual"] = "Manual";
|
|
592
|
+
/** The stand-by agent scheme is determined based on historical demand. */
|
|
593
|
+
KnownResourcePredictionsProfileType["Automatic"] = "Automatic";
|
|
594
|
+
})(KnownResourcePredictionsProfileType || (KnownResourcePredictionsProfileType = {}));
|
|
595
|
+
export function manualResourcePredictionsProfileSerializer(item) {
|
|
596
|
+
return { kind: item["kind"] };
|
|
597
|
+
}
|
|
598
|
+
export function manualResourcePredictionsProfileDeserializer(item) {
|
|
599
|
+
return {
|
|
600
|
+
kind: item["kind"],
|
|
601
|
+
};
|
|
602
|
+
}
|
|
603
|
+
export function automaticResourcePredictionsProfileSerializer(item) {
|
|
604
|
+
return {
|
|
605
|
+
kind: item["kind"],
|
|
606
|
+
predictionPreference: item["predictionPreference"],
|
|
607
|
+
};
|
|
608
|
+
}
|
|
609
|
+
export function automaticResourcePredictionsProfileDeserializer(item) {
|
|
610
|
+
return {
|
|
611
|
+
kind: item["kind"],
|
|
612
|
+
predictionPreference: item["predictionPreference"],
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
/** Determines the balance between cost and performance. */
|
|
616
|
+
export var KnownPredictionPreference;
|
|
617
|
+
(function (KnownPredictionPreference) {
|
|
618
|
+
/** Balance between cost and performance. */
|
|
619
|
+
KnownPredictionPreference["Balanced"] = "Balanced";
|
|
620
|
+
/** Optimizes for cost over performance. */
|
|
621
|
+
KnownPredictionPreference["MostCostEffective"] = "MostCostEffective";
|
|
622
|
+
/** Halfway through cost and balanced. */
|
|
623
|
+
KnownPredictionPreference["MoreCostEffective"] = "MoreCostEffective";
|
|
624
|
+
/** Halfway through balanced and performance. */
|
|
625
|
+
KnownPredictionPreference["MorePerformance"] = "MorePerformance";
|
|
626
|
+
/** Optimizes for performance over cost. */
|
|
627
|
+
KnownPredictionPreference["BestPerformance"] = "BestPerformance";
|
|
628
|
+
})(KnownPredictionPreference || (KnownPredictionPreference = {}));
|
|
629
|
+
export function statelessAgentProfileSerializer(item) {
|
|
630
|
+
return {
|
|
631
|
+
resourcePredictions: !item["resourcePredictions"]
|
|
632
|
+
? item["resourcePredictions"]
|
|
633
|
+
: resourcePredictionsSerializer(item["resourcePredictions"]),
|
|
634
|
+
resourcePredictionsProfile: !item["resourcePredictionsProfile"]
|
|
635
|
+
? item["resourcePredictionsProfile"]
|
|
636
|
+
: resourcePredictionsProfileUnionSerializer(item["resourcePredictionsProfile"]),
|
|
637
|
+
kind: item["kind"],
|
|
638
|
+
};
|
|
639
|
+
}
|
|
640
|
+
export function statelessAgentProfileDeserializer(item) {
|
|
641
|
+
return {
|
|
642
|
+
resourcePredictions: !item["resourcePredictions"]
|
|
643
|
+
? item["resourcePredictions"]
|
|
644
|
+
: resourcePredictionsDeserializer(item["resourcePredictions"]),
|
|
645
|
+
resourcePredictionsProfile: !item["resourcePredictionsProfile"]
|
|
646
|
+
? item["resourcePredictionsProfile"]
|
|
647
|
+
: resourcePredictionsProfileUnionDeserializer(item["resourcePredictionsProfile"]),
|
|
648
|
+
kind: item["kind"],
|
|
649
|
+
};
|
|
650
|
+
}
|
|
651
|
+
export function statefulSerializer(item) {
|
|
652
|
+
return {
|
|
653
|
+
resourcePredictions: !item["resourcePredictions"]
|
|
654
|
+
? item["resourcePredictions"]
|
|
655
|
+
: resourcePredictionsSerializer(item["resourcePredictions"]),
|
|
656
|
+
resourcePredictionsProfile: !item["resourcePredictionsProfile"]
|
|
657
|
+
? item["resourcePredictionsProfile"]
|
|
658
|
+
: resourcePredictionsProfileUnionSerializer(item["resourcePredictionsProfile"]),
|
|
659
|
+
kind: item["kind"],
|
|
660
|
+
maxAgentLifetime: item["maxAgentLifetime"],
|
|
661
|
+
gracePeriodTimeSpan: item["gracePeriodTimeSpan"],
|
|
662
|
+
};
|
|
663
|
+
}
|
|
664
|
+
export function statefulDeserializer(item) {
|
|
665
|
+
return {
|
|
666
|
+
resourcePredictions: !item["resourcePredictions"]
|
|
667
|
+
? item["resourcePredictions"]
|
|
668
|
+
: resourcePredictionsDeserializer(item["resourcePredictions"]),
|
|
669
|
+
resourcePredictionsProfile: !item["resourcePredictionsProfile"]
|
|
670
|
+
? item["resourcePredictionsProfile"]
|
|
671
|
+
: resourcePredictionsProfileUnionDeserializer(item["resourcePredictionsProfile"]),
|
|
672
|
+
kind: item["kind"],
|
|
673
|
+
maxAgentLifetime: item["maxAgentLifetime"],
|
|
674
|
+
gracePeriodTimeSpan: item["gracePeriodTimeSpan"],
|
|
675
|
+
};
|
|
676
|
+
}
|
|
677
|
+
export function fabricProfileSerializer(item) {
|
|
678
|
+
return { kind: item["kind"] };
|
|
679
|
+
}
|
|
680
|
+
export function fabricProfileDeserializer(item) {
|
|
681
|
+
return {
|
|
682
|
+
kind: item["kind"],
|
|
683
|
+
};
|
|
684
|
+
}
|
|
685
|
+
export function fabricProfileUnionSerializer(item) {
|
|
686
|
+
switch (item.kind) {
|
|
687
|
+
case "Vmss":
|
|
688
|
+
return vmssFabricProfileSerializer(item);
|
|
689
|
+
default:
|
|
690
|
+
return fabricProfileSerializer(item);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
export function fabricProfileUnionDeserializer(item) {
|
|
694
|
+
switch (item.kind) {
|
|
695
|
+
case "Vmss":
|
|
696
|
+
return vmssFabricProfileDeserializer(item);
|
|
697
|
+
default:
|
|
698
|
+
return fabricProfileDeserializer(item);
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
export function vmssFabricProfileSerializer(item) {
|
|
702
|
+
return {
|
|
703
|
+
kind: item["kind"],
|
|
704
|
+
sku: devOpsAzureSkuSerializer(item["sku"]),
|
|
705
|
+
images: poolImageArraySerializer(item["images"]),
|
|
706
|
+
osProfile: !item["osProfile"] ? item["osProfile"] : osProfileSerializer(item["osProfile"]),
|
|
707
|
+
storageProfile: !item["storageProfile"]
|
|
708
|
+
? item["storageProfile"]
|
|
709
|
+
: storageProfileSerializer(item["storageProfile"]),
|
|
710
|
+
networkProfile: !item["networkProfile"]
|
|
711
|
+
? item["networkProfile"]
|
|
712
|
+
: networkProfileSerializer(item["networkProfile"]),
|
|
713
|
+
};
|
|
714
|
+
}
|
|
715
|
+
export function vmssFabricProfileDeserializer(item) {
|
|
716
|
+
return {
|
|
717
|
+
kind: item["kind"],
|
|
718
|
+
sku: devOpsAzureSkuDeserializer(item["sku"]),
|
|
719
|
+
images: poolImageArrayDeserializer(item["images"]),
|
|
720
|
+
osProfile: !item["osProfile"] ? item["osProfile"] : osProfileDeserializer(item["osProfile"]),
|
|
721
|
+
storageProfile: !item["storageProfile"]
|
|
722
|
+
? item["storageProfile"]
|
|
723
|
+
: storageProfileDeserializer(item["storageProfile"]),
|
|
724
|
+
networkProfile: !item["networkProfile"]
|
|
725
|
+
? item["networkProfile"]
|
|
726
|
+
: networkProfileDeserializer(item["networkProfile"]),
|
|
727
|
+
};
|
|
728
|
+
}
|
|
729
|
+
export function devOpsAzureSkuSerializer(item) {
|
|
730
|
+
return { name: item["name"] };
|
|
731
|
+
}
|
|
732
|
+
export function devOpsAzureSkuDeserializer(item) {
|
|
733
|
+
return {
|
|
734
|
+
name: item["name"],
|
|
735
|
+
};
|
|
736
|
+
}
|
|
737
|
+
export function poolImageArraySerializer(result) {
|
|
738
|
+
return result.map((item) => {
|
|
739
|
+
return poolImageSerializer(item);
|
|
740
|
+
});
|
|
741
|
+
}
|
|
742
|
+
export function poolImageArrayDeserializer(result) {
|
|
743
|
+
return result.map((item) => {
|
|
744
|
+
return poolImageDeserializer(item);
|
|
745
|
+
});
|
|
746
|
+
}
|
|
747
|
+
export function poolImageSerializer(item) {
|
|
748
|
+
return {
|
|
749
|
+
resourceId: item["resourceId"],
|
|
750
|
+
wellKnownImageName: item["wellKnownImageName"],
|
|
751
|
+
aliases: !item["aliases"]
|
|
752
|
+
? item["aliases"]
|
|
753
|
+
: item["aliases"].map((p) => {
|
|
754
|
+
return p;
|
|
755
|
+
}),
|
|
756
|
+
buffer: item["buffer"],
|
|
757
|
+
};
|
|
758
|
+
}
|
|
759
|
+
export function poolImageDeserializer(item) {
|
|
760
|
+
return {
|
|
761
|
+
resourceId: item["resourceId"],
|
|
762
|
+
wellKnownImageName: item["wellKnownImageName"],
|
|
763
|
+
aliases: !item["aliases"]
|
|
764
|
+
? item["aliases"]
|
|
765
|
+
: item["aliases"].map((p) => {
|
|
766
|
+
return p;
|
|
767
|
+
}),
|
|
768
|
+
buffer: item["buffer"],
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
export function osProfileSerializer(item) {
|
|
772
|
+
return {
|
|
773
|
+
secretsManagementSettings: !item["secretsManagementSettings"]
|
|
774
|
+
? item["secretsManagementSettings"]
|
|
775
|
+
: secretsManagementSettingsSerializer(item["secretsManagementSettings"]),
|
|
776
|
+
logonType: item["logonType"],
|
|
777
|
+
};
|
|
778
|
+
}
|
|
779
|
+
export function osProfileDeserializer(item) {
|
|
780
|
+
return {
|
|
781
|
+
secretsManagementSettings: !item["secretsManagementSettings"]
|
|
782
|
+
? item["secretsManagementSettings"]
|
|
783
|
+
: secretsManagementSettingsDeserializer(item["secretsManagementSettings"]),
|
|
784
|
+
logonType: item["logonType"],
|
|
785
|
+
};
|
|
786
|
+
}
|
|
787
|
+
export function secretsManagementSettingsSerializer(item) {
|
|
788
|
+
return {
|
|
789
|
+
certificateStoreLocation: item["certificateStoreLocation"],
|
|
790
|
+
observedCertificates: item["observedCertificates"].map((p) => {
|
|
791
|
+
return p;
|
|
792
|
+
}),
|
|
793
|
+
keyExportable: item["keyExportable"],
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
export function secretsManagementSettingsDeserializer(item) {
|
|
797
|
+
return {
|
|
798
|
+
certificateStoreLocation: item["certificateStoreLocation"],
|
|
799
|
+
observedCertificates: item["observedCertificates"].map((p) => {
|
|
800
|
+
return p;
|
|
801
|
+
}),
|
|
802
|
+
keyExportable: item["keyExportable"],
|
|
803
|
+
};
|
|
804
|
+
}
|
|
805
|
+
/** Determines how the service should be run. */
|
|
806
|
+
export var KnownLogonType;
|
|
807
|
+
(function (KnownLogonType) {
|
|
808
|
+
/** Run as a service. */
|
|
809
|
+
KnownLogonType["Service"] = "Service";
|
|
810
|
+
/** Run in interactive mode. */
|
|
811
|
+
KnownLogonType["Interactive"] = "Interactive";
|
|
812
|
+
})(KnownLogonType || (KnownLogonType = {}));
|
|
813
|
+
export function storageProfileSerializer(item) {
|
|
814
|
+
return {
|
|
815
|
+
osDiskStorageAccountType: item["osDiskStorageAccountType"],
|
|
816
|
+
dataDisks: !item["dataDisks"] ? item["dataDisks"] : dataDiskArraySerializer(item["dataDisks"]),
|
|
817
|
+
};
|
|
818
|
+
}
|
|
819
|
+
export function storageProfileDeserializer(item) {
|
|
820
|
+
return {
|
|
821
|
+
osDiskStorageAccountType: item["osDiskStorageAccountType"],
|
|
822
|
+
dataDisks: !item["dataDisks"]
|
|
823
|
+
? item["dataDisks"]
|
|
824
|
+
: dataDiskArrayDeserializer(item["dataDisks"]),
|
|
825
|
+
};
|
|
826
|
+
}
|
|
827
|
+
/** The storage account type of the OS disk. */
|
|
828
|
+
export var KnownOsDiskStorageAccountType;
|
|
829
|
+
(function (KnownOsDiskStorageAccountType) {
|
|
830
|
+
/** Standard OS disk type. */
|
|
831
|
+
KnownOsDiskStorageAccountType["Standard"] = "Standard";
|
|
832
|
+
/** Premium OS disk type. */
|
|
833
|
+
KnownOsDiskStorageAccountType["Premium"] = "Premium";
|
|
834
|
+
/** Standard SSD OS disk type. */
|
|
835
|
+
KnownOsDiskStorageAccountType["StandardSSD"] = "StandardSSD";
|
|
836
|
+
})(KnownOsDiskStorageAccountType || (KnownOsDiskStorageAccountType = {}));
|
|
837
|
+
export function dataDiskArraySerializer(result) {
|
|
838
|
+
return result.map((item) => {
|
|
839
|
+
return dataDiskSerializer(item);
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
export function dataDiskArrayDeserializer(result) {
|
|
843
|
+
return result.map((item) => {
|
|
844
|
+
return dataDiskDeserializer(item);
|
|
845
|
+
});
|
|
846
|
+
}
|
|
847
|
+
export function dataDiskSerializer(item) {
|
|
848
|
+
return {
|
|
849
|
+
caching: item["caching"],
|
|
850
|
+
diskSizeGiB: item["diskSizeGiB"],
|
|
851
|
+
storageAccountType: item["storageAccountType"],
|
|
852
|
+
driveLetter: item["driveLetter"],
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
export function dataDiskDeserializer(item) {
|
|
856
|
+
return {
|
|
857
|
+
caching: item["caching"],
|
|
858
|
+
diskSizeGiB: item["diskSizeGiB"],
|
|
859
|
+
storageAccountType: item["storageAccountType"],
|
|
860
|
+
driveLetter: item["driveLetter"],
|
|
861
|
+
};
|
|
862
|
+
}
|
|
863
|
+
/** The type of caching in a data disk. */
|
|
864
|
+
export var KnownCachingType;
|
|
865
|
+
(function (KnownCachingType) {
|
|
866
|
+
/** Don't use host caching. */
|
|
867
|
+
KnownCachingType["None"] = "None";
|
|
868
|
+
/** For workloads that only do read operations. */
|
|
869
|
+
KnownCachingType["ReadOnly"] = "ReadOnly";
|
|
870
|
+
/** For workloads that do a balance of read and write operations. */
|
|
871
|
+
KnownCachingType["ReadWrite"] = "ReadWrite";
|
|
872
|
+
})(KnownCachingType || (KnownCachingType = {}));
|
|
873
|
+
/** StorageAccountType enums */
|
|
874
|
+
export var KnownStorageAccountType;
|
|
875
|
+
(function (KnownStorageAccountType) {
|
|
876
|
+
/** The data disk should use standard locally redundant storage. */
|
|
877
|
+
KnownStorageAccountType["StandardLRS"] = "Standard_LRS";
|
|
878
|
+
/** The data disk should use premium locally redundant storage. */
|
|
879
|
+
KnownStorageAccountType["PremiumLRS"] = "Premium_LRS";
|
|
880
|
+
/** The data disk should use standard SSD locally redundant storage. */
|
|
881
|
+
KnownStorageAccountType["StandardSSDLRS"] = "StandardSSD_LRS";
|
|
882
|
+
/** The data disk should use premium SSD zonal redundant storage. */
|
|
883
|
+
KnownStorageAccountType["PremiumZRS"] = "Premium_ZRS";
|
|
884
|
+
/** The data disk should use standard SSD zonal redundant storage. */
|
|
885
|
+
KnownStorageAccountType["StandardSSDZRS"] = "StandardSSD_ZRS";
|
|
886
|
+
})(KnownStorageAccountType || (KnownStorageAccountType = {}));
|
|
887
|
+
export function networkProfileSerializer(item) {
|
|
888
|
+
return { subnetId: item["subnetId"] };
|
|
889
|
+
}
|
|
890
|
+
export function networkProfileDeserializer(item) {
|
|
891
|
+
return {
|
|
892
|
+
subnetId: item["subnetId"],
|
|
893
|
+
};
|
|
894
|
+
}
|
|
895
|
+
export function managedServiceIdentitySerializer(item) {
|
|
896
|
+
return {
|
|
897
|
+
type: item["type"],
|
|
898
|
+
userAssignedIdentities: item["userAssignedIdentities"],
|
|
899
|
+
};
|
|
900
|
+
}
|
|
901
|
+
export function managedServiceIdentityDeserializer(item) {
|
|
902
|
+
return {
|
|
903
|
+
principalId: item["principalId"],
|
|
904
|
+
tenantId: item["tenantId"],
|
|
905
|
+
type: item["type"],
|
|
906
|
+
userAssignedIdentities: item["userAssignedIdentities"],
|
|
907
|
+
};
|
|
908
|
+
}
|
|
909
|
+
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
910
|
+
export var KnownManagedServiceIdentityType;
|
|
911
|
+
(function (KnownManagedServiceIdentityType) {
|
|
912
|
+
/** No managed identity. */
|
|
913
|
+
KnownManagedServiceIdentityType["None"] = "None";
|
|
914
|
+
/** System assigned managed identity. */
|
|
915
|
+
KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
916
|
+
/** User assigned managed identity. */
|
|
917
|
+
KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
|
|
918
|
+
/** System and user assigned managed identity. */
|
|
919
|
+
KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
|
|
920
|
+
})(KnownManagedServiceIdentityType || (KnownManagedServiceIdentityType = {}));
|
|
921
|
+
export function userAssignedIdentitySerializer(item) {
|
|
922
|
+
return item;
|
|
923
|
+
}
|
|
924
|
+
export function userAssignedIdentityDeserializer(item) {
|
|
925
|
+
return {
|
|
926
|
+
principalId: item["principalId"],
|
|
927
|
+
clientId: item["clientId"],
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
export function trackedResourceSerializer(item) {
|
|
931
|
+
return { tags: item["tags"], location: item["location"] };
|
|
932
|
+
}
|
|
933
|
+
export function trackedResourceDeserializer(item) {
|
|
934
|
+
return {
|
|
935
|
+
id: item["id"],
|
|
936
|
+
name: item["name"],
|
|
937
|
+
type: item["type"],
|
|
938
|
+
systemData: !item["systemData"]
|
|
939
|
+
? item["systemData"]
|
|
940
|
+
: systemDataDeserializer(item["systemData"]),
|
|
941
|
+
tags: item["tags"],
|
|
942
|
+
location: item["location"],
|
|
943
|
+
};
|
|
944
|
+
}
|
|
945
|
+
export function poolUpdateSerializer(item) {
|
|
946
|
+
return {
|
|
947
|
+
identity: !item["identity"]
|
|
948
|
+
? item["identity"]
|
|
949
|
+
: managedServiceIdentitySerializer(item["identity"]),
|
|
950
|
+
tags: item["tags"],
|
|
951
|
+
properties: !item["properties"]
|
|
952
|
+
? item["properties"]
|
|
953
|
+
: poolUpdatePropertiesSerializer(item["properties"]),
|
|
954
|
+
};
|
|
955
|
+
}
|
|
956
|
+
export function poolUpdatePropertiesSerializer(item) {
|
|
957
|
+
return {
|
|
958
|
+
provisioningState: item["provisioningState"],
|
|
959
|
+
maximumConcurrency: item["maximumConcurrency"],
|
|
960
|
+
organizationProfile: !item["organizationProfile"]
|
|
961
|
+
? item["organizationProfile"]
|
|
962
|
+
: organizationProfileUnionSerializer(item["organizationProfile"]),
|
|
963
|
+
agentProfile: !item["agentProfile"]
|
|
964
|
+
? item["agentProfile"]
|
|
965
|
+
: agentProfileUnionSerializer(item["agentProfile"]),
|
|
966
|
+
fabricProfile: !item["fabricProfile"]
|
|
967
|
+
? item["fabricProfile"]
|
|
968
|
+
: fabricProfileUnionSerializer(item["fabricProfile"]),
|
|
969
|
+
devCenterProjectResourceId: item["devCenterProjectResourceId"],
|
|
970
|
+
};
|
|
971
|
+
}
|
|
972
|
+
export function _poolListResultDeserializer(item) {
|
|
973
|
+
return {
|
|
974
|
+
value: poolArrayDeserializer(item["value"]),
|
|
975
|
+
nextLink: item["nextLink"],
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
export function poolArraySerializer(result) {
|
|
979
|
+
return result.map((item) => {
|
|
980
|
+
return poolSerializer(item);
|
|
981
|
+
});
|
|
982
|
+
}
|
|
983
|
+
export function poolArrayDeserializer(result) {
|
|
984
|
+
return result.map((item) => {
|
|
985
|
+
return poolDeserializer(item);
|
|
986
|
+
});
|
|
987
|
+
}
|
|
988
|
+
export function _operationListResultDeserializer(item) {
|
|
989
|
+
return {
|
|
990
|
+
value: operationArrayDeserializer(item["value"]),
|
|
991
|
+
nextLink: item["nextLink"],
|
|
992
|
+
};
|
|
993
|
+
}
|
|
994
|
+
export function operationArrayDeserializer(result) {
|
|
995
|
+
return result.map((item) => {
|
|
996
|
+
return operationDeserializer(item);
|
|
997
|
+
});
|
|
998
|
+
}
|
|
999
|
+
export function operationDeserializer(item) {
|
|
1000
|
+
return {
|
|
1001
|
+
name: item["name"],
|
|
1002
|
+
isDataAction: item["isDataAction"],
|
|
1003
|
+
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
1004
|
+
origin: item["origin"],
|
|
1005
|
+
actionType: item["actionType"],
|
|
1006
|
+
};
|
|
1007
|
+
}
|
|
1008
|
+
export function operationDisplayDeserializer(item) {
|
|
1009
|
+
return {
|
|
1010
|
+
provider: item["provider"],
|
|
1011
|
+
resource: item["resource"],
|
|
1012
|
+
operation: item["operation"],
|
|
1013
|
+
description: item["description"],
|
|
1014
|
+
};
|
|
1015
|
+
}
|
|
1016
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
1017
|
+
export var KnownOrigin;
|
|
1018
|
+
(function (KnownOrigin) {
|
|
1019
|
+
/** Indicates the operation is initiated by a user. */
|
|
1020
|
+
KnownOrigin["User"] = "user";
|
|
1021
|
+
/** Indicates the operation is initiated by a system. */
|
|
1022
|
+
KnownOrigin["System"] = "system";
|
|
1023
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
1024
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
1025
|
+
})(KnownOrigin || (KnownOrigin = {}));
|
|
1026
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
1027
|
+
export var KnownActionType;
|
|
1028
|
+
(function (KnownActionType) {
|
|
1029
|
+
/** Actions are for internal-only APIs. */
|
|
1030
|
+
KnownActionType["Internal"] = "Internal";
|
|
1031
|
+
})(KnownActionType || (KnownActionType = {}));
|
|
1032
|
+
/** Api versions */
|
|
1033
|
+
export var KnownVersions;
|
|
1034
|
+
(function (KnownVersions) {
|
|
1035
|
+
/** 2024-10-19 version */
|
|
1036
|
+
KnownVersions["V2024-10-19"] = "2024-10-19";
|
|
1037
|
+
})(KnownVersions || (KnownVersions = {}));
|
|
1038
|
+
//# sourceMappingURL=models.js.map
|