@azure/arm-hybridconnectivity 1.0.1-alpha.20250326.1 → 2.0.0-beta.1
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 +103 -7
- package/LICENSE +1 -1
- package/README.md +25 -25
- package/dist/browser/api/endpoints/index.d.ts +3 -0
- package/dist/browser/api/endpoints/index.d.ts.map +1 -0
- package/dist/browser/api/endpoints/index.js +4 -0
- package/dist/browser/api/endpoints/index.js.map +1 -0
- package/dist/browser/api/endpoints/operations.d.ts +43 -0
- package/dist/browser/api/endpoints/operations.d.ts.map +1 -0
- package/dist/browser/api/endpoints/operations.js +224 -0
- package/dist/browser/api/endpoints/operations.js.map +1 -0
- package/dist/browser/api/endpoints/options.d.ts +35 -0
- package/dist/browser/api/endpoints/options.d.ts.map +1 -0
- package/dist/browser/api/endpoints/options.js +4 -0
- package/dist/browser/api/endpoints/options.js.map +1 -0
- package/dist/browser/api/generateAwsTemplate/index.d.ts +3 -0
- package/dist/browser/api/generateAwsTemplate/index.d.ts.map +1 -0
- package/dist/browser/api/generateAwsTemplate/index.js +4 -0
- package/dist/browser/api/generateAwsTemplate/index.js.map +1 -0
- package/dist/browser/api/generateAwsTemplate/operations.d.ts +9 -0
- package/dist/browser/api/generateAwsTemplate/operations.d.ts.map +1 -0
- package/dist/browser/api/generateAwsTemplate/operations.js +30 -0
- package/dist/browser/api/generateAwsTemplate/operations.js.map +1 -0
- package/dist/browser/api/generateAwsTemplate/options.d.ts +5 -0
- package/dist/browser/api/generateAwsTemplate/options.d.ts.map +1 -0
- package/dist/browser/api/generateAwsTemplate/options.js +4 -0
- package/dist/browser/api/generateAwsTemplate/options.js.map +1 -0
- package/dist/browser/api/hybridConnectivityManagementAPIContext.d.ts +19 -0
- package/dist/browser/api/hybridConnectivityManagementAPIContext.d.ts.map +1 -0
- package/dist/browser/api/hybridConnectivityManagementAPIContext.js +36 -0
- package/dist/browser/api/hybridConnectivityManagementAPIContext.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.d.ts.map +1 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/inventory/index.d.ts +3 -0
- package/dist/browser/api/inventory/index.d.ts.map +1 -0
- package/dist/browser/api/inventory/index.js +4 -0
- package/dist/browser/api/inventory/index.js.map +1 -0
- package/dist/browser/api/inventory/operations.d.ts +14 -0
- package/dist/browser/api/inventory/operations.d.ts.map +1 -0
- package/dist/browser/api/inventory/operations.js +61 -0
- package/dist/browser/api/inventory/operations.js.map +1 -0
- package/dist/browser/api/inventory/options.d.ts +8 -0
- package/dist/browser/api/inventory/options.d.ts.map +1 -0
- package/dist/browser/api/inventory/options.js +4 -0
- package/dist/browser/api/inventory/options.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.d.ts.map +1 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.d.ts.map +1 -0
- package/dist/browser/api/operations/operations.js +29 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.d.ts.map +1 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/publicCloudConnectors/index.d.ts +3 -0
- package/dist/browser/api/publicCloudConnectors/index.d.ts.map +1 -0
- package/dist/browser/api/publicCloudConnectors/index.js +4 -0
- package/dist/browser/api/publicCloudConnectors/index.js.map +1 -0
- package/dist/browser/api/publicCloudConnectors/operations.d.ts +40 -0
- package/dist/browser/api/publicCloudConnectors/operations.d.ts.map +1 -0
- package/dist/browser/api/publicCloudConnectors/operations.js +214 -0
- package/dist/browser/api/publicCloudConnectors/operations.js.map +1 -0
- package/dist/browser/api/publicCloudConnectors/options.d.ts +27 -0
- package/dist/browser/api/publicCloudConnectors/options.d.ts.map +1 -0
- package/dist/browser/api/publicCloudConnectors/options.js +4 -0
- package/dist/browser/api/publicCloudConnectors/options.js.map +1 -0
- package/dist/browser/api/serviceConfigurations/index.d.ts +3 -0
- package/dist/browser/api/serviceConfigurations/index.d.ts.map +1 -0
- package/dist/browser/api/serviceConfigurations/index.js +4 -0
- package/dist/browser/api/serviceConfigurations/index.js.map +1 -0
- package/dist/browser/api/serviceConfigurations/operations.d.ts +31 -0
- package/dist/browser/api/serviceConfigurations/operations.d.ts.map +1 -0
- package/dist/browser/api/serviceConfigurations/operations.js +148 -0
- package/dist/browser/api/serviceConfigurations/operations.js.map +1 -0
- package/dist/browser/api/serviceConfigurations/options.d.ts +17 -0
- package/dist/browser/api/serviceConfigurations/options.d.ts.map +1 -0
- package/dist/browser/api/serviceConfigurations/options.js +4 -0
- package/dist/browser/api/serviceConfigurations/options.js.map +1 -0
- package/dist/browser/api/solutionConfigurations/index.d.ts +3 -0
- package/dist/browser/api/solutionConfigurations/index.d.ts.map +1 -0
- package/dist/browser/api/solutionConfigurations/index.js +4 -0
- package/dist/browser/api/solutionConfigurations/index.js.map +1 -0
- package/dist/browser/api/solutionConfigurations/operations.d.ts +36 -0
- package/dist/browser/api/solutionConfigurations/operations.d.ts.map +1 -0
- package/dist/browser/api/solutionConfigurations/operations.js +169 -0
- package/dist/browser/api/solutionConfigurations/operations.js.map +1 -0
- package/dist/browser/api/solutionConfigurations/options.d.ts +22 -0
- package/dist/browser/api/solutionConfigurations/options.d.ts.map +1 -0
- package/dist/browser/api/solutionConfigurations/options.js +4 -0
- package/dist/browser/api/solutionConfigurations/options.js.map +1 -0
- package/dist/browser/api/solutionTypes/index.d.ts +3 -0
- package/dist/browser/api/solutionTypes/index.d.ts.map +1 -0
- package/dist/browser/api/solutionTypes/index.js +4 -0
- package/dist/browser/api/solutionTypes/index.js.map +1 -0
- package/dist/browser/api/solutionTypes/operations.d.ts +18 -0
- package/dist/browser/api/solutionTypes/operations.d.ts.map +1 -0
- package/dist/browser/api/solutionTypes/operations.js +88 -0
- package/dist/browser/api/solutionTypes/operations.js.map +1 -0
- package/dist/browser/api/solutionTypes/options.d.ts +11 -0
- package/dist/browser/api/solutionTypes/options.d.ts.map +1 -0
- package/dist/browser/api/solutionTypes/options.js +4 -0
- package/dist/browser/api/solutionTypes/options.js.map +1 -0
- package/dist/browser/classic/endpoints/index.d.ts +30 -0
- package/dist/browser/classic/endpoints/index.d.ts.map +1 -0
- package/dist/browser/classic/endpoints/index.js +19 -0
- package/dist/browser/classic/endpoints/index.js.map +1 -0
- package/dist/browser/classic/generateAwsTemplate/index.d.ts +10 -0
- package/dist/browser/classic/generateAwsTemplate/index.d.ts.map +1 -0
- package/dist/browser/classic/generateAwsTemplate/index.js +12 -0
- package/dist/browser/classic/generateAwsTemplate/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +9 -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/inventory/index.d.ts +13 -0
- package/dist/browser/classic/inventory/index.d.ts.map +1 -0
- package/dist/browser/classic/inventory/index.js +13 -0
- package/dist/browser/classic/inventory/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -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/publicCloudConnectors/index.d.ts +29 -0
- package/dist/browser/classic/publicCloudConnectors/index.d.ts.map +1 -0
- package/dist/browser/classic/publicCloudConnectors/index.js +18 -0
- package/dist/browser/classic/publicCloudConnectors/index.js.map +1 -0
- package/dist/browser/classic/serviceConfigurations/index.d.ts +24 -0
- package/dist/browser/classic/serviceConfigurations/index.d.ts.map +1 -0
- package/dist/browser/classic/serviceConfigurations/index.js +16 -0
- package/dist/browser/classic/serviceConfigurations/index.js.map +1 -0
- package/dist/browser/classic/solutionConfigurations/index.d.ts +27 -0
- package/dist/browser/classic/solutionConfigurations/index.d.ts.map +1 -0
- package/dist/browser/classic/solutionConfigurations/index.js +17 -0
- package/dist/browser/classic/solutionConfigurations/index.js.map +1 -0
- package/dist/browser/classic/solutionTypes/index.d.ts +15 -0
- package/dist/browser/classic/solutionTypes/index.d.ts.map +1 -0
- package/dist/browser/classic/solutionTypes/index.js +14 -0
- package/dist/browser/classic/solutionTypes/index.js.map +1 -0
- package/dist/browser/hybridConnectivityManagementAPI.d.ts +34 -18
- package/dist/browser/hybridConnectivityManagementAPI.d.ts.map +1 -1
- package/dist/browser/hybridConnectivityManagementAPI.js +29 -90
- package/dist/browser/hybridConnectivityManagementAPI.js.map +1 -1
- package/dist/browser/index.d.ts +14 -3
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +4 -11
- package/dist/browser/index.js.map +1 -1
- 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 +1 -476
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +3 -65
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +675 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +699 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
- package/dist/browser/restorePollerHelpers.js +99 -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/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.js +168 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/endpoints/index.d.ts +3 -0
- package/dist/commonjs/api/endpoints/index.d.ts.map +1 -0
- package/dist/commonjs/api/endpoints/index.js +15 -0
- package/dist/commonjs/api/endpoints/index.js.map +1 -0
- package/dist/commonjs/api/endpoints/operations.d.ts +43 -0
- package/dist/commonjs/api/endpoints/operations.d.ts.map +1 -0
- package/dist/commonjs/api/endpoints/operations.js +250 -0
- package/dist/commonjs/api/endpoints/operations.js.map +1 -0
- package/dist/commonjs/api/endpoints/options.d.ts +35 -0
- package/dist/commonjs/api/endpoints/options.d.ts.map +1 -0
- package/dist/commonjs/api/endpoints/options.js +5 -0
- package/dist/commonjs/api/endpoints/options.js.map +1 -0
- package/dist/commonjs/api/generateAwsTemplate/index.d.ts +3 -0
- package/dist/commonjs/api/generateAwsTemplate/index.d.ts.map +1 -0
- package/dist/commonjs/api/generateAwsTemplate/index.js +8 -0
- package/dist/commonjs/api/generateAwsTemplate/index.js.map +1 -0
- package/dist/commonjs/api/generateAwsTemplate/operations.d.ts +9 -0
- package/dist/commonjs/api/generateAwsTemplate/operations.d.ts.map +1 -0
- package/dist/commonjs/api/generateAwsTemplate/operations.js +35 -0
- package/dist/commonjs/api/generateAwsTemplate/operations.js.map +1 -0
- package/dist/commonjs/api/generateAwsTemplate/options.d.ts +5 -0
- package/dist/commonjs/api/generateAwsTemplate/options.d.ts.map +1 -0
- package/dist/commonjs/api/generateAwsTemplate/options.js +5 -0
- package/dist/commonjs/api/generateAwsTemplate/options.js.map +1 -0
- package/dist/commonjs/api/hybridConnectivityManagementAPIContext.d.ts +19 -0
- package/dist/commonjs/api/hybridConnectivityManagementAPIContext.d.ts.map +1 -0
- package/dist/commonjs/api/hybridConnectivityManagementAPIContext.js +39 -0
- package/dist/commonjs/api/hybridConnectivityManagementAPIContext.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +8 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/inventory/index.d.ts +3 -0
- package/dist/commonjs/api/inventory/index.d.ts.map +1 -0
- package/dist/commonjs/api/inventory/index.js +9 -0
- package/dist/commonjs/api/inventory/index.js.map +1 -0
- package/dist/commonjs/api/inventory/operations.d.ts +14 -0
- package/dist/commonjs/api/inventory/operations.d.ts.map +1 -0
- package/dist/commonjs/api/inventory/operations.js +69 -0
- package/dist/commonjs/api/inventory/operations.js.map +1 -0
- package/dist/commonjs/api/inventory/options.d.ts +8 -0
- package/dist/commonjs/api/inventory/options.d.ts.map +1 -0
- package/dist/commonjs/api/inventory/options.js +5 -0
- package/dist/commonjs/api/inventory/options.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.d.ts.map +1 -0
- package/dist/commonjs/api/operations/index.js +8 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/api/operations/operations.js +34 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.d.ts.map +1 -0
- package/dist/commonjs/api/operations/options.js +5 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/api/publicCloudConnectors/index.d.ts +3 -0
- package/dist/commonjs/api/publicCloudConnectors/index.d.ts.map +1 -0
- package/dist/commonjs/api/publicCloudConnectors/index.js +14 -0
- package/dist/commonjs/api/publicCloudConnectors/index.js.map +1 -0
- package/dist/commonjs/api/publicCloudConnectors/operations.d.ts +40 -0
- package/dist/commonjs/api/publicCloudConnectors/operations.d.ts.map +1 -0
- package/dist/commonjs/api/publicCloudConnectors/operations.js +237 -0
- package/dist/commonjs/api/publicCloudConnectors/operations.js.map +1 -0
- package/dist/commonjs/api/publicCloudConnectors/options.d.ts +27 -0
- package/dist/commonjs/api/publicCloudConnectors/options.d.ts.map +1 -0
- package/dist/commonjs/api/publicCloudConnectors/options.js +5 -0
- package/dist/commonjs/api/publicCloudConnectors/options.js.map +1 -0
- package/dist/commonjs/api/serviceConfigurations/index.d.ts +3 -0
- package/dist/commonjs/api/serviceConfigurations/index.d.ts.map +1 -0
- package/dist/commonjs/api/serviceConfigurations/index.js +12 -0
- package/dist/commonjs/api/serviceConfigurations/index.js.map +1 -0
- package/dist/commonjs/api/serviceConfigurations/operations.d.ts +31 -0
- package/dist/commonjs/api/serviceConfigurations/operations.d.ts.map +1 -0
- package/dist/commonjs/api/serviceConfigurations/operations.js +165 -0
- package/dist/commonjs/api/serviceConfigurations/operations.js.map +1 -0
- package/dist/commonjs/api/serviceConfigurations/options.d.ts +17 -0
- package/dist/commonjs/api/serviceConfigurations/options.d.ts.map +1 -0
- package/dist/commonjs/api/serviceConfigurations/options.js +5 -0
- package/dist/commonjs/api/serviceConfigurations/options.js.map +1 -0
- package/dist/commonjs/api/solutionConfigurations/index.d.ts +3 -0
- package/dist/commonjs/api/solutionConfigurations/index.d.ts.map +1 -0
- package/dist/commonjs/api/solutionConfigurations/index.js +13 -0
- package/dist/commonjs/api/solutionConfigurations/index.js.map +1 -0
- package/dist/commonjs/api/solutionConfigurations/operations.d.ts +36 -0
- package/dist/commonjs/api/solutionConfigurations/operations.d.ts.map +1 -0
- package/dist/commonjs/api/solutionConfigurations/operations.js +189 -0
- package/dist/commonjs/api/solutionConfigurations/operations.js.map +1 -0
- package/dist/commonjs/api/solutionConfigurations/options.d.ts +22 -0
- package/dist/commonjs/api/solutionConfigurations/options.d.ts.map +1 -0
- package/dist/commonjs/api/solutionConfigurations/options.js +5 -0
- package/dist/commonjs/api/solutionConfigurations/options.js.map +1 -0
- package/dist/commonjs/api/solutionTypes/index.d.ts +3 -0
- package/dist/commonjs/api/solutionTypes/index.d.ts.map +1 -0
- package/dist/commonjs/api/solutionTypes/index.js +10 -0
- package/dist/commonjs/api/solutionTypes/index.js.map +1 -0
- package/dist/commonjs/api/solutionTypes/operations.d.ts +18 -0
- package/dist/commonjs/api/solutionTypes/operations.d.ts.map +1 -0
- package/dist/commonjs/api/solutionTypes/operations.js +99 -0
- package/dist/commonjs/api/solutionTypes/operations.js.map +1 -0
- package/dist/commonjs/api/solutionTypes/options.d.ts +11 -0
- package/dist/commonjs/api/solutionTypes/options.d.ts.map +1 -0
- package/dist/commonjs/api/solutionTypes/options.js +5 -0
- package/dist/commonjs/api/solutionTypes/options.js.map +1 -0
- package/dist/commonjs/classic/endpoints/index.d.ts +30 -0
- package/dist/commonjs/classic/endpoints/index.d.ts.map +1 -0
- package/dist/commonjs/classic/endpoints/index.js +22 -0
- package/dist/commonjs/classic/endpoints/index.js.map +1 -0
- package/dist/commonjs/classic/generateAwsTemplate/index.d.ts +10 -0
- package/dist/commonjs/classic/generateAwsTemplate/index.d.ts.map +1 -0
- package/dist/commonjs/classic/generateAwsTemplate/index.js +15 -0
- package/dist/commonjs/classic/generateAwsTemplate/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +9 -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/inventory/index.d.ts +13 -0
- package/dist/commonjs/classic/inventory/index.d.ts.map +1 -0
- package/dist/commonjs/classic/inventory/index.js +16 -0
- package/dist/commonjs/classic/inventory/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/operations/index.js +15 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/classic/publicCloudConnectors/index.d.ts +29 -0
- package/dist/commonjs/classic/publicCloudConnectors/index.d.ts.map +1 -0
- package/dist/commonjs/classic/publicCloudConnectors/index.js +21 -0
- package/dist/commonjs/classic/publicCloudConnectors/index.js.map +1 -0
- package/dist/commonjs/classic/serviceConfigurations/index.d.ts +24 -0
- package/dist/commonjs/classic/serviceConfigurations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/serviceConfigurations/index.js +19 -0
- package/dist/commonjs/classic/serviceConfigurations/index.js.map +1 -0
- package/dist/commonjs/classic/solutionConfigurations/index.d.ts +27 -0
- package/dist/commonjs/classic/solutionConfigurations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/solutionConfigurations/index.js +20 -0
- package/dist/commonjs/classic/solutionConfigurations/index.js.map +1 -0
- package/dist/commonjs/classic/solutionTypes/index.d.ts +15 -0
- package/dist/commonjs/classic/solutionTypes/index.d.ts.map +1 -0
- package/dist/commonjs/classic/solutionTypes/index.js +17 -0
- package/dist/commonjs/classic/solutionTypes/index.js.map +1 -0
- package/dist/commonjs/hybridConnectivityManagementAPI.d.ts +34 -18
- package/dist/commonjs/hybridConnectivityManagementAPI.d.ts.map +1 -1
- package/dist/commonjs/hybridConnectivityManagementAPI.js +29 -91
- package/dist/commonjs/hybridConnectivityManagementAPI.js.map +1 -1
- package/dist/commonjs/index.d.ts +14 -3
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +17 -14
- package/dist/commonjs/index.js.map +1 -1
- 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 +1 -476
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +15 -66
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +675 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +786 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
- package/dist/commonjs/restorePollerHelpers.js +102 -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/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +171 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/endpoints/index.d.ts +3 -0
- package/dist/esm/api/endpoints/index.d.ts.map +1 -0
- package/dist/esm/api/endpoints/index.js +4 -0
- package/dist/esm/api/endpoints/index.js.map +1 -0
- package/dist/esm/api/endpoints/operations.d.ts +43 -0
- package/dist/esm/api/endpoints/operations.d.ts.map +1 -0
- package/dist/esm/api/endpoints/operations.js +224 -0
- package/dist/esm/api/endpoints/operations.js.map +1 -0
- package/dist/esm/api/endpoints/options.d.ts +35 -0
- package/dist/esm/api/endpoints/options.d.ts.map +1 -0
- package/dist/esm/api/endpoints/options.js +4 -0
- package/dist/esm/api/endpoints/options.js.map +1 -0
- package/dist/esm/api/generateAwsTemplate/index.d.ts +3 -0
- package/dist/esm/api/generateAwsTemplate/index.d.ts.map +1 -0
- package/dist/esm/api/generateAwsTemplate/index.js +4 -0
- package/dist/esm/api/generateAwsTemplate/index.js.map +1 -0
- package/dist/esm/api/generateAwsTemplate/operations.d.ts +9 -0
- package/dist/esm/api/generateAwsTemplate/operations.d.ts.map +1 -0
- package/dist/esm/api/generateAwsTemplate/operations.js +30 -0
- package/dist/esm/api/generateAwsTemplate/operations.js.map +1 -0
- package/dist/esm/api/generateAwsTemplate/options.d.ts +5 -0
- package/dist/esm/api/generateAwsTemplate/options.d.ts.map +1 -0
- package/dist/esm/api/generateAwsTemplate/options.js +4 -0
- package/dist/esm/api/generateAwsTemplate/options.js.map +1 -0
- package/dist/esm/api/hybridConnectivityManagementAPIContext.d.ts +19 -0
- package/dist/esm/api/hybridConnectivityManagementAPIContext.d.ts.map +1 -0
- package/dist/esm/api/hybridConnectivityManagementAPIContext.js +36 -0
- package/dist/esm/api/hybridConnectivityManagementAPIContext.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/inventory/index.d.ts +3 -0
- package/dist/esm/api/inventory/index.d.ts.map +1 -0
- package/dist/esm/api/inventory/index.js +4 -0
- package/dist/esm/api/inventory/index.js.map +1 -0
- package/dist/esm/api/inventory/operations.d.ts +14 -0
- package/dist/esm/api/inventory/operations.d.ts.map +1 -0
- package/dist/esm/api/inventory/operations.js +61 -0
- package/dist/esm/api/inventory/operations.js.map +1 -0
- package/dist/esm/api/inventory/options.d.ts +8 -0
- package/dist/esm/api/inventory/options.d.ts.map +1 -0
- package/dist/esm/api/inventory/options.js +4 -0
- package/dist/esm/api/inventory/options.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.d.ts.map +1 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.d.ts.map +1 -0
- package/dist/esm/api/operations/operations.js +29 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.d.ts.map +1 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/publicCloudConnectors/index.d.ts +3 -0
- package/dist/esm/api/publicCloudConnectors/index.d.ts.map +1 -0
- package/dist/esm/api/publicCloudConnectors/index.js +4 -0
- package/dist/esm/api/publicCloudConnectors/index.js.map +1 -0
- package/dist/esm/api/publicCloudConnectors/operations.d.ts +40 -0
- package/dist/esm/api/publicCloudConnectors/operations.d.ts.map +1 -0
- package/dist/esm/api/publicCloudConnectors/operations.js +214 -0
- package/dist/esm/api/publicCloudConnectors/operations.js.map +1 -0
- package/dist/esm/api/publicCloudConnectors/options.d.ts +27 -0
- package/dist/esm/api/publicCloudConnectors/options.d.ts.map +1 -0
- package/dist/esm/api/publicCloudConnectors/options.js +4 -0
- package/dist/esm/api/publicCloudConnectors/options.js.map +1 -0
- package/dist/esm/api/serviceConfigurations/index.d.ts +3 -0
- package/dist/esm/api/serviceConfigurations/index.d.ts.map +1 -0
- package/dist/esm/api/serviceConfigurations/index.js +4 -0
- package/dist/esm/api/serviceConfigurations/index.js.map +1 -0
- package/dist/esm/api/serviceConfigurations/operations.d.ts +31 -0
- package/dist/esm/api/serviceConfigurations/operations.d.ts.map +1 -0
- package/dist/esm/api/serviceConfigurations/operations.js +148 -0
- package/dist/esm/api/serviceConfigurations/operations.js.map +1 -0
- package/dist/esm/api/serviceConfigurations/options.d.ts +17 -0
- package/dist/esm/api/serviceConfigurations/options.d.ts.map +1 -0
- package/dist/esm/api/serviceConfigurations/options.js +4 -0
- package/dist/esm/api/serviceConfigurations/options.js.map +1 -0
- package/dist/esm/api/solutionConfigurations/index.d.ts +3 -0
- package/dist/esm/api/solutionConfigurations/index.d.ts.map +1 -0
- package/dist/esm/api/solutionConfigurations/index.js +4 -0
- package/dist/esm/api/solutionConfigurations/index.js.map +1 -0
- package/dist/esm/api/solutionConfigurations/operations.d.ts +36 -0
- package/dist/esm/api/solutionConfigurations/operations.d.ts.map +1 -0
- package/dist/esm/api/solutionConfigurations/operations.js +169 -0
- package/dist/esm/api/solutionConfigurations/operations.js.map +1 -0
- package/dist/esm/api/solutionConfigurations/options.d.ts +22 -0
- package/dist/esm/api/solutionConfigurations/options.d.ts.map +1 -0
- package/dist/esm/api/solutionConfigurations/options.js +4 -0
- package/dist/esm/api/solutionConfigurations/options.js.map +1 -0
- package/dist/esm/api/solutionTypes/index.d.ts +3 -0
- package/dist/esm/api/solutionTypes/index.d.ts.map +1 -0
- package/dist/esm/api/solutionTypes/index.js +4 -0
- package/dist/esm/api/solutionTypes/index.js.map +1 -0
- package/dist/esm/api/solutionTypes/operations.d.ts +18 -0
- package/dist/esm/api/solutionTypes/operations.d.ts.map +1 -0
- package/dist/esm/api/solutionTypes/operations.js +88 -0
- package/dist/esm/api/solutionTypes/operations.js.map +1 -0
- package/dist/esm/api/solutionTypes/options.d.ts +11 -0
- package/dist/esm/api/solutionTypes/options.d.ts.map +1 -0
- package/dist/esm/api/solutionTypes/options.js +4 -0
- package/dist/esm/api/solutionTypes/options.js.map +1 -0
- package/dist/esm/classic/endpoints/index.d.ts +30 -0
- package/dist/esm/classic/endpoints/index.d.ts.map +1 -0
- package/dist/esm/classic/endpoints/index.js +19 -0
- package/dist/esm/classic/endpoints/index.js.map +1 -0
- package/dist/esm/classic/generateAwsTemplate/index.d.ts +10 -0
- package/dist/esm/classic/generateAwsTemplate/index.d.ts.map +1 -0
- package/dist/esm/classic/generateAwsTemplate/index.js +12 -0
- package/dist/esm/classic/generateAwsTemplate/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +9 -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/inventory/index.d.ts +13 -0
- package/dist/esm/classic/inventory/index.d.ts.map +1 -0
- package/dist/esm/classic/inventory/index.js +13 -0
- package/dist/esm/classic/inventory/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -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/publicCloudConnectors/index.d.ts +29 -0
- package/dist/esm/classic/publicCloudConnectors/index.d.ts.map +1 -0
- package/dist/esm/classic/publicCloudConnectors/index.js +18 -0
- package/dist/esm/classic/publicCloudConnectors/index.js.map +1 -0
- package/dist/esm/classic/serviceConfigurations/index.d.ts +24 -0
- package/dist/esm/classic/serviceConfigurations/index.d.ts.map +1 -0
- package/dist/esm/classic/serviceConfigurations/index.js +16 -0
- package/dist/esm/classic/serviceConfigurations/index.js.map +1 -0
- package/dist/esm/classic/solutionConfigurations/index.d.ts +27 -0
- package/dist/esm/classic/solutionConfigurations/index.d.ts.map +1 -0
- package/dist/esm/classic/solutionConfigurations/index.js +17 -0
- package/dist/esm/classic/solutionConfigurations/index.js.map +1 -0
- package/dist/esm/classic/solutionTypes/index.d.ts +15 -0
- package/dist/esm/classic/solutionTypes/index.d.ts.map +1 -0
- package/dist/esm/classic/solutionTypes/index.js +14 -0
- package/dist/esm/classic/solutionTypes/index.js.map +1 -0
- package/dist/esm/hybridConnectivityManagementAPI.d.ts +34 -18
- package/dist/esm/hybridConnectivityManagementAPI.d.ts.map +1 -1
- package/dist/esm/hybridConnectivityManagementAPI.js +29 -90
- package/dist/esm/hybridConnectivityManagementAPI.js.map +1 -1
- package/dist/esm/index.d.ts +14 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -11
- package/dist/esm/index.js.map +1 -1
- 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 +1 -476
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +3 -65
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +675 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +699 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
- package/dist/esm/restorePollerHelpers.js +99 -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/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.js +168 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/endpoints/index.d.ts +3 -0
- package/dist/react-native/api/endpoints/index.d.ts.map +1 -0
- package/dist/react-native/api/endpoints/index.js +4 -0
- package/dist/react-native/api/endpoints/index.js.map +1 -0
- package/dist/react-native/api/endpoints/operations.d.ts +43 -0
- package/dist/react-native/api/endpoints/operations.d.ts.map +1 -0
- package/dist/react-native/api/endpoints/operations.js +224 -0
- package/dist/react-native/api/endpoints/operations.js.map +1 -0
- package/dist/react-native/api/endpoints/options.d.ts +35 -0
- package/dist/react-native/api/endpoints/options.d.ts.map +1 -0
- package/dist/react-native/api/endpoints/options.js +4 -0
- package/dist/react-native/api/endpoints/options.js.map +1 -0
- package/dist/react-native/api/generateAwsTemplate/index.d.ts +3 -0
- package/dist/react-native/api/generateAwsTemplate/index.d.ts.map +1 -0
- package/dist/react-native/api/generateAwsTemplate/index.js +4 -0
- package/dist/react-native/api/generateAwsTemplate/index.js.map +1 -0
- package/dist/react-native/api/generateAwsTemplate/operations.d.ts +9 -0
- package/dist/react-native/api/generateAwsTemplate/operations.d.ts.map +1 -0
- package/dist/react-native/api/generateAwsTemplate/operations.js +30 -0
- package/dist/react-native/api/generateAwsTemplate/operations.js.map +1 -0
- package/dist/react-native/api/generateAwsTemplate/options.d.ts +5 -0
- package/dist/react-native/api/generateAwsTemplate/options.d.ts.map +1 -0
- package/dist/react-native/api/generateAwsTemplate/options.js +4 -0
- package/dist/react-native/api/generateAwsTemplate/options.js.map +1 -0
- package/dist/react-native/api/hybridConnectivityManagementAPIContext.d.ts +19 -0
- package/dist/react-native/api/hybridConnectivityManagementAPIContext.d.ts.map +1 -0
- package/dist/react-native/api/hybridConnectivityManagementAPIContext.js +36 -0
- package/dist/react-native/api/hybridConnectivityManagementAPIContext.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/inventory/index.d.ts +3 -0
- package/dist/react-native/api/inventory/index.d.ts.map +1 -0
- package/dist/react-native/api/inventory/index.js +4 -0
- package/dist/react-native/api/inventory/index.js.map +1 -0
- package/dist/react-native/api/inventory/operations.d.ts +14 -0
- package/dist/react-native/api/inventory/operations.d.ts.map +1 -0
- package/dist/react-native/api/inventory/operations.js +61 -0
- package/dist/react-native/api/inventory/operations.js.map +1 -0
- package/dist/react-native/api/inventory/options.d.ts +8 -0
- package/dist/react-native/api/inventory/options.d.ts.map +1 -0
- package/dist/react-native/api/inventory/options.js +4 -0
- package/dist/react-native/api/inventory/options.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +3 -0
- package/dist/react-native/api/operations/index.d.ts.map +1 -0
- package/dist/react-native/api/operations/index.js +4 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.d.ts.map +1 -0
- package/dist/react-native/api/operations/operations.js +29 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +5 -0
- package/dist/react-native/api/operations/options.d.ts.map +1 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/api/publicCloudConnectors/index.d.ts +3 -0
- package/dist/react-native/api/publicCloudConnectors/index.d.ts.map +1 -0
- package/dist/react-native/api/publicCloudConnectors/index.js +4 -0
- package/dist/react-native/api/publicCloudConnectors/index.js.map +1 -0
- package/dist/react-native/api/publicCloudConnectors/operations.d.ts +40 -0
- package/dist/react-native/api/publicCloudConnectors/operations.d.ts.map +1 -0
- package/dist/react-native/api/publicCloudConnectors/operations.js +214 -0
- package/dist/react-native/api/publicCloudConnectors/operations.js.map +1 -0
- package/dist/react-native/api/publicCloudConnectors/options.d.ts +27 -0
- package/dist/react-native/api/publicCloudConnectors/options.d.ts.map +1 -0
- package/dist/react-native/api/publicCloudConnectors/options.js +4 -0
- package/dist/react-native/api/publicCloudConnectors/options.js.map +1 -0
- package/dist/react-native/api/serviceConfigurations/index.d.ts +3 -0
- package/dist/react-native/api/serviceConfigurations/index.d.ts.map +1 -0
- package/dist/react-native/api/serviceConfigurations/index.js +4 -0
- package/dist/react-native/api/serviceConfigurations/index.js.map +1 -0
- package/dist/react-native/api/serviceConfigurations/operations.d.ts +31 -0
- package/dist/react-native/api/serviceConfigurations/operations.d.ts.map +1 -0
- package/dist/react-native/api/serviceConfigurations/operations.js +148 -0
- package/dist/react-native/api/serviceConfigurations/operations.js.map +1 -0
- package/dist/react-native/api/serviceConfigurations/options.d.ts +17 -0
- package/dist/react-native/api/serviceConfigurations/options.d.ts.map +1 -0
- package/dist/react-native/api/serviceConfigurations/options.js +4 -0
- package/dist/react-native/api/serviceConfigurations/options.js.map +1 -0
- package/dist/react-native/api/solutionConfigurations/index.d.ts +3 -0
- package/dist/react-native/api/solutionConfigurations/index.d.ts.map +1 -0
- package/dist/react-native/api/solutionConfigurations/index.js +4 -0
- package/dist/react-native/api/solutionConfigurations/index.js.map +1 -0
- package/dist/react-native/api/solutionConfigurations/operations.d.ts +36 -0
- package/dist/react-native/api/solutionConfigurations/operations.d.ts.map +1 -0
- package/dist/react-native/api/solutionConfigurations/operations.js +169 -0
- package/dist/react-native/api/solutionConfigurations/operations.js.map +1 -0
- package/dist/react-native/api/solutionConfigurations/options.d.ts +22 -0
- package/dist/react-native/api/solutionConfigurations/options.d.ts.map +1 -0
- package/dist/react-native/api/solutionConfigurations/options.js +4 -0
- package/dist/react-native/api/solutionConfigurations/options.js.map +1 -0
- package/dist/react-native/api/solutionTypes/index.d.ts +3 -0
- package/dist/react-native/api/solutionTypes/index.d.ts.map +1 -0
- package/dist/react-native/api/solutionTypes/index.js +4 -0
- package/dist/react-native/api/solutionTypes/index.js.map +1 -0
- package/dist/react-native/api/solutionTypes/operations.d.ts +18 -0
- package/dist/react-native/api/solutionTypes/operations.d.ts.map +1 -0
- package/dist/react-native/api/solutionTypes/operations.js +88 -0
- package/dist/react-native/api/solutionTypes/operations.js.map +1 -0
- package/dist/react-native/api/solutionTypes/options.d.ts +11 -0
- package/dist/react-native/api/solutionTypes/options.d.ts.map +1 -0
- package/dist/react-native/api/solutionTypes/options.js +4 -0
- package/dist/react-native/api/solutionTypes/options.js.map +1 -0
- package/dist/react-native/classic/endpoints/index.d.ts +30 -0
- package/dist/react-native/classic/endpoints/index.d.ts.map +1 -0
- package/dist/react-native/classic/endpoints/index.js +19 -0
- package/dist/react-native/classic/endpoints/index.js.map +1 -0
- package/dist/react-native/classic/generateAwsTemplate/index.d.ts +10 -0
- package/dist/react-native/classic/generateAwsTemplate/index.d.ts.map +1 -0
- package/dist/react-native/classic/generateAwsTemplate/index.js +12 -0
- package/dist/react-native/classic/generateAwsTemplate/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +9 -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/inventory/index.d.ts +13 -0
- package/dist/react-native/classic/inventory/index.d.ts.map +1 -0
- package/dist/react-native/classic/inventory/index.js +13 -0
- package/dist/react-native/classic/inventory/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +11 -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/publicCloudConnectors/index.d.ts +29 -0
- package/dist/react-native/classic/publicCloudConnectors/index.d.ts.map +1 -0
- package/dist/react-native/classic/publicCloudConnectors/index.js +18 -0
- package/dist/react-native/classic/publicCloudConnectors/index.js.map +1 -0
- package/dist/react-native/classic/serviceConfigurations/index.d.ts +24 -0
- package/dist/react-native/classic/serviceConfigurations/index.d.ts.map +1 -0
- package/dist/react-native/classic/serviceConfigurations/index.js +16 -0
- package/dist/react-native/classic/serviceConfigurations/index.js.map +1 -0
- package/dist/react-native/classic/solutionConfigurations/index.d.ts +27 -0
- package/dist/react-native/classic/solutionConfigurations/index.d.ts.map +1 -0
- package/dist/react-native/classic/solutionConfigurations/index.js +17 -0
- package/dist/react-native/classic/solutionConfigurations/index.js.map +1 -0
- package/dist/react-native/classic/solutionTypes/index.d.ts +15 -0
- package/dist/react-native/classic/solutionTypes/index.d.ts.map +1 -0
- package/dist/react-native/classic/solutionTypes/index.js +14 -0
- package/dist/react-native/classic/solutionTypes/index.js.map +1 -0
- package/dist/react-native/hybridConnectivityManagementAPI.d.ts +34 -18
- package/dist/react-native/hybridConnectivityManagementAPI.d.ts.map +1 -1
- package/dist/react-native/hybridConnectivityManagementAPI.js +29 -90
- package/dist/react-native/hybridConnectivityManagementAPI.js.map +1 -1
- package/dist/react-native/index.d.ts +14 -3
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +4 -11
- package/dist/react-native/index.js.map +1 -1
- 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 +1 -476
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +3 -65
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +675 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +699 -0
- package/dist/react-native/models/models.js.map +1 -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 +99 -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/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.js +168 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +270 -76
- package/review/arm-hybridconnectivity-api-endpoints.api.md +72 -0
- package/review/arm-hybridconnectivity-api-generateAwsTemplate.api.md +19 -0
- package/review/arm-hybridconnectivity-api-inventory.api.md +26 -0
- package/review/arm-hybridconnectivity-api-operations.api.md +19 -0
- package/review/arm-hybridconnectivity-api-publicCloudConnectors.api.md +65 -0
- package/review/arm-hybridconnectivity-api-serviceConfigurations.api.md +47 -0
- package/review/arm-hybridconnectivity-api-solutionConfigurations.api.md +57 -0
- package/review/arm-hybridconnectivity-api-solutionTypes.api.md +33 -0
- package/review/arm-hybridconnectivity-api.api.md +27 -0
- package/review/arm-hybridconnectivity-models.api.md +412 -0
- package/review/arm-hybridconnectivity.api.md +402 -119
- package/dist/browser/models/mappers.d.ts +0 -23
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -631
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -17
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -135
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/endpoints.d.ts +0 -97
- package/dist/browser/operations/endpoints.d.ts.map +0 -1
- package/dist/browser/operations/endpoints.js +0 -365
- package/dist/browser/operations/endpoints.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -4
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -11
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/operations.d.ts +0 -32
- package/dist/browser/operations/operations.d.ts.map +0 -1
- package/dist/browser/operations/operations.js +0 -133
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operations/serviceConfigurations.d.ts +0 -79
- package/dist/browser/operations/serviceConfigurations.d.ts.map +0 -1
- package/dist/browser/operations/serviceConfigurations.js +0 -299
- package/dist/browser/operations/serviceConfigurations.js.map +0 -1
- package/dist/browser/operationsInterfaces/endpoints.d.ts +0 -72
- package/dist/browser/operationsInterfaces/endpoints.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/endpoints.js +0 -9
- package/dist/browser/operationsInterfaces/endpoints.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -4
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -11
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
- package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operations.js +0 -9
- package/dist/browser/operationsInterfaces/operations.js.map +0 -1
- package/dist/browser/operationsInterfaces/serviceConfigurations.d.ts +0 -52
- package/dist/browser/operationsInterfaces/serviceConfigurations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/serviceConfigurations.js +0 -9
- package/dist/browser/operationsInterfaces/serviceConfigurations.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -32
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -23
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -634
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -17
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -138
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/endpoints.d.ts +0 -97
- package/dist/commonjs/operations/endpoints.d.ts.map +0 -1
- package/dist/commonjs/operations/endpoints.js +0 -369
- package/dist/commonjs/operations/endpoints.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -4
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -14
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operations/operations.d.ts +0 -32
- package/dist/commonjs/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/operations/operations.js +0 -137
- package/dist/commonjs/operations/operations.js.map +0 -1
- package/dist/commonjs/operations/serviceConfigurations.d.ts +0 -79
- package/dist/commonjs/operations/serviceConfigurations.d.ts.map +0 -1
- package/dist/commonjs/operations/serviceConfigurations.js +0 -303
- package/dist/commonjs/operations/serviceConfigurations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/endpoints.d.ts +0 -72
- package/dist/commonjs/operationsInterfaces/endpoints.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/endpoints.js +0 -10
- package/dist/commonjs/operationsInterfaces/endpoints.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -4
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -14
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.js +0 -10
- package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/serviceConfigurations.d.ts +0 -52
- package/dist/commonjs/operationsInterfaces/serviceConfigurations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/serviceConfigurations.js +0 -10
- package/dist/commonjs/operationsInterfaces/serviceConfigurations.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -36
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -23
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -631
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -17
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -135
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/endpoints.d.ts +0 -97
- package/dist/esm/operations/endpoints.d.ts.map +0 -1
- package/dist/esm/operations/endpoints.js +0 -365
- package/dist/esm/operations/endpoints.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -4
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -11
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operations/operations.d.ts +0 -32
- package/dist/esm/operations/operations.d.ts.map +0 -1
- package/dist/esm/operations/operations.js +0 -133
- package/dist/esm/operations/operations.js.map +0 -1
- package/dist/esm/operations/serviceConfigurations.d.ts +0 -79
- package/dist/esm/operations/serviceConfigurations.d.ts.map +0 -1
- package/dist/esm/operations/serviceConfigurations.js +0 -299
- package/dist/esm/operations/serviceConfigurations.js.map +0 -1
- package/dist/esm/operationsInterfaces/endpoints.d.ts +0 -72
- package/dist/esm/operationsInterfaces/endpoints.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/endpoints.js +0 -9
- package/dist/esm/operationsInterfaces/endpoints.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -4
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -11
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
- package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operations.js +0 -9
- package/dist/esm/operationsInterfaces/operations.js.map +0 -1
- package/dist/esm/operationsInterfaces/serviceConfigurations.d.ts +0 -52
- package/dist/esm/operationsInterfaces/serviceConfigurations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/serviceConfigurations.js +0 -9
- package/dist/esm/operationsInterfaces/serviceConfigurations.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -32
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -23
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -631
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -17
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -135
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/endpoints.d.ts +0 -97
- package/dist/react-native/operations/endpoints.d.ts.map +0 -1
- package/dist/react-native/operations/endpoints.js +0 -365
- package/dist/react-native/operations/endpoints.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -4
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -11
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/operations.d.ts +0 -32
- package/dist/react-native/operations/operations.d.ts.map +0 -1
- package/dist/react-native/operations/operations.js +0 -133
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operations/serviceConfigurations.d.ts +0 -79
- package/dist/react-native/operations/serviceConfigurations.d.ts.map +0 -1
- package/dist/react-native/operations/serviceConfigurations.js +0 -299
- package/dist/react-native/operations/serviceConfigurations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/endpoints.d.ts +0 -72
- package/dist/react-native/operationsInterfaces/endpoints.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/endpoints.js +0 -9
- package/dist/react-native/operationsInterfaces/endpoints.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -4
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -11
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.js +0 -9
- package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/serviceConfigurations.d.ts +0 -52
- package/dist/react-native/operationsInterfaces/serviceConfigurations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/serviceConfigurations.js +0 -9
- package/dist/react-native/operationsInterfaces/serviceConfigurations.js.map +0 -1
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -32
- package/dist/react-native/pagingHelper.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAQlC,4EAYC;AAcD,gFAaC;AAED,0GAMC;AAkBD,gGAaC;AAKD,0DAEC;AAED,8DASC;AAcD,gDAEC;AAED,oDASC;AAkBD,wDAWC;AAgCD,8DAIC;AAgBD,0DAUC;AAED,oEAIC;AAED,oFAIC;AAUD,0EAKC;AAKD,oFAEC;AAUD,kGAOC;AAED,sFAIC;AAQD,sEAYC;AAkBD,0EASC;AAsED,4FAKC;AAED,gFAIC;AAQD,0EAMC;AAED,8EAYC;AAkBD,8FASC;AAED,kGAaC;AAKD,gEAEC;AAED,oEAIC;AAKD,kEAEC;AAED,sEASC;AAQD,sFAMC;AAUD,0GASC;AAUD,oGAOC;AAED,oFAIC;AAED,wFAMC;AAwBD,8EAcC;AAED,wFAMC;AAQD,wEAQC;AAED,4EAcC;AAcD,4FAOC;AAED,gGASC;AAYD,8DAUC;AAED,kEAUC;AAyBD,8DAEC;AAED,kEAWC;AAQD,oFAOC;AAQD,wGAQC;AAQD,0EAQC;AAQD,0EAEC;AAUD,kGAOC;AAED,kFAIC;AAED,sFAIC;AAUD,oFAOC;AAED,kFAIC;AAUD,wEAOC;AAKD,8DAEC;AAQD,wFAMC;AAED,4FAYC;AAcD,4FAQC;AAED,gGASC;AA8CD,kGAQC;AAQD,sGAIC;AAUD,sFAKC;AAED,kGAMC;AAED,sGAMC;AAQD,gEAMC;AAED,oE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AAA;IACb,wDAAwD;IACxD,gCAAiB,CAAA;IACjB,gEAAgE;IAChE,yCAA0B,CAAA;AAC5B,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAaD,gHAAgH;AAChH,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,0CAA0C;IAC1C,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAWD,sDAAsD;AACtD,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,yBAAyB;IACzB,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */\nexport interface SolutionTypeResource extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: SolutionTypeProperties;\n}\n\nexport function solutionTypeResourceDeserializer(item: any): SolutionTypeResource {\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 : solutionTypePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Definition of Solution type resource. */\nexport interface SolutionTypeProperties {\n /** The name of the solution type. */\n solutionType?: string;\n /** Short description of solution type. */\n description?: string;\n /** The locations this solution is supported in. */\n supportedAzureRegions?: string[];\n /** Array of solution settings and its description. */\n solutionSettings?: SolutionTypeSettingsProperties[];\n}\n\nexport function solutionTypePropertiesDeserializer(item: any): SolutionTypeProperties {\n return {\n solutionType: item[\"solutionType\"],\n description: item[\"description\"],\n supportedAzureRegions: !item[\"supportedAzureRegions\"]\n ? item[\"supportedAzureRegions\"]\n : item[\"supportedAzureRegions\"].map((p: any) => {\n return p;\n }),\n solutionSettings: !item[\"solutionSettings\"]\n ? item[\"solutionSettings\"]\n : solutionTypeSettingsPropertiesArrayDeserializer(item[\"solutionSettings\"]),\n };\n}\n\nexport function solutionTypeSettingsPropertiesArrayDeserializer(\n result: Array<SolutionTypeSettingsProperties>,\n): any[] {\n return result.map((item) => {\n return solutionTypeSettingsPropertiesDeserializer(item);\n });\n}\n\n/** Represent Solution settings properties description array. */\nexport interface SolutionTypeSettingsProperties {\n /** The name of the solution setting property. */\n name: string;\n /** The UI friendly name of the solution setting property. */\n displayName: string;\n /** Type of the solution setting property, represented as a string. */\n type: string;\n /** Description of solution setting property. */\n description: string;\n /** Array of allowed values for this solution settings property. */\n allowedValues: string[];\n /** Default value for this solution settings property. */\n defaultValue: string;\n}\n\nexport function solutionTypeSettingsPropertiesDeserializer(\n item: any,\n): SolutionTypeSettingsProperties {\n return {\n name: item[\"name\"],\n displayName: item[\"displayName\"],\n type: item[\"type\"],\n description: item[\"description\"],\n allowedValues: item[\"allowedValues\"].map((p: any) => {\n return p;\n }),\n defaultValue: item[\"defaultValue\"],\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 proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return 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/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: !item[\"info\"] ? item[\"info\"] : _errorAdditionalInfoInfoDeserializer(item[\"info\"]),\n };\n}\n\n/** model interface _ErrorAdditionalInfoInfo */\nexport interface _ErrorAdditionalInfoInfo {}\n\nexport function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo {\n return item;\n}\n\n/** The response of a SolutionTypeResource list operation. */\nexport interface _SolutionTypeResourceListResult {\n /** The SolutionTypeResource items on this page */\n value: SolutionTypeResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _solutionTypeResourceListResultDeserializer(\n item: any,\n): _SolutionTypeResourceListResult {\n return {\n value: solutionTypeResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function solutionTypeResourceArrayDeserializer(result: Array<SolutionTypeResource>): any[] {\n return result.map((item) => {\n return solutionTypeResourceDeserializer(item);\n });\n}\n\n/** Concrete proxy resource types can be created by aliasing this type using a specific property type. */\nexport interface InventoryResource extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: InventoryProperties;\n}\n\nexport function inventoryResourceDeserializer(item: any): InventoryResource {\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 : inventoryPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Definition of inventory. */\nexport interface InventoryProperties {\n /** Gets or sets the cloud native resource type. */\n cloudNativeType?: CloudNativeType;\n /** Gets or sets the cloud native resource name. */\n cloudNativeResourceId?: string;\n /** Gets or sets the mapped azure resource id. */\n azureResourceId?: string;\n /** Gets or sets the status of the inventory. */\n status?: SolutionConfigurationStatus;\n /** Gets or sets the status details. */\n statusDetails?: string;\n /** The resource provisioning state. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function inventoryPropertiesDeserializer(item: any): InventoryProperties {\n return {\n cloudNativeType: item[\"cloudNativeType\"],\n cloudNativeResourceId: item[\"cloudNativeResourceId\"],\n azureResourceId: item[\"azureResourceId\"],\n status: item[\"status\"],\n statusDetails: item[\"statusDetails\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Cloud Native Type enum. */\nexport enum KnownCloudNativeType {\n /** ec2 enum. */\n Ec2 = \"ec2\",\n}\n\n/**\n * Cloud Native Type enum. \\\n * {@link KnownCloudNativeType} can be used interchangeably with CloudNativeType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ec2**: ec2 enum.\n */\nexport type CloudNativeType = string;\n\n/** Solution Configuration Status. */\nexport enum KnownSolutionConfigurationStatus {\n /** New status */\n New = \"New\",\n /** InProgress status */\n InProgress = \"InProgress\",\n /** Canceled status */\n Completed = \"Completed\",\n /** Failed status */\n Failed = \"Failed\",\n}\n\n/**\n * Solution Configuration Status. \\\n * {@link KnownSolutionConfigurationStatus} can be used interchangeably with SolutionConfigurationStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **New**: New status \\\n * **InProgress**: InProgress status \\\n * **Completed**: Canceled status \\\n * **Failed**: Failed status\n */\nexport type SolutionConfigurationStatus = string;\n\n/** The provisioning state of a resource type. */\nexport enum KnownResourceProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled.\n */\nexport type ResourceProvisioningState = string;\n\n/** The response of a InventoryResource list operation. */\nexport interface _InventoryResourceListResult {\n /** The InventoryResource items on this page */\n value: InventoryResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _inventoryResourceListResultDeserializer(item: any): _InventoryResourceListResult {\n return {\n value: inventoryResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function inventoryResourceArrayDeserializer(result: Array<InventoryResource>): any[] {\n return result.map((item) => {\n return inventoryResourceDeserializer(item);\n });\n}\n\n/** Solution Configuration */\nexport interface SolutionConfiguration extends ExtensionResource {\n /** The resource-specific properties for this resource. */\n properties?: SolutionConfigurationProperties;\n}\n\nexport function solutionConfigurationSerializer(item: SolutionConfiguration): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : solutionConfigurationPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function solutionConfigurationDeserializer(item: any): SolutionConfiguration {\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 : solutionConfigurationPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Solution configuration resource. */\nexport interface SolutionConfigurationProperties {\n /** The resource provisioning state. */\n readonly provisioningState?: ResourceProvisioningState;\n /** The type of the solution */\n solutionType: string;\n /** Solution settings */\n solutionSettings?: SolutionSettings;\n /** The status of solution configurations */\n readonly status?: SolutionConfigurationStatus;\n /** The detailed message of status details */\n readonly statusDetails?: string;\n /** The last time resources were inventoried */\n readonly lastSyncTime?: Date;\n}\n\nexport function solutionConfigurationPropertiesSerializer(\n item: SolutionConfigurationProperties,\n): any {\n return {\n solutionType: item[\"solutionType\"],\n solutionSettings: !item[\"solutionSettings\"]\n ? item[\"solutionSettings\"]\n : solutionSettingsSerializer(item[\"solutionSettings\"]),\n };\n}\n\nexport function solutionConfigurationPropertiesDeserializer(\n item: any,\n): SolutionConfigurationProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n solutionType: item[\"solutionType\"],\n solutionSettings: !item[\"solutionSettings\"]\n ? item[\"solutionSettings\"]\n : solutionSettingsDeserializer(item[\"solutionSettings\"]),\n status: item[\"status\"],\n statusDetails: item[\"statusDetails\"],\n lastSyncTime: !item[\"lastSyncTime\"] ? item[\"lastSyncTime\"] : new Date(item[\"lastSyncTime\"]),\n };\n}\n\n/** Solution settings */\nexport interface SolutionSettings extends Record<string, string> {}\n\nexport function solutionSettingsSerializer(item: SolutionSettings): any {\n return { ...item };\n}\n\nexport function solutionSettingsDeserializer(item: any): SolutionSettings {\n return {\n ...item,\n };\n}\n\n/** The base extension resource. */\nexport interface ExtensionResource extends Resource {}\n\nexport function extensionResourceSerializer(item: ExtensionResource): any {\n return item;\n}\n\nexport function extensionResourceDeserializer(item: any): ExtensionResource {\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/** Solution Configuration */\nexport interface SolutionConfigurationUpdate extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: SolutionConfigurationPropertiesUpdate;\n}\n\nexport function solutionConfigurationUpdateSerializer(item: SolutionConfigurationUpdate): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : solutionConfigurationPropertiesUpdateSerializer(item[\"properties\"]),\n };\n}\n\n/** Solution configuration resource. */\nexport interface SolutionConfigurationPropertiesUpdate {\n /** The type of the solution */\n solutionType?: string;\n /** Solution settings */\n solutionSettings?: SolutionSettings;\n}\n\nexport function solutionConfigurationPropertiesUpdateSerializer(\n item: SolutionConfigurationPropertiesUpdate,\n): any {\n return {\n solutionType: item[\"solutionType\"],\n solutionSettings: !item[\"solutionSettings\"]\n ? item[\"solutionSettings\"]\n : solutionSettingsSerializer(item[\"solutionSettings\"]),\n };\n}\n\n/** The response of a SolutionConfiguration list operation. */\nexport interface _SolutionConfigurationListResult {\n /** The SolutionConfiguration items on this page */\n value: SolutionConfiguration[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _solutionConfigurationListResultDeserializer(\n item: any,\n): _SolutionConfigurationListResult {\n return {\n value: solutionConfigurationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function solutionConfigurationArraySerializer(result: Array<SolutionConfiguration>): any[] {\n return result.map((item) => {\n return solutionConfigurationSerializer(item);\n });\n}\n\nexport function solutionConfigurationArrayDeserializer(\n result: Array<SolutionConfiguration>,\n): any[] {\n return result.map((item) => {\n return solutionConfigurationDeserializer(item);\n });\n}\n\n/** The current status of an async operation. */\nexport interface OperationStatusResult {\n /** Fully qualified ID for the async operation. */\n id?: string;\n /** Name of the async operation. */\n name?: string;\n /** Operation status. */\n status: string;\n /** Percent of the operation that is complete. */\n percentComplete?: number;\n /** The start time of the operation. */\n startTime?: Date;\n /** The end time of the operation. */\n endTime?: Date;\n /** The operations list. */\n operations?: OperationStatusResult[];\n /** If present, details of the operation error. */\n error?: ErrorDetail;\n /** Fully qualified ID of the resource against which the original async operation was started. */\n readonly resourceId?: string;\n}\n\nexport function operationStatusResultDeserializer(item: any): OperationStatusResult {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n status: item[\"status\"],\n percentComplete: item[\"percentComplete\"],\n startTime: !item[\"startTime\"] ? item[\"startTime\"] : new Date(item[\"startTime\"]),\n endTime: !item[\"endTime\"] ? item[\"endTime\"] : new Date(item[\"endTime\"]),\n operations: !item[\"operations\"]\n ? item[\"operations\"]\n : operationStatusResultArrayDeserializer(item[\"operations\"]),\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n resourceId: item[\"resourceId\"],\n };\n}\n\nexport function operationStatusResultArrayDeserializer(\n result: Array<OperationStatusResult>,\n): any[] {\n return result.map((item) => {\n return operationStatusResultDeserializer(item);\n });\n}\n\n/** Public Cloud Connector */\nexport interface PublicCloudConnector extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: PublicCloudConnectorProperties;\n}\n\nexport function publicCloudConnectorSerializer(item: PublicCloudConnector): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : publicCloudConnectorPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function publicCloudConnectorDeserializer(item: any): PublicCloudConnector {\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 : publicCloudConnectorPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of public cloud connectors. */\nexport interface PublicCloudConnectorProperties {\n /** Cloud profile for AWS. */\n awsCloudProfile: AwsCloudProfile;\n /** Host cloud the public cloud connector. */\n hostType: HostType;\n /** The resource provisioning state. */\n readonly provisioningState?: ResourceProvisioningState;\n /** Connector primary identifier. */\n readonly connectorPrimaryIdentifier?: string;\n}\n\nexport function publicCloudConnectorPropertiesSerializer(\n item: PublicCloudConnectorProperties,\n): any {\n return {\n awsCloudProfile: awsCloudProfileSerializer(item[\"awsCloudProfile\"]),\n hostType: item[\"hostType\"],\n };\n}\n\nexport function publicCloudConnectorPropertiesDeserializer(\n item: any,\n): PublicCloudConnectorProperties {\n return {\n awsCloudProfile: awsCloudProfileDeserializer(item[\"awsCloudProfile\"]),\n hostType: item[\"hostType\"],\n provisioningState: item[\"provisioningState\"],\n connectorPrimaryIdentifier: item[\"connectorPrimaryIdentifier\"],\n };\n}\n\n/** cloud profile for AWS. */\nexport interface AwsCloudProfile {\n /** Account id for the AWS account. */\n accountId: string;\n /** List of AWS accounts which need to be excluded. */\n excludedAccounts?: string[];\n /** Boolean value that indicates whether the account is organizational or not. True represents organization account, whereas false represents a single account. */\n isOrganizationalAccount?: boolean;\n}\n\nexport function awsCloudProfileSerializer(item: AwsCloudProfile): any {\n return {\n accountId: item[\"accountId\"],\n excludedAccounts: !item[\"excludedAccounts\"]\n ? item[\"excludedAccounts\"]\n : item[\"excludedAccounts\"].map((p: any) => {\n return p;\n }),\n isOrganizationalAccount: item[\"isOrganizationalAccount\"],\n };\n}\n\nexport function awsCloudProfileDeserializer(item: any): AwsCloudProfile {\n return {\n accountId: item[\"accountId\"],\n excludedAccounts: !item[\"excludedAccounts\"]\n ? item[\"excludedAccounts\"]\n : item[\"excludedAccounts\"].map((p: any) => {\n return p;\n }),\n isOrganizationalAccount: item[\"isOrganizationalAccount\"],\n };\n}\n\n/** Enum of host cloud the public cloud connector is referencing. */\nexport enum KnownHostType {\n /** AWS state */\n AWS = \"AWS\",\n}\n\n/**\n * Enum of host cloud the public cloud connector is referencing. \\\n * {@link KnownHostType} can be used interchangeably with HostType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AWS**: AWS state\n */\nexport type HostType = string;\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/** Public Cloud Connector */\nexport interface PublicCloudConnectorUpdate extends TrackedResourceUpdate {\n /** The resource-specific properties for this resource. */\n properties?: PublicCloudConnectorPropertiesUpdate;\n}\n\nexport function publicCloudConnectorUpdateSerializer(item: PublicCloudConnectorUpdate): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : publicCloudConnectorPropertiesUpdateSerializer(item[\"properties\"]),\n };\n}\n\n/** Properties of public cloud connectors. */\nexport interface PublicCloudConnectorPropertiesUpdate {\n /** Cloud profile for AWS. */\n awsCloudProfile?: AwsCloudProfileUpdate;\n}\n\nexport function publicCloudConnectorPropertiesUpdateSerializer(\n item: PublicCloudConnectorPropertiesUpdate,\n): any {\n return {\n awsCloudProfile: !item[\"awsCloudProfile\"]\n ? item[\"awsCloudProfile\"]\n : awsCloudProfileUpdateSerializer(item[\"awsCloudProfile\"]),\n };\n}\n\n/** cloud profile for AWS. */\nexport interface AwsCloudProfileUpdate {\n /** List of AWS accounts which need to be excluded. */\n excludedAccounts?: string[];\n}\n\nexport function awsCloudProfileUpdateSerializer(item: AwsCloudProfileUpdate): any {\n return {\n excludedAccounts: !item[\"excludedAccounts\"]\n ? item[\"excludedAccounts\"]\n : item[\"excludedAccounts\"].map((p: any) => {\n return p;\n }),\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 TrackedResourceUpdate extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function trackedResourceUpdateSerializer(item: TrackedResourceUpdate): any {\n return { tags: item[\"tags\"] };\n}\n\n/** The response of a PublicCloudConnector list operation. */\nexport interface _PublicCloudConnectorListResult {\n /** The PublicCloudConnector items on this page */\n value: PublicCloudConnector[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _publicCloudConnectorListResultDeserializer(\n item: any,\n): _PublicCloudConnectorListResult {\n return {\n value: publicCloudConnectorArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function publicCloudConnectorArraySerializer(result: Array<PublicCloudConnector>): any[] {\n return result.map((item) => {\n return publicCloudConnectorSerializer(item);\n });\n}\n\nexport function publicCloudConnectorArrayDeserializer(result: Array<PublicCloudConnector>): any[] {\n return result.map((item) => {\n return publicCloudConnectorDeserializer(item);\n });\n}\n\n/** ConnectorId and SolutionTypes and their properties to Generate AWS CFT Template. */\nexport interface GenerateAwsTemplateRequest {\n /** The name of public cloud connector */\n connectorId: string;\n /** The list of solution types and their settings */\n solutionTypes?: SolutionTypeSettings[];\n}\n\nexport function generateAwsTemplateRequestSerializer(item: GenerateAwsTemplateRequest): any {\n return {\n connectorId: item[\"connectorId\"],\n solutionTypes: !item[\"solutionTypes\"]\n ? item[\"solutionTypes\"]\n : solutionTypeSettingsArraySerializer(item[\"solutionTypes\"]),\n };\n}\n\nexport function solutionTypeSettingsArraySerializer(result: Array<SolutionTypeSettings>): any[] {\n return result.map((item) => {\n return solutionTypeSettingsSerializer(item);\n });\n}\n\n/** The properties of Solution Type */\nexport interface SolutionTypeSettings {\n /** The type of the solution */\n solutionType: string;\n /** Solution settings */\n solutionSettings?: SolutionSettings;\n}\n\nexport function solutionTypeSettingsSerializer(item: SolutionTypeSettings): any {\n return {\n solutionType: item[\"solutionType\"],\n solutionSettings: !item[\"solutionSettings\"]\n ? item[\"solutionSettings\"]\n : solutionSettingsSerializer(item[\"solutionSettings\"]),\n };\n}\n\n/** model interface _PostResponse */\nexport interface _PostResponse {}\n\nexport function _postResponseDeserializer(item: any): _PostResponse {\n return item;\n}\n\n/** The service configuration details associated with the target resource. */\nexport interface ServiceConfigurationResource extends ExtensionResource {\n /** The service configuration properties. */\n properties?: ServiceConfigurationProperties;\n}\n\nexport function serviceConfigurationResourceSerializer(item: ServiceConfigurationResource): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : serviceConfigurationPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function serviceConfigurationResourceDeserializer(item: any): ServiceConfigurationResource {\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 : serviceConfigurationPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Service configuration details */\nexport interface ServiceConfigurationProperties {\n /** Name of the service. */\n serviceName: ServiceName;\n /** The resource Id of the connectivity endpoint (optional). */\n resourceId?: string;\n /** The port on which service is enabled. */\n port?: number;\n /** The resource provisioning state. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function serviceConfigurationPropertiesSerializer(\n item: ServiceConfigurationProperties,\n): any {\n return {\n serviceName: item[\"serviceName\"],\n resourceId: item[\"resourceId\"],\n port: item[\"port\"],\n };\n}\n\nexport function serviceConfigurationPropertiesDeserializer(\n item: any,\n): ServiceConfigurationProperties {\n return {\n serviceName: item[\"serviceName\"],\n resourceId: item[\"resourceId\"],\n port: item[\"port\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Name of the service. */\nexport enum KnownServiceName {\n SSH = \"SSH\",\n WAC = \"WAC\",\n}\n\n/**\n * Name of the service. \\\n * {@link KnownServiceName} can be used interchangeably with ServiceName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SSH** \\\n * **WAC**\n */\nexport type ServiceName = string;\n\n/** The resource provisioning state. */\nexport enum KnownProvisioningState {\n Succeeded = \"Succeeded\",\n Creating = \"Creating\",\n Updating = \"Updating\",\n Failed = \"Failed\",\n Canceled = \"Canceled\",\n}\n\n/**\n * The resource provisioning state. \\\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** \\\n * **Creating** \\\n * **Updating** \\\n * **Failed** \\\n * **Canceled**\n */\nexport type ProvisioningState = string;\n\n/** The service details under service configuration for the target endpoint resource. */\nexport interface ServiceConfigurationResourcePatch {\n /** The service configuration properties. */\n properties?: ServiceConfigurationPropertiesPatch;\n}\n\nexport function serviceConfigurationResourcePatchSerializer(\n item: ServiceConfigurationResourcePatch,\n): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : serviceConfigurationPropertiesPatchSerializer(item[\"properties\"]),\n };\n}\n\n/** Service configuration details */\nexport interface ServiceConfigurationPropertiesPatch {\n /** The port on which service is enabled. */\n port?: number;\n}\n\nexport function serviceConfigurationPropertiesPatchSerializer(\n item: ServiceConfigurationPropertiesPatch,\n): any {\n return { port: item[\"port\"] };\n}\n\n/** The paginated list of serviceConfigurations */\nexport interface _ServiceConfigurationList {\n /** The list of service configuration */\n value: ServiceConfigurationResource[];\n /** The link to fetch the next page of connected cluster */\n nextLink?: string;\n}\n\nexport function _serviceConfigurationListDeserializer(item: any): _ServiceConfigurationList {\n return {\n value: serviceConfigurationResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function serviceConfigurationResourceArraySerializer(\n result: Array<ServiceConfigurationResource>,\n): any[] {\n return result.map((item) => {\n return serviceConfigurationResourceSerializer(item);\n });\n}\n\nexport function serviceConfigurationResourceArrayDeserializer(\n result: Array<ServiceConfigurationResource>,\n): any[] {\n return result.map((item) => {\n return serviceConfigurationResourceDeserializer(item);\n });\n}\n\n/** The endpoint for the target resource. */\nexport interface EndpointResource extends ExtensionResource {\n /** The endpoint properties. */\n properties?: EndpointProperties;\n}\n\nexport function endpointResourceSerializer(item: EndpointResource): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : endpointPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function endpointResourceDeserializer(item: any): EndpointResource {\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 : endpointPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Endpoint details */\nexport interface EndpointProperties {\n /** The type of endpoint. */\n type: Type;\n /** The resource Id of the connectivity endpoint (optional). */\n resourceId?: string;\n /** The resource provisioning state. */\n readonly provisioningState?: string;\n}\n\nexport function endpointPropertiesSerializer(item: EndpointProperties): any {\n return { type: item[\"type\"], resourceId: item[\"resourceId\"] };\n}\n\nexport function endpointPropertiesDeserializer(item: any): EndpointProperties {\n return {\n type: item[\"type\"],\n resourceId: item[\"resourceId\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The type of endpoint. */\nexport enum KnownType {\n Default = \"default\",\n Custom = \"custom\",\n}\n\n/**\n * The type of endpoint. \\\n * {@link KnownType} can be used interchangeably with Type,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **default** \\\n * **custom**\n */\nexport type Type = string;\n\n/** The list of endpoints. */\nexport interface _EndpointsList {\n /** The list of endpoint. */\n value: EndpointResource[];\n /** The link used to get the next page of endpoints list. */\n nextLink?: string;\n}\n\nexport function _endpointsListDeserializer(item: any): _EndpointsList {\n return {\n value: endpointResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function endpointResourceArraySerializer(result: Array<EndpointResource>): any[] {\n return result.map((item) => {\n return endpointResourceSerializer(item);\n });\n}\n\nexport function endpointResourceArrayDeserializer(result: Array<EndpointResource>): any[] {\n return result.map((item) => {\n return endpointResourceDeserializer(item);\n });\n}\n\n/** The details of the service for which credentials needs to be returned. */\nexport interface ListCredentialsRequest {\n /** The name of the service. If not provided, the request will by pass the generation of service configuration token */\n serviceName?: ServiceName;\n}\n\nexport function listCredentialsRequestSerializer(item: ListCredentialsRequest): any {\n return { serviceName: item[\"serviceName\"] };\n}\n\n/** The endpoint access for the target resource. */\nexport interface EndpointAccessResource {\n /** Azure relay hybrid connection access properties */\n relay?: RelayNamespaceAccessProperties;\n}\n\nexport function endpointAccessResourceDeserializer(item: any): EndpointAccessResource {\n return {\n relay: !item[\"relay\"]\n ? item[\"relay\"]\n : relayNamespaceAccessPropertiesDeserializer(item[\"relay\"]),\n };\n}\n\n/** Azure relay hybrid connection access properties */\nexport interface RelayNamespaceAccessProperties {\n /** The namespace name. */\n namespaceName: string;\n /** The suffix domain name of relay namespace. */\n namespaceNameSuffix: string;\n /** Azure Relay hybrid connection name for the resource. */\n hybridConnectionName: string;\n /** Access key for hybrid connection. */\n readonly accessKey?: string;\n /** The expiration of access key in unix time. */\n expiresOn?: number;\n /** The token to access the enabled service. */\n serviceConfigurationToken?: string;\n}\n\nexport function relayNamespaceAccessPropertiesDeserializer(\n item: any,\n): RelayNamespaceAccessProperties {\n return {\n namespaceName: item[\"namespaceName\"],\n namespaceNameSuffix: item[\"namespaceNameSuffix\"],\n hybridConnectionName: item[\"hybridConnectionName\"],\n accessKey: item[\"accessKey\"],\n expiresOn: item[\"expiresOn\"],\n serviceConfigurationToken: item[\"serviceConfigurationToken\"],\n };\n}\n\n/** Represent ListIngressGatewayCredentials Request object. */\nexport interface ListIngressGatewayCredentialsRequest {\n /** The name of the service. If not provided, the request will by pass the generation of service configuration token. */\n serviceName?: ServiceName;\n}\n\nexport function listIngressGatewayCredentialsRequestSerializer(\n item: ListIngressGatewayCredentialsRequest,\n): any {\n return { serviceName: item[\"serviceName\"] };\n}\n\n/** The ingress gateway access credentials */\nexport interface IngressGatewayResource {\n /** Azure relay hybrid connection access properties */\n relay?: RelayNamespaceAccessProperties;\n /** Ingress gateway profile */\n ingress?: IngressProfileProperties;\n}\n\nexport function ingressGatewayResourceDeserializer(item: any): IngressGatewayResource {\n return {\n relay: !item[\"relay\"]\n ? item[\"relay\"]\n : relayNamespaceAccessPropertiesDeserializer(item[\"relay\"]),\n ingress: !item[\"ingress\"]\n ? item[\"ingress\"]\n : ingressProfilePropertiesDeserializer(item[\"ingress\"]),\n };\n}\n\n/** Ingress gateway profile */\nexport interface IngressProfileProperties {\n /** The ingress hostname. */\n hostname: string;\n /** The AAD Profile */\n aadProfile: AADProfileProperties;\n}\n\nexport function ingressProfilePropertiesDeserializer(item: any): IngressProfileProperties {\n return {\n hostname: item[\"hostname\"],\n aadProfile: aadProfilePropertiesDeserializer(item[\"aadProfile\"]),\n };\n}\n\n/** The AAD Profile */\nexport interface AADProfileProperties {\n /** The arc ingress gateway server app id. */\n serverId: string;\n /** The target resource home tenant id. */\n tenantId: string;\n}\n\nexport function aadProfilePropertiesDeserializer(item: any): AADProfileProperties {\n return {\n serverId: item[\"serverId\"],\n tenantId: item[\"tenantId\"],\n };\n}\n\n/** Represent ManageProxy Request object. */\nexport interface ManagedProxyRequest {\n /** The name of the service. */\n service: string;\n /** The target host name. */\n hostname?: string;\n /** The name of the service. It is an optional property, if not provided, service configuration tokens issue code would be by passed. */\n serviceName?: ServiceName;\n}\n\nexport function managedProxyRequestSerializer(item: ManagedProxyRequest): any {\n return {\n service: item[\"service\"],\n hostname: item[\"hostname\"],\n serviceName: item[\"serviceName\"],\n };\n}\n\n/** Managed Proxy */\nexport interface ManagedProxyResource {\n /** The short lived proxy name. */\n proxy: string;\n /** The expiration time of short lived proxy name in unix epoch. */\n expiresOn: number;\n}\n\nexport function managedProxyResourceDeserializer(item: any): ManagedProxyResource {\n return {\n proxy: item[\"proxy\"],\n expiresOn: item[\"expiresOn\"],\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 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 readonly 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/** Hybrid Connectivity Management service version. */\nexport enum KnownVersions {\n /** Version 2024-12-01 */\n V20241201 = \"2024-12-01\",\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HybridConnectivityManagementAPI } from "./hybridConnectivityManagementAPI.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: HybridConnectivityManagementAPI, 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,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAOvF,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,+BAA+B,EACvC,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,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.restorePoller = restorePoller;
|
|
6
|
+
const operations_js_1 = require("./api/solutionConfigurations/operations.js");
|
|
7
|
+
const operations_js_2 = require("./api/publicCloudConnectors/operations.js");
|
|
8
|
+
const pollingHelpers_js_1 = require("./static-helpers/pollingHelpers.js");
|
|
9
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
10
|
+
/**
|
|
11
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
12
|
+
* useful when you want to create pollers on a different host or a poller
|
|
13
|
+
* needs to be constructed after the original one is not in scope.
|
|
14
|
+
*/
|
|
15
|
+
function restorePoller(client, serializedState, sourceOperation, options) {
|
|
16
|
+
var _a, _b, _c;
|
|
17
|
+
const pollerConfig = (0, core_lro_1.deserializeState)(serializedState).config;
|
|
18
|
+
const { initialRequestUrl, requestMethod, metadata } = pollerConfig;
|
|
19
|
+
if (!initialRequestUrl || !requestMethod) {
|
|
20
|
+
throw new Error(`Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation === null || sourceOperation === void 0 ? void 0 : sourceOperation.name}`);
|
|
21
|
+
}
|
|
22
|
+
const resourceLocationConfig = metadata === null || metadata === void 0 ? void 0 : metadata["resourceLocationConfig"];
|
|
23
|
+
const { deserializer, expectedStatuses = [] } = (_a = getDeserializationHelper(initialRequestUrl, requestMethod)) !== null && _a !== void 0 ? _a : {};
|
|
24
|
+
const deserializeHelper = (_b = options === null || options === void 0 ? void 0 : options.processResponseBody) !== null && _b !== void 0 ? _b : deserializer;
|
|
25
|
+
if (!deserializeHelper) {
|
|
26
|
+
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}.`);
|
|
27
|
+
}
|
|
28
|
+
return (0, pollingHelpers_js_1.getLongRunningPoller)((_c = client["_client"]) !== null && _c !== void 0 ? _c : client, deserializeHelper, expectedStatuses, {
|
|
29
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
30
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
31
|
+
resourceLocationConfig,
|
|
32
|
+
restoreFrom: serializedState,
|
|
33
|
+
initialRequestUrl,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
const deserializeMap = {
|
|
37
|
+
"POST /{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/syncNow": { deserializer: operations_js_1._syncNowDeserialize, expectedStatuses: ["202", "200"] },
|
|
38
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}/testPermissions": {
|
|
39
|
+
deserializer: operations_js_2._testPermissionsDeserialize,
|
|
40
|
+
expectedStatuses: ["202", "200"],
|
|
41
|
+
},
|
|
42
|
+
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}": {
|
|
43
|
+
deserializer: operations_js_2._createOrUpdateDeserialize,
|
|
44
|
+
expectedStatuses: ["200", "201"],
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
function getDeserializationHelper(urlStr, method) {
|
|
48
|
+
var _a, _b, _c, _d;
|
|
49
|
+
const path = new URL(urlStr).pathname;
|
|
50
|
+
const pathParts = path.split("/");
|
|
51
|
+
// Traverse list to match the longest candidate
|
|
52
|
+
// matchedLen: the length of candidate path
|
|
53
|
+
// matchedValue: the matched status code array
|
|
54
|
+
let matchedLen = -1, matchedValue;
|
|
55
|
+
// Iterate the responseMap to find a match
|
|
56
|
+
for (const [key, value] of Object.entries(deserializeMap)) {
|
|
57
|
+
// Extracting the path from the map key which is in format
|
|
58
|
+
// GET /path/foo
|
|
59
|
+
if (!key.startsWith(method)) {
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
const candidatePath = getPathFromMapKey(key);
|
|
63
|
+
// Get each part of the url path
|
|
64
|
+
const candidateParts = candidatePath.split("/");
|
|
65
|
+
// track if we have found a match to return the values found.
|
|
66
|
+
let found = true;
|
|
67
|
+
for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
|
|
68
|
+
if (((_a = candidateParts[i]) === null || _a === void 0 ? void 0 : _a.startsWith("{")) && ((_b = candidateParts[i]) === null || _b === void 0 ? void 0 : _b.indexOf("}")) !== -1) {
|
|
69
|
+
const start = candidateParts[i].indexOf("}") + 1, end = (_c = candidateParts[i]) === null || _c === void 0 ? void 0 : _c.length;
|
|
70
|
+
// If the current part of the candidate is a "template" part
|
|
71
|
+
// Try to use the suffix of pattern to match the path
|
|
72
|
+
// {guid} ==> $
|
|
73
|
+
// {guid}:export ==> :export$
|
|
74
|
+
const isMatched = new RegExp(`${(_d = candidateParts[i]) === null || _d === void 0 ? void 0 : _d.slice(start, end)}`).test(pathParts[j] || "");
|
|
75
|
+
if (!isMatched) {
|
|
76
|
+
found = false;
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
// If the candidate part is not a template and
|
|
82
|
+
// the parts don't match mark the candidate as not found
|
|
83
|
+
// to move on with the next candidate path.
|
|
84
|
+
if (candidateParts[i] !== pathParts[j]) {
|
|
85
|
+
found = false;
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
// We finished evaluating the current candidate parts
|
|
90
|
+
// Update the matched value if and only if we found the longer pattern
|
|
91
|
+
if (found && candidatePath.length > matchedLen) {
|
|
92
|
+
matchedLen = candidatePath.length;
|
|
93
|
+
matchedValue = value;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return matchedValue;
|
|
97
|
+
}
|
|
98
|
+
function getPathFromMapKey(mapKey) {
|
|
99
|
+
const pathStart = mapKey.indexOf("/");
|
|
100
|
+
return mapKey.slice(pathStart);
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=restorePollerHelpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAqClC,sCAoCC;AAtED,8EAAiF;AACjF,6EAGmD;AACnD,0EAA0E;AAG1E,8CAKyB;AAgBzB;;;;GAIG;AACH,SAAgB,aAAa,CAC3B,MAAuC,EACvC,eAAuB,EACvB,eAAiF,EACjF,OAAuC;;IAEvC,MAAM,YAAY,GAAG,IAAA,2BAAgB,EAAC,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,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,CAAC;gBAClC,4DAA4D;gBAC5D,qDAAqD;gBACrD,eAAe;gBACf,6BAA6B;gBAC7B,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,GAAG,MAAA,cAAc,CAAC,CAAC,CAAC,0CAAE,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,IAAI,CAC1E,SAAS,CAAC,CAAC,CAAC,IAAI,EAAE,CACnB,CAAC;gBAEF,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,KAAK,GAAG,KAAK,CAAC;oBACd,MAAM;gBACR,CAAC;gBACD,SAAS;YACX,CAAC;YAED,8CAA8C;YAC9C,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 { HybridConnectivityManagementAPI } from \"./hybridConnectivityManagementAPI.js\";\nimport { _syncNowDeserialize } from \"./api/solutionConfigurations/operations.js\";\nimport {\n _testPermissionsDeserialize,\n _createOrUpdateDeserialize,\n} from \"./api/publicCloudConnectors/operations.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: HybridConnectivityManagementAPI,\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 \"POST /{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/syncNow\":\n { deserializer: _syncNowDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}/testPermissions\":\n {\n deserializer: _testPermissionsDeserialize,\n expectedStatuses: [\"202\", \"200\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}\":\n {\n deserializer: _createOrUpdateDeserialize,\n expectedStatuses: [\"200\", \"201\"],\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,EAAE,IAAI,KAAK,GAAG;IAClE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,0BAA0B,CACzC,QAAQ,EACR,KAAK,GAAG,QAAQ,EAAE,EAClB,aAAa,SAAS,YAAY,GAAG,YAAY;IAEjD;;OAEG;IACH,IAAI,IAAI,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1C;;OAEG;IACH,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,0BAA0B,CAAC,QAAQ,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC;IACrF;;OAEG;IACH,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,aAAa,KAAK,qBAAqB,CAAC,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;CAC/F;AAED;;GAEG;AACH,MAAM,WAAW,WAAW,CAC1B,QAAQ,EACR,KAAK,GAAG,QAAQ,EAAE,EAClB,aAAa,SAAS,YAAY,GAAG,YAAY;IAEjD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,IAAI,EAAE,KAAK,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC,CAAC;IAC5F;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,aAAa,KAAK,qBAAqB,CAAC,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;IAE/F;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,QAAQ,EAAE,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;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,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.buildPagedAsyncIterator = buildPagedAsyncIterator;
|
|
6
|
+
const tslib_1 = require("tslib");
|
|
7
|
+
const core_client_1 = require("@azure-rest/core-client");
|
|
8
|
+
const core_rest_pipeline_1 = require("@azure/core-rest-pipeline");
|
|
9
|
+
/**
|
|
10
|
+
* Helper to paginate results in a generic way and return a PagedAsyncIterableIterator
|
|
11
|
+
*/
|
|
12
|
+
function buildPagedAsyncIterator(client, getInitialResponse, processResponseBody, expectedStatuses, options = {}) {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
const itemName = (_a = options.itemName) !== null && _a !== void 0 ? _a : "value";
|
|
15
|
+
const nextLinkName = (_b = options.nextLinkName) !== null && _b !== void 0 ? _b : "nextLink";
|
|
16
|
+
const pagedResult = {
|
|
17
|
+
getPage: async (pageLink) => {
|
|
18
|
+
const result = pageLink === undefined
|
|
19
|
+
? await getInitialResponse()
|
|
20
|
+
: await client.pathUnchecked(pageLink).get();
|
|
21
|
+
checkPagingRequest(result, expectedStatuses);
|
|
22
|
+
const results = await processResponseBody(result);
|
|
23
|
+
const nextLink = getNextLink(results, nextLinkName);
|
|
24
|
+
const values = getElements(results, itemName);
|
|
25
|
+
return {
|
|
26
|
+
page: values,
|
|
27
|
+
nextPageLink: nextLink,
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
byPage: (settings) => {
|
|
31
|
+
const { continuationToken } = settings !== null && settings !== void 0 ? settings : {};
|
|
32
|
+
return getPageAsyncIterator(pagedResult, {
|
|
33
|
+
pageLink: continuationToken,
|
|
34
|
+
});
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
return getPagedAsyncIterator(pagedResult);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* returns an async iterator that iterates over results. It also has a `byPage`
|
|
41
|
+
* method that returns pages of items at once.
|
|
42
|
+
*
|
|
43
|
+
* @param pagedResult - an object that specifies how to get pages.
|
|
44
|
+
* @returns a paged async iterator that iterates over results.
|
|
45
|
+
*/
|
|
46
|
+
function getPagedAsyncIterator(pagedResult) {
|
|
47
|
+
var _a;
|
|
48
|
+
const iter = getItemAsyncIterator(pagedResult);
|
|
49
|
+
return {
|
|
50
|
+
next() {
|
|
51
|
+
return iter.next();
|
|
52
|
+
},
|
|
53
|
+
[Symbol.asyncIterator]() {
|
|
54
|
+
return this;
|
|
55
|
+
},
|
|
56
|
+
byPage: (_a = pagedResult === null || pagedResult === void 0 ? void 0 : pagedResult.byPage) !== null && _a !== void 0 ? _a : ((settings) => {
|
|
57
|
+
const { continuationToken } = settings !== null && settings !== void 0 ? settings : {};
|
|
58
|
+
return getPageAsyncIterator(pagedResult, {
|
|
59
|
+
pageLink: continuationToken,
|
|
60
|
+
});
|
|
61
|
+
}),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function getItemAsyncIterator(pagedResult) {
|
|
65
|
+
return tslib_1.__asyncGenerator(this, arguments, function* getItemAsyncIterator_1() {
|
|
66
|
+
var _a, e_1, _b, _c;
|
|
67
|
+
const pages = getPageAsyncIterator(pagedResult);
|
|
68
|
+
try {
|
|
69
|
+
for (var _d = true, pages_1 = tslib_1.__asyncValues(pages), pages_1_1; pages_1_1 = yield tslib_1.__await(pages_1.next()), _a = pages_1_1.done, !_a; _d = true) {
|
|
70
|
+
_c = pages_1_1.value;
|
|
71
|
+
_d = false;
|
|
72
|
+
const page = _c;
|
|
73
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
77
|
+
finally {
|
|
78
|
+
try {
|
|
79
|
+
if (!_d && !_a && (_b = pages_1.return)) yield tslib_1.__await(_b.call(pages_1));
|
|
80
|
+
}
|
|
81
|
+
finally { if (e_1) throw e_1.error; }
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function getPageAsyncIterator(pagedResult_1) {
|
|
86
|
+
return tslib_1.__asyncGenerator(this, arguments, function* getPageAsyncIterator_1(pagedResult, options = {}) {
|
|
87
|
+
const { pageLink } = options;
|
|
88
|
+
let response = yield tslib_1.__await(pagedResult.getPage(pageLink !== null && pageLink !== void 0 ? pageLink : pagedResult.firstPageLink));
|
|
89
|
+
if (!response) {
|
|
90
|
+
return yield tslib_1.__await(void 0);
|
|
91
|
+
}
|
|
92
|
+
let result = response.page;
|
|
93
|
+
result.continuationToken = response.nextPageLink;
|
|
94
|
+
yield yield tslib_1.__await(result);
|
|
95
|
+
while (response.nextPageLink) {
|
|
96
|
+
response = yield tslib_1.__await(pagedResult.getPage(response.nextPageLink));
|
|
97
|
+
if (!response) {
|
|
98
|
+
return yield tslib_1.__await(void 0);
|
|
99
|
+
}
|
|
100
|
+
result = response.page;
|
|
101
|
+
result.continuationToken = response.nextPageLink;
|
|
102
|
+
yield yield tslib_1.__await(result);
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Gets for the value of nextLink in the body
|
|
108
|
+
*/
|
|
109
|
+
function getNextLink(body, nextLinkName) {
|
|
110
|
+
if (!nextLinkName) {
|
|
111
|
+
return undefined;
|
|
112
|
+
}
|
|
113
|
+
const nextLink = body[nextLinkName];
|
|
114
|
+
if (typeof nextLink !== "string" && typeof nextLink !== "undefined" && nextLink !== null) {
|
|
115
|
+
throw new core_rest_pipeline_1.RestError(`Body Property ${nextLinkName} should be a string or undefined or null but got ${typeof nextLink}`);
|
|
116
|
+
}
|
|
117
|
+
if (nextLink === null) {
|
|
118
|
+
return undefined;
|
|
119
|
+
}
|
|
120
|
+
return nextLink;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Gets the elements of the current request in the body.
|
|
124
|
+
*/
|
|
125
|
+
function getElements(body, itemName) {
|
|
126
|
+
const value = body[itemName];
|
|
127
|
+
if (!Array.isArray(value)) {
|
|
128
|
+
throw new core_rest_pipeline_1.RestError(`Couldn't paginate response\n Body doesn't contain an array property with name: ${itemName}`);
|
|
129
|
+
}
|
|
130
|
+
return value !== null && value !== void 0 ? value : [];
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Checks if a request failed
|
|
134
|
+
*/
|
|
135
|
+
function checkPagingRequest(response, expectedStatuses) {
|
|
136
|
+
if (!expectedStatuses.includes(response.status)) {
|
|
137
|
+
throw (0, core_client_1.createRestError)(`Pagination failed with unexpected statusCode ${response.status}`, response);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=pagingHelpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelpers.js","sourceRoot":"","sources":["../../../src/static-helpers/pagingHelpers.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAqFlC,0DAqCC;;AAxHD,yDAAyF;AACzF,kEAAsD;AA+EtD;;GAEG;AACH,SAAgB,uBAAuB,CAMrC,MAAc,EACd,kBAAgD,EAChD,mBAAgE,EAChE,gBAA0B,EAC1B,UAA0C,EAAE;;IAE5C,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC;IAC7C,MAAM,YAAY,GAAG,MAAA,OAAO,CAAC,YAAY,mCAAI,UAAU,CAAC;IACxD,MAAM,WAAW,GAAgD;QAC/D,OAAO,EAAE,KAAK,EAAE,QAAiB,EAAE,EAAE;YACnC,MAAM,MAAM,GACV,QAAQ,KAAK,SAAS;gBACpB,CAAC,CAAC,MAAM,kBAAkB,EAAE;gBAC5B,CAAC,CAAC,MAAM,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,GAAG,EAAE,CAAC;YACjD,kBAAkB,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;YAC7C,MAAM,OAAO,GAAG,MAAM,mBAAmB,CAAC,MAAmB,CAAC,CAAC;YAC/D,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;YACpD,MAAM,MAAM,GAAG,WAAW,CAAW,OAAO,EAAE,QAAQ,CAAU,CAAC;YACjE,OAAO;gBACL,IAAI,EAAE,MAAM;gBACZ,YAAY,EAAE,QAAQ;aACvB,CAAC;QACJ,CAAC;QACD,MAAM,EAAE,CAAC,QAAwB,EAAE,EAAE;YACnC,MAAM,EAA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,SAAS,WAAW,CAAc,IAAa,EAAE,QAAgB;IAC/D,MAAM,KAAK,GAAI,IAAgC,CAAC,QAAQ,CAAQ,CAAC;IACjE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,8BAAS,CACjB,kFAAkF,QAAQ,EAAE,CAC7F,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC;AACrB,CAAC;AAED;;GAEG;AACH,SAAS,kBAAkB,CAAC,QAA+B,EAAE,gBAA0B;IACrF,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAChD,MAAM,IAAA,6BAAe,EACnB,gDAAgD,QAAQ,CAAC,MAAM,EAAE,EACjE,QAAQ,CACT,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Client, createRestError, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { RestError } from \"@azure/core-rest-pipeline\";\n\n/**\n * Options for the byPage method\n */\nexport interface PageSettings {\n /**\n * A reference to a specific page to start iterating from.\n */\n continuationToken?: string;\n}\n\n/**\n * An interface that describes a page of results.\n */\nexport type ContinuablePage<TElement, TPage = TElement[]> = TPage & {\n /**\n * The token that keeps track of where to continue the iterator\n */\n continuationToken?: string;\n};\n\n/**\n * An interface that allows async iterable iteration both to completion and by page.\n */\nexport interface PagedAsyncIterableIterator<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n> {\n /**\n * The next method, part of the iteration protocol\n */\n next(): Promise<IteratorResult<TElement>>;\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;\n}\n\n/**\n * An interface that describes how to communicate with the service.\n */\nexport interface PagedResult<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n> {\n /**\n * Link to the first page of results.\n */\n firstPageLink?: string;\n /**\n * A method that returns a page of results.\n */\n getPage: (pageLink?: string) => Promise<{ page: TPage; nextPageLink?: string } | undefined>;\n /**\n * a function to implement the `byPage` method on the paged async iterator.\n */\n byPage?: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;\n\n /**\n * A function to extract elements from a page.\n */\n toElements?: (page: TPage) => TElement[];\n}\n\n/**\n * Options for the paging helper\n */\nexport interface BuildPagedAsyncIteratorOptions {\n itemName?: string;\n nextLinkName?: string;\n}\n\n/**\n * Helper to paginate results in a generic way and return a PagedAsyncIterableIterator\n */\nexport function buildPagedAsyncIterator<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n>(\n client: Client,\n getInitialResponse: () => PromiseLike<TResponse>,\n processResponseBody: (result: TResponse) => PromiseLike<unknown>,\n expectedStatuses: string[],\n options: BuildPagedAsyncIteratorOptions = {},\n): PagedAsyncIterableIterator<TElement, TPage, TPageSettings> {\n const itemName = options.itemName ?? \"value\";\n const nextLinkName = options.nextLinkName ?? \"nextLink\";\n const pagedResult: PagedResult<TElement, TPage, TPageSettings> = {\n getPage: async (pageLink?: string) => {\n const result =\n pageLink === undefined\n ? await getInitialResponse()\n : await client.pathUnchecked(pageLink).get();\n checkPagingRequest(result, expectedStatuses);\n const results = await processResponseBody(result as TResponse);\n const nextLink = getNextLink(results, nextLinkName);\n const values = getElements<TElement>(results, itemName) as TPage;\n return {\n page: values,\n nextPageLink: nextLink,\n };\n },\n byPage: (settings?: TPageSettings) => {\n const { continuationToken } = settings ?? {};\n return getPageAsyncIterator(pagedResult, {\n pageLink: continuationToken,\n });\n },\n };\n return getPagedAsyncIterator(pagedResult);\n}\n\n/**\n * returns an async iterator that iterates over results. It also has a `byPage`\n * method that returns pages of items at once.\n *\n * @param pagedResult - an object that specifies how to get pages.\n * @returns a paged async iterator that iterates over results.\n */\n\nfunction getPagedAsyncIterator<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n>(\n pagedResult: PagedResult<TElement, TPage, TPageSettings>,\n): PagedAsyncIterableIterator<TElement, TPage, TPageSettings> {\n const iter = getItemAsyncIterator<TElement, TPage, TPageSettings>(pagedResult);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage:\n pagedResult?.byPage ??\n ((settings?: TPageSettings) => {\n const { continuationToken } = settings ?? {};\n return getPageAsyncIterator(pagedResult, {\n pageLink: continuationToken,\n });\n }),\n };\n}\n\nasync function* getItemAsyncIterator<TElement, TPage, TPageSettings extends PageSettings>(\n pagedResult: PagedResult<TElement, TPage, TPageSettings>,\n): AsyncIterableIterator<TElement> {\n const pages = getPageAsyncIterator(pagedResult);\n for await (const page of pages) {\n yield* page as unknown as TElement[];\n }\n}\n\nasync function* getPageAsyncIterator<TElement, TPage, TPageSettings extends PageSettings>(\n pagedResult: PagedResult<TElement, TPage, TPageSettings>,\n options: {\n pageLink?: string;\n } = {},\n): AsyncIterableIterator<ContinuablePage<TElement, TPage>> {\n const { pageLink } = options;\n let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink);\n if (!response) {\n return;\n }\n let result = response.page as ContinuablePage<TElement, TPage>;\n result.continuationToken = response.nextPageLink;\n yield result;\n while (response.nextPageLink) {\n response = await pagedResult.getPage(response.nextPageLink);\n if (!response) {\n return;\n }\n result = response.page as ContinuablePage<TElement, TPage>;\n result.continuationToken = response.nextPageLink;\n yield result;\n }\n}\n\n/**\n * Gets for the value of nextLink in the body\n */\nfunction getNextLink(body: unknown, nextLinkName?: string): string | undefined {\n if (!nextLinkName) {\n return undefined;\n }\n\n const nextLink = (body as Record<string, unknown>)[nextLinkName];\n\n if (typeof nextLink !== \"string\" && typeof nextLink !== \"undefined\" && nextLink !== null) {\n throw new RestError(\n `Body Property ${nextLinkName} should be a string or undefined or null but got ${typeof nextLink}`,\n );\n }\n\n if (nextLink === null) {\n return undefined;\n }\n\n return nextLink;\n}\n\n/**\n * Gets the elements of the current request in the body.\n */\nfunction getElements<T = unknown>(body: unknown, itemName: string): T[] {\n const value = (body as Record<string, unknown>)[itemName] as T[];\n if (!Array.isArray(value)) {\n throw new RestError(\n `Couldn't paginate response\\n Body doesn't contain an array property with name: ${itemName}`,\n );\n }\n\n return value ?? [];\n}\n\n/**\n * Checks if a request failed\n */\nfunction checkPagingRequest(response: PathUncheckedResponse, expectedStatuses: string[]): void {\n if (!expectedStatuses.includes(response.status)) {\n throw createRestError(\n `Pagination failed with unexpected statusCode ${response.status}`,\n response,\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PollerLike, OperationState, ResourceLocationConfig } from "@azure/core-lro";
|
|
2
|
+
import { Client, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
3
|
+
import { AbortSignalLike } from "@azure/abort-controller";
|
|
4
|
+
export interface GetLongRunningPollerOptions<TResponse> {
|
|
5
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
6
|
+
updateIntervalInMs?: number;
|
|
7
|
+
/**
|
|
8
|
+
* The signal which can be used to abort requests.
|
|
9
|
+
*/
|
|
10
|
+
abortSignal?: AbortSignalLike;
|
|
11
|
+
/**
|
|
12
|
+
* The potential location of the result of the LRO if specified by the LRO extension in the swagger.
|
|
13
|
+
*/
|
|
14
|
+
resourceLocationConfig?: ResourceLocationConfig;
|
|
15
|
+
/**
|
|
16
|
+
* The original url of the LRO
|
|
17
|
+
* Should not be null when restoreFrom is set
|
|
18
|
+
*/
|
|
19
|
+
initialRequestUrl?: string;
|
|
20
|
+
/**
|
|
21
|
+
* A serialized poller which can be used to resume an existing paused Long-Running-Operation.
|
|
22
|
+
*/
|
|
23
|
+
restoreFrom?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The function to get the initial response
|
|
26
|
+
*/
|
|
27
|
+
getInitialResponse?: () => PromiseLike<TResponse>;
|
|
28
|
+
}
|
|
29
|
+
export declare function getLongRunningPoller<TResponse extends PathUncheckedResponse, TResult = void>(client: Client, processResponseBody: (result: TResponse) => Promise<TResult>, expectedStatuses: string[], options: GetLongRunningPollerOptions<TResponse>): PollerLike<OperationState<TResult>, TResult>;
|
|
30
|
+
//# sourceMappingURL=pollingHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pollingHelpers.d.ts","sourceRoot":"","sources":["../../../src/static-helpers/pollingHelpers.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,UAAU,EACV,cAAc,EACd,sBAAsB,EAIvB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAmB,MAAM,yBAAyB,CAAC;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,WAAW,2BAA2B,CAAC,SAAS;IACpD,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B;;OAEG;IACH,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;IAChD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,WAAW,CAAC,SAAS,CAAC,CAAC;CACnD;AACD,wBAAgB,oBAAoB,CAAC,SAAS,SAAS,qBAAqB,EAAE,OAAO,GAAG,IAAI,EAC1F,MAAM,EAAE,MAAM,EACd,mBAAmB,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,OAAO,CAAC,EAC5D,gBAAgB,EAAE,MAAM,EAAE,EAC1B,OAAO,EAAE,2BAA2B,CAAC,SAAS,CAAC,GAC9C,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,CAyD9C"}
|