@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,356 +1,497 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var operations_exports = {};
|
|
19
|
+
__export(operations_exports, {
|
|
20
|
+
$delete: () => $delete,
|
|
21
|
+
_$deleteDeserialize: () => _$deleteDeserialize,
|
|
22
|
+
_$deleteSend: () => _$deleteSend,
|
|
23
|
+
_backupDeserialize: () => _backupDeserialize,
|
|
24
|
+
_backupSend: () => _backupSend,
|
|
25
|
+
_createOrUpdateDeserialize: () => _createOrUpdateDeserialize,
|
|
26
|
+
_createOrUpdateSend: () => _createOrUpdateSend,
|
|
27
|
+
_getDeserialize: () => _getDeserialize,
|
|
28
|
+
_getSend: () => _getSend,
|
|
29
|
+
_listByResourceGroupDeserialize: () => _listByResourceGroupDeserialize,
|
|
30
|
+
_listByResourceGroupSend: () => _listByResourceGroupSend,
|
|
31
|
+
_listBySubscriptionDeserialize: () => _listBySubscriptionDeserialize,
|
|
32
|
+
_listBySubscriptionSend: () => _listBySubscriptionSend,
|
|
33
|
+
_restoreDeserialize: () => _restoreDeserialize,
|
|
34
|
+
_restoreSend: () => _restoreSend,
|
|
35
|
+
_updateDeserialize: () => _updateDeserialize,
|
|
36
|
+
_updateSend: () => _updateSend,
|
|
37
|
+
_validateBackupPropertiesDeserialize: () => _validateBackupPropertiesDeserialize,
|
|
38
|
+
_validateBackupPropertiesSend: () => _validateBackupPropertiesSend,
|
|
39
|
+
_validateRestorePropertiesDeserialize: () => _validateRestorePropertiesDeserialize,
|
|
40
|
+
_validateRestorePropertiesSend: () => _validateRestorePropertiesSend,
|
|
41
|
+
backup: () => backup,
|
|
42
|
+
createOrUpdate: () => createOrUpdate,
|
|
43
|
+
get: () => get,
|
|
44
|
+
listByResourceGroup: () => listByResourceGroup,
|
|
45
|
+
listBySubscription: () => listBySubscription,
|
|
46
|
+
restore: () => restore,
|
|
47
|
+
update: () => update,
|
|
48
|
+
validateBackupProperties: () => validateBackupProperties,
|
|
49
|
+
validateRestoreProperties: () => validateRestoreProperties
|
|
50
|
+
});
|
|
51
|
+
module.exports = __toCommonJS(operations_exports);
|
|
52
|
+
var import_models = require("../../models/models.js");
|
|
53
|
+
var import_pagingHelpers = require("../../static-helpers/pagingHelpers.js");
|
|
54
|
+
var import_pollingHelpers = require("../../static-helpers/pollingHelpers.js");
|
|
55
|
+
var import_urlTemplate = require("../../static-helpers/urlTemplate.js");
|
|
56
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
40
57
|
function _restoreSend(context, resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options = { requestOptions: {} }) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
58
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
59
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/restore{?api%2Dversion}",
|
|
60
|
+
{
|
|
61
|
+
subscriptionId: context.subscriptionId,
|
|
62
|
+
resourceGroupName,
|
|
63
|
+
cloudHsmClusterName,
|
|
64
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
return context.path(path).post({
|
|
71
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
72
|
+
contentType: "application/json",
|
|
73
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
74
|
+
body: (0, import_models.restoreRequestPropertiesSerializer)(restoreRequestProperties)
|
|
75
|
+
});
|
|
51
76
|
}
|
|
52
77
|
async function _restoreDeserialize(result) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
78
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
79
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
80
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
81
|
+
if (result.body) {
|
|
82
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
58
83
|
}
|
|
59
|
-
|
|
84
|
+
throw error;
|
|
85
|
+
}
|
|
86
|
+
return (0, import_models.restoreResultDeserializer)(result.body);
|
|
60
87
|
}
|
|
61
|
-
/** Restores all key materials of a specified Cloud HSM Cluster */
|
|
62
88
|
function restore(context, resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options = { requestOptions: {} }) {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
89
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _restoreDeserialize, ["202", "200", "201"], {
|
|
90
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
91
|
+
abortSignal: options?.abortSignal,
|
|
92
|
+
getInitialResponse: () => _restoreSend(
|
|
93
|
+
context,
|
|
94
|
+
resourceGroupName,
|
|
95
|
+
cloudHsmClusterName,
|
|
96
|
+
restoreRequestProperties,
|
|
97
|
+
options
|
|
98
|
+
),
|
|
99
|
+
resourceLocationConfig: "azure-async-operation",
|
|
100
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview"
|
|
101
|
+
});
|
|
69
102
|
}
|
|
70
|
-
function _validateRestorePropertiesSend(context, resourceGroupName, cloudHsmClusterName, options = {
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
103
|
+
function _validateRestorePropertiesSend(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
|
|
104
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
105
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/validateRestoreProperties{?api%2Dversion}",
|
|
106
|
+
{
|
|
107
|
+
subscriptionId: context.subscriptionId,
|
|
108
|
+
resourceGroupName,
|
|
109
|
+
cloudHsmClusterName,
|
|
110
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
return context.path(path).post({
|
|
117
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
118
|
+
contentType: "application/json",
|
|
119
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
120
|
+
body: !options?.restoreRequestProperties ? options?.restoreRequestProperties : (0, import_models.restoreRequestPropertiesSerializer)(options?.restoreRequestProperties)
|
|
121
|
+
});
|
|
85
122
|
}
|
|
86
123
|
async function _validateRestorePropertiesDeserialize(result) {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
124
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
125
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
126
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
127
|
+
if (result.body) {
|
|
128
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
92
129
|
}
|
|
93
|
-
|
|
130
|
+
throw error;
|
|
131
|
+
}
|
|
132
|
+
return (0, import_models.restoreResultDeserializer)(result.body);
|
|
94
133
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
134
|
+
function validateRestoreProperties(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
|
|
135
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(
|
|
136
|
+
context,
|
|
137
|
+
_validateRestorePropertiesDeserialize,
|
|
138
|
+
["202", "200", "201"],
|
|
139
|
+
{
|
|
140
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
141
|
+
abortSignal: options?.abortSignal,
|
|
142
|
+
getInitialResponse: () => _validateRestorePropertiesSend(context, resourceGroupName, cloudHsmClusterName, options),
|
|
143
|
+
resourceLocationConfig: "azure-async-operation",
|
|
144
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview"
|
|
145
|
+
}
|
|
146
|
+
);
|
|
105
147
|
}
|
|
106
148
|
function _backupSend(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
149
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
150
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backup{?api%2Dversion}",
|
|
151
|
+
{
|
|
152
|
+
subscriptionId: context.subscriptionId,
|
|
153
|
+
resourceGroupName,
|
|
154
|
+
cloudHsmClusterName,
|
|
155
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
159
|
+
}
|
|
160
|
+
);
|
|
161
|
+
return context.path(path).post({
|
|
162
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
163
|
+
contentType: "application/json",
|
|
164
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
165
|
+
body: !options?.backupRequestProperties ? options?.backupRequestProperties : (0, import_models.backupRequestPropertiesSerializer)(options?.backupRequestProperties)
|
|
166
|
+
});
|
|
119
167
|
}
|
|
120
168
|
async function _backupDeserialize(result) {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
169
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
170
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
171
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
172
|
+
if (result.body) {
|
|
173
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
126
174
|
}
|
|
127
|
-
|
|
175
|
+
throw error;
|
|
176
|
+
}
|
|
177
|
+
return (0, import_models.backupResultDeserializer)(result.body);
|
|
128
178
|
}
|
|
129
|
-
/** Create a backup of the Cloud HSM Cluster in the specified subscription */
|
|
130
179
|
function backup(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
180
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _backupDeserialize, ["202", "200", "201"], {
|
|
181
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
182
|
+
abortSignal: options?.abortSignal,
|
|
183
|
+
getInitialResponse: () => _backupSend(context, resourceGroupName, cloudHsmClusterName, options),
|
|
184
|
+
resourceLocationConfig: "azure-async-operation",
|
|
185
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview"
|
|
186
|
+
});
|
|
137
187
|
}
|
|
138
|
-
function _validateBackupPropertiesSend(context, resourceGroupName, cloudHsmClusterName, options = {
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
188
|
+
function _validateBackupPropertiesSend(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
|
|
189
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
190
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/validateBackupProperties{?api%2Dversion}",
|
|
191
|
+
{
|
|
192
|
+
subscriptionId: context.subscriptionId,
|
|
193
|
+
resourceGroupName,
|
|
194
|
+
cloudHsmClusterName,
|
|
195
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
199
|
+
}
|
|
200
|
+
);
|
|
201
|
+
return context.path(path).post({
|
|
202
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
203
|
+
contentType: "application/json",
|
|
204
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
205
|
+
body: !options?.backupRequestProperties ? options?.backupRequestProperties : (0, import_models.backupRequestPropertiesSerializer)(options?.backupRequestProperties)
|
|
206
|
+
});
|
|
153
207
|
}
|
|
154
208
|
async function _validateBackupPropertiesDeserialize(result) {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
209
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
210
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
211
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
212
|
+
if (result.body) {
|
|
213
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
160
214
|
}
|
|
161
|
-
|
|
215
|
+
throw error;
|
|
216
|
+
}
|
|
217
|
+
return (0, import_models.backupResultDeserializer)(result.body);
|
|
162
218
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
219
|
+
function validateBackupProperties(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
|
|
220
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(
|
|
221
|
+
context,
|
|
222
|
+
_validateBackupPropertiesDeserialize,
|
|
223
|
+
["202", "200", "201"],
|
|
224
|
+
{
|
|
225
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
226
|
+
abortSignal: options?.abortSignal,
|
|
227
|
+
getInitialResponse: () => _validateBackupPropertiesSend(context, resourceGroupName, cloudHsmClusterName, options),
|
|
228
|
+
resourceLocationConfig: "azure-async-operation",
|
|
229
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview"
|
|
230
|
+
}
|
|
231
|
+
);
|
|
173
232
|
}
|
|
174
|
-
function _listBySubscriptionSend(context, options = {
|
|
175
|
-
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}
|
|
185
|
-
|
|
233
|
+
function _listBySubscriptionSend(context, options = { requestOptions: {} }) {
|
|
234
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
235
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters{?api%2Dversion,%24skiptoken}",
|
|
236
|
+
{
|
|
237
|
+
subscriptionId: context.subscriptionId,
|
|
238
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
239
|
+
"%24skiptoken": options?.skiptoken
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
243
|
+
}
|
|
244
|
+
);
|
|
245
|
+
return context.path(path).get({
|
|
246
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
247
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
248
|
+
});
|
|
186
249
|
}
|
|
187
250
|
async function _listBySubscriptionDeserialize(result) {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
251
|
+
const expectedStatuses = ["200"];
|
|
252
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
253
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
254
|
+
if (result.body) {
|
|
255
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
193
256
|
}
|
|
194
|
-
|
|
257
|
+
throw error;
|
|
258
|
+
}
|
|
259
|
+
return (0, import_models._cloudHsmClusterListResultDeserializer)(result.body);
|
|
195
260
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
261
|
+
function listBySubscription(context, options = { requestOptions: {} }) {
|
|
262
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
263
|
+
context,
|
|
264
|
+
() => _listBySubscriptionSend(context, options),
|
|
265
|
+
_listBySubscriptionDeserialize,
|
|
266
|
+
["200"],
|
|
267
|
+
{
|
|
268
|
+
itemName: "value",
|
|
269
|
+
nextLinkName: "nextLink",
|
|
270
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview"
|
|
271
|
+
}
|
|
272
|
+
);
|
|
201
273
|
}
|
|
202
|
-
function _listByResourceGroupSend(context, resourceGroupName, options = {
|
|
203
|
-
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
|
|
274
|
+
function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
275
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
276
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters{?api%2Dversion,%24skiptoken}",
|
|
277
|
+
{
|
|
278
|
+
subscriptionId: context.subscriptionId,
|
|
279
|
+
resourceGroupName,
|
|
280
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview",
|
|
281
|
+
"%24skiptoken": options?.skiptoken
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
285
|
+
}
|
|
286
|
+
);
|
|
287
|
+
return context.path(path).get({
|
|
288
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
289
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
290
|
+
});
|
|
215
291
|
}
|
|
216
292
|
async function _listByResourceGroupDeserialize(result) {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
293
|
+
const expectedStatuses = ["200"];
|
|
294
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
295
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
296
|
+
if (result.body) {
|
|
297
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
222
298
|
}
|
|
223
|
-
|
|
299
|
+
throw error;
|
|
300
|
+
}
|
|
301
|
+
return (0, import_models._cloudHsmClusterListResultDeserializer)(result.body);
|
|
224
302
|
}
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
303
|
+
function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
304
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
305
|
+
context,
|
|
306
|
+
() => _listByResourceGroupSend(context, resourceGroupName, options),
|
|
307
|
+
_listByResourceGroupDeserialize,
|
|
308
|
+
["200"],
|
|
309
|
+
{
|
|
310
|
+
itemName: "value",
|
|
311
|
+
nextLinkName: "nextLink",
|
|
312
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview"
|
|
313
|
+
}
|
|
314
|
+
);
|
|
230
315
|
}
|
|
231
316
|
function _$deleteSend(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
317
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
318
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}{?api%2Dversion}",
|
|
319
|
+
{
|
|
320
|
+
subscriptionId: context.subscriptionId,
|
|
321
|
+
resourceGroupName,
|
|
322
|
+
cloudHsmClusterName,
|
|
323
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
327
|
+
}
|
|
328
|
+
);
|
|
329
|
+
return context.path(path).delete({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
242
330
|
}
|
|
243
331
|
async function _$deleteDeserialize(result) {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
332
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
333
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
334
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
335
|
+
if (result.body) {
|
|
336
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
249
337
|
}
|
|
250
|
-
|
|
338
|
+
throw error;
|
|
339
|
+
}
|
|
340
|
+
return;
|
|
251
341
|
}
|
|
252
|
-
/** Deletes the specified Cloud HSM Cluster */
|
|
253
|
-
/**
|
|
254
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
255
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
256
|
-
* to the operation to override the generated name.
|
|
257
|
-
*/
|
|
258
342
|
function $delete(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
343
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
344
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
345
|
+
abortSignal: options?.abortSignal,
|
|
346
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, cloudHsmClusterName, options),
|
|
347
|
+
resourceLocationConfig: "location",
|
|
348
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview"
|
|
349
|
+
});
|
|
265
350
|
}
|
|
266
351
|
function _updateSend(context, resourceGroupName, cloudHsmClusterName, body, options = { requestOptions: {} }) {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
352
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
353
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}{?api%2Dversion}",
|
|
354
|
+
{
|
|
355
|
+
subscriptionId: context.subscriptionId,
|
|
356
|
+
resourceGroupName,
|
|
357
|
+
cloudHsmClusterName,
|
|
358
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
362
|
+
}
|
|
363
|
+
);
|
|
364
|
+
return context.path(path).patch({
|
|
365
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
366
|
+
contentType: "application/json",
|
|
367
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
368
|
+
body: (0, import_models.cloudHsmClusterPatchParametersSerializer)(body)
|
|
369
|
+
});
|
|
277
370
|
}
|
|
278
371
|
async function _updateDeserialize(result) {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
372
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
373
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
374
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
375
|
+
if (result.body) {
|
|
376
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
284
377
|
}
|
|
285
|
-
|
|
378
|
+
throw error;
|
|
379
|
+
}
|
|
380
|
+
return (0, import_models.cloudHsmClusterDeserializer)(result.body);
|
|
286
381
|
}
|
|
287
|
-
/** Update a Cloud HSM Cluster in the specified subscription. */
|
|
288
382
|
function update(context, resourceGroupName, cloudHsmClusterName, body, options = { requestOptions: {} }) {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
383
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _updateDeserialize, ["200", "202", "201"], {
|
|
384
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
385
|
+
abortSignal: options?.abortSignal,
|
|
386
|
+
getInitialResponse: () => _updateSend(context, resourceGroupName, cloudHsmClusterName, body, options),
|
|
387
|
+
resourceLocationConfig: "location",
|
|
388
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview"
|
|
389
|
+
});
|
|
295
390
|
}
|
|
296
|
-
function _createOrUpdateSend(context, resourceGroupName, cloudHsmClusterName, body, options = {
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
}
|
|
308
|
-
|
|
391
|
+
function _createOrUpdateSend(context, resourceGroupName, cloudHsmClusterName, body, options = { requestOptions: {} }) {
|
|
392
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
393
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}{?api%2Dversion}",
|
|
394
|
+
{
|
|
395
|
+
subscriptionId: context.subscriptionId,
|
|
396
|
+
resourceGroupName,
|
|
397
|
+
cloudHsmClusterName,
|
|
398
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
402
|
+
}
|
|
403
|
+
);
|
|
404
|
+
return context.path(path).put({
|
|
405
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
406
|
+
contentType: "application/json",
|
|
407
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
408
|
+
body: (0, import_models.cloudHsmClusterSerializer)(body)
|
|
409
|
+
});
|
|
309
410
|
}
|
|
310
411
|
async function _createOrUpdateDeserialize(result) {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
412
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
413
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
414
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
415
|
+
if (result.body) {
|
|
416
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
316
417
|
}
|
|
317
|
-
|
|
418
|
+
throw error;
|
|
419
|
+
}
|
|
420
|
+
return (0, import_models.cloudHsmClusterDeserializer)(result.body);
|
|
318
421
|
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
resourceLocationConfig: "original-uri",
|
|
328
|
-
});
|
|
422
|
+
function createOrUpdate(context, resourceGroupName, cloudHsmClusterName, body, options = { requestOptions: {} }) {
|
|
423
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _createOrUpdateDeserialize, ["200", "201", "202"], {
|
|
424
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
425
|
+
abortSignal: options?.abortSignal,
|
|
426
|
+
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, cloudHsmClusterName, body, options),
|
|
427
|
+
resourceLocationConfig: "original-uri",
|
|
428
|
+
apiVersion: context.apiVersion ?? "2025-12-01-preview"
|
|
429
|
+
});
|
|
329
430
|
}
|
|
330
431
|
function _getSend(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
432
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
433
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}{?api%2Dversion}",
|
|
434
|
+
{
|
|
435
|
+
subscriptionId: context.subscriptionId,
|
|
436
|
+
resourceGroupName,
|
|
437
|
+
cloudHsmClusterName,
|
|
438
|
+
"api%2Dversion": context.apiVersion ?? "2025-12-01-preview"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
442
|
+
}
|
|
443
|
+
);
|
|
444
|
+
return context.path(path).get({
|
|
445
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
446
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
447
|
+
});
|
|
341
448
|
}
|
|
342
449
|
async function _getDeserialize(result) {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
450
|
+
const expectedStatuses = ["200"];
|
|
451
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
452
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
453
|
+
if (result.body) {
|
|
454
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
348
455
|
}
|
|
349
|
-
|
|
456
|
+
throw error;
|
|
457
|
+
}
|
|
458
|
+
return (0, import_models.cloudHsmClusterDeserializer)(result.body);
|
|
350
459
|
}
|
|
351
|
-
/** Gets the specified Cloud HSM Cluster */
|
|
352
460
|
async function get(context, resourceGroupName, cloudHsmClusterName, options = { requestOptions: {} }) {
|
|
353
|
-
|
|
354
|
-
|
|
461
|
+
const result = await _getSend(context, resourceGroupName, cloudHsmClusterName, options);
|
|
462
|
+
return _getDeserialize(result);
|
|
355
463
|
}
|
|
356
|
-
|
|
464
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
465
|
+
0 && (module.exports = {
|
|
466
|
+
$delete,
|
|
467
|
+
_$deleteDeserialize,
|
|
468
|
+
_$deleteSend,
|
|
469
|
+
_backupDeserialize,
|
|
470
|
+
_backupSend,
|
|
471
|
+
_createOrUpdateDeserialize,
|
|
472
|
+
_createOrUpdateSend,
|
|
473
|
+
_getDeserialize,
|
|
474
|
+
_getSend,
|
|
475
|
+
_listByResourceGroupDeserialize,
|
|
476
|
+
_listByResourceGroupSend,
|
|
477
|
+
_listBySubscriptionDeserialize,
|
|
478
|
+
_listBySubscriptionSend,
|
|
479
|
+
_restoreDeserialize,
|
|
480
|
+
_restoreSend,
|
|
481
|
+
_updateDeserialize,
|
|
482
|
+
_updateSend,
|
|
483
|
+
_validateBackupPropertiesDeserialize,
|
|
484
|
+
_validateBackupPropertiesSend,
|
|
485
|
+
_validateRestorePropertiesDeserialize,
|
|
486
|
+
_validateRestorePropertiesSend,
|
|
487
|
+
backup,
|
|
488
|
+
createOrUpdate,
|
|
489
|
+
get,
|
|
490
|
+
listByResourceGroup,
|
|
491
|
+
listBySubscription,
|
|
492
|
+
restore,
|
|
493
|
+
update,
|
|
494
|
+
validateBackupProperties,
|
|
495
|
+
validateRestoreProperties
|
|
496
|
+
});
|
|
497
|
+
//# sourceMappingURL=operations.js.map
|