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