@azure/arm-hardwaresecuritymodules 2.0.0-beta.2 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +172 -0
- package/LICENSE +3 -3
- package/README.md +42 -36
- package/dist/browser/api/azureDedicatedHSMResourceProviderContext.d.ts +22 -0
- package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js +30 -0
- package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/index.js +4 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js +40 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/options.d.ts +5 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/options.js +4 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +18 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js +104 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js +44 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js +4 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js +40 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/options.d.ts +5 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js +4 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
- package/dist/browser/api/cloudHsmClusters/index.d.ts +3 -0
- package/dist/browser/api/cloudHsmClusters/index.js +4 -0
- package/dist/browser/api/cloudHsmClusters/index.js.map +1 -0
- package/dist/browser/api/cloudHsmClusters/operations.d.ts +47 -0
- package/dist/browser/api/cloudHsmClusters/operations.js +363 -0
- package/dist/browser/api/cloudHsmClusters/operations.js.map +1 -0
- package/dist/browser/api/cloudHsmClusters/options.d.ts +57 -0
- package/dist/browser/api/cloudHsmClusters/options.js +4 -0
- package/dist/browser/api/cloudHsmClusters/options.js.map +1 -0
- package/dist/browser/api/dedicatedHsm/index.d.ts +3 -0
- package/dist/browser/api/dedicatedHsm/index.js +4 -0
- package/dist/browser/api/dedicatedHsm/index.js.map +1 -0
- package/dist/browser/api/dedicatedHsm/operations.d.ts +35 -0
- package/dist/browser/api/dedicatedHsm/operations.js +246 -0
- package/dist/browser/api/dedicatedHsm/operations.js.map +1 -0
- package/dist/browser/api/dedicatedHsm/options.d.ts +33 -0
- package/dist/browser/api/dedicatedHsm/options.js +4 -0
- package/dist/browser/api/dedicatedHsm/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +37 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
- package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/index.js +4 -0
- package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
- package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/operations.js +142 -0
- package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
- package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/options.d.ts +16 -0
- package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/options.js +4 -0
- package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/options.js.map +1 -0
- package/dist/browser/api/paymentHsmClusterPrivateLinkResources/index.d.ts +3 -0
- package/dist/browser/api/paymentHsmClusterPrivateLinkResources/index.js +4 -0
- package/dist/browser/api/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/browser/api/paymentHsmClusterPrivateLinkResources/operations.d.ts +10 -0
- package/dist/browser/api/paymentHsmClusterPrivateLinkResources/operations.js +44 -0
- package/dist/browser/api/paymentHsmClusterPrivateLinkResources/operations.js.map +1 -0
- package/dist/browser/api/paymentHsmClusterPrivateLinkResources/options.d.ts +5 -0
- package/dist/browser/api/paymentHsmClusterPrivateLinkResources/options.js +4 -0
- package/dist/browser/api/paymentHsmClusterPrivateLinkResources/options.js.map +1 -0
- package/dist/browser/api/paymentHsmClusters/index.d.ts +3 -0
- package/dist/browser/api/paymentHsmClusters/index.js +4 -0
- package/dist/browser/api/paymentHsmClusters/index.js.map +1 -0
- package/dist/browser/api/paymentHsmClusters/operations.d.ts +31 -0
- package/dist/browser/api/paymentHsmClusters/operations.js +209 -0
- package/dist/browser/api/paymentHsmClusters/operations.js.map +1 -0
- package/dist/browser/api/paymentHsmClusters/options.d.ts +30 -0
- package/dist/browser/api/paymentHsmClusters/options.js +4 -0
- package/dist/browser/api/paymentHsmClusters/options.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/browser/api/privateEndpointConnections/index.js +4 -0
- package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/operations.d.ts +10 -0
- package/dist/browser/api/privateEndpointConnections/operations.js +40 -0
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/options.d.ts +5 -0
- package/dist/browser/api/privateEndpointConnections/options.js +4 -0
- package/dist/browser/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/browser/azureDedicatedHSMResourceProvider.d.ts +45 -0
- package/dist/browser/azureDedicatedHSMResourceProvider.js +61 -0
- package/dist/browser/azureDedicatedHSMResourceProvider.js.map +1 -0
- package/dist/browser/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
- package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js +14 -0
- package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +15 -0
- package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js +16 -0
- package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
- package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js +14 -0
- package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
- package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js +14 -0
- package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/browser/classic/cloudHsmClusters/index.d.ts +30 -0
- package/dist/browser/classic/cloudHsmClusters/index.js +23 -0
- package/dist/browser/classic/cloudHsmClusters/index.js.map +1 -0
- package/dist/browser/classic/dedicatedHsm/index.d.ts +24 -0
- package/dist/browser/classic/dedicatedHsm/index.js +20 -0
- package/dist/browser/classic/dedicatedHsm/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +12 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/paymentHsmClusterPrivateEndpointConnections/index.d.ts +18 -0
- package/dist/browser/classic/paymentHsmClusterPrivateEndpointConnections/index.js +17 -0
- package/dist/browser/classic/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/browser/classic/paymentHsmClusterPrivateLinkResources/index.d.ts +11 -0
- package/dist/browser/classic/paymentHsmClusterPrivateLinkResources/index.js +14 -0
- package/dist/browser/classic/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/browser/classic/paymentHsmClusters/index.d.ts +22 -0
- package/dist/browser/classic/paymentHsmClusters/index.js +19 -0
- package/dist/browser/classic/paymentHsmClusters/index.js.map +1 -0
- package/dist/browser/classic/privateEndpointConnections/index.d.ts +11 -0
- package/dist/browser/classic/privateEndpointConnections/index.js +14 -0
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/browser/index.d.ts +26 -0
- package/dist/browser/index.js +9 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +3 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +976 -0
- package/dist/browser/models/models.js +972 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +130 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.d.ts +22 -0
- package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js +51 -0
- package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js +28 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js +71 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.d.ts +5 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js +16 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js +32 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +18 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js +166 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js +16 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js +28 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js +81 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js +16 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js +28 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js +71 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.d.ts +5 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js +16 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusters/index.d.ts +3 -0
- package/dist/commonjs/api/cloudHsmClusters/index.js +46 -0
- package/dist/commonjs/api/cloudHsmClusters/index.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusters/operations.d.ts +47 -0
- package/dist/commonjs/api/cloudHsmClusters/operations.js +497 -0
- package/dist/commonjs/api/cloudHsmClusters/operations.js.map +7 -0
- package/dist/commonjs/api/cloudHsmClusters/options.d.ts +57 -0
- package/dist/commonjs/api/cloudHsmClusters/options.js +16 -0
- package/dist/commonjs/api/cloudHsmClusters/options.js.map +7 -0
- package/dist/commonjs/api/dedicatedHsm/index.d.ts +3 -0
- package/dist/commonjs/api/dedicatedHsm/index.js +40 -0
- package/dist/commonjs/api/dedicatedHsm/index.js.map +7 -0
- package/dist/commonjs/api/dedicatedHsm/operations.d.ts +35 -0
- package/dist/commonjs/api/dedicatedHsm/operations.js +349 -0
- package/dist/commonjs/api/dedicatedHsm/operations.js.map +7 -0
- package/dist/commonjs/api/dedicatedHsm/options.d.ts +33 -0
- package/dist/commonjs/api/dedicatedHsm/options.js +16 -0
- package/dist/commonjs/api/dedicatedHsm/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +74 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/index.js +34 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/index.js.map +7 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/operations.js +219 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/operations.js.map +7 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/options.d.ts +16 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/options.js +16 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/options.js.map +7 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/index.d.ts +3 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/index.js +28 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/index.js.map +7 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/operations.d.ts +10 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/operations.js +81 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/operations.js.map +7 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/options.d.ts +5 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/options.js +16 -0
- package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/options.js.map +7 -0
- package/dist/commonjs/api/paymentHsmClusters/index.d.ts +3 -0
- package/dist/commonjs/api/paymentHsmClusters/index.js +38 -0
- package/dist/commonjs/api/paymentHsmClusters/index.js.map +7 -0
- package/dist/commonjs/api/paymentHsmClusters/operations.d.ts +31 -0
- package/dist/commonjs/api/paymentHsmClusters/operations.js +297 -0
- package/dist/commonjs/api/paymentHsmClusters/operations.js.map +7 -0
- package/dist/commonjs/api/paymentHsmClusters/options.d.ts +30 -0
- package/dist/commonjs/api/paymentHsmClusters/options.js +16 -0
- package/dist/commonjs/api/paymentHsmClusters/options.js.map +7 -0
- package/dist/commonjs/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js +28 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +7 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +10 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.js +77 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +7 -0
- package/dist/commonjs/api/privateEndpointConnections/options.d.ts +5 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js +16 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +7 -0
- package/dist/commonjs/azureDedicatedHSMResourceProvider.d.ts +45 -0
- package/dist/commonjs/azureDedicatedHSMResourceProvider.js +84 -0
- package/dist/commonjs/azureDedicatedHSMResourceProvider.js.map +7 -0
- package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
- package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js +38 -0
- package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js.map +7 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +15 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js +47 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +7 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js +38 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js.map +7 -0
- package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
- package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js +38 -0
- package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js.map +7 -0
- package/dist/commonjs/classic/cloudHsmClusters/index.d.ts +30 -0
- package/dist/commonjs/classic/cloudHsmClusters/index.js +47 -0
- package/dist/commonjs/classic/cloudHsmClusters/index.js.map +7 -0
- package/dist/commonjs/classic/dedicatedHsm/index.d.ts +24 -0
- package/dist/commonjs/classic/dedicatedHsm/index.js +44 -0
- package/dist/commonjs/classic/dedicatedHsm/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +12 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/paymentHsmClusterPrivateEndpointConnections/index.d.ts +18 -0
- package/dist/commonjs/classic/paymentHsmClusterPrivateEndpointConnections/index.js +48 -0
- package/dist/commonjs/classic/paymentHsmClusterPrivateEndpointConnections/index.js.map +7 -0
- package/dist/commonjs/classic/paymentHsmClusterPrivateLinkResources/index.d.ts +11 -0
- package/dist/commonjs/classic/paymentHsmClusterPrivateLinkResources/index.js +38 -0
- package/dist/commonjs/classic/paymentHsmClusterPrivateLinkResources/index.js.map +7 -0
- package/dist/commonjs/classic/paymentHsmClusters/index.d.ts +22 -0
- package/dist/commonjs/classic/paymentHsmClusters/index.js +43 -0
- package/dist/commonjs/classic/paymentHsmClusters/index.js.map +7 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +11 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js +38 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +26 -0
- package/dist/commonjs/index.js +78 -0
- package/dist/commonjs/index.js.map +7 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +3 -0
- package/dist/commonjs/models/index.js +64 -0
- package/dist/commonjs/models/index.js.map +7 -0
- package/dist/commonjs/models/models.d.ts +976 -0
- package/dist/commonjs/models/models.js +1042 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +143 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/api/azureDedicatedHSMResourceProviderContext.d.ts +22 -0
- package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js +30 -0
- package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/index.js +4 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js +40 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/options.d.ts +5 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/options.js +4 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +18 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js +104 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js +44 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js +4 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js +40 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/options.d.ts +5 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js +4 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
- package/dist/esm/api/cloudHsmClusters/index.d.ts +3 -0
- package/dist/esm/api/cloudHsmClusters/index.js +4 -0
- package/dist/esm/api/cloudHsmClusters/index.js.map +1 -0
- package/dist/esm/api/cloudHsmClusters/operations.d.ts +47 -0
- package/dist/esm/api/cloudHsmClusters/operations.js +363 -0
- package/dist/esm/api/cloudHsmClusters/operations.js.map +1 -0
- package/dist/esm/api/cloudHsmClusters/options.d.ts +57 -0
- package/dist/esm/api/cloudHsmClusters/options.js +4 -0
- package/dist/esm/api/cloudHsmClusters/options.js.map +1 -0
- package/dist/esm/api/dedicatedHsm/index.d.ts +3 -0
- package/dist/esm/api/dedicatedHsm/index.js +4 -0
- package/dist/esm/api/dedicatedHsm/index.js.map +1 -0
- package/dist/esm/api/dedicatedHsm/operations.d.ts +35 -0
- package/dist/esm/api/dedicatedHsm/operations.js +246 -0
- package/dist/esm/api/dedicatedHsm/operations.js.map +1 -0
- package/dist/esm/api/dedicatedHsm/options.d.ts +33 -0
- package/dist/esm/api/dedicatedHsm/options.js +4 -0
- package/dist/esm/api/dedicatedHsm/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +37 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
- package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/index.js +4 -0
- package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
- package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/operations.js +142 -0
- package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
- package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/options.d.ts +16 -0
- package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/options.js +4 -0
- package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/options.js.map +1 -0
- package/dist/esm/api/paymentHsmClusterPrivateLinkResources/index.d.ts +3 -0
- package/dist/esm/api/paymentHsmClusterPrivateLinkResources/index.js +4 -0
- package/dist/esm/api/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/esm/api/paymentHsmClusterPrivateLinkResources/operations.d.ts +10 -0
- package/dist/esm/api/paymentHsmClusterPrivateLinkResources/operations.js +44 -0
- package/dist/esm/api/paymentHsmClusterPrivateLinkResources/operations.js.map +1 -0
- package/dist/esm/api/paymentHsmClusterPrivateLinkResources/options.d.ts +5 -0
- package/dist/esm/api/paymentHsmClusterPrivateLinkResources/options.js +4 -0
- package/dist/esm/api/paymentHsmClusterPrivateLinkResources/options.js.map +1 -0
- package/dist/esm/api/paymentHsmClusters/index.d.ts +3 -0
- package/dist/esm/api/paymentHsmClusters/index.js +4 -0
- package/dist/esm/api/paymentHsmClusters/index.js.map +1 -0
- package/dist/esm/api/paymentHsmClusters/operations.d.ts +31 -0
- package/dist/esm/api/paymentHsmClusters/operations.js +209 -0
- package/dist/esm/api/paymentHsmClusters/operations.js.map +1 -0
- package/dist/esm/api/paymentHsmClusters/options.d.ts +30 -0
- package/dist/esm/api/paymentHsmClusters/options.js +4 -0
- package/dist/esm/api/paymentHsmClusters/options.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/esm/api/privateEndpointConnections/index.js +4 -0
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/operations.d.ts +10 -0
- package/dist/esm/api/privateEndpointConnections/operations.js +40 -0
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/options.d.ts +5 -0
- package/dist/esm/api/privateEndpointConnections/options.js +4 -0
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/esm/azureDedicatedHSMResourceProvider.d.ts +45 -0
- package/dist/esm/azureDedicatedHSMResourceProvider.js +61 -0
- package/dist/esm/azureDedicatedHSMResourceProvider.js.map +1 -0
- package/dist/esm/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
- package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js +14 -0
- package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +15 -0
- package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js +16 -0
- package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
- package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js +14 -0
- package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
- package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js +14 -0
- package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/esm/classic/cloudHsmClusters/index.d.ts +30 -0
- package/dist/esm/classic/cloudHsmClusters/index.js +23 -0
- package/dist/esm/classic/cloudHsmClusters/index.js.map +1 -0
- package/dist/esm/classic/dedicatedHsm/index.d.ts +24 -0
- package/dist/esm/classic/dedicatedHsm/index.js +20 -0
- package/dist/esm/classic/dedicatedHsm/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +12 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/paymentHsmClusterPrivateEndpointConnections/index.d.ts +18 -0
- package/dist/esm/classic/paymentHsmClusterPrivateEndpointConnections/index.js +17 -0
- package/dist/esm/classic/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/esm/classic/paymentHsmClusterPrivateLinkResources/index.d.ts +11 -0
- package/dist/esm/classic/paymentHsmClusterPrivateLinkResources/index.js +14 -0
- package/dist/esm/classic/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/esm/classic/paymentHsmClusters/index.d.ts +22 -0
- package/dist/esm/classic/paymentHsmClusters/index.js +19 -0
- package/dist/esm/classic/paymentHsmClusters/index.js.map +1 -0
- package/dist/esm/classic/privateEndpointConnections/index.d.ts +11 -0
- package/dist/esm/classic/privateEndpointConnections/index.js +14 -0
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/esm/index.d.ts +26 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +976 -0
- package/dist/esm/models/models.js +972 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +130 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +280 -87
- package/review/arm-hardwaresecuritymodules-node.api.md +860 -0
- package/dist/index.js +0 -4363
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +0 -46
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +0 -40
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +0 -40
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +0 -55
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js +0 -39
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +0 -53
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +0 -39
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +0 -39
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +0 -53
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js +0 -43
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +0 -47
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js +0 -39
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js +0 -46
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +0 -119
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +0 -39
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmGetSample.js +0 -77
- package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +0 -88
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +0 -86
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +0 -55
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +0 -62
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -86
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +0 -55
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +0 -1
- package/dist-esm/src/azureHSMResourceProvider.d.ts +0 -27
- package/dist-esm/src/azureHSMResourceProvider.d.ts.map +0 -1
- package/dist-esm/src/azureHSMResourceProvider.js +0 -109
- package/dist-esm/src/azureHSMResourceProvider.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts +0 -11
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -1182
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -188
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -59
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -1414
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -29
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -215
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts +0 -22
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js +0 -61
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +0 -55
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +0 -201
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +0 -41
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +0 -153
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts +0 -22
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js +0 -61
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusters.d.ts +0 -182
- package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusters.js +0 -965
- package/dist-esm/src/operations/cloudHsmClusters.js.map +0 -1
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +0 -134
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/dedicatedHsmOperations.js +0 -681
- package/dist-esm/src/operations/dedicatedHsmOperations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -9
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -16
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -26
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -96
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +0 -43
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +0 -155
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js +0 -9
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +0 -47
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +0 -9
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +0 -9
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js +0 -9
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +0 -145
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js +0 -9
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +0 -78
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js +0 -9
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -16
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js +0 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +0 -15
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +0 -9
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/pagingHelper.d.ts +0 -13
- package/dist-esm/src/pagingHelper.d.ts.map +0 -1
- package/dist-esm/src/pagingHelper.js +0 -32
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +0 -77
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +0 -1
- package/review/arm-hardwaresecuritymodules.api.md +0 -927
- package/src/azureHSMResourceProvider.ts +0 -179
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1366
- package/src/models/mappers.ts +0 -1529
- package/src/models/parameters.ts +0 -255
- package/src/operations/cloudHsmClusterBackupStatus.ts +0 -82
- package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +0 -281
- package/src/operations/cloudHsmClusterPrivateLinkResources.ts +0 -206
- package/src/operations/cloudHsmClusterRestoreStatus.ts +0 -82
- package/src/operations/cloudHsmClusters.ts +0 -1283
- package/src/operations/dedicatedHsmOperations.ts +0 -888
- package/src/operations/index.ts +0 -16
- package/src/operations/operations.ts +0 -103
- package/src/operations/privateEndpointConnections.ts +0 -208
- package/src/operationsInterfaces/cloudHsmClusterBackupStatus.ts +0 -30
- package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +0 -89
- package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +0 -30
- package/src/operationsInterfaces/cloudHsmClusterRestoreStatus.ts +0 -30
- package/src/operationsInterfaces/cloudHsmClusters.ts +0 -279
- package/src/operationsInterfaces/dedicatedHsmOperations.ts +0 -155
- package/src/operationsInterfaces/index.ts +0 -16
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -31
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-hardwaresecuritymodules.d.ts +0 -1694
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, paymentHsmClusterPrivateEndpointConnectionSerializer, paymentHsmClusterPrivateEndpointConnectionDeserializer, _paymentHsmClusterPrivateEndpointConnectionListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
7
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
8
|
+
export function _listByPaymentHsmClusterSend(context, resourceGroupName, paymentHsmClusterName, options = {
|
|
9
|
+
requestOptions: {},
|
|
10
|
+
}) {
|
|
11
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateEndpointConnections{?api%2Dversion}", {
|
|
12
|
+
subscriptionId: context.subscriptionId,
|
|
13
|
+
resourceGroupName: resourceGroupName,
|
|
14
|
+
paymentHsmClusterName: paymentHsmClusterName,
|
|
15
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
16
|
+
}, {
|
|
17
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
18
|
+
});
|
|
19
|
+
return context.path(path).get({
|
|
20
|
+
...operationOptionsToRequestParameters(options),
|
|
21
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
export async function _listByPaymentHsmClusterDeserialize(result) {
|
|
25
|
+
const expectedStatuses = ["200"];
|
|
26
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
27
|
+
const error = createRestError(result);
|
|
28
|
+
if (result.body) {
|
|
29
|
+
error.details = errorResponseDeserializer(result.body);
|
|
30
|
+
}
|
|
31
|
+
throw error;
|
|
32
|
+
}
|
|
33
|
+
return _paymentHsmClusterPrivateEndpointConnectionListResultDeserializer(result.body);
|
|
34
|
+
}
|
|
35
|
+
/** The List operation gets information about the private endpoint connections associated with the Payment HSM Cluster */
|
|
36
|
+
export function listByPaymentHsmCluster(context, resourceGroupName, paymentHsmClusterName, options = {
|
|
37
|
+
requestOptions: {},
|
|
38
|
+
}) {
|
|
39
|
+
return buildPagedAsyncIterator(context, () => _listByPaymentHsmClusterSend(context, resourceGroupName, paymentHsmClusterName, options), _listByPaymentHsmClusterDeserialize, ["200"], {
|
|
40
|
+
itemName: "value",
|
|
41
|
+
nextLinkName: "nextLink",
|
|
42
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
export function _$deleteSend(context, resourceGroupName, paymentHsmClusterName, peConnectionName, options = { requestOptions: {} }) {
|
|
46
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
|
|
47
|
+
subscriptionId: context.subscriptionId,
|
|
48
|
+
resourceGroupName: resourceGroupName,
|
|
49
|
+
paymentHsmClusterName: paymentHsmClusterName,
|
|
50
|
+
peConnectionName: peConnectionName,
|
|
51
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
52
|
+
}, {
|
|
53
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
54
|
+
});
|
|
55
|
+
return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
|
|
56
|
+
}
|
|
57
|
+
export async function _$deleteDeserialize(result) {
|
|
58
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
59
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
60
|
+
const error = createRestError(result);
|
|
61
|
+
if (result.body) {
|
|
62
|
+
error.details = errorResponseDeserializer(result.body);
|
|
63
|
+
}
|
|
64
|
+
throw error;
|
|
65
|
+
}
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
/** Deletes the private endpoint connection for the Payment Hsm Cluster. */
|
|
69
|
+
export function $delete(context, resourceGroupName, paymentHsmClusterName, peConnectionName, options = { requestOptions: {} }) {
|
|
70
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
71
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
72
|
+
abortSignal: options?.abortSignal,
|
|
73
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, paymentHsmClusterName, peConnectionName, options),
|
|
74
|
+
resourceLocationConfig: "location",
|
|
75
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
export function _createSend(context, resourceGroupName, paymentHsmClusterName, peConnectionName, properties, options = { requestOptions: {} }) {
|
|
79
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
|
|
80
|
+
subscriptionId: context.subscriptionId,
|
|
81
|
+
resourceGroupName: resourceGroupName,
|
|
82
|
+
paymentHsmClusterName: paymentHsmClusterName,
|
|
83
|
+
peConnectionName: peConnectionName,
|
|
84
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
85
|
+
}, {
|
|
86
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
87
|
+
});
|
|
88
|
+
return context.path(path).put({
|
|
89
|
+
...operationOptionsToRequestParameters(options),
|
|
90
|
+
contentType: "application/json",
|
|
91
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
92
|
+
body: paymentHsmClusterPrivateEndpointConnectionSerializer(properties),
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
export async function _createDeserialize(result) {
|
|
96
|
+
const expectedStatuses = ["200", "201"];
|
|
97
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
98
|
+
const error = createRestError(result);
|
|
99
|
+
if (result.body) {
|
|
100
|
+
error.details = errorResponseDeserializer(result.body);
|
|
101
|
+
}
|
|
102
|
+
throw error;
|
|
103
|
+
}
|
|
104
|
+
return paymentHsmClusterPrivateEndpointConnectionDeserializer(result.body);
|
|
105
|
+
}
|
|
106
|
+
/** Creates or updates the private endpoint connection for the Payment Hsm Cluster. */
|
|
107
|
+
export async function create(context, resourceGroupName, paymentHsmClusterName, peConnectionName, properties, options = { requestOptions: {} }) {
|
|
108
|
+
const result = await _createSend(context, resourceGroupName, paymentHsmClusterName, peConnectionName, properties, options);
|
|
109
|
+
return _createDeserialize(result);
|
|
110
|
+
}
|
|
111
|
+
export function _getSend(context, resourceGroupName, paymentHsmClusterName, peConnectionName, options = { requestOptions: {} }) {
|
|
112
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
|
|
113
|
+
subscriptionId: context.subscriptionId,
|
|
114
|
+
resourceGroupName: resourceGroupName,
|
|
115
|
+
paymentHsmClusterName: paymentHsmClusterName,
|
|
116
|
+
peConnectionName: peConnectionName,
|
|
117
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
118
|
+
}, {
|
|
119
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
120
|
+
});
|
|
121
|
+
return context.path(path).get({
|
|
122
|
+
...operationOptionsToRequestParameters(options),
|
|
123
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
export async function _getDeserialize(result) {
|
|
127
|
+
const expectedStatuses = ["200"];
|
|
128
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
129
|
+
const error = createRestError(result);
|
|
130
|
+
if (result.body) {
|
|
131
|
+
error.details = errorResponseDeserializer(result.body);
|
|
132
|
+
}
|
|
133
|
+
throw error;
|
|
134
|
+
}
|
|
135
|
+
return paymentHsmClusterPrivateEndpointConnectionDeserializer(result.body);
|
|
136
|
+
}
|
|
137
|
+
/** Gets the private endpoint connection for the Payment Hsm Cluster. */
|
|
138
|
+
export async function get(context, resourceGroupName, paymentHsmClusterName, peConnectionName, options = { requestOptions: {} }) {
|
|
139
|
+
const result = await _getSend(context, resourceGroupName, paymentHsmClusterName, peConnectionName, options);
|
|
140
|
+
return _getDeserialize(result);
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.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AAC;AAC7E,CAAC;AACD,wEAAwE;AACxE,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,qBAA6B,EAC7B,gBAAwB,EACxB,UAAwE,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9F,MAAM,MAAM,GAAG,MAAM,QAAQ,CAC3B,OAAO,EACP,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,OAAO,CACR,CAAC;IACF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureDedicatedHSMResourceProviderContext as Client } from \"../index.js\";\nimport type {\n PaymentHsmClusterPrivateEndpointConnection,\n _PaymentHsmClusterPrivateEndpointConnectionListResult,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n paymentHsmClusterPrivateEndpointConnectionSerializer,\n paymentHsmClusterPrivateEndpointConnectionDeserializer,\n _paymentHsmClusterPrivateEndpointConnectionListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n PaymentHsmClusterPrivateEndpointConnectionsListByPaymentHsmClusterOptionalParams,\n PaymentHsmClusterPrivateEndpointConnectionsDeleteOptionalParams,\n PaymentHsmClusterPrivateEndpointConnectionsCreateOptionalParams,\n PaymentHsmClusterPrivateEndpointConnectionsGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listByPaymentHsmClusterSend(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n options: PaymentHsmClusterPrivateEndpointConnectionsListByPaymentHsmClusterOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateEndpointConnections{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n paymentHsmClusterName: paymentHsmClusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByPaymentHsmClusterDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PaymentHsmClusterPrivateEndpointConnectionListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _paymentHsmClusterPrivateEndpointConnectionListResultDeserializer(result.body);\n}\n/** The List operation gets information about the private endpoint connections associated with the Payment HSM Cluster */\nexport function listByPaymentHsmCluster(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n options: PaymentHsmClusterPrivateEndpointConnectionsListByPaymentHsmClusterOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PaymentHsmClusterPrivateEndpointConnection> {\n return buildPagedAsyncIterator(\n context,\n () => _listByPaymentHsmClusterSend(context, resourceGroupName, paymentHsmClusterName, options),\n _listByPaymentHsmClusterDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n peConnectionName: string,\n options: PaymentHsmClusterPrivateEndpointConnectionsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n paymentHsmClusterName: paymentHsmClusterName,\n peConnectionName: peConnectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n/** Deletes the private endpoint connection for the Payment Hsm Cluster. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n peConnectionName: string,\n options: PaymentHsmClusterPrivateEndpointConnectionsDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, resourceGroupName, paymentHsmClusterName, peConnectionName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _createSend(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n peConnectionName: string,\n properties: PaymentHsmClusterPrivateEndpointConnection,\n options: PaymentHsmClusterPrivateEndpointConnectionsCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n paymentHsmClusterName: paymentHsmClusterName,\n peConnectionName: peConnectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: paymentHsmClusterPrivateEndpointConnectionSerializer(properties),\n });\n}\n\nexport async function _createDeserialize(\n result: PathUncheckedResponse,\n): Promise<PaymentHsmClusterPrivateEndpointConnection> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return paymentHsmClusterPrivateEndpointConnectionDeserializer(result.body);\n}\n/** Creates or updates the private endpoint connection for the Payment Hsm Cluster. */\nexport async function create(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n peConnectionName: string,\n properties: PaymentHsmClusterPrivateEndpointConnection,\n options: PaymentHsmClusterPrivateEndpointConnectionsCreateOptionalParams = { requestOptions: {} },\n): Promise<PaymentHsmClusterPrivateEndpointConnection> {\n const result = await _createSend(\n context,\n resourceGroupName,\n paymentHsmClusterName,\n peConnectionName,\n properties,\n options,\n );\n return _createDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n peConnectionName: string,\n options: PaymentHsmClusterPrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n paymentHsmClusterName: paymentHsmClusterName,\n peConnectionName: peConnectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<PaymentHsmClusterPrivateEndpointConnection> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return paymentHsmClusterPrivateEndpointConnectionDeserializer(result.body);\n}\n/** Gets the private endpoint connection for the Payment Hsm Cluster. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n peConnectionName: string,\n options: PaymentHsmClusterPrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): Promise<PaymentHsmClusterPrivateEndpointConnection> {\n const result = await _getSend(\n context,\n resourceGroupName,\n paymentHsmClusterName,\n peConnectionName,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface PaymentHsmClusterPrivateEndpointConnectionsListByPaymentHsmClusterOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface PaymentHsmClusterPrivateEndpointConnectionsDeleteOptionalParams extends OperationOptions {
|
|
7
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
8
|
+
updateIntervalInMs?: number;
|
|
9
|
+
}
|
|
10
|
+
/** Optional parameters. */
|
|
11
|
+
export interface PaymentHsmClusterPrivateEndpointConnectionsCreateOptionalParams extends OperationOptions {
|
|
12
|
+
}
|
|
13
|
+
/** Optional parameters. */
|
|
14
|
+
export interface PaymentHsmClusterPrivateEndpointConnectionsGetOptionalParams extends OperationOptions {
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/paymentHsmClusterPrivateEndpointConnections/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PaymentHsmClusterPrivateEndpointConnectionsListByPaymentHsmClusterOptionalParams extends OperationOptions {}\n/** Optional parameters. */\nexport interface PaymentHsmClusterPrivateEndpointConnectionsDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface PaymentHsmClusterPrivateEndpointConnectionsCreateOptionalParams extends OperationOptions {}\n/** Optional parameters. */\nexport interface PaymentHsmClusterPrivateEndpointConnectionsGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/paymentHsmClusterPrivateLinkResources/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByPaymentHsmCluster } from \"./operations.js\";\nexport type { PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams } from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
|
|
2
|
+
import type { _PrivateLinkResourceListResult, PrivateLinkResource } from "../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import type { PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _listByPaymentHsmClusterSend(context: Client, resourceGroupName: string, paymentHsmClusterName: string, options?: PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _listByPaymentHsmClusterDeserialize(result: PathUncheckedResponse): Promise<_PrivateLinkResourceListResult>;
|
|
8
|
+
/** Gets the private link resources supported for the Payment Hsm Cluster. */
|
|
9
|
+
export declare function listByPaymentHsmCluster(context: Client, resourceGroupName: string, paymentHsmClusterName: string, options?: PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
10
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, _privateLinkResourceListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
7
|
+
export function _listByPaymentHsmClusterSend(context, resourceGroupName, paymentHsmClusterName, options = {
|
|
8
|
+
requestOptions: {},
|
|
9
|
+
}) {
|
|
10
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateLinkResources{?api%2Dversion}", {
|
|
11
|
+
subscriptionId: context.subscriptionId,
|
|
12
|
+
resourceGroupName: resourceGroupName,
|
|
13
|
+
paymentHsmClusterName: paymentHsmClusterName,
|
|
14
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
15
|
+
}, {
|
|
16
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
17
|
+
});
|
|
18
|
+
return context.path(path).get({
|
|
19
|
+
...operationOptionsToRequestParameters(options),
|
|
20
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
export async function _listByPaymentHsmClusterDeserialize(result) {
|
|
24
|
+
const expectedStatuses = ["200"];
|
|
25
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
26
|
+
const error = createRestError(result);
|
|
27
|
+
if (result.body) {
|
|
28
|
+
error.details = errorResponseDeserializer(result.body);
|
|
29
|
+
}
|
|
30
|
+
throw error;
|
|
31
|
+
}
|
|
32
|
+
return _privateLinkResourceListResultDeserializer(result.body);
|
|
33
|
+
}
|
|
34
|
+
/** Gets the private link resources supported for the Payment Hsm Cluster. */
|
|
35
|
+
export function listByPaymentHsmCluster(context, resourceGroupName, paymentHsmClusterName, options = {
|
|
36
|
+
requestOptions: {},
|
|
37
|
+
}) {
|
|
38
|
+
return buildPagedAsyncIterator(context, () => _listByPaymentHsmClusterSend(context, resourceGroupName, paymentHsmClusterName, options), _listByPaymentHsmClusterDeserialize, ["200"], {
|
|
39
|
+
itemName: "value",
|
|
40
|
+
nextLinkName: "nextLink",
|
|
41
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","source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;YAChB,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACzD,CAAC;QAED,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,0CAA0C,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjE,CAAC;AACD,6EAA6E;AAC7E,MAAM,UAAU,uBAAuB,CACrC,OAAe,EACf,iBAAyB,EACzB,qBAA6B,EAC7B,UAAsF;IACpF,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,4BAA4B,CAAC,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAC9F,mCAAmC,EACnC,CAAC,KAAK,CAAC,EACP;QACE,QAAQ,EAAE,OAAO;QACjB,YAAY,EAAE,UAAU;QACxB,UAAU,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KACvD,CACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureDedicatedHSMResourceProviderContext as Client } from \"../index.js\";\nimport type { _PrivateLinkResourceListResult, PrivateLinkResource } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n _privateLinkResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listByPaymentHsmClusterSend(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n options: PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}/privateLinkResources{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n paymentHsmClusterName: paymentHsmClusterName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByPaymentHsmClusterDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateLinkResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _privateLinkResourceListResultDeserializer(result.body);\n}\n/** Gets the private link resources supported for the Payment Hsm Cluster. */\nexport function listByPaymentHsmCluster(\n context: Client,\n resourceGroupName: string,\n paymentHsmClusterName: string,\n options: PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PrivateLinkResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listByPaymentHsmClusterSend(context, resourceGroupName, paymentHsmClusterName, options),\n _listByPaymentHsmClusterDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n },\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/paymentHsmClusterPrivateLinkResources/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PaymentHsmClusterPrivateLinkResourcesListByPaymentHsmClusterOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { listBySubscription, listByResourceGroup, $delete, update, createOrUpdate, get, } from "./operations.js";
|
|
2
|
+
export type { PaymentHsmClustersListBySubscriptionOptionalParams, PaymentHsmClustersListByResourceGroupOptionalParams, PaymentHsmClustersDeleteOptionalParams, PaymentHsmClustersUpdateOptionalParams, PaymentHsmClustersCreateOrUpdateOptionalParams, PaymentHsmClustersGetOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/paymentHsmClusters/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"./operations.js\";\nexport type {\n PaymentHsmClustersListBySubscriptionOptionalParams,\n PaymentHsmClustersListByResourceGroupOptionalParams,\n PaymentHsmClustersDeleteOptionalParams,\n PaymentHsmClustersUpdateOptionalParams,\n PaymentHsmClustersCreateOrUpdateOptionalParams,\n PaymentHsmClustersGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
|
|
2
|
+
import type { PaymentHsmCluster, PaymentHsmClusterPatchParameters, _PaymentHsmClusterListResult } from "../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import type { PaymentHsmClustersListBySubscriptionOptionalParams, PaymentHsmClustersListByResourceGroupOptionalParams, PaymentHsmClustersDeleteOptionalParams, PaymentHsmClustersUpdateOptionalParams, PaymentHsmClustersCreateOrUpdateOptionalParams, PaymentHsmClustersGetOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _listBySubscriptionSend(context: Client, options?: PaymentHsmClustersListBySubscriptionOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _listBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_PaymentHsmClusterListResult>;
|
|
9
|
+
/** The List operation gets information about the Payment HSM Clusters associated with the subscription. */
|
|
10
|
+
export declare function listBySubscription(context: Client, options?: PaymentHsmClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PaymentHsmCluster>;
|
|
11
|
+
export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: PaymentHsmClustersListByResourceGroupOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_PaymentHsmClusterListResult>;
|
|
13
|
+
/** The List operation gets information about the Payment HSM Clusters associated with the subscription and within the specified resource group. */
|
|
14
|
+
export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: PaymentHsmClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PaymentHsmCluster>;
|
|
15
|
+
export declare function _$deleteSend(context: Client, resourceGroupName: string, paymentHsmClusterName: string, options?: PaymentHsmClustersDeleteOptionalParams): StreamableMethod;
|
|
16
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
17
|
+
/** Deletes the specified Payment HSM Cluster */
|
|
18
|
+
export declare function $delete(context: Client, resourceGroupName: string, paymentHsmClusterName: string, options?: PaymentHsmClustersDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
19
|
+
export declare function _updateSend(context: Client, resourceGroupName: string, paymentHsmClusterName: string, body: PaymentHsmClusterPatchParameters, options?: PaymentHsmClustersUpdateOptionalParams): StreamableMethod;
|
|
20
|
+
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<PaymentHsmCluster>;
|
|
21
|
+
/** Update a Payment HSM Cluster in the specified subscription. */
|
|
22
|
+
export declare function update(context: Client, resourceGroupName: string, paymentHsmClusterName: string, body: PaymentHsmClusterPatchParameters, options?: PaymentHsmClustersUpdateOptionalParams): PollerLike<OperationState<PaymentHsmCluster>, PaymentHsmCluster>;
|
|
23
|
+
export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, paymentHsmClusterName: string, body: PaymentHsmCluster, options?: PaymentHsmClustersCreateOrUpdateOptionalParams): StreamableMethod;
|
|
24
|
+
export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<PaymentHsmCluster>;
|
|
25
|
+
/** Create or Update a Payment HSM Cluster in the specified subscription. */
|
|
26
|
+
export declare function createOrUpdate(context: Client, resourceGroupName: string, paymentHsmClusterName: string, body: PaymentHsmCluster, options?: PaymentHsmClustersCreateOrUpdateOptionalParams): PollerLike<OperationState<PaymentHsmCluster>, PaymentHsmCluster>;
|
|
27
|
+
export declare function _getSend(context: Client, resourceGroupName: string, paymentHsmClusterName: string, options?: PaymentHsmClustersGetOptionalParams): StreamableMethod;
|
|
28
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<PaymentHsmCluster>;
|
|
29
|
+
/** Gets the specified Payment HSM Cluster */
|
|
30
|
+
export declare function get(context: Client, resourceGroupName: string, paymentHsmClusterName: string, options?: PaymentHsmClustersGetOptionalParams): Promise<PaymentHsmCluster>;
|
|
31
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, paymentHsmClusterSerializer, paymentHsmClusterDeserializer, paymentHsmClusterPatchParametersSerializer, _paymentHsmClusterListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
7
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
8
|
+
export function _listBySubscriptionSend(context, options = { requestOptions: {} }) {
|
|
9
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters{?api%2Dversion,%24skiptoken}", {
|
|
10
|
+
subscriptionId: context.subscriptionId,
|
|
11
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
12
|
+
"%24skiptoken": options?.skiptoken,
|
|
13
|
+
}, {
|
|
14
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
15
|
+
});
|
|
16
|
+
return context.path(path).get({
|
|
17
|
+
...operationOptionsToRequestParameters(options),
|
|
18
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export async function _listBySubscriptionDeserialize(result) {
|
|
22
|
+
const expectedStatuses = ["200"];
|
|
23
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
24
|
+
const error = createRestError(result);
|
|
25
|
+
if (result.body) {
|
|
26
|
+
error.details = errorResponseDeserializer(result.body);
|
|
27
|
+
}
|
|
28
|
+
throw error;
|
|
29
|
+
}
|
|
30
|
+
return _paymentHsmClusterListResultDeserializer(result.body);
|
|
31
|
+
}
|
|
32
|
+
/** The List operation gets information about the Payment HSM Clusters associated with the subscription. */
|
|
33
|
+
export function listBySubscription(context, options = { requestOptions: {} }) {
|
|
34
|
+
return buildPagedAsyncIterator(context, () => _listBySubscriptionSend(context, options), _listBySubscriptionDeserialize, ["200"], {
|
|
35
|
+
itemName: "value",
|
|
36
|
+
nextLinkName: "nextLink",
|
|
37
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
41
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters{?api%2Dversion,%24skiptoken}", {
|
|
42
|
+
subscriptionId: context.subscriptionId,
|
|
43
|
+
resourceGroupName: resourceGroupName,
|
|
44
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
45
|
+
"%24skiptoken": options?.skiptoken,
|
|
46
|
+
}, {
|
|
47
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
48
|
+
});
|
|
49
|
+
return context.path(path).get({
|
|
50
|
+
...operationOptionsToRequestParameters(options),
|
|
51
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
export async function _listByResourceGroupDeserialize(result) {
|
|
55
|
+
const expectedStatuses = ["200"];
|
|
56
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
57
|
+
const error = createRestError(result);
|
|
58
|
+
if (result.body) {
|
|
59
|
+
error.details = errorResponseDeserializer(result.body);
|
|
60
|
+
}
|
|
61
|
+
throw error;
|
|
62
|
+
}
|
|
63
|
+
return _paymentHsmClusterListResultDeserializer(result.body);
|
|
64
|
+
}
|
|
65
|
+
/** The List operation gets information about the Payment HSM Clusters associated with the subscription and within the specified resource group. */
|
|
66
|
+
export function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
67
|
+
return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], {
|
|
68
|
+
itemName: "value",
|
|
69
|
+
nextLinkName: "nextLink",
|
|
70
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
export function _$deleteSend(context, resourceGroupName, paymentHsmClusterName, options = { requestOptions: {} }) {
|
|
74
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}", {
|
|
75
|
+
subscriptionId: context.subscriptionId,
|
|
76
|
+
resourceGroupName: resourceGroupName,
|
|
77
|
+
paymentHsmClusterName: paymentHsmClusterName,
|
|
78
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
79
|
+
}, {
|
|
80
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
81
|
+
});
|
|
82
|
+
return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
|
|
83
|
+
}
|
|
84
|
+
export async function _$deleteDeserialize(result) {
|
|
85
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
86
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
87
|
+
const error = createRestError(result);
|
|
88
|
+
if (result.body) {
|
|
89
|
+
error.details = errorResponseDeserializer(result.body);
|
|
90
|
+
}
|
|
91
|
+
throw error;
|
|
92
|
+
}
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
/** Deletes the specified Payment HSM Cluster */
|
|
96
|
+
export function $delete(context, resourceGroupName, paymentHsmClusterName, options = { requestOptions: {} }) {
|
|
97
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
98
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
99
|
+
abortSignal: options?.abortSignal,
|
|
100
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, paymentHsmClusterName, options),
|
|
101
|
+
resourceLocationConfig: "location",
|
|
102
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
export function _updateSend(context, resourceGroupName, paymentHsmClusterName, body, options = { requestOptions: {} }) {
|
|
106
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}", {
|
|
107
|
+
subscriptionId: context.subscriptionId,
|
|
108
|
+
resourceGroupName: resourceGroupName,
|
|
109
|
+
paymentHsmClusterName: paymentHsmClusterName,
|
|
110
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
111
|
+
}, {
|
|
112
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
113
|
+
});
|
|
114
|
+
return context.path(path).patch({
|
|
115
|
+
...operationOptionsToRequestParameters(options),
|
|
116
|
+
contentType: "application/json",
|
|
117
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
118
|
+
body: paymentHsmClusterPatchParametersSerializer(body),
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
export async function _updateDeserialize(result) {
|
|
122
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
123
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
124
|
+
const error = createRestError(result);
|
|
125
|
+
if (result.body) {
|
|
126
|
+
error.details = errorResponseDeserializer(result.body);
|
|
127
|
+
}
|
|
128
|
+
throw error;
|
|
129
|
+
}
|
|
130
|
+
return paymentHsmClusterDeserializer(result.body);
|
|
131
|
+
}
|
|
132
|
+
/** Update a Payment HSM Cluster in the specified subscription. */
|
|
133
|
+
export function update(context, resourceGroupName, paymentHsmClusterName, body, options = { requestOptions: {} }) {
|
|
134
|
+
return getLongRunningPoller(context, _updateDeserialize, ["200", "202", "201"], {
|
|
135
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
136
|
+
abortSignal: options?.abortSignal,
|
|
137
|
+
getInitialResponse: () => _updateSend(context, resourceGroupName, paymentHsmClusterName, body, options),
|
|
138
|
+
resourceLocationConfig: "location",
|
|
139
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
export function _createOrUpdateSend(context, resourceGroupName, paymentHsmClusterName, body, options = { requestOptions: {} }) {
|
|
143
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}", {
|
|
144
|
+
subscriptionId: context.subscriptionId,
|
|
145
|
+
resourceGroupName: resourceGroupName,
|
|
146
|
+
paymentHsmClusterName: paymentHsmClusterName,
|
|
147
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
148
|
+
}, {
|
|
149
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
150
|
+
});
|
|
151
|
+
return context.path(path).put({
|
|
152
|
+
...operationOptionsToRequestParameters(options),
|
|
153
|
+
contentType: "application/json",
|
|
154
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
155
|
+
body: paymentHsmClusterSerializer(body),
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
export async function _createOrUpdateDeserialize(result) {
|
|
159
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
160
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
161
|
+
const error = createRestError(result);
|
|
162
|
+
if (result.body) {
|
|
163
|
+
error.details = errorResponseDeserializer(result.body);
|
|
164
|
+
}
|
|
165
|
+
throw error;
|
|
166
|
+
}
|
|
167
|
+
return paymentHsmClusterDeserializer(result.body);
|
|
168
|
+
}
|
|
169
|
+
/** Create or Update a Payment HSM Cluster in the specified subscription. */
|
|
170
|
+
export function createOrUpdate(context, resourceGroupName, paymentHsmClusterName, body, options = { requestOptions: {} }) {
|
|
171
|
+
return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], {
|
|
172
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
173
|
+
abortSignal: options?.abortSignal,
|
|
174
|
+
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, paymentHsmClusterName, body, options),
|
|
175
|
+
resourceLocationConfig: "original-uri",
|
|
176
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
export function _getSend(context, resourceGroupName, paymentHsmClusterName, options = { requestOptions: {} }) {
|
|
180
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/paymentHsmClusters/{paymentHsmClusterName}{?api%2Dversion}", {
|
|
181
|
+
subscriptionId: context.subscriptionId,
|
|
182
|
+
resourceGroupName: resourceGroupName,
|
|
183
|
+
paymentHsmClusterName: paymentHsmClusterName,
|
|
184
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
185
|
+
}, {
|
|
186
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
187
|
+
});
|
|
188
|
+
return context.path(path).get({
|
|
189
|
+
...operationOptionsToRequestParameters(options),
|
|
190
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
export async function _getDeserialize(result) {
|
|
194
|
+
const expectedStatuses = ["200"];
|
|
195
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
196
|
+
const error = createRestError(result);
|
|
197
|
+
if (result.body) {
|
|
198
|
+
error.details = errorResponseDeserializer(result.body);
|
|
199
|
+
}
|
|
200
|
+
throw error;
|
|
201
|
+
}
|
|
202
|
+
return paymentHsmClusterDeserializer(result.body);
|
|
203
|
+
}
|
|
204
|
+
/** Gets the specified Payment HSM Cluster */
|
|
205
|
+
export async function get(context, resourceGroupName, paymentHsmClusterName, options = { requestOptions: {} }) {
|
|
206
|
+
const result = await _getSend(context, resourceGroupName, paymentHsmClusterName, options);
|
|
207
|
+
return _getDeserialize(result);
|
|
208
|
+
}
|
|
209
|
+
//# sourceMappingURL=operations.js.map
|