@azure/arm-hardwaresecuritymodules 2.0.0-beta.2 → 2.0.0
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 +126 -0
- package/LICENSE +3 -3
- package/README.md +39 -33
- package/dist/browser/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
- package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js +36 -0
- package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/index.js +4 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js +42 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/options.js +4 -0
- package/dist/browser/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js +109 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
- package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js +36 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
- package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js +4 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js +42 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js +4 -0
- package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
- package/dist/browser/api/cloudHsmClusters/index.d.ts +3 -0
- package/dist/browser/api/cloudHsmClusters/index.js +4 -0
- package/dist/browser/api/cloudHsmClusters/index.js.map +1 -0
- package/dist/browser/api/cloudHsmClusters/operations.d.ts +52 -0
- package/dist/browser/api/cloudHsmClusters/operations.js +324 -0
- package/dist/browser/api/cloudHsmClusters/operations.js.map +1 -0
- package/dist/browser/api/cloudHsmClusters/options.d.ts +57 -0
- package/dist/browser/api/cloudHsmClusters/options.js +4 -0
- package/dist/browser/api/cloudHsmClusters/options.js.map +1 -0
- package/dist/browser/api/dedicatedHsm/index.d.ts +3 -0
- package/dist/browser/api/dedicatedHsm/index.js +4 -0
- package/dist/browser/api/dedicatedHsm/index.js.map +1 -0
- package/dist/browser/api/dedicatedHsm/operations.d.ts +40 -0
- package/dist/browser/api/dedicatedHsm/operations.js +215 -0
- package/dist/browser/api/dedicatedHsm/operations.js.map +1 -0
- package/dist/browser/api/dedicatedHsm/options.d.ts +33 -0
- package/dist/browser/api/dedicatedHsm/options.js +4 -0
- package/dist/browser/api/dedicatedHsm/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +29 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/browser/api/privateEndpointConnections/index.js +4 -0
- package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/operations.d.ts +10 -0
- package/dist/browser/api/privateEndpointConnections/operations.js +36 -0
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/options.d.ts +5 -0
- package/dist/browser/api/privateEndpointConnections/options.js +4 -0
- package/dist/browser/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/browser/azureDedicatedHSMResourceProvider.d.ts +36 -0
- package/dist/browser/azureDedicatedHSMResourceProvider.js +33 -0
- package/dist/browser/azureDedicatedHSMResourceProvider.js.map +1 -0
- package/dist/browser/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
- package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js +12 -0
- package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
- package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js +14 -0
- package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
- package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js +12 -0
- package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
- package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js +12 -0
- package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/browser/classic/cloudHsmClusters/index.d.ts +35 -0
- package/dist/browser/classic/cloudHsmClusters/index.js +21 -0
- package/dist/browser/classic/cloudHsmClusters/index.js.map +1 -0
- package/dist/browser/classic/dedicatedHsm/index.d.ts +29 -0
- package/dist/browser/classic/dedicatedHsm/index.js +18 -0
- package/dist/browser/classic/dedicatedHsm/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +9 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +12 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/privateEndpointConnections/index.d.ts +11 -0
- package/dist/browser/classic/privateEndpointConnections/index.js +12 -0
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/browser/index.d.ts +16 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +751 -0
- package/dist/browser/models/models.js +747 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +133 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.js +137 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/browser/static-helpers/pollingHelpers.js +76 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +169 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
- package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js +39 -0
- package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js +8 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js +47 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js +5 -0
- package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js +10 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js +120 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js +5 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js +8 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js +41 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js +5 -0
- package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js +8 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js +47 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js +5 -0
- package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusters/index.d.ts +3 -0
- package/dist/commonjs/api/cloudHsmClusters/index.js +17 -0
- package/dist/commonjs/api/cloudHsmClusters/index.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusters/operations.d.ts +52 -0
- package/dist/commonjs/api/cloudHsmClusters/operations.js +356 -0
- package/dist/commonjs/api/cloudHsmClusters/operations.js.map +1 -0
- package/dist/commonjs/api/cloudHsmClusters/options.d.ts +57 -0
- package/dist/commonjs/api/cloudHsmClusters/options.js +5 -0
- package/dist/commonjs/api/cloudHsmClusters/options.js.map +1 -0
- package/dist/commonjs/api/dedicatedHsm/index.d.ts +3 -0
- package/dist/commonjs/api/dedicatedHsm/index.js +14 -0
- package/dist/commonjs/api/dedicatedHsm/index.js.map +1 -0
- package/dist/commonjs/api/dedicatedHsm/operations.d.ts +40 -0
- package/dist/commonjs/api/dedicatedHsm/operations.js +238 -0
- package/dist/commonjs/api/dedicatedHsm/operations.js.map +1 -0
- package/dist/commonjs/api/dedicatedHsm/options.d.ts +33 -0
- package/dist/commonjs/api/dedicatedHsm/options.js +5 -0
- package/dist/commonjs/api/dedicatedHsm/options.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.js +8 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +8 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +34 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +5 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js +8 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +10 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.js +41 -0
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/commonjs/api/privateEndpointConnections/options.d.ts +5 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js +5 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/commonjs/azureDedicatedHSMResourceProvider.d.ts +36 -0
- package/dist/commonjs/azureDedicatedHSMResourceProvider.js +37 -0
- package/dist/commonjs/azureDedicatedHSMResourceProvider.js.map +1 -0
- package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
- package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js +15 -0
- package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js +17 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js +15 -0
- package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
- package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js +15 -0
- package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/commonjs/classic/cloudHsmClusters/index.d.ts +35 -0
- package/dist/commonjs/classic/cloudHsmClusters/index.js +24 -0
- package/dist/commonjs/classic/cloudHsmClusters/index.js.map +1 -0
- package/dist/commonjs/classic/dedicatedHsm/index.d.ts +29 -0
- package/dist/commonjs/classic/dedicatedHsm/index.js +21 -0
- package/dist/commonjs/classic/dedicatedHsm/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +9 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +15 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +11 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js +15 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +16 -0
- package/dist/commonjs/index.js +26 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.js +22 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +751 -0
- package/dist/commonjs/models/models.js +831 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +136 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- package/dist/esm/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
- package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js +36 -0
- package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/index.js +4 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js +42 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/options.js +4 -0
- package/dist/esm/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js +109 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
- package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js +36 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
- package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js +4 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js +42 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js +4 -0
- package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
- package/dist/esm/api/cloudHsmClusters/index.d.ts +3 -0
- package/dist/esm/api/cloudHsmClusters/index.js +4 -0
- package/dist/esm/api/cloudHsmClusters/index.js.map +1 -0
- package/dist/esm/api/cloudHsmClusters/operations.d.ts +52 -0
- package/dist/esm/api/cloudHsmClusters/operations.js +324 -0
- package/dist/esm/api/cloudHsmClusters/operations.js.map +1 -0
- package/dist/esm/api/cloudHsmClusters/options.d.ts +57 -0
- package/dist/esm/api/cloudHsmClusters/options.js +4 -0
- package/dist/esm/api/cloudHsmClusters/options.js.map +1 -0
- package/dist/esm/api/dedicatedHsm/index.d.ts +3 -0
- package/dist/esm/api/dedicatedHsm/index.js +4 -0
- package/dist/esm/api/dedicatedHsm/index.js.map +1 -0
- package/dist/esm/api/dedicatedHsm/operations.d.ts +40 -0
- package/dist/esm/api/dedicatedHsm/operations.js +215 -0
- package/dist/esm/api/dedicatedHsm/operations.js.map +1 -0
- package/dist/esm/api/dedicatedHsm/options.d.ts +33 -0
- package/dist/esm/api/dedicatedHsm/options.js +4 -0
- package/dist/esm/api/dedicatedHsm/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +29 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/esm/api/privateEndpointConnections/index.js +4 -0
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/operations.d.ts +10 -0
- package/dist/esm/api/privateEndpointConnections/operations.js +36 -0
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/options.d.ts +5 -0
- package/dist/esm/api/privateEndpointConnections/options.js +4 -0
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/esm/azureDedicatedHSMResourceProvider.d.ts +36 -0
- package/dist/esm/azureDedicatedHSMResourceProvider.js +33 -0
- package/dist/esm/azureDedicatedHSMResourceProvider.js.map +1 -0
- package/dist/esm/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
- package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js +12 -0
- package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
- package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js +14 -0
- package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
- package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js +12 -0
- package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
- package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js +12 -0
- package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/esm/classic/cloudHsmClusters/index.d.ts +35 -0
- package/dist/esm/classic/cloudHsmClusters/index.js +21 -0
- package/dist/esm/classic/cloudHsmClusters/index.js.map +1 -0
- package/dist/esm/classic/dedicatedHsm/index.d.ts +29 -0
- package/dist/esm/classic/dedicatedHsm/index.js +18 -0
- package/dist/esm/classic/dedicatedHsm/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +9 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +12 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/privateEndpointConnections/index.d.ts +11 -0
- package/dist/esm/classic/privateEndpointConnections/index.js +12 -0
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/esm/index.d.ts +16 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +751 -0
- package/dist/esm/models/models.js +747 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +133 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.js +137 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/esm/static-helpers/pollingHelpers.js +76 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +169 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
- package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js +36 -0
- package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
- package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js +4 -0
- package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
- package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js +42 -0
- package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
- package/dist/react-native/api/cloudHsmClusterBackupStatus/options.js +4 -0
- package/dist/react-native/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js +109 -0
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
- package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js +36 -0
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
- package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js +4 -0
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js +42 -0
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.js +4 -0
- package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusters/index.d.ts +3 -0
- package/dist/react-native/api/cloudHsmClusters/index.js +4 -0
- package/dist/react-native/api/cloudHsmClusters/index.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusters/operations.d.ts +52 -0
- package/dist/react-native/api/cloudHsmClusters/operations.js +324 -0
- package/dist/react-native/api/cloudHsmClusters/operations.js.map +1 -0
- package/dist/react-native/api/cloudHsmClusters/options.d.ts +57 -0
- package/dist/react-native/api/cloudHsmClusters/options.js +4 -0
- package/dist/react-native/api/cloudHsmClusters/options.js.map +1 -0
- package/dist/react-native/api/dedicatedHsm/index.d.ts +3 -0
- package/dist/react-native/api/dedicatedHsm/index.js +4 -0
- package/dist/react-native/api/dedicatedHsm/index.js.map +1 -0
- package/dist/react-native/api/dedicatedHsm/operations.d.ts +40 -0
- package/dist/react-native/api/dedicatedHsm/operations.js +215 -0
- package/dist/react-native/api/dedicatedHsm/operations.js.map +1 -0
- package/dist/react-native/api/dedicatedHsm/options.d.ts +33 -0
- package/dist/react-native/api/dedicatedHsm/options.js +4 -0
- package/dist/react-native/api/dedicatedHsm/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +3 -0
- package/dist/react-native/api/operations/index.js +4 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.js +29 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +5 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/api/privateEndpointConnections/index.d.ts +3 -0
- package/dist/react-native/api/privateEndpointConnections/index.js +4 -0
- package/dist/react-native/api/privateEndpointConnections/index.js.map +1 -0
- package/dist/react-native/api/privateEndpointConnections/operations.d.ts +10 -0
- package/dist/react-native/api/privateEndpointConnections/operations.js +36 -0
- package/dist/react-native/api/privateEndpointConnections/operations.js.map +1 -0
- package/dist/react-native/api/privateEndpointConnections/options.d.ts +5 -0
- package/dist/react-native/api/privateEndpointConnections/options.js +4 -0
- package/dist/react-native/api/privateEndpointConnections/options.js.map +1 -0
- package/dist/react-native/azureDedicatedHSMResourceProvider.d.ts +36 -0
- package/dist/react-native/azureDedicatedHSMResourceProvider.js +33 -0
- package/dist/react-native/azureDedicatedHSMResourceProvider.js.map +1 -0
- package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
- package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js +12 -0
- package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
- package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
- package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js +14 -0
- package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
- package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
- package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js +12 -0
- package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
- package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
- package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js +12 -0
- package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
- package/dist/react-native/classic/cloudHsmClusters/index.d.ts +35 -0
- package/dist/react-native/classic/cloudHsmClusters/index.js +21 -0
- package/dist/react-native/classic/cloudHsmClusters/index.js.map +1 -0
- package/dist/react-native/classic/dedicatedHsm/index.d.ts +29 -0
- package/dist/react-native/classic/dedicatedHsm/index.js +18 -0
- package/dist/react-native/classic/dedicatedHsm/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +9 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +11 -0
- package/dist/react-native/classic/operations/index.js +12 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/classic/privateEndpointConnections/index.d.ts +11 -0
- package/dist/react-native/classic/privateEndpointConnections/index.js +12 -0
- package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -0
- package/dist/react-native/index.d.ts +16 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +751 -0
- package/dist/react-native/models/models.js +747 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.js +133 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.js +169 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +298 -88
- package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterBackupStatus.api.md +22 -0
- package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateEndpointConnections.api.md +36 -0
- package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateLinkResources.api.md +19 -0
- package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterRestoreStatus.api.md +22 -0
- package/review/arm-hardwaresecuritymodules-api-cloudHsmClusters.api.md +96 -0
- package/review/arm-hardwaresecuritymodules-api-dedicatedHsm.api.md +68 -0
- package/review/arm-hardwaresecuritymodules-api-operations.api.md +19 -0
- package/review/arm-hardwaresecuritymodules-api-privateEndpointConnections.api.md +19 -0
- package/review/arm-hardwaresecuritymodules-api.api.md +27 -0
- package/review/arm-hardwaresecuritymodules-models.api.md +471 -0
- package/review/arm-hardwaresecuritymodules.api.md +172 -396
- package/dist/index.js +0 -4363
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +0 -46
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +0 -40
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +0 -40
- package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +0 -55
- package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js +0 -40
- package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js +0 -39
- package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +0 -53
- package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +0 -39
- package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +0 -39
- package/dist-esm/samples-dev/cloudHsmClustersGetSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +0 -53
- package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js +0 -43
- package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +0 -47
- package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js +0 -39
- package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js +0 -46
- package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +0 -119
- package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +0 -39
- package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmGetSample.js +0 -77
- package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +0 -88
- package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +0 -86
- package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +0 -55
- package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +0 -62
- package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -86
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +0 -55
- package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +0 -1
- package/dist-esm/src/azureHSMResourceProvider.d.ts +0 -27
- package/dist-esm/src/azureHSMResourceProvider.d.ts.map +0 -1
- package/dist-esm/src/azureHSMResourceProvider.js +0 -109
- package/dist-esm/src/azureHSMResourceProvider.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts +0 -11
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -1182
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -188
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -59
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -1414
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -29
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -215
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts +0 -22
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js +0 -61
- package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +0 -55
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +0 -201
- package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +0 -41
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +0 -153
- package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts +0 -22
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js +0 -61
- package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusters.d.ts +0 -182
- package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudHsmClusters.js +0 -965
- package/dist-esm/src/operations/cloudHsmClusters.js.map +0 -1
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +0 -134
- package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/dedicatedHsmOperations.js +0 -681
- package/dist-esm/src/operations/dedicatedHsmOperations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -9
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -16
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -26
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -96
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +0 -43
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +0 -155
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js +0 -9
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +0 -47
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +0 -9
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +0 -9
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +0 -14
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js +0 -9
- package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +0 -145
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js +0 -9
- package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +0 -78
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js +0 -9
- package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -16
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js +0 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +0 -15
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +0 -9
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/pagingHelper.d.ts +0 -13
- package/dist-esm/src/pagingHelper.d.ts.map +0 -1
- package/dist-esm/src/pagingHelper.js +0 -32
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +0 -77
- package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +0 -1
- package/src/azureHSMResourceProvider.ts +0 -179
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1366
- package/src/models/mappers.ts +0 -1529
- package/src/models/parameters.ts +0 -255
- package/src/operations/cloudHsmClusterBackupStatus.ts +0 -82
- package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +0 -281
- package/src/operations/cloudHsmClusterPrivateLinkResources.ts +0 -206
- package/src/operations/cloudHsmClusterRestoreStatus.ts +0 -82
- package/src/operations/cloudHsmClusters.ts +0 -1283
- package/src/operations/dedicatedHsmOperations.ts +0 -888
- package/src/operations/index.ts +0 -16
- package/src/operations/operations.ts +0 -103
- package/src/operations/privateEndpointConnections.ts +0 -208
- package/src/operationsInterfaces/cloudHsmClusterBackupStatus.ts +0 -30
- package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +0 -89
- package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +0 -30
- package/src/operationsInterfaces/cloudHsmClusterRestoreStatus.ts +0 -30
- package/src/operationsInterfaces/cloudHsmClusters.ts +0 -279
- package/src/operationsInterfaces/dedicatedHsmOperations.ts +0 -155
- package/src/operationsInterfaces/index.ts +0 -16
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -31
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-hardwaresecuritymodules.d.ts +0 -1694
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,131 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
## 2.0.0 (2025-07-04)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
- Added operation group CloudHsmClusterBackupStatusOperations
|
|
7
|
+
- Added operation group CloudHsmClusterPrivateEndpointConnectionsOperations
|
|
8
|
+
- Added operation group CloudHsmClusterPrivateLinkResourcesOperations
|
|
9
|
+
- Added operation group CloudHsmClusterRestoreStatusOperations
|
|
10
|
+
- Added operation group CloudHsmClustersOperations
|
|
11
|
+
- Added operation group DedicatedHsmOperations
|
|
12
|
+
- Added operation group PrivateEndpointConnectionsOperations
|
|
13
|
+
- Added Interface BackupRequestProperties
|
|
14
|
+
- Added Interface BackupRestoreBaseResultProperties
|
|
15
|
+
- Added Interface BackupRestoreRequestBaseProperties
|
|
16
|
+
- Added Interface BackupResult
|
|
17
|
+
- Added Interface BackupResultProperties
|
|
18
|
+
- Added Interface CloudHsmCluster
|
|
19
|
+
- Added Interface CloudHsmClusterBackupStatusGetOptionalParams
|
|
20
|
+
- Added Interface CloudHsmClusterPatchParameters
|
|
21
|
+
- Added Interface CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams
|
|
22
|
+
- Added Interface CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams
|
|
23
|
+
- Added Interface CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams
|
|
24
|
+
- Added Interface CloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterOptionalParams
|
|
25
|
+
- Added Interface CloudHsmClusterProperties
|
|
26
|
+
- Added Interface CloudHsmClusterRestoreStatusGetOptionalParams
|
|
27
|
+
- Added Interface CloudHsmClustersBackupOptionalParams
|
|
28
|
+
- Added Interface CloudHsmClustersCreateOrUpdateOptionalParams
|
|
29
|
+
- Added Interface CloudHsmClustersDeleteOptionalParams
|
|
30
|
+
- Added Interface CloudHsmClustersGetOptionalParams
|
|
31
|
+
- Added Interface CloudHsmClusterSku
|
|
32
|
+
- Added Interface CloudHsmClustersListByResourceGroupOptionalParams
|
|
33
|
+
- Added Interface CloudHsmClustersListBySubscriptionOptionalParams
|
|
34
|
+
- Added Interface CloudHsmClustersRestoreOptionalParams
|
|
35
|
+
- Added Interface CloudHsmClustersUpdateOptionalParams
|
|
36
|
+
- Added Interface CloudHsmClustersValidateBackupPropertiesOptionalParams
|
|
37
|
+
- Added Interface CloudHsmClustersValidateRestorePropertiesOptionalParams
|
|
38
|
+
- Added Interface CloudHsmProperties
|
|
39
|
+
- Added Interface DedicatedHsm
|
|
40
|
+
- Added Interface DedicatedHsmProperties
|
|
41
|
+
- Added Interface ErrorAdditionalInfo
|
|
42
|
+
- Added Interface ErrorDetail
|
|
43
|
+
- Added Interface ErrorResponse
|
|
44
|
+
- Added Interface ManagedServiceIdentity
|
|
45
|
+
- Added Interface Operation
|
|
46
|
+
- Added Interface OperationDisplay
|
|
47
|
+
- Added Interface PageSettings
|
|
48
|
+
- Added Interface PrivateEndpoint
|
|
49
|
+
- Added Interface PrivateEndpointConnection
|
|
50
|
+
- Added Interface PrivateEndpointConnectionProperties
|
|
51
|
+
- Added Interface PrivateEndpointConnectionsListByCloudHsmClusterOptionalParams
|
|
52
|
+
- Added Interface PrivateLinkResource
|
|
53
|
+
- Added Interface PrivateLinkResourceProperties
|
|
54
|
+
- Added Interface PrivateLinkServiceConnectionState
|
|
55
|
+
- Added Interface ProxyResource
|
|
56
|
+
- Added Interface RestoreRequestProperties
|
|
57
|
+
- Added Interface RestoreResult
|
|
58
|
+
- Added Interface TrackedResource
|
|
59
|
+
- Added Interface UserAssignedIdentity
|
|
60
|
+
- Interface ApiEntityReference has a new optional parameter resourceId
|
|
61
|
+
- Interface NetworkInterface has a new optional parameter resourceId
|
|
62
|
+
- Interface Resource has a new optional parameter systemData
|
|
63
|
+
- Added Type Alias ActionType
|
|
64
|
+
- Added Type Alias ActivationState
|
|
65
|
+
- Added Type Alias AutoGeneratedDomainNameLabelScope
|
|
66
|
+
- Added Type Alias BackupRestoreOperationStatus
|
|
67
|
+
- Added Type Alias CloudHsmClusterSkuFamily
|
|
68
|
+
- Added Type Alias CloudHsmClusterSkuName
|
|
69
|
+
- Added Type Alias CreatedByType
|
|
70
|
+
- Added Type Alias ManagedServiceIdentityType
|
|
71
|
+
- Added Type Alias Origin
|
|
72
|
+
- Added Type Alias PrivateEndpointConnectionProvisioningState
|
|
73
|
+
- Added Type Alias PrivateEndpointServiceConnectionStatus
|
|
74
|
+
- Added Type Alias ProvisioningState
|
|
75
|
+
- Added Type Alias PublicNetworkAccess
|
|
76
|
+
- Added Enum KnownActionType
|
|
77
|
+
- Added Enum KnownActivationState
|
|
78
|
+
- Added Enum KnownAutoGeneratedDomainNameLabelScope
|
|
79
|
+
- Added Enum KnownBackupRestoreOperationStatus
|
|
80
|
+
- Added Enum KnownCloudHsmClusterSkuFamily
|
|
81
|
+
- Added Enum KnownCreatedByType
|
|
82
|
+
- Added Enum KnownManagedServiceIdentityType
|
|
83
|
+
- Added Enum KnownOrigin
|
|
84
|
+
- Added Enum KnownPrivateEndpointConnectionProvisioningState
|
|
85
|
+
- Added Enum KnownPrivateEndpointServiceConnectionStatus
|
|
86
|
+
- Added Enum KnownProvisioningState
|
|
87
|
+
- Added Enum KnownPublicNetworkAccess
|
|
88
|
+
- Added Enum KnownVersions
|
|
89
|
+
### Breaking Changes
|
|
90
|
+
- Class AzureDedicatedHSMResourceProvider no longer has parameter $host
|
|
91
|
+
- Class AzureDedicatedHSMResourceProvider no longer has parameter apiVersion
|
|
92
|
+
- Class AzureDedicatedHSMResourceProvider no longer has parameter dedicatedHsmOperations
|
|
93
|
+
- Class AzureDedicatedHSMResourceProvider no longer has parameter subscriptionId
|
|
94
|
+
- Removed Interface DedicatedHsmListResult
|
|
95
|
+
- Removed Interface DedicatedHsmOperation
|
|
96
|
+
- Removed Interface DedicatedHsmOperationDisplay
|
|
97
|
+
- Removed Interface DedicatedHsmOperationListResult
|
|
98
|
+
- Removed Interface DedicatedHsmOperationsOperations
|
|
99
|
+
- Removed Interface OutboundEnvironmentEndpointCollection
|
|
100
|
+
- Removed Interface ResourceListResult
|
|
101
|
+
- Interface ApiEntityReference no longer has parameter id
|
|
102
|
+
- Interface AzureDedicatedHSMResourceProviderOptionalParams no longer has parameter $host
|
|
103
|
+
- Interface AzureDedicatedHSMResourceProviderOptionalParams no longer has parameter endpoint
|
|
104
|
+
- Interface DedicatedHsmCreateOrUpdateOptionalParams no longer has parameter resumeFrom
|
|
105
|
+
- Interface DedicatedHsmDeleteOptionalParams no longer has parameter resumeFrom
|
|
106
|
+
- Interface DedicatedHsmUpdateOptionalParams no longer has parameter resumeFrom
|
|
107
|
+
- Interface DedicatedHsmUpdateOptionalParams no longer has parameter tags
|
|
108
|
+
- Interface NetworkInterface no longer has parameter id
|
|
109
|
+
- Interface Resource no longer has parameter location
|
|
110
|
+
- Interface Resource no longer has parameter sku
|
|
111
|
+
- Interface Resource no longer has parameter tags
|
|
112
|
+
- Interface Resource no longer has parameter zones
|
|
113
|
+
- Removed Type Alias DedicatedHsm
|
|
114
|
+
- Removed Type Alias DedicatedHsmCreateOrUpdateResponse
|
|
115
|
+
- Removed Type Alias DedicatedHsmGetResponse
|
|
116
|
+
- Removed Type Alias DedicatedHsmListByResourceGroupNextResponse
|
|
117
|
+
- Removed Type Alias DedicatedHsmListByResourceGroupResponse
|
|
118
|
+
- Removed Type Alias DedicatedHsmListBySubscriptionNextResponse
|
|
119
|
+
- Removed Type Alias DedicatedHsmListBySubscriptionResponse
|
|
120
|
+
- Removed Type Alias DedicatedHsmListOutboundNetworkDependenciesEndpointsNextResponse
|
|
121
|
+
- Removed Type Alias DedicatedHsmListOutboundNetworkDependenciesEndpointsResponse
|
|
122
|
+
- Removed Type Alias DedicatedHsmUpdateResponse
|
|
123
|
+
- Removed Type Alias IdentityType
|
|
124
|
+
- Removed Type Alias OperationsListResponse
|
|
125
|
+
- Removed Enum KnownIdentityType
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
3
129
|
## 2.0.0-beta.2 (2024-11-11)
|
|
4
130
|
Compared with version 1.0.0
|
|
5
131
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MIT License
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Azure HardwareSecurityModules client library for JavaScript
|
|
2
2
|
|
|
3
|
-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for
|
|
3
|
+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure HardwareSecurityModules client.
|
|
4
4
|
|
|
5
|
-
The Azure management API provides a RESTful set of web services that interact with
|
|
5
|
+
The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
[
|
|
10
|
-
[
|
|
7
|
+
Key links:
|
|
8
|
+
|
|
9
|
+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hardwaresecuritymodules/arm-hardwaresecuritymodules)
|
|
10
|
+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-hardwaresecuritymodules)
|
|
11
|
+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-hardwaresecuritymodules?view=azure-node-preview)
|
|
12
|
+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hardwaresecuritymodules/arm-hardwaresecuritymodules/samples)
|
|
11
13
|
|
|
12
14
|
## Getting started
|
|
13
15
|
|
|
@@ -24,16 +26,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
|
|
|
24
26
|
|
|
25
27
|
### Install the `@azure/arm-hardwaresecuritymodules` package
|
|
26
28
|
|
|
27
|
-
Install the
|
|
29
|
+
Install the Azure HardwareSecurityModules client library for JavaScript with `npm`:
|
|
28
30
|
|
|
29
31
|
```bash
|
|
30
32
|
npm install @azure/arm-hardwaresecuritymodules
|
|
31
33
|
```
|
|
32
34
|
|
|
33
|
-
### Create and authenticate a `
|
|
35
|
+
### Create and authenticate a `AzureDedicatedHSMResourceProvider`
|
|
34
36
|
|
|
35
|
-
To create a client object to access the
|
|
36
|
-
You can find the endpoint for your
|
|
37
|
+
To create a client object to access the Azure HardwareSecurityModules API, you will need the `endpoint` of your Azure HardwareSecurityModules resource and a `credential`. The Azure HardwareSecurityModules client can use Azure Active Directory credentials to authenticate.
|
|
38
|
+
You can find the endpoint for your Azure HardwareSecurityModules resource in the [Azure Portal][azure_portal].
|
|
37
39
|
|
|
38
40
|
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
|
|
39
41
|
|
|
@@ -43,25 +45,32 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
|
|
|
43
45
|
npm install @azure/identity
|
|
44
46
|
```
|
|
45
47
|
|
|
46
|
-
You will also need to **register a new AAD application and grant access to
|
|
47
|
-
|
|
48
|
+
You will also need to **register a new AAD application and grant access to Azure HardwareSecurityModules** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
49
|
+
|
|
50
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
48
51
|
|
|
49
|
-
|
|
52
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
50
53
|
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
|
|
54
|
+
```ts snippet:ReadmeSampleCreateClient_Node
|
|
55
|
+
import { AzureHSMResourceProvider } from "@azure/arm-hardwaresecuritymodules";
|
|
56
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
55
57
|
|
|
56
58
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
57
59
|
const client = new AzureHSMResourceProvider(new DefaultAzureCredential(), subscriptionId);
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
63
|
+
|
|
64
|
+
```ts snippet:ReadmeSampleCreateClient_Browser
|
|
65
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
66
|
+
import { AzureHSMResourceProvider } from "@azure/arm-hardwaresecuritymodules";
|
|
58
67
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
68
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
69
|
+
const credential = new InteractiveBrowserCredential({
|
|
70
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
71
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
72
|
+
});
|
|
73
|
+
const client = new AzureHSMResourceProvider(credential, subscriptionId);
|
|
65
74
|
```
|
|
66
75
|
|
|
67
76
|
|
|
@@ -70,9 +79,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
70
79
|
|
|
71
80
|
## Key concepts
|
|
72
81
|
|
|
73
|
-
###
|
|
82
|
+
### AzureDedicatedHSMResourceProvider
|
|
74
83
|
|
|
75
|
-
`
|
|
84
|
+
`AzureDedicatedHSMResourceProvider` is the primary interface for developers using the Azure HardwareSecurityModules client library. Explore the methods on this client object to understand the different features of the Azure HardwareSecurityModules service that you can access.
|
|
76
85
|
|
|
77
86
|
## Troubleshooting
|
|
78
87
|
|
|
@@ -80,8 +89,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
80
89
|
|
|
81
90
|
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
82
91
|
|
|
83
|
-
```
|
|
84
|
-
|
|
92
|
+
```ts snippet:SetLogLevel
|
|
93
|
+
import { setLogLevel } from "@azure/logger";
|
|
94
|
+
|
|
85
95
|
setLogLevel("info");
|
|
86
96
|
```
|
|
87
97
|
|
|
@@ -89,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
|
|
|
89
99
|
|
|
90
100
|
## Next steps
|
|
91
101
|
|
|
92
|
-
Please take a look at the [samples](https://github.com/Azure
|
|
102
|
+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hardwaresecuritymodules/arm-hardwaresecuritymodules/samples) directory for detailed examples on how to use this library.
|
|
93
103
|
|
|
94
104
|
## Contributing
|
|
95
105
|
|
|
@@ -99,10 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
99
109
|
|
|
100
110
|
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
101
111
|
|
|
102
|
-

|
|
103
|
-
|
|
104
|
-
[azure_cli]: https://docs.microsoft.com/cli/azure
|
|
105
|
-
[azure_sub]: https://azure.microsoft.com/free/
|
|
106
112
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
107
113
|
[azure_portal]: https://portal.azure.com
|
|
108
114
|
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Client, ClientOptions } from "@azure-rest/core-client";
|
|
2
|
+
import { TokenCredential } from "@azure/core-auth";
|
|
3
|
+
/** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */
|
|
4
|
+
export interface AzureDedicatedHSMResourceProviderContext extends Client {
|
|
5
|
+
/** The API version to use for this operation. */
|
|
6
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
/** The ID of the target subscription. The value must be an UUID. */
|
|
9
|
+
subscriptionId: string;
|
|
10
|
+
}
|
|
11
|
+
/** Optional parameters for the client. */
|
|
12
|
+
export interface AzureDedicatedHSMResourceProviderOptionalParams extends ClientOptions {
|
|
13
|
+
/** The API version to use for this operation. */
|
|
14
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
15
|
+
apiVersion?: string;
|
|
16
|
+
}
|
|
17
|
+
/** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */
|
|
18
|
+
export declare function createAzureDedicatedHSMResourceProvider(credential: TokenCredential, subscriptionId: string, options?: AzureDedicatedHSMResourceProviderOptionalParams): AzureDedicatedHSMResourceProviderContext;
|
|
19
|
+
//# sourceMappingURL=azureDedicatedHSMResourceProviderContext.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { __rest } from "tslib";
|
|
4
|
+
import { logger } from "../logger.js";
|
|
5
|
+
import { getClient } from "@azure-rest/core-client";
|
|
6
|
+
/** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */
|
|
7
|
+
export function createAzureDedicatedHSMResourceProvider(credential, subscriptionId, options = {}) {
|
|
8
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
9
|
+
const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b : "https://management.azure.com";
|
|
10
|
+
const prefixFromOptions = (_c = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _c === void 0 ? void 0 : _c.userAgentPrefix;
|
|
11
|
+
const userAgentInfo = `azsdk-js-arm-hardwaresecuritymodules/1.0.0-beta.1`;
|
|
12
|
+
const userAgentPrefix = prefixFromOptions
|
|
13
|
+
? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
|
|
14
|
+
: `azsdk-js-api ${userAgentInfo}`;
|
|
15
|
+
const _j = Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix }, loggingOptions: { logger: (_e = (_d = options.loggingOptions) === null || _d === void 0 ? void 0 : _d.logger) !== null && _e !== void 0 ? _e : logger.info }, credentials: {
|
|
16
|
+
scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : [`${endpointUrl}/.default`],
|
|
17
|
+
} }), { apiVersion: _ } = _j, updatedOptions = __rest(_j, ["apiVersion"]);
|
|
18
|
+
const clientContext = getClient(endpointUrl, credential, updatedOptions);
|
|
19
|
+
clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
|
|
20
|
+
const apiVersion = (_h = options.apiVersion) !== null && _h !== void 0 ? _h : "2025-03-31";
|
|
21
|
+
clientContext.pipeline.addPolicy({
|
|
22
|
+
name: "ClientApiVersionPolicy",
|
|
23
|
+
sendRequest: (req, next) => {
|
|
24
|
+
// Use the apiVersion defined in request url directly
|
|
25
|
+
// Append one if there is no apiVersion and we have one at client options
|
|
26
|
+
const url = new URL(req.url);
|
|
27
|
+
if (!url.searchParams.get("api-version")) {
|
|
28
|
+
req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
|
|
29
|
+
}
|
|
30
|
+
return next(req);
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
return Object.assign(Object.assign({}, clientContext), { apiVersion,
|
|
34
|
+
subscriptionId });
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=azureDedicatedHSMResourceProviderContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureDedicatedHSMResourceProviderContext.js","sourceRoot":"","sources":["../../../src/api/azureDedicatedHSMResourceProviderContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAmB3E,oHAAoH;AACpH,MAAM,UAAU,uCAAuC,CACrD,UAA2B,EAC3B,cAAsB,EACtB,UAA2D,EAAE;;IAE7D,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,CAAC;IAC1F,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,mDAAmD,CAAC;IAC1E,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,qCACD,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,EACrC,cAAc,EAAE,EAAE,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,mCAAI,MAAM,CAAC,IAAI,EAAE,EACzE,WAAW,EAAE;YACX,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,MAAM,mCAAI,CAAC,GAAG,WAAW,WAAW,CAAC;SACnE,GACF,EAPK,EAAE,UAAU,EAAE,CAAC,OAOpB,EAPyB,cAAc,cAAlC,cAAoC,CAOzC,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,aAAa,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAClE,MAAM,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,YAAY,CAAC;IACtD,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC;QAC/B,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YACzB,qDAAqD;YACrD,yEAAyE;YACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,gCACF,aAAa,KAChB,UAAU;QACV,cAAc,GAC6B,CAAC;AAChD,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */\nexport interface AzureDedicatedHSMResourceProviderContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n}\n\n/** Optional parameters for the client. */\nexport interface AzureDedicatedHSMResourceProviderOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** The Azure management API provides a RESTful set of web services that interact with Hardware Security Modules. */\nexport function createAzureDedicatedHSMResourceProvider(\n credential: TokenCredential,\n subscriptionId: string,\n options: AzureDedicatedHSMResourceProviderOptionalParams = {},\n): AzureDedicatedHSMResourceProviderContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-hardwaresecuritymodules/1.0.0-beta.1`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2025-03-31\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return {\n ...clientContext,\n apiVersion,\n subscriptionId,\n } as AzureDedicatedHSMResourceProviderContext;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterBackupStatus/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 { CloudHsmClusterBackupStatusGetOptionalParams } from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AzureDedicatedHSMResourceProviderContext as Client } from "../index.js";
|
|
2
|
+
import { CloudHsmClusterBackupStatusGetOptionalParams } from "./options.js";
|
|
3
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
4
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
export declare function _getSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, jobId: string, options?: CloudHsmClusterBackupStatusGetOptionalParams): StreamableMethod;
|
|
6
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
7
|
+
/** Gets the backup operation status of the specified Cloud HSM Cluster */
|
|
8
|
+
export declare function get(context: Client, resourceGroupName: string, cloudHsmClusterName: string, jobId: string, options?: CloudHsmClusterBackupStatusGetOptionalParams): PollerLike<OperationState<void>, void>;
|
|
9
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer } from "../../models/models.js";
|
|
4
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
5
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options = {
|
|
8
|
+
requestOptions: {},
|
|
9
|
+
}) {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backupOperationStatus/{jobId}{?api%2Dversion}", {
|
|
12
|
+
subscriptionId: context.subscriptionId,
|
|
13
|
+
resourceGroupName: resourceGroupName,
|
|
14
|
+
cloudHsmClusterName: cloudHsmClusterName,
|
|
15
|
+
jobId: jobId,
|
|
16
|
+
"api%2Dversion": context.apiVersion,
|
|
17
|
+
}, {
|
|
18
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
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
|
+
}
|
|
22
|
+
export async function _getDeserialize(result) {
|
|
23
|
+
const expectedStatuses = ["200", "202"];
|
|
24
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
25
|
+
const error = createRestError(result);
|
|
26
|
+
error.details = errorResponseDeserializer(result.body);
|
|
27
|
+
throw error;
|
|
28
|
+
}
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
/** Gets the backup operation status of the specified Cloud HSM Cluster */
|
|
32
|
+
export function get(context, resourceGroupName, cloudHsmClusterName, jobId, options = {
|
|
33
|
+
requestOptions: {},
|
|
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
|
+
});
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/cloudHsmClusterBackupStatus/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,QAAQ,CACtB,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,KAAa,EACb,UAAwD;IACtD,cAAc,EAAE,EAAE;CACnB;;IAED,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;KACpC,EACD;QACE,aAAa,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,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,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,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO;AACT,CAAC;AAED,0EAA0E;AAC1E,MAAM,UAAU,GAAG,CACjB,OAAe,EACf,iBAAyB,EACzB,mBAA2B,EAC3B,KAAa,EACb,UAAwD;IACtD,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,oBAAoB,CAAC,OAAO,EAAE,eAAe,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE;QACpE,kBAAkB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB;QAC/C,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW;QACjC,kBAAkB,EAAE,GAAG,EAAE,CACvB,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,KAAK,EAAE,OAAO,CAAC;QAC3E,sBAAsB,EAAE,UAAU;KACnC,CAA2C,CAAC;AAC/C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AzureDedicatedHSMResourceProviderContext as Client } from \"../index.js\";\nimport { errorResponseDeserializer } from \"../../models/models.js\";\nimport { CloudHsmClusterBackupStatusGetOptionalParams } 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 _getSend(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n jobId: string,\n options: CloudHsmClusterBackupStatusGetOptionalParams = {\n requestOptions: {},\n },\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,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"202\"];\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/** Gets the backup operation status of the specified Cloud HSM Cluster */\nexport function get(\n context: Client,\n resourceGroupName: string,\n cloudHsmClusterName: string,\n jobId: string,\n options: CloudHsmClusterBackupStatusGetOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _getDeserialize, [\"200\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _getSend(context, resourceGroupName, cloudHsmClusterName, jobId, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface CloudHsmClusterBackupStatusGetOptionalParams extends OperationOptions {
|
|
4
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
5
|
+
updateIntervalInMs?: number;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +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 {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { $delete, create, get } from "./operations.js";
|
|
2
|
+
export { CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams, CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams, CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
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";
|
|
6
|
+
export declare function _$deleteSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
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
|
+
export declare function $delete(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
15
|
+
export declare function _createSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, properties: PrivateEndpointConnection, options?: CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams): StreamableMethod;
|
|
16
|
+
export declare function _createDeserialize(result: PathUncheckedResponse): Promise<PrivateEndpointConnection>;
|
|
17
|
+
/** Creates or updates the private endpoint connection for the Cloud Hsm Cluster. */
|
|
18
|
+
export declare function create(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, properties: PrivateEndpointConnection, options?: CloudHsmClusterPrivateEndpointConnectionsCreateOptionalParams): Promise<PrivateEndpointConnection>;
|
|
19
|
+
export declare function _getSend(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams): StreamableMethod;
|
|
20
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<PrivateEndpointConnection>;
|
|
21
|
+
/** Gets the private endpoint connection for the Cloud Hsm Cluster. */
|
|
22
|
+
export declare function get(context: Client, resourceGroupName: string, cloudHsmClusterName: string, peConnectionName: string, options?: CloudHsmClusterPrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnection>;
|
|
23
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, privateEndpointConnectionSerializer, privateEndpointConnectionDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
5
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _$deleteSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
|
|
8
|
+
requestOptions: {},
|
|
9
|
+
}) {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
|
|
12
|
+
subscriptionId: context.subscriptionId,
|
|
13
|
+
resourceGroupName: resourceGroupName,
|
|
14
|
+
cloudHsmClusterName: cloudHsmClusterName,
|
|
15
|
+
peConnectionName: peConnectionName,
|
|
16
|
+
"api%2Dversion": context.apiVersion,
|
|
17
|
+
}, {
|
|
18
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
19
|
+
});
|
|
20
|
+
return context.path(path).delete(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
21
|
+
}
|
|
22
|
+
export async function _$deleteDeserialize(result) {
|
|
23
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
24
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
25
|
+
const error = createRestError(result);
|
|
26
|
+
error.details = errorResponseDeserializer(result.body);
|
|
27
|
+
throw error;
|
|
28
|
+
}
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
/** 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
|
+
}) {
|
|
40
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
41
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
42
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
43
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options),
|
|
44
|
+
resourceLocationConfig: "location",
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
export function _createSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options = {
|
|
48
|
+
requestOptions: {},
|
|
49
|
+
}) {
|
|
50
|
+
var _a, _b;
|
|
51
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
|
|
52
|
+
subscriptionId: context.subscriptionId,
|
|
53
|
+
resourceGroupName: resourceGroupName,
|
|
54
|
+
cloudHsmClusterName: cloudHsmClusterName,
|
|
55
|
+
peConnectionName: peConnectionName,
|
|
56
|
+
"api%2Dversion": context.apiVersion,
|
|
57
|
+
}, {
|
|
58
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
59
|
+
});
|
|
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
|
+
}
|
|
62
|
+
export async function _createDeserialize(result) {
|
|
63
|
+
const expectedStatuses = ["200"];
|
|
64
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
65
|
+
const error = createRestError(result);
|
|
66
|
+
error.details = errorResponseDeserializer(result.body);
|
|
67
|
+
throw error;
|
|
68
|
+
}
|
|
69
|
+
return privateEndpointConnectionDeserializer(result.body);
|
|
70
|
+
}
|
|
71
|
+
/** 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
|
+
}) {
|
|
75
|
+
const result = await _createSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options);
|
|
76
|
+
return _createDeserialize(result);
|
|
77
|
+
}
|
|
78
|
+
export function _getSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
|
|
79
|
+
requestOptions: {},
|
|
80
|
+
}) {
|
|
81
|
+
var _a, _b;
|
|
82
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}{?api%2Dversion}", {
|
|
83
|
+
subscriptionId: context.subscriptionId,
|
|
84
|
+
resourceGroupName: resourceGroupName,
|
|
85
|
+
cloudHsmClusterName: cloudHsmClusterName,
|
|
86
|
+
peConnectionName: peConnectionName,
|
|
87
|
+
"api%2Dversion": context.apiVersion,
|
|
88
|
+
}, {
|
|
89
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
90
|
+
});
|
|
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
|
+
}
|
|
93
|
+
export async function _getDeserialize(result) {
|
|
94
|
+
const expectedStatuses = ["200"];
|
|
95
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
96
|
+
const error = createRestError(result);
|
|
97
|
+
error.details = errorResponseDeserializer(result.body);
|
|
98
|
+
throw error;
|
|
99
|
+
}
|
|
100
|
+
return privateEndpointConnectionDeserializer(result.body);
|
|
101
|
+
}
|
|
102
|
+
/** Gets the private endpoint connection for the Cloud Hsm Cluster. */
|
|
103
|
+
export async function get(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options = {
|
|
104
|
+
requestOptions: {},
|
|
105
|
+
}) {
|
|
106
|
+
const result = await _getSend(context, resourceGroupName, cloudHsmClusterName, peConnectionName, options);
|
|
107
|
+
return _getDeserialize(result);
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=operations.js.map
|