@azure/arm-hybridconnectivity 2.0.0-alpha.20250804.1 → 2.0.0-beta.2
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/README.md +10 -10
- package/dist/browser/api/endpoints/operations.d.ts +1 -1
- package/dist/browser/api/endpoints/operations.js +16 -16
- package/dist/browser/api/endpoints/operations.js.map +1 -1
- package/dist/browser/api/generateAwsTemplate/operations.d.ts +3 -3
- package/dist/browser/api/generateAwsTemplate/operations.js +4 -4
- package/dist/browser/api/generateAwsTemplate/operations.js.map +1 -1
- package/dist/browser/api/hybridConnectivityManagementAPIContext.d.ts +3 -0
- package/dist/browser/api/hybridConnectivityManagementAPIContext.js +3 -2
- package/dist/browser/api/hybridConnectivityManagementAPIContext.js.map +1 -1
- package/dist/browser/api/inventory/operations.d.ts +1 -1
- package/dist/browser/api/inventory/operations.js +4 -4
- package/dist/browser/api/inventory/operations.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +1 -1
- package/dist/browser/api/operations/operations.js +3 -3
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/publicCloudConnectors/operations.d.ts +2 -2
- package/dist/browser/api/publicCloudConnectors/operations.js +17 -17
- package/dist/browser/api/publicCloudConnectors/operations.js.map +1 -1
- package/dist/browser/api/serviceConfigurations/operations.d.ts +1 -1
- package/dist/browser/api/serviceConfigurations/operations.js +10 -10
- package/dist/browser/api/serviceConfigurations/operations.js.map +1 -1
- package/dist/browser/api/solutionConfigurations/operations.d.ts +2 -2
- package/dist/browser/api/solutionConfigurations/operations.js +13 -13
- package/dist/browser/api/solutionConfigurations/operations.js.map +1 -1
- package/dist/browser/api/solutionTypes/operations.d.ts +1 -1
- package/dist/browser/api/solutionTypes/operations.js +7 -7
- package/dist/browser/api/solutionTypes/operations.js.map +1 -1
- package/dist/browser/classic/endpoints/index.d.ts +1 -1
- package/dist/browser/classic/endpoints/index.js.map +1 -1
- package/dist/browser/classic/generateAwsTemplate/index.d.ts +2 -2
- package/dist/browser/classic/generateAwsTemplate/index.js.map +1 -1
- package/dist/browser/classic/inventory/index.d.ts +1 -1
- package/dist/browser/classic/inventory/index.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +1 -1
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/publicCloudConnectors/index.d.ts +1 -1
- package/dist/browser/classic/publicCloudConnectors/index.js.map +1 -1
- package/dist/browser/classic/serviceConfigurations/index.d.ts +1 -1
- package/dist/browser/classic/serviceConfigurations/index.js.map +1 -1
- package/dist/browser/classic/solutionConfigurations/index.d.ts +1 -1
- package/dist/browser/classic/solutionConfigurations/index.js.map +1 -1
- package/dist/browser/classic/solutionTypes/index.d.ts +1 -1
- package/dist/browser/classic/solutionTypes/index.js.map +1 -1
- package/dist/browser/hybridConnectivityManagementAPI.d.ts +6 -6
- package/dist/browser/hybridConnectivityManagementAPI.js +5 -5
- package/dist/browser/hybridConnectivityManagementAPI.js.map +1 -1
- package/dist/browser/index.d.ts +3 -1
- package/dist/browser/index.js +3 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +463 -465
- package/dist/browser/models/models.js +359 -361
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +1 -1
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +29 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/browser/static-helpers/serialization/serialize-record.js +19 -0
- package/dist/browser/static-helpers/serialization/serialize-record.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.js +2 -1
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/endpoints/operations.d.ts +1 -1
- package/dist/commonjs/api/endpoints/operations.js +16 -16
- package/dist/commonjs/api/endpoints/operations.js.map +1 -1
- package/dist/commonjs/api/generateAwsTemplate/operations.d.ts +3 -3
- package/dist/commonjs/api/generateAwsTemplate/operations.js +3 -3
- package/dist/commonjs/api/generateAwsTemplate/operations.js.map +1 -1
- package/dist/commonjs/api/hybridConnectivityManagementAPIContext.d.ts +3 -0
- package/dist/commonjs/api/hybridConnectivityManagementAPIContext.js +3 -2
- package/dist/commonjs/api/hybridConnectivityManagementAPIContext.js.map +1 -1
- package/dist/commonjs/api/inventory/operations.d.ts +1 -1
- package/dist/commonjs/api/inventory/operations.js +4 -4
- package/dist/commonjs/api/inventory/operations.js.map +1 -1
- package/dist/commonjs/api/operations/operations.d.ts +1 -1
- package/dist/commonjs/api/operations/operations.js +2 -2
- package/dist/commonjs/api/operations/operations.js.map +1 -1
- package/dist/commonjs/api/publicCloudConnectors/operations.d.ts +2 -2
- package/dist/commonjs/api/publicCloudConnectors/operations.js +16 -16
- package/dist/commonjs/api/publicCloudConnectors/operations.js.map +1 -1
- package/dist/commonjs/api/serviceConfigurations/operations.d.ts +1 -1
- package/dist/commonjs/api/serviceConfigurations/operations.js +10 -10
- package/dist/commonjs/api/serviceConfigurations/operations.js.map +1 -1
- package/dist/commonjs/api/solutionConfigurations/operations.d.ts +2 -2
- package/dist/commonjs/api/solutionConfigurations/operations.js +12 -12
- package/dist/commonjs/api/solutionConfigurations/operations.js.map +1 -1
- package/dist/commonjs/api/solutionTypes/operations.d.ts +1 -1
- package/dist/commonjs/api/solutionTypes/operations.js +6 -6
- package/dist/commonjs/api/solutionTypes/operations.js.map +1 -1
- package/dist/commonjs/classic/endpoints/index.d.ts +1 -1
- package/dist/commonjs/classic/endpoints/index.js.map +1 -1
- package/dist/commonjs/classic/generateAwsTemplate/index.d.ts +2 -2
- package/dist/commonjs/classic/generateAwsTemplate/index.js.map +1 -1
- package/dist/commonjs/classic/inventory/index.d.ts +1 -1
- package/dist/commonjs/classic/inventory/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.d.ts +1 -1
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/publicCloudConnectors/index.d.ts +1 -1
- package/dist/commonjs/classic/publicCloudConnectors/index.js.map +1 -1
- package/dist/commonjs/classic/serviceConfigurations/index.d.ts +1 -1
- package/dist/commonjs/classic/serviceConfigurations/index.js.map +1 -1
- package/dist/commonjs/classic/solutionConfigurations/index.d.ts +1 -1
- package/dist/commonjs/classic/solutionConfigurations/index.js.map +1 -1
- package/dist/commonjs/classic/solutionTypes/index.d.ts +1 -1
- package/dist/commonjs/classic/solutionTypes/index.js.map +1 -1
- package/dist/commonjs/hybridConnectivityManagementAPI.d.ts +6 -6
- package/dist/commonjs/hybridConnectivityManagementAPI.js +14 -14
- package/dist/commonjs/hybridConnectivityManagementAPI.js.map +1 -1
- package/dist/commonjs/index.d.ts +3 -1
- package/dist/commonjs/index.js +10 -8
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.js +8 -8
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +463 -465
- package/dist/commonjs/models/models.js +409 -412
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.js +1 -1
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +33 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.js +22 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +2 -1
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/esm/api/endpoints/operations.d.ts +1 -1
- package/dist/esm/api/endpoints/operations.js +16 -16
- package/dist/esm/api/endpoints/operations.js.map +1 -1
- package/dist/esm/api/generateAwsTemplate/operations.d.ts +3 -3
- package/dist/esm/api/generateAwsTemplate/operations.js +4 -4
- package/dist/esm/api/generateAwsTemplate/operations.js.map +1 -1
- package/dist/esm/api/hybridConnectivityManagementAPIContext.d.ts +3 -0
- package/dist/esm/api/hybridConnectivityManagementAPIContext.js +3 -2
- package/dist/esm/api/hybridConnectivityManagementAPIContext.js.map +1 -1
- package/dist/esm/api/inventory/operations.d.ts +1 -1
- package/dist/esm/api/inventory/operations.js +4 -4
- package/dist/esm/api/inventory/operations.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +1 -1
- package/dist/esm/api/operations/operations.js +3 -3
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/publicCloudConnectors/operations.d.ts +2 -2
- package/dist/esm/api/publicCloudConnectors/operations.js +17 -17
- package/dist/esm/api/publicCloudConnectors/operations.js.map +1 -1
- package/dist/esm/api/serviceConfigurations/operations.d.ts +1 -1
- package/dist/esm/api/serviceConfigurations/operations.js +10 -10
- package/dist/esm/api/serviceConfigurations/operations.js.map +1 -1
- package/dist/esm/api/solutionConfigurations/operations.d.ts +2 -2
- package/dist/esm/api/solutionConfigurations/operations.js +13 -13
- package/dist/esm/api/solutionConfigurations/operations.js.map +1 -1
- package/dist/esm/api/solutionTypes/operations.d.ts +1 -1
- package/dist/esm/api/solutionTypes/operations.js +7 -7
- package/dist/esm/api/solutionTypes/operations.js.map +1 -1
- package/dist/esm/classic/endpoints/index.d.ts +1 -1
- package/dist/esm/classic/endpoints/index.js.map +1 -1
- package/dist/esm/classic/generateAwsTemplate/index.d.ts +2 -2
- package/dist/esm/classic/generateAwsTemplate/index.js.map +1 -1
- package/dist/esm/classic/inventory/index.d.ts +1 -1
- package/dist/esm/classic/inventory/index.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +1 -1
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/publicCloudConnectors/index.d.ts +1 -1
- package/dist/esm/classic/publicCloudConnectors/index.js.map +1 -1
- package/dist/esm/classic/serviceConfigurations/index.d.ts +1 -1
- package/dist/esm/classic/serviceConfigurations/index.js.map +1 -1
- package/dist/esm/classic/solutionConfigurations/index.d.ts +1 -1
- package/dist/esm/classic/solutionConfigurations/index.js.map +1 -1
- package/dist/esm/classic/solutionTypes/index.d.ts +1 -1
- package/dist/esm/classic/solutionTypes/index.js.map +1 -1
- package/dist/esm/hybridConnectivityManagementAPI.d.ts +6 -6
- package/dist/esm/hybridConnectivityManagementAPI.js +5 -5
- package/dist/esm/hybridConnectivityManagementAPI.js.map +1 -1
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +463 -465
- package/dist/esm/models/models.js +359 -361
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +1 -1
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +29 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/esm/static-helpers/serialization/serialize-record.js +19 -0
- package/dist/esm/static-helpers/serialization/serialize-record.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.js +2 -1
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/api/endpoints/operations.d.ts +1 -1
- package/dist/react-native/api/endpoints/operations.js +16 -16
- package/dist/react-native/api/endpoints/operations.js.map +1 -1
- package/dist/react-native/api/generateAwsTemplate/operations.d.ts +3 -3
- package/dist/react-native/api/generateAwsTemplate/operations.js +4 -4
- package/dist/react-native/api/generateAwsTemplate/operations.js.map +1 -1
- package/dist/react-native/api/hybridConnectivityManagementAPIContext.d.ts +3 -0
- package/dist/react-native/api/hybridConnectivityManagementAPIContext.js +3 -2
- package/dist/react-native/api/hybridConnectivityManagementAPIContext.js.map +1 -1
- package/dist/react-native/api/inventory/operations.d.ts +1 -1
- package/dist/react-native/api/inventory/operations.js +4 -4
- package/dist/react-native/api/inventory/operations.js.map +1 -1
- package/dist/react-native/api/operations/operations.d.ts +1 -1
- package/dist/react-native/api/operations/operations.js +3 -3
- package/dist/react-native/api/operations/operations.js.map +1 -1
- package/dist/react-native/api/publicCloudConnectors/operations.d.ts +2 -2
- package/dist/react-native/api/publicCloudConnectors/operations.js +17 -17
- package/dist/react-native/api/publicCloudConnectors/operations.js.map +1 -1
- package/dist/react-native/api/serviceConfigurations/operations.d.ts +1 -1
- package/dist/react-native/api/serviceConfigurations/operations.js +10 -10
- package/dist/react-native/api/serviceConfigurations/operations.js.map +1 -1
- package/dist/react-native/api/solutionConfigurations/operations.d.ts +2 -2
- package/dist/react-native/api/solutionConfigurations/operations.js +13 -13
- package/dist/react-native/api/solutionConfigurations/operations.js.map +1 -1
- package/dist/react-native/api/solutionTypes/operations.d.ts +1 -1
- package/dist/react-native/api/solutionTypes/operations.js +7 -7
- package/dist/react-native/api/solutionTypes/operations.js.map +1 -1
- package/dist/react-native/classic/endpoints/index.d.ts +1 -1
- package/dist/react-native/classic/endpoints/index.js.map +1 -1
- package/dist/react-native/classic/generateAwsTemplate/index.d.ts +2 -2
- package/dist/react-native/classic/generateAwsTemplate/index.js.map +1 -1
- package/dist/react-native/classic/inventory/index.d.ts +1 -1
- package/dist/react-native/classic/inventory/index.js.map +1 -1
- package/dist/react-native/classic/operations/index.d.ts +1 -1
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/classic/publicCloudConnectors/index.d.ts +1 -1
- package/dist/react-native/classic/publicCloudConnectors/index.js.map +1 -1
- package/dist/react-native/classic/serviceConfigurations/index.d.ts +1 -1
- package/dist/react-native/classic/serviceConfigurations/index.js.map +1 -1
- package/dist/react-native/classic/solutionConfigurations/index.d.ts +1 -1
- package/dist/react-native/classic/solutionConfigurations/index.js.map +1 -1
- package/dist/react-native/classic/solutionTypes/index.d.ts +1 -1
- package/dist/react-native/classic/solutionTypes/index.js.map +1 -1
- package/dist/react-native/hybridConnectivityManagementAPI.d.ts +6 -6
- package/dist/react-native/hybridConnectivityManagementAPI.js +5 -5
- package/dist/react-native/hybridConnectivityManagementAPI.js.map +1 -1
- package/dist/react-native/index.d.ts +3 -1
- package/dist/react-native/index.js +3 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +463 -465
- package/dist/react-native/models/models.js +359 -361
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +1 -1
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +29 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/serialization/serialize-record.d.ts +2 -0
- package/dist/react-native/static-helpers/serialization/serialize-record.js +19 -0
- package/dist/react-native/static-helpers/serialization/serialize-record.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.js +2 -1
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +24 -25
- package/CHANGELOG.md +0 -111
- package/dist/browser/api/endpoints/index.d.ts.map +0 -1
- package/dist/browser/api/endpoints/operations.d.ts.map +0 -1
- package/dist/browser/api/endpoints/options.d.ts.map +0 -1
- package/dist/browser/api/generateAwsTemplate/index.d.ts.map +0 -1
- package/dist/browser/api/generateAwsTemplate/operations.d.ts.map +0 -1
- package/dist/browser/api/generateAwsTemplate/options.d.ts.map +0 -1
- package/dist/browser/api/hybridConnectivityManagementAPIContext.d.ts.map +0 -1
- package/dist/browser/api/index.d.ts.map +0 -1
- package/dist/browser/api/inventory/index.d.ts.map +0 -1
- package/dist/browser/api/inventory/operations.d.ts.map +0 -1
- package/dist/browser/api/inventory/options.d.ts.map +0 -1
- package/dist/browser/api/operations/index.d.ts.map +0 -1
- package/dist/browser/api/operations/operations.d.ts.map +0 -1
- package/dist/browser/api/operations/options.d.ts.map +0 -1
- package/dist/browser/api/publicCloudConnectors/index.d.ts.map +0 -1
- package/dist/browser/api/publicCloudConnectors/operations.d.ts.map +0 -1
- package/dist/browser/api/publicCloudConnectors/options.d.ts.map +0 -1
- package/dist/browser/api/serviceConfigurations/index.d.ts.map +0 -1
- package/dist/browser/api/serviceConfigurations/operations.d.ts.map +0 -1
- package/dist/browser/api/serviceConfigurations/options.d.ts.map +0 -1
- package/dist/browser/api/solutionConfigurations/index.d.ts.map +0 -1
- package/dist/browser/api/solutionConfigurations/operations.d.ts.map +0 -1
- package/dist/browser/api/solutionConfigurations/options.d.ts.map +0 -1
- package/dist/browser/api/solutionTypes/index.d.ts.map +0 -1
- package/dist/browser/api/solutionTypes/operations.d.ts.map +0 -1
- package/dist/browser/api/solutionTypes/options.d.ts.map +0 -1
- package/dist/browser/classic/endpoints/index.d.ts.map +0 -1
- package/dist/browser/classic/generateAwsTemplate/index.d.ts.map +0 -1
- package/dist/browser/classic/index.d.ts.map +0 -1
- package/dist/browser/classic/inventory/index.d.ts.map +0 -1
- package/dist/browser/classic/operations/index.d.ts.map +0 -1
- package/dist/browser/classic/publicCloudConnectors/index.d.ts.map +0 -1
- package/dist/browser/classic/serviceConfigurations/index.d.ts.map +0 -1
- package/dist/browser/classic/solutionConfigurations/index.d.ts.map +0 -1
- package/dist/browser/classic/solutionTypes/index.d.ts.map +0 -1
- package/dist/browser/hybridConnectivityManagementAPI.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/logger.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/models.d.ts.map +0 -1
- package/dist/browser/restorePollerHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +0 -1
- package/dist/commonjs/api/endpoints/index.d.ts.map +0 -1
- package/dist/commonjs/api/endpoints/operations.d.ts.map +0 -1
- package/dist/commonjs/api/endpoints/options.d.ts.map +0 -1
- package/dist/commonjs/api/generateAwsTemplate/index.d.ts.map +0 -1
- package/dist/commonjs/api/generateAwsTemplate/operations.d.ts.map +0 -1
- package/dist/commonjs/api/generateAwsTemplate/options.d.ts.map +0 -1
- package/dist/commonjs/api/hybridConnectivityManagementAPIContext.d.ts.map +0 -1
- package/dist/commonjs/api/index.d.ts.map +0 -1
- package/dist/commonjs/api/inventory/index.d.ts.map +0 -1
- package/dist/commonjs/api/inventory/operations.d.ts.map +0 -1
- package/dist/commonjs/api/inventory/options.d.ts.map +0 -1
- package/dist/commonjs/api/operations/index.d.ts.map +0 -1
- package/dist/commonjs/api/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/api/operations/options.d.ts.map +0 -1
- package/dist/commonjs/api/publicCloudConnectors/index.d.ts.map +0 -1
- package/dist/commonjs/api/publicCloudConnectors/operations.d.ts.map +0 -1
- package/dist/commonjs/api/publicCloudConnectors/options.d.ts.map +0 -1
- package/dist/commonjs/api/serviceConfigurations/index.d.ts.map +0 -1
- package/dist/commonjs/api/serviceConfigurations/operations.d.ts.map +0 -1
- package/dist/commonjs/api/serviceConfigurations/options.d.ts.map +0 -1
- package/dist/commonjs/api/solutionConfigurations/index.d.ts.map +0 -1
- package/dist/commonjs/api/solutionConfigurations/operations.d.ts.map +0 -1
- package/dist/commonjs/api/solutionConfigurations/options.d.ts.map +0 -1
- package/dist/commonjs/api/solutionTypes/index.d.ts.map +0 -1
- package/dist/commonjs/api/solutionTypes/operations.d.ts.map +0 -1
- package/dist/commonjs/api/solutionTypes/options.d.ts.map +0 -1
- package/dist/commonjs/classic/endpoints/index.d.ts.map +0 -1
- package/dist/commonjs/classic/generateAwsTemplate/index.d.ts.map +0 -1
- package/dist/commonjs/classic/index.d.ts.map +0 -1
- package/dist/commonjs/classic/inventory/index.d.ts.map +0 -1
- package/dist/commonjs/classic/operations/index.d.ts.map +0 -1
- package/dist/commonjs/classic/publicCloudConnectors/index.d.ts.map +0 -1
- package/dist/commonjs/classic/serviceConfigurations/index.d.ts.map +0 -1
- package/dist/commonjs/classic/solutionConfigurations/index.d.ts.map +0 -1
- package/dist/commonjs/classic/solutionTypes/index.d.ts.map +0 -1
- package/dist/commonjs/hybridConnectivityManagementAPI.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/logger.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/models.d.ts.map +0 -1
- package/dist/commonjs/restorePollerHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +0 -1
- package/dist/esm/api/endpoints/index.d.ts.map +0 -1
- package/dist/esm/api/endpoints/operations.d.ts.map +0 -1
- package/dist/esm/api/endpoints/options.d.ts.map +0 -1
- package/dist/esm/api/generateAwsTemplate/index.d.ts.map +0 -1
- package/dist/esm/api/generateAwsTemplate/operations.d.ts.map +0 -1
- package/dist/esm/api/generateAwsTemplate/options.d.ts.map +0 -1
- package/dist/esm/api/hybridConnectivityManagementAPIContext.d.ts.map +0 -1
- package/dist/esm/api/index.d.ts.map +0 -1
- package/dist/esm/api/inventory/index.d.ts.map +0 -1
- package/dist/esm/api/inventory/operations.d.ts.map +0 -1
- package/dist/esm/api/inventory/options.d.ts.map +0 -1
- package/dist/esm/api/operations/index.d.ts.map +0 -1
- package/dist/esm/api/operations/operations.d.ts.map +0 -1
- package/dist/esm/api/operations/options.d.ts.map +0 -1
- package/dist/esm/api/publicCloudConnectors/index.d.ts.map +0 -1
- package/dist/esm/api/publicCloudConnectors/operations.d.ts.map +0 -1
- package/dist/esm/api/publicCloudConnectors/options.d.ts.map +0 -1
- package/dist/esm/api/serviceConfigurations/index.d.ts.map +0 -1
- package/dist/esm/api/serviceConfigurations/operations.d.ts.map +0 -1
- package/dist/esm/api/serviceConfigurations/options.d.ts.map +0 -1
- package/dist/esm/api/solutionConfigurations/index.d.ts.map +0 -1
- package/dist/esm/api/solutionConfigurations/operations.d.ts.map +0 -1
- package/dist/esm/api/solutionConfigurations/options.d.ts.map +0 -1
- package/dist/esm/api/solutionTypes/index.d.ts.map +0 -1
- package/dist/esm/api/solutionTypes/operations.d.ts.map +0 -1
- package/dist/esm/api/solutionTypes/options.d.ts.map +0 -1
- package/dist/esm/classic/endpoints/index.d.ts.map +0 -1
- package/dist/esm/classic/generateAwsTemplate/index.d.ts.map +0 -1
- package/dist/esm/classic/index.d.ts.map +0 -1
- package/dist/esm/classic/inventory/index.d.ts.map +0 -1
- package/dist/esm/classic/operations/index.d.ts.map +0 -1
- package/dist/esm/classic/publicCloudConnectors/index.d.ts.map +0 -1
- package/dist/esm/classic/serviceConfigurations/index.d.ts.map +0 -1
- package/dist/esm/classic/solutionConfigurations/index.d.ts.map +0 -1
- package/dist/esm/classic/solutionTypes/index.d.ts.map +0 -1
- package/dist/esm/hybridConnectivityManagementAPI.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/logger.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/models.d.ts.map +0 -1
- package/dist/esm/restorePollerHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +0 -1
- package/dist/react-native/api/endpoints/index.d.ts.map +0 -1
- package/dist/react-native/api/endpoints/operations.d.ts.map +0 -1
- package/dist/react-native/api/endpoints/options.d.ts.map +0 -1
- package/dist/react-native/api/generateAwsTemplate/index.d.ts.map +0 -1
- package/dist/react-native/api/generateAwsTemplate/operations.d.ts.map +0 -1
- package/dist/react-native/api/generateAwsTemplate/options.d.ts.map +0 -1
- package/dist/react-native/api/hybridConnectivityManagementAPIContext.d.ts.map +0 -1
- package/dist/react-native/api/index.d.ts.map +0 -1
- package/dist/react-native/api/inventory/index.d.ts.map +0 -1
- package/dist/react-native/api/inventory/operations.d.ts.map +0 -1
- package/dist/react-native/api/inventory/options.d.ts.map +0 -1
- package/dist/react-native/api/operations/index.d.ts.map +0 -1
- package/dist/react-native/api/operations/operations.d.ts.map +0 -1
- package/dist/react-native/api/operations/options.d.ts.map +0 -1
- package/dist/react-native/api/publicCloudConnectors/index.d.ts.map +0 -1
- package/dist/react-native/api/publicCloudConnectors/operations.d.ts.map +0 -1
- package/dist/react-native/api/publicCloudConnectors/options.d.ts.map +0 -1
- package/dist/react-native/api/serviceConfigurations/index.d.ts.map +0 -1
- package/dist/react-native/api/serviceConfigurations/operations.d.ts.map +0 -1
- package/dist/react-native/api/serviceConfigurations/options.d.ts.map +0 -1
- package/dist/react-native/api/solutionConfigurations/index.d.ts.map +0 -1
- package/dist/react-native/api/solutionConfigurations/operations.d.ts.map +0 -1
- package/dist/react-native/api/solutionConfigurations/options.d.ts.map +0 -1
- package/dist/react-native/api/solutionTypes/index.d.ts.map +0 -1
- package/dist/react-native/api/solutionTypes/operations.d.ts.map +0 -1
- package/dist/react-native/api/solutionTypes/options.d.ts.map +0 -1
- package/dist/react-native/classic/endpoints/index.d.ts.map +0 -1
- package/dist/react-native/classic/generateAwsTemplate/index.d.ts.map +0 -1
- package/dist/react-native/classic/index.d.ts.map +0 -1
- package/dist/react-native/classic/inventory/index.d.ts.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts.map +0 -1
- package/dist/react-native/classic/publicCloudConnectors/index.d.ts.map +0 -1
- package/dist/react-native/classic/serviceConfigurations/index.d.ts.map +0 -1
- package/dist/react-native/classic/solutionConfigurations/index.d.ts.map +0 -1
- package/dist/react-native/classic/solutionTypes/index.d.ts.map +0 -1
- package/dist/react-native/hybridConnectivityManagementAPI.d.ts.map +0 -1
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/logger.d.ts.map +0 -1
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/models.d.ts.map +0 -1
- package/dist/react-native/restorePollerHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +0 -1
- package/review/arm-hybridconnectivity-api-endpoints-node.api.md +0 -72
- package/review/arm-hybridconnectivity-api-generateAwsTemplate-node.api.md +0 -19
- package/review/arm-hybridconnectivity-api-inventory-node.api.md +0 -26
- package/review/arm-hybridconnectivity-api-node.api.md +0 -27
- package/review/arm-hybridconnectivity-api-operations-node.api.md +0 -19
- package/review/arm-hybridconnectivity-api-publicCloudConnectors-node.api.md +0 -65
- package/review/arm-hybridconnectivity-api-serviceConfigurations-node.api.md +0 -47
- package/review/arm-hybridconnectivity-api-solutionConfigurations-node.api.md +0 -57
- package/review/arm-hybridconnectivity-api-solutionTypes-node.api.md +0 -33
- package/review/arm-hybridconnectivity-models-node.api.md +0 -412
- package/review/arm-hybridconnectivity-node.api.md +0 -671
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Azure
|
|
1
|
+
# Azure HybridConnectivityManagementAPI client library for JavaScript
|
|
2
2
|
|
|
3
|
-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure
|
|
3
|
+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure HybridConnectivityManagementAPI client.
|
|
4
4
|
|
|
5
5
|
REST API for public clouds.
|
|
6
6
|
|
|
@@ -26,16 +26,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
|
|
|
26
26
|
|
|
27
27
|
### Install the `@azure/arm-hybridconnectivity` package
|
|
28
28
|
|
|
29
|
-
Install the Azure
|
|
29
|
+
Install the Azure HybridConnectivityManagementAPI client library for JavaScript with `npm`:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
32
|
npm install @azure/arm-hybridconnectivity
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
### Create and authenticate a `
|
|
35
|
+
### Create and authenticate a `HybridConnectivityManagementAPI`
|
|
36
36
|
|
|
37
|
-
To create a client object to access the Azure
|
|
38
|
-
You can find the endpoint for your Azure
|
|
37
|
+
To create a client object to access the Azure HybridConnectivityManagementAPI API, you will need the `endpoint` of your Azure HybridConnectivityManagementAPI resource and a `credential`. The Azure HybridConnectivityManagementAPI client can use Azure Active Directory credentials to authenticate.
|
|
38
|
+
You can find the endpoint for your Azure HybridConnectivityManagementAPI resource in the [Azure Portal][azure_portal].
|
|
39
39
|
|
|
40
40
|
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
|
|
41
41
|
|
|
@@ -45,7 +45,7 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
|
|
|
45
45
|
npm install @azure/identity
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
You will also need to **register a new AAD application and grant access to Azure
|
|
48
|
+
You will also need to **register a new AAD application and grant access to Azure HybridConnectivityManagementAPI** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
49
49
|
|
|
50
50
|
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
51
51
|
|
|
@@ -65,11 +65,11 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
|
|
|
65
65
|
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
66
66
|
import { HybridConnectivityManagementAPI } from "@azure/arm-hybridconnectivity";
|
|
67
67
|
|
|
68
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
69
68
|
const credential = new InteractiveBrowserCredential({
|
|
70
69
|
tenantId: "<YOUR_TENANT_ID>",
|
|
71
70
|
clientId: "<YOUR_CLIENT_ID>",
|
|
72
71
|
});
|
|
72
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
73
73
|
const client = new HybridConnectivityManagementAPI(credential, subscriptionId);
|
|
74
74
|
```
|
|
75
75
|
|
|
@@ -79,9 +79,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
79
79
|
|
|
80
80
|
## Key concepts
|
|
81
81
|
|
|
82
|
-
###
|
|
82
|
+
### HybridConnectivityManagementAPI
|
|
83
83
|
|
|
84
|
-
`
|
|
84
|
+
`HybridConnectivityManagementAPI` is the primary interface for developers using the Azure HybridConnectivityManagementAPI client library. Explore the methods on this client object to understand the different features of the Azure HybridConnectivityManagementAPI service that you can access.
|
|
85
85
|
|
|
86
86
|
## Troubleshooting
|
|
87
87
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HybridConnectivityManagementAPIContext as Client } from "../index.js";
|
|
2
2
|
import { EndpointResource, _EndpointsList, EndpointAccessResource, IngressGatewayResource, ManagedProxyRequest, ManagedProxyResource } from "../../models/models.js";
|
|
3
|
-
import { EndpointsListManagedProxyDetailsOptionalParams, EndpointsListIngressGatewayCredentialsOptionalParams, EndpointsListCredentialsOptionalParams, EndpointsListOptionalParams, EndpointsDeleteOptionalParams, EndpointsUpdateOptionalParams, EndpointsCreateOrUpdateOptionalParams, EndpointsGetOptionalParams } from "./options.js";
|
|
4
3
|
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { EndpointsListManagedProxyDetailsOptionalParams, EndpointsListIngressGatewayCredentialsOptionalParams, EndpointsListCredentialsOptionalParams, EndpointsListOptionalParams, EndpointsDeleteOptionalParams, EndpointsUpdateOptionalParams, EndpointsCreateOrUpdateOptionalParams, EndpointsGetOptionalParams } from "./options.js";
|
|
5
5
|
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
6
|
export declare function _listManagedProxyDetailsSend(context: Client, resourceUri: string, endpointName: string, managedProxyRequest: ManagedProxyRequest, options?: EndpointsListManagedProxyDetailsOptionalParams): StreamableMethod;
|
|
7
7
|
export declare function _listManagedProxyDetailsDeserialize(result: PathUncheckedResponse): Promise<ManagedProxyResource>;
|
|
@@ -7,10 +7,10 @@ import { createRestError, operationOptionsToRequestParameters, } from "@azure-re
|
|
|
7
7
|
export function _listManagedProxyDetailsSend(context, resourceUri, endpointName, managedProxyRequest, options = {
|
|
8
8
|
requestOptions: {},
|
|
9
9
|
}) {
|
|
10
|
-
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listManagedProxyDetails{?api
|
|
10
|
+
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listManagedProxyDetails{?api%2Dversion}", {
|
|
11
11
|
resourceUri: resourceUri,
|
|
12
12
|
endpointName: endpointName,
|
|
13
|
-
"api
|
|
13
|
+
"api%2Dversion": context.apiVersion,
|
|
14
14
|
}, {
|
|
15
15
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
16
16
|
});
|
|
@@ -43,10 +43,10 @@ export async function listManagedProxyDetails(context, resourceUri, endpointName
|
|
|
43
43
|
export function _listIngressGatewayCredentialsSend(context, resourceUri, endpointName, options = {
|
|
44
44
|
requestOptions: {},
|
|
45
45
|
}) {
|
|
46
|
-
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listIngressGatewayCredentials{?api
|
|
46
|
+
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listIngressGatewayCredentials{?api%2Dversion,expiresin}", {
|
|
47
47
|
resourceUri: resourceUri,
|
|
48
48
|
endpointName: endpointName,
|
|
49
|
-
"api
|
|
49
|
+
"api%2Dversion": context.apiVersion,
|
|
50
50
|
expiresin: options?.expiresin,
|
|
51
51
|
}, {
|
|
52
52
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
@@ -80,10 +80,10 @@ export async function listIngressGatewayCredentials(context, resourceUri, endpoi
|
|
|
80
80
|
return _listIngressGatewayCredentialsDeserialize(result);
|
|
81
81
|
}
|
|
82
82
|
export function _listCredentialsSend(context, resourceUri, endpointName, options = { requestOptions: {} }) {
|
|
83
|
-
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listCredentials{?api
|
|
83
|
+
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listCredentials{?api%2Dversion,expiresin}", {
|
|
84
84
|
resourceUri: resourceUri,
|
|
85
85
|
endpointName: endpointName,
|
|
86
|
-
"api
|
|
86
|
+
"api%2Dversion": context.apiVersion,
|
|
87
87
|
expiresin: options?.expiresin,
|
|
88
88
|
}, {
|
|
89
89
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
@@ -115,9 +115,9 @@ export async function listCredentials(context, resourceUri, endpointName, option
|
|
|
115
115
|
return _listCredentialsDeserialize(result);
|
|
116
116
|
}
|
|
117
117
|
export function _listSend(context, resourceUri, options = { requestOptions: {} }) {
|
|
118
|
-
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints{?api
|
|
118
|
+
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints{?api%2Dversion}", {
|
|
119
119
|
resourceUri: resourceUri,
|
|
120
|
-
"api
|
|
120
|
+
"api%2Dversion": context.apiVersion,
|
|
121
121
|
}, {
|
|
122
122
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
123
123
|
});
|
|
@@ -143,10 +143,10 @@ export function list(context, resourceUri, options = { requestOptions: {} }) {
|
|
|
143
143
|
return buildPagedAsyncIterator(context, () => _listSend(context, resourceUri, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
144
144
|
}
|
|
145
145
|
export function _$deleteSend(context, resourceUri, endpointName, options = { requestOptions: {} }) {
|
|
146
|
-
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api
|
|
146
|
+
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api%2Dversion}", {
|
|
147
147
|
resourceUri: resourceUri,
|
|
148
148
|
endpointName: endpointName,
|
|
149
|
-
"api
|
|
149
|
+
"api%2Dversion": context.apiVersion,
|
|
150
150
|
}, {
|
|
151
151
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
152
152
|
});
|
|
@@ -178,10 +178,10 @@ export async function $delete(context, resourceUri, endpointName, options = { re
|
|
|
178
178
|
return _$deleteDeserialize(result);
|
|
179
179
|
}
|
|
180
180
|
export function _updateSend(context, resourceUri, endpointName, endpointResource, options = { requestOptions: {} }) {
|
|
181
|
-
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api
|
|
181
|
+
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api%2Dversion}", {
|
|
182
182
|
resourceUri: resourceUri,
|
|
183
183
|
endpointName: endpointName,
|
|
184
|
-
"api
|
|
184
|
+
"api%2Dversion": context.apiVersion,
|
|
185
185
|
}, {
|
|
186
186
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
187
187
|
});
|
|
@@ -210,10 +210,10 @@ export async function update(context, resourceUri, endpointName, endpointResourc
|
|
|
210
210
|
return _updateDeserialize(result);
|
|
211
211
|
}
|
|
212
212
|
export function _createOrUpdateSend(context, resourceUri, endpointName, endpointResource, options = { requestOptions: {} }) {
|
|
213
|
-
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api
|
|
213
|
+
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api%2Dversion}", {
|
|
214
214
|
resourceUri: resourceUri,
|
|
215
215
|
endpointName: endpointName,
|
|
216
|
-
"api
|
|
216
|
+
"api%2Dversion": context.apiVersion,
|
|
217
217
|
}, {
|
|
218
218
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
219
219
|
});
|
|
@@ -242,10 +242,10 @@ export async function createOrUpdate(context, resourceUri, endpointName, endpoin
|
|
|
242
242
|
return _createOrUpdateDeserialize(result);
|
|
243
243
|
}
|
|
244
244
|
export function _getSend(context, resourceUri, endpointName, options = { requestOptions: {} }) {
|
|
245
|
-
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api
|
|
245
|
+
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api%2Dversion}", {
|
|
246
246
|
resourceUri: resourceUri,
|
|
247
247
|
endpointName: endpointName,
|
|
248
|
-
"api
|
|
248
|
+
"api%2Dversion": context.apiVersion,
|
|
249
249
|
}, {
|
|
250
250
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
251
251
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/endpoints/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,0BAA0B,EAC1B,4BAA4B,EAE5B,0BAA0B,EAC1B,gC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MIT License.\n\nimport { HybridConnectivityManagementAPIContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n EndpointResource,\n endpointResourceSerializer,\n endpointResourceDeserializer,\n _EndpointsList,\n _endpointsListDeserializer,\n listCredentialsRequestSerializer,\n EndpointAccessResource,\n endpointAccessResourceDeserializer,\n listIngressGatewayCredentialsRequestSerializer,\n IngressGatewayResource,\n ingressGatewayResourceDeserializer,\n ManagedProxyRequest,\n managedProxyRequestSerializer,\n ManagedProxyResource,\n managedProxyResourceDeserializer,\n} from \"../../models/models.js\";\nimport {\n EndpointsListManagedProxyDetailsOptionalParams,\n EndpointsListIngressGatewayCredentialsOptionalParams,\n EndpointsListCredentialsOptionalParams,\n EndpointsListOptionalParams,\n EndpointsDeleteOptionalParams,\n EndpointsUpdateOptionalParams,\n EndpointsCreateOrUpdateOptionalParams,\n EndpointsGetOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listManagedProxyDetailsSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n managedProxyRequest: ManagedProxyRequest,\n options: EndpointsListManagedProxyDetailsOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listManagedProxyDetails{?api-version}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: managedProxyRequestSerializer(managedProxyRequest),\n });\n}\n\nexport async function _listManagedProxyDetailsDeserialize(\n result: PathUncheckedResponse,\n): Promise<ManagedProxyResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return managedProxyResourceDeserializer(result.body);\n}\n\n/** Fetches the managed proxy details */\nexport async function listManagedProxyDetails(\n context: Client,\n resourceUri: string,\n endpointName: string,\n managedProxyRequest: ManagedProxyRequest,\n options: EndpointsListManagedProxyDetailsOptionalParams = {\n requestOptions: {},\n },\n): Promise<ManagedProxyResource> {\n const result = await _listManagedProxyDetailsSend(\n context,\n resourceUri,\n endpointName,\n managedProxyRequest,\n options,\n );\n return _listManagedProxyDetailsDeserialize(result);\n}\n\nexport function _listIngressGatewayCredentialsSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsListIngressGatewayCredentialsOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listIngressGatewayCredentials{?api-version,expiresin}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api-version\": context.apiVersion,\n expiresin: options?.expiresin,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: !options[\"listIngressGatewayCredentialsRequest\"]\n ? options[\"listIngressGatewayCredentialsRequest\"]\n : listIngressGatewayCredentialsRequestSerializer(\n options[\"listIngressGatewayCredentialsRequest\"],\n ),\n });\n}\n\nexport async function _listIngressGatewayCredentialsDeserialize(\n result: PathUncheckedResponse,\n): Promise<IngressGatewayResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return ingressGatewayResourceDeserializer(result.body);\n}\n\n/** Gets the ingress gateway endpoint credentials */\nexport async function listIngressGatewayCredentials(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsListIngressGatewayCredentialsOptionalParams = {\n requestOptions: {},\n },\n): Promise<IngressGatewayResource> {\n const result = await _listIngressGatewayCredentialsSend(\n context,\n resourceUri,\n endpointName,\n options,\n );\n return _listIngressGatewayCredentialsDeserialize(result);\n}\n\nexport function _listCredentialsSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsListCredentialsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listCredentials{?api-version,expiresin}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api-version\": context.apiVersion,\n expiresin: options?.expiresin,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: !options[\"listCredentialsRequest\"]\n ? options[\"listCredentialsRequest\"]\n : listCredentialsRequestSerializer(options[\"listCredentialsRequest\"]),\n });\n}\n\nexport async function _listCredentialsDeserialize(\n result: PathUncheckedResponse,\n): Promise<EndpointAccessResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return endpointAccessResourceDeserializer(result.body);\n}\n\n/** Gets the endpoint access credentials to the resource. */\nexport async function listCredentials(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsListCredentialsOptionalParams = { requestOptions: {} },\n): Promise<EndpointAccessResource> {\n const result = await _listCredentialsSend(context, resourceUri, endpointName, options);\n return _listCredentialsDeserialize(result);\n}\n\nexport function _listSend(\n context: Client,\n resourceUri: string,\n options: EndpointsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints{?api-version}\",\n {\n resourceUri: resourceUri,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(result: PathUncheckedResponse): Promise<_EndpointsList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _endpointsListDeserializer(result.body);\n}\n\n/** List of endpoints to the target resource. */\nexport function list(\n context: Client,\n resourceUri: string,\n options: EndpointsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<EndpointResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, resourceUri, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api-version}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Deletes the endpoint access to the target resource. */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport async function $delete(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, resourceUri, endpointName, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _updateSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n endpointResource: EndpointResource,\n options: EndpointsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api-version}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: endpointResourceSerializer(endpointResource),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<EndpointResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return endpointResourceDeserializer(result.body);\n}\n\n/** Update the endpoint to the target resource. */\nexport async function update(\n context: Client,\n resourceUri: string,\n endpointName: string,\n endpointResource: EndpointResource,\n options: EndpointsUpdateOptionalParams = { requestOptions: {} },\n): Promise<EndpointResource> {\n const result = await _updateSend(context, resourceUri, endpointName, endpointResource, options);\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n endpointResource: EndpointResource,\n options: EndpointsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api-version}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: endpointResourceSerializer(endpointResource),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<EndpointResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return endpointResourceDeserializer(result.body);\n}\n\n/** Create or update the endpoint to the target resource. */\nexport async function createOrUpdate(\n context: Client,\n resourceUri: string,\n endpointName: string,\n endpointResource: EndpointResource,\n options: EndpointsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<EndpointResource> {\n const result = await _createOrUpdateSend(\n context,\n resourceUri,\n endpointName,\n endpointResource,\n options,\n );\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api-version}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<EndpointResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return endpointResourceDeserializer(result.body);\n}\n\n/** Gets the endpoint to the resource. */\nexport async function get(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsGetOptionalParams = { requestOptions: {} },\n): Promise<EndpointResource> {\n const result = await _getSend(context, resourceUri, endpointName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/endpoints/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,0BAA0B,EAC1B,4BAA4B,EAE5B,0BAA0B,EAC1B,gCAAgC,EAEhC,kCAAkC,EAClC,8CAA8C,EAE9C,kCAAkC,EAElC,6BAA6B,EAE7B,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAWxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,4BAA4B,CAC1C,OAAe,EACf,WAAmB,EACnB,YAAoB,EACpB,mBAAwC,EACxC,UAA0D;IACxD,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,IAAI,GAAG,iBAAiB,CAC5B,0HAA0H,EAC1H;QACE,WAAW,EAAE,WAAW;QACxB,YAAY,EAAE,YAAY;QAC1B,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC;QAC7B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE;YACP,MAAM,EAAE,kBAAkB;YAC1B,GAAG,OAAO,CAAC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KAAK,CAAC;IACd,CAAC;IAED,OAAO,4BAA4B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACnD,CAAC;AAED,yCAAyC;AACzC,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,WAAmB,EACnB,YAAoB,EACpB,UAAsC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE5D,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;IAC3E,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HybridConnectivityManagementAPIContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n EndpointResource,\n endpointResourceSerializer,\n endpointResourceDeserializer,\n _EndpointsList,\n _endpointsListDeserializer,\n listCredentialsRequestSerializer,\n EndpointAccessResource,\n endpointAccessResourceDeserializer,\n listIngressGatewayCredentialsRequestSerializer,\n IngressGatewayResource,\n ingressGatewayResourceDeserializer,\n ManagedProxyRequest,\n managedProxyRequestSerializer,\n ManagedProxyResource,\n managedProxyResourceDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n EndpointsListManagedProxyDetailsOptionalParams,\n EndpointsListIngressGatewayCredentialsOptionalParams,\n EndpointsListCredentialsOptionalParams,\n EndpointsListOptionalParams,\n EndpointsDeleteOptionalParams,\n EndpointsUpdateOptionalParams,\n EndpointsCreateOrUpdateOptionalParams,\n EndpointsGetOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listManagedProxyDetailsSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n managedProxyRequest: ManagedProxyRequest,\n options: EndpointsListManagedProxyDetailsOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listManagedProxyDetails{?api%2Dversion}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: managedProxyRequestSerializer(managedProxyRequest),\n });\n}\n\nexport async function _listManagedProxyDetailsDeserialize(\n result: PathUncheckedResponse,\n): Promise<ManagedProxyResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return managedProxyResourceDeserializer(result.body);\n}\n\n/** Fetches the managed proxy details */\nexport async function listManagedProxyDetails(\n context: Client,\n resourceUri: string,\n endpointName: string,\n managedProxyRequest: ManagedProxyRequest,\n options: EndpointsListManagedProxyDetailsOptionalParams = {\n requestOptions: {},\n },\n): Promise<ManagedProxyResource> {\n const result = await _listManagedProxyDetailsSend(\n context,\n resourceUri,\n endpointName,\n managedProxyRequest,\n options,\n );\n return _listManagedProxyDetailsDeserialize(result);\n}\n\nexport function _listIngressGatewayCredentialsSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsListIngressGatewayCredentialsOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listIngressGatewayCredentials{?api%2Dversion,expiresin}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api%2Dversion\": context.apiVersion,\n expiresin: options?.expiresin,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: !options[\"listIngressGatewayCredentialsRequest\"]\n ? options[\"listIngressGatewayCredentialsRequest\"]\n : listIngressGatewayCredentialsRequestSerializer(\n options[\"listIngressGatewayCredentialsRequest\"],\n ),\n });\n}\n\nexport async function _listIngressGatewayCredentialsDeserialize(\n result: PathUncheckedResponse,\n): Promise<IngressGatewayResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return ingressGatewayResourceDeserializer(result.body);\n}\n\n/** Gets the ingress gateway endpoint credentials */\nexport async function listIngressGatewayCredentials(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsListIngressGatewayCredentialsOptionalParams = {\n requestOptions: {},\n },\n): Promise<IngressGatewayResource> {\n const result = await _listIngressGatewayCredentialsSend(\n context,\n resourceUri,\n endpointName,\n options,\n );\n return _listIngressGatewayCredentialsDeserialize(result);\n}\n\nexport function _listCredentialsSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsListCredentialsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}/listCredentials{?api%2Dversion,expiresin}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api%2Dversion\": context.apiVersion,\n expiresin: options?.expiresin,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: !options[\"listCredentialsRequest\"]\n ? options[\"listCredentialsRequest\"]\n : listCredentialsRequestSerializer(options[\"listCredentialsRequest\"]),\n });\n}\n\nexport async function _listCredentialsDeserialize(\n result: PathUncheckedResponse,\n): Promise<EndpointAccessResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return endpointAccessResourceDeserializer(result.body);\n}\n\n/** Gets the endpoint access credentials to the resource. */\nexport async function listCredentials(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsListCredentialsOptionalParams = { requestOptions: {} },\n): Promise<EndpointAccessResource> {\n const result = await _listCredentialsSend(context, resourceUri, endpointName, options);\n return _listCredentialsDeserialize(result);\n}\n\nexport function _listSend(\n context: Client,\n resourceUri: string,\n options: EndpointsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints{?api%2Dversion}\",\n {\n resourceUri: resourceUri,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(result: PathUncheckedResponse): Promise<_EndpointsList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _endpointsListDeserializer(result.body);\n}\n\n/** List of endpoints to the target resource. */\nexport function list(\n context: Client,\n resourceUri: string,\n options: EndpointsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<EndpointResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, resourceUri, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api%2Dversion}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Deletes the endpoint access to the target resource. */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport async function $delete(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, resourceUri, endpointName, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _updateSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n endpointResource: EndpointResource,\n options: EndpointsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api%2Dversion}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: endpointResourceSerializer(endpointResource),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<EndpointResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return endpointResourceDeserializer(result.body);\n}\n\n/** Update the endpoint to the target resource. */\nexport async function update(\n context: Client,\n resourceUri: string,\n endpointName: string,\n endpointResource: EndpointResource,\n options: EndpointsUpdateOptionalParams = { requestOptions: {} },\n): Promise<EndpointResource> {\n const result = await _updateSend(context, resourceUri, endpointName, endpointResource, options);\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n endpointResource: EndpointResource,\n options: EndpointsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api%2Dversion}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: endpointResourceSerializer(endpointResource),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<EndpointResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return endpointResourceDeserializer(result.body);\n}\n\n/** Create or update the endpoint to the target resource. */\nexport async function createOrUpdate(\n context: Client,\n resourceUri: string,\n endpointName: string,\n endpointResource: EndpointResource,\n options: EndpointsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<EndpointResource> {\n const result = await _createOrUpdateSend(\n context,\n resourceUri,\n endpointName,\n endpointResource,\n options,\n );\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{+endpointName}{?api%2Dversion}\",\n {\n resourceUri: resourceUri,\n endpointName: endpointName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<EndpointResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return endpointResourceDeserializer(result.body);\n}\n\n/** Gets the endpoint to the resource. */\nexport async function get(\n context: Client,\n resourceUri: string,\n endpointName: string,\n options: EndpointsGetOptionalParams = { requestOptions: {} },\n): Promise<EndpointResource> {\n const result = await _getSend(context, resourceUri, endpointName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HybridConnectivityManagementAPIContext as Client } from "../index.js";
|
|
2
|
-
import { GenerateAwsTemplateRequest } from "../../models/models.js";
|
|
2
|
+
import { GenerateAwsTemplateRequest, GenerateAwsTemplateResponse } from "../../models/models.js";
|
|
3
3
|
import { GenerateAwsTemplatePostOptionalParams } from "./options.js";
|
|
4
4
|
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
5
|
export declare function _postSend(context: Client, generateAwsTemplateRequest: GenerateAwsTemplateRequest, options?: GenerateAwsTemplatePostOptionalParams): StreamableMethod;
|
|
6
|
-
export declare function _postDeserialize(result: PathUncheckedResponse): Promise<
|
|
6
|
+
export declare function _postDeserialize(result: PathUncheckedResponse): Promise<GenerateAwsTemplateResponse>;
|
|
7
7
|
/** Retrieve AWS Cloud Formation template */
|
|
8
|
-
export declare function post(context: Client, generateAwsTemplateRequest: GenerateAwsTemplateRequest, options?: GenerateAwsTemplatePostOptionalParams): Promise<
|
|
8
|
+
export declare function post(context: Client, generateAwsTemplateRequest: GenerateAwsTemplateRequest, options?: GenerateAwsTemplatePostOptionalParams): Promise<GenerateAwsTemplateResponse>;
|
|
9
9
|
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import { errorResponseDeserializer, generateAwsTemplateRequestSerializer,
|
|
3
|
+
import { errorResponseDeserializer, generateAwsTemplateRequestSerializer, generateAwsTemplateResponseDeserializer, } from "../../models/models.js";
|
|
4
4
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
5
5
|
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
6
6
|
export function _postSend(context, generateAwsTemplateRequest, options = { requestOptions: {} }) {
|
|
7
|
-
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateAwsTemplate{?api
|
|
7
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateAwsTemplate{?api%2Dversion}", {
|
|
8
8
|
subscriptionId: context.subscriptionId,
|
|
9
|
-
"api
|
|
9
|
+
"api%2Dversion": context.apiVersion,
|
|
10
10
|
}, {
|
|
11
11
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
12
12
|
});
|
|
@@ -27,7 +27,7 @@ export async function _postDeserialize(result) {
|
|
|
27
27
|
error.details = errorResponseDeserializer(result.body);
|
|
28
28
|
throw error;
|
|
29
29
|
}
|
|
30
|
-
return
|
|
30
|
+
return generateAwsTemplateResponseDeserializer(result.body);
|
|
31
31
|
}
|
|
32
32
|
/** Retrieve AWS Cloud Formation template */
|
|
33
33
|
export async function post(context, generateAwsTemplateRequest, options = { requestOptions: {} }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/generateAwsTemplate/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,oCAAoC,
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/generateAwsTemplate/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,oCAAoC,EAEpC,uCAAuC,GACxC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,SAAS,CACvB,OAAe,EACf,0BAAsD,EACtD,UAAiD,EAAE,cAAc,EAAE,EAAE,EAAE;IAEvE,MAAM,IAAI,GAAG,iBAAiB,CAC5B,4GAA4G,EAC5G;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC;QAC7B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE;YACP,MAAM,EAAE,kBAAkB;YAC1B,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO;SACnC;QACD,IAAI,EAAE,oCAAoC,CAAC,0BAA0B,CAAC;KACvE,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC9D,CAAC;AAED,4CAA4C;AAC5C,MAAM,CAAC,KAAK,UAAU,IAAI,CACxB,OAAe,EACf,0BAAsD,EACtD,UAAiD,EAAE,cAAc,EAAE,EAAE,EAAE;IAEvE,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,OAAO,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC7E,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAClC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HybridConnectivityManagementAPIContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n GenerateAwsTemplateRequest,\n generateAwsTemplateRequestSerializer,\n GenerateAwsTemplateResponse,\n generateAwsTemplateResponseDeserializer,\n} from \"../../models/models.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport { GenerateAwsTemplatePostOptionalParams } from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _postSend(\n context: Client,\n generateAwsTemplateRequest: GenerateAwsTemplateRequest,\n options: GenerateAwsTemplatePostOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateAwsTemplate{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: generateAwsTemplateRequestSerializer(generateAwsTemplateRequest),\n });\n}\n\nexport async function _postDeserialize(\n result: PathUncheckedResponse,\n): Promise<GenerateAwsTemplateResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return generateAwsTemplateResponseDeserializer(result.body);\n}\n\n/** Retrieve AWS Cloud Formation template */\nexport async function post(\n context: Client,\n generateAwsTemplateRequest: GenerateAwsTemplateRequest,\n options: GenerateAwsTemplatePostOptionalParams = { requestOptions: {} },\n): Promise<GenerateAwsTemplateResponse> {\n const result = await _postSend(context, generateAwsTemplateRequest, options);\n return _postDeserialize(result);\n}\n"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AzureSupportedClouds } from "../static-helpers/cloudSettingHelpers.js";
|
|
1
2
|
import { Client, ClientOptions } from "@azure-rest/core-client";
|
|
2
3
|
import { TokenCredential } from "@azure/core-auth";
|
|
3
4
|
/** REST API for public clouds. */
|
|
@@ -13,6 +14,8 @@ export interface HybridConnectivityManagementAPIOptionalParams extends ClientOpt
|
|
|
13
14
|
/** The API version to use for this operation. */
|
|
14
15
|
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
15
16
|
apiVersion?: string;
|
|
17
|
+
/** Specifies the Azure cloud environment for the client. */
|
|
18
|
+
cloudSetting?: AzureSupportedClouds;
|
|
16
19
|
}
|
|
17
20
|
/** REST API for public clouds. */
|
|
18
21
|
export declare function createHybridConnectivityManagementAPI(credential: TokenCredential, subscriptionId: string, options?: HybridConnectivityManagementAPIOptionalParams): HybridConnectivityManagementAPIContext;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
import { logger } from "../logger.js";
|
|
4
|
+
import { getArmEndpoint } from "../static-helpers/cloudSettingHelpers.js";
|
|
4
5
|
import { getClient } from "@azure-rest/core-client";
|
|
5
6
|
/** REST API for public clouds. */
|
|
6
7
|
export function createHybridConnectivityManagementAPI(credential, subscriptionId, options = {}) {
|
|
7
|
-
const endpointUrl = options.endpoint ?? options.
|
|
8
|
+
const endpointUrl = options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? "https://management.azure.com";
|
|
8
9
|
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
9
|
-
const userAgentInfo = `azsdk-js-arm-hybridconnectivity/2.0.0-beta.
|
|
10
|
+
const userAgentInfo = `azsdk-js-arm-hybridconnectivity/2.0.0-beta.2`;
|
|
10
11
|
const userAgentPrefix = prefixFromOptions
|
|
11
12
|
? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
|
|
12
13
|
: `azsdk-js-api ${userAgentInfo}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hybridConnectivityManagementAPIContext.js","sourceRoot":"","sources":["../../../src/api/hybridConnectivityManagementAPIContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"hybridConnectivityManagementAPIContext.js","sourceRoot":"","sources":["../../../src/api/hybridConnectivityManagementAPIContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAwB,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAqB3E,kCAAkC;AAClC,MAAM,UAAU,qCAAqC,CACnD,UAA2B,EA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E,CAAC;gBACzC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO;QACL,GAAG,aAAa;QAChB,UAAU;QACV,cAAc;KAC2B,CAAC;AAC9C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { AzureSupportedClouds, getArmEndpoint } from \"../static-helpers/cloudSettingHelpers.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** REST API for public clouds. */\nexport interface HybridConnectivityManagementAPIContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n}\n\n/** Optional parameters for the client. */\nexport interface HybridConnectivityManagementAPIOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n /** Specifies the Azure cloud environment for the client. */\n cloudSetting?: AzureSupportedClouds;\n}\n\n/** REST API for public clouds. */\nexport function createHybridConnectivityManagementAPI(\n credential: TokenCredential,\n subscriptionId: string,\n options: HybridConnectivityManagementAPIOptionalParams = {},\n): HybridConnectivityManagementAPIContext {\n const endpointUrl =\n options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-hybridconnectivity/2.0.0-beta.2`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2024-12-01\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return {\n ...clientContext,\n apiVersion,\n subscriptionId,\n } as HybridConnectivityManagementAPIContext;\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HybridConnectivityManagementAPIContext as Client } from "../index.js";
|
|
2
2
|
import { InventoryResource, _InventoryResourceListResult } from "../../models/models.js";
|
|
3
|
-
import { InventoryListBySolutionConfigurationOptionalParams, InventoryGetOptionalParams } from "./options.js";
|
|
4
3
|
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { InventoryListBySolutionConfigurationOptionalParams, InventoryGetOptionalParams } from "./options.js";
|
|
5
5
|
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
6
|
export declare function _listBySolutionConfigurationSend(context: Client, resourceUri: string, solutionConfiguration: string, options?: InventoryListBySolutionConfigurationOptionalParams): StreamableMethod;
|
|
7
7
|
export declare function _listBySolutionConfigurationDeserialize(result: PathUncheckedResponse): Promise<_InventoryResourceListResult>;
|
|
@@ -7,10 +7,10 @@ import { createRestError, operationOptionsToRequestParameters, } from "@azure-re
|
|
|
7
7
|
export function _listBySolutionConfigurationSend(context, resourceUri, solutionConfiguration, options = {
|
|
8
8
|
requestOptions: {},
|
|
9
9
|
}) {
|
|
10
|
-
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/inventory{?api
|
|
10
|
+
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/inventory{?api%2Dversion}", {
|
|
11
11
|
resourceUri: resourceUri,
|
|
12
12
|
solutionConfiguration: solutionConfiguration,
|
|
13
|
-
"api
|
|
13
|
+
"api%2Dversion": context.apiVersion,
|
|
14
14
|
}, {
|
|
15
15
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
16
16
|
});
|
|
@@ -38,11 +38,11 @@ export function listBySolutionConfiguration(context, resourceUri, solutionConfig
|
|
|
38
38
|
return buildPagedAsyncIterator(context, () => _listBySolutionConfigurationSend(context, resourceUri, solutionConfiguration, options), _listBySolutionConfigurationDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
39
39
|
}
|
|
40
40
|
export function _getSend(context, resourceUri, solutionConfiguration, inventoryId, options = { requestOptions: {} }) {
|
|
41
|
-
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/inventory/{inventoryId}{?api
|
|
41
|
+
const path = expandUrlTemplate("/{+resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/inventory/{inventoryId}{?api%2Dversion}", {
|
|
42
42
|
resourceUri: resourceUri,
|
|
43
43
|
solutionConfiguration: solutionConfiguration,
|
|
44
44
|
inventoryId: inventoryId,
|
|
45
|
-
"api
|
|
45
|
+
"api%2Dversion": context.apiVersion,
|
|
46
46
|
}, {
|
|
47
47
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
48
48
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/inventory/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,6BAA6B,EAE7B,wCAAwC,GACzC,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/inventory/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,6BAA6B,EAE7B,wCAAwC,GACzC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAKxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,gCAAgC,CAC9C,OAAe,EACf,WAAmB,EACnB,qBAA6B,EAC7B,UAA8D;IAC5D,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,IAAI,GAAG,iBAAiB,CAC5B,iIAAiI,EACjI;QACE,WAAW,EAAE,WAAW;QACxB,qBAAqB,EAAE,qBAAqB;QAC5C,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE;YACP,MAAM,EAAE,kBAAkB;YAC1B,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO;SACnC;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,uCAAuC,CAC3D,MAA6B;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M,EAAE,kBAAkB;YAC1B,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO;SACnC;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,MAA6B;IACjE,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,6BAA6B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACpD,CAAC;AAED,8BAA8B;AAC9B,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,WAAmB,EACnB,qBAA6B,EAC7B,WAAmB,EACnB,UAAsC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE5D,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACjG,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HybridConnectivityManagementAPIContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n InventoryResource,\n inventoryResourceDeserializer,\n _InventoryResourceListResult,\n _inventoryResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n InventoryListBySolutionConfigurationOptionalParams,\n InventoryGetOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listBySolutionConfigurationSend(\n context: Client,\n resourceUri: string,\n solutionConfiguration: string,\n options: InventoryListBySolutionConfigurationOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/inventory{?api%2Dversion}\",\n {\n resourceUri: resourceUri,\n solutionConfiguration: solutionConfiguration,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listBySolutionConfigurationDeserialize(\n result: PathUncheckedResponse,\n): Promise<_InventoryResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _inventoryResourceListResultDeserializer(result.body);\n}\n\n/** List InventoryResource resources by SolutionConfiguration */\nexport function listBySolutionConfiguration(\n context: Client,\n resourceUri: string,\n solutionConfiguration: string,\n options: InventoryListBySolutionConfigurationOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<InventoryResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySolutionConfigurationSend(context, resourceUri, solutionConfiguration, options),\n _listBySolutionConfigurationDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n resourceUri: string,\n solutionConfiguration: string,\n inventoryId: string,\n options: InventoryGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/{+resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/inventory/{inventoryId}{?api%2Dversion}\",\n {\n resourceUri: resourceUri,\n solutionConfiguration: solutionConfiguration,\n inventoryId: inventoryId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<InventoryResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return inventoryResourceDeserializer(result.body);\n}\n\n/** Get a InventoryResource */\nexport async function get(\n context: Client,\n resourceUri: string,\n solutionConfiguration: string,\n inventoryId: string,\n options: InventoryGetOptionalParams = { requestOptions: {} },\n): Promise<InventoryResource> {\n const result = await _getSend(context, resourceUri, solutionConfiguration, inventoryId, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HybridConnectivityManagementAPIContext as Client } from "../index.js";
|
|
2
2
|
import { _OperationListResult, Operation } from "../../models/models.js";
|
|
3
|
-
import { OperationsListOptionalParams } from "./options.js";
|
|
4
3
|
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { OperationsListOptionalParams } from "./options.js";
|
|
5
5
|
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
6
|
export declare function _listSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
|
|
7
7
|
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import {
|
|
3
|
+
import { _operationListResultDeserializer, errorResponseDeserializer, } from "../../models/models.js";
|
|
4
4
|
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
5
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
6
|
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
7
|
export function _listSend(context, options = { requestOptions: {} }) {
|
|
8
|
-
const path = expandUrlTemplate("/providers/Microsoft.HybridConnectivity/operations{?api
|
|
9
|
-
"api
|
|
8
|
+
const path = expandUrlTemplate("/providers/Microsoft.HybridConnectivity/operations{?api%2Dversion}", {
|
|
9
|
+
"api%2Dversion": context.apiVersion,
|
|
10
10
|
}, {
|
|
11
11
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
12
12
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,gCAAgC,EAEhC,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,SAAS,CACvB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,MAAM,IAAI,GAAG,iBAAiB,CAC5B,oEAAoE,EACpE;QACE,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE;YACP,MAAM,EAAE,kBAAkB;YAC1B,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO;SACnC;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,gCAAgC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,IAAI,CAClB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,EACjC,gBAAgB,EAChB,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HybridConnectivityManagementAPIContext as Client } from \"../index.js\";\nimport {\n _OperationListResult,\n _operationListResultDeserializer,\n Operation,\n errorResponseDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport { OperationsListOptionalParams } from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.HybridConnectivity/operations{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HybridConnectivityManagementAPIContext as Client } from "../index.js";
|
|
2
|
-
import {
|
|
3
|
-
import { PublicCloudConnectorsTestPermissionsOptionalParams, PublicCloudConnectorsListBySubscriptionOptionalParams, PublicCloudConnectorsListByResourceGroupOptionalParams, PublicCloudConnectorsDeleteOptionalParams, PublicCloudConnectorsUpdateOptionalParams, PublicCloudConnectorsCreateOrUpdateOptionalParams, PublicCloudConnectorsGetOptionalParams } from "./options.js";
|
|
2
|
+
import { PublicCloudConnector, PublicCloudConnectorUpdate, _PublicCloudConnectorListResult, OperationStatusResult } from "../../models/models.js";
|
|
4
3
|
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { PublicCloudConnectorsTestPermissionsOptionalParams, PublicCloudConnectorsListBySubscriptionOptionalParams, PublicCloudConnectorsListByResourceGroupOptionalParams, PublicCloudConnectorsDeleteOptionalParams, PublicCloudConnectorsUpdateOptionalParams, PublicCloudConnectorsCreateOrUpdateOptionalParams, PublicCloudConnectorsGetOptionalParams } from "./options.js";
|
|
5
5
|
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
6
|
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
7
|
export declare function _testPermissionsSend(context: Client, resourceGroupName: string, publicCloudConnector: string, options?: PublicCloudConnectorsTestPermissionsOptionalParams): StreamableMethod;
|