@azure/arm-hardwaresecuritymodules 2.0.0 → 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 +46 -0
- package/README.md +14 -14
- package/dist/browser/api/azureDedicatedHSMResourceProviderContext.d.ts +8 -5
- package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js +20 -26
- package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterBackupStatus/index.d.ts +1 -1
- package/dist/browser/api/cloudHsmClusterBackupStatus/index.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterBackupStatus/operations.d.ts +6 -6
- package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js +19 -21
- package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterBackupStatus/options.d.ts +1 -3
- package/dist/browser/api/cloudHsmClusterBackupStatus/options.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +1 -1
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +5 -10
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js +36 -41
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +1 -1
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.d.ts +1 -1
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +5 -5
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js +16 -8
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.d.ts +1 -1
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterRestoreStatus/index.d.ts +1 -1
- package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.d.ts +6 -6
- package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js +19 -21
- package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -1
- package/dist/browser/api/cloudHsmClusterRestoreStatus/options.d.ts +1 -3
- package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js.map +1 -1
- package/dist/browser/api/cloudHsmClusters/index.d.ts +1 -1
- package/dist/browser/api/cloudHsmClusters/index.js.map +1 -1
- package/dist/browser/api/cloudHsmClusters/operations.d.ts +6 -11
- package/dist/browser/api/cloudHsmClusters/operations.js +162 -123
- package/dist/browser/api/cloudHsmClusters/operations.js.map +1 -1
- package/dist/browser/api/cloudHsmClusters/options.d.ts +2 -2
- package/dist/browser/api/cloudHsmClusters/options.js.map +1 -1
- package/dist/browser/api/dedicatedHsm/index.d.ts +1 -1
- package/dist/browser/api/dedicatedHsm/index.js.map +1 -1
- package/dist/browser/api/dedicatedHsm/operations.d.ts +6 -11
- package/dist/browser/api/dedicatedHsm/operations.js +100 -69
- package/dist/browser/api/dedicatedHsm/operations.js.map +1 -1
- package/dist/browser/api/dedicatedHsm/options.d.ts +1 -1
- package/dist/browser/api/dedicatedHsm/options.js.map +1 -1
- package/dist/browser/api/index.d.ts +2 -1
- package/dist/browser/api/index.js +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +1 -1
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +5 -5
- package/dist/browser/api/operations/operations.js +16 -8
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/operations/options.d.ts +1 -1
- package/dist/browser/api/operations/options.js.map +1 -1
- 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.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.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.map +1 -0
- package/dist/browser/api/privateEndpointConnections/index.d.ts +1 -1
- package/dist/browser/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.d.ts +5 -5
- package/dist/browser/api/privateEndpointConnections/operations.js +18 -14
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/options.d.ts +1 -1
- package/dist/browser/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/browser/azureDedicatedHSMResourceProvider.d.ts +21 -12
- package/dist/browser/azureDedicatedHSMResourceProvider.js +42 -14
- package/dist/browser/azureDedicatedHSMResourceProvider.js.map +1 -1
- package/dist/browser/classic/cloudHsmClusterBackupStatus/index.d.ts +4 -4
- package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js +3 -1
- package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js.map +1 -1
- package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +4 -9
- package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js +3 -1
- package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
- package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +4 -4
- package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js +3 -1
- package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
- package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.d.ts +4 -4
- package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js +3 -1
- package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -1
- package/dist/browser/classic/cloudHsmClusters/index.d.ts +5 -10
- package/dist/browser/classic/cloudHsmClusters/index.js +3 -1
- package/dist/browser/classic/cloudHsmClusters/index.js.map +1 -1
- package/dist/browser/classic/dedicatedHsm/index.d.ts +5 -10
- package/dist/browser/classic/dedicatedHsm/index.js +3 -1
- package/dist/browser/classic/dedicatedHsm/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +11 -8
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +4 -4
- package/dist/browser/classic/operations/index.js +3 -1
- package/dist/browser/classic/operations/index.js.map +1 -1
- 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 +4 -4
- package/dist/browser/classic/privateEndpointConnections/index.js +3 -1
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/browser/index.d.ts +24 -14
- package/dist/browser/index.js +4 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +273 -48
- package/dist/browser/models/models.js +274 -49
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts +4 -4
- package/dist/browser/restorePollerHelpers.js +41 -44
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- 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 +3 -1
- package/dist/browser/static-helpers/pagingHelpers.js +59 -53
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +7 -3
- package/dist/browser/static-helpers/pollingHelpers.js +33 -14
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +43 -12
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.d.ts +8 -5
- package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js +49 -37
- package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.d.ts +1 -1
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js +28 -8
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.d.ts +6 -6
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js +65 -41
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.d.ts +1 -3
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js +16 -5
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +1 -1
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js +32 -10
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +5 -10
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js +151 -105
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +1 -1
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js +16 -5
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.d.ts +1 -1
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js +28 -8
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +5 -5
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js +72 -32
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.d.ts +1 -1
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js +16 -5
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.d.ts +1 -1
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js +28 -8
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.d.ts +6 -6
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js +65 -41
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.d.ts +1 -3
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js +16 -5
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusters/index.d.ts +1 -1
- package/dist/commonjs/api/cloudHsmClusters/index.js +46 -17
- package/dist/commonjs/api/cloudHsmClusters/index.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusters/operations.d.ts +6 -11
- package/dist/commonjs/api/cloudHsmClusters/operations.js +437 -296
- package/dist/commonjs/api/cloudHsmClusters/operations.js.map +7 -1
- package/dist/commonjs/api/cloudHsmClusters/options.d.ts +2 -2
- package/dist/commonjs/api/cloudHsmClusters/options.js +16 -5
- package/dist/commonjs/api/cloudHsmClusters/options.js.map +7 -1
- package/dist/commonjs/api/dedicatedHsm/index.d.ts +1 -1
- package/dist/commonjs/api/dedicatedHsm/index.js +40 -14
- package/dist/commonjs/api/dedicatedHsm/index.js.map +7 -1
- package/dist/commonjs/api/dedicatedHsm/operations.d.ts +6 -11
- package/dist/commonjs/api/dedicatedHsm/operations.js +304 -193
- package/dist/commonjs/api/dedicatedHsm/operations.js.map +7 -1
- package/dist/commonjs/api/dedicatedHsm/options.d.ts +1 -1
- package/dist/commonjs/api/dedicatedHsm/options.js +16 -5
- package/dist/commonjs/api/dedicatedHsm/options.js.map +7 -1
- package/dist/commonjs/api/index.d.ts +2 -1
- package/dist/commonjs/api/index.js +28 -8
- package/dist/commonjs/api/index.js.map +7 -1
- package/dist/commonjs/api/operations/index.d.ts +1 -1
- package/dist/commonjs/api/operations/index.js +28 -8
- package/dist/commonjs/api/operations/index.js.map +7 -1
- package/dist/commonjs/api/operations/operations.d.ts +5 -5
- package/dist/commonjs/api/operations/operations.js +67 -27
- package/dist/commonjs/api/operations/operations.js.map +7 -1
- package/dist/commonjs/api/operations/options.d.ts +1 -1
- package/dist/commonjs/api/operations/options.js +16 -5
- package/dist/commonjs/api/operations/options.js.map +7 -1
- 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 +1 -1
- package/dist/commonjs/api/privateEndpointConnections/index.js +28 -8
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +7 -1
- package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +5 -5
- package/dist/commonjs/api/privateEndpointConnections/operations.js +72 -36
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +7 -1
- package/dist/commonjs/api/privateEndpointConnections/options.d.ts +1 -1
- package/dist/commonjs/api/privateEndpointConnections/options.js +16 -5
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +7 -1
- package/dist/commonjs/azureDedicatedHSMResourceProvider.d.ts +21 -12
- package/dist/commonjs/azureDedicatedHSMResourceProvider.js +82 -35
- package/dist/commonjs/azureDedicatedHSMResourceProvider.js.map +7 -1
- package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.d.ts +4 -4
- package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js +34 -11
- package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js.map +7 -1
- package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +4 -9
- package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js +43 -13
- package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +7 -1
- package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +4 -4
- package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js +34 -11
- package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js.map +7 -1
- package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.d.ts +4 -4
- package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js +34 -11
- package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js.map +7 -1
- package/dist/commonjs/classic/cloudHsmClusters/index.d.ts +5 -10
- package/dist/commonjs/classic/cloudHsmClusters/index.js +43 -20
- package/dist/commonjs/classic/cloudHsmClusters/index.js.map +7 -1
- package/dist/commonjs/classic/dedicatedHsm/index.d.ts +5 -10
- package/dist/commonjs/classic/dedicatedHsm/index.js +40 -17
- package/dist/commonjs/classic/dedicatedHsm/index.js.map +7 -1
- package/dist/commonjs/classic/index.d.ts +11 -8
- package/dist/commonjs/classic/index.js +16 -5
- package/dist/commonjs/classic/index.js.map +7 -1
- package/dist/commonjs/classic/operations/index.d.ts +4 -4
- package/dist/commonjs/classic/operations/index.js +34 -11
- package/dist/commonjs/classic/operations/index.js.map +7 -1
- 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 +4 -4
- package/dist/commonjs/classic/privateEndpointConnections/index.js +34 -11
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +7 -1
- package/dist/commonjs/index.d.ts +24 -14
- package/dist/commonjs/index.js +78 -26
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.js +29 -8
- package/dist/commonjs/logger.js.map +7 -1
- package/dist/commonjs/models/index.d.ts +2 -1
- package/dist/commonjs/models/index.js +64 -22
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +273 -48
- package/dist/commonjs/models/models.js +899 -688
- package/dist/commonjs/models/models.js.map +7 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
- package/dist/commonjs/restorePollerHelpers.js +132 -125
- package/dist/commonjs/restorePollerHelpers.js.map +7 -1
- 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 +3 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +131 -128
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +7 -3
- package/dist/commonjs/static-helpers/pollingHelpers.js +95 -73
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +167 -142
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/api/azureDedicatedHSMResourceProviderContext.d.ts +8 -5
- package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js +20 -26
- package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterBackupStatus/index.d.ts +1 -1
- package/dist/esm/api/cloudHsmClusterBackupStatus/index.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterBackupStatus/operations.d.ts +6 -6
- package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js +19 -21
- package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterBackupStatus/options.d.ts +1 -3
- package/dist/esm/api/cloudHsmClusterBackupStatus/options.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +1 -1
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +5 -10
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js +36 -41
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +1 -1
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.d.ts +1 -1
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +5 -5
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js +16 -8
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.d.ts +1 -1
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterRestoreStatus/index.d.ts +1 -1
- package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.d.ts +6 -6
- package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js +19 -21
- package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -1
- package/dist/esm/api/cloudHsmClusterRestoreStatus/options.d.ts +1 -3
- package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js.map +1 -1
- package/dist/esm/api/cloudHsmClusters/index.d.ts +1 -1
- package/dist/esm/api/cloudHsmClusters/index.js.map +1 -1
- package/dist/esm/api/cloudHsmClusters/operations.d.ts +6 -11
- package/dist/esm/api/cloudHsmClusters/operations.js +162 -123
- package/dist/esm/api/cloudHsmClusters/operations.js.map +1 -1
- package/dist/esm/api/cloudHsmClusters/options.d.ts +2 -2
- package/dist/esm/api/cloudHsmClusters/options.js.map +1 -1
- package/dist/esm/api/dedicatedHsm/index.d.ts +1 -1
- package/dist/esm/api/dedicatedHsm/index.js.map +1 -1
- package/dist/esm/api/dedicatedHsm/operations.d.ts +6 -11
- package/dist/esm/api/dedicatedHsm/operations.js +100 -69
- package/dist/esm/api/dedicatedHsm/operations.js.map +1 -1
- package/dist/esm/api/dedicatedHsm/options.d.ts +1 -1
- package/dist/esm/api/dedicatedHsm/options.js.map +1 -1
- package/dist/esm/api/index.d.ts +2 -1
- package/dist/esm/api/index.js +1 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +1 -1
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +5 -5
- package/dist/esm/api/operations/operations.js +16 -8
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/operations/options.d.ts +1 -1
- package/dist/esm/api/operations/options.js.map +1 -1
- 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.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.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.map +1 -0
- package/dist/esm/api/privateEndpointConnections/index.d.ts +1 -1
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/operations.d.ts +5 -5
- package/dist/esm/api/privateEndpointConnections/operations.js +18 -14
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/options.d.ts +1 -1
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/esm/azureDedicatedHSMResourceProvider.d.ts +21 -12
- package/dist/esm/azureDedicatedHSMResourceProvider.js +42 -14
- package/dist/esm/azureDedicatedHSMResourceProvider.js.map +1 -1
- package/dist/esm/classic/cloudHsmClusterBackupStatus/index.d.ts +4 -4
- package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js +3 -1
- package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js.map +1 -1
- package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +4 -9
- package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js +3 -1
- package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
- package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +4 -4
- package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js +3 -1
- package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
- package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.d.ts +4 -4
- package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js +3 -1
- package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -1
- package/dist/esm/classic/cloudHsmClusters/index.d.ts +5 -10
- package/dist/esm/classic/cloudHsmClusters/index.js +3 -1
- package/dist/esm/classic/cloudHsmClusters/index.js.map +1 -1
- package/dist/esm/classic/dedicatedHsm/index.d.ts +5 -10
- package/dist/esm/classic/dedicatedHsm/index.js +3 -1
- package/dist/esm/classic/dedicatedHsm/index.js.map +1 -1
- package/dist/esm/classic/index.d.ts +11 -8
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +4 -4
- package/dist/esm/classic/operations/index.js +3 -1
- package/dist/esm/classic/operations/index.js.map +1 -1
- 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 +4 -4
- package/dist/esm/classic/privateEndpointConnections/index.js +3 -1
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/esm/index.d.ts +24 -14
- package/dist/esm/index.js +4 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +273 -48
- package/dist/esm/models/models.js +274 -49
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.d.ts +4 -4
- package/dist/esm/restorePollerHelpers.js +41 -44
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- 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 +3 -1
- package/dist/esm/static-helpers/pagingHelpers.js +59 -53
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +7 -3
- package/dist/esm/static-helpers/pollingHelpers.js +33 -14
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +43 -12
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +91 -108
- package/review/{arm-hardwaresecuritymodules.api.md → arm-hardwaresecuritymodules-node.api.md} +198 -41
- package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.d.ts +0 -19
- package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js +0 -36
- package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterBackupStatus/index.d.ts +0 -3
- package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js +0 -4
- package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.d.ts +0 -9
- package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js +0 -42
- package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterBackupStatus/options.d.ts +0 -7
- package/dist/react-native/api/cloudHsmClusterBackupStatus/options.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +0 -3
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js +0 -4
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +0 -23
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js +0 -109
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +0 -13
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.d.ts +0 -3
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js +0 -4
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +0 -10
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js +0 -36
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.d.ts +0 -5
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.d.ts +0 -3
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js +0 -4
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.d.ts +0 -9
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js +0 -42
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.d.ts +0 -7
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusters/index.d.ts +0 -3
- package/dist/react-native/api/cloudHsmClusters/index.js +0 -4
- package/dist/react-native/api/cloudHsmClusters/index.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusters/operations.d.ts +0 -52
- package/dist/react-native/api/cloudHsmClusters/operations.js +0 -324
- package/dist/react-native/api/cloudHsmClusters/operations.js.map +0 -1
- package/dist/react-native/api/cloudHsmClusters/options.d.ts +0 -57
- package/dist/react-native/api/cloudHsmClusters/options.js.map +0 -1
- package/dist/react-native/api/dedicatedHsm/index.d.ts +0 -3
- package/dist/react-native/api/dedicatedHsm/index.js +0 -4
- package/dist/react-native/api/dedicatedHsm/index.js.map +0 -1
- package/dist/react-native/api/dedicatedHsm/operations.d.ts +0 -40
- package/dist/react-native/api/dedicatedHsm/operations.js +0 -215
- package/dist/react-native/api/dedicatedHsm/operations.js.map +0 -1
- package/dist/react-native/api/dedicatedHsm/options.d.ts +0 -33
- package/dist/react-native/api/dedicatedHsm/options.js.map +0 -1
- package/dist/react-native/api/index.d.ts +0 -2
- package/dist/react-native/api/index.js +0 -4
- package/dist/react-native/api/index.js.map +0 -1
- package/dist/react-native/api/operations/index.d.ts +0 -3
- package/dist/react-native/api/operations/index.js +0 -4
- package/dist/react-native/api/operations/index.js.map +0 -1
- package/dist/react-native/api/operations/operations.d.ts +0 -10
- package/dist/react-native/api/operations/operations.js +0 -29
- package/dist/react-native/api/operations/operations.js.map +0 -1
- package/dist/react-native/api/operations/options.d.ts +0 -5
- package/dist/react-native/api/operations/options.js +0 -4
- package/dist/react-native/api/operations/options.js.map +0 -1
- package/dist/react-native/api/privateEndpointConnections/index.d.ts +0 -3
- package/dist/react-native/api/privateEndpointConnections/index.js +0 -4
- package/dist/react-native/api/privateEndpointConnections/index.js.map +0 -1
- package/dist/react-native/api/privateEndpointConnections/operations.d.ts +0 -10
- package/dist/react-native/api/privateEndpointConnections/operations.js +0 -36
- package/dist/react-native/api/privateEndpointConnections/operations.js.map +0 -1
- package/dist/react-native/api/privateEndpointConnections/options.d.ts +0 -5
- package/dist/react-native/api/privateEndpointConnections/options.js +0 -4
- package/dist/react-native/api/privateEndpointConnections/options.js.map +0 -1
- package/dist/react-native/azureDedicatedHSMResourceProvider.d.ts +0 -36
- package/dist/react-native/azureDedicatedHSMResourceProvider.js +0 -33
- package/dist/react-native/azureDedicatedHSMResourceProvider.js.map +0 -1
- package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.d.ts +0 -10
- package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js +0 -12
- package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js.map +0 -1
- package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +0 -20
- package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js +0 -14
- package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +0 -1
- package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +0 -11
- package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js +0 -12
- package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js.map +0 -1
- package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.d.ts +0 -10
- package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js +0 -12
- package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js.map +0 -1
- package/dist/react-native/classic/cloudHsmClusters/index.d.ts +0 -35
- package/dist/react-native/classic/cloudHsmClusters/index.js +0 -21
- package/dist/react-native/classic/cloudHsmClusters/index.js.map +0 -1
- package/dist/react-native/classic/dedicatedHsm/index.d.ts +0 -29
- package/dist/react-native/classic/dedicatedHsm/index.js +0 -18
- package/dist/react-native/classic/dedicatedHsm/index.js.map +0 -1
- package/dist/react-native/classic/index.d.ts +0 -9
- package/dist/react-native/classic/index.js +0 -4
- package/dist/react-native/classic/index.js.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts +0 -11
- package/dist/react-native/classic/operations/index.js +0 -12
- package/dist/react-native/classic/operations/index.js.map +0 -1
- package/dist/react-native/classic/privateEndpointConnections/index.d.ts +0 -11
- package/dist/react-native/classic/privateEndpointConnections/index.js +0 -12
- package/dist/react-native/classic/privateEndpointConnections/index.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -16
- package/dist/react-native/index.js +0 -6
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/logger.d.ts +0 -2
- package/dist/react-native/logger.js +0 -5
- package/dist/react-native/logger.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -2
- package/dist/react-native/models/index.js +0 -4
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/models.d.ts +0 -751
- package/dist/react-native/models/models.js +0 -747
- package/dist/react-native/models/models.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/restorePollerHelpers.d.ts +0 -21
- package/dist/react-native/restorePollerHelpers.js +0 -133
- package/dist/react-native/restorePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -72
- package/dist/react-native/static-helpers/pagingHelpers.js +0 -137
- package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -30
- package/dist/react-native/static-helpers/pollingHelpers.js +0 -76
- package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
- package/dist/react-native/static-helpers/urlTemplate.js +0 -169
- package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
- package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterBackupStatus.api.md +0 -22
- package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateEndpointConnections.api.md +0 -36
- package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateLinkResources.api.md +0 -19
- package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterRestoreStatus.api.md +0 -22
- package/review/arm-hardwaresecuritymodules-api-cloudHsmClusters.api.md +0 -96
- package/review/arm-hardwaresecuritymodules-api-dedicatedHsm.api.md +0 -68
- package/review/arm-hardwaresecuritymodules-api-operations.api.md +0 -19
- package/review/arm-hardwaresecuritymodules-api-privateEndpointConnections.api.md +0 -19
- package/review/arm-hardwaresecuritymodules-api.api.md +0 -27
- package/review/arm-hardwaresecuritymodules-models.api.md +0 -471
- /package/dist/{react-native/api/cloudHsmClusterBackupStatus → browser/api/paymentHsmClusterPrivateEndpointConnections}/options.js +0 -0
- /package/dist/{react-native/api/cloudHsmClusterPrivateEndpointConnections → browser/api/paymentHsmClusterPrivateLinkResources}/options.js +0 -0
- /package/dist/{react-native/api/cloudHsmClusterPrivateLinkResources → browser/api/paymentHsmClusters}/options.js +0 -0
- /package/dist/{react-native/api/cloudHsmClusterRestoreStatus → esm/api/paymentHsmClusterPrivateEndpointConnections}/options.js +0 -0
- /package/dist/{react-native/api/cloudHsmClusters → esm/api/paymentHsmClusterPrivateLinkResources}/options.js +0 -0
- /package/dist/{react-native/api/dedicatedHsm → esm/api/paymentHsmClusters}/options.js +0 -0
|
@@ -1,42 +1,40 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import { errorResponseDeserializer } from "../../models/models.js";
|
|
4
|
-
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
3
|
+
import { errorResponseDeserializer, backupResultDeserializer } from "../../models/models.js";
|
|
5
4
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
-
import { createRestError, operationOptionsToRequestParameters
|
|
7
|
-
export function _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options = {
|
|
8
|
-
requestOptions: {},
|
|
9
|
-
}) {
|
|
10
|
-
var _a, _b;
|
|
5
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
6
|
+
export function _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options = { requestOptions: {} }) {
|
|
11
7
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backupOperationStatus/{jobId}{?api%2Dversion}", {
|
|
12
8
|
subscriptionId: context.subscriptionId,
|
|
13
9
|
resourceGroupName: resourceGroupName,
|
|
14
10
|
cloudHsmClusterName: cloudHsmClusterName,
|
|
15
11
|
jobId: jobId,
|
|
16
|
-
"api%2Dversion": context.apiVersion,
|
|
12
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
17
13
|
}, {
|
|
18
|
-
allowReserved:
|
|
14
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
15
|
+
});
|
|
16
|
+
return context.path(path).get({
|
|
17
|
+
...operationOptionsToRequestParameters(options),
|
|
18
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
19
19
|
});
|
|
20
|
-
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
21
20
|
}
|
|
22
21
|
export async function _getDeserialize(result) {
|
|
23
22
|
const expectedStatuses = ["200", "202"];
|
|
24
23
|
if (!expectedStatuses.includes(result.status)) {
|
|
25
24
|
const error = createRestError(result);
|
|
26
|
-
|
|
25
|
+
if (result.body) {
|
|
26
|
+
error.details = errorResponseDeserializer(result.body);
|
|
27
|
+
}
|
|
27
28
|
throw error;
|
|
28
29
|
}
|
|
29
|
-
|
|
30
|
+
if (!result.body) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
return backupResultDeserializer(result.body);
|
|
30
34
|
}
|
|
31
35
|
/** Gets the backup operation status of the specified Cloud HSM Cluster */
|
|
32
|
-
export function get(context, resourceGroupName, cloudHsmClusterName, jobId, options = {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
return getLongRunningPoller(context, _getDeserialize, ["200", "202"], {
|
|
36
|
-
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
37
|
-
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
38
|
-
getInitialResponse: () => _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options),
|
|
39
|
-
resourceLocationConfig: "location",
|
|
40
|
-
});
|
|
36
|
+
export async function get(context, resourceGroupName, cloudHsmClusterName, jobId, options = { requestOptions: {} }) {
|
|
37
|
+
const result = await _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options);
|
|
38
|
+
return _getDeserialize(result);
|
|
41
39
|
}
|
|
42
40
|
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterBackupStatus/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterBackupStatus/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAC7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAGxE,OAAO,EAAE,eAAe,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAE/F,MAAM,UAAU,QAAQ,CACtB,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,KAAa,EACb,UAAwD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9E,MAAM,IAAI,GAAG,iBAAiB,CAC5B,qMAAqM,EACrM;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,iBAAiB,EAAE,iBAAiB;QACpC,mBAAmB,EAAE,mBAAmB;QACxC,KAAK,EAAE,KAAK;QACZ,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KAC5D,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO,EAAE;KAC5E,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,MAA6B;IACjE,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACxC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;YAChB,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACzD,CAAC;QAED,MAAM,KAAK,CAAC;IACd,CAAC;IAED,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QACjB,OAAO;IACT,CAAC;IAED,OAAO,wBAAwB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC;AACD,0EAA0E;AAC1E,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,KAAa,EACb,UAAwD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9E,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/F,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 { BackupResult } from \"../../models/models.js\";\nimport { errorResponseDeserializer, backupResultDeserializer } from \"../../models/models.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { CloudHsmClusterBackupStatusGetOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n jobId: string,\n options: CloudHsmClusterBackupStatusGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backupOperationStatus/{jobId}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\n jobId: jobId,\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(result: PathUncheckedResponse): Promise<BackupResult | void> {\n const expectedStatuses = [\"200\", \"202\"];\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 if (!result.body) {\n return;\n }\n\n return backupResultDeserializer(result.body);\n}\n/** Gets the backup operation status of the specified Cloud HSM Cluster */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n jobId: string,\n options: CloudHsmClusterBackupStatusGetOptionalParams = { requestOptions: {} },\n): Promise<BackupResult | void> {\n const result = await _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { OperationOptions } from "@azure-rest/core-client";
|
|
1
|
+
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
2
|
/** Optional parameters. */
|
|
3
3
|
export interface CloudHsmClusterBackupStatusGetOptionalParams extends OperationOptions {
|
|
4
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
5
|
-
updateIntervalInMs?: number;
|
|
6
4
|
}
|
|
7
5
|
//# sourceMappingURL=options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterBackupStatus/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface CloudHsmClusterBackupStatusGetOptionalParams extends OperationOptions {
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterBackupStatus/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 CloudHsmClusterBackupStatusGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { $delete, create, get } from "./operations.js";
|
|
2
|
-
export { CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams, CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams, CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams, } from "./options.js";
|
|
2
|
+
export type { CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams, CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams, CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams, } from "./options.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { $delete, create, get } from \"./operations.js\";\nexport {\n CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams,\n CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams,\n CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { $delete, create, get } from \"./operations.js\";\nexport type {\n CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams,\n CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams,\n CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
|
|
2
|
-
import { PrivateEndpointConnection } from "../../models/models.js";
|
|
3
|
-
import { CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams, CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams, CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams } from "./options.js";
|
|
4
|
-
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
-
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
1
|
+
import type { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
|
|
2
|
+
import type { PrivateEndpointConnection } from "../../models/models.js";
|
|
3
|
+
import type { CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams, CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams, CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams } from "./options.js";
|
|
4
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
6
|
export declare function _$deleteSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): StreamableMethod;
|
|
7
7
|
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
8
8
|
/** Deletes the private endpoint connection for the Cloud Hsm Cluster. */
|
|
9
|
-
/**
|
|
10
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
11
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
12
|
-
* to the operation to override the generated name.
|
|
13
|
-
*/
|
|
14
9
|
export declare function $delete(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
15
10
|
export declare function _createSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, properties: PrivateEndpointConnection, options?: CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams): StreamableMethod;
|
|
16
11
|
export declare function _createDeserialize(result: PathUncheckedResponse): Promise<PrivateEndpointConnection>;
|
|
@@ -3,106 +3,101 @@
|
|
|
3
3
|
import { errorResponseDeserializer, privateEndpointConnectionSerializer, privateEndpointConnectionDeserializer, } from "../../models/models.js";
|
|
4
4
|
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
5
5
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
-
import { createRestError, operationOptionsToRequestParameters
|
|
7
|
-
export function _$deleteSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
|
|
8
|
-
requestOptions: {},
|
|
9
|
-
}) {
|
|
10
|
-
var _a, _b;
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
7
|
+
export function _$deleteSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = { requestOptions: {} }) {
|
|
11
8
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
|
|
12
9
|
subscriptionId: context.subscriptionId,
|
|
13
10
|
resourceGroupName: resourceGroupName,
|
|
14
11
|
cloudHsmClusterName: cloudHsmClusterName,
|
|
15
12
|
peConnectionName: peConnectionName,
|
|
16
|
-
"api%2Dversion": context.apiVersion,
|
|
13
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
17
14
|
}, {
|
|
18
|
-
allowReserved:
|
|
15
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
19
16
|
});
|
|
20
|
-
return context.path(path).delete(
|
|
17
|
+
return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
|
|
21
18
|
}
|
|
22
19
|
export async function _$deleteDeserialize(result) {
|
|
23
20
|
const expectedStatuses = ["202", "204", "200"];
|
|
24
21
|
if (!expectedStatuses.includes(result.status)) {
|
|
25
22
|
const error = createRestError(result);
|
|
26
|
-
|
|
23
|
+
if (result.body) {
|
|
24
|
+
error.details = errorResponseDeserializer(result.body);
|
|
25
|
+
}
|
|
27
26
|
throw error;
|
|
28
27
|
}
|
|
29
28
|
return;
|
|
30
29
|
}
|
|
31
30
|
/** Deletes the private endpoint connection for the Cloud Hsm Cluster. */
|
|
32
|
-
|
|
33
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
34
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
35
|
-
* to the operation to override the generated name.
|
|
36
|
-
*/
|
|
37
|
-
export function $delete(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
|
|
38
|
-
requestOptions: {},
|
|
39
|
-
}) {
|
|
31
|
+
export function $delete(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = { requestOptions: {} }) {
|
|
40
32
|
return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
41
|
-
updateIntervalInMs: options
|
|
42
|
-
abortSignal: options
|
|
33
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
34
|
+
abortSignal: options?.abortSignal,
|
|
43
35
|
getInitialResponse: () => _$deleteSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options),
|
|
44
36
|
resourceLocationConfig: "location",
|
|
37
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
45
38
|
});
|
|
46
39
|
}
|
|
47
|
-
export function _createSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options = {
|
|
48
|
-
requestOptions: {},
|
|
49
|
-
}) {
|
|
50
|
-
var _a, _b;
|
|
40
|
+
export function _createSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options = { requestOptions: {} }) {
|
|
51
41
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
|
|
52
42
|
subscriptionId: context.subscriptionId,
|
|
53
43
|
resourceGroupName: resourceGroupName,
|
|
54
44
|
cloudHsmClusterName: cloudHsmClusterName,
|
|
55
45
|
peConnectionName: peConnectionName,
|
|
56
|
-
"api%2Dversion": context.apiVersion,
|
|
46
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
57
47
|
}, {
|
|
58
|
-
allowReserved:
|
|
48
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
49
|
+
});
|
|
50
|
+
return context.path(path).put({
|
|
51
|
+
...operationOptionsToRequestParameters(options),
|
|
52
|
+
contentType: "application/json",
|
|
53
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
54
|
+
body: privateEndpointConnectionSerializer(properties),
|
|
59
55
|
});
|
|
60
|
-
return context.path(path).put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: privateEndpointConnectionSerializer(properties) }));
|
|
61
56
|
}
|
|
62
57
|
export async function _createDeserialize(result) {
|
|
63
58
|
const expectedStatuses = ["200"];
|
|
64
59
|
if (!expectedStatuses.includes(result.status)) {
|
|
65
60
|
const error = createRestError(result);
|
|
66
|
-
|
|
61
|
+
if (result.body) {
|
|
62
|
+
error.details = errorResponseDeserializer(result.body);
|
|
63
|
+
}
|
|
67
64
|
throw error;
|
|
68
65
|
}
|
|
69
66
|
return privateEndpointConnectionDeserializer(result.body);
|
|
70
67
|
}
|
|
71
68
|
/** Creates or updates the private endpoint connection for the Cloud Hsm Cluster. */
|
|
72
|
-
export async function create(context, resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options = {
|
|
73
|
-
requestOptions: {},
|
|
74
|
-
}) {
|
|
69
|
+
export async function create(context, resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options = { requestOptions: {} }) {
|
|
75
70
|
const result = await _createSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options);
|
|
76
71
|
return _createDeserialize(result);
|
|
77
72
|
}
|
|
78
|
-
export function _getSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
|
|
79
|
-
requestOptions: {},
|
|
80
|
-
}) {
|
|
81
|
-
var _a, _b;
|
|
73
|
+
export function _getSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = { requestOptions: {} }) {
|
|
82
74
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
|
|
83
75
|
subscriptionId: context.subscriptionId,
|
|
84
76
|
resourceGroupName: resourceGroupName,
|
|
85
77
|
cloudHsmClusterName: cloudHsmClusterName,
|
|
86
78
|
peConnectionName: peConnectionName,
|
|
87
|
-
"api%2Dversion": context.apiVersion,
|
|
79
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
88
80
|
}, {
|
|
89
|
-
allowReserved:
|
|
81
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
82
|
+
});
|
|
83
|
+
return context.path(path).get({
|
|
84
|
+
...operationOptionsToRequestParameters(options),
|
|
85
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
90
86
|
});
|
|
91
|
-
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
92
87
|
}
|
|
93
88
|
export async function _getDeserialize(result) {
|
|
94
89
|
const expectedStatuses = ["200"];
|
|
95
90
|
if (!expectedStatuses.includes(result.status)) {
|
|
96
91
|
const error = createRestError(result);
|
|
97
|
-
|
|
92
|
+
if (result.body) {
|
|
93
|
+
error.details = errorResponseDeserializer(result.body);
|
|
94
|
+
}
|
|
98
95
|
throw error;
|
|
99
96
|
}
|
|
100
97
|
return privateEndpointConnectionDeserializer(result.body);
|
|
101
98
|
}
|
|
102
99
|
/** Gets the private endpoint connection for the Cloud Hsm Cluster. */
|
|
103
|
-
export async function get(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
|
|
104
|
-
requestOptions: {},
|
|
105
|
-
}) {
|
|
100
|
+
export async function get(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = { requestOptions: {} }) {
|
|
106
101
|
const result = await _getSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options);
|
|
107
102
|
return _getDeserialize(result);
|
|
108
103
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateEndpointConnections/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,mCAAmC,EACnC,qCAAqC,GACtC,MAAM,wBAAwB,CAAC;AAMhC,OAAO,EAAE,oBAAoB,EAAE,M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IAAI,CAAC,CAAC,GAAG,iCACxB,mCAAmC,CAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KAEpC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,qCAAqC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC;AAED,sEAAsE;AACtE,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,gBAAwB,EACxB,UAAsE;IACpE,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,MAAM,GAAG,MAAM,QAAQ,CAC3B,OAAO,EACP,iBAAiB,EACjB,mBAAmB,EACnB,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 { AzureDedicatedHSMResourceProviderContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n PrivateEndpointConnection,\n privateEndpointConnectionSerializer,\n privateEndpointConnectionDeserializer,\n} from \"../../models/models.js\";\nimport {\n CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams,\n CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams,\n CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams,\n} from \"./options.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n options: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\n peConnectionName: peConnectionName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Deletes the private endpoint connection for the Cloud Hsm Cluster. */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n options: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\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, cloudHsmClusterName, peConnectionName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _createSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n properties: PrivateEndpointConnection,\n options: CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\n peConnectionName: peConnectionName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: privateEndpointConnectionSerializer(properties),\n });\n}\n\nexport async function _createDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnection> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return privateEndpointConnectionDeserializer(result.body);\n}\n\n/** Creates or updates the private endpoint connection for the Cloud Hsm Cluster. */\nexport async function create(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n properties: PrivateEndpointConnection,\n options: CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): Promise<PrivateEndpointConnection> {\n const result = await _createSend(\n context,\n resourceGroupName,\n cloudHsmClusterName,\n peConnectionName,\n properties,\n options,\n );\n return _createDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n options: CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\n peConnectionName: peConnectionName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnection> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return privateEndpointConnectionDeserializer(result.body);\n}\n\n/** Gets the private endpoint connection for the Cloud Hsm Cluster. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n options: CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams = {\n requestOptions: {},\n },\n): Promise<PrivateEndpointConnection> {\n const result = await _getSend(\n context,\n resourceGroupName,\n cloudHsmClusterName,\n peConnectionName,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateEndpointConnections/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC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,OAAO,CAAC,UAAU,IAAI,oBAAoB;KAC5D,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO,EAAE;KAC5E,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;YAChB,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACzD,CAAC;QAED,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,qCAAqC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC;AACD,sEAAsE;AACtE,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,gBAAwB,EACxB,UAAsE,EAAE,cAAc,EAAE,EAAE,EAAE;IAE5F,MAAM,MAAM,GAAG,MAAM,QAAQ,CAC3B,OAAO,EACP,iBAAiB,EACjB,mBAAmB,EACnB,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 { PrivateEndpointConnection } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n privateEndpointConnectionSerializer,\n privateEndpointConnectionDeserializer,\n} from \"../../models/models.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams,\n CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams,\n CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams,\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 _$deleteSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n options: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\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 Cloud Hsm Cluster. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n options: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams = { 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, cloudHsmClusterName, 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 cloudHsmClusterName: string,\n peConnectionName: string,\n properties: PrivateEndpointConnection,\n options: CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\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: privateEndpointConnectionSerializer(properties),\n });\n}\n\nexport async function _createDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnection> {\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 privateEndpointConnectionDeserializer(result.body);\n}\n/** Creates or updates the private endpoint connection for the Cloud Hsm Cluster. */\nexport async function create(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n properties: PrivateEndpointConnection,\n options: CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams = { requestOptions: {} },\n): Promise<PrivateEndpointConnection> {\n const result = await _createSend(\n context,\n resourceGroupName,\n cloudHsmClusterName,\n peConnectionName,\n properties,\n options,\n );\n return _createDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n options: CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\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<PrivateEndpointConnection> {\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 privateEndpointConnectionDeserializer(result.body);\n}\n/** Gets the private endpoint connection for the Cloud Hsm Cluster. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n peConnectionName: string,\n options: CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): Promise<PrivateEndpointConnection> {\n const result = await _getSend(\n context,\n resourceGroupName,\n cloudHsmClusterName,\n peConnectionName,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OperationOptions } from "@azure-rest/core-client";
|
|
1
|
+
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
2
|
/** Optional parameters. */
|
|
3
3
|
export interface CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams extends OperationOptions {
|
|
4
4
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateEndpointConnections/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateEndpointConnections/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 CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams extends OperationOptions {}\n/** Optional parameters. */\nexport interface CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { listByCloudHsmCluster } from "./operations.js";
|
|
2
|
-
export { CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams } from "./options.js";
|
|
2
|
+
export type { CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams } from "./options.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateLinkResources/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByCloudHsmCluster } from \"./operations.js\";\nexport { CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams } from \"./options.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateLinkResources/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByCloudHsmCluster } from \"./operations.js\";\nexport type { CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams } from \"./options.js\";\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
|
|
2
|
-
import { _PrivateLinkResourceListResult, PrivateLinkResource } from "../../models/models.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
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 { CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
6
|
export declare function _listByCloudHsmClusterSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams): StreamableMethod;
|
|
7
7
|
export declare function _listByCloudHsmClusterDeserialize(result: PathUncheckedResponse): Promise<_PrivateLinkResourceListResult>;
|
|
8
8
|
/** Gets the private link resources supported for the Cloud Hsm Cluster. */
|
|
@@ -1,28 +1,32 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
import { errorResponseDeserializer, _privateLinkResourceListResultDeserializer, } from "../../models/models.js";
|
|
4
|
-
import { buildPagedAsyncIterator
|
|
4
|
+
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
5
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
-
import { createRestError, operationOptionsToRequestParameters
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
7
7
|
export function _listByCloudHsmClusterSend(context, resourceGroupName, cloudHsmClusterName, options = {
|
|
8
8
|
requestOptions: {},
|
|
9
9
|
}) {
|
|
10
|
-
var _a, _b;
|
|
11
10
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateLinkResources{?api%2Dversion}", {
|
|
12
11
|
subscriptionId: context.subscriptionId,
|
|
13
12
|
resourceGroupName: resourceGroupName,
|
|
14
13
|
cloudHsmClusterName: cloudHsmClusterName,
|
|
15
|
-
"api%2Dversion": context.apiVersion,
|
|
14
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
16
15
|
}, {
|
|
17
|
-
allowReserved:
|
|
16
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
17
|
+
});
|
|
18
|
+
return context.path(path).get({
|
|
19
|
+
...operationOptionsToRequestParameters(options),
|
|
20
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
18
21
|
});
|
|
19
|
-
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
20
22
|
}
|
|
21
23
|
export async function _listByCloudHsmClusterDeserialize(result) {
|
|
22
24
|
const expectedStatuses = ["200"];
|
|
23
25
|
if (!expectedStatuses.includes(result.status)) {
|
|
24
26
|
const error = createRestError(result);
|
|
25
|
-
|
|
27
|
+
if (result.body) {
|
|
28
|
+
error.details = errorResponseDeserializer(result.body);
|
|
29
|
+
}
|
|
26
30
|
throw error;
|
|
27
31
|
}
|
|
28
32
|
return _privateLinkResourceListResultDeserializer(result.body);
|
|
@@ -31,6 +35,10 @@ export async function _listByCloudHsmClusterDeserialize(result) {
|
|
|
31
35
|
export function listByCloudHsmCluster(context, resourceGroupName, cloudHsmClusterName, options = {
|
|
32
36
|
requestOptions: {},
|
|
33
37
|
}) {
|
|
34
|
-
return buildPagedAsyncIterator(context, () => _listByCloudHsmClusterSend(context, resourceGroupName, cloudHsmClusterName, options), _listByCloudHsmClusterDeserialize, ["200"], {
|
|
38
|
+
return buildPagedAsyncIterator(context, () => _listByCloudHsmClusterSend(context, resourceGroupName, cloudHsmClusterName, options), _listByCloudHsmClusterDeserialize, ["200"], {
|
|
39
|
+
itemName: "value",
|
|
40
|
+
nextLinkName: "nextLink",
|
|
41
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview",
|
|
42
|
+
});
|
|
35
43
|
}
|
|
36
44
|
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateLinkResources/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateLinkResources/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EACL,yBAAyB,EACzB,0CAA0C,GAC3C,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAGxE,OAAO,EAAE,eAAe,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAE/F,MAAM,UAAU,0BAA0B,CACxC,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,UAAkF;IAChF,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,IAAI,GAAG,iBAAiB,CAC5B,4LAA4L,EAC5L;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,iBAAiB,EAAE,iBAAiB;QACpC,mBAAmB,EAAE,mBAAmB;QACxC,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KAC5D,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO,EAAE;KAC5E,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iCAAiC,CACrD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;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,2EAA2E;AAC3E,MAAM,UAAU,qBAAqB,CACnC,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,UAAkF;IAChF,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,0BAA0B,CAAC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAC1F,iCAAiC,EACjC,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 { CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listByCloudHsmClusterSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n options: CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateLinkResources{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n cloudHsmClusterName: cloudHsmClusterName,\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 _listByCloudHsmClusterDeserialize(\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 Cloud Hsm Cluster. */\nexport function listByCloudHsmCluster(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n options: CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PrivateLinkResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listByCloudHsmClusterSend(context, resourceGroupName, cloudHsmClusterName, options),\n _listByCloudHsmClusterDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-12-01-preview\",\n },\n );\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OperationOptions } from "@azure-rest/core-client";
|
|
1
|
+
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
2
|
/** Optional parameters. */
|
|
3
3
|
export interface CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams extends OperationOptions {
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateLinkResources/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterPrivateLinkResources/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 CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterRestoreStatus/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { get } from \"./operations.js\";\nexport { CloudHsmClusterRestoreStatusGetOptionalParams } from \"./options.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterRestoreStatus/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { get } from \"./operations.js\";\nexport type { CloudHsmClusterRestoreStatusGetOptionalParams } from \"./options.js\";\n"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
|
|
2
|
+
import type { RestoreResult } from "../../models/models.js";
|
|
3
|
+
import type { CloudHsmClusterRestoreStatusGetOptionalParams } from "./options.js";
|
|
4
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
5
|
export declare function _getSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, jobId: string, options?: CloudHsmClusterRestoreStatusGetOptionalParams): StreamableMethod;
|
|
6
|
-
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
6
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<RestoreResult | void>;
|
|
7
7
|
/** Gets the restore operation status of the specified Cloud HSM Cluster */
|
|
8
|
-
export declare function get(context: Client, resourceGroupName: string, cloudHsmClusterName: string, jobId: string, options?: CloudHsmClusterRestoreStatusGetOptionalParams):
|
|
8
|
+
export declare function get(context: Client, resourceGroupName: string, cloudHsmClusterName: string, jobId: string, options?: CloudHsmClusterRestoreStatusGetOptionalParams): Promise<RestoreResult | void>;
|
|
9
9
|
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1,42 +1,40 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import { errorResponseDeserializer } from "../../models/models.js";
|
|
4
|
-
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
3
|
+
import { errorResponseDeserializer, restoreResultDeserializer } from "../../models/models.js";
|
|
5
4
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
-
import { createRestError, operationOptionsToRequestParameters
|
|
7
|
-
export function _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options = {
|
|
8
|
-
requestOptions: {},
|
|
9
|
-
}) {
|
|
10
|
-
var _a, _b;
|
|
5
|
+
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
6
|
+
export function _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options = { requestOptions: {} }) {
|
|
11
7
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/restoreOperationStatus/{jobId}{?api%2Dversion}", {
|
|
12
8
|
subscriptionId: context.subscriptionId,
|
|
13
9
|
resourceGroupName: resourceGroupName,
|
|
14
10
|
cloudHsmClusterName: cloudHsmClusterName,
|
|
15
11
|
jobId: jobId,
|
|
16
|
-
"api%2Dversion": context.apiVersion,
|
|
12
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
17
13
|
}, {
|
|
18
|
-
allowReserved:
|
|
14
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
15
|
+
});
|
|
16
|
+
return context.path(path).get({
|
|
17
|
+
...operationOptionsToRequestParameters(options),
|
|
18
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
19
19
|
});
|
|
20
|
-
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
21
20
|
}
|
|
22
21
|
export async function _getDeserialize(result) {
|
|
23
22
|
const expectedStatuses = ["200", "202"];
|
|
24
23
|
if (!expectedStatuses.includes(result.status)) {
|
|
25
24
|
const error = createRestError(result);
|
|
26
|
-
|
|
25
|
+
if (result.body) {
|
|
26
|
+
error.details = errorResponseDeserializer(result.body);
|
|
27
|
+
}
|
|
27
28
|
throw error;
|
|
28
29
|
}
|
|
29
|
-
|
|
30
|
+
if (!result.body) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
return restoreResultDeserializer(result.body);
|
|
30
34
|
}
|
|
31
35
|
/** Gets the restore operation status of the specified Cloud HSM Cluster */
|
|
32
|
-
export function get(context, resourceGroupName, cloudHsmClusterName, jobId, options = {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
return getLongRunningPoller(context, _getDeserialize, ["200", "202"], {
|
|
36
|
-
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
37
|
-
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
38
|
-
getInitialResponse: () => _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options),
|
|
39
|
-
resourceLocationConfig: "location",
|
|
40
|
-
});
|
|
36
|
+
export async function get(context, resourceGroupName, cloudHsmClusterName, jobId, options = { requestOptions: {} }) {
|
|
37
|
+
const result = await _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options);
|
|
38
|
+
return _getDeserialize(result);
|
|
41
39
|
}
|
|
42
40
|
//# sourceMappingURL=operations.js.map
|