@azure/arm-keyvault 3.2.0 → 4.0.0-alpha.20251125.3
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/README.md +4 -2
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +4 -7
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/keyVaultManagementClient.d.ts +11 -12
- package/dist/browser/keyVaultManagementClient.d.ts.map +1 -1
- package/dist/browser/keyVaultManagementClient.js +39 -27
- package/dist/browser/keyVaultManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +9 -10
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +1514 -1451
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +204 -201
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +76 -72
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +1681 -1487
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +17 -19
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +107 -132
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/index.d.ts +6 -6
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +10 -13
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/keys.d.ts +36 -38
- package/dist/browser/operations/keys.d.ts.map +1 -1
- package/dist/browser/operations/keys.js +112 -153
- package/dist/browser/operations/keys.js.map +1 -1
- package/dist/browser/operations/managedHsmKeys.d.ts +20 -20
- package/dist/browser/operations/managedHsmKeys.d.ts.map +1 -1
- package/dist/browser/operations/managedHsmKeys.js +103 -142
- package/dist/browser/operations/managedHsmKeys.js.map +1 -1
- package/dist/browser/operations/managedHsms.d.ts +77 -77
- package/dist/browser/operations/managedHsms.d.ts.map +1 -1
- package/dist/browser/operations/managedHsms.js +338 -382
- package/dist/browser/operations/managedHsms.js.map +1 -1
- package/dist/browser/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
- package/dist/browser/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/mhsmPrivateEndpointConnections.js +60 -76
- package/dist/browser/operations/mhsmPrivateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/mhsmPrivateLinkResources.d.ts +5 -5
- package/dist/browser/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
- package/dist/browser/operations/mhsmPrivateLinkResources.js +6 -10
- package/dist/browser/operations/mhsmPrivateLinkResources.js.map +1 -1
- package/dist/browser/operations/mhsmRegions.d.ts +10 -10
- package/dist/browser/operations/mhsmRegions.d.ts.map +1 -1
- package/dist/browser/operations/mhsmRegions.js +34 -56
- package/dist/browser/operations/mhsmRegions.js.map +1 -1
- package/dist/browser/operations/operations.d.ts +6 -6
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +27 -49
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts +25 -25
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +88 -104
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.d.ts +5 -5
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +6 -10
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/secrets.d.ts +30 -32
- package/dist/browser/operations/secrets.d.ts.map +1 -1
- package/dist/browser/operations/secrets.js +88 -112
- package/dist/browser/operations/secrets.js.map +1 -1
- package/dist/browser/operations/vaults.d.ts +72 -72
- package/dist/browser/operations/vaults.d.ts.map +1 -1
- package/dist/browser/operations/vaults.js +335 -412
- package/dist/browser/operations/vaults.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +6 -6
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +10 -13
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/keys.d.ts +20 -22
- package/dist/browser/operationsInterfaces/keys.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/keys.js +2 -7
- package/dist/browser/operationsInterfaces/keys.js.map +1 -1
- package/dist/browser/operationsInterfaces/managedHsmKeys.d.ts +10 -10
- package/dist/browser/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/managedHsmKeys.js +2 -7
- package/dist/browser/operationsInterfaces/managedHsmKeys.js.map +1 -1
- package/dist/browser/operationsInterfaces/managedHsms.d.ts +54 -54
- package/dist/browser/operationsInterfaces/managedHsms.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/managedHsms.js +2 -7
- package/dist/browser/operationsInterfaces/managedHsms.js.map +1 -1
- package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
- package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
- package/dist/browser/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
- package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
- package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
- package/dist/browser/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/mhsmRegions.d.ts +4 -4
- package/dist/browser/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/mhsmRegions.js +2 -7
- package/dist/browser/operationsInterfaces/mhsmRegions.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +3 -3
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js +2 -7
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +3 -3
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/secrets.d.ts +18 -20
- package/dist/browser/operationsInterfaces/secrets.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/secrets.js +2 -7
- package/dist/browser/operationsInterfaces/secrets.js.map +1 -1
- package/dist/browser/operationsInterfaces/vaults.d.ts +50 -50
- package/dist/browser/operationsInterfaces/vaults.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/vaults.js +2 -7
- package/dist/browser/operationsInterfaces/vaults.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +4 -11
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +4 -7
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/keyVaultManagementClient.d.ts +11 -12
- package/dist/commonjs/keyVaultManagementClient.d.ts.map +1 -1
- package/dist/commonjs/keyVaultManagementClient.js +38 -26
- package/dist/commonjs/keyVaultManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +9 -10
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1514 -1451
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +205 -202
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +76 -72
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +1684 -1490
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +17 -19
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +107 -132
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +6 -6
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +10 -13
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/keys.d.ts +36 -38
- package/dist/commonjs/operations/keys.d.ts.map +1 -1
- package/dist/commonjs/operations/keys.js +112 -152
- package/dist/commonjs/operations/keys.js.map +1 -1
- package/dist/commonjs/operations/managedHsmKeys.d.ts +20 -20
- package/dist/commonjs/operations/managedHsmKeys.d.ts.map +1 -1
- package/dist/commonjs/operations/managedHsmKeys.js +103 -141
- package/dist/commonjs/operations/managedHsmKeys.js.map +1 -1
- package/dist/commonjs/operations/managedHsms.d.ts +77 -77
- package/dist/commonjs/operations/managedHsms.d.ts.map +1 -1
- package/dist/commonjs/operations/managedHsms.js +337 -380
- package/dist/commonjs/operations/managedHsms.js.map +1 -1
- package/dist/commonjs/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
- package/dist/commonjs/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/mhsmPrivateEndpointConnections.js +59 -74
- package/dist/commonjs/operations/mhsmPrivateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/mhsmPrivateLinkResources.d.ts +5 -5
- package/dist/commonjs/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operations/mhsmPrivateLinkResources.js +6 -10
- package/dist/commonjs/operations/mhsmPrivateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/mhsmRegions.d.ts +10 -10
- package/dist/commonjs/operations/mhsmRegions.d.ts.map +1 -1
- package/dist/commonjs/operations/mhsmRegions.js +34 -55
- package/dist/commonjs/operations/mhsmRegions.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts +6 -6
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +27 -48
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +25 -25
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +87 -102
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.d.ts +5 -5
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +6 -10
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/secrets.d.ts +30 -32
- package/dist/commonjs/operations/secrets.d.ts.map +1 -1
- package/dist/commonjs/operations/secrets.js +88 -111
- package/dist/commonjs/operations/secrets.js.map +1 -1
- package/dist/commonjs/operations/vaults.d.ts +72 -72
- package/dist/commonjs/operations/vaults.d.ts.map +1 -1
- package/dist/commonjs/operations/vaults.js +334 -410
- package/dist/commonjs/operations/vaults.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +6 -6
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +10 -13
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/keys.d.ts +20 -22
- package/dist/commonjs/operationsInterfaces/keys.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/keys.js +2 -7
- package/dist/commonjs/operationsInterfaces/keys.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedHsmKeys.d.ts +10 -10
- package/dist/commonjs/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedHsmKeys.js +2 -7
- package/dist/commonjs/operationsInterfaces/managedHsmKeys.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedHsms.d.ts +54 -54
- package/dist/commonjs/operationsInterfaces/managedHsms.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedHsms.js +2 -7
- package/dist/commonjs/operationsInterfaces/managedHsms.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
- package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
- package/dist/commonjs/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
- package/dist/commonjs/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/mhsmRegions.d.ts +4 -4
- package/dist/commonjs/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/mhsmRegions.js +2 -7
- package/dist/commonjs/operationsInterfaces/mhsmRegions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js +2 -7
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/secrets.d.ts +18 -20
- package/dist/commonjs/operationsInterfaces/secrets.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/secrets.js +2 -7
- package/dist/commonjs/operationsInterfaces/secrets.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/vaults.d.ts +50 -50
- package/dist/commonjs/operationsInterfaces/vaults.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/vaults.js +2 -7
- package/dist/commonjs/operationsInterfaces/vaults.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +4 -11
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/keyVaultManagementClient.d.ts +11 -12
- package/dist/esm/keyVaultManagementClient.d.ts.map +1 -1
- package/dist/esm/keyVaultManagementClient.js +39 -27
- package/dist/esm/keyVaultManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +9 -10
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +1514 -1451
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +204 -201
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +76 -72
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +1681 -1487
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +17 -19
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +107 -132
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/index.d.ts +6 -6
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +10 -13
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/keys.d.ts +36 -38
- package/dist/esm/operations/keys.d.ts.map +1 -1
- package/dist/esm/operations/keys.js +112 -153
- package/dist/esm/operations/keys.js.map +1 -1
- package/dist/esm/operations/managedHsmKeys.d.ts +20 -20
- package/dist/esm/operations/managedHsmKeys.d.ts.map +1 -1
- package/dist/esm/operations/managedHsmKeys.js +103 -142
- package/dist/esm/operations/managedHsmKeys.js.map +1 -1
- package/dist/esm/operations/managedHsms.d.ts +77 -77
- package/dist/esm/operations/managedHsms.d.ts.map +1 -1
- package/dist/esm/operations/managedHsms.js +338 -382
- package/dist/esm/operations/managedHsms.js.map +1 -1
- package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
- package/dist/esm/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/mhsmPrivateEndpointConnections.js +60 -76
- package/dist/esm/operations/mhsmPrivateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/mhsmPrivateLinkResources.d.ts +5 -5
- package/dist/esm/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
- package/dist/esm/operations/mhsmPrivateLinkResources.js +6 -10
- package/dist/esm/operations/mhsmPrivateLinkResources.js.map +1 -1
- package/dist/esm/operations/mhsmRegions.d.ts +10 -10
- package/dist/esm/operations/mhsmRegions.d.ts.map +1 -1
- package/dist/esm/operations/mhsmRegions.js +34 -56
- package/dist/esm/operations/mhsmRegions.js.map +1 -1
- package/dist/esm/operations/operations.d.ts +6 -6
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +27 -49
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts +25 -25
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +88 -104
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.d.ts +5 -5
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +6 -10
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/secrets.d.ts +30 -32
- package/dist/esm/operations/secrets.d.ts.map +1 -1
- package/dist/esm/operations/secrets.js +88 -112
- package/dist/esm/operations/secrets.js.map +1 -1
- package/dist/esm/operations/vaults.d.ts +72 -72
- package/dist/esm/operations/vaults.d.ts.map +1 -1
- package/dist/esm/operations/vaults.js +335 -412
- package/dist/esm/operations/vaults.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +6 -6
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +10 -13
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/keys.d.ts +20 -22
- package/dist/esm/operationsInterfaces/keys.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/keys.js +2 -7
- package/dist/esm/operationsInterfaces/keys.js.map +1 -1
- package/dist/esm/operationsInterfaces/managedHsmKeys.d.ts +10 -10
- package/dist/esm/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/managedHsmKeys.js +2 -7
- package/dist/esm/operationsInterfaces/managedHsmKeys.js.map +1 -1
- package/dist/esm/operationsInterfaces/managedHsms.d.ts +54 -54
- package/dist/esm/operationsInterfaces/managedHsms.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/managedHsms.js +2 -7
- package/dist/esm/operationsInterfaces/managedHsms.js.map +1 -1
- package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
- package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
- package/dist/esm/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
- package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
- package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
- package/dist/esm/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/mhsmRegions.d.ts +4 -4
- package/dist/esm/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/mhsmRegions.js +2 -7
- package/dist/esm/operationsInterfaces/mhsmRegions.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +3 -3
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js +2 -7
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +3 -3
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/secrets.d.ts +18 -20
- package/dist/esm/operationsInterfaces/secrets.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/secrets.js +2 -7
- package/dist/esm/operationsInterfaces/secrets.js.map +1 -1
- package/dist/esm/operationsInterfaces/vaults.d.ts +50 -50
- package/dist/esm/operationsInterfaces/vaults.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/vaults.js +2 -7
- package/dist/esm/operationsInterfaces/vaults.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +4 -11
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +4 -7
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/keyVaultManagementClient.d.ts +11 -12
- package/dist/react-native/keyVaultManagementClient.d.ts.map +1 -1
- package/dist/react-native/keyVaultManagementClient.js +39 -27
- package/dist/react-native/keyVaultManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +9 -10
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1514 -1451
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +204 -201
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +76 -72
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +1681 -1487
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +17 -19
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +107 -132
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +6 -6
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +10 -13
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/keys.d.ts +36 -38
- package/dist/react-native/operations/keys.d.ts.map +1 -1
- package/dist/react-native/operations/keys.js +112 -153
- package/dist/react-native/operations/keys.js.map +1 -1
- package/dist/react-native/operations/managedHsmKeys.d.ts +20 -20
- package/dist/react-native/operations/managedHsmKeys.d.ts.map +1 -1
- package/dist/react-native/operations/managedHsmKeys.js +103 -142
- package/dist/react-native/operations/managedHsmKeys.js.map +1 -1
- package/dist/react-native/operations/managedHsms.d.ts +77 -77
- package/dist/react-native/operations/managedHsms.d.ts.map +1 -1
- package/dist/react-native/operations/managedHsms.js +338 -382
- package/dist/react-native/operations/managedHsms.js.map +1 -1
- package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts +19 -19
- package/dist/react-native/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/mhsmPrivateEndpointConnections.js +60 -76
- package/dist/react-native/operations/mhsmPrivateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/mhsmPrivateLinkResources.d.ts +5 -5
- package/dist/react-native/operations/mhsmPrivateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operations/mhsmPrivateLinkResources.js +6 -10
- package/dist/react-native/operations/mhsmPrivateLinkResources.js.map +1 -1
- package/dist/react-native/operations/mhsmRegions.d.ts +10 -10
- package/dist/react-native/operations/mhsmRegions.d.ts.map +1 -1
- package/dist/react-native/operations/mhsmRegions.js +34 -56
- package/dist/react-native/operations/mhsmRegions.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts +6 -6
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +27 -49
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts +25 -25
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +88 -104
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.d.ts +5 -5
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +6 -10
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/secrets.d.ts +30 -32
- package/dist/react-native/operations/secrets.d.ts.map +1 -1
- package/dist/react-native/operations/secrets.js +88 -112
- package/dist/react-native/operations/secrets.js.map +1 -1
- package/dist/react-native/operations/vaults.d.ts +72 -72
- package/dist/react-native/operations/vaults.d.ts.map +1 -1
- package/dist/react-native/operations/vaults.js +335 -412
- package/dist/react-native/operations/vaults.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +6 -6
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +10 -13
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/keys.d.ts +20 -22
- package/dist/react-native/operationsInterfaces/keys.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/keys.js +2 -7
- package/dist/react-native/operationsInterfaces/keys.js.map +1 -1
- package/dist/react-native/operationsInterfaces/managedHsmKeys.d.ts +10 -10
- package/dist/react-native/operationsInterfaces/managedHsmKeys.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/managedHsmKeys.js +2 -7
- package/dist/react-native/operationsInterfaces/managedHsmKeys.js.map +1 -1
- package/dist/react-native/operationsInterfaces/managedHsms.d.ts +54 -54
- package/dist/react-native/operationsInterfaces/managedHsms.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/managedHsms.js +2 -7
- package/dist/react-native/operationsInterfaces/managedHsms.js.map +1 -1
- package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts +13 -13
- package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js +2 -7
- package/dist/react-native/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -1
- package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js +2 -7
- package/dist/react-native/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/mhsmRegions.d.ts +4 -4
- package/dist/react-native/operationsInterfaces/mhsmRegions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/mhsmRegions.js +2 -7
- package/dist/react-native/operationsInterfaces/mhsmRegions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js +2 -7
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +13 -13
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/secrets.d.ts +18 -20
- package/dist/react-native/operationsInterfaces/secrets.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/secrets.js +2 -7
- package/dist/react-native/operationsInterfaces/secrets.js.map +1 -1
- package/dist/react-native/operationsInterfaces/vaults.d.ts +50 -50
- package/dist/react-native/operationsInterfaces/vaults.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/vaults.js +2 -7
- package/dist/react-native/operationsInterfaces/vaults.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js +4 -11
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +58 -67
- package/CHANGELOG.md +0 -121
- package/review/arm-keyvault.api.md +0 -1723
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.ManagedHsmsImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -18,6 +13,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
13
|
/// <reference lib="esnext.asynciterable" />
|
|
19
14
|
/** Class containing ManagedHsms operations. */
|
|
20
15
|
class ManagedHsmsImpl {
|
|
16
|
+
client;
|
|
21
17
|
/**
|
|
22
18
|
* Initialize a new instance of the class ManagedHsms class.
|
|
23
19
|
* @param client Reference to the service client
|
|
@@ -26,13 +22,11 @@ class ManagedHsmsImpl {
|
|
|
26
22
|
this.client = client;
|
|
27
23
|
}
|
|
28
24
|
/**
|
|
29
|
-
* The List operation gets information about the managed
|
|
30
|
-
* within the specified resource group.
|
|
31
|
-
* @param resourceGroupName Name of the resource group that contains the managed HSM pool.
|
|
25
|
+
* The List operation gets information about the deleted managed HSMs associated with the subscription.
|
|
32
26
|
* @param options The options parameters.
|
|
33
27
|
*/
|
|
34
|
-
|
|
35
|
-
const iter = this.
|
|
28
|
+
listDeleted(options) {
|
|
29
|
+
const iter = this.listDeletedPagingAll(options);
|
|
36
30
|
return {
|
|
37
31
|
next() {
|
|
38
32
|
return iter.next();
|
|
@@ -41,52 +35,35 @@ class ManagedHsmsImpl {
|
|
|
41
35
|
return this;
|
|
42
36
|
},
|
|
43
37
|
byPage: (settings) => {
|
|
44
|
-
if (settings
|
|
38
|
+
if (settings?.maxPageSize) {
|
|
45
39
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
40
|
}
|
|
47
|
-
return this.
|
|
41
|
+
return this.listDeletedPagingPage(options, settings);
|
|
48
42
|
},
|
|
49
43
|
};
|
|
50
44
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
});
|
|
45
|
+
async *listDeletedPagingPage(options, settings) {
|
|
46
|
+
let result;
|
|
47
|
+
let continuationToken = settings?.continuationToken;
|
|
48
|
+
if (!continuationToken) {
|
|
49
|
+
result = await this._listDeleted(options);
|
|
50
|
+
const page = result.value || [];
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
53
|
+
yield page;
|
|
54
|
+
}
|
|
55
|
+
while (continuationToken) {
|
|
56
|
+
result = await this._listDeletedNext(continuationToken, options);
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
const page = result.value || [];
|
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
70
62
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
76
|
-
_c = _f.value;
|
|
77
|
-
_d = false;
|
|
78
|
-
const page = _c;
|
|
79
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
83
|
-
finally {
|
|
84
|
-
try {
|
|
85
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
86
|
-
}
|
|
87
|
-
finally { if (e_1) throw e_1.error; }
|
|
88
|
-
}
|
|
89
|
-
});
|
|
63
|
+
async *listDeletedPagingAll(options) {
|
|
64
|
+
for await (const page of this.listDeletedPagingPage(options)) {
|
|
65
|
+
yield* page;
|
|
66
|
+
}
|
|
90
67
|
}
|
|
91
68
|
/**
|
|
92
69
|
* The List operation gets information about the managed HSM Pools associated with the subscription.
|
|
@@ -102,59 +79,44 @@ class ManagedHsmsImpl {
|
|
|
102
79
|
return this;
|
|
103
80
|
},
|
|
104
81
|
byPage: (settings) => {
|
|
105
|
-
if (settings
|
|
82
|
+
if (settings?.maxPageSize) {
|
|
106
83
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
107
84
|
}
|
|
108
85
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
109
86
|
},
|
|
110
87
|
};
|
|
111
88
|
}
|
|
112
|
-
listBySubscriptionPagingPage(options, settings) {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
});
|
|
89
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
90
|
+
let result;
|
|
91
|
+
let continuationToken = settings?.continuationToken;
|
|
92
|
+
if (!continuationToken) {
|
|
93
|
+
result = await this._listBySubscription(options);
|
|
94
|
+
const page = result.value || [];
|
|
95
|
+
continuationToken = result.nextLink;
|
|
96
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
97
|
+
yield page;
|
|
98
|
+
}
|
|
99
|
+
while (continuationToken) {
|
|
100
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
101
|
+
continuationToken = result.nextLink;
|
|
102
|
+
const page = result.value || [];
|
|
103
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
104
|
+
yield page;
|
|
105
|
+
}
|
|
131
106
|
}
|
|
132
|
-
listBySubscriptionPagingAll(options) {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
137
|
-
_c = _f.value;
|
|
138
|
-
_d = false;
|
|
139
|
-
const page = _c;
|
|
140
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
144
|
-
finally {
|
|
145
|
-
try {
|
|
146
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
147
|
-
}
|
|
148
|
-
finally { if (e_2) throw e_2.error; }
|
|
149
|
-
}
|
|
150
|
-
});
|
|
107
|
+
async *listBySubscriptionPagingAll(options) {
|
|
108
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
109
|
+
yield* page;
|
|
110
|
+
}
|
|
151
111
|
}
|
|
152
112
|
/**
|
|
153
|
-
* The List operation gets information about the
|
|
113
|
+
* The List operation gets information about the managed HSM Pools associated with the subscription and
|
|
114
|
+
* within the specified resource group.
|
|
115
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
154
116
|
* @param options The options parameters.
|
|
155
117
|
*/
|
|
156
|
-
|
|
157
|
-
const iter = this.
|
|
118
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
119
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
158
120
|
return {
|
|
159
121
|
next() {
|
|
160
122
|
return iter.next();
|
|
@@ -163,73 +125,84 @@ class ManagedHsmsImpl {
|
|
|
163
125
|
return this;
|
|
164
126
|
},
|
|
165
127
|
byPage: (settings) => {
|
|
166
|
-
if (settings
|
|
128
|
+
if (settings?.maxPageSize) {
|
|
167
129
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
168
130
|
}
|
|
169
|
-
return this.
|
|
131
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
170
132
|
},
|
|
171
133
|
};
|
|
172
134
|
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
});
|
|
135
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
136
|
+
let result;
|
|
137
|
+
let continuationToken = settings?.continuationToken;
|
|
138
|
+
if (!continuationToken) {
|
|
139
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
140
|
+
const page = result.value || [];
|
|
141
|
+
continuationToken = result.nextLink;
|
|
142
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
143
|
+
yield page;
|
|
144
|
+
}
|
|
145
|
+
while (continuationToken) {
|
|
146
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
147
|
+
continuationToken = result.nextLink;
|
|
148
|
+
const page = result.value || [];
|
|
149
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
150
|
+
yield page;
|
|
151
|
+
}
|
|
192
152
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listDeletedPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
198
|
-
_c = _f.value;
|
|
199
|
-
_d = false;
|
|
200
|
-
const page = _c;
|
|
201
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
205
|
-
finally {
|
|
206
|
-
try {
|
|
207
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
208
|
-
}
|
|
209
|
-
finally { if (e_3) throw e_3.error; }
|
|
210
|
-
}
|
|
211
|
-
});
|
|
153
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
154
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
155
|
+
yield* page;
|
|
156
|
+
}
|
|
212
157
|
}
|
|
213
158
|
/**
|
|
214
|
-
*
|
|
215
|
-
* @param
|
|
216
|
-
* @param name Name of the managed HSM Pool
|
|
217
|
-
* @param parameters Parameters to create or update the managed HSM Pool
|
|
159
|
+
* Checks that the managed hsm name is valid and is not already in use.
|
|
160
|
+
* @param mhsmName The request body
|
|
218
161
|
* @param options The options parameters.
|
|
219
162
|
*/
|
|
220
|
-
|
|
163
|
+
checkMhsmNameAvailability(mhsmName, options) {
|
|
164
|
+
return this.client.sendOperationRequest({ mhsmName, options }, checkMhsmNameAvailabilityOperationSpec);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The List operation gets information about the deleted managed HSMs associated with the subscription.
|
|
168
|
+
* @param options The options parameters.
|
|
169
|
+
*/
|
|
170
|
+
_listDeleted(options) {
|
|
171
|
+
return this.client.sendOperationRequest({ options }, listDeletedOperationSpec);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Gets the specified deleted managed HSM.
|
|
175
|
+
* @param name The name of the deleted managed HSM.
|
|
176
|
+
* @param location The name of the Azure region.
|
|
177
|
+
* @param options The options parameters.
|
|
178
|
+
*/
|
|
179
|
+
getDeleted(name, location, options) {
|
|
180
|
+
return this.client.sendOperationRequest({ name, location, options }, getDeletedOperationSpec);
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Permanently deletes the specified managed HSM.
|
|
184
|
+
* @param name The name of the deleted managed HSM.
|
|
185
|
+
* @param location The name of the Azure region.
|
|
186
|
+
* @param options The options parameters.
|
|
187
|
+
*/
|
|
188
|
+
async beginPurgeDeleted(name, location, options) {
|
|
221
189
|
const directSendOperation = async (args, spec) => {
|
|
222
190
|
return this.client.sendOperationRequest(args, spec);
|
|
223
191
|
};
|
|
224
192
|
const sendOperationFn = async (args, spec) => {
|
|
225
|
-
var _a;
|
|
226
193
|
let currentRawResponse = undefined;
|
|
227
|
-
const providedCallback =
|
|
194
|
+
const providedCallback = args.options?.onResponse;
|
|
228
195
|
const callback = (rawResponse, flatResponse) => {
|
|
229
196
|
currentRawResponse = rawResponse;
|
|
230
|
-
providedCallback
|
|
197
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
198
|
+
};
|
|
199
|
+
const updatedArgs = {
|
|
200
|
+
...args,
|
|
201
|
+
options: {
|
|
202
|
+
...args.options,
|
|
203
|
+
onResponse: callback,
|
|
204
|
+
},
|
|
231
205
|
};
|
|
232
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
233
206
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
234
207
|
return {
|
|
235
208
|
flatResponse,
|
|
@@ -242,47 +215,77 @@ class ManagedHsmsImpl {
|
|
|
242
215
|
};
|
|
243
216
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
244
217
|
sendOperationFn,
|
|
245
|
-
args: {
|
|
246
|
-
spec:
|
|
218
|
+
args: { name, location, options },
|
|
219
|
+
spec: purgeDeletedOperationSpec,
|
|
247
220
|
});
|
|
248
221
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
249
|
-
restoreFrom: options
|
|
250
|
-
intervalInMs: options
|
|
222
|
+
restoreFrom: options?.resumeFrom,
|
|
223
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
224
|
+
resourceLocationConfig: "location",
|
|
251
225
|
});
|
|
252
226
|
await poller.poll();
|
|
253
227
|
return poller;
|
|
254
228
|
}
|
|
255
229
|
/**
|
|
256
|
-
*
|
|
257
|
-
* @param
|
|
258
|
-
* @param name
|
|
259
|
-
* @param parameters Parameters to create or update the managed HSM Pool
|
|
230
|
+
* Permanently deletes the specified managed HSM.
|
|
231
|
+
* @param name The name of the deleted managed HSM.
|
|
232
|
+
* @param location The name of the Azure region.
|
|
260
233
|
* @param options The options parameters.
|
|
261
234
|
*/
|
|
262
|
-
async
|
|
263
|
-
const poller = await this.
|
|
235
|
+
async beginPurgeDeletedAndWait(name, location, options) {
|
|
236
|
+
const poller = await this.beginPurgeDeleted(name, location, options);
|
|
264
237
|
return poller.pollUntilDone();
|
|
265
238
|
}
|
|
266
239
|
/**
|
|
267
|
-
*
|
|
268
|
-
* @param resourceGroupName Name of the resource group that contains the managed HSM pool.
|
|
269
|
-
* @param name Name of the managed HSM Pool
|
|
270
|
-
* @param parameters Parameters to patch the managed HSM Pool
|
|
240
|
+
* The List operation gets information about the managed HSM Pools associated with the subscription.
|
|
271
241
|
* @param options The options parameters.
|
|
272
242
|
*/
|
|
273
|
-
|
|
243
|
+
_listBySubscription(options) {
|
|
244
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* The List operation gets information about the managed HSM Pools associated with the subscription and
|
|
248
|
+
* within the specified resource group.
|
|
249
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
250
|
+
* @param options The options parameters.
|
|
251
|
+
*/
|
|
252
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
253
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Gets the specified managed HSM Pool.
|
|
257
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
258
|
+
* @param name The name of the managed HSM Pool.
|
|
259
|
+
* @param options The options parameters.
|
|
260
|
+
*/
|
|
261
|
+
get(resourceGroupName, name, options) {
|
|
262
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Create or update a managed HSM Pool in the specified subscription.
|
|
266
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
267
|
+
* @param name The name of the managed HSM Pool.
|
|
268
|
+
* @param parameters Parameters to create or update the managed HSM Pool
|
|
269
|
+
* @param options The options parameters.
|
|
270
|
+
*/
|
|
271
|
+
async beginCreateOrUpdate(resourceGroupName, name, parameters, options) {
|
|
274
272
|
const directSendOperation = async (args, spec) => {
|
|
275
273
|
return this.client.sendOperationRequest(args, spec);
|
|
276
274
|
};
|
|
277
275
|
const sendOperationFn = async (args, spec) => {
|
|
278
|
-
var _a;
|
|
279
276
|
let currentRawResponse = undefined;
|
|
280
|
-
const providedCallback =
|
|
277
|
+
const providedCallback = args.options?.onResponse;
|
|
281
278
|
const callback = (rawResponse, flatResponse) => {
|
|
282
279
|
currentRawResponse = rawResponse;
|
|
283
|
-
providedCallback
|
|
280
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
281
|
+
};
|
|
282
|
+
const updatedArgs = {
|
|
283
|
+
...args,
|
|
284
|
+
options: {
|
|
285
|
+
...args.options,
|
|
286
|
+
onResponse: callback,
|
|
287
|
+
},
|
|
284
288
|
};
|
|
285
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
286
289
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
287
290
|
return {
|
|
288
291
|
flatResponse,
|
|
@@ -296,45 +299,52 @@ class ManagedHsmsImpl {
|
|
|
296
299
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
297
300
|
sendOperationFn,
|
|
298
301
|
args: { resourceGroupName, name, parameters, options },
|
|
299
|
-
spec:
|
|
302
|
+
spec: createOrUpdateOperationSpec,
|
|
300
303
|
});
|
|
301
304
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
302
|
-
restoreFrom: options
|
|
303
|
-
intervalInMs: options
|
|
305
|
+
restoreFrom: options?.resumeFrom,
|
|
306
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
307
|
+
resourceLocationConfig: "location",
|
|
304
308
|
});
|
|
305
309
|
await poller.poll();
|
|
306
310
|
return poller;
|
|
307
311
|
}
|
|
308
312
|
/**
|
|
309
|
-
*
|
|
310
|
-
* @param resourceGroupName
|
|
311
|
-
* @param name
|
|
312
|
-
* @param parameters Parameters to
|
|
313
|
+
* Create or update a managed HSM Pool in the specified subscription.
|
|
314
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
315
|
+
* @param name The name of the managed HSM Pool.
|
|
316
|
+
* @param parameters Parameters to create or update the managed HSM Pool
|
|
313
317
|
* @param options The options parameters.
|
|
314
318
|
*/
|
|
315
|
-
async
|
|
316
|
-
const poller = await this.
|
|
319
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, name, parameters, options) {
|
|
320
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, name, parameters, options);
|
|
317
321
|
return poller.pollUntilDone();
|
|
318
322
|
}
|
|
319
323
|
/**
|
|
320
|
-
*
|
|
321
|
-
* @param resourceGroupName
|
|
322
|
-
* @param name The name of the managed HSM Pool
|
|
324
|
+
* Update a managed HSM Pool in the specified subscription.
|
|
325
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
326
|
+
* @param name The name of the managed HSM Pool.
|
|
327
|
+
* @param parameters Parameters to patch the managed HSM Pool
|
|
323
328
|
* @param options The options parameters.
|
|
324
329
|
*/
|
|
325
|
-
async
|
|
330
|
+
async beginUpdate(resourceGroupName, name, parameters, options) {
|
|
326
331
|
const directSendOperation = async (args, spec) => {
|
|
327
332
|
return this.client.sendOperationRequest(args, spec);
|
|
328
333
|
};
|
|
329
334
|
const sendOperationFn = async (args, spec) => {
|
|
330
|
-
var _a;
|
|
331
335
|
let currentRawResponse = undefined;
|
|
332
|
-
const providedCallback =
|
|
336
|
+
const providedCallback = args.options?.onResponse;
|
|
333
337
|
const callback = (rawResponse, flatResponse) => {
|
|
334
338
|
currentRawResponse = rawResponse;
|
|
335
|
-
providedCallback
|
|
339
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
340
|
+
};
|
|
341
|
+
const updatedArgs = {
|
|
342
|
+
...args,
|
|
343
|
+
options: {
|
|
344
|
+
...args.options,
|
|
345
|
+
onResponse: callback,
|
|
346
|
+
},
|
|
336
347
|
};
|
|
337
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
338
348
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
339
349
|
return {
|
|
340
350
|
flatResponse,
|
|
@@ -347,86 +357,52 @@ class ManagedHsmsImpl {
|
|
|
347
357
|
};
|
|
348
358
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
349
359
|
sendOperationFn,
|
|
350
|
-
args: { resourceGroupName, name, options },
|
|
351
|
-
spec:
|
|
360
|
+
args: { resourceGroupName, name, parameters, options },
|
|
361
|
+
spec: updateOperationSpec,
|
|
352
362
|
});
|
|
353
363
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
354
|
-
restoreFrom: options
|
|
355
|
-
intervalInMs: options
|
|
364
|
+
restoreFrom: options?.resumeFrom,
|
|
365
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
366
|
+
resourceLocationConfig: "location",
|
|
356
367
|
});
|
|
357
368
|
await poller.poll();
|
|
358
369
|
return poller;
|
|
359
370
|
}
|
|
360
371
|
/**
|
|
361
|
-
*
|
|
362
|
-
* @param resourceGroupName
|
|
363
|
-
* @param name The name of the managed HSM Pool
|
|
372
|
+
* Update a managed HSM Pool in the specified subscription.
|
|
373
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
374
|
+
* @param name The name of the managed HSM Pool.
|
|
375
|
+
* @param parameters Parameters to patch the managed HSM Pool
|
|
364
376
|
* @param options The options parameters.
|
|
365
377
|
*/
|
|
366
|
-
async
|
|
367
|
-
const poller = await this.
|
|
378
|
+
async beginUpdateAndWait(resourceGroupName, name, parameters, options) {
|
|
379
|
+
const poller = await this.beginUpdate(resourceGroupName, name, parameters, options);
|
|
368
380
|
return poller.pollUntilDone();
|
|
369
381
|
}
|
|
370
382
|
/**
|
|
371
|
-
*
|
|
372
|
-
* @param resourceGroupName
|
|
383
|
+
* Deletes the specified managed HSM Pool.
|
|
384
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
373
385
|
* @param name The name of the managed HSM Pool.
|
|
374
386
|
* @param options The options parameters.
|
|
375
387
|
*/
|
|
376
|
-
|
|
377
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* The List operation gets information about the managed HSM Pools associated with the subscription and
|
|
381
|
-
* within the specified resource group.
|
|
382
|
-
* @param resourceGroupName Name of the resource group that contains the managed HSM pool.
|
|
383
|
-
* @param options The options parameters.
|
|
384
|
-
*/
|
|
385
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
386
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
* The List operation gets information about the managed HSM Pools associated with the subscription.
|
|
390
|
-
* @param options The options parameters.
|
|
391
|
-
*/
|
|
392
|
-
_listBySubscription(options) {
|
|
393
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
394
|
-
}
|
|
395
|
-
/**
|
|
396
|
-
* The List operation gets information about the deleted managed HSMs associated with the subscription.
|
|
397
|
-
* @param options The options parameters.
|
|
398
|
-
*/
|
|
399
|
-
_listDeleted(options) {
|
|
400
|
-
return this.client.sendOperationRequest({ options }, listDeletedOperationSpec);
|
|
401
|
-
}
|
|
402
|
-
/**
|
|
403
|
-
* Gets the specified deleted managed HSM.
|
|
404
|
-
* @param name The name of the deleted managed HSM.
|
|
405
|
-
* @param location The location of the deleted managed HSM.
|
|
406
|
-
* @param options The options parameters.
|
|
407
|
-
*/
|
|
408
|
-
getDeleted(name, location, options) {
|
|
409
|
-
return this.client.sendOperationRequest({ name, location, options }, getDeletedOperationSpec);
|
|
410
|
-
}
|
|
411
|
-
/**
|
|
412
|
-
* Permanently deletes the specified managed HSM.
|
|
413
|
-
* @param name The name of the soft-deleted managed HSM.
|
|
414
|
-
* @param location The location of the soft-deleted managed HSM.
|
|
415
|
-
* @param options The options parameters.
|
|
416
|
-
*/
|
|
417
|
-
async beginPurgeDeleted(name, location, options) {
|
|
388
|
+
async beginDelete(resourceGroupName, name, options) {
|
|
418
389
|
const directSendOperation = async (args, spec) => {
|
|
419
390
|
return this.client.sendOperationRequest(args, spec);
|
|
420
391
|
};
|
|
421
392
|
const sendOperationFn = async (args, spec) => {
|
|
422
|
-
var _a;
|
|
423
393
|
let currentRawResponse = undefined;
|
|
424
|
-
const providedCallback =
|
|
394
|
+
const providedCallback = args.options?.onResponse;
|
|
425
395
|
const callback = (rawResponse, flatResponse) => {
|
|
426
396
|
currentRawResponse = rawResponse;
|
|
427
|
-
providedCallback
|
|
397
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
398
|
+
};
|
|
399
|
+
const updatedArgs = {
|
|
400
|
+
...args,
|
|
401
|
+
options: {
|
|
402
|
+
...args.options,
|
|
403
|
+
onResponse: callback,
|
|
404
|
+
},
|
|
428
405
|
};
|
|
429
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
430
406
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
431
407
|
return {
|
|
432
408
|
flatResponse,
|
|
@@ -439,42 +415,34 @@ class ManagedHsmsImpl {
|
|
|
439
415
|
};
|
|
440
416
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
441
417
|
sendOperationFn,
|
|
442
|
-
args: {
|
|
443
|
-
spec:
|
|
418
|
+
args: { resourceGroupName, name, options },
|
|
419
|
+
spec: deleteOperationSpec,
|
|
444
420
|
});
|
|
445
421
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
446
|
-
restoreFrom: options
|
|
447
|
-
intervalInMs: options
|
|
422
|
+
restoreFrom: options?.resumeFrom,
|
|
423
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
424
|
+
resourceLocationConfig: "location",
|
|
448
425
|
});
|
|
449
426
|
await poller.poll();
|
|
450
427
|
return poller;
|
|
451
428
|
}
|
|
452
429
|
/**
|
|
453
|
-
*
|
|
454
|
-
* @param
|
|
455
|
-
* @param
|
|
430
|
+
* Deletes the specified managed HSM Pool.
|
|
431
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
432
|
+
* @param name The name of the managed HSM Pool.
|
|
456
433
|
* @param options The options parameters.
|
|
457
434
|
*/
|
|
458
|
-
async
|
|
459
|
-
const poller = await this.
|
|
435
|
+
async beginDeleteAndWait(resourceGroupName, name, options) {
|
|
436
|
+
const poller = await this.beginDelete(resourceGroupName, name, options);
|
|
460
437
|
return poller.pollUntilDone();
|
|
461
438
|
}
|
|
462
439
|
/**
|
|
463
|
-
*
|
|
464
|
-
* @param
|
|
465
|
-
* @param options The options parameters.
|
|
466
|
-
*/
|
|
467
|
-
checkMhsmNameAvailability(mhsmName, options) {
|
|
468
|
-
return this.client.sendOperationRequest({ mhsmName, options }, checkMhsmNameAvailabilityOperationSpec);
|
|
469
|
-
}
|
|
470
|
-
/**
|
|
471
|
-
* ListByResourceGroupNext
|
|
472
|
-
* @param resourceGroupName Name of the resource group that contains the managed HSM pool.
|
|
473
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
440
|
+
* ListDeletedNext
|
|
441
|
+
* @param nextLink The nextLink from the previous successful call to the ListDeleted method.
|
|
474
442
|
* @param options The options parameters.
|
|
475
443
|
*/
|
|
476
|
-
|
|
477
|
-
return this.client.sendOperationRequest({
|
|
444
|
+
_listDeletedNext(nextLink, options) {
|
|
445
|
+
return this.client.sendOperationRequest({ nextLink, options }, listDeletedNextOperationSpec);
|
|
478
446
|
}
|
|
479
447
|
/**
|
|
480
448
|
* ListBySubscriptionNext
|
|
@@ -485,89 +453,59 @@ class ManagedHsmsImpl {
|
|
|
485
453
|
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
486
454
|
}
|
|
487
455
|
/**
|
|
488
|
-
*
|
|
489
|
-
* @param
|
|
456
|
+
* ListByResourceGroupNext
|
|
457
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
458
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
490
459
|
* @param options The options parameters.
|
|
491
460
|
*/
|
|
492
|
-
|
|
493
|
-
return this.client.sendOperationRequest({ nextLink, options },
|
|
461
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
462
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
494
463
|
}
|
|
495
464
|
}
|
|
496
465
|
exports.ManagedHsmsImpl = ManagedHsmsImpl;
|
|
497
466
|
// Operation Specifications
|
|
498
467
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
499
|
-
const
|
|
500
|
-
path: "/subscriptions/{subscriptionId}/
|
|
501
|
-
httpMethod: "
|
|
468
|
+
const checkMhsmNameAvailabilityOperationSpec = {
|
|
469
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkMhsmNameAvailability",
|
|
470
|
+
httpMethod: "POST",
|
|
502
471
|
responses: {
|
|
503
472
|
200: {
|
|
504
|
-
bodyMapper: Mappers.
|
|
505
|
-
},
|
|
506
|
-
201: {
|
|
507
|
-
bodyMapper: Mappers.ManagedHsm,
|
|
508
|
-
},
|
|
509
|
-
202: {
|
|
510
|
-
bodyMapper: Mappers.ManagedHsm,
|
|
511
|
-
},
|
|
512
|
-
204: {
|
|
513
|
-
bodyMapper: Mappers.ManagedHsm,
|
|
473
|
+
bodyMapper: Mappers.CheckMhsmNameAvailabilityResult,
|
|
514
474
|
},
|
|
515
475
|
default: {
|
|
516
|
-
bodyMapper: Mappers.
|
|
476
|
+
bodyMapper: Mappers.CloudError,
|
|
517
477
|
},
|
|
518
478
|
},
|
|
519
|
-
requestBody: Parameters.
|
|
479
|
+
requestBody: Parameters.mhsmName,
|
|
520
480
|
queryParameters: [Parameters.apiVersion],
|
|
521
|
-
urlParameters: [
|
|
522
|
-
|
|
523
|
-
Parameters.subscriptionId,
|
|
524
|
-
Parameters.resourceGroupName,
|
|
525
|
-
Parameters.name1,
|
|
526
|
-
],
|
|
527
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
481
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
482
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
528
483
|
mediaType: "json",
|
|
529
484
|
serializer,
|
|
530
485
|
};
|
|
531
|
-
const
|
|
532
|
-
path: "/subscriptions/{subscriptionId}/
|
|
533
|
-
httpMethod: "
|
|
486
|
+
const listDeletedOperationSpec = {
|
|
487
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedManagedHSMs",
|
|
488
|
+
httpMethod: "GET",
|
|
534
489
|
responses: {
|
|
535
490
|
200: {
|
|
536
|
-
bodyMapper: Mappers.
|
|
537
|
-
},
|
|
538
|
-
201: {
|
|
539
|
-
bodyMapper: Mappers.ManagedHsm,
|
|
540
|
-
},
|
|
541
|
-
202: {
|
|
542
|
-
bodyMapper: Mappers.ManagedHsm,
|
|
543
|
-
},
|
|
544
|
-
204: {
|
|
545
|
-
bodyMapper: Mappers.ManagedHsm,
|
|
491
|
+
bodyMapper: Mappers.DeletedManagedHsmListResult,
|
|
546
492
|
},
|
|
547
493
|
default: {
|
|
548
494
|
bodyMapper: Mappers.ManagedHsmError,
|
|
549
495
|
},
|
|
550
496
|
},
|
|
551
|
-
requestBody: Parameters.parameters5,
|
|
552
497
|
queryParameters: [Parameters.apiVersion],
|
|
553
|
-
urlParameters: [
|
|
554
|
-
|
|
555
|
-
Parameters.subscriptionId,
|
|
556
|
-
Parameters.resourceGroupName,
|
|
557
|
-
Parameters.name1,
|
|
558
|
-
],
|
|
559
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
560
|
-
mediaType: "json",
|
|
498
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
499
|
+
headerParameters: [Parameters.accept],
|
|
561
500
|
serializer,
|
|
562
501
|
};
|
|
563
|
-
const
|
|
564
|
-
path: "/subscriptions/{subscriptionId}/
|
|
565
|
-
httpMethod: "
|
|
502
|
+
const getDeletedOperationSpec = {
|
|
503
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}",
|
|
504
|
+
httpMethod: "GET",
|
|
566
505
|
responses: {
|
|
567
|
-
200: {
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
204: {},
|
|
506
|
+
200: {
|
|
507
|
+
bodyMapper: Mappers.DeletedManagedHsm,
|
|
508
|
+
},
|
|
571
509
|
default: {
|
|
572
510
|
bodyMapper: Mappers.ManagedHsmError,
|
|
573
511
|
},
|
|
@@ -576,20 +514,28 @@ const deleteOperationSpec = {
|
|
|
576
514
|
urlParameters: [
|
|
577
515
|
Parameters.$host,
|
|
578
516
|
Parameters.subscriptionId,
|
|
579
|
-
Parameters.
|
|
580
|
-
Parameters.
|
|
517
|
+
Parameters.name,
|
|
518
|
+
Parameters.location,
|
|
581
519
|
],
|
|
582
520
|
headerParameters: [Parameters.accept],
|
|
583
521
|
serializer,
|
|
584
522
|
};
|
|
585
|
-
const
|
|
586
|
-
path: "/subscriptions/{subscriptionId}/
|
|
587
|
-
httpMethod: "
|
|
523
|
+
const purgeDeletedOperationSpec = {
|
|
524
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}/purge",
|
|
525
|
+
httpMethod: "POST",
|
|
588
526
|
responses: {
|
|
589
527
|
200: {
|
|
590
|
-
|
|
528
|
+
headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,
|
|
529
|
+
},
|
|
530
|
+
201: {
|
|
531
|
+
headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,
|
|
532
|
+
},
|
|
533
|
+
202: {
|
|
534
|
+
headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,
|
|
535
|
+
},
|
|
536
|
+
204: {
|
|
537
|
+
headersMapper: Mappers.ManagedHsmsPurgeDeletedHeaders,
|
|
591
538
|
},
|
|
592
|
-
204: {},
|
|
593
539
|
default: {
|
|
594
540
|
bodyMapper: Mappers.ManagedHsmError,
|
|
595
541
|
},
|
|
@@ -598,14 +544,14 @@ const getOperationSpec = {
|
|
|
598
544
|
urlParameters: [
|
|
599
545
|
Parameters.$host,
|
|
600
546
|
Parameters.subscriptionId,
|
|
601
|
-
Parameters.
|
|
602
|
-
Parameters.
|
|
547
|
+
Parameters.name,
|
|
548
|
+
Parameters.location,
|
|
603
549
|
],
|
|
604
550
|
headerParameters: [Parameters.accept],
|
|
605
551
|
serializer,
|
|
606
552
|
};
|
|
607
|
-
const
|
|
608
|
-
path: "/subscriptions/{subscriptionId}/
|
|
553
|
+
const listBySubscriptionOperationSpec = {
|
|
554
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs",
|
|
609
555
|
httpMethod: "GET",
|
|
610
556
|
responses: {
|
|
611
557
|
200: {
|
|
@@ -616,16 +562,12 @@ const listByResourceGroupOperationSpec = {
|
|
|
616
562
|
},
|
|
617
563
|
},
|
|
618
564
|
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
619
|
-
urlParameters: [
|
|
620
|
-
Parameters.$host,
|
|
621
|
-
Parameters.subscriptionId,
|
|
622
|
-
Parameters.resourceGroupName,
|
|
623
|
-
],
|
|
565
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
624
566
|
headerParameters: [Parameters.accept],
|
|
625
567
|
serializer,
|
|
626
568
|
};
|
|
627
|
-
const
|
|
628
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs",
|
|
569
|
+
const listByResourceGroupOperationSpec = {
|
|
570
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs",
|
|
629
571
|
httpMethod: "GET",
|
|
630
572
|
responses: {
|
|
631
573
|
200: {
|
|
@@ -636,112 +578,130 @@ const listBySubscriptionOperationSpec = {
|
|
|
636
578
|
},
|
|
637
579
|
},
|
|
638
580
|
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
639
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
581
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
|
|
640
582
|
headerParameters: [Parameters.accept],
|
|
641
583
|
serializer,
|
|
642
584
|
};
|
|
643
|
-
const
|
|
644
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/
|
|
585
|
+
const getOperationSpec = {
|
|
586
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}",
|
|
645
587
|
httpMethod: "GET",
|
|
646
588
|
responses: {
|
|
647
589
|
200: {
|
|
648
|
-
bodyMapper: Mappers.
|
|
590
|
+
bodyMapper: Mappers.ManagedHsm,
|
|
649
591
|
},
|
|
592
|
+
204: {},
|
|
650
593
|
default: {
|
|
651
594
|
bodyMapper: Mappers.ManagedHsmError,
|
|
652
595
|
},
|
|
653
596
|
},
|
|
654
597
|
queryParameters: [Parameters.apiVersion],
|
|
655
|
-
urlParameters: [
|
|
598
|
+
urlParameters: [
|
|
599
|
+
Parameters.$host,
|
|
600
|
+
Parameters.subscriptionId,
|
|
601
|
+
Parameters.name,
|
|
602
|
+
Parameters.resourceGroupName,
|
|
603
|
+
],
|
|
656
604
|
headerParameters: [Parameters.accept],
|
|
657
605
|
serializer,
|
|
658
606
|
};
|
|
659
|
-
const
|
|
660
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/
|
|
661
|
-
httpMethod: "
|
|
607
|
+
const createOrUpdateOperationSpec = {
|
|
608
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}",
|
|
609
|
+
httpMethod: "PUT",
|
|
662
610
|
responses: {
|
|
663
611
|
200: {
|
|
664
|
-
bodyMapper: Mappers.
|
|
612
|
+
bodyMapper: Mappers.ManagedHsm,
|
|
613
|
+
},
|
|
614
|
+
201: {
|
|
615
|
+
bodyMapper: Mappers.ManagedHsm,
|
|
616
|
+
},
|
|
617
|
+
202: {
|
|
618
|
+
bodyMapper: Mappers.ManagedHsm,
|
|
619
|
+
},
|
|
620
|
+
204: {
|
|
621
|
+
bodyMapper: Mappers.ManagedHsm,
|
|
665
622
|
},
|
|
666
623
|
default: {
|
|
667
624
|
bodyMapper: Mappers.ManagedHsmError,
|
|
668
625
|
},
|
|
669
626
|
},
|
|
627
|
+
requestBody: Parameters.parameters,
|
|
670
628
|
queryParameters: [Parameters.apiVersion],
|
|
671
629
|
urlParameters: [
|
|
672
630
|
Parameters.$host,
|
|
673
631
|
Parameters.subscriptionId,
|
|
674
|
-
Parameters.
|
|
675
|
-
Parameters.
|
|
632
|
+
Parameters.name,
|
|
633
|
+
Parameters.resourceGroupName,
|
|
676
634
|
],
|
|
677
|
-
headerParameters: [Parameters.accept],
|
|
635
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
636
|
+
mediaType: "json",
|
|
678
637
|
serializer,
|
|
679
638
|
};
|
|
680
|
-
const
|
|
681
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/
|
|
682
|
-
httpMethod: "
|
|
639
|
+
const updateOperationSpec = {
|
|
640
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}",
|
|
641
|
+
httpMethod: "PATCH",
|
|
683
642
|
responses: {
|
|
684
643
|
200: {
|
|
685
|
-
|
|
644
|
+
bodyMapper: Mappers.ManagedHsm,
|
|
686
645
|
},
|
|
687
646
|
201: {
|
|
688
|
-
|
|
647
|
+
bodyMapper: Mappers.ManagedHsm,
|
|
689
648
|
},
|
|
690
649
|
202: {
|
|
691
|
-
|
|
650
|
+
bodyMapper: Mappers.ManagedHsm,
|
|
692
651
|
},
|
|
693
652
|
204: {
|
|
694
|
-
|
|
653
|
+
bodyMapper: Mappers.ManagedHsm,
|
|
695
654
|
},
|
|
696
655
|
default: {
|
|
697
656
|
bodyMapper: Mappers.ManagedHsmError,
|
|
698
657
|
},
|
|
699
658
|
},
|
|
659
|
+
requestBody: Parameters.parameters,
|
|
700
660
|
queryParameters: [Parameters.apiVersion],
|
|
701
661
|
urlParameters: [
|
|
702
662
|
Parameters.$host,
|
|
703
663
|
Parameters.subscriptionId,
|
|
704
|
-
Parameters.
|
|
705
|
-
Parameters.
|
|
664
|
+
Parameters.name,
|
|
665
|
+
Parameters.resourceGroupName,
|
|
706
666
|
],
|
|
707
|
-
headerParameters: [Parameters.accept],
|
|
667
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
668
|
+
mediaType: "json",
|
|
708
669
|
serializer,
|
|
709
670
|
};
|
|
710
|
-
const
|
|
711
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/
|
|
712
|
-
httpMethod: "
|
|
671
|
+
const deleteOperationSpec = {
|
|
672
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}",
|
|
673
|
+
httpMethod: "DELETE",
|
|
713
674
|
responses: {
|
|
714
|
-
200: {
|
|
715
|
-
|
|
716
|
-
},
|
|
675
|
+
200: {},
|
|
676
|
+
201: {},
|
|
677
|
+
202: {},
|
|
678
|
+
204: {},
|
|
717
679
|
default: {
|
|
718
|
-
bodyMapper: Mappers.
|
|
680
|
+
bodyMapper: Mappers.ManagedHsmError,
|
|
719
681
|
},
|
|
720
682
|
},
|
|
721
|
-
requestBody: Parameters.mhsmName,
|
|
722
683
|
queryParameters: [Parameters.apiVersion],
|
|
723
|
-
urlParameters: [
|
|
724
|
-
|
|
725
|
-
|
|
684
|
+
urlParameters: [
|
|
685
|
+
Parameters.$host,
|
|
686
|
+
Parameters.subscriptionId,
|
|
687
|
+
Parameters.name,
|
|
688
|
+
Parameters.resourceGroupName,
|
|
689
|
+
],
|
|
690
|
+
headerParameters: [Parameters.accept],
|
|
726
691
|
serializer,
|
|
727
692
|
};
|
|
728
|
-
const
|
|
693
|
+
const listDeletedNextOperationSpec = {
|
|
729
694
|
path: "{nextLink}",
|
|
730
695
|
httpMethod: "GET",
|
|
731
696
|
responses: {
|
|
732
697
|
200: {
|
|
733
|
-
bodyMapper: Mappers.
|
|
698
|
+
bodyMapper: Mappers.DeletedManagedHsmListResult,
|
|
734
699
|
},
|
|
735
700
|
default: {
|
|
736
701
|
bodyMapper: Mappers.ManagedHsmError,
|
|
737
702
|
},
|
|
738
703
|
},
|
|
739
|
-
urlParameters: [
|
|
740
|
-
Parameters.$host,
|
|
741
|
-
Parameters.subscriptionId,
|
|
742
|
-
Parameters.resourceGroupName,
|
|
743
|
-
Parameters.nextLink,
|
|
744
|
-
],
|
|
704
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
|
|
745
705
|
headerParameters: [Parameters.accept],
|
|
746
706
|
serializer,
|
|
747
707
|
};
|
|
@@ -756,20 +716,16 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
756
716
|
bodyMapper: Mappers.ManagedHsmError,
|
|
757
717
|
},
|
|
758
718
|
},
|
|
759
|
-
urlParameters: [
|
|
760
|
-
Parameters.$host,
|
|
761
|
-
Parameters.subscriptionId,
|
|
762
|
-
Parameters.nextLink,
|
|
763
|
-
],
|
|
719
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
|
|
764
720
|
headerParameters: [Parameters.accept],
|
|
765
721
|
serializer,
|
|
766
722
|
};
|
|
767
|
-
const
|
|
723
|
+
const listByResourceGroupNextOperationSpec = {
|
|
768
724
|
path: "{nextLink}",
|
|
769
725
|
httpMethod: "GET",
|
|
770
726
|
responses: {
|
|
771
727
|
200: {
|
|
772
|
-
bodyMapper: Mappers.
|
|
728
|
+
bodyMapper: Mappers.ManagedHsmListResult,
|
|
773
729
|
},
|
|
774
730
|
default: {
|
|
775
731
|
bodyMapper: Mappers.ManagedHsmError,
|
|
@@ -777,8 +733,9 @@ const listDeletedNextOperationSpec = {
|
|
|
777
733
|
},
|
|
778
734
|
urlParameters: [
|
|
779
735
|
Parameters.$host,
|
|
780
|
-
Parameters.subscriptionId,
|
|
781
736
|
Parameters.nextLink,
|
|
737
|
+
Parameters.subscriptionId,
|
|
738
|
+
Parameters.resourceGroupName,
|
|
782
739
|
],
|
|
783
740
|
headerParameters: [Parameters.accept],
|
|
784
741
|
serializer,
|