@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/dist/index.js
DELETED
|
@@ -1,4363 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var coreClient = require('@azure/core-client');
|
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
-
var coreLro = require('@azure/core-lro');
|
|
9
|
-
|
|
10
|
-
function _interopNamespaceDefault(e) {
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n.default = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Copyright (c) Microsoft Corporation.
|
|
32
|
-
* Licensed under the MIT License.
|
|
33
|
-
*
|
|
34
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
|
-
*/
|
|
37
|
-
const pageMap = new WeakMap();
|
|
38
|
-
/**
|
|
39
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
-
* returns a continuation token that can be used to begin paging from
|
|
41
|
-
* that point later.
|
|
42
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
44
|
-
*/
|
|
45
|
-
function getContinuationToken(page) {
|
|
46
|
-
var _a;
|
|
47
|
-
if (typeof page !== "object" || page === null) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
|
-
}
|
|
52
|
-
function setContinuationToken(page, continuationToken) {
|
|
53
|
-
var _a;
|
|
54
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
58
|
-
pageInfo.continuationToken = continuationToken;
|
|
59
|
-
pageMap.set(page, pageInfo);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/*
|
|
63
|
-
* Copyright (c) Microsoft Corporation.
|
|
64
|
-
* Licensed under the MIT License.
|
|
65
|
-
*
|
|
66
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
67
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
68
|
-
*/
|
|
69
|
-
/** Known values of {@link ActivationState} that the service accepts. */
|
|
70
|
-
exports.KnownActivationState = void 0;
|
|
71
|
-
(function (KnownActivationState) {
|
|
72
|
-
/** NotDefined */
|
|
73
|
-
KnownActivationState["NotDefined"] = "NotDefined";
|
|
74
|
-
/** NotActivated */
|
|
75
|
-
KnownActivationState["NotActivated"] = "NotActivated";
|
|
76
|
-
/** Active */
|
|
77
|
-
KnownActivationState["Active"] = "Active";
|
|
78
|
-
/** Failed */
|
|
79
|
-
KnownActivationState["Failed"] = "Failed";
|
|
80
|
-
/** Unknown */
|
|
81
|
-
KnownActivationState["Unknown"] = "Unknown";
|
|
82
|
-
})(exports.KnownActivationState || (exports.KnownActivationState = {}));
|
|
83
|
-
/** Known values of {@link AutoGeneratedDomainNameLabelScope} that the service accepts. */
|
|
84
|
-
exports.KnownAutoGeneratedDomainNameLabelScope = void 0;
|
|
85
|
-
(function (KnownAutoGeneratedDomainNameLabelScope) {
|
|
86
|
-
/** TenantReuse */
|
|
87
|
-
KnownAutoGeneratedDomainNameLabelScope["TenantReuse"] = "TenantReuse";
|
|
88
|
-
/** SubscriptionReuse */
|
|
89
|
-
KnownAutoGeneratedDomainNameLabelScope["SubscriptionReuse"] = "SubscriptionReuse";
|
|
90
|
-
/** ResourceGroupReuse */
|
|
91
|
-
KnownAutoGeneratedDomainNameLabelScope["ResourceGroupReuse"] = "ResourceGroupReuse";
|
|
92
|
-
/** NoReuse */
|
|
93
|
-
KnownAutoGeneratedDomainNameLabelScope["NoReuse"] = "NoReuse";
|
|
94
|
-
})(exports.KnownAutoGeneratedDomainNameLabelScope || (exports.KnownAutoGeneratedDomainNameLabelScope = {}));
|
|
95
|
-
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
96
|
-
exports.KnownPrivateEndpointServiceConnectionStatus = void 0;
|
|
97
|
-
(function (KnownPrivateEndpointServiceConnectionStatus) {
|
|
98
|
-
/** Pending */
|
|
99
|
-
KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
|
|
100
|
-
/** Approved */
|
|
101
|
-
KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
|
|
102
|
-
/** Rejected */
|
|
103
|
-
KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
|
|
104
|
-
})(exports.KnownPrivateEndpointServiceConnectionStatus || (exports.KnownPrivateEndpointServiceConnectionStatus = {}));
|
|
105
|
-
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
106
|
-
exports.KnownPrivateEndpointConnectionProvisioningState = void 0;
|
|
107
|
-
(function (KnownPrivateEndpointConnectionProvisioningState) {
|
|
108
|
-
/** Succeeded */
|
|
109
|
-
KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
|
|
110
|
-
/** Creating */
|
|
111
|
-
KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
|
|
112
|
-
/** Deleting */
|
|
113
|
-
KnownPrivateEndpointConnectionProvisioningState["Deleting"] = "Deleting";
|
|
114
|
-
/** Failed */
|
|
115
|
-
KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
|
|
116
|
-
/** Updating */
|
|
117
|
-
KnownPrivateEndpointConnectionProvisioningState["Updating"] = "Updating";
|
|
118
|
-
/** InternalError */
|
|
119
|
-
KnownPrivateEndpointConnectionProvisioningState["InternalError"] = "InternalError";
|
|
120
|
-
/** Canceled */
|
|
121
|
-
KnownPrivateEndpointConnectionProvisioningState["Canceled"] = "Canceled";
|
|
122
|
-
})(exports.KnownPrivateEndpointConnectionProvisioningState || (exports.KnownPrivateEndpointConnectionProvisioningState = {}));
|
|
123
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
124
|
-
exports.KnownCreatedByType = void 0;
|
|
125
|
-
(function (KnownCreatedByType) {
|
|
126
|
-
/** User */
|
|
127
|
-
KnownCreatedByType["User"] = "User";
|
|
128
|
-
/** Application */
|
|
129
|
-
KnownCreatedByType["Application"] = "Application";
|
|
130
|
-
/** ManagedIdentity */
|
|
131
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
132
|
-
/** Key */
|
|
133
|
-
KnownCreatedByType["Key"] = "Key";
|
|
134
|
-
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
135
|
-
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
136
|
-
exports.KnownProvisioningState = void 0;
|
|
137
|
-
(function (KnownProvisioningState) {
|
|
138
|
-
/** Provisioning */
|
|
139
|
-
KnownProvisioningState["Provisioning"] = "Provisioning";
|
|
140
|
-
/** Succeeded */
|
|
141
|
-
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
142
|
-
/** Failed */
|
|
143
|
-
KnownProvisioningState["Failed"] = "Failed";
|
|
144
|
-
/** Deleting */
|
|
145
|
-
KnownProvisioningState["Deleting"] = "Deleting";
|
|
146
|
-
/** Canceled */
|
|
147
|
-
KnownProvisioningState["Canceled"] = "Canceled";
|
|
148
|
-
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
149
|
-
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
150
|
-
exports.KnownPublicNetworkAccess = void 0;
|
|
151
|
-
(function (KnownPublicNetworkAccess) {
|
|
152
|
-
/** Disabled */
|
|
153
|
-
KnownPublicNetworkAccess["Disabled"] = "Disabled";
|
|
154
|
-
})(exports.KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = {}));
|
|
155
|
-
/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
|
|
156
|
-
exports.KnownManagedServiceIdentityType = void 0;
|
|
157
|
-
(function (KnownManagedServiceIdentityType) {
|
|
158
|
-
/** None */
|
|
159
|
-
KnownManagedServiceIdentityType["None"] = "None";
|
|
160
|
-
/** SystemAssigned */
|
|
161
|
-
KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
162
|
-
/** UserAssigned */
|
|
163
|
-
KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
|
|
164
|
-
/** SystemAssignedUserAssigned */
|
|
165
|
-
KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
|
|
166
|
-
})(exports.KnownManagedServiceIdentityType || (exports.KnownManagedServiceIdentityType = {}));
|
|
167
|
-
/** Known values of {@link CloudHsmClusterSkuFamily} that the service accepts. */
|
|
168
|
-
exports.KnownCloudHsmClusterSkuFamily = void 0;
|
|
169
|
-
(function (KnownCloudHsmClusterSkuFamily) {
|
|
170
|
-
/** B */
|
|
171
|
-
KnownCloudHsmClusterSkuFamily["B"] = "B";
|
|
172
|
-
})(exports.KnownCloudHsmClusterSkuFamily || (exports.KnownCloudHsmClusterSkuFamily = {}));
|
|
173
|
-
/** Known values of {@link BackupRestoreOperationStatus} that the service accepts. */
|
|
174
|
-
exports.KnownBackupRestoreOperationStatus = void 0;
|
|
175
|
-
(function (KnownBackupRestoreOperationStatus) {
|
|
176
|
-
/** InProgress */
|
|
177
|
-
KnownBackupRestoreOperationStatus["InProgress"] = "InProgress";
|
|
178
|
-
/** Succeeded */
|
|
179
|
-
KnownBackupRestoreOperationStatus["Succeeded"] = "Succeeded";
|
|
180
|
-
/** Failed */
|
|
181
|
-
KnownBackupRestoreOperationStatus["Failed"] = "Failed";
|
|
182
|
-
/** Cancelled */
|
|
183
|
-
KnownBackupRestoreOperationStatus["Cancelled"] = "Cancelled";
|
|
184
|
-
})(exports.KnownBackupRestoreOperationStatus || (exports.KnownBackupRestoreOperationStatus = {}));
|
|
185
|
-
/** Known values of {@link SkuName} that the service accepts. */
|
|
186
|
-
exports.KnownSkuName = void 0;
|
|
187
|
-
(function (KnownSkuName) {
|
|
188
|
-
/** The dedicated HSM is a Safenet Luna Network HSM A790 device. */
|
|
189
|
-
KnownSkuName["SafeNetLunaNetworkHSMA790"] = "SafeNet Luna Network HSM A790";
|
|
190
|
-
/** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 60 calls per second. */
|
|
191
|
-
KnownSkuName["PayShield10KLMK1CPS60"] = "payShield10K_LMK1_CPS60";
|
|
192
|
-
/** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 250 calls per second. */
|
|
193
|
-
KnownSkuName["PayShield10KLMK1CPS250"] = "payShield10K_LMK1_CPS250";
|
|
194
|
-
/** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 2500 calls per second. */
|
|
195
|
-
KnownSkuName["PayShield10KLMK1CPS2500"] = "payShield10K_LMK1_CPS2500";
|
|
196
|
-
/** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 60 calls per second. */
|
|
197
|
-
KnownSkuName["PayShield10KLMK2CPS60"] = "payShield10K_LMK2_CPS60";
|
|
198
|
-
/** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 250 calls per second. */
|
|
199
|
-
KnownSkuName["PayShield10KLMK2CPS250"] = "payShield10K_LMK2_CPS250";
|
|
200
|
-
/** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 2500 calls per second. */
|
|
201
|
-
KnownSkuName["PayShield10KLMK2CPS2500"] = "payShield10K_LMK2_CPS2500";
|
|
202
|
-
})(exports.KnownSkuName || (exports.KnownSkuName = {}));
|
|
203
|
-
/** Known values of {@link JsonWebKeyType} that the service accepts. */
|
|
204
|
-
exports.KnownJsonWebKeyType = void 0;
|
|
205
|
-
(function (KnownJsonWebKeyType) {
|
|
206
|
-
/** The dedicated HSM has been fully provisioned. */
|
|
207
|
-
KnownJsonWebKeyType["Succeeded"] = "Succeeded";
|
|
208
|
-
/** The dedicated HSM is currently being provisioned. */
|
|
209
|
-
KnownJsonWebKeyType["Provisioning"] = "Provisioning";
|
|
210
|
-
/** A device is currently being allocated for the dedicated HSM resource. */
|
|
211
|
-
KnownJsonWebKeyType["Allocating"] = "Allocating";
|
|
212
|
-
/** The dedicated HSM is being connected to the virtual network. */
|
|
213
|
-
KnownJsonWebKeyType["Connecting"] = "Connecting";
|
|
214
|
-
/** Provisioning of the dedicated HSM has failed. */
|
|
215
|
-
KnownJsonWebKeyType["Failed"] = "Failed";
|
|
216
|
-
/** Validating the subscription has sufficient quota to allocate a dedicated HSM device. */
|
|
217
|
-
KnownJsonWebKeyType["CheckingQuota"] = "CheckingQuota";
|
|
218
|
-
/** The dedicated HSM is currently being deleted. */
|
|
219
|
-
KnownJsonWebKeyType["Deleting"] = "Deleting";
|
|
220
|
-
})(exports.KnownJsonWebKeyType || (exports.KnownJsonWebKeyType = {}));
|
|
221
|
-
/** Known values of {@link Origin} that the service accepts. */
|
|
222
|
-
exports.KnownOrigin = void 0;
|
|
223
|
-
(function (KnownOrigin) {
|
|
224
|
-
/** User */
|
|
225
|
-
KnownOrigin["User"] = "user";
|
|
226
|
-
/** System */
|
|
227
|
-
KnownOrigin["System"] = "system";
|
|
228
|
-
/** UserSystem */
|
|
229
|
-
KnownOrigin["UserSystem"] = "user,system";
|
|
230
|
-
})(exports.KnownOrigin || (exports.KnownOrigin = {}));
|
|
231
|
-
/** Known values of {@link ActionType} that the service accepts. */
|
|
232
|
-
exports.KnownActionType = void 0;
|
|
233
|
-
(function (KnownActionType) {
|
|
234
|
-
/** Internal */
|
|
235
|
-
KnownActionType["Internal"] = "Internal";
|
|
236
|
-
})(exports.KnownActionType || (exports.KnownActionType = {}));
|
|
237
|
-
/** Known values of {@link IdentityType} that the service accepts. */
|
|
238
|
-
exports.KnownIdentityType = void 0;
|
|
239
|
-
(function (KnownIdentityType) {
|
|
240
|
-
/** User */
|
|
241
|
-
KnownIdentityType["User"] = "User";
|
|
242
|
-
/** Application */
|
|
243
|
-
KnownIdentityType["Application"] = "Application";
|
|
244
|
-
/** ManagedIdentity */
|
|
245
|
-
KnownIdentityType["ManagedIdentity"] = "ManagedIdentity";
|
|
246
|
-
/** Key */
|
|
247
|
-
KnownIdentityType["Key"] = "Key";
|
|
248
|
-
})(exports.KnownIdentityType || (exports.KnownIdentityType = {}));
|
|
249
|
-
|
|
250
|
-
/*
|
|
251
|
-
* Copyright (c) Microsoft Corporation.
|
|
252
|
-
* Licensed under the MIT License.
|
|
253
|
-
*
|
|
254
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
255
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
256
|
-
*/
|
|
257
|
-
const CloudHsmProperties = {
|
|
258
|
-
type: {
|
|
259
|
-
name: "Composite",
|
|
260
|
-
className: "CloudHsmProperties",
|
|
261
|
-
modelProperties: {
|
|
262
|
-
fqdn: {
|
|
263
|
-
serializedName: "fqdn",
|
|
264
|
-
type: {
|
|
265
|
-
name: "String",
|
|
266
|
-
},
|
|
267
|
-
},
|
|
268
|
-
state: {
|
|
269
|
-
serializedName: "state",
|
|
270
|
-
type: {
|
|
271
|
-
name: "String",
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
stateMessage: {
|
|
275
|
-
serializedName: "stateMessage",
|
|
276
|
-
type: {
|
|
277
|
-
name: "String",
|
|
278
|
-
},
|
|
279
|
-
},
|
|
280
|
-
},
|
|
281
|
-
},
|
|
282
|
-
};
|
|
283
|
-
const PrivateEndpoint = {
|
|
284
|
-
type: {
|
|
285
|
-
name: "Composite",
|
|
286
|
-
className: "PrivateEndpoint",
|
|
287
|
-
modelProperties: {
|
|
288
|
-
id: {
|
|
289
|
-
serializedName: "id",
|
|
290
|
-
readOnly: true,
|
|
291
|
-
type: {
|
|
292
|
-
name: "String",
|
|
293
|
-
},
|
|
294
|
-
},
|
|
295
|
-
},
|
|
296
|
-
},
|
|
297
|
-
};
|
|
298
|
-
const PrivateLinkServiceConnectionState = {
|
|
299
|
-
type: {
|
|
300
|
-
name: "Composite",
|
|
301
|
-
className: "PrivateLinkServiceConnectionState",
|
|
302
|
-
modelProperties: {
|
|
303
|
-
status: {
|
|
304
|
-
serializedName: "status",
|
|
305
|
-
type: {
|
|
306
|
-
name: "String",
|
|
307
|
-
},
|
|
308
|
-
},
|
|
309
|
-
description: {
|
|
310
|
-
serializedName: "description",
|
|
311
|
-
type: {
|
|
312
|
-
name: "String",
|
|
313
|
-
},
|
|
314
|
-
},
|
|
315
|
-
actionsRequired: {
|
|
316
|
-
serializedName: "actionsRequired",
|
|
317
|
-
type: {
|
|
318
|
-
name: "String",
|
|
319
|
-
},
|
|
320
|
-
},
|
|
321
|
-
},
|
|
322
|
-
},
|
|
323
|
-
};
|
|
324
|
-
const Resource = {
|
|
325
|
-
type: {
|
|
326
|
-
name: "Composite",
|
|
327
|
-
className: "Resource",
|
|
328
|
-
modelProperties: {
|
|
329
|
-
id: {
|
|
330
|
-
serializedName: "id",
|
|
331
|
-
readOnly: true,
|
|
332
|
-
type: {
|
|
333
|
-
name: "String",
|
|
334
|
-
},
|
|
335
|
-
},
|
|
336
|
-
name: {
|
|
337
|
-
serializedName: "name",
|
|
338
|
-
readOnly: true,
|
|
339
|
-
type: {
|
|
340
|
-
name: "String",
|
|
341
|
-
},
|
|
342
|
-
},
|
|
343
|
-
type: {
|
|
344
|
-
serializedName: "type",
|
|
345
|
-
readOnly: true,
|
|
346
|
-
type: {
|
|
347
|
-
name: "String",
|
|
348
|
-
},
|
|
349
|
-
},
|
|
350
|
-
systemData: {
|
|
351
|
-
serializedName: "systemData",
|
|
352
|
-
type: {
|
|
353
|
-
name: "Composite",
|
|
354
|
-
className: "SystemData",
|
|
355
|
-
},
|
|
356
|
-
},
|
|
357
|
-
},
|
|
358
|
-
},
|
|
359
|
-
};
|
|
360
|
-
const SystemData = {
|
|
361
|
-
type: {
|
|
362
|
-
name: "Composite",
|
|
363
|
-
className: "SystemData",
|
|
364
|
-
modelProperties: {
|
|
365
|
-
createdBy: {
|
|
366
|
-
serializedName: "createdBy",
|
|
367
|
-
type: {
|
|
368
|
-
name: "String",
|
|
369
|
-
},
|
|
370
|
-
},
|
|
371
|
-
createdByType: {
|
|
372
|
-
serializedName: "createdByType",
|
|
373
|
-
type: {
|
|
374
|
-
name: "String",
|
|
375
|
-
},
|
|
376
|
-
},
|
|
377
|
-
createdAt: {
|
|
378
|
-
serializedName: "createdAt",
|
|
379
|
-
type: {
|
|
380
|
-
name: "DateTime",
|
|
381
|
-
},
|
|
382
|
-
},
|
|
383
|
-
lastModifiedBy: {
|
|
384
|
-
serializedName: "lastModifiedBy",
|
|
385
|
-
type: {
|
|
386
|
-
name: "String",
|
|
387
|
-
},
|
|
388
|
-
},
|
|
389
|
-
lastModifiedByType: {
|
|
390
|
-
serializedName: "lastModifiedByType",
|
|
391
|
-
type: {
|
|
392
|
-
name: "String",
|
|
393
|
-
},
|
|
394
|
-
},
|
|
395
|
-
lastModifiedAt: {
|
|
396
|
-
serializedName: "lastModifiedAt",
|
|
397
|
-
type: {
|
|
398
|
-
name: "DateTime",
|
|
399
|
-
},
|
|
400
|
-
},
|
|
401
|
-
},
|
|
402
|
-
},
|
|
403
|
-
};
|
|
404
|
-
const ManagedServiceIdentity = {
|
|
405
|
-
type: {
|
|
406
|
-
name: "Composite",
|
|
407
|
-
className: "ManagedServiceIdentity",
|
|
408
|
-
modelProperties: {
|
|
409
|
-
principalId: {
|
|
410
|
-
serializedName: "principalId",
|
|
411
|
-
readOnly: true,
|
|
412
|
-
type: {
|
|
413
|
-
name: "Uuid",
|
|
414
|
-
},
|
|
415
|
-
},
|
|
416
|
-
tenantId: {
|
|
417
|
-
serializedName: "tenantId",
|
|
418
|
-
readOnly: true,
|
|
419
|
-
type: {
|
|
420
|
-
name: "Uuid",
|
|
421
|
-
},
|
|
422
|
-
},
|
|
423
|
-
type: {
|
|
424
|
-
serializedName: "type",
|
|
425
|
-
required: true,
|
|
426
|
-
type: {
|
|
427
|
-
name: "String",
|
|
428
|
-
},
|
|
429
|
-
},
|
|
430
|
-
userAssignedIdentities: {
|
|
431
|
-
serializedName: "userAssignedIdentities",
|
|
432
|
-
type: {
|
|
433
|
-
name: "Dictionary",
|
|
434
|
-
value: {
|
|
435
|
-
type: { name: "Composite", className: "UserAssignedIdentity" },
|
|
436
|
-
},
|
|
437
|
-
},
|
|
438
|
-
},
|
|
439
|
-
},
|
|
440
|
-
},
|
|
441
|
-
};
|
|
442
|
-
const UserAssignedIdentity = {
|
|
443
|
-
type: {
|
|
444
|
-
name: "Composite",
|
|
445
|
-
className: "UserAssignedIdentity",
|
|
446
|
-
modelProperties: {
|
|
447
|
-
principalId: {
|
|
448
|
-
serializedName: "principalId",
|
|
449
|
-
readOnly: true,
|
|
450
|
-
type: {
|
|
451
|
-
name: "Uuid",
|
|
452
|
-
},
|
|
453
|
-
},
|
|
454
|
-
clientId: {
|
|
455
|
-
serializedName: "clientId",
|
|
456
|
-
readOnly: true,
|
|
457
|
-
type: {
|
|
458
|
-
name: "Uuid",
|
|
459
|
-
},
|
|
460
|
-
},
|
|
461
|
-
},
|
|
462
|
-
},
|
|
463
|
-
};
|
|
464
|
-
const CloudHsmClusterSku = {
|
|
465
|
-
type: {
|
|
466
|
-
name: "Composite",
|
|
467
|
-
className: "CloudHsmClusterSku",
|
|
468
|
-
modelProperties: {
|
|
469
|
-
family: {
|
|
470
|
-
serializedName: "family",
|
|
471
|
-
required: true,
|
|
472
|
-
type: {
|
|
473
|
-
name: "String",
|
|
474
|
-
},
|
|
475
|
-
},
|
|
476
|
-
name: {
|
|
477
|
-
serializedName: "name",
|
|
478
|
-
required: true,
|
|
479
|
-
type: {
|
|
480
|
-
name: "Enum",
|
|
481
|
-
allowedValues: ["Standard_B1", "Standard B10"],
|
|
482
|
-
},
|
|
483
|
-
},
|
|
484
|
-
capacity: {
|
|
485
|
-
serializedName: "capacity",
|
|
486
|
-
type: {
|
|
487
|
-
name: "Number",
|
|
488
|
-
},
|
|
489
|
-
},
|
|
490
|
-
},
|
|
491
|
-
},
|
|
492
|
-
};
|
|
493
|
-
const ErrorResponse = {
|
|
494
|
-
type: {
|
|
495
|
-
name: "Composite",
|
|
496
|
-
className: "ErrorResponse",
|
|
497
|
-
modelProperties: {
|
|
498
|
-
error: {
|
|
499
|
-
serializedName: "error",
|
|
500
|
-
type: {
|
|
501
|
-
name: "Composite",
|
|
502
|
-
className: "ErrorDetail",
|
|
503
|
-
},
|
|
504
|
-
},
|
|
505
|
-
},
|
|
506
|
-
},
|
|
507
|
-
};
|
|
508
|
-
const ErrorDetail = {
|
|
509
|
-
type: {
|
|
510
|
-
name: "Composite",
|
|
511
|
-
className: "ErrorDetail",
|
|
512
|
-
modelProperties: {
|
|
513
|
-
code: {
|
|
514
|
-
serializedName: "code",
|
|
515
|
-
readOnly: true,
|
|
516
|
-
type: {
|
|
517
|
-
name: "String",
|
|
518
|
-
},
|
|
519
|
-
},
|
|
520
|
-
message: {
|
|
521
|
-
serializedName: "message",
|
|
522
|
-
readOnly: true,
|
|
523
|
-
type: {
|
|
524
|
-
name: "String",
|
|
525
|
-
},
|
|
526
|
-
},
|
|
527
|
-
target: {
|
|
528
|
-
serializedName: "target",
|
|
529
|
-
readOnly: true,
|
|
530
|
-
type: {
|
|
531
|
-
name: "String",
|
|
532
|
-
},
|
|
533
|
-
},
|
|
534
|
-
details: {
|
|
535
|
-
serializedName: "details",
|
|
536
|
-
readOnly: true,
|
|
537
|
-
type: {
|
|
538
|
-
name: "Sequence",
|
|
539
|
-
element: {
|
|
540
|
-
type: {
|
|
541
|
-
name: "Composite",
|
|
542
|
-
className: "ErrorDetail",
|
|
543
|
-
},
|
|
544
|
-
},
|
|
545
|
-
},
|
|
546
|
-
},
|
|
547
|
-
additionalInfo: {
|
|
548
|
-
serializedName: "additionalInfo",
|
|
549
|
-
readOnly: true,
|
|
550
|
-
type: {
|
|
551
|
-
name: "Sequence",
|
|
552
|
-
element: {
|
|
553
|
-
type: {
|
|
554
|
-
name: "Composite",
|
|
555
|
-
className: "ErrorAdditionalInfo",
|
|
556
|
-
},
|
|
557
|
-
},
|
|
558
|
-
},
|
|
559
|
-
},
|
|
560
|
-
},
|
|
561
|
-
},
|
|
562
|
-
};
|
|
563
|
-
const ErrorAdditionalInfo = {
|
|
564
|
-
type: {
|
|
565
|
-
name: "Composite",
|
|
566
|
-
className: "ErrorAdditionalInfo",
|
|
567
|
-
modelProperties: {
|
|
568
|
-
type: {
|
|
569
|
-
serializedName: "type",
|
|
570
|
-
readOnly: true,
|
|
571
|
-
type: {
|
|
572
|
-
name: "String",
|
|
573
|
-
},
|
|
574
|
-
},
|
|
575
|
-
info: {
|
|
576
|
-
serializedName: "info",
|
|
577
|
-
readOnly: true,
|
|
578
|
-
type: {
|
|
579
|
-
name: "Dictionary",
|
|
580
|
-
value: { type: { name: "any" } },
|
|
581
|
-
},
|
|
582
|
-
},
|
|
583
|
-
},
|
|
584
|
-
},
|
|
585
|
-
};
|
|
586
|
-
const CloudHsmClusterPatchParameters = {
|
|
587
|
-
type: {
|
|
588
|
-
name: "Composite",
|
|
589
|
-
className: "CloudHsmClusterPatchParameters",
|
|
590
|
-
modelProperties: {
|
|
591
|
-
tags: {
|
|
592
|
-
serializedName: "tags",
|
|
593
|
-
type: {
|
|
594
|
-
name: "Dictionary",
|
|
595
|
-
value: { type: { name: "String" } },
|
|
596
|
-
},
|
|
597
|
-
},
|
|
598
|
-
identity: {
|
|
599
|
-
serializedName: "identity",
|
|
600
|
-
type: {
|
|
601
|
-
name: "Composite",
|
|
602
|
-
className: "ManagedServiceIdentity",
|
|
603
|
-
},
|
|
604
|
-
},
|
|
605
|
-
},
|
|
606
|
-
},
|
|
607
|
-
};
|
|
608
|
-
const CloudHsmClusterListResult = {
|
|
609
|
-
type: {
|
|
610
|
-
name: "Composite",
|
|
611
|
-
className: "CloudHsmClusterListResult",
|
|
612
|
-
modelProperties: {
|
|
613
|
-
value: {
|
|
614
|
-
serializedName: "value",
|
|
615
|
-
type: {
|
|
616
|
-
name: "Sequence",
|
|
617
|
-
element: {
|
|
618
|
-
type: {
|
|
619
|
-
name: "Composite",
|
|
620
|
-
className: "CloudHsmCluster",
|
|
621
|
-
},
|
|
622
|
-
},
|
|
623
|
-
},
|
|
624
|
-
},
|
|
625
|
-
nextLink: {
|
|
626
|
-
serializedName: "nextLink",
|
|
627
|
-
type: {
|
|
628
|
-
name: "String",
|
|
629
|
-
},
|
|
630
|
-
},
|
|
631
|
-
},
|
|
632
|
-
},
|
|
633
|
-
};
|
|
634
|
-
const PrivateLinkResourceListResult = {
|
|
635
|
-
type: {
|
|
636
|
-
name: "Composite",
|
|
637
|
-
className: "PrivateLinkResourceListResult",
|
|
638
|
-
modelProperties: {
|
|
639
|
-
value: {
|
|
640
|
-
serializedName: "value",
|
|
641
|
-
type: {
|
|
642
|
-
name: "Sequence",
|
|
643
|
-
element: {
|
|
644
|
-
type: {
|
|
645
|
-
name: "Composite",
|
|
646
|
-
className: "PrivateLinkResource",
|
|
647
|
-
},
|
|
648
|
-
},
|
|
649
|
-
},
|
|
650
|
-
},
|
|
651
|
-
nextLink: {
|
|
652
|
-
serializedName: "nextLink",
|
|
653
|
-
readOnly: true,
|
|
654
|
-
type: {
|
|
655
|
-
name: "String",
|
|
656
|
-
},
|
|
657
|
-
},
|
|
658
|
-
},
|
|
659
|
-
},
|
|
660
|
-
};
|
|
661
|
-
const PrivateEndpointConnectionListResult = {
|
|
662
|
-
type: {
|
|
663
|
-
name: "Composite",
|
|
664
|
-
className: "PrivateEndpointConnectionListResult",
|
|
665
|
-
modelProperties: {
|
|
666
|
-
value: {
|
|
667
|
-
serializedName: "value",
|
|
668
|
-
type: {
|
|
669
|
-
name: "Sequence",
|
|
670
|
-
element: {
|
|
671
|
-
type: {
|
|
672
|
-
name: "Composite",
|
|
673
|
-
className: "PrivateEndpointConnection",
|
|
674
|
-
},
|
|
675
|
-
},
|
|
676
|
-
},
|
|
677
|
-
},
|
|
678
|
-
nextLink: {
|
|
679
|
-
serializedName: "nextLink",
|
|
680
|
-
type: {
|
|
681
|
-
name: "String",
|
|
682
|
-
},
|
|
683
|
-
},
|
|
684
|
-
},
|
|
685
|
-
},
|
|
686
|
-
};
|
|
687
|
-
const BackupRestoreRequestBaseProperties = {
|
|
688
|
-
type: {
|
|
689
|
-
name: "Composite",
|
|
690
|
-
className: "BackupRestoreRequestBaseProperties",
|
|
691
|
-
modelProperties: {
|
|
692
|
-
azureStorageBlobContainerUri: {
|
|
693
|
-
serializedName: "azureStorageBlobContainerUri",
|
|
694
|
-
required: true,
|
|
695
|
-
type: {
|
|
696
|
-
name: "String",
|
|
697
|
-
},
|
|
698
|
-
},
|
|
699
|
-
token: {
|
|
700
|
-
serializedName: "token",
|
|
701
|
-
type: {
|
|
702
|
-
name: "String",
|
|
703
|
-
},
|
|
704
|
-
},
|
|
705
|
-
},
|
|
706
|
-
},
|
|
707
|
-
};
|
|
708
|
-
const BackupResult = {
|
|
709
|
-
type: {
|
|
710
|
-
name: "Composite",
|
|
711
|
-
className: "BackupResult",
|
|
712
|
-
modelProperties: {
|
|
713
|
-
status: {
|
|
714
|
-
serializedName: "properties.status",
|
|
715
|
-
readOnly: true,
|
|
716
|
-
type: {
|
|
717
|
-
name: "String",
|
|
718
|
-
},
|
|
719
|
-
},
|
|
720
|
-
statusDetails: {
|
|
721
|
-
serializedName: "properties.statusDetails",
|
|
722
|
-
type: {
|
|
723
|
-
name: "String",
|
|
724
|
-
},
|
|
725
|
-
},
|
|
726
|
-
error: {
|
|
727
|
-
serializedName: "properties.error",
|
|
728
|
-
type: {
|
|
729
|
-
name: "Composite",
|
|
730
|
-
className: "ErrorDetail",
|
|
731
|
-
},
|
|
732
|
-
},
|
|
733
|
-
startTime: {
|
|
734
|
-
serializedName: "properties.startTime",
|
|
735
|
-
readOnly: true,
|
|
736
|
-
type: {
|
|
737
|
-
name: "DateTime",
|
|
738
|
-
},
|
|
739
|
-
},
|
|
740
|
-
endTime: {
|
|
741
|
-
serializedName: "properties.endTime",
|
|
742
|
-
readOnly: true,
|
|
743
|
-
nullable: true,
|
|
744
|
-
type: {
|
|
745
|
-
name: "DateTime",
|
|
746
|
-
},
|
|
747
|
-
},
|
|
748
|
-
jobId: {
|
|
749
|
-
serializedName: "properties.jobId",
|
|
750
|
-
type: {
|
|
751
|
-
name: "String",
|
|
752
|
-
},
|
|
753
|
-
},
|
|
754
|
-
azureStorageBlobContainerUri: {
|
|
755
|
-
serializedName: "properties.azureStorageBlobContainerUri",
|
|
756
|
-
type: {
|
|
757
|
-
name: "String",
|
|
758
|
-
},
|
|
759
|
-
},
|
|
760
|
-
backupId: {
|
|
761
|
-
serializedName: "properties.backupId",
|
|
762
|
-
type: {
|
|
763
|
-
name: "String",
|
|
764
|
-
},
|
|
765
|
-
},
|
|
766
|
-
},
|
|
767
|
-
},
|
|
768
|
-
};
|
|
769
|
-
const BackupRestoreBaseResultProperties = {
|
|
770
|
-
type: {
|
|
771
|
-
name: "Composite",
|
|
772
|
-
className: "BackupRestoreBaseResultProperties",
|
|
773
|
-
modelProperties: {
|
|
774
|
-
status: {
|
|
775
|
-
serializedName: "status",
|
|
776
|
-
readOnly: true,
|
|
777
|
-
type: {
|
|
778
|
-
name: "String",
|
|
779
|
-
},
|
|
780
|
-
},
|
|
781
|
-
statusDetails: {
|
|
782
|
-
serializedName: "statusDetails",
|
|
783
|
-
type: {
|
|
784
|
-
name: "String",
|
|
785
|
-
},
|
|
786
|
-
},
|
|
787
|
-
error: {
|
|
788
|
-
serializedName: "error",
|
|
789
|
-
type: {
|
|
790
|
-
name: "Composite",
|
|
791
|
-
className: "ErrorDetail",
|
|
792
|
-
},
|
|
793
|
-
},
|
|
794
|
-
startTime: {
|
|
795
|
-
serializedName: "startTime",
|
|
796
|
-
readOnly: true,
|
|
797
|
-
type: {
|
|
798
|
-
name: "DateTime",
|
|
799
|
-
},
|
|
800
|
-
},
|
|
801
|
-
endTime: {
|
|
802
|
-
serializedName: "endTime",
|
|
803
|
-
readOnly: true,
|
|
804
|
-
nullable: true,
|
|
805
|
-
type: {
|
|
806
|
-
name: "DateTime",
|
|
807
|
-
},
|
|
808
|
-
},
|
|
809
|
-
jobId: {
|
|
810
|
-
serializedName: "jobId",
|
|
811
|
-
type: {
|
|
812
|
-
name: "String",
|
|
813
|
-
},
|
|
814
|
-
},
|
|
815
|
-
},
|
|
816
|
-
},
|
|
817
|
-
};
|
|
818
|
-
const RestoreResult = {
|
|
819
|
-
type: {
|
|
820
|
-
name: "Composite",
|
|
821
|
-
className: "RestoreResult",
|
|
822
|
-
modelProperties: {
|
|
823
|
-
properties: {
|
|
824
|
-
serializedName: "properties",
|
|
825
|
-
type: {
|
|
826
|
-
name: "Composite",
|
|
827
|
-
className: "BackupRestoreBaseResultProperties",
|
|
828
|
-
},
|
|
829
|
-
},
|
|
830
|
-
},
|
|
831
|
-
},
|
|
832
|
-
};
|
|
833
|
-
const Sku = {
|
|
834
|
-
type: {
|
|
835
|
-
name: "Composite",
|
|
836
|
-
className: "Sku",
|
|
837
|
-
modelProperties: {
|
|
838
|
-
name: {
|
|
839
|
-
serializedName: "name",
|
|
840
|
-
type: {
|
|
841
|
-
name: "String",
|
|
842
|
-
},
|
|
843
|
-
},
|
|
844
|
-
},
|
|
845
|
-
},
|
|
846
|
-
};
|
|
847
|
-
const NetworkProfile = {
|
|
848
|
-
type: {
|
|
849
|
-
name: "Composite",
|
|
850
|
-
className: "NetworkProfile",
|
|
851
|
-
modelProperties: {
|
|
852
|
-
subnet: {
|
|
853
|
-
serializedName: "subnet",
|
|
854
|
-
type: {
|
|
855
|
-
name: "Composite",
|
|
856
|
-
className: "ApiEntityReference",
|
|
857
|
-
},
|
|
858
|
-
},
|
|
859
|
-
networkInterfaces: {
|
|
860
|
-
serializedName: "networkInterfaces",
|
|
861
|
-
type: {
|
|
862
|
-
name: "Sequence",
|
|
863
|
-
element: {
|
|
864
|
-
type: {
|
|
865
|
-
name: "Composite",
|
|
866
|
-
className: "NetworkInterface",
|
|
867
|
-
},
|
|
868
|
-
},
|
|
869
|
-
},
|
|
870
|
-
},
|
|
871
|
-
},
|
|
872
|
-
},
|
|
873
|
-
};
|
|
874
|
-
const ApiEntityReference = {
|
|
875
|
-
type: {
|
|
876
|
-
name: "Composite",
|
|
877
|
-
className: "ApiEntityReference",
|
|
878
|
-
modelProperties: {
|
|
879
|
-
resourceId: {
|
|
880
|
-
serializedName: "resourceId",
|
|
881
|
-
type: {
|
|
882
|
-
name: "String",
|
|
883
|
-
},
|
|
884
|
-
},
|
|
885
|
-
},
|
|
886
|
-
},
|
|
887
|
-
};
|
|
888
|
-
const NetworkInterface = {
|
|
889
|
-
type: {
|
|
890
|
-
name: "Composite",
|
|
891
|
-
className: "NetworkInterface",
|
|
892
|
-
modelProperties: {
|
|
893
|
-
resourceId: {
|
|
894
|
-
serializedName: "resourceId",
|
|
895
|
-
readOnly: true,
|
|
896
|
-
type: {
|
|
897
|
-
name: "String",
|
|
898
|
-
},
|
|
899
|
-
},
|
|
900
|
-
privateIpAddress: {
|
|
901
|
-
serializedName: "privateIpAddress",
|
|
902
|
-
type: {
|
|
903
|
-
name: "String",
|
|
904
|
-
},
|
|
905
|
-
},
|
|
906
|
-
},
|
|
907
|
-
},
|
|
908
|
-
};
|
|
909
|
-
const DedicatedHsmError = {
|
|
910
|
-
type: {
|
|
911
|
-
name: "Composite",
|
|
912
|
-
className: "DedicatedHsmError",
|
|
913
|
-
modelProperties: {
|
|
914
|
-
error: {
|
|
915
|
-
serializedName: "error",
|
|
916
|
-
type: {
|
|
917
|
-
name: "Composite",
|
|
918
|
-
className: "ErrorModel",
|
|
919
|
-
},
|
|
920
|
-
},
|
|
921
|
-
},
|
|
922
|
-
},
|
|
923
|
-
};
|
|
924
|
-
const ErrorModel = {
|
|
925
|
-
type: {
|
|
926
|
-
name: "Composite",
|
|
927
|
-
className: "ErrorModel",
|
|
928
|
-
modelProperties: {
|
|
929
|
-
code: {
|
|
930
|
-
serializedName: "code",
|
|
931
|
-
readOnly: true,
|
|
932
|
-
type: {
|
|
933
|
-
name: "String",
|
|
934
|
-
},
|
|
935
|
-
},
|
|
936
|
-
message: {
|
|
937
|
-
serializedName: "message",
|
|
938
|
-
readOnly: true,
|
|
939
|
-
type: {
|
|
940
|
-
name: "String",
|
|
941
|
-
},
|
|
942
|
-
},
|
|
943
|
-
innerError: {
|
|
944
|
-
serializedName: "innererror",
|
|
945
|
-
type: {
|
|
946
|
-
name: "Composite",
|
|
947
|
-
className: "ErrorModel",
|
|
948
|
-
},
|
|
949
|
-
},
|
|
950
|
-
},
|
|
951
|
-
},
|
|
952
|
-
};
|
|
953
|
-
const DedicatedHsmPatchParameters = {
|
|
954
|
-
type: {
|
|
955
|
-
name: "Composite",
|
|
956
|
-
className: "DedicatedHsmPatchParameters",
|
|
957
|
-
modelProperties: {
|
|
958
|
-
tags: {
|
|
959
|
-
serializedName: "tags",
|
|
960
|
-
type: {
|
|
961
|
-
name: "Dictionary",
|
|
962
|
-
value: { type: { name: "String" } },
|
|
963
|
-
},
|
|
964
|
-
},
|
|
965
|
-
},
|
|
966
|
-
},
|
|
967
|
-
};
|
|
968
|
-
const DedicatedHsmListResult = {
|
|
969
|
-
type: {
|
|
970
|
-
name: "Composite",
|
|
971
|
-
className: "DedicatedHsmListResult",
|
|
972
|
-
modelProperties: {
|
|
973
|
-
value: {
|
|
974
|
-
serializedName: "value",
|
|
975
|
-
type: {
|
|
976
|
-
name: "Sequence",
|
|
977
|
-
element: {
|
|
978
|
-
type: {
|
|
979
|
-
name: "Composite",
|
|
980
|
-
className: "DedicatedHsm",
|
|
981
|
-
},
|
|
982
|
-
},
|
|
983
|
-
},
|
|
984
|
-
},
|
|
985
|
-
nextLink: {
|
|
986
|
-
serializedName: "nextLink",
|
|
987
|
-
type: {
|
|
988
|
-
name: "String",
|
|
989
|
-
},
|
|
990
|
-
},
|
|
991
|
-
},
|
|
992
|
-
},
|
|
993
|
-
};
|
|
994
|
-
const OutboundEnvironmentEndpointCollection = {
|
|
995
|
-
type: {
|
|
996
|
-
name: "Composite",
|
|
997
|
-
className: "OutboundEnvironmentEndpointCollection",
|
|
998
|
-
modelProperties: {
|
|
999
|
-
value: {
|
|
1000
|
-
serializedName: "value",
|
|
1001
|
-
required: true,
|
|
1002
|
-
type: {
|
|
1003
|
-
name: "Sequence",
|
|
1004
|
-
element: {
|
|
1005
|
-
type: {
|
|
1006
|
-
name: "Composite",
|
|
1007
|
-
className: "OutboundEnvironmentEndpoint",
|
|
1008
|
-
},
|
|
1009
|
-
},
|
|
1010
|
-
},
|
|
1011
|
-
},
|
|
1012
|
-
nextLink: {
|
|
1013
|
-
serializedName: "nextLink",
|
|
1014
|
-
readOnly: true,
|
|
1015
|
-
type: {
|
|
1016
|
-
name: "String",
|
|
1017
|
-
},
|
|
1018
|
-
},
|
|
1019
|
-
},
|
|
1020
|
-
},
|
|
1021
|
-
};
|
|
1022
|
-
const OutboundEnvironmentEndpoint = {
|
|
1023
|
-
type: {
|
|
1024
|
-
name: "Composite",
|
|
1025
|
-
className: "OutboundEnvironmentEndpoint",
|
|
1026
|
-
modelProperties: {
|
|
1027
|
-
category: {
|
|
1028
|
-
serializedName: "category",
|
|
1029
|
-
type: {
|
|
1030
|
-
name: "String",
|
|
1031
|
-
},
|
|
1032
|
-
},
|
|
1033
|
-
endpoints: {
|
|
1034
|
-
serializedName: "endpoints",
|
|
1035
|
-
type: {
|
|
1036
|
-
name: "Sequence",
|
|
1037
|
-
element: {
|
|
1038
|
-
type: {
|
|
1039
|
-
name: "Composite",
|
|
1040
|
-
className: "EndpointDependency",
|
|
1041
|
-
},
|
|
1042
|
-
},
|
|
1043
|
-
},
|
|
1044
|
-
},
|
|
1045
|
-
},
|
|
1046
|
-
},
|
|
1047
|
-
};
|
|
1048
|
-
const EndpointDependency = {
|
|
1049
|
-
type: {
|
|
1050
|
-
name: "Composite",
|
|
1051
|
-
className: "EndpointDependency",
|
|
1052
|
-
modelProperties: {
|
|
1053
|
-
domainName: {
|
|
1054
|
-
serializedName: "domainName",
|
|
1055
|
-
type: {
|
|
1056
|
-
name: "String",
|
|
1057
|
-
},
|
|
1058
|
-
},
|
|
1059
|
-
endpointDetails: {
|
|
1060
|
-
serializedName: "endpointDetails",
|
|
1061
|
-
type: {
|
|
1062
|
-
name: "Sequence",
|
|
1063
|
-
element: {
|
|
1064
|
-
type: {
|
|
1065
|
-
name: "Composite",
|
|
1066
|
-
className: "EndpointDetail",
|
|
1067
|
-
},
|
|
1068
|
-
},
|
|
1069
|
-
},
|
|
1070
|
-
},
|
|
1071
|
-
},
|
|
1072
|
-
},
|
|
1073
|
-
};
|
|
1074
|
-
const EndpointDetail = {
|
|
1075
|
-
type: {
|
|
1076
|
-
name: "Composite",
|
|
1077
|
-
className: "EndpointDetail",
|
|
1078
|
-
modelProperties: {
|
|
1079
|
-
ipAddress: {
|
|
1080
|
-
serializedName: "ipAddress",
|
|
1081
|
-
type: {
|
|
1082
|
-
name: "String",
|
|
1083
|
-
},
|
|
1084
|
-
},
|
|
1085
|
-
port: {
|
|
1086
|
-
serializedName: "port",
|
|
1087
|
-
type: {
|
|
1088
|
-
name: "Number",
|
|
1089
|
-
},
|
|
1090
|
-
},
|
|
1091
|
-
protocol: {
|
|
1092
|
-
serializedName: "protocol",
|
|
1093
|
-
type: {
|
|
1094
|
-
name: "String",
|
|
1095
|
-
},
|
|
1096
|
-
},
|
|
1097
|
-
description: {
|
|
1098
|
-
serializedName: "description",
|
|
1099
|
-
type: {
|
|
1100
|
-
name: "String",
|
|
1101
|
-
},
|
|
1102
|
-
},
|
|
1103
|
-
},
|
|
1104
|
-
},
|
|
1105
|
-
};
|
|
1106
|
-
const OperationListResult = {
|
|
1107
|
-
type: {
|
|
1108
|
-
name: "Composite",
|
|
1109
|
-
className: "OperationListResult",
|
|
1110
|
-
modelProperties: {
|
|
1111
|
-
value: {
|
|
1112
|
-
serializedName: "value",
|
|
1113
|
-
readOnly: true,
|
|
1114
|
-
type: {
|
|
1115
|
-
name: "Sequence",
|
|
1116
|
-
element: {
|
|
1117
|
-
type: {
|
|
1118
|
-
name: "Composite",
|
|
1119
|
-
className: "Operation",
|
|
1120
|
-
},
|
|
1121
|
-
},
|
|
1122
|
-
},
|
|
1123
|
-
},
|
|
1124
|
-
nextLink: {
|
|
1125
|
-
serializedName: "nextLink",
|
|
1126
|
-
readOnly: true,
|
|
1127
|
-
type: {
|
|
1128
|
-
name: "String",
|
|
1129
|
-
},
|
|
1130
|
-
},
|
|
1131
|
-
},
|
|
1132
|
-
},
|
|
1133
|
-
};
|
|
1134
|
-
const Operation = {
|
|
1135
|
-
type: {
|
|
1136
|
-
name: "Composite",
|
|
1137
|
-
className: "Operation",
|
|
1138
|
-
modelProperties: {
|
|
1139
|
-
name: {
|
|
1140
|
-
serializedName: "name",
|
|
1141
|
-
readOnly: true,
|
|
1142
|
-
type: {
|
|
1143
|
-
name: "String",
|
|
1144
|
-
},
|
|
1145
|
-
},
|
|
1146
|
-
isDataAction: {
|
|
1147
|
-
serializedName: "isDataAction",
|
|
1148
|
-
readOnly: true,
|
|
1149
|
-
type: {
|
|
1150
|
-
name: "Boolean",
|
|
1151
|
-
},
|
|
1152
|
-
},
|
|
1153
|
-
display: {
|
|
1154
|
-
serializedName: "display",
|
|
1155
|
-
type: {
|
|
1156
|
-
name: "Composite",
|
|
1157
|
-
className: "OperationDisplay",
|
|
1158
|
-
},
|
|
1159
|
-
},
|
|
1160
|
-
origin: {
|
|
1161
|
-
serializedName: "origin",
|
|
1162
|
-
readOnly: true,
|
|
1163
|
-
type: {
|
|
1164
|
-
name: "String",
|
|
1165
|
-
},
|
|
1166
|
-
},
|
|
1167
|
-
actionType: {
|
|
1168
|
-
serializedName: "actionType",
|
|
1169
|
-
readOnly: true,
|
|
1170
|
-
type: {
|
|
1171
|
-
name: "String",
|
|
1172
|
-
},
|
|
1173
|
-
},
|
|
1174
|
-
},
|
|
1175
|
-
},
|
|
1176
|
-
};
|
|
1177
|
-
const OperationDisplay = {
|
|
1178
|
-
type: {
|
|
1179
|
-
name: "Composite",
|
|
1180
|
-
className: "OperationDisplay",
|
|
1181
|
-
modelProperties: {
|
|
1182
|
-
provider: {
|
|
1183
|
-
serializedName: "provider",
|
|
1184
|
-
readOnly: true,
|
|
1185
|
-
type: {
|
|
1186
|
-
name: "String",
|
|
1187
|
-
},
|
|
1188
|
-
},
|
|
1189
|
-
resource: {
|
|
1190
|
-
serializedName: "resource",
|
|
1191
|
-
readOnly: true,
|
|
1192
|
-
type: {
|
|
1193
|
-
name: "String",
|
|
1194
|
-
},
|
|
1195
|
-
},
|
|
1196
|
-
operation: {
|
|
1197
|
-
serializedName: "operation",
|
|
1198
|
-
readOnly: true,
|
|
1199
|
-
type: {
|
|
1200
|
-
name: "String",
|
|
1201
|
-
},
|
|
1202
|
-
},
|
|
1203
|
-
description: {
|
|
1204
|
-
serializedName: "description",
|
|
1205
|
-
readOnly: true,
|
|
1206
|
-
type: {
|
|
1207
|
-
name: "String",
|
|
1208
|
-
},
|
|
1209
|
-
},
|
|
1210
|
-
},
|
|
1211
|
-
},
|
|
1212
|
-
};
|
|
1213
|
-
const ProxyResource = {
|
|
1214
|
-
type: {
|
|
1215
|
-
name: "Composite",
|
|
1216
|
-
className: "ProxyResource",
|
|
1217
|
-
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
1218
|
-
},
|
|
1219
|
-
};
|
|
1220
|
-
const TrackedResource = {
|
|
1221
|
-
type: {
|
|
1222
|
-
name: "Composite",
|
|
1223
|
-
className: "TrackedResource",
|
|
1224
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { tags: {
|
|
1225
|
-
serializedName: "tags",
|
|
1226
|
-
type: {
|
|
1227
|
-
name: "Dictionary",
|
|
1228
|
-
value: { type: { name: "String" } },
|
|
1229
|
-
},
|
|
1230
|
-
}, location: {
|
|
1231
|
-
serializedName: "location",
|
|
1232
|
-
required: true,
|
|
1233
|
-
type: {
|
|
1234
|
-
name: "String",
|
|
1235
|
-
},
|
|
1236
|
-
} }),
|
|
1237
|
-
},
|
|
1238
|
-
};
|
|
1239
|
-
const PrivateLinkResource = {
|
|
1240
|
-
type: {
|
|
1241
|
-
name: "Composite",
|
|
1242
|
-
className: "PrivateLinkResource",
|
|
1243
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { groupId: {
|
|
1244
|
-
serializedName: "properties.groupId",
|
|
1245
|
-
readOnly: true,
|
|
1246
|
-
type: {
|
|
1247
|
-
name: "String",
|
|
1248
|
-
},
|
|
1249
|
-
}, requiredMembers: {
|
|
1250
|
-
serializedName: "properties.requiredMembers",
|
|
1251
|
-
readOnly: true,
|
|
1252
|
-
type: {
|
|
1253
|
-
name: "Sequence",
|
|
1254
|
-
element: {
|
|
1255
|
-
type: {
|
|
1256
|
-
name: "String",
|
|
1257
|
-
},
|
|
1258
|
-
},
|
|
1259
|
-
},
|
|
1260
|
-
}, requiredZoneNames: {
|
|
1261
|
-
serializedName: "properties.requiredZoneNames",
|
|
1262
|
-
type: {
|
|
1263
|
-
name: "Sequence",
|
|
1264
|
-
element: {
|
|
1265
|
-
type: {
|
|
1266
|
-
name: "String",
|
|
1267
|
-
},
|
|
1268
|
-
},
|
|
1269
|
-
},
|
|
1270
|
-
} }),
|
|
1271
|
-
},
|
|
1272
|
-
};
|
|
1273
|
-
const BackupRequestProperties = {
|
|
1274
|
-
type: {
|
|
1275
|
-
name: "Composite",
|
|
1276
|
-
className: "BackupRequestProperties",
|
|
1277
|
-
modelProperties: Object.assign({}, BackupRestoreRequestBaseProperties.type.modelProperties),
|
|
1278
|
-
},
|
|
1279
|
-
};
|
|
1280
|
-
const RestoreRequestProperties = {
|
|
1281
|
-
type: {
|
|
1282
|
-
name: "Composite",
|
|
1283
|
-
className: "RestoreRequestProperties",
|
|
1284
|
-
modelProperties: Object.assign(Object.assign({}, BackupRestoreRequestBaseProperties.type.modelProperties), { backupId: {
|
|
1285
|
-
serializedName: "backupId",
|
|
1286
|
-
required: true,
|
|
1287
|
-
type: {
|
|
1288
|
-
name: "String",
|
|
1289
|
-
},
|
|
1290
|
-
} }),
|
|
1291
|
-
},
|
|
1292
|
-
};
|
|
1293
|
-
const BackupResultProperties = {
|
|
1294
|
-
type: {
|
|
1295
|
-
name: "Composite",
|
|
1296
|
-
className: "BackupResultProperties",
|
|
1297
|
-
modelProperties: Object.assign(Object.assign({}, BackupRestoreBaseResultProperties.type.modelProperties), { azureStorageBlobContainerUri: {
|
|
1298
|
-
serializedName: "azureStorageBlobContainerUri",
|
|
1299
|
-
type: {
|
|
1300
|
-
name: "String",
|
|
1301
|
-
},
|
|
1302
|
-
}, backupId: {
|
|
1303
|
-
serializedName: "backupId",
|
|
1304
|
-
type: {
|
|
1305
|
-
name: "String",
|
|
1306
|
-
},
|
|
1307
|
-
} }),
|
|
1308
|
-
},
|
|
1309
|
-
};
|
|
1310
|
-
const PrivateEndpointConnection = {
|
|
1311
|
-
type: {
|
|
1312
|
-
name: "Composite",
|
|
1313
|
-
className: "PrivateEndpointConnection",
|
|
1314
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { etag: {
|
|
1315
|
-
serializedName: "etag",
|
|
1316
|
-
type: {
|
|
1317
|
-
name: "String",
|
|
1318
|
-
},
|
|
1319
|
-
}, privateEndpoint: {
|
|
1320
|
-
serializedName: "properties.privateEndpoint",
|
|
1321
|
-
type: {
|
|
1322
|
-
name: "Composite",
|
|
1323
|
-
className: "PrivateEndpoint",
|
|
1324
|
-
},
|
|
1325
|
-
}, privateLinkServiceConnectionState: {
|
|
1326
|
-
serializedName: "properties.privateLinkServiceConnectionState",
|
|
1327
|
-
type: {
|
|
1328
|
-
name: "Composite",
|
|
1329
|
-
className: "PrivateLinkServiceConnectionState",
|
|
1330
|
-
},
|
|
1331
|
-
}, provisioningState: {
|
|
1332
|
-
serializedName: "properties.provisioningState",
|
|
1333
|
-
readOnly: true,
|
|
1334
|
-
type: {
|
|
1335
|
-
name: "String",
|
|
1336
|
-
},
|
|
1337
|
-
}, groupIds: {
|
|
1338
|
-
serializedName: "properties.groupIds",
|
|
1339
|
-
readOnly: true,
|
|
1340
|
-
type: {
|
|
1341
|
-
name: "Sequence",
|
|
1342
|
-
element: {
|
|
1343
|
-
type: {
|
|
1344
|
-
name: "String",
|
|
1345
|
-
},
|
|
1346
|
-
},
|
|
1347
|
-
},
|
|
1348
|
-
} }),
|
|
1349
|
-
},
|
|
1350
|
-
};
|
|
1351
|
-
const CloudHsmClusterResource = {
|
|
1352
|
-
type: {
|
|
1353
|
-
name: "Composite",
|
|
1354
|
-
className: "CloudHsmClusterResource",
|
|
1355
|
-
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { identity: {
|
|
1356
|
-
serializedName: "identity",
|
|
1357
|
-
type: {
|
|
1358
|
-
name: "Composite",
|
|
1359
|
-
className: "ManagedServiceIdentity",
|
|
1360
|
-
},
|
|
1361
|
-
}, sku: {
|
|
1362
|
-
serializedName: "sku",
|
|
1363
|
-
type: {
|
|
1364
|
-
name: "Composite",
|
|
1365
|
-
className: "CloudHsmClusterSku",
|
|
1366
|
-
},
|
|
1367
|
-
} }),
|
|
1368
|
-
},
|
|
1369
|
-
};
|
|
1370
|
-
const DedicatedHsm = {
|
|
1371
|
-
type: {
|
|
1372
|
-
name: "Composite",
|
|
1373
|
-
className: "DedicatedHsm",
|
|
1374
|
-
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { sku: {
|
|
1375
|
-
serializedName: "sku",
|
|
1376
|
-
type: {
|
|
1377
|
-
name: "Composite",
|
|
1378
|
-
className: "Sku",
|
|
1379
|
-
},
|
|
1380
|
-
}, zones: {
|
|
1381
|
-
serializedName: "zones",
|
|
1382
|
-
type: {
|
|
1383
|
-
name: "Sequence",
|
|
1384
|
-
element: {
|
|
1385
|
-
type: {
|
|
1386
|
-
name: "String",
|
|
1387
|
-
},
|
|
1388
|
-
},
|
|
1389
|
-
},
|
|
1390
|
-
}, networkProfile: {
|
|
1391
|
-
serializedName: "properties.networkProfile",
|
|
1392
|
-
type: {
|
|
1393
|
-
name: "Composite",
|
|
1394
|
-
className: "NetworkProfile",
|
|
1395
|
-
},
|
|
1396
|
-
}, managementNetworkProfile: {
|
|
1397
|
-
serializedName: "properties.managementNetworkProfile",
|
|
1398
|
-
type: {
|
|
1399
|
-
name: "Composite",
|
|
1400
|
-
className: "NetworkProfile",
|
|
1401
|
-
},
|
|
1402
|
-
}, stampId: {
|
|
1403
|
-
serializedName: "properties.stampId",
|
|
1404
|
-
type: {
|
|
1405
|
-
name: "String",
|
|
1406
|
-
},
|
|
1407
|
-
}, statusMessage: {
|
|
1408
|
-
serializedName: "properties.statusMessage",
|
|
1409
|
-
readOnly: true,
|
|
1410
|
-
type: {
|
|
1411
|
-
name: "String",
|
|
1412
|
-
},
|
|
1413
|
-
}, provisioningState: {
|
|
1414
|
-
serializedName: "properties.provisioningState",
|
|
1415
|
-
readOnly: true,
|
|
1416
|
-
type: {
|
|
1417
|
-
name: "String",
|
|
1418
|
-
},
|
|
1419
|
-
} }),
|
|
1420
|
-
},
|
|
1421
|
-
};
|
|
1422
|
-
const CloudHsmCluster = {
|
|
1423
|
-
type: {
|
|
1424
|
-
name: "Composite",
|
|
1425
|
-
className: "CloudHsmCluster",
|
|
1426
|
-
modelProperties: Object.assign(Object.assign({}, CloudHsmClusterResource.type.modelProperties), { activationState: {
|
|
1427
|
-
serializedName: "properties.activationState",
|
|
1428
|
-
readOnly: true,
|
|
1429
|
-
type: {
|
|
1430
|
-
name: "String",
|
|
1431
|
-
},
|
|
1432
|
-
}, autoGeneratedDomainNameLabelScope: {
|
|
1433
|
-
serializedName: "properties.autoGeneratedDomainNameLabelScope",
|
|
1434
|
-
type: {
|
|
1435
|
-
name: "String",
|
|
1436
|
-
},
|
|
1437
|
-
}, hsms: {
|
|
1438
|
-
serializedName: "properties.hsms",
|
|
1439
|
-
readOnly: true,
|
|
1440
|
-
type: {
|
|
1441
|
-
name: "Sequence",
|
|
1442
|
-
element: {
|
|
1443
|
-
type: {
|
|
1444
|
-
name: "Composite",
|
|
1445
|
-
className: "CloudHsmProperties",
|
|
1446
|
-
},
|
|
1447
|
-
},
|
|
1448
|
-
},
|
|
1449
|
-
}, privateEndpointConnections: {
|
|
1450
|
-
serializedName: "properties.privateEndpointConnections",
|
|
1451
|
-
readOnly: true,
|
|
1452
|
-
type: {
|
|
1453
|
-
name: "Sequence",
|
|
1454
|
-
element: {
|
|
1455
|
-
type: {
|
|
1456
|
-
name: "Composite",
|
|
1457
|
-
className: "PrivateEndpointConnection",
|
|
1458
|
-
},
|
|
1459
|
-
},
|
|
1460
|
-
},
|
|
1461
|
-
}, provisioningState: {
|
|
1462
|
-
serializedName: "properties.provisioningState",
|
|
1463
|
-
readOnly: true,
|
|
1464
|
-
type: {
|
|
1465
|
-
name: "String",
|
|
1466
|
-
},
|
|
1467
|
-
}, publicNetworkAccess: {
|
|
1468
|
-
serializedName: "properties.publicNetworkAccess",
|
|
1469
|
-
type: {
|
|
1470
|
-
name: "String",
|
|
1471
|
-
},
|
|
1472
|
-
}, statusMessage: {
|
|
1473
|
-
serializedName: "properties.statusMessage",
|
|
1474
|
-
readOnly: true,
|
|
1475
|
-
type: {
|
|
1476
|
-
name: "String",
|
|
1477
|
-
},
|
|
1478
|
-
} }),
|
|
1479
|
-
},
|
|
1480
|
-
};
|
|
1481
|
-
const CloudHsmClustersUpdateHeaders = {
|
|
1482
|
-
type: {
|
|
1483
|
-
name: "Composite",
|
|
1484
|
-
className: "CloudHsmClustersUpdateHeaders",
|
|
1485
|
-
modelProperties: {
|
|
1486
|
-
location: {
|
|
1487
|
-
serializedName: "location",
|
|
1488
|
-
type: {
|
|
1489
|
-
name: "String",
|
|
1490
|
-
},
|
|
1491
|
-
},
|
|
1492
|
-
},
|
|
1493
|
-
},
|
|
1494
|
-
};
|
|
1495
|
-
const CloudHsmClustersDeleteHeaders = {
|
|
1496
|
-
type: {
|
|
1497
|
-
name: "Composite",
|
|
1498
|
-
className: "CloudHsmClustersDeleteHeaders",
|
|
1499
|
-
modelProperties: {
|
|
1500
|
-
location: {
|
|
1501
|
-
serializedName: "location",
|
|
1502
|
-
type: {
|
|
1503
|
-
name: "String",
|
|
1504
|
-
},
|
|
1505
|
-
},
|
|
1506
|
-
},
|
|
1507
|
-
},
|
|
1508
|
-
};
|
|
1509
|
-
const CloudHsmClustersValidateBackupPropertiesHeaders = {
|
|
1510
|
-
type: {
|
|
1511
|
-
name: "Composite",
|
|
1512
|
-
className: "CloudHsmClustersValidateBackupPropertiesHeaders",
|
|
1513
|
-
modelProperties: {
|
|
1514
|
-
xMsRequestId: {
|
|
1515
|
-
serializedName: "x-ms-request-id",
|
|
1516
|
-
type: {
|
|
1517
|
-
name: "String",
|
|
1518
|
-
},
|
|
1519
|
-
},
|
|
1520
|
-
},
|
|
1521
|
-
},
|
|
1522
|
-
};
|
|
1523
|
-
const CloudHsmClustersBackupHeaders = {
|
|
1524
|
-
type: {
|
|
1525
|
-
name: "Composite",
|
|
1526
|
-
className: "CloudHsmClustersBackupHeaders",
|
|
1527
|
-
modelProperties: {
|
|
1528
|
-
xMsRequestId: {
|
|
1529
|
-
serializedName: "x-ms-request-id",
|
|
1530
|
-
type: {
|
|
1531
|
-
name: "String",
|
|
1532
|
-
},
|
|
1533
|
-
},
|
|
1534
|
-
},
|
|
1535
|
-
},
|
|
1536
|
-
};
|
|
1537
|
-
const CloudHsmClustersValidateRestorePropertiesHeaders = {
|
|
1538
|
-
type: {
|
|
1539
|
-
name: "Composite",
|
|
1540
|
-
className: "CloudHsmClustersValidateRestorePropertiesHeaders",
|
|
1541
|
-
modelProperties: {
|
|
1542
|
-
xMsRequestId: {
|
|
1543
|
-
serializedName: "x-ms-request-id",
|
|
1544
|
-
type: {
|
|
1545
|
-
name: "String",
|
|
1546
|
-
},
|
|
1547
|
-
},
|
|
1548
|
-
},
|
|
1549
|
-
},
|
|
1550
|
-
};
|
|
1551
|
-
const CloudHsmClustersRestoreHeaders = {
|
|
1552
|
-
type: {
|
|
1553
|
-
name: "Composite",
|
|
1554
|
-
className: "CloudHsmClustersRestoreHeaders",
|
|
1555
|
-
modelProperties: {
|
|
1556
|
-
xMsRequestId: {
|
|
1557
|
-
serializedName: "x-ms-request-id",
|
|
1558
|
-
type: {
|
|
1559
|
-
name: "String",
|
|
1560
|
-
},
|
|
1561
|
-
},
|
|
1562
|
-
},
|
|
1563
|
-
},
|
|
1564
|
-
};
|
|
1565
|
-
const CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders = {
|
|
1566
|
-
type: {
|
|
1567
|
-
name: "Composite",
|
|
1568
|
-
className: "CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders",
|
|
1569
|
-
modelProperties: {
|
|
1570
|
-
location: {
|
|
1571
|
-
serializedName: "location",
|
|
1572
|
-
type: {
|
|
1573
|
-
name: "String",
|
|
1574
|
-
},
|
|
1575
|
-
},
|
|
1576
|
-
},
|
|
1577
|
-
},
|
|
1578
|
-
};
|
|
1579
|
-
const CloudHsmClusterBackupStatusGetHeaders = {
|
|
1580
|
-
type: {
|
|
1581
|
-
name: "Composite",
|
|
1582
|
-
className: "CloudHsmClusterBackupStatusGetHeaders",
|
|
1583
|
-
modelProperties: {
|
|
1584
|
-
xMsRequestId: {
|
|
1585
|
-
serializedName: "x-ms-request-id",
|
|
1586
|
-
type: {
|
|
1587
|
-
name: "String",
|
|
1588
|
-
},
|
|
1589
|
-
},
|
|
1590
|
-
},
|
|
1591
|
-
},
|
|
1592
|
-
};
|
|
1593
|
-
const CloudHsmClusterBackupStatusGetExceptionHeaders = {
|
|
1594
|
-
type: {
|
|
1595
|
-
name: "Composite",
|
|
1596
|
-
className: "CloudHsmClusterBackupStatusGetExceptionHeaders",
|
|
1597
|
-
modelProperties: {
|
|
1598
|
-
xMsRequestId: {
|
|
1599
|
-
serializedName: "x-ms-request-id",
|
|
1600
|
-
type: {
|
|
1601
|
-
name: "String",
|
|
1602
|
-
},
|
|
1603
|
-
},
|
|
1604
|
-
},
|
|
1605
|
-
},
|
|
1606
|
-
};
|
|
1607
|
-
const CloudHsmClusterRestoreStatusGetHeaders = {
|
|
1608
|
-
type: {
|
|
1609
|
-
name: "Composite",
|
|
1610
|
-
className: "CloudHsmClusterRestoreStatusGetHeaders",
|
|
1611
|
-
modelProperties: {
|
|
1612
|
-
xMsRequestId: {
|
|
1613
|
-
serializedName: "x-ms-request-id",
|
|
1614
|
-
type: {
|
|
1615
|
-
name: "String",
|
|
1616
|
-
},
|
|
1617
|
-
},
|
|
1618
|
-
},
|
|
1619
|
-
},
|
|
1620
|
-
};
|
|
1621
|
-
const CloudHsmClusterRestoreStatusGetExceptionHeaders = {
|
|
1622
|
-
type: {
|
|
1623
|
-
name: "Composite",
|
|
1624
|
-
className: "CloudHsmClusterRestoreStatusGetExceptionHeaders",
|
|
1625
|
-
modelProperties: {
|
|
1626
|
-
xMsRequestId: {
|
|
1627
|
-
serializedName: "x-ms-request-id",
|
|
1628
|
-
type: {
|
|
1629
|
-
name: "String",
|
|
1630
|
-
},
|
|
1631
|
-
},
|
|
1632
|
-
},
|
|
1633
|
-
},
|
|
1634
|
-
};
|
|
1635
|
-
const DedicatedHsmUpdateHeaders = {
|
|
1636
|
-
type: {
|
|
1637
|
-
name: "Composite",
|
|
1638
|
-
className: "DedicatedHsmUpdateHeaders",
|
|
1639
|
-
modelProperties: {
|
|
1640
|
-
location: {
|
|
1641
|
-
serializedName: "location",
|
|
1642
|
-
type: {
|
|
1643
|
-
name: "String",
|
|
1644
|
-
},
|
|
1645
|
-
},
|
|
1646
|
-
},
|
|
1647
|
-
},
|
|
1648
|
-
};
|
|
1649
|
-
const DedicatedHsmDeleteHeaders = {
|
|
1650
|
-
type: {
|
|
1651
|
-
name: "Composite",
|
|
1652
|
-
className: "DedicatedHsmDeleteHeaders",
|
|
1653
|
-
modelProperties: {
|
|
1654
|
-
location: {
|
|
1655
|
-
serializedName: "location",
|
|
1656
|
-
type: {
|
|
1657
|
-
name: "String",
|
|
1658
|
-
},
|
|
1659
|
-
},
|
|
1660
|
-
},
|
|
1661
|
-
},
|
|
1662
|
-
};
|
|
1663
|
-
|
|
1664
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1665
|
-
__proto__: null,
|
|
1666
|
-
ApiEntityReference: ApiEntityReference,
|
|
1667
|
-
BackupRequestProperties: BackupRequestProperties,
|
|
1668
|
-
BackupRestoreBaseResultProperties: BackupRestoreBaseResultProperties,
|
|
1669
|
-
BackupRestoreRequestBaseProperties: BackupRestoreRequestBaseProperties,
|
|
1670
|
-
BackupResult: BackupResult,
|
|
1671
|
-
BackupResultProperties: BackupResultProperties,
|
|
1672
|
-
CloudHsmCluster: CloudHsmCluster,
|
|
1673
|
-
CloudHsmClusterBackupStatusGetExceptionHeaders: CloudHsmClusterBackupStatusGetExceptionHeaders,
|
|
1674
|
-
CloudHsmClusterBackupStatusGetHeaders: CloudHsmClusterBackupStatusGetHeaders,
|
|
1675
|
-
CloudHsmClusterListResult: CloudHsmClusterListResult,
|
|
1676
|
-
CloudHsmClusterPatchParameters: CloudHsmClusterPatchParameters,
|
|
1677
|
-
CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders: CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders,
|
|
1678
|
-
CloudHsmClusterResource: CloudHsmClusterResource,
|
|
1679
|
-
CloudHsmClusterRestoreStatusGetExceptionHeaders: CloudHsmClusterRestoreStatusGetExceptionHeaders,
|
|
1680
|
-
CloudHsmClusterRestoreStatusGetHeaders: CloudHsmClusterRestoreStatusGetHeaders,
|
|
1681
|
-
CloudHsmClusterSku: CloudHsmClusterSku,
|
|
1682
|
-
CloudHsmClustersBackupHeaders: CloudHsmClustersBackupHeaders,
|
|
1683
|
-
CloudHsmClustersDeleteHeaders: CloudHsmClustersDeleteHeaders,
|
|
1684
|
-
CloudHsmClustersRestoreHeaders: CloudHsmClustersRestoreHeaders,
|
|
1685
|
-
CloudHsmClustersUpdateHeaders: CloudHsmClustersUpdateHeaders,
|
|
1686
|
-
CloudHsmClustersValidateBackupPropertiesHeaders: CloudHsmClustersValidateBackupPropertiesHeaders,
|
|
1687
|
-
CloudHsmClustersValidateRestorePropertiesHeaders: CloudHsmClustersValidateRestorePropertiesHeaders,
|
|
1688
|
-
CloudHsmProperties: CloudHsmProperties,
|
|
1689
|
-
DedicatedHsm: DedicatedHsm,
|
|
1690
|
-
DedicatedHsmDeleteHeaders: DedicatedHsmDeleteHeaders,
|
|
1691
|
-
DedicatedHsmError: DedicatedHsmError,
|
|
1692
|
-
DedicatedHsmListResult: DedicatedHsmListResult,
|
|
1693
|
-
DedicatedHsmPatchParameters: DedicatedHsmPatchParameters,
|
|
1694
|
-
DedicatedHsmUpdateHeaders: DedicatedHsmUpdateHeaders,
|
|
1695
|
-
EndpointDependency: EndpointDependency,
|
|
1696
|
-
EndpointDetail: EndpointDetail,
|
|
1697
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1698
|
-
ErrorDetail: ErrorDetail,
|
|
1699
|
-
ErrorModel: ErrorModel,
|
|
1700
|
-
ErrorResponse: ErrorResponse,
|
|
1701
|
-
ManagedServiceIdentity: ManagedServiceIdentity,
|
|
1702
|
-
NetworkInterface: NetworkInterface,
|
|
1703
|
-
NetworkProfile: NetworkProfile,
|
|
1704
|
-
Operation: Operation,
|
|
1705
|
-
OperationDisplay: OperationDisplay,
|
|
1706
|
-
OperationListResult: OperationListResult,
|
|
1707
|
-
OutboundEnvironmentEndpoint: OutboundEnvironmentEndpoint,
|
|
1708
|
-
OutboundEnvironmentEndpointCollection: OutboundEnvironmentEndpointCollection,
|
|
1709
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
1710
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1711
|
-
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
1712
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
1713
|
-
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
1714
|
-
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
1715
|
-
ProxyResource: ProxyResource,
|
|
1716
|
-
Resource: Resource,
|
|
1717
|
-
RestoreRequestProperties: RestoreRequestProperties,
|
|
1718
|
-
RestoreResult: RestoreResult,
|
|
1719
|
-
Sku: Sku,
|
|
1720
|
-
SystemData: SystemData,
|
|
1721
|
-
TrackedResource: TrackedResource,
|
|
1722
|
-
UserAssignedIdentity: UserAssignedIdentity
|
|
1723
|
-
});
|
|
1724
|
-
|
|
1725
|
-
/*
|
|
1726
|
-
* Copyright (c) Microsoft Corporation.
|
|
1727
|
-
* Licensed under the MIT License.
|
|
1728
|
-
*
|
|
1729
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1730
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1731
|
-
*/
|
|
1732
|
-
const contentType = {
|
|
1733
|
-
parameterPath: ["options", "contentType"],
|
|
1734
|
-
mapper: {
|
|
1735
|
-
defaultValue: "application/json",
|
|
1736
|
-
isConstant: true,
|
|
1737
|
-
serializedName: "Content-Type",
|
|
1738
|
-
type: {
|
|
1739
|
-
name: "String",
|
|
1740
|
-
},
|
|
1741
|
-
},
|
|
1742
|
-
};
|
|
1743
|
-
const accept = {
|
|
1744
|
-
parameterPath: "accept",
|
|
1745
|
-
mapper: {
|
|
1746
|
-
defaultValue: "application/json",
|
|
1747
|
-
isConstant: true,
|
|
1748
|
-
serializedName: "Accept",
|
|
1749
|
-
type: {
|
|
1750
|
-
name: "String",
|
|
1751
|
-
},
|
|
1752
|
-
},
|
|
1753
|
-
};
|
|
1754
|
-
const $host = {
|
|
1755
|
-
parameterPath: "$host",
|
|
1756
|
-
mapper: {
|
|
1757
|
-
serializedName: "$host",
|
|
1758
|
-
required: true,
|
|
1759
|
-
type: {
|
|
1760
|
-
name: "String",
|
|
1761
|
-
},
|
|
1762
|
-
},
|
|
1763
|
-
skipEncoding: true,
|
|
1764
|
-
};
|
|
1765
|
-
const subscriptionId = {
|
|
1766
|
-
parameterPath: "subscriptionId",
|
|
1767
|
-
mapper: {
|
|
1768
|
-
serializedName: "subscriptionId",
|
|
1769
|
-
required: true,
|
|
1770
|
-
type: {
|
|
1771
|
-
name: "Uuid",
|
|
1772
|
-
},
|
|
1773
|
-
},
|
|
1774
|
-
};
|
|
1775
|
-
const resourceGroupName = {
|
|
1776
|
-
parameterPath: "resourceGroupName",
|
|
1777
|
-
mapper: {
|
|
1778
|
-
constraints: {
|
|
1779
|
-
MaxLength: 90,
|
|
1780
|
-
MinLength: 1,
|
|
1781
|
-
},
|
|
1782
|
-
serializedName: "resourceGroupName",
|
|
1783
|
-
required: true,
|
|
1784
|
-
type: {
|
|
1785
|
-
name: "String",
|
|
1786
|
-
},
|
|
1787
|
-
},
|
|
1788
|
-
};
|
|
1789
|
-
const cloudHsmClusterName = {
|
|
1790
|
-
parameterPath: "cloudHsmClusterName",
|
|
1791
|
-
mapper: {
|
|
1792
|
-
constraints: {
|
|
1793
|
-
Pattern: new RegExp("^[a-zA-Z0-9-]{3,23}$"),
|
|
1794
|
-
MaxLength: 23,
|
|
1795
|
-
MinLength: 3,
|
|
1796
|
-
},
|
|
1797
|
-
serializedName: "cloudHsmClusterName",
|
|
1798
|
-
required: true,
|
|
1799
|
-
type: {
|
|
1800
|
-
name: "String",
|
|
1801
|
-
},
|
|
1802
|
-
},
|
|
1803
|
-
};
|
|
1804
|
-
const apiVersion = {
|
|
1805
|
-
parameterPath: "apiVersion",
|
|
1806
|
-
mapper: {
|
|
1807
|
-
defaultValue: "2024-06-30-preview",
|
|
1808
|
-
isConstant: true,
|
|
1809
|
-
serializedName: "api-version",
|
|
1810
|
-
type: {
|
|
1811
|
-
name: "String",
|
|
1812
|
-
},
|
|
1813
|
-
},
|
|
1814
|
-
};
|
|
1815
|
-
const skiptoken = {
|
|
1816
|
-
parameterPath: ["options", "skiptoken"],
|
|
1817
|
-
mapper: {
|
|
1818
|
-
serializedName: "$skiptoken",
|
|
1819
|
-
type: {
|
|
1820
|
-
name: "String",
|
|
1821
|
-
},
|
|
1822
|
-
},
|
|
1823
|
-
};
|
|
1824
|
-
const backupRequestProperties = {
|
|
1825
|
-
parameterPath: ["options", "backupRequestProperties"],
|
|
1826
|
-
mapper: BackupRequestProperties,
|
|
1827
|
-
};
|
|
1828
|
-
const restoreRequestProperties = {
|
|
1829
|
-
parameterPath: ["options", "restoreRequestProperties"],
|
|
1830
|
-
mapper: RestoreRequestProperties,
|
|
1831
|
-
};
|
|
1832
|
-
const restoreRequestProperties1 = {
|
|
1833
|
-
parameterPath: "restoreRequestProperties",
|
|
1834
|
-
mapper: RestoreRequestProperties,
|
|
1835
|
-
};
|
|
1836
|
-
const nextLink = {
|
|
1837
|
-
parameterPath: "nextLink",
|
|
1838
|
-
mapper: {
|
|
1839
|
-
serializedName: "nextLink",
|
|
1840
|
-
required: true,
|
|
1841
|
-
type: {
|
|
1842
|
-
name: "String",
|
|
1843
|
-
},
|
|
1844
|
-
},
|
|
1845
|
-
skipEncoding: true,
|
|
1846
|
-
};
|
|
1847
|
-
const properties = {
|
|
1848
|
-
parameterPath: "properties",
|
|
1849
|
-
mapper: PrivateEndpointConnection,
|
|
1850
|
-
};
|
|
1851
|
-
const peConnectionName = {
|
|
1852
|
-
parameterPath: "peConnectionName",
|
|
1853
|
-
mapper: {
|
|
1854
|
-
constraints: {
|
|
1855
|
-
Pattern: new RegExp("^[a-zA-Z0-9-]{3,24}$"),
|
|
1856
|
-
MaxLength: 24,
|
|
1857
|
-
MinLength: 3,
|
|
1858
|
-
},
|
|
1859
|
-
serializedName: "peConnectionName",
|
|
1860
|
-
required: true,
|
|
1861
|
-
type: {
|
|
1862
|
-
name: "String",
|
|
1863
|
-
},
|
|
1864
|
-
},
|
|
1865
|
-
};
|
|
1866
|
-
const jobId = {
|
|
1867
|
-
parameterPath: "jobId",
|
|
1868
|
-
mapper: {
|
|
1869
|
-
serializedName: "jobId",
|
|
1870
|
-
required: true,
|
|
1871
|
-
type: {
|
|
1872
|
-
name: "String",
|
|
1873
|
-
},
|
|
1874
|
-
},
|
|
1875
|
-
};
|
|
1876
|
-
const parameters = {
|
|
1877
|
-
parameterPath: "parameters",
|
|
1878
|
-
mapper: DedicatedHsm,
|
|
1879
|
-
};
|
|
1880
|
-
const name = {
|
|
1881
|
-
parameterPath: "name",
|
|
1882
|
-
mapper: {
|
|
1883
|
-
constraints: {
|
|
1884
|
-
Pattern: new RegExp("^[a-zA-Z0-9-]{3,24}$"),
|
|
1885
|
-
},
|
|
1886
|
-
serializedName: "name",
|
|
1887
|
-
required: true,
|
|
1888
|
-
type: {
|
|
1889
|
-
name: "String",
|
|
1890
|
-
},
|
|
1891
|
-
},
|
|
1892
|
-
};
|
|
1893
|
-
const top = {
|
|
1894
|
-
parameterPath: ["options", "top"],
|
|
1895
|
-
mapper: {
|
|
1896
|
-
serializedName: "$top",
|
|
1897
|
-
type: {
|
|
1898
|
-
name: "Number",
|
|
1899
|
-
},
|
|
1900
|
-
},
|
|
1901
|
-
};
|
|
1902
|
-
|
|
1903
|
-
/*
|
|
1904
|
-
* Copyright (c) Microsoft Corporation.
|
|
1905
|
-
* Licensed under the MIT License.
|
|
1906
|
-
*
|
|
1907
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1908
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1909
|
-
*/
|
|
1910
|
-
function createLroSpec(inputs) {
|
|
1911
|
-
const { args, spec, sendOperationFn } = inputs;
|
|
1912
|
-
return {
|
|
1913
|
-
requestMethod: spec.httpMethod,
|
|
1914
|
-
requestPath: spec.path,
|
|
1915
|
-
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
1916
|
-
sendPollRequest: (path, options) => {
|
|
1917
|
-
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
1918
|
-
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
1919
|
-
},
|
|
1920
|
-
};
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
|
-
/*
|
|
1924
|
-
* Copyright (c) Microsoft Corporation.
|
|
1925
|
-
* Licensed under the MIT License.
|
|
1926
|
-
*
|
|
1927
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1928
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1929
|
-
*/
|
|
1930
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1931
|
-
/** Class containing CloudHsmClusters operations. */
|
|
1932
|
-
class CloudHsmClustersImpl {
|
|
1933
|
-
/**
|
|
1934
|
-
* Initialize a new instance of the class CloudHsmClusters class.
|
|
1935
|
-
* @param client Reference to the service client
|
|
1936
|
-
*/
|
|
1937
|
-
constructor(client) {
|
|
1938
|
-
this.client = client;
|
|
1939
|
-
}
|
|
1940
|
-
/**
|
|
1941
|
-
* The List operation gets information about the Cloud HSM Clusters associated with the subscription
|
|
1942
|
-
* and within the specified resource group.
|
|
1943
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1944
|
-
* @param options The options parameters.
|
|
1945
|
-
*/
|
|
1946
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
1947
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
1948
|
-
return {
|
|
1949
|
-
next() {
|
|
1950
|
-
return iter.next();
|
|
1951
|
-
},
|
|
1952
|
-
[Symbol.asyncIterator]() {
|
|
1953
|
-
return this;
|
|
1954
|
-
},
|
|
1955
|
-
byPage: (settings) => {
|
|
1956
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1957
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1958
|
-
}
|
|
1959
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
1960
|
-
},
|
|
1961
|
-
};
|
|
1962
|
-
}
|
|
1963
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
1964
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
1965
|
-
let result;
|
|
1966
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
1967
|
-
if (!continuationToken) {
|
|
1968
|
-
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
1969
|
-
let page = result.value || [];
|
|
1970
|
-
continuationToken = result.nextLink;
|
|
1971
|
-
setContinuationToken(page, continuationToken);
|
|
1972
|
-
yield yield tslib.__await(page);
|
|
1973
|
-
}
|
|
1974
|
-
while (continuationToken) {
|
|
1975
|
-
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
1976
|
-
continuationToken = result.nextLink;
|
|
1977
|
-
let page = result.value || [];
|
|
1978
|
-
setContinuationToken(page, continuationToken);
|
|
1979
|
-
yield yield tslib.__await(page);
|
|
1980
|
-
}
|
|
1981
|
-
});
|
|
1982
|
-
}
|
|
1983
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
1984
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
1985
|
-
var _a, e_1, _b, _c;
|
|
1986
|
-
try {
|
|
1987
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1988
|
-
_c = _f.value;
|
|
1989
|
-
_d = false;
|
|
1990
|
-
const page = _c;
|
|
1991
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1992
|
-
}
|
|
1993
|
-
}
|
|
1994
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1995
|
-
finally {
|
|
1996
|
-
try {
|
|
1997
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1998
|
-
}
|
|
1999
|
-
finally { if (e_1) throw e_1.error; }
|
|
2000
|
-
}
|
|
2001
|
-
});
|
|
2002
|
-
}
|
|
2003
|
-
/**
|
|
2004
|
-
* The List operation gets information about the Cloud HSM Clusters associated with the subscription.
|
|
2005
|
-
* @param options The options parameters.
|
|
2006
|
-
*/
|
|
2007
|
-
listBySubscription(options) {
|
|
2008
|
-
const iter = this.listBySubscriptionPagingAll(options);
|
|
2009
|
-
return {
|
|
2010
|
-
next() {
|
|
2011
|
-
return iter.next();
|
|
2012
|
-
},
|
|
2013
|
-
[Symbol.asyncIterator]() {
|
|
2014
|
-
return this;
|
|
2015
|
-
},
|
|
2016
|
-
byPage: (settings) => {
|
|
2017
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2018
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2019
|
-
}
|
|
2020
|
-
return this.listBySubscriptionPagingPage(options, settings);
|
|
2021
|
-
},
|
|
2022
|
-
};
|
|
2023
|
-
}
|
|
2024
|
-
listBySubscriptionPagingPage(options, settings) {
|
|
2025
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
2026
|
-
let result;
|
|
2027
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2028
|
-
if (!continuationToken) {
|
|
2029
|
-
result = yield tslib.__await(this._listBySubscription(options));
|
|
2030
|
-
let page = result.value || [];
|
|
2031
|
-
continuationToken = result.nextLink;
|
|
2032
|
-
setContinuationToken(page, continuationToken);
|
|
2033
|
-
yield yield tslib.__await(page);
|
|
2034
|
-
}
|
|
2035
|
-
while (continuationToken) {
|
|
2036
|
-
result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
|
|
2037
|
-
continuationToken = result.nextLink;
|
|
2038
|
-
let page = result.value || [];
|
|
2039
|
-
setContinuationToken(page, continuationToken);
|
|
2040
|
-
yield yield tslib.__await(page);
|
|
2041
|
-
}
|
|
2042
|
-
});
|
|
2043
|
-
}
|
|
2044
|
-
listBySubscriptionPagingAll(options) {
|
|
2045
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
2046
|
-
var _a, e_2, _b, _c;
|
|
2047
|
-
try {
|
|
2048
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2049
|
-
_c = _f.value;
|
|
2050
|
-
_d = false;
|
|
2051
|
-
const page = _c;
|
|
2052
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2053
|
-
}
|
|
2054
|
-
}
|
|
2055
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
2056
|
-
finally {
|
|
2057
|
-
try {
|
|
2058
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2059
|
-
}
|
|
2060
|
-
finally { if (e_2) throw e_2.error; }
|
|
2061
|
-
}
|
|
2062
|
-
});
|
|
2063
|
-
}
|
|
2064
|
-
/**
|
|
2065
|
-
* Create or Update a Cloud HSM Cluster in the specified subscription.
|
|
2066
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2067
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2068
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2069
|
-
* @param location The geo-location where the resource lives
|
|
2070
|
-
* @param options The options parameters.
|
|
2071
|
-
*/
|
|
2072
|
-
beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options) {
|
|
2073
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2074
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2075
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2076
|
-
});
|
|
2077
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2078
|
-
var _a;
|
|
2079
|
-
let currentRawResponse = undefined;
|
|
2080
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2081
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2082
|
-
currentRawResponse = rawResponse;
|
|
2083
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2084
|
-
};
|
|
2085
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2086
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2087
|
-
return {
|
|
2088
|
-
flatResponse,
|
|
2089
|
-
rawResponse: {
|
|
2090
|
-
statusCode: currentRawResponse.status,
|
|
2091
|
-
body: currentRawResponse.parsedBody,
|
|
2092
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2093
|
-
},
|
|
2094
|
-
};
|
|
2095
|
-
});
|
|
2096
|
-
const lro = createLroSpec({
|
|
2097
|
-
sendOperationFn,
|
|
2098
|
-
args: { resourceGroupName, cloudHsmClusterName, location, options },
|
|
2099
|
-
spec: createOrUpdateOperationSpec$1,
|
|
2100
|
-
});
|
|
2101
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2102
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2103
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2104
|
-
resourceLocationConfig: "original-uri",
|
|
2105
|
-
});
|
|
2106
|
-
yield poller.poll();
|
|
2107
|
-
return poller;
|
|
2108
|
-
});
|
|
2109
|
-
}
|
|
2110
|
-
/**
|
|
2111
|
-
* Create or Update a Cloud HSM Cluster in the specified subscription.
|
|
2112
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2113
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2114
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2115
|
-
* @param location The geo-location where the resource lives
|
|
2116
|
-
* @param options The options parameters.
|
|
2117
|
-
*/
|
|
2118
|
-
beginCreateOrUpdateAndWait(resourceGroupName, cloudHsmClusterName, location, options) {
|
|
2119
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2120
|
-
const poller = yield this.beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options);
|
|
2121
|
-
return poller.pollUntilDone();
|
|
2122
|
-
});
|
|
2123
|
-
}
|
|
2124
|
-
/**
|
|
2125
|
-
* Update a Cloud HSM Cluster in the specified subscription.
|
|
2126
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2127
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2128
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2129
|
-
* @param options The options parameters.
|
|
2130
|
-
*/
|
|
2131
|
-
beginUpdate(resourceGroupName, cloudHsmClusterName, options) {
|
|
2132
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2133
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2134
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2135
|
-
});
|
|
2136
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2137
|
-
var _a;
|
|
2138
|
-
let currentRawResponse = undefined;
|
|
2139
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2140
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2141
|
-
currentRawResponse = rawResponse;
|
|
2142
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2143
|
-
};
|
|
2144
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2145
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2146
|
-
return {
|
|
2147
|
-
flatResponse,
|
|
2148
|
-
rawResponse: {
|
|
2149
|
-
statusCode: currentRawResponse.status,
|
|
2150
|
-
body: currentRawResponse.parsedBody,
|
|
2151
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2152
|
-
},
|
|
2153
|
-
};
|
|
2154
|
-
});
|
|
2155
|
-
const lro = createLroSpec({
|
|
2156
|
-
sendOperationFn,
|
|
2157
|
-
args: { resourceGroupName, cloudHsmClusterName, options },
|
|
2158
|
-
spec: updateOperationSpec$1,
|
|
2159
|
-
});
|
|
2160
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2161
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2162
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2163
|
-
resourceLocationConfig: "location",
|
|
2164
|
-
});
|
|
2165
|
-
yield poller.poll();
|
|
2166
|
-
return poller;
|
|
2167
|
-
});
|
|
2168
|
-
}
|
|
2169
|
-
/**
|
|
2170
|
-
* Update a Cloud HSM Cluster in the specified subscription.
|
|
2171
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2172
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2173
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2174
|
-
* @param options The options parameters.
|
|
2175
|
-
*/
|
|
2176
|
-
beginUpdateAndWait(resourceGroupName, cloudHsmClusterName, options) {
|
|
2177
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2178
|
-
const poller = yield this.beginUpdate(resourceGroupName, cloudHsmClusterName, options);
|
|
2179
|
-
return poller.pollUntilDone();
|
|
2180
|
-
});
|
|
2181
|
-
}
|
|
2182
|
-
/**
|
|
2183
|
-
* Gets the specified Cloud HSM Cluster
|
|
2184
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2185
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2186
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2187
|
-
* @param options The options parameters.
|
|
2188
|
-
*/
|
|
2189
|
-
get(resourceGroupName, cloudHsmClusterName, options) {
|
|
2190
|
-
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, options }, getOperationSpec$4);
|
|
2191
|
-
}
|
|
2192
|
-
/**
|
|
2193
|
-
* Deletes the specified Cloud HSM Cluster
|
|
2194
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2195
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2196
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2197
|
-
* @param options The options parameters.
|
|
2198
|
-
*/
|
|
2199
|
-
beginDelete(resourceGroupName, cloudHsmClusterName, options) {
|
|
2200
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2201
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2202
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2203
|
-
});
|
|
2204
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2205
|
-
var _a;
|
|
2206
|
-
let currentRawResponse = undefined;
|
|
2207
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2208
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2209
|
-
currentRawResponse = rawResponse;
|
|
2210
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2211
|
-
};
|
|
2212
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2213
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2214
|
-
return {
|
|
2215
|
-
flatResponse,
|
|
2216
|
-
rawResponse: {
|
|
2217
|
-
statusCode: currentRawResponse.status,
|
|
2218
|
-
body: currentRawResponse.parsedBody,
|
|
2219
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2220
|
-
},
|
|
2221
|
-
};
|
|
2222
|
-
});
|
|
2223
|
-
const lro = createLroSpec({
|
|
2224
|
-
sendOperationFn,
|
|
2225
|
-
args: { resourceGroupName, cloudHsmClusterName, options },
|
|
2226
|
-
spec: deleteOperationSpec$2,
|
|
2227
|
-
});
|
|
2228
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2229
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2230
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2231
|
-
resourceLocationConfig: "location",
|
|
2232
|
-
});
|
|
2233
|
-
yield poller.poll();
|
|
2234
|
-
return poller;
|
|
2235
|
-
});
|
|
2236
|
-
}
|
|
2237
|
-
/**
|
|
2238
|
-
* Deletes the specified Cloud HSM Cluster
|
|
2239
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2240
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2241
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2242
|
-
* @param options The options parameters.
|
|
2243
|
-
*/
|
|
2244
|
-
beginDeleteAndWait(resourceGroupName, cloudHsmClusterName, options) {
|
|
2245
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2246
|
-
const poller = yield this.beginDelete(resourceGroupName, cloudHsmClusterName, options);
|
|
2247
|
-
return poller.pollUntilDone();
|
|
2248
|
-
});
|
|
2249
|
-
}
|
|
2250
|
-
/**
|
|
2251
|
-
* The List operation gets information about the Cloud HSM Clusters associated with the subscription
|
|
2252
|
-
* and within the specified resource group.
|
|
2253
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2254
|
-
* @param options The options parameters.
|
|
2255
|
-
*/
|
|
2256
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
2257
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$1);
|
|
2258
|
-
}
|
|
2259
|
-
/**
|
|
2260
|
-
* The List operation gets information about the Cloud HSM Clusters associated with the subscription.
|
|
2261
|
-
* @param options The options parameters.
|
|
2262
|
-
*/
|
|
2263
|
-
_listBySubscription(options) {
|
|
2264
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$1);
|
|
2265
|
-
}
|
|
2266
|
-
/**
|
|
2267
|
-
* Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
|
|
2268
|
-
* resource in the specified subscription.
|
|
2269
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2270
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2271
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2272
|
-
* @param options The options parameters.
|
|
2273
|
-
*/
|
|
2274
|
-
beginValidateBackupProperties(resourceGroupName, cloudHsmClusterName, options) {
|
|
2275
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2276
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2277
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2278
|
-
});
|
|
2279
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2280
|
-
var _a;
|
|
2281
|
-
let currentRawResponse = undefined;
|
|
2282
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2283
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2284
|
-
currentRawResponse = rawResponse;
|
|
2285
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2286
|
-
};
|
|
2287
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2288
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2289
|
-
return {
|
|
2290
|
-
flatResponse,
|
|
2291
|
-
rawResponse: {
|
|
2292
|
-
statusCode: currentRawResponse.status,
|
|
2293
|
-
body: currentRawResponse.parsedBody,
|
|
2294
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2295
|
-
},
|
|
2296
|
-
};
|
|
2297
|
-
});
|
|
2298
|
-
const lro = createLroSpec({
|
|
2299
|
-
sendOperationFn,
|
|
2300
|
-
args: { resourceGroupName, cloudHsmClusterName, options },
|
|
2301
|
-
spec: validateBackupPropertiesOperationSpec,
|
|
2302
|
-
});
|
|
2303
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2304
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2305
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2306
|
-
resourceLocationConfig: "azure-async-operation",
|
|
2307
|
-
});
|
|
2308
|
-
yield poller.poll();
|
|
2309
|
-
return poller;
|
|
2310
|
-
});
|
|
2311
|
-
}
|
|
2312
|
-
/**
|
|
2313
|
-
* Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
|
|
2314
|
-
* resource in the specified subscription.
|
|
2315
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2316
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2317
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2318
|
-
* @param options The options parameters.
|
|
2319
|
-
*/
|
|
2320
|
-
beginValidateBackupPropertiesAndWait(resourceGroupName, cloudHsmClusterName, options) {
|
|
2321
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2322
|
-
const poller = yield this.beginValidateBackupProperties(resourceGroupName, cloudHsmClusterName, options);
|
|
2323
|
-
return poller.pollUntilDone();
|
|
2324
|
-
});
|
|
2325
|
-
}
|
|
2326
|
-
/**
|
|
2327
|
-
* Create a backup of the Cloud HSM Cluster in the specified subscription
|
|
2328
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2329
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2330
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2331
|
-
* @param options The options parameters.
|
|
2332
|
-
*/
|
|
2333
|
-
beginBackup(resourceGroupName, cloudHsmClusterName, options) {
|
|
2334
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2335
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2336
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2337
|
-
});
|
|
2338
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2339
|
-
var _a;
|
|
2340
|
-
let currentRawResponse = undefined;
|
|
2341
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2342
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2343
|
-
currentRawResponse = rawResponse;
|
|
2344
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2345
|
-
};
|
|
2346
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2347
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2348
|
-
return {
|
|
2349
|
-
flatResponse,
|
|
2350
|
-
rawResponse: {
|
|
2351
|
-
statusCode: currentRawResponse.status,
|
|
2352
|
-
body: currentRawResponse.parsedBody,
|
|
2353
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2354
|
-
},
|
|
2355
|
-
};
|
|
2356
|
-
});
|
|
2357
|
-
const lro = createLroSpec({
|
|
2358
|
-
sendOperationFn,
|
|
2359
|
-
args: { resourceGroupName, cloudHsmClusterName, options },
|
|
2360
|
-
spec: backupOperationSpec,
|
|
2361
|
-
});
|
|
2362
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2363
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2364
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2365
|
-
resourceLocationConfig: "azure-async-operation",
|
|
2366
|
-
});
|
|
2367
|
-
yield poller.poll();
|
|
2368
|
-
return poller;
|
|
2369
|
-
});
|
|
2370
|
-
}
|
|
2371
|
-
/**
|
|
2372
|
-
* Create a backup of the Cloud HSM Cluster in the specified subscription
|
|
2373
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2374
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2375
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2376
|
-
* @param options The options parameters.
|
|
2377
|
-
*/
|
|
2378
|
-
beginBackupAndWait(resourceGroupName, cloudHsmClusterName, options) {
|
|
2379
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2380
|
-
const poller = yield this.beginBackup(resourceGroupName, cloudHsmClusterName, options);
|
|
2381
|
-
return poller.pollUntilDone();
|
|
2382
|
-
});
|
|
2383
|
-
}
|
|
2384
|
-
/**
|
|
2385
|
-
* Queued validating pre restore operation
|
|
2386
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2387
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2388
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2389
|
-
* @param options The options parameters.
|
|
2390
|
-
*/
|
|
2391
|
-
beginValidateRestoreProperties(resourceGroupName, cloudHsmClusterName, options) {
|
|
2392
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2393
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2394
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2395
|
-
});
|
|
2396
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2397
|
-
var _a;
|
|
2398
|
-
let currentRawResponse = undefined;
|
|
2399
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2400
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2401
|
-
currentRawResponse = rawResponse;
|
|
2402
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2403
|
-
};
|
|
2404
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2405
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2406
|
-
return {
|
|
2407
|
-
flatResponse,
|
|
2408
|
-
rawResponse: {
|
|
2409
|
-
statusCode: currentRawResponse.status,
|
|
2410
|
-
body: currentRawResponse.parsedBody,
|
|
2411
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2412
|
-
},
|
|
2413
|
-
};
|
|
2414
|
-
});
|
|
2415
|
-
const lro = createLroSpec({
|
|
2416
|
-
sendOperationFn,
|
|
2417
|
-
args: { resourceGroupName, cloudHsmClusterName, options },
|
|
2418
|
-
spec: validateRestorePropertiesOperationSpec,
|
|
2419
|
-
});
|
|
2420
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2421
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2422
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2423
|
-
resourceLocationConfig: "azure-async-operation",
|
|
2424
|
-
});
|
|
2425
|
-
yield poller.poll();
|
|
2426
|
-
return poller;
|
|
2427
|
-
});
|
|
2428
|
-
}
|
|
2429
|
-
/**
|
|
2430
|
-
* Queued validating pre restore operation
|
|
2431
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2432
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2433
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2434
|
-
* @param options The options parameters.
|
|
2435
|
-
*/
|
|
2436
|
-
beginValidateRestorePropertiesAndWait(resourceGroupName, cloudHsmClusterName, options) {
|
|
2437
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2438
|
-
const poller = yield this.beginValidateRestoreProperties(resourceGroupName, cloudHsmClusterName, options);
|
|
2439
|
-
return poller.pollUntilDone();
|
|
2440
|
-
});
|
|
2441
|
-
}
|
|
2442
|
-
/**
|
|
2443
|
-
* Restores all key materials of a specified Cloud HSM Cluster
|
|
2444
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2445
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2446
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2447
|
-
* @param restoreRequestProperties Restore Operation Required properties
|
|
2448
|
-
* @param options The options parameters.
|
|
2449
|
-
*/
|
|
2450
|
-
beginRestore(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options) {
|
|
2451
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2452
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2453
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2454
|
-
});
|
|
2455
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2456
|
-
var _a;
|
|
2457
|
-
let currentRawResponse = undefined;
|
|
2458
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2459
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2460
|
-
currentRawResponse = rawResponse;
|
|
2461
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2462
|
-
};
|
|
2463
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2464
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2465
|
-
return {
|
|
2466
|
-
flatResponse,
|
|
2467
|
-
rawResponse: {
|
|
2468
|
-
statusCode: currentRawResponse.status,
|
|
2469
|
-
body: currentRawResponse.parsedBody,
|
|
2470
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2471
|
-
},
|
|
2472
|
-
};
|
|
2473
|
-
});
|
|
2474
|
-
const lro = createLroSpec({
|
|
2475
|
-
sendOperationFn,
|
|
2476
|
-
args: {
|
|
2477
|
-
resourceGroupName,
|
|
2478
|
-
cloudHsmClusterName,
|
|
2479
|
-
restoreRequestProperties,
|
|
2480
|
-
options,
|
|
2481
|
-
},
|
|
2482
|
-
spec: restoreOperationSpec,
|
|
2483
|
-
});
|
|
2484
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2485
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2486
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2487
|
-
resourceLocationConfig: "azure-async-operation",
|
|
2488
|
-
});
|
|
2489
|
-
yield poller.poll();
|
|
2490
|
-
return poller;
|
|
2491
|
-
});
|
|
2492
|
-
}
|
|
2493
|
-
/**
|
|
2494
|
-
* Restores all key materials of a specified Cloud HSM Cluster
|
|
2495
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2496
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2497
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2498
|
-
* @param restoreRequestProperties Restore Operation Required properties
|
|
2499
|
-
* @param options The options parameters.
|
|
2500
|
-
*/
|
|
2501
|
-
beginRestoreAndWait(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options) {
|
|
2502
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2503
|
-
const poller = yield this.beginRestore(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options);
|
|
2504
|
-
return poller.pollUntilDone();
|
|
2505
|
-
});
|
|
2506
|
-
}
|
|
2507
|
-
/**
|
|
2508
|
-
* ListByResourceGroupNext
|
|
2509
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2510
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
2511
|
-
* @param options The options parameters.
|
|
2512
|
-
*/
|
|
2513
|
-
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
2514
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$1);
|
|
2515
|
-
}
|
|
2516
|
-
/**
|
|
2517
|
-
* ListBySubscriptionNext
|
|
2518
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
2519
|
-
* @param options The options parameters.
|
|
2520
|
-
*/
|
|
2521
|
-
_listBySubscriptionNext(nextLink, options) {
|
|
2522
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec$1);
|
|
2523
|
-
}
|
|
2524
|
-
}
|
|
2525
|
-
// Operation Specifications
|
|
2526
|
-
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2527
|
-
const createOrUpdateOperationSpec$1 = {
|
|
2528
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
|
|
2529
|
-
httpMethod: "PUT",
|
|
2530
|
-
responses: {
|
|
2531
|
-
200: {
|
|
2532
|
-
bodyMapper: CloudHsmCluster,
|
|
2533
|
-
},
|
|
2534
|
-
201: {
|
|
2535
|
-
bodyMapper: CloudHsmCluster,
|
|
2536
|
-
},
|
|
2537
|
-
202: {
|
|
2538
|
-
bodyMapper: CloudHsmCluster,
|
|
2539
|
-
},
|
|
2540
|
-
204: {
|
|
2541
|
-
bodyMapper: CloudHsmCluster,
|
|
2542
|
-
},
|
|
2543
|
-
default: {
|
|
2544
|
-
bodyMapper: ErrorResponse,
|
|
2545
|
-
},
|
|
2546
|
-
},
|
|
2547
|
-
requestBody: {
|
|
2548
|
-
parameterPath: {
|
|
2549
|
-
tags: ["options", "tags"],
|
|
2550
|
-
location: ["location"],
|
|
2551
|
-
identity: ["options", "identity"],
|
|
2552
|
-
sku: ["options", "sku"],
|
|
2553
|
-
autoGeneratedDomainNameLabelScope: [
|
|
2554
|
-
"options",
|
|
2555
|
-
"autoGeneratedDomainNameLabelScope",
|
|
2556
|
-
],
|
|
2557
|
-
publicNetworkAccess: ["options", "publicNetworkAccess"],
|
|
2558
|
-
},
|
|
2559
|
-
mapper: Object.assign(Object.assign({}, CloudHsmCluster), { required: true }),
|
|
2560
|
-
},
|
|
2561
|
-
queryParameters: [apiVersion],
|
|
2562
|
-
urlParameters: [
|
|
2563
|
-
$host,
|
|
2564
|
-
subscriptionId,
|
|
2565
|
-
resourceGroupName,
|
|
2566
|
-
cloudHsmClusterName,
|
|
2567
|
-
],
|
|
2568
|
-
headerParameters: [contentType, accept],
|
|
2569
|
-
mediaType: "json",
|
|
2570
|
-
serializer: serializer$7,
|
|
2571
|
-
};
|
|
2572
|
-
const updateOperationSpec$1 = {
|
|
2573
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
|
|
2574
|
-
httpMethod: "PATCH",
|
|
2575
|
-
responses: {
|
|
2576
|
-
200: {
|
|
2577
|
-
bodyMapper: CloudHsmCluster,
|
|
2578
|
-
},
|
|
2579
|
-
201: {
|
|
2580
|
-
bodyMapper: CloudHsmCluster,
|
|
2581
|
-
},
|
|
2582
|
-
202: {
|
|
2583
|
-
bodyMapper: CloudHsmCluster,
|
|
2584
|
-
},
|
|
2585
|
-
204: {
|
|
2586
|
-
bodyMapper: CloudHsmCluster,
|
|
2587
|
-
},
|
|
2588
|
-
default: {
|
|
2589
|
-
bodyMapper: ErrorResponse,
|
|
2590
|
-
},
|
|
2591
|
-
},
|
|
2592
|
-
requestBody: {
|
|
2593
|
-
parameterPath: {
|
|
2594
|
-
tags: ["options", "tags"],
|
|
2595
|
-
identity: ["options", "identity"],
|
|
2596
|
-
},
|
|
2597
|
-
mapper: Object.assign(Object.assign({}, CloudHsmClusterPatchParameters), { required: true }),
|
|
2598
|
-
},
|
|
2599
|
-
queryParameters: [apiVersion],
|
|
2600
|
-
urlParameters: [
|
|
2601
|
-
$host,
|
|
2602
|
-
subscriptionId,
|
|
2603
|
-
resourceGroupName,
|
|
2604
|
-
cloudHsmClusterName,
|
|
2605
|
-
],
|
|
2606
|
-
headerParameters: [contentType, accept],
|
|
2607
|
-
mediaType: "json",
|
|
2608
|
-
serializer: serializer$7,
|
|
2609
|
-
};
|
|
2610
|
-
const getOperationSpec$4 = {
|
|
2611
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
|
|
2612
|
-
httpMethod: "GET",
|
|
2613
|
-
responses: {
|
|
2614
|
-
200: {
|
|
2615
|
-
bodyMapper: CloudHsmCluster,
|
|
2616
|
-
},
|
|
2617
|
-
default: {
|
|
2618
|
-
bodyMapper: ErrorResponse,
|
|
2619
|
-
},
|
|
2620
|
-
},
|
|
2621
|
-
queryParameters: [apiVersion],
|
|
2622
|
-
urlParameters: [
|
|
2623
|
-
$host,
|
|
2624
|
-
subscriptionId,
|
|
2625
|
-
resourceGroupName,
|
|
2626
|
-
cloudHsmClusterName,
|
|
2627
|
-
],
|
|
2628
|
-
headerParameters: [accept],
|
|
2629
|
-
serializer: serializer$7,
|
|
2630
|
-
};
|
|
2631
|
-
const deleteOperationSpec$2 = {
|
|
2632
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
|
|
2633
|
-
httpMethod: "DELETE",
|
|
2634
|
-
responses: {
|
|
2635
|
-
200: {
|
|
2636
|
-
headersMapper: CloudHsmClustersDeleteHeaders,
|
|
2637
|
-
},
|
|
2638
|
-
201: {
|
|
2639
|
-
headersMapper: CloudHsmClustersDeleteHeaders,
|
|
2640
|
-
},
|
|
2641
|
-
202: {
|
|
2642
|
-
headersMapper: CloudHsmClustersDeleteHeaders,
|
|
2643
|
-
},
|
|
2644
|
-
204: {
|
|
2645
|
-
headersMapper: CloudHsmClustersDeleteHeaders,
|
|
2646
|
-
},
|
|
2647
|
-
default: {
|
|
2648
|
-
bodyMapper: ErrorResponse,
|
|
2649
|
-
},
|
|
2650
|
-
},
|
|
2651
|
-
queryParameters: [apiVersion],
|
|
2652
|
-
urlParameters: [
|
|
2653
|
-
$host,
|
|
2654
|
-
subscriptionId,
|
|
2655
|
-
resourceGroupName,
|
|
2656
|
-
cloudHsmClusterName,
|
|
2657
|
-
],
|
|
2658
|
-
headerParameters: [accept],
|
|
2659
|
-
serializer: serializer$7,
|
|
2660
|
-
};
|
|
2661
|
-
const listByResourceGroupOperationSpec$1 = {
|
|
2662
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters",
|
|
2663
|
-
httpMethod: "GET",
|
|
2664
|
-
responses: {
|
|
2665
|
-
200: {
|
|
2666
|
-
bodyMapper: CloudHsmClusterListResult,
|
|
2667
|
-
},
|
|
2668
|
-
default: {
|
|
2669
|
-
bodyMapper: ErrorResponse,
|
|
2670
|
-
},
|
|
2671
|
-
},
|
|
2672
|
-
queryParameters: [apiVersion, skiptoken],
|
|
2673
|
-
urlParameters: [
|
|
2674
|
-
$host,
|
|
2675
|
-
subscriptionId,
|
|
2676
|
-
resourceGroupName,
|
|
2677
|
-
],
|
|
2678
|
-
headerParameters: [accept],
|
|
2679
|
-
serializer: serializer$7,
|
|
2680
|
-
};
|
|
2681
|
-
const listBySubscriptionOperationSpec$1 = {
|
|
2682
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters",
|
|
2683
|
-
httpMethod: "GET",
|
|
2684
|
-
responses: {
|
|
2685
|
-
200: {
|
|
2686
|
-
bodyMapper: CloudHsmClusterListResult,
|
|
2687
|
-
},
|
|
2688
|
-
default: {
|
|
2689
|
-
bodyMapper: ErrorResponse,
|
|
2690
|
-
},
|
|
2691
|
-
},
|
|
2692
|
-
queryParameters: [apiVersion, skiptoken],
|
|
2693
|
-
urlParameters: [$host, subscriptionId],
|
|
2694
|
-
headerParameters: [accept],
|
|
2695
|
-
serializer: serializer$7,
|
|
2696
|
-
};
|
|
2697
|
-
const validateBackupPropertiesOperationSpec = {
|
|
2698
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/validateBackupProperties",
|
|
2699
|
-
httpMethod: "POST",
|
|
2700
|
-
responses: {
|
|
2701
|
-
200: {
|
|
2702
|
-
bodyMapper: BackupResult,
|
|
2703
|
-
headersMapper: CloudHsmClustersValidateBackupPropertiesHeaders,
|
|
2704
|
-
},
|
|
2705
|
-
201: {
|
|
2706
|
-
bodyMapper: BackupResult,
|
|
2707
|
-
headersMapper: CloudHsmClustersValidateBackupPropertiesHeaders,
|
|
2708
|
-
},
|
|
2709
|
-
202: {
|
|
2710
|
-
bodyMapper: BackupResult,
|
|
2711
|
-
headersMapper: CloudHsmClustersValidateBackupPropertiesHeaders,
|
|
2712
|
-
},
|
|
2713
|
-
204: {
|
|
2714
|
-
bodyMapper: BackupResult,
|
|
2715
|
-
headersMapper: CloudHsmClustersValidateBackupPropertiesHeaders,
|
|
2716
|
-
},
|
|
2717
|
-
default: {
|
|
2718
|
-
bodyMapper: ErrorResponse,
|
|
2719
|
-
},
|
|
2720
|
-
},
|
|
2721
|
-
requestBody: backupRequestProperties,
|
|
2722
|
-
queryParameters: [apiVersion],
|
|
2723
|
-
urlParameters: [
|
|
2724
|
-
$host,
|
|
2725
|
-
subscriptionId,
|
|
2726
|
-
resourceGroupName,
|
|
2727
|
-
cloudHsmClusterName,
|
|
2728
|
-
],
|
|
2729
|
-
headerParameters: [contentType, accept],
|
|
2730
|
-
mediaType: "json",
|
|
2731
|
-
serializer: serializer$7,
|
|
2732
|
-
};
|
|
2733
|
-
const backupOperationSpec = {
|
|
2734
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backup",
|
|
2735
|
-
httpMethod: "POST",
|
|
2736
|
-
responses: {
|
|
2737
|
-
200: {
|
|
2738
|
-
bodyMapper: BackupResult,
|
|
2739
|
-
headersMapper: CloudHsmClustersBackupHeaders,
|
|
2740
|
-
},
|
|
2741
|
-
201: {
|
|
2742
|
-
bodyMapper: BackupResult,
|
|
2743
|
-
headersMapper: CloudHsmClustersBackupHeaders,
|
|
2744
|
-
},
|
|
2745
|
-
202: {
|
|
2746
|
-
bodyMapper: BackupResult,
|
|
2747
|
-
headersMapper: CloudHsmClustersBackupHeaders,
|
|
2748
|
-
},
|
|
2749
|
-
204: {
|
|
2750
|
-
bodyMapper: BackupResult,
|
|
2751
|
-
headersMapper: CloudHsmClustersBackupHeaders,
|
|
2752
|
-
},
|
|
2753
|
-
default: {
|
|
2754
|
-
bodyMapper: ErrorResponse,
|
|
2755
|
-
},
|
|
2756
|
-
},
|
|
2757
|
-
requestBody: backupRequestProperties,
|
|
2758
|
-
queryParameters: [apiVersion],
|
|
2759
|
-
urlParameters: [
|
|
2760
|
-
$host,
|
|
2761
|
-
subscriptionId,
|
|
2762
|
-
resourceGroupName,
|
|
2763
|
-
cloudHsmClusterName,
|
|
2764
|
-
],
|
|
2765
|
-
headerParameters: [contentType, accept],
|
|
2766
|
-
mediaType: "json",
|
|
2767
|
-
serializer: serializer$7,
|
|
2768
|
-
};
|
|
2769
|
-
const validateRestorePropertiesOperationSpec = {
|
|
2770
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/validateRestoreProperties",
|
|
2771
|
-
httpMethod: "POST",
|
|
2772
|
-
responses: {
|
|
2773
|
-
200: {
|
|
2774
|
-
bodyMapper: RestoreResult,
|
|
2775
|
-
headersMapper: CloudHsmClustersValidateRestorePropertiesHeaders,
|
|
2776
|
-
},
|
|
2777
|
-
201: {
|
|
2778
|
-
bodyMapper: RestoreResult,
|
|
2779
|
-
headersMapper: CloudHsmClustersValidateRestorePropertiesHeaders,
|
|
2780
|
-
},
|
|
2781
|
-
202: {
|
|
2782
|
-
bodyMapper: RestoreResult,
|
|
2783
|
-
headersMapper: CloudHsmClustersValidateRestorePropertiesHeaders,
|
|
2784
|
-
},
|
|
2785
|
-
204: {
|
|
2786
|
-
bodyMapper: RestoreResult,
|
|
2787
|
-
headersMapper: CloudHsmClustersValidateRestorePropertiesHeaders,
|
|
2788
|
-
},
|
|
2789
|
-
default: {
|
|
2790
|
-
bodyMapper: ErrorResponse,
|
|
2791
|
-
},
|
|
2792
|
-
},
|
|
2793
|
-
requestBody: restoreRequestProperties,
|
|
2794
|
-
queryParameters: [apiVersion],
|
|
2795
|
-
urlParameters: [
|
|
2796
|
-
$host,
|
|
2797
|
-
subscriptionId,
|
|
2798
|
-
resourceGroupName,
|
|
2799
|
-
cloudHsmClusterName,
|
|
2800
|
-
],
|
|
2801
|
-
headerParameters: [contentType, accept],
|
|
2802
|
-
mediaType: "json",
|
|
2803
|
-
serializer: serializer$7,
|
|
2804
|
-
};
|
|
2805
|
-
const restoreOperationSpec = {
|
|
2806
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/restore",
|
|
2807
|
-
httpMethod: "POST",
|
|
2808
|
-
responses: {
|
|
2809
|
-
200: {
|
|
2810
|
-
bodyMapper: RestoreResult,
|
|
2811
|
-
headersMapper: CloudHsmClustersRestoreHeaders,
|
|
2812
|
-
},
|
|
2813
|
-
201: {
|
|
2814
|
-
bodyMapper: RestoreResult,
|
|
2815
|
-
headersMapper: CloudHsmClustersRestoreHeaders,
|
|
2816
|
-
},
|
|
2817
|
-
202: {
|
|
2818
|
-
bodyMapper: RestoreResult,
|
|
2819
|
-
headersMapper: CloudHsmClustersRestoreHeaders,
|
|
2820
|
-
},
|
|
2821
|
-
204: {
|
|
2822
|
-
bodyMapper: RestoreResult,
|
|
2823
|
-
headersMapper: CloudHsmClustersRestoreHeaders,
|
|
2824
|
-
},
|
|
2825
|
-
default: {
|
|
2826
|
-
bodyMapper: ErrorResponse,
|
|
2827
|
-
},
|
|
2828
|
-
},
|
|
2829
|
-
requestBody: restoreRequestProperties1,
|
|
2830
|
-
queryParameters: [apiVersion],
|
|
2831
|
-
urlParameters: [
|
|
2832
|
-
$host,
|
|
2833
|
-
subscriptionId,
|
|
2834
|
-
resourceGroupName,
|
|
2835
|
-
cloudHsmClusterName,
|
|
2836
|
-
],
|
|
2837
|
-
headerParameters: [contentType, accept],
|
|
2838
|
-
mediaType: "json",
|
|
2839
|
-
serializer: serializer$7,
|
|
2840
|
-
};
|
|
2841
|
-
const listByResourceGroupNextOperationSpec$1 = {
|
|
2842
|
-
path: "{nextLink}",
|
|
2843
|
-
httpMethod: "GET",
|
|
2844
|
-
responses: {
|
|
2845
|
-
200: {
|
|
2846
|
-
bodyMapper: CloudHsmClusterListResult,
|
|
2847
|
-
},
|
|
2848
|
-
default: {
|
|
2849
|
-
bodyMapper: ErrorResponse,
|
|
2850
|
-
},
|
|
2851
|
-
},
|
|
2852
|
-
urlParameters: [
|
|
2853
|
-
$host,
|
|
2854
|
-
subscriptionId,
|
|
2855
|
-
resourceGroupName,
|
|
2856
|
-
nextLink,
|
|
2857
|
-
],
|
|
2858
|
-
headerParameters: [accept],
|
|
2859
|
-
serializer: serializer$7,
|
|
2860
|
-
};
|
|
2861
|
-
const listBySubscriptionNextOperationSpec$1 = {
|
|
2862
|
-
path: "{nextLink}",
|
|
2863
|
-
httpMethod: "GET",
|
|
2864
|
-
responses: {
|
|
2865
|
-
200: {
|
|
2866
|
-
bodyMapper: CloudHsmClusterListResult,
|
|
2867
|
-
},
|
|
2868
|
-
default: {
|
|
2869
|
-
bodyMapper: ErrorResponse,
|
|
2870
|
-
},
|
|
2871
|
-
},
|
|
2872
|
-
urlParameters: [
|
|
2873
|
-
$host,
|
|
2874
|
-
subscriptionId,
|
|
2875
|
-
nextLink,
|
|
2876
|
-
],
|
|
2877
|
-
headerParameters: [accept],
|
|
2878
|
-
serializer: serializer$7,
|
|
2879
|
-
};
|
|
2880
|
-
|
|
2881
|
-
/*
|
|
2882
|
-
* Copyright (c) Microsoft Corporation.
|
|
2883
|
-
* Licensed under the MIT License.
|
|
2884
|
-
*
|
|
2885
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2886
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2887
|
-
*/
|
|
2888
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2889
|
-
/** Class containing CloudHsmClusterPrivateLinkResources operations. */
|
|
2890
|
-
class CloudHsmClusterPrivateLinkResourcesImpl {
|
|
2891
|
-
/**
|
|
2892
|
-
* Initialize a new instance of the class CloudHsmClusterPrivateLinkResources class.
|
|
2893
|
-
* @param client Reference to the service client
|
|
2894
|
-
*/
|
|
2895
|
-
constructor(client) {
|
|
2896
|
-
this.client = client;
|
|
2897
|
-
}
|
|
2898
|
-
/**
|
|
2899
|
-
* Gets the private link resources supported for the Cloud Hsm Cluster.
|
|
2900
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2901
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2902
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2903
|
-
* @param options The options parameters.
|
|
2904
|
-
*/
|
|
2905
|
-
listByCloudHsmCluster(resourceGroupName, cloudHsmClusterName, options) {
|
|
2906
|
-
const iter = this.listByCloudHsmClusterPagingAll(resourceGroupName, cloudHsmClusterName, options);
|
|
2907
|
-
return {
|
|
2908
|
-
next() {
|
|
2909
|
-
return iter.next();
|
|
2910
|
-
},
|
|
2911
|
-
[Symbol.asyncIterator]() {
|
|
2912
|
-
return this;
|
|
2913
|
-
},
|
|
2914
|
-
byPage: (settings) => {
|
|
2915
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2916
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2917
|
-
}
|
|
2918
|
-
return this.listByCloudHsmClusterPagingPage(resourceGroupName, cloudHsmClusterName, options, settings);
|
|
2919
|
-
},
|
|
2920
|
-
};
|
|
2921
|
-
}
|
|
2922
|
-
listByCloudHsmClusterPagingPage(resourceGroupName, cloudHsmClusterName, options, settings) {
|
|
2923
|
-
return tslib.__asyncGenerator(this, arguments, function* listByCloudHsmClusterPagingPage_1() {
|
|
2924
|
-
let result;
|
|
2925
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2926
|
-
if (!continuationToken) {
|
|
2927
|
-
result = yield tslib.__await(this._listByCloudHsmCluster(resourceGroupName, cloudHsmClusterName, options));
|
|
2928
|
-
let page = result.value || [];
|
|
2929
|
-
continuationToken = result.nextLink;
|
|
2930
|
-
setContinuationToken(page, continuationToken);
|
|
2931
|
-
yield yield tslib.__await(page);
|
|
2932
|
-
}
|
|
2933
|
-
while (continuationToken) {
|
|
2934
|
-
result = yield tslib.__await(this._listByCloudHsmClusterNext(resourceGroupName, cloudHsmClusterName, continuationToken, options));
|
|
2935
|
-
continuationToken = result.nextLink;
|
|
2936
|
-
let page = result.value || [];
|
|
2937
|
-
setContinuationToken(page, continuationToken);
|
|
2938
|
-
yield yield tslib.__await(page);
|
|
2939
|
-
}
|
|
2940
|
-
});
|
|
2941
|
-
}
|
|
2942
|
-
listByCloudHsmClusterPagingAll(resourceGroupName, cloudHsmClusterName, options) {
|
|
2943
|
-
return tslib.__asyncGenerator(this, arguments, function* listByCloudHsmClusterPagingAll_1() {
|
|
2944
|
-
var _a, e_1, _b, _c;
|
|
2945
|
-
try {
|
|
2946
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByCloudHsmClusterPagingPage(resourceGroupName, cloudHsmClusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2947
|
-
_c = _f.value;
|
|
2948
|
-
_d = false;
|
|
2949
|
-
const page = _c;
|
|
2950
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2951
|
-
}
|
|
2952
|
-
}
|
|
2953
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2954
|
-
finally {
|
|
2955
|
-
try {
|
|
2956
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2957
|
-
}
|
|
2958
|
-
finally { if (e_1) throw e_1.error; }
|
|
2959
|
-
}
|
|
2960
|
-
});
|
|
2961
|
-
}
|
|
2962
|
-
/**
|
|
2963
|
-
* Gets the private link resources supported for the Cloud Hsm Cluster.
|
|
2964
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2965
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2966
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2967
|
-
* @param options The options parameters.
|
|
2968
|
-
*/
|
|
2969
|
-
_listByCloudHsmCluster(resourceGroupName, cloudHsmClusterName, options) {
|
|
2970
|
-
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, options }, listByCloudHsmClusterOperationSpec$1);
|
|
2971
|
-
}
|
|
2972
|
-
/**
|
|
2973
|
-
* ListByCloudHsmClusterNext
|
|
2974
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2975
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
2976
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
2977
|
-
* @param nextLink The nextLink from the previous successful call to the ListByCloudHsmCluster method.
|
|
2978
|
-
* @param options The options parameters.
|
|
2979
|
-
*/
|
|
2980
|
-
_listByCloudHsmClusterNext(resourceGroupName, cloudHsmClusterName, nextLink, options) {
|
|
2981
|
-
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, nextLink, options }, listByCloudHsmClusterNextOperationSpec$1);
|
|
2982
|
-
}
|
|
2983
|
-
}
|
|
2984
|
-
// Operation Specifications
|
|
2985
|
-
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2986
|
-
const listByCloudHsmClusterOperationSpec$1 = {
|
|
2987
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateLinkResources",
|
|
2988
|
-
httpMethod: "GET",
|
|
2989
|
-
responses: {
|
|
2990
|
-
200: {
|
|
2991
|
-
bodyMapper: PrivateLinkResourceListResult,
|
|
2992
|
-
},
|
|
2993
|
-
default: {
|
|
2994
|
-
bodyMapper: ErrorResponse,
|
|
2995
|
-
},
|
|
2996
|
-
},
|
|
2997
|
-
queryParameters: [apiVersion],
|
|
2998
|
-
urlParameters: [
|
|
2999
|
-
$host,
|
|
3000
|
-
subscriptionId,
|
|
3001
|
-
resourceGroupName,
|
|
3002
|
-
cloudHsmClusterName,
|
|
3003
|
-
],
|
|
3004
|
-
headerParameters: [accept],
|
|
3005
|
-
serializer: serializer$6,
|
|
3006
|
-
};
|
|
3007
|
-
const listByCloudHsmClusterNextOperationSpec$1 = {
|
|
3008
|
-
path: "{nextLink}",
|
|
3009
|
-
httpMethod: "GET",
|
|
3010
|
-
responses: {
|
|
3011
|
-
200: {
|
|
3012
|
-
bodyMapper: PrivateLinkResourceListResult,
|
|
3013
|
-
},
|
|
3014
|
-
default: {
|
|
3015
|
-
bodyMapper: ErrorResponse,
|
|
3016
|
-
},
|
|
3017
|
-
},
|
|
3018
|
-
urlParameters: [
|
|
3019
|
-
$host,
|
|
3020
|
-
subscriptionId,
|
|
3021
|
-
resourceGroupName,
|
|
3022
|
-
cloudHsmClusterName,
|
|
3023
|
-
nextLink,
|
|
3024
|
-
],
|
|
3025
|
-
headerParameters: [accept],
|
|
3026
|
-
serializer: serializer$6,
|
|
3027
|
-
};
|
|
3028
|
-
|
|
3029
|
-
/*
|
|
3030
|
-
* Copyright (c) Microsoft Corporation.
|
|
3031
|
-
* Licensed under the MIT License.
|
|
3032
|
-
*
|
|
3033
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3034
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3035
|
-
*/
|
|
3036
|
-
/** Class containing CloudHsmClusterPrivateEndpointConnections operations. */
|
|
3037
|
-
class CloudHsmClusterPrivateEndpointConnectionsImpl {
|
|
3038
|
-
/**
|
|
3039
|
-
* Initialize a new instance of the class CloudHsmClusterPrivateEndpointConnections class.
|
|
3040
|
-
* @param client Reference to the service client
|
|
3041
|
-
*/
|
|
3042
|
-
constructor(client) {
|
|
3043
|
-
this.client = client;
|
|
3044
|
-
}
|
|
3045
|
-
/**
|
|
3046
|
-
* Creates or updates the private endpoint connection for the Cloud Hsm Cluster.
|
|
3047
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3048
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
3049
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
3050
|
-
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
3051
|
-
* Cluster.
|
|
3052
|
-
* @param properties Parameters of the PrivateEndpointConnection
|
|
3053
|
-
* @param options The options parameters.
|
|
3054
|
-
*/
|
|
3055
|
-
create(resourceGroupName, cloudHsmClusterName, peConnectionName, properties, options) {
|
|
3056
|
-
return this.client.sendOperationRequest({
|
|
3057
|
-
resourceGroupName,
|
|
3058
|
-
cloudHsmClusterName,
|
|
3059
|
-
peConnectionName,
|
|
3060
|
-
properties,
|
|
3061
|
-
options,
|
|
3062
|
-
}, createOperationSpec);
|
|
3063
|
-
}
|
|
3064
|
-
/**
|
|
3065
|
-
* Deletes the private endpoint connection for the Cloud Hsm Cluster.
|
|
3066
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3067
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
3068
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
3069
|
-
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
3070
|
-
* Cluster.
|
|
3071
|
-
* @param options The options parameters.
|
|
3072
|
-
*/
|
|
3073
|
-
beginDelete(resourceGroupName, cloudHsmClusterName, peConnectionName, options) {
|
|
3074
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3075
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3076
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3077
|
-
});
|
|
3078
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3079
|
-
var _a;
|
|
3080
|
-
let currentRawResponse = undefined;
|
|
3081
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3082
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3083
|
-
currentRawResponse = rawResponse;
|
|
3084
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3085
|
-
};
|
|
3086
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3087
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3088
|
-
return {
|
|
3089
|
-
flatResponse,
|
|
3090
|
-
rawResponse: {
|
|
3091
|
-
statusCode: currentRawResponse.status,
|
|
3092
|
-
body: currentRawResponse.parsedBody,
|
|
3093
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3094
|
-
},
|
|
3095
|
-
};
|
|
3096
|
-
});
|
|
3097
|
-
const lro = createLroSpec({
|
|
3098
|
-
sendOperationFn,
|
|
3099
|
-
args: {
|
|
3100
|
-
resourceGroupName,
|
|
3101
|
-
cloudHsmClusterName,
|
|
3102
|
-
peConnectionName,
|
|
3103
|
-
options,
|
|
3104
|
-
},
|
|
3105
|
-
spec: deleteOperationSpec$1,
|
|
3106
|
-
});
|
|
3107
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3108
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3109
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3110
|
-
resourceLocationConfig: "location",
|
|
3111
|
-
});
|
|
3112
|
-
yield poller.poll();
|
|
3113
|
-
return poller;
|
|
3114
|
-
});
|
|
3115
|
-
}
|
|
3116
|
-
/**
|
|
3117
|
-
* Deletes the private endpoint connection for the Cloud Hsm Cluster.
|
|
3118
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3119
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
3120
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
3121
|
-
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
3122
|
-
* Cluster.
|
|
3123
|
-
* @param options The options parameters.
|
|
3124
|
-
*/
|
|
3125
|
-
beginDeleteAndWait(resourceGroupName, cloudHsmClusterName, peConnectionName, options) {
|
|
3126
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3127
|
-
const poller = yield this.beginDelete(resourceGroupName, cloudHsmClusterName, peConnectionName, options);
|
|
3128
|
-
return poller.pollUntilDone();
|
|
3129
|
-
});
|
|
3130
|
-
}
|
|
3131
|
-
/**
|
|
3132
|
-
* Gets the private endpoint connection for the Cloud Hsm Cluster.
|
|
3133
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3134
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
3135
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
3136
|
-
* @param peConnectionName Name of the private endpoint connection associated with the Cloud HSM
|
|
3137
|
-
* Cluster.
|
|
3138
|
-
* @param options The options parameters.
|
|
3139
|
-
*/
|
|
3140
|
-
get(resourceGroupName, cloudHsmClusterName, peConnectionName, options) {
|
|
3141
|
-
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, peConnectionName, options }, getOperationSpec$3);
|
|
3142
|
-
}
|
|
3143
|
-
}
|
|
3144
|
-
// Operation Specifications
|
|
3145
|
-
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3146
|
-
const createOperationSpec = {
|
|
3147
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}",
|
|
3148
|
-
httpMethod: "PUT",
|
|
3149
|
-
responses: {
|
|
3150
|
-
200: {
|
|
3151
|
-
bodyMapper: PrivateEndpointConnection,
|
|
3152
|
-
},
|
|
3153
|
-
default: {
|
|
3154
|
-
bodyMapper: ErrorResponse,
|
|
3155
|
-
},
|
|
3156
|
-
},
|
|
3157
|
-
requestBody: properties,
|
|
3158
|
-
queryParameters: [apiVersion],
|
|
3159
|
-
urlParameters: [
|
|
3160
|
-
$host,
|
|
3161
|
-
subscriptionId,
|
|
3162
|
-
resourceGroupName,
|
|
3163
|
-
cloudHsmClusterName,
|
|
3164
|
-
peConnectionName,
|
|
3165
|
-
],
|
|
3166
|
-
headerParameters: [contentType, accept],
|
|
3167
|
-
mediaType: "json",
|
|
3168
|
-
serializer: serializer$5,
|
|
3169
|
-
};
|
|
3170
|
-
const deleteOperationSpec$1 = {
|
|
3171
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}",
|
|
3172
|
-
httpMethod: "DELETE",
|
|
3173
|
-
responses: {
|
|
3174
|
-
200: {
|
|
3175
|
-
headersMapper: CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders,
|
|
3176
|
-
},
|
|
3177
|
-
201: {
|
|
3178
|
-
headersMapper: CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders,
|
|
3179
|
-
},
|
|
3180
|
-
202: {
|
|
3181
|
-
headersMapper: CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders,
|
|
3182
|
-
},
|
|
3183
|
-
204: {
|
|
3184
|
-
headersMapper: CloudHsmClusterPrivateEndpointConnectionsDeleteHeaders,
|
|
3185
|
-
},
|
|
3186
|
-
default: {
|
|
3187
|
-
bodyMapper: ErrorResponse,
|
|
3188
|
-
},
|
|
3189
|
-
},
|
|
3190
|
-
queryParameters: [apiVersion],
|
|
3191
|
-
urlParameters: [
|
|
3192
|
-
$host,
|
|
3193
|
-
subscriptionId,
|
|
3194
|
-
resourceGroupName,
|
|
3195
|
-
cloudHsmClusterName,
|
|
3196
|
-
peConnectionName,
|
|
3197
|
-
],
|
|
3198
|
-
headerParameters: [accept],
|
|
3199
|
-
serializer: serializer$5,
|
|
3200
|
-
};
|
|
3201
|
-
const getOperationSpec$3 = {
|
|
3202
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}",
|
|
3203
|
-
httpMethod: "GET",
|
|
3204
|
-
responses: {
|
|
3205
|
-
200: {
|
|
3206
|
-
bodyMapper: PrivateEndpointConnection,
|
|
3207
|
-
},
|
|
3208
|
-
default: {
|
|
3209
|
-
bodyMapper: ErrorResponse,
|
|
3210
|
-
},
|
|
3211
|
-
},
|
|
3212
|
-
queryParameters: [apiVersion],
|
|
3213
|
-
urlParameters: [
|
|
3214
|
-
$host,
|
|
3215
|
-
subscriptionId,
|
|
3216
|
-
resourceGroupName,
|
|
3217
|
-
cloudHsmClusterName,
|
|
3218
|
-
peConnectionName,
|
|
3219
|
-
],
|
|
3220
|
-
headerParameters: [accept],
|
|
3221
|
-
serializer: serializer$5,
|
|
3222
|
-
};
|
|
3223
|
-
|
|
3224
|
-
/*
|
|
3225
|
-
* Copyright (c) Microsoft Corporation.
|
|
3226
|
-
* Licensed under the MIT License.
|
|
3227
|
-
*
|
|
3228
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3229
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3230
|
-
*/
|
|
3231
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3232
|
-
/** Class containing PrivateEndpointConnections operations. */
|
|
3233
|
-
class PrivateEndpointConnectionsImpl {
|
|
3234
|
-
/**
|
|
3235
|
-
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
3236
|
-
* @param client Reference to the service client
|
|
3237
|
-
*/
|
|
3238
|
-
constructor(client) {
|
|
3239
|
-
this.client = client;
|
|
3240
|
-
}
|
|
3241
|
-
/**
|
|
3242
|
-
* The List operation gets information about the private endpoint connections associated with the Cloud
|
|
3243
|
-
* HSM Cluster
|
|
3244
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3245
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
3246
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
3247
|
-
* @param options The options parameters.
|
|
3248
|
-
*/
|
|
3249
|
-
listByCloudHsmCluster(resourceGroupName, cloudHsmClusterName, options) {
|
|
3250
|
-
const iter = this.listByCloudHsmClusterPagingAll(resourceGroupName, cloudHsmClusterName, options);
|
|
3251
|
-
return {
|
|
3252
|
-
next() {
|
|
3253
|
-
return iter.next();
|
|
3254
|
-
},
|
|
3255
|
-
[Symbol.asyncIterator]() {
|
|
3256
|
-
return this;
|
|
3257
|
-
},
|
|
3258
|
-
byPage: (settings) => {
|
|
3259
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3260
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3261
|
-
}
|
|
3262
|
-
return this.listByCloudHsmClusterPagingPage(resourceGroupName, cloudHsmClusterName, options, settings);
|
|
3263
|
-
},
|
|
3264
|
-
};
|
|
3265
|
-
}
|
|
3266
|
-
listByCloudHsmClusterPagingPage(resourceGroupName, cloudHsmClusterName, options, settings) {
|
|
3267
|
-
return tslib.__asyncGenerator(this, arguments, function* listByCloudHsmClusterPagingPage_1() {
|
|
3268
|
-
let result;
|
|
3269
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3270
|
-
if (!continuationToken) {
|
|
3271
|
-
result = yield tslib.__await(this._listByCloudHsmCluster(resourceGroupName, cloudHsmClusterName, options));
|
|
3272
|
-
let page = result.value || [];
|
|
3273
|
-
continuationToken = result.nextLink;
|
|
3274
|
-
setContinuationToken(page, continuationToken);
|
|
3275
|
-
yield yield tslib.__await(page);
|
|
3276
|
-
}
|
|
3277
|
-
while (continuationToken) {
|
|
3278
|
-
result = yield tslib.__await(this._listByCloudHsmClusterNext(resourceGroupName, cloudHsmClusterName, continuationToken, options));
|
|
3279
|
-
continuationToken = result.nextLink;
|
|
3280
|
-
let page = result.value || [];
|
|
3281
|
-
setContinuationToken(page, continuationToken);
|
|
3282
|
-
yield yield tslib.__await(page);
|
|
3283
|
-
}
|
|
3284
|
-
});
|
|
3285
|
-
}
|
|
3286
|
-
listByCloudHsmClusterPagingAll(resourceGroupName, cloudHsmClusterName, options) {
|
|
3287
|
-
return tslib.__asyncGenerator(this, arguments, function* listByCloudHsmClusterPagingAll_1() {
|
|
3288
|
-
var _a, e_1, _b, _c;
|
|
3289
|
-
try {
|
|
3290
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByCloudHsmClusterPagingPage(resourceGroupName, cloudHsmClusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3291
|
-
_c = _f.value;
|
|
3292
|
-
_d = false;
|
|
3293
|
-
const page = _c;
|
|
3294
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3295
|
-
}
|
|
3296
|
-
}
|
|
3297
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3298
|
-
finally {
|
|
3299
|
-
try {
|
|
3300
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3301
|
-
}
|
|
3302
|
-
finally { if (e_1) throw e_1.error; }
|
|
3303
|
-
}
|
|
3304
|
-
});
|
|
3305
|
-
}
|
|
3306
|
-
/**
|
|
3307
|
-
* The List operation gets information about the private endpoint connections associated with the Cloud
|
|
3308
|
-
* HSM Cluster
|
|
3309
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3310
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
3311
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
3312
|
-
* @param options The options parameters.
|
|
3313
|
-
*/
|
|
3314
|
-
_listByCloudHsmCluster(resourceGroupName, cloudHsmClusterName, options) {
|
|
3315
|
-
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, options }, listByCloudHsmClusterOperationSpec);
|
|
3316
|
-
}
|
|
3317
|
-
/**
|
|
3318
|
-
* ListByCloudHsmClusterNext
|
|
3319
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3320
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
3321
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
3322
|
-
* @param nextLink The nextLink from the previous successful call to the ListByCloudHsmCluster method.
|
|
3323
|
-
* @param options The options parameters.
|
|
3324
|
-
*/
|
|
3325
|
-
_listByCloudHsmClusterNext(resourceGroupName, cloudHsmClusterName, nextLink, options) {
|
|
3326
|
-
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, nextLink, options }, listByCloudHsmClusterNextOperationSpec);
|
|
3327
|
-
}
|
|
3328
|
-
}
|
|
3329
|
-
// Operation Specifications
|
|
3330
|
-
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3331
|
-
const listByCloudHsmClusterOperationSpec = {
|
|
3332
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections",
|
|
3333
|
-
httpMethod: "GET",
|
|
3334
|
-
responses: {
|
|
3335
|
-
200: {
|
|
3336
|
-
bodyMapper: PrivateEndpointConnectionListResult,
|
|
3337
|
-
},
|
|
3338
|
-
default: {
|
|
3339
|
-
bodyMapper: ErrorResponse,
|
|
3340
|
-
},
|
|
3341
|
-
},
|
|
3342
|
-
queryParameters: [apiVersion],
|
|
3343
|
-
urlParameters: [
|
|
3344
|
-
$host,
|
|
3345
|
-
subscriptionId,
|
|
3346
|
-
resourceGroupName,
|
|
3347
|
-
cloudHsmClusterName,
|
|
3348
|
-
],
|
|
3349
|
-
headerParameters: [accept],
|
|
3350
|
-
serializer: serializer$4,
|
|
3351
|
-
};
|
|
3352
|
-
const listByCloudHsmClusterNextOperationSpec = {
|
|
3353
|
-
path: "{nextLink}",
|
|
3354
|
-
httpMethod: "GET",
|
|
3355
|
-
responses: {
|
|
3356
|
-
200: {
|
|
3357
|
-
bodyMapper: PrivateEndpointConnectionListResult,
|
|
3358
|
-
},
|
|
3359
|
-
default: {
|
|
3360
|
-
bodyMapper: ErrorResponse,
|
|
3361
|
-
},
|
|
3362
|
-
},
|
|
3363
|
-
urlParameters: [
|
|
3364
|
-
$host,
|
|
3365
|
-
subscriptionId,
|
|
3366
|
-
resourceGroupName,
|
|
3367
|
-
cloudHsmClusterName,
|
|
3368
|
-
nextLink,
|
|
3369
|
-
],
|
|
3370
|
-
headerParameters: [accept],
|
|
3371
|
-
serializer: serializer$4,
|
|
3372
|
-
};
|
|
3373
|
-
|
|
3374
|
-
/*
|
|
3375
|
-
* Copyright (c) Microsoft Corporation.
|
|
3376
|
-
* Licensed under the MIT License.
|
|
3377
|
-
*
|
|
3378
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3379
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3380
|
-
*/
|
|
3381
|
-
/** Class containing CloudHsmClusterBackupStatus operations. */
|
|
3382
|
-
class CloudHsmClusterBackupStatusImpl {
|
|
3383
|
-
/**
|
|
3384
|
-
* Initialize a new instance of the class CloudHsmClusterBackupStatus class.
|
|
3385
|
-
* @param client Reference to the service client
|
|
3386
|
-
*/
|
|
3387
|
-
constructor(client) {
|
|
3388
|
-
this.client = client;
|
|
3389
|
-
}
|
|
3390
|
-
/**
|
|
3391
|
-
* Gets the backup operation status of the specified Cloud HSM Cluster
|
|
3392
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3393
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
3394
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
3395
|
-
* @param jobId The id returned as part of the backup request
|
|
3396
|
-
* @param options The options parameters.
|
|
3397
|
-
*/
|
|
3398
|
-
get(resourceGroupName, cloudHsmClusterName, jobId, options) {
|
|
3399
|
-
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, jobId, options }, getOperationSpec$2);
|
|
3400
|
-
}
|
|
3401
|
-
}
|
|
3402
|
-
// Operation Specifications
|
|
3403
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3404
|
-
const getOperationSpec$2 = {
|
|
3405
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backupOperationStatus/{jobId}",
|
|
3406
|
-
httpMethod: "GET",
|
|
3407
|
-
responses: {
|
|
3408
|
-
200: {
|
|
3409
|
-
bodyMapper: BackupResult,
|
|
3410
|
-
headersMapper: CloudHsmClusterBackupStatusGetHeaders,
|
|
3411
|
-
},
|
|
3412
|
-
202: {
|
|
3413
|
-
headersMapper: CloudHsmClusterBackupStatusGetHeaders,
|
|
3414
|
-
},
|
|
3415
|
-
default: {
|
|
3416
|
-
bodyMapper: ErrorResponse,
|
|
3417
|
-
headersMapper: CloudHsmClusterBackupStatusGetExceptionHeaders,
|
|
3418
|
-
},
|
|
3419
|
-
},
|
|
3420
|
-
queryParameters: [apiVersion],
|
|
3421
|
-
urlParameters: [
|
|
3422
|
-
$host,
|
|
3423
|
-
subscriptionId,
|
|
3424
|
-
resourceGroupName,
|
|
3425
|
-
cloudHsmClusterName,
|
|
3426
|
-
jobId,
|
|
3427
|
-
],
|
|
3428
|
-
headerParameters: [accept],
|
|
3429
|
-
serializer: serializer$3,
|
|
3430
|
-
};
|
|
3431
|
-
|
|
3432
|
-
/*
|
|
3433
|
-
* Copyright (c) Microsoft Corporation.
|
|
3434
|
-
* Licensed under the MIT License.
|
|
3435
|
-
*
|
|
3436
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3437
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3438
|
-
*/
|
|
3439
|
-
/** Class containing CloudHsmClusterRestoreStatus operations. */
|
|
3440
|
-
class CloudHsmClusterRestoreStatusImpl {
|
|
3441
|
-
/**
|
|
3442
|
-
* Initialize a new instance of the class CloudHsmClusterRestoreStatus class.
|
|
3443
|
-
* @param client Reference to the service client
|
|
3444
|
-
*/
|
|
3445
|
-
constructor(client) {
|
|
3446
|
-
this.client = client;
|
|
3447
|
-
}
|
|
3448
|
-
/**
|
|
3449
|
-
* Gets the restore operation status of the specified Cloud HSM Cluster
|
|
3450
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3451
|
-
* @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
|
|
3452
|
-
* Cloud HSM Cluster names must be between 3 and 23 characters in length.
|
|
3453
|
-
* @param jobId The id returned as part of the backup request
|
|
3454
|
-
* @param options The options parameters.
|
|
3455
|
-
*/
|
|
3456
|
-
get(resourceGroupName, cloudHsmClusterName, jobId, options) {
|
|
3457
|
-
return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, jobId, options }, getOperationSpec$1);
|
|
3458
|
-
}
|
|
3459
|
-
}
|
|
3460
|
-
// Operation Specifications
|
|
3461
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3462
|
-
const getOperationSpec$1 = {
|
|
3463
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/restoreOperationStatus/{jobId}",
|
|
3464
|
-
httpMethod: "GET",
|
|
3465
|
-
responses: {
|
|
3466
|
-
200: {
|
|
3467
|
-
bodyMapper: RestoreResult,
|
|
3468
|
-
headersMapper: CloudHsmClusterRestoreStatusGetHeaders,
|
|
3469
|
-
},
|
|
3470
|
-
202: {
|
|
3471
|
-
headersMapper: CloudHsmClusterRestoreStatusGetHeaders,
|
|
3472
|
-
},
|
|
3473
|
-
default: {
|
|
3474
|
-
bodyMapper: ErrorResponse,
|
|
3475
|
-
headersMapper: CloudHsmClusterRestoreStatusGetExceptionHeaders,
|
|
3476
|
-
},
|
|
3477
|
-
},
|
|
3478
|
-
queryParameters: [apiVersion],
|
|
3479
|
-
urlParameters: [
|
|
3480
|
-
$host,
|
|
3481
|
-
subscriptionId,
|
|
3482
|
-
resourceGroupName,
|
|
3483
|
-
cloudHsmClusterName,
|
|
3484
|
-
jobId,
|
|
3485
|
-
],
|
|
3486
|
-
headerParameters: [accept],
|
|
3487
|
-
serializer: serializer$2,
|
|
3488
|
-
};
|
|
3489
|
-
|
|
3490
|
-
/*
|
|
3491
|
-
* Copyright (c) Microsoft Corporation.
|
|
3492
|
-
* Licensed under the MIT License.
|
|
3493
|
-
*
|
|
3494
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3495
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3496
|
-
*/
|
|
3497
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3498
|
-
/** Class containing DedicatedHsmOperations operations. */
|
|
3499
|
-
class DedicatedHsmOperationsImpl {
|
|
3500
|
-
/**
|
|
3501
|
-
* Initialize a new instance of the class DedicatedHsmOperations class.
|
|
3502
|
-
* @param client Reference to the service client
|
|
3503
|
-
*/
|
|
3504
|
-
constructor(client) {
|
|
3505
|
-
this.client = client;
|
|
3506
|
-
}
|
|
3507
|
-
/**
|
|
3508
|
-
* The List operation gets information about the dedicated hsms associated with the subscription and
|
|
3509
|
-
* within the specified resource group.
|
|
3510
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3511
|
-
* @param options The options parameters.
|
|
3512
|
-
*/
|
|
3513
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
3514
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
3515
|
-
return {
|
|
3516
|
-
next() {
|
|
3517
|
-
return iter.next();
|
|
3518
|
-
},
|
|
3519
|
-
[Symbol.asyncIterator]() {
|
|
3520
|
-
return this;
|
|
3521
|
-
},
|
|
3522
|
-
byPage: (settings) => {
|
|
3523
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3524
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3525
|
-
}
|
|
3526
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
3527
|
-
},
|
|
3528
|
-
};
|
|
3529
|
-
}
|
|
3530
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
3531
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
3532
|
-
let result;
|
|
3533
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3534
|
-
if (!continuationToken) {
|
|
3535
|
-
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
3536
|
-
let page = result.value || [];
|
|
3537
|
-
continuationToken = result.nextLink;
|
|
3538
|
-
setContinuationToken(page, continuationToken);
|
|
3539
|
-
yield yield tslib.__await(page);
|
|
3540
|
-
}
|
|
3541
|
-
while (continuationToken) {
|
|
3542
|
-
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
3543
|
-
continuationToken = result.nextLink;
|
|
3544
|
-
let page = result.value || [];
|
|
3545
|
-
setContinuationToken(page, continuationToken);
|
|
3546
|
-
yield yield tslib.__await(page);
|
|
3547
|
-
}
|
|
3548
|
-
});
|
|
3549
|
-
}
|
|
3550
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
3551
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
3552
|
-
var _a, e_1, _b, _c;
|
|
3553
|
-
try {
|
|
3554
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3555
|
-
_c = _f.value;
|
|
3556
|
-
_d = false;
|
|
3557
|
-
const page = _c;
|
|
3558
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3559
|
-
}
|
|
3560
|
-
}
|
|
3561
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3562
|
-
finally {
|
|
3563
|
-
try {
|
|
3564
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3565
|
-
}
|
|
3566
|
-
finally { if (e_1) throw e_1.error; }
|
|
3567
|
-
}
|
|
3568
|
-
});
|
|
3569
|
-
}
|
|
3570
|
-
/**
|
|
3571
|
-
* The List operation gets information about the dedicated HSMs associated with the subscription.
|
|
3572
|
-
* @param options The options parameters.
|
|
3573
|
-
*/
|
|
3574
|
-
listBySubscription(options) {
|
|
3575
|
-
const iter = this.listBySubscriptionPagingAll(options);
|
|
3576
|
-
return {
|
|
3577
|
-
next() {
|
|
3578
|
-
return iter.next();
|
|
3579
|
-
},
|
|
3580
|
-
[Symbol.asyncIterator]() {
|
|
3581
|
-
return this;
|
|
3582
|
-
},
|
|
3583
|
-
byPage: (settings) => {
|
|
3584
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3585
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3586
|
-
}
|
|
3587
|
-
return this.listBySubscriptionPagingPage(options, settings);
|
|
3588
|
-
},
|
|
3589
|
-
};
|
|
3590
|
-
}
|
|
3591
|
-
listBySubscriptionPagingPage(options, settings) {
|
|
3592
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
3593
|
-
let result;
|
|
3594
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3595
|
-
if (!continuationToken) {
|
|
3596
|
-
result = yield tslib.__await(this._listBySubscription(options));
|
|
3597
|
-
let page = result.value || [];
|
|
3598
|
-
continuationToken = result.nextLink;
|
|
3599
|
-
setContinuationToken(page, continuationToken);
|
|
3600
|
-
yield yield tslib.__await(page);
|
|
3601
|
-
}
|
|
3602
|
-
while (continuationToken) {
|
|
3603
|
-
result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
|
|
3604
|
-
continuationToken = result.nextLink;
|
|
3605
|
-
let page = result.value || [];
|
|
3606
|
-
setContinuationToken(page, continuationToken);
|
|
3607
|
-
yield yield tslib.__await(page);
|
|
3608
|
-
}
|
|
3609
|
-
});
|
|
3610
|
-
}
|
|
3611
|
-
listBySubscriptionPagingAll(options) {
|
|
3612
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
3613
|
-
var _a, e_2, _b, _c;
|
|
3614
|
-
try {
|
|
3615
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3616
|
-
_c = _f.value;
|
|
3617
|
-
_d = false;
|
|
3618
|
-
const page = _c;
|
|
3619
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3620
|
-
}
|
|
3621
|
-
}
|
|
3622
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
3623
|
-
finally {
|
|
3624
|
-
try {
|
|
3625
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3626
|
-
}
|
|
3627
|
-
finally { if (e_2) throw e_2.error; }
|
|
3628
|
-
}
|
|
3629
|
-
});
|
|
3630
|
-
}
|
|
3631
|
-
/**
|
|
3632
|
-
* Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified
|
|
3633
|
-
* dedicated hsm resource. The operation returns properties of each egress endpoint.
|
|
3634
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3635
|
-
* @param name Name of the dedicated Hsm
|
|
3636
|
-
* @param options The options parameters.
|
|
3637
|
-
*/
|
|
3638
|
-
listOutboundNetworkDependenciesEndpoints(resourceGroupName, name, options) {
|
|
3639
|
-
const iter = this.listOutboundNetworkDependenciesEndpointsPagingAll(resourceGroupName, name, options);
|
|
3640
|
-
return {
|
|
3641
|
-
next() {
|
|
3642
|
-
return iter.next();
|
|
3643
|
-
},
|
|
3644
|
-
[Symbol.asyncIterator]() {
|
|
3645
|
-
return this;
|
|
3646
|
-
},
|
|
3647
|
-
byPage: (settings) => {
|
|
3648
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3649
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3650
|
-
}
|
|
3651
|
-
return this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, name, options, settings);
|
|
3652
|
-
},
|
|
3653
|
-
};
|
|
3654
|
-
}
|
|
3655
|
-
listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, name, options, settings) {
|
|
3656
|
-
return tslib.__asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingPage_1() {
|
|
3657
|
-
let result;
|
|
3658
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3659
|
-
if (!continuationToken) {
|
|
3660
|
-
result = yield tslib.__await(this._listOutboundNetworkDependenciesEndpoints(resourceGroupName, name, options));
|
|
3661
|
-
let page = result.value || [];
|
|
3662
|
-
continuationToken = result.nextLink;
|
|
3663
|
-
setContinuationToken(page, continuationToken);
|
|
3664
|
-
yield yield tslib.__await(page);
|
|
3665
|
-
}
|
|
3666
|
-
while (continuationToken) {
|
|
3667
|
-
result = yield tslib.__await(this._listOutboundNetworkDependenciesEndpointsNext(resourceGroupName, name, continuationToken, options));
|
|
3668
|
-
continuationToken = result.nextLink;
|
|
3669
|
-
let page = result.value || [];
|
|
3670
|
-
setContinuationToken(page, continuationToken);
|
|
3671
|
-
yield yield tslib.__await(page);
|
|
3672
|
-
}
|
|
3673
|
-
});
|
|
3674
|
-
}
|
|
3675
|
-
listOutboundNetworkDependenciesEndpointsPagingAll(resourceGroupName, name, options) {
|
|
3676
|
-
return tslib.__asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingAll_1() {
|
|
3677
|
-
var _a, e_3, _b, _c;
|
|
3678
|
-
try {
|
|
3679
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, name, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3680
|
-
_c = _f.value;
|
|
3681
|
-
_d = false;
|
|
3682
|
-
const page = _c;
|
|
3683
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3684
|
-
}
|
|
3685
|
-
}
|
|
3686
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
3687
|
-
finally {
|
|
3688
|
-
try {
|
|
3689
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3690
|
-
}
|
|
3691
|
-
finally { if (e_3) throw e_3.error; }
|
|
3692
|
-
}
|
|
3693
|
-
});
|
|
3694
|
-
}
|
|
3695
|
-
/**
|
|
3696
|
-
* Create or Update a dedicated HSM in the specified subscription.
|
|
3697
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3698
|
-
* @param name Name of the dedicated Hsm
|
|
3699
|
-
* @param parameters Parameters to create or update the dedicated hsm
|
|
3700
|
-
* @param options The options parameters.
|
|
3701
|
-
*/
|
|
3702
|
-
beginCreateOrUpdate(resourceGroupName, name, parameters, options) {
|
|
3703
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3704
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3705
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3706
|
-
});
|
|
3707
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3708
|
-
var _a;
|
|
3709
|
-
let currentRawResponse = undefined;
|
|
3710
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3711
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3712
|
-
currentRawResponse = rawResponse;
|
|
3713
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3714
|
-
};
|
|
3715
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3716
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3717
|
-
return {
|
|
3718
|
-
flatResponse,
|
|
3719
|
-
rawResponse: {
|
|
3720
|
-
statusCode: currentRawResponse.status,
|
|
3721
|
-
body: currentRawResponse.parsedBody,
|
|
3722
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3723
|
-
},
|
|
3724
|
-
};
|
|
3725
|
-
});
|
|
3726
|
-
const lro = createLroSpec({
|
|
3727
|
-
sendOperationFn,
|
|
3728
|
-
args: { resourceGroupName, name, parameters, options },
|
|
3729
|
-
spec: createOrUpdateOperationSpec,
|
|
3730
|
-
});
|
|
3731
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3732
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3733
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3734
|
-
});
|
|
3735
|
-
yield poller.poll();
|
|
3736
|
-
return poller;
|
|
3737
|
-
});
|
|
3738
|
-
}
|
|
3739
|
-
/**
|
|
3740
|
-
* Create or Update a dedicated HSM in the specified subscription.
|
|
3741
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3742
|
-
* @param name Name of the dedicated Hsm
|
|
3743
|
-
* @param parameters Parameters to create or update the dedicated hsm
|
|
3744
|
-
* @param options The options parameters.
|
|
3745
|
-
*/
|
|
3746
|
-
beginCreateOrUpdateAndWait(resourceGroupName, name, parameters, options) {
|
|
3747
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3748
|
-
const poller = yield this.beginCreateOrUpdate(resourceGroupName, name, parameters, options);
|
|
3749
|
-
return poller.pollUntilDone();
|
|
3750
|
-
});
|
|
3751
|
-
}
|
|
3752
|
-
/**
|
|
3753
|
-
* Update a dedicated HSM in the specified subscription.
|
|
3754
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3755
|
-
* @param name Name of the dedicated Hsm
|
|
3756
|
-
* @param options The options parameters.
|
|
3757
|
-
*/
|
|
3758
|
-
beginUpdate(resourceGroupName, name, options) {
|
|
3759
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3760
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3761
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3762
|
-
});
|
|
3763
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3764
|
-
var _a;
|
|
3765
|
-
let currentRawResponse = undefined;
|
|
3766
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3767
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3768
|
-
currentRawResponse = rawResponse;
|
|
3769
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3770
|
-
};
|
|
3771
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3772
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3773
|
-
return {
|
|
3774
|
-
flatResponse,
|
|
3775
|
-
rawResponse: {
|
|
3776
|
-
statusCode: currentRawResponse.status,
|
|
3777
|
-
body: currentRawResponse.parsedBody,
|
|
3778
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3779
|
-
},
|
|
3780
|
-
};
|
|
3781
|
-
});
|
|
3782
|
-
const lro = createLroSpec({
|
|
3783
|
-
sendOperationFn,
|
|
3784
|
-
args: { resourceGroupName, name, options },
|
|
3785
|
-
spec: updateOperationSpec,
|
|
3786
|
-
});
|
|
3787
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3788
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3789
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3790
|
-
});
|
|
3791
|
-
yield poller.poll();
|
|
3792
|
-
return poller;
|
|
3793
|
-
});
|
|
3794
|
-
}
|
|
3795
|
-
/**
|
|
3796
|
-
* Update a dedicated HSM in the specified subscription.
|
|
3797
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3798
|
-
* @param name Name of the dedicated Hsm
|
|
3799
|
-
* @param options The options parameters.
|
|
3800
|
-
*/
|
|
3801
|
-
beginUpdateAndWait(resourceGroupName, name, options) {
|
|
3802
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3803
|
-
const poller = yield this.beginUpdate(resourceGroupName, name, options);
|
|
3804
|
-
return poller.pollUntilDone();
|
|
3805
|
-
});
|
|
3806
|
-
}
|
|
3807
|
-
/**
|
|
3808
|
-
* Deletes the specified Azure Dedicated HSM.
|
|
3809
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3810
|
-
* @param name Name of the dedicated Hsm
|
|
3811
|
-
* @param options The options parameters.
|
|
3812
|
-
*/
|
|
3813
|
-
beginDelete(resourceGroupName, name, options) {
|
|
3814
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3815
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3816
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3817
|
-
});
|
|
3818
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3819
|
-
var _a;
|
|
3820
|
-
let currentRawResponse = undefined;
|
|
3821
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3822
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3823
|
-
currentRawResponse = rawResponse;
|
|
3824
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3825
|
-
};
|
|
3826
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3827
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3828
|
-
return {
|
|
3829
|
-
flatResponse,
|
|
3830
|
-
rawResponse: {
|
|
3831
|
-
statusCode: currentRawResponse.status,
|
|
3832
|
-
body: currentRawResponse.parsedBody,
|
|
3833
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3834
|
-
},
|
|
3835
|
-
};
|
|
3836
|
-
});
|
|
3837
|
-
const lro = createLroSpec({
|
|
3838
|
-
sendOperationFn,
|
|
3839
|
-
args: { resourceGroupName, name, options },
|
|
3840
|
-
spec: deleteOperationSpec,
|
|
3841
|
-
});
|
|
3842
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3843
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3844
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3845
|
-
});
|
|
3846
|
-
yield poller.poll();
|
|
3847
|
-
return poller;
|
|
3848
|
-
});
|
|
3849
|
-
}
|
|
3850
|
-
/**
|
|
3851
|
-
* Deletes the specified Azure Dedicated HSM.
|
|
3852
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3853
|
-
* @param name Name of the dedicated Hsm
|
|
3854
|
-
* @param options The options parameters.
|
|
3855
|
-
*/
|
|
3856
|
-
beginDeleteAndWait(resourceGroupName, name, options) {
|
|
3857
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3858
|
-
const poller = yield this.beginDelete(resourceGroupName, name, options);
|
|
3859
|
-
return poller.pollUntilDone();
|
|
3860
|
-
});
|
|
3861
|
-
}
|
|
3862
|
-
/**
|
|
3863
|
-
* Gets the specified Azure dedicated HSM.
|
|
3864
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3865
|
-
* @param name Name of the dedicated Hsm
|
|
3866
|
-
* @param options The options parameters.
|
|
3867
|
-
*/
|
|
3868
|
-
get(resourceGroupName, name, options) {
|
|
3869
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
|
|
3870
|
-
}
|
|
3871
|
-
/**
|
|
3872
|
-
* The List operation gets information about the dedicated hsms associated with the subscription and
|
|
3873
|
-
* within the specified resource group.
|
|
3874
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3875
|
-
* @param options The options parameters.
|
|
3876
|
-
*/
|
|
3877
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
3878
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
3879
|
-
}
|
|
3880
|
-
/**
|
|
3881
|
-
* The List operation gets information about the dedicated HSMs associated with the subscription.
|
|
3882
|
-
* @param options The options parameters.
|
|
3883
|
-
*/
|
|
3884
|
-
_listBySubscription(options) {
|
|
3885
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
3886
|
-
}
|
|
3887
|
-
/**
|
|
3888
|
-
* Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified
|
|
3889
|
-
* dedicated hsm resource. The operation returns properties of each egress endpoint.
|
|
3890
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3891
|
-
* @param name Name of the dedicated Hsm
|
|
3892
|
-
* @param options The options parameters.
|
|
3893
|
-
*/
|
|
3894
|
-
_listOutboundNetworkDependenciesEndpoints(resourceGroupName, name, options) {
|
|
3895
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, options }, listOutboundNetworkDependenciesEndpointsOperationSpec);
|
|
3896
|
-
}
|
|
3897
|
-
/**
|
|
3898
|
-
* ListByResourceGroupNext
|
|
3899
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3900
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
3901
|
-
* @param options The options parameters.
|
|
3902
|
-
*/
|
|
3903
|
-
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
3904
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
3905
|
-
}
|
|
3906
|
-
/**
|
|
3907
|
-
* ListBySubscriptionNext
|
|
3908
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
3909
|
-
* @param options The options parameters.
|
|
3910
|
-
*/
|
|
3911
|
-
_listBySubscriptionNext(nextLink, options) {
|
|
3912
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
3913
|
-
}
|
|
3914
|
-
/**
|
|
3915
|
-
* ListOutboundNetworkDependenciesEndpointsNext
|
|
3916
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3917
|
-
* @param name Name of the dedicated Hsm
|
|
3918
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
3919
|
-
* ListOutboundNetworkDependenciesEndpoints method.
|
|
3920
|
-
* @param options The options parameters.
|
|
3921
|
-
*/
|
|
3922
|
-
_listOutboundNetworkDependenciesEndpointsNext(resourceGroupName, name, nextLink, options) {
|
|
3923
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, nextLink, options }, listOutboundNetworkDependenciesEndpointsNextOperationSpec);
|
|
3924
|
-
}
|
|
3925
|
-
}
|
|
3926
|
-
// Operation Specifications
|
|
3927
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3928
|
-
const createOrUpdateOperationSpec = {
|
|
3929
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}",
|
|
3930
|
-
httpMethod: "PUT",
|
|
3931
|
-
responses: {
|
|
3932
|
-
200: {
|
|
3933
|
-
bodyMapper: DedicatedHsm,
|
|
3934
|
-
},
|
|
3935
|
-
201: {
|
|
3936
|
-
bodyMapper: DedicatedHsm,
|
|
3937
|
-
},
|
|
3938
|
-
202: {
|
|
3939
|
-
bodyMapper: DedicatedHsm,
|
|
3940
|
-
},
|
|
3941
|
-
204: {
|
|
3942
|
-
bodyMapper: DedicatedHsm,
|
|
3943
|
-
},
|
|
3944
|
-
default: {
|
|
3945
|
-
bodyMapper: DedicatedHsmError,
|
|
3946
|
-
},
|
|
3947
|
-
},
|
|
3948
|
-
requestBody: parameters,
|
|
3949
|
-
queryParameters: [apiVersion],
|
|
3950
|
-
urlParameters: [
|
|
3951
|
-
$host,
|
|
3952
|
-
subscriptionId,
|
|
3953
|
-
resourceGroupName,
|
|
3954
|
-
name,
|
|
3955
|
-
],
|
|
3956
|
-
headerParameters: [contentType, accept],
|
|
3957
|
-
mediaType: "json",
|
|
3958
|
-
serializer: serializer$1,
|
|
3959
|
-
};
|
|
3960
|
-
const updateOperationSpec = {
|
|
3961
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}",
|
|
3962
|
-
httpMethod: "PATCH",
|
|
3963
|
-
responses: {
|
|
3964
|
-
200: {
|
|
3965
|
-
bodyMapper: DedicatedHsm,
|
|
3966
|
-
},
|
|
3967
|
-
201: {
|
|
3968
|
-
bodyMapper: DedicatedHsm,
|
|
3969
|
-
},
|
|
3970
|
-
202: {
|
|
3971
|
-
bodyMapper: DedicatedHsm,
|
|
3972
|
-
},
|
|
3973
|
-
204: {
|
|
3974
|
-
bodyMapper: DedicatedHsm,
|
|
3975
|
-
},
|
|
3976
|
-
default: {
|
|
3977
|
-
bodyMapper: DedicatedHsmError,
|
|
3978
|
-
},
|
|
3979
|
-
},
|
|
3980
|
-
requestBody: {
|
|
3981
|
-
parameterPath: { tags: ["options", "tags"] },
|
|
3982
|
-
mapper: Object.assign(Object.assign({}, DedicatedHsmPatchParameters), { required: true }),
|
|
3983
|
-
},
|
|
3984
|
-
queryParameters: [apiVersion],
|
|
3985
|
-
urlParameters: [
|
|
3986
|
-
$host,
|
|
3987
|
-
subscriptionId,
|
|
3988
|
-
resourceGroupName,
|
|
3989
|
-
name,
|
|
3990
|
-
],
|
|
3991
|
-
headerParameters: [contentType, accept],
|
|
3992
|
-
mediaType: "json",
|
|
3993
|
-
serializer: serializer$1,
|
|
3994
|
-
};
|
|
3995
|
-
const deleteOperationSpec = {
|
|
3996
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}",
|
|
3997
|
-
httpMethod: "DELETE",
|
|
3998
|
-
responses: {
|
|
3999
|
-
200: {
|
|
4000
|
-
headersMapper: DedicatedHsmDeleteHeaders,
|
|
4001
|
-
},
|
|
4002
|
-
201: {
|
|
4003
|
-
headersMapper: DedicatedHsmDeleteHeaders,
|
|
4004
|
-
},
|
|
4005
|
-
202: {
|
|
4006
|
-
headersMapper: DedicatedHsmDeleteHeaders,
|
|
4007
|
-
},
|
|
4008
|
-
204: {
|
|
4009
|
-
headersMapper: DedicatedHsmDeleteHeaders,
|
|
4010
|
-
},
|
|
4011
|
-
default: {
|
|
4012
|
-
bodyMapper: DedicatedHsmError,
|
|
4013
|
-
},
|
|
4014
|
-
},
|
|
4015
|
-
queryParameters: [apiVersion],
|
|
4016
|
-
urlParameters: [
|
|
4017
|
-
$host,
|
|
4018
|
-
subscriptionId,
|
|
4019
|
-
resourceGroupName,
|
|
4020
|
-
name,
|
|
4021
|
-
],
|
|
4022
|
-
headerParameters: [accept],
|
|
4023
|
-
serializer: serializer$1,
|
|
4024
|
-
};
|
|
4025
|
-
const getOperationSpec = {
|
|
4026
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}",
|
|
4027
|
-
httpMethod: "GET",
|
|
4028
|
-
responses: {
|
|
4029
|
-
200: {
|
|
4030
|
-
bodyMapper: DedicatedHsm,
|
|
4031
|
-
},
|
|
4032
|
-
default: {
|
|
4033
|
-
bodyMapper: DedicatedHsmError,
|
|
4034
|
-
},
|
|
4035
|
-
},
|
|
4036
|
-
queryParameters: [apiVersion],
|
|
4037
|
-
urlParameters: [
|
|
4038
|
-
$host,
|
|
4039
|
-
subscriptionId,
|
|
4040
|
-
resourceGroupName,
|
|
4041
|
-
name,
|
|
4042
|
-
],
|
|
4043
|
-
headerParameters: [accept],
|
|
4044
|
-
serializer: serializer$1,
|
|
4045
|
-
};
|
|
4046
|
-
const listByResourceGroupOperationSpec = {
|
|
4047
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs",
|
|
4048
|
-
httpMethod: "GET",
|
|
4049
|
-
responses: {
|
|
4050
|
-
200: {
|
|
4051
|
-
bodyMapper: DedicatedHsmListResult,
|
|
4052
|
-
},
|
|
4053
|
-
default: {
|
|
4054
|
-
bodyMapper: DedicatedHsmError,
|
|
4055
|
-
},
|
|
4056
|
-
},
|
|
4057
|
-
queryParameters: [apiVersion, top],
|
|
4058
|
-
urlParameters: [
|
|
4059
|
-
$host,
|
|
4060
|
-
subscriptionId,
|
|
4061
|
-
resourceGroupName,
|
|
4062
|
-
],
|
|
4063
|
-
headerParameters: [accept],
|
|
4064
|
-
serializer: serializer$1,
|
|
4065
|
-
};
|
|
4066
|
-
const listBySubscriptionOperationSpec = {
|
|
4067
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs",
|
|
4068
|
-
httpMethod: "GET",
|
|
4069
|
-
responses: {
|
|
4070
|
-
200: {
|
|
4071
|
-
bodyMapper: DedicatedHsmListResult,
|
|
4072
|
-
},
|
|
4073
|
-
default: {
|
|
4074
|
-
bodyMapper: DedicatedHsmError,
|
|
4075
|
-
},
|
|
4076
|
-
},
|
|
4077
|
-
queryParameters: [apiVersion, top],
|
|
4078
|
-
urlParameters: [$host, subscriptionId],
|
|
4079
|
-
headerParameters: [accept],
|
|
4080
|
-
serializer: serializer$1,
|
|
4081
|
-
};
|
|
4082
|
-
const listOutboundNetworkDependenciesEndpointsOperationSpec = {
|
|
4083
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}/outboundNetworkDependenciesEndpoints",
|
|
4084
|
-
httpMethod: "GET",
|
|
4085
|
-
responses: {
|
|
4086
|
-
200: {
|
|
4087
|
-
bodyMapper: OutboundEnvironmentEndpointCollection,
|
|
4088
|
-
},
|
|
4089
|
-
default: {
|
|
4090
|
-
bodyMapper: DedicatedHsmError,
|
|
4091
|
-
},
|
|
4092
|
-
},
|
|
4093
|
-
queryParameters: [apiVersion],
|
|
4094
|
-
urlParameters: [
|
|
4095
|
-
$host,
|
|
4096
|
-
subscriptionId,
|
|
4097
|
-
resourceGroupName,
|
|
4098
|
-
name,
|
|
4099
|
-
],
|
|
4100
|
-
headerParameters: [accept],
|
|
4101
|
-
serializer: serializer$1,
|
|
4102
|
-
};
|
|
4103
|
-
const listByResourceGroupNextOperationSpec = {
|
|
4104
|
-
path: "{nextLink}",
|
|
4105
|
-
httpMethod: "GET",
|
|
4106
|
-
responses: {
|
|
4107
|
-
200: {
|
|
4108
|
-
bodyMapper: DedicatedHsmListResult,
|
|
4109
|
-
},
|
|
4110
|
-
default: {
|
|
4111
|
-
bodyMapper: DedicatedHsmError,
|
|
4112
|
-
},
|
|
4113
|
-
},
|
|
4114
|
-
urlParameters: [
|
|
4115
|
-
$host,
|
|
4116
|
-
subscriptionId,
|
|
4117
|
-
resourceGroupName,
|
|
4118
|
-
nextLink,
|
|
4119
|
-
],
|
|
4120
|
-
headerParameters: [accept],
|
|
4121
|
-
serializer: serializer$1,
|
|
4122
|
-
};
|
|
4123
|
-
const listBySubscriptionNextOperationSpec = {
|
|
4124
|
-
path: "{nextLink}",
|
|
4125
|
-
httpMethod: "GET",
|
|
4126
|
-
responses: {
|
|
4127
|
-
200: {
|
|
4128
|
-
bodyMapper: DedicatedHsmListResult,
|
|
4129
|
-
},
|
|
4130
|
-
default: {
|
|
4131
|
-
bodyMapper: DedicatedHsmError,
|
|
4132
|
-
},
|
|
4133
|
-
},
|
|
4134
|
-
urlParameters: [
|
|
4135
|
-
$host,
|
|
4136
|
-
subscriptionId,
|
|
4137
|
-
nextLink,
|
|
4138
|
-
],
|
|
4139
|
-
headerParameters: [accept],
|
|
4140
|
-
serializer: serializer$1,
|
|
4141
|
-
};
|
|
4142
|
-
const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
|
|
4143
|
-
path: "{nextLink}",
|
|
4144
|
-
httpMethod: "GET",
|
|
4145
|
-
responses: {
|
|
4146
|
-
200: {
|
|
4147
|
-
bodyMapper: OutboundEnvironmentEndpointCollection,
|
|
4148
|
-
},
|
|
4149
|
-
default: {
|
|
4150
|
-
bodyMapper: DedicatedHsmError,
|
|
4151
|
-
},
|
|
4152
|
-
},
|
|
4153
|
-
urlParameters: [
|
|
4154
|
-
$host,
|
|
4155
|
-
subscriptionId,
|
|
4156
|
-
resourceGroupName,
|
|
4157
|
-
nextLink,
|
|
4158
|
-
name,
|
|
4159
|
-
],
|
|
4160
|
-
headerParameters: [accept],
|
|
4161
|
-
serializer: serializer$1,
|
|
4162
|
-
};
|
|
4163
|
-
|
|
4164
|
-
/*
|
|
4165
|
-
* Copyright (c) Microsoft Corporation.
|
|
4166
|
-
* Licensed under the MIT License.
|
|
4167
|
-
*
|
|
4168
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4169
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4170
|
-
*/
|
|
4171
|
-
/// <reference lib="esnext.asynciterable" />
|
|
4172
|
-
/** Class containing Operations operations. */
|
|
4173
|
-
class OperationsImpl {
|
|
4174
|
-
/**
|
|
4175
|
-
* Initialize a new instance of the class Operations class.
|
|
4176
|
-
* @param client Reference to the service client
|
|
4177
|
-
*/
|
|
4178
|
-
constructor(client) {
|
|
4179
|
-
this.client = client;
|
|
4180
|
-
}
|
|
4181
|
-
/**
|
|
4182
|
-
* Get a list of Hardware Security Modules operations.
|
|
4183
|
-
* @param options The options parameters.
|
|
4184
|
-
*/
|
|
4185
|
-
list(options) {
|
|
4186
|
-
const iter = this.listPagingAll(options);
|
|
4187
|
-
return {
|
|
4188
|
-
next() {
|
|
4189
|
-
return iter.next();
|
|
4190
|
-
},
|
|
4191
|
-
[Symbol.asyncIterator]() {
|
|
4192
|
-
return this;
|
|
4193
|
-
},
|
|
4194
|
-
byPage: (settings) => {
|
|
4195
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4196
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
4197
|
-
}
|
|
4198
|
-
return this.listPagingPage(options, settings);
|
|
4199
|
-
},
|
|
4200
|
-
};
|
|
4201
|
-
}
|
|
4202
|
-
listPagingPage(options, _settings) {
|
|
4203
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
4204
|
-
let result;
|
|
4205
|
-
result = yield tslib.__await(this._list(options));
|
|
4206
|
-
yield yield tslib.__await(result.value || []);
|
|
4207
|
-
});
|
|
4208
|
-
}
|
|
4209
|
-
listPagingAll(options) {
|
|
4210
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
4211
|
-
var _a, e_1, _b, _c;
|
|
4212
|
-
try {
|
|
4213
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4214
|
-
_c = _f.value;
|
|
4215
|
-
_d = false;
|
|
4216
|
-
const page = _c;
|
|
4217
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4218
|
-
}
|
|
4219
|
-
}
|
|
4220
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4221
|
-
finally {
|
|
4222
|
-
try {
|
|
4223
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4224
|
-
}
|
|
4225
|
-
finally { if (e_1) throw e_1.error; }
|
|
4226
|
-
}
|
|
4227
|
-
});
|
|
4228
|
-
}
|
|
4229
|
-
/**
|
|
4230
|
-
* Get a list of Hardware Security Modules operations.
|
|
4231
|
-
* @param options The options parameters.
|
|
4232
|
-
*/
|
|
4233
|
-
_list(options) {
|
|
4234
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
4235
|
-
}
|
|
4236
|
-
}
|
|
4237
|
-
// Operation Specifications
|
|
4238
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4239
|
-
const listOperationSpec = {
|
|
4240
|
-
path: "/providers/Microsoft.HardwareSecurityModules/operations",
|
|
4241
|
-
httpMethod: "GET",
|
|
4242
|
-
responses: {
|
|
4243
|
-
200: {
|
|
4244
|
-
bodyMapper: OperationListResult,
|
|
4245
|
-
},
|
|
4246
|
-
default: {
|
|
4247
|
-
bodyMapper: ErrorResponse,
|
|
4248
|
-
},
|
|
4249
|
-
},
|
|
4250
|
-
queryParameters: [apiVersion],
|
|
4251
|
-
urlParameters: [$host],
|
|
4252
|
-
headerParameters: [accept],
|
|
4253
|
-
serializer,
|
|
4254
|
-
};
|
|
4255
|
-
|
|
4256
|
-
/*
|
|
4257
|
-
* Copyright (c) Microsoft Corporation.
|
|
4258
|
-
* Licensed under the MIT License.
|
|
4259
|
-
*
|
|
4260
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4261
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4262
|
-
*/
|
|
4263
|
-
class AzureHSMResourceProvider extends coreClient__namespace.ServiceClient {
|
|
4264
|
-
/**
|
|
4265
|
-
* Initializes a new instance of the AzureHSMResourceProvider class.
|
|
4266
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
4267
|
-
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
4268
|
-
* @param options The parameter options
|
|
4269
|
-
*/
|
|
4270
|
-
constructor(credentials, subscriptionId, options) {
|
|
4271
|
-
var _a, _b, _c;
|
|
4272
|
-
if (credentials === undefined) {
|
|
4273
|
-
throw new Error("'credentials' cannot be null");
|
|
4274
|
-
}
|
|
4275
|
-
if (subscriptionId === undefined) {
|
|
4276
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
4277
|
-
}
|
|
4278
|
-
// Initializing default values for options
|
|
4279
|
-
if (!options) {
|
|
4280
|
-
options = {};
|
|
4281
|
-
}
|
|
4282
|
-
const defaults = {
|
|
4283
|
-
requestContentType: "application/json; charset=utf-8",
|
|
4284
|
-
credential: credentials,
|
|
4285
|
-
};
|
|
4286
|
-
const packageDetails = `azsdk-js-arm-hardwaresecuritymodules/2.0.0-beta.2`;
|
|
4287
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4288
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4289
|
-
: `${packageDetails}`;
|
|
4290
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
4291
|
-
userAgentPrefix,
|
|
4292
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
4293
|
-
super(optionsWithDefaults);
|
|
4294
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
4295
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
4296
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
4297
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
4298
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
4299
|
-
}
|
|
4300
|
-
if (!options ||
|
|
4301
|
-
!options.pipeline ||
|
|
4302
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
4303
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
4304
|
-
this.pipeline.removePolicy({
|
|
4305
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
4306
|
-
});
|
|
4307
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
4308
|
-
credential: credentials,
|
|
4309
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
4310
|
-
challengeCallbacks: {
|
|
4311
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
4312
|
-
},
|
|
4313
|
-
}));
|
|
4314
|
-
}
|
|
4315
|
-
// Parameter assignments
|
|
4316
|
-
this.subscriptionId = subscriptionId;
|
|
4317
|
-
// Assigning values to Constant parameters
|
|
4318
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
4319
|
-
this.apiVersion = options.apiVersion || "2024-06-30-preview";
|
|
4320
|
-
this.cloudHsmClusters = new CloudHsmClustersImpl(this);
|
|
4321
|
-
this.cloudHsmClusterPrivateLinkResources =
|
|
4322
|
-
new CloudHsmClusterPrivateLinkResourcesImpl(this);
|
|
4323
|
-
this.cloudHsmClusterPrivateEndpointConnections =
|
|
4324
|
-
new CloudHsmClusterPrivateEndpointConnectionsImpl(this);
|
|
4325
|
-
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
4326
|
-
this.cloudHsmClusterBackupStatus = new CloudHsmClusterBackupStatusImpl(this);
|
|
4327
|
-
this.cloudHsmClusterRestoreStatus = new CloudHsmClusterRestoreStatusImpl(this);
|
|
4328
|
-
this.dedicatedHsmOperations = new DedicatedHsmOperationsImpl(this);
|
|
4329
|
-
this.operations = new OperationsImpl(this);
|
|
4330
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
4331
|
-
}
|
|
4332
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
4333
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
4334
|
-
if (!apiVersion) {
|
|
4335
|
-
return;
|
|
4336
|
-
}
|
|
4337
|
-
const apiVersionPolicy = {
|
|
4338
|
-
name: "CustomApiVersionPolicy",
|
|
4339
|
-
sendRequest(request, next) {
|
|
4340
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4341
|
-
const param = request.url.split("?");
|
|
4342
|
-
if (param.length > 1) {
|
|
4343
|
-
const newParams = param[1].split("&").map((item) => {
|
|
4344
|
-
if (item.indexOf("api-version") > -1) {
|
|
4345
|
-
return "api-version=" + apiVersion;
|
|
4346
|
-
}
|
|
4347
|
-
else {
|
|
4348
|
-
return item;
|
|
4349
|
-
}
|
|
4350
|
-
});
|
|
4351
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
4352
|
-
}
|
|
4353
|
-
return next(request);
|
|
4354
|
-
});
|
|
4355
|
-
},
|
|
4356
|
-
};
|
|
4357
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
4358
|
-
}
|
|
4359
|
-
}
|
|
4360
|
-
|
|
4361
|
-
exports.AzureHSMResourceProvider = AzureHSMResourceProvider;
|
|
4362
|
-
exports.getContinuationToken = getContinuationToken;
|
|
4363
|
-
//# sourceMappingURL=index.js.map
|