@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.js","s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;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Keys } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n Key,\n KeysListNextOptionalParams,\n KeysListOptionalParams,\n KeysListResponse,\n KeysListVersionsNextOptionalParams,\n KeysListVersionsOptionalParams,\n KeysListVersionsResponse,\n KeyCreateParameters,\n KeysCreateIfNotExistOptionalParams,\n KeysCreateIfNotExistResponse,\n KeysGetOptionalParams,\n KeysGetResponse,\n KeysGetVersionOptionalParams,\n KeysGetVersionResponse,\n KeysListNextResponse,\n KeysListVersionsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Keys operations. */\nexport class KeysImpl implements Keys {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class Keys class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the keys in the specified key vault.\n * @param resourceGroupName The name of the resource group which contains the specified key vault.\n * @param vaultName The name of the vault which contains the keys to be retrieved.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n vaultName: string,\n options?: KeysListOptionalParams,\n ): PagedAsyncIterableIterator<Key> {\n const iter = this.listPagingAll(resourceGroupName, vaultName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n vaultName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n vaultName: string,\n options?: KeysListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Key[]> {\n let result: KeysListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, vaultName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n vaultName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n vaultName: string,\n options?: KeysListOptionalParams,\n ): AsyncIterableIterator<Key> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n vaultName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the versions of the specified key in the specified key vault.\n * @param resourceGroupName The name of the resource group which contains the specified key vault.\n * @param vaultName The name of the vault which contains the key versions to be retrieved.\n * @param keyName The name of the key versions to be retrieved.\n * @param options The options parameters.\n */\n public listVersions(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n options?: KeysListVersionsOptionalParams,\n ): PagedAsyncIterableIterator<Key> {\n const iter = this.listVersionsPagingAll(\n resourceGroupName,\n vaultName,\n keyName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listVersionsPagingPage(\n resourceGroupName,\n vaultName,\n keyName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listVersionsPagingPage(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n options?: KeysListVersionsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Key[]> {\n let result: KeysListVersionsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listVersions(\n resourceGroupName,\n vaultName,\n keyName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listVersionsNext(\n resourceGroupName,\n vaultName,\n keyName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listVersionsPagingAll(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n options?: KeysListVersionsOptionalParams,\n ): AsyncIterableIterator<Key> {\n for await (const page of this.listVersionsPagingPage(\n resourceGroupName,\n vaultName,\n keyName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates the first version of a new key if it does not exist. If it already exists, then the existing\n * key is returned without any write operations being performed. This API does not create subsequent\n * versions, and does not update existing keys.\n * @param resourceGroupName The name of the resource group which contains the specified key vault.\n * @param vaultName The name of the key vault which contains the key to be created.\n * @param keyName The name of the key to be created. The value you provide may be copied globally for\n * the purpose of running the service. The value provided should not include personally identifiable or\n * sensitive information.\n * @param parameters The parameters used to create the specified key.\n * @param options The options parameters.\n */\n createIfNotExist(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n parameters: KeyCreateParameters,\n options?: KeysCreateIfNotExistOptionalParams,\n ): Promise<KeysCreateIfNotExistResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, keyName, parameters, options },\n createIfNotExistOperationSpec,\n );\n }\n\n /**\n * Gets the current version of the specified key from the specified key vault.\n * @param resourceGroupName The name of the resource group which contains the specified key vault.\n * @param vaultName The name of the vault which contains the key to be retrieved.\n * @param keyName The name of the key to be retrieved.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n options?: KeysGetOptionalParams,\n ): Promise<KeysGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, keyName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists the keys in the specified key vault.\n * @param resourceGroupName The name of the resource group which contains the specified key vault.\n * @param vaultName The name of the vault which contains the keys to be retrieved.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n vaultName: string,\n options?: KeysListOptionalParams,\n ): Promise<KeysListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified version of the specified key in the specified key vault.\n * @param resourceGroupName The name of the resource group which contains the specified key vault.\n * @param vaultName The name of the vault which contains the key version to be retrieved.\n * @param keyName The name of the key version to be retrieved.\n * @param keyVersion The version of the key to be retrieved.\n * @param options The options parameters.\n */\n getVersion(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n keyVersion: string,\n options?: KeysGetVersionOptionalParams,\n ): Promise<KeysGetVersionResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, keyName, keyVersion, options },\n getVersionOperationSpec,\n );\n }\n\n /**\n * Lists the versions of the specified key in the specified key vault.\n * @param resourceGroupName The name of the resource group which contains the specified key vault.\n * @param vaultName The name of the vault which contains the key versions to be retrieved.\n * @param keyName The name of the key versions to be retrieved.\n * @param options The options parameters.\n */\n private _listVersions(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n options?: KeysListVersionsOptionalParams,\n ): Promise<KeysListVersionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, keyName, options },\n listVersionsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group which contains the specified key vault.\n * @param vaultName The name of the vault which contains the keys to be retrieved.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n vaultName: string,\n nextLink: string,\n options?: KeysListNextOptionalParams,\n ): Promise<KeysListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListVersionsNext\n * @param resourceGroupName The name of the resource group which contains the specified key vault.\n * @param vaultName The name of the vault which contains the key versions to be retrieved.\n * @param keyName The name of the key versions to be retrieved.\n * @param nextLink The nextLink from the previous successful call to the ListVersions method.\n * @param options The options parameters.\n */\n private _listVersionsNext(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n nextLink: string,\n options?: KeysListVersionsNextOptionalParams,\n ): Promise<KeysListVersionsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, keyName, nextLink, options },\n listVersionsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createIfNotExistOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Key,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Key,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getVersionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}/versions/{keyVersion}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Key,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.keyName,\n Parameters.keyVersion,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listVersionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}/versions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listVersionsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.keyName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../src/operations/keys.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBA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QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Keys } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport type {\n Key,\n KeysListNextOptionalParams,\n KeysListOptionalParams,\n KeysListResponse,\n KeysListVersionsNextOptionalParams,\n KeysListVersionsOptionalParams,\n KeysListVersionsResponse,\n KeysGetOptionalParams,\n KeysGetResponse,\n KeyCreateParameters,\n KeysCreateIfNotExistOptionalParams,\n KeysCreateIfNotExistResponse,\n KeysGetVersionOptionalParams,\n KeysGetVersionResponse,\n KeysListNextResponse,\n KeysListVersionsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Keys operations. */\nexport class KeysImpl implements Keys {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class Keys class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the keys in the specified key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault which contains the key to be retrieved.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n vaultName: string,\n options?: KeysListOptionalParams,\n ): PagedAsyncIterableIterator<Key> {\n const iter = this.listPagingAll(resourceGroupName, vaultName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, vaultName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n vaultName: string,\n options?: KeysListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Key[]> {\n let result: KeysListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, vaultName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, vaultName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n vaultName: string,\n options?: KeysListOptionalParams,\n ): AsyncIterableIterator<Key> {\n for await (const page of this.listPagingPage(resourceGroupName, vaultName, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists the keys in the specified key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault which contains the key version to be retrieved.\n * @param keyName The name of the key version to be retrieved.\n * @param options The options parameters.\n */\n public listVersions(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n options?: KeysListVersionsOptionalParams,\n ): PagedAsyncIterableIterator<Key> {\n const iter = this.listVersionsPagingAll(resourceGroupName, vaultName, keyName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listVersionsPagingPage(\n resourceGroupName,\n vaultName,\n keyName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listVersionsPagingPage(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n options?: KeysListVersionsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Key[]> {\n let result: KeysListVersionsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listVersions(resourceGroupName, vaultName, keyName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listVersionsNext(\n resourceGroupName,\n vaultName,\n keyName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listVersionsPagingAll(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n options?: KeysListVersionsOptionalParams,\n ): AsyncIterableIterator<Key> {\n for await (const page of this.listVersionsPagingPage(\n resourceGroupName,\n vaultName,\n keyName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the keys in the specified key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault which contains the key to be retrieved.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n vaultName: string,\n options?: KeysListOptionalParams,\n ): Promise<KeysListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the current version of the specified key from the specified key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault which contains the key to be retrieved.\n * @param keyName The name of the key to be retrieved.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n options?: KeysGetOptionalParams,\n ): Promise<KeysGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, keyName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates the first version of a new key if it does not exist. If it already exists, then the existing\n * key is returned without any write operations being performed. This API does not create subsequent\n * versions, and does not update existing keys.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault which contains the key to be retrieved.\n * @param keyName The name of the key to be retrieved.\n * @param parameters The parameters used to create the specified key.\n * @param options The options parameters.\n */\n createIfNotExist(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n parameters: KeyCreateParameters,\n options?: KeysCreateIfNotExistOptionalParams,\n ): Promise<KeysCreateIfNotExistResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, keyName, parameters, options },\n createIfNotExistOperationSpec,\n );\n }\n\n /**\n * Lists the keys in the specified key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault which contains the key version to be retrieved.\n * @param keyName The name of the key version to be retrieved.\n * @param options The options parameters.\n */\n private _listVersions(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n options?: KeysListVersionsOptionalParams,\n ): Promise<KeysListVersionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, keyName, options },\n listVersionsOperationSpec,\n );\n }\n\n /**\n * Gets the specified version of the specified key in the specified key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault which contains the key version to be retrieved.\n * @param keyName The name of the key version to be retrieved.\n * @param keyVersion The version of the key to be retrieved.\n * @param options The options parameters.\n */\n getVersion(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n keyVersion: string,\n options?: KeysGetVersionOptionalParams,\n ): Promise<KeysGetVersionResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, keyName, keyVersion, options },\n getVersionOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault which contains the key to be retrieved.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n vaultName: string,\n nextLink: string,\n options?: KeysListNextOptionalParams,\n ): Promise<KeysListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListVersionsNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault which contains the key version to be retrieved.\n * @param keyName The name of the key version to be retrieved.\n * @param nextLink The nextLink from the previous successful call to the ListVersions method.\n * @param options The options parameters.\n */\n private _listVersionsNext(\n resourceGroupName: string,\n vaultName: string,\n keyName: string,\n nextLink: string,\n options?: KeysListVersionsNextOptionalParams,\n ): Promise<KeysListVersionsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, keyName, nextLink, options },\n listVersionsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName2,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Key,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName2,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createIfNotExistOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Key,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName2,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listVersionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}/versions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName2,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getVersionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}/versions/{keyVersion}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Key,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName2,\n Parameters.keyName,\n Parameters.keyVersion,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName2,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listVersionsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName2,\n Parameters.keyName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ManagedHsmKeys } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
|
|
4
|
-
import { ManagedHsmKey, ManagedHsmKeysListOptionalParams, ManagedHsmKeysListVersionsOptionalParams,
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { ManagedHsmKeys } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
|
|
4
|
+
import type { ManagedHsmKey, ManagedHsmKeysListOptionalParams, ManagedHsmKeysListVersionsOptionalParams, ManagedHsmKeysGetOptionalParams, ManagedHsmKeysGetResponse, ManagedHsmKeyCreateParameters, ManagedHsmKeysCreateIfNotExistOptionalParams, ManagedHsmKeysCreateIfNotExistResponse, ManagedHsmKeysGetVersionOptionalParams, ManagedHsmKeysGetVersionResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing ManagedHsmKeys operations. */
|
|
6
6
|
export declare class ManagedHsmKeysImpl implements ManagedHsmKeys {
|
|
7
7
|
private readonly client;
|
|
@@ -20,7 +20,7 @@ export declare class ManagedHsmKeysImpl implements ManagedHsmKeys {
|
|
|
20
20
|
private listPagingPage;
|
|
21
21
|
private listPagingAll;
|
|
22
22
|
/**
|
|
23
|
-
* Lists the
|
|
23
|
+
* Lists the keys in the specified managed HSM.
|
|
24
24
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
25
|
* @param name The name of the Managed HSM Pool within the specified resource group.
|
|
26
26
|
* @param keyName The name of the key to be created. The value you provide may be copied globally for
|
|
@@ -32,18 +32,12 @@ export declare class ManagedHsmKeysImpl implements ManagedHsmKeys {
|
|
|
32
32
|
private listVersionsPagingPage;
|
|
33
33
|
private listVersionsPagingAll;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
|
-
* key is returned without any write operations being performed. This API does not create subsequent
|
|
37
|
-
* versions, and does not update existing keys.
|
|
35
|
+
* Lists the keys in the specified managed HSM.
|
|
38
36
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
39
37
|
* @param name The name of the Managed HSM Pool within the specified resource group.
|
|
40
|
-
* @param keyName The name of the key to be created. The value you provide may be copied globally for
|
|
41
|
-
* the purpose of running the service. The value provided should not include personally identifiable or
|
|
42
|
-
* sensitive information.
|
|
43
|
-
* @param parameters The parameters used to create the specified key.
|
|
44
38
|
* @param options The options parameters.
|
|
45
39
|
*/
|
|
46
|
-
|
|
40
|
+
private _list;
|
|
47
41
|
/**
|
|
48
42
|
* Gets the current version of the specified key from the specified managed HSM.
|
|
49
43
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -55,33 +49,39 @@ export declare class ManagedHsmKeysImpl implements ManagedHsmKeys {
|
|
|
55
49
|
*/
|
|
56
50
|
get(resourceGroupName: string, name: string, keyName: string, options?: ManagedHsmKeysGetOptionalParams): Promise<ManagedHsmKeysGetResponse>;
|
|
57
51
|
/**
|
|
58
|
-
*
|
|
52
|
+
* Creates the first version of a new key if it does not exist. If it already exists, then the existing
|
|
53
|
+
* key is returned without any write operations being performed. This API does not create subsequent
|
|
54
|
+
* versions, and does not update existing keys.
|
|
59
55
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
56
|
* @param name The name of the Managed HSM Pool within the specified resource group.
|
|
57
|
+
* @param keyName The name of the key to be created. The value you provide may be copied globally for
|
|
58
|
+
* the purpose of running the service. The value provided should not include personally identifiable or
|
|
59
|
+
* sensitive information.
|
|
60
|
+
* @param parameters The parameters used to create the specified key.
|
|
61
61
|
* @param options The options parameters.
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
createIfNotExist(resourceGroupName: string, name: string, keyName: string, parameters: ManagedHsmKeyCreateParameters, options?: ManagedHsmKeysCreateIfNotExistOptionalParams): Promise<ManagedHsmKeysCreateIfNotExistResponse>;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Lists the keys in the specified managed HSM.
|
|
66
66
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
67
|
* @param name The name of the Managed HSM Pool within the specified resource group.
|
|
68
68
|
* @param keyName The name of the key to be created. The value you provide may be copied globally for
|
|
69
69
|
* the purpose of running the service. The value provided should not include personally identifiable or
|
|
70
70
|
* sensitive information.
|
|
71
|
-
* @param keyVersion The version of the key to be retrieved.
|
|
72
71
|
* @param options The options parameters.
|
|
73
72
|
*/
|
|
74
|
-
|
|
73
|
+
private _listVersions;
|
|
75
74
|
/**
|
|
76
|
-
*
|
|
75
|
+
* Gets the specified version of the specified key in the specified managed HSM.
|
|
77
76
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
77
|
* @param name The name of the Managed HSM Pool within the specified resource group.
|
|
79
78
|
* @param keyName The name of the key to be created. The value you provide may be copied globally for
|
|
80
79
|
* the purpose of running the service. The value provided should not include personally identifiable or
|
|
81
80
|
* sensitive information.
|
|
81
|
+
* @param keyVersion The version of the key to be retrieved.
|
|
82
82
|
* @param options The options parameters.
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
getVersion(resourceGroupName: string, name: string, keyName: string, keyVersion: string, options?: ManagedHsmKeysGetVersionOptionalParams): Promise<ManagedHsmKeysGetVersionResponse>;
|
|
85
85
|
/**
|
|
86
86
|
* ListNext
|
|
87
87
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managedHsmKeys.d.ts","sourceRoot":"","sources":["../../../src/operations/managedHsmKeys.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"managedHsmKeys.d.ts","sourceRoot":"","sources":["../../../src/operations/managedHsmKeys.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EACV,aAAa,EAEb,gCAAgC,EAGhC,wCAAwC,EAExC,+BAA+B,EAC/B,yBAAyB,EACzB,6BAA6B,EAC7B,4CAA4C,EAC5C,sCAAsC,EACtC,sCAAsC,EACtC,gCAAgC,EAGjC,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,aAAa,CAAC;YAkB7B,cAAc;YAwBd,aAAa;IAU5B;;;;;;;;OAQG;IACI,YAAY,CACjB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,aAAa,CAAC;YAkB7B,sBAAsB;YA+BtB,qBAAqB;IAgBpC;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;;;;;;;;OAWG;IACH,gBAAgB,CACd,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,6BAA6B,EACzC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;;;;;OAQG;IACH,OAAO,CAAC,aAAa;IAYrB;;;;;;;;;OASG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;IAYjB;;;;;;;;;OASG;IACH,OAAO,CAAC,iBAAiB;CAY1B"}
|
|
@@ -1,11 +1,5 @@
|
|
|
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";
|
|
@@ -13,6 +7,7 @@ import * as Parameters from "../models/parameters.js";
|
|
|
13
7
|
/// <reference lib="esnext.asynciterable" />
|
|
14
8
|
/** Class containing ManagedHsmKeys operations. */
|
|
15
9
|
export class ManagedHsmKeysImpl {
|
|
10
|
+
client;
|
|
16
11
|
/**
|
|
17
12
|
* Initialize a new instance of the class ManagedHsmKeys class.
|
|
18
13
|
* @param client Reference to the service client
|
|
@@ -36,55 +31,38 @@ export class ManagedHsmKeysImpl {
|
|
|
36
31
|
return this;
|
|
37
32
|
},
|
|
38
33
|
byPage: (settings) => {
|
|
39
|
-
if (settings
|
|
34
|
+
if (settings?.maxPageSize) {
|
|
40
35
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
36
|
}
|
|
42
37
|
return this.listPagingPage(resourceGroupName, name, options, settings);
|
|
43
38
|
},
|
|
44
39
|
};
|
|
45
40
|
}
|
|
46
|
-
listPagingPage(resourceGroupName, name, options, settings) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
});
|
|
41
|
+
async *listPagingPage(resourceGroupName, name, options, settings) {
|
|
42
|
+
let result;
|
|
43
|
+
let continuationToken = settings?.continuationToken;
|
|
44
|
+
if (!continuationToken) {
|
|
45
|
+
result = await this._list(resourceGroupName, name, 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._listNext(resourceGroupName, name, continuationToken, options);
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
const page = result.value || [];
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield page;
|
|
57
|
+
}
|
|
65
58
|
}
|
|
66
|
-
listPagingAll(resourceGroupName, name, options) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, name, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
71
|
-
_c = _f.value;
|
|
72
|
-
_d = false;
|
|
73
|
-
const page = _c;
|
|
74
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
78
|
-
finally {
|
|
79
|
-
try {
|
|
80
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
81
|
-
}
|
|
82
|
-
finally { if (e_1) throw e_1.error; }
|
|
83
|
-
}
|
|
84
|
-
});
|
|
59
|
+
async *listPagingAll(resourceGroupName, name, options) {
|
|
60
|
+
for await (const page of this.listPagingPage(resourceGroupName, name, options)) {
|
|
61
|
+
yield* page;
|
|
62
|
+
}
|
|
85
63
|
}
|
|
86
64
|
/**
|
|
87
|
-
* Lists the
|
|
65
|
+
* Lists the keys in the specified managed HSM.
|
|
88
66
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
89
67
|
* @param name The name of the Managed HSM Pool within the specified resource group.
|
|
90
68
|
* @param keyName The name of the key to be created. The value you provide may be copied globally for
|
|
@@ -102,67 +80,44 @@ export class ManagedHsmKeysImpl {
|
|
|
102
80
|
return this;
|
|
103
81
|
},
|
|
104
82
|
byPage: (settings) => {
|
|
105
|
-
if (settings
|
|
83
|
+
if (settings?.maxPageSize) {
|
|
106
84
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
107
85
|
}
|
|
108
86
|
return this.listVersionsPagingPage(resourceGroupName, name, keyName, options, settings);
|
|
109
87
|
},
|
|
110
88
|
};
|
|
111
89
|
}
|
|
112
|
-
listVersionsPagingPage(resourceGroupName, name, keyName, options, settings) {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
});
|
|
90
|
+
async *listVersionsPagingPage(resourceGroupName, name, keyName, options, settings) {
|
|
91
|
+
let result;
|
|
92
|
+
let continuationToken = settings?.continuationToken;
|
|
93
|
+
if (!continuationToken) {
|
|
94
|
+
result = await this._listVersions(resourceGroupName, name, keyName, options);
|
|
95
|
+
const page = result.value || [];
|
|
96
|
+
continuationToken = result.nextLink;
|
|
97
|
+
setContinuationToken(page, continuationToken);
|
|
98
|
+
yield page;
|
|
99
|
+
}
|
|
100
|
+
while (continuationToken) {
|
|
101
|
+
result = await this._listVersionsNext(resourceGroupName, name, keyName, continuationToken, options);
|
|
102
|
+
continuationToken = result.nextLink;
|
|
103
|
+
const page = result.value || [];
|
|
104
|
+
setContinuationToken(page, continuationToken);
|
|
105
|
+
yield page;
|
|
106
|
+
}
|
|
131
107
|
}
|
|
132
|
-
listVersionsPagingAll(resourceGroupName, name, keyName, options) {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
for (var _d = true, _e = __asyncValues(this.listVersionsPagingPage(resourceGroupName, name, keyName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
137
|
-
_c = _f.value;
|
|
138
|
-
_d = false;
|
|
139
|
-
const page = _c;
|
|
140
|
-
yield __await(yield* __asyncDelegator(__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 __await(_b.call(_e));
|
|
147
|
-
}
|
|
148
|
-
finally { if (e_2) throw e_2.error; }
|
|
149
|
-
}
|
|
150
|
-
});
|
|
108
|
+
async *listVersionsPagingAll(resourceGroupName, name, keyName, options) {
|
|
109
|
+
for await (const page of this.listVersionsPagingPage(resourceGroupName, name, keyName, options)) {
|
|
110
|
+
yield* page;
|
|
111
|
+
}
|
|
151
112
|
}
|
|
152
113
|
/**
|
|
153
|
-
*
|
|
154
|
-
* key is returned without any write operations being performed. This API does not create subsequent
|
|
155
|
-
* versions, and does not update existing keys.
|
|
114
|
+
* Lists the keys in the specified managed HSM.
|
|
156
115
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
157
116
|
* @param name The name of the Managed HSM Pool within the specified resource group.
|
|
158
|
-
* @param keyName The name of the key to be created. The value you provide may be copied globally for
|
|
159
|
-
* the purpose of running the service. The value provided should not include personally identifiable or
|
|
160
|
-
* sensitive information.
|
|
161
|
-
* @param parameters The parameters used to create the specified key.
|
|
162
117
|
* @param options The options parameters.
|
|
163
118
|
*/
|
|
164
|
-
|
|
165
|
-
return this.client.sendOperationRequest({ resourceGroupName, name,
|
|
119
|
+
_list(resourceGroupName, name, options) {
|
|
120
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, listOperationSpec);
|
|
166
121
|
}
|
|
167
122
|
/**
|
|
168
123
|
* Gets the current version of the specified key from the specified managed HSM.
|
|
@@ -177,38 +132,44 @@ export class ManagedHsmKeysImpl {
|
|
|
177
132
|
return this.client.sendOperationRequest({ resourceGroupName, name, keyName, options }, getOperationSpec);
|
|
178
133
|
}
|
|
179
134
|
/**
|
|
180
|
-
*
|
|
135
|
+
* Creates the first version of a new key if it does not exist. If it already exists, then the existing
|
|
136
|
+
* key is returned without any write operations being performed. This API does not create subsequent
|
|
137
|
+
* versions, and does not update existing keys.
|
|
181
138
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
182
139
|
* @param name The name of the Managed HSM Pool within the specified resource group.
|
|
140
|
+
* @param keyName The name of the key to be created. The value you provide may be copied globally for
|
|
141
|
+
* the purpose of running the service. The value provided should not include personally identifiable or
|
|
142
|
+
* sensitive information.
|
|
143
|
+
* @param parameters The parameters used to create the specified key.
|
|
183
144
|
* @param options The options parameters.
|
|
184
145
|
*/
|
|
185
|
-
|
|
186
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, options },
|
|
146
|
+
createIfNotExist(resourceGroupName, name, keyName, parameters, options) {
|
|
147
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, keyName, parameters, options }, createIfNotExistOperationSpec);
|
|
187
148
|
}
|
|
188
149
|
/**
|
|
189
|
-
*
|
|
150
|
+
* Lists the keys in the specified managed HSM.
|
|
190
151
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
191
152
|
* @param name The name of the Managed HSM Pool within the specified resource group.
|
|
192
153
|
* @param keyName The name of the key to be created. The value you provide may be copied globally for
|
|
193
154
|
* the purpose of running the service. The value provided should not include personally identifiable or
|
|
194
155
|
* sensitive information.
|
|
195
|
-
* @param keyVersion The version of the key to be retrieved.
|
|
196
156
|
* @param options The options parameters.
|
|
197
157
|
*/
|
|
198
|
-
|
|
199
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, keyName,
|
|
158
|
+
_listVersions(resourceGroupName, name, keyName, options) {
|
|
159
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, keyName, options }, listVersionsOperationSpec);
|
|
200
160
|
}
|
|
201
161
|
/**
|
|
202
|
-
*
|
|
162
|
+
* Gets the specified version of the specified key in the specified managed HSM.
|
|
203
163
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
204
164
|
* @param name The name of the Managed HSM Pool within the specified resource group.
|
|
205
165
|
* @param keyName The name of the key to be created. The value you provide may be copied globally for
|
|
206
166
|
* the purpose of running the service. The value provided should not include personally identifiable or
|
|
207
167
|
* sensitive information.
|
|
168
|
+
* @param keyVersion The version of the key to be retrieved.
|
|
208
169
|
* @param options The options parameters.
|
|
209
170
|
*/
|
|
210
|
-
|
|
211
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, keyName, options },
|
|
171
|
+
getVersion(resourceGroupName, name, keyName, keyVersion, options) {
|
|
172
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, keyName, keyVersion, options }, getVersionOperationSpec);
|
|
212
173
|
}
|
|
213
174
|
/**
|
|
214
175
|
* ListNext
|
|
@@ -236,28 +197,25 @@ export class ManagedHsmKeysImpl {
|
|
|
236
197
|
}
|
|
237
198
|
// Operation Specifications
|
|
238
199
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
239
|
-
const
|
|
240
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys
|
|
241
|
-
httpMethod: "
|
|
200
|
+
const listOperationSpec = {
|
|
201
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys",
|
|
202
|
+
httpMethod: "GET",
|
|
242
203
|
responses: {
|
|
243
204
|
200: {
|
|
244
|
-
bodyMapper: Mappers.
|
|
205
|
+
bodyMapper: Mappers.ManagedHsmKeyListResult,
|
|
245
206
|
},
|
|
246
207
|
default: {
|
|
247
208
|
bodyMapper: Mappers.CloudError,
|
|
248
209
|
},
|
|
249
210
|
},
|
|
250
|
-
requestBody: Parameters.parameters1,
|
|
251
211
|
queryParameters: [Parameters.apiVersion],
|
|
252
212
|
urlParameters: [
|
|
253
213
|
Parameters.$host,
|
|
254
214
|
Parameters.subscriptionId,
|
|
255
|
-
Parameters.
|
|
256
|
-
Parameters.
|
|
257
|
-
Parameters.name,
|
|
215
|
+
Parameters.resourceGroupName,
|
|
216
|
+
Parameters.name1,
|
|
258
217
|
],
|
|
259
|
-
headerParameters: [Parameters.
|
|
260
|
-
mediaType: "json",
|
|
218
|
+
headerParameters: [Parameters.accept],
|
|
261
219
|
serializer,
|
|
262
220
|
};
|
|
263
221
|
const getOperationSpec = {
|
|
@@ -275,40 +233,43 @@ const getOperationSpec = {
|
|
|
275
233
|
urlParameters: [
|
|
276
234
|
Parameters.$host,
|
|
277
235
|
Parameters.subscriptionId,
|
|
236
|
+
Parameters.resourceGroupName,
|
|
237
|
+
Parameters.name1,
|
|
278
238
|
Parameters.keyName,
|
|
279
|
-
Parameters.resourceGroupName1,
|
|
280
|
-
Parameters.name,
|
|
281
239
|
],
|
|
282
240
|
headerParameters: [Parameters.accept],
|
|
283
241
|
serializer,
|
|
284
242
|
};
|
|
285
|
-
const
|
|
286
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys",
|
|
287
|
-
httpMethod: "
|
|
243
|
+
const createIfNotExistOperationSpec = {
|
|
244
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}",
|
|
245
|
+
httpMethod: "PUT",
|
|
288
246
|
responses: {
|
|
289
247
|
200: {
|
|
290
|
-
bodyMapper: Mappers.
|
|
248
|
+
bodyMapper: Mappers.ManagedHsmKey,
|
|
291
249
|
},
|
|
292
250
|
default: {
|
|
293
251
|
bodyMapper: Mappers.CloudError,
|
|
294
252
|
},
|
|
295
253
|
},
|
|
254
|
+
requestBody: Parameters.parameters4,
|
|
296
255
|
queryParameters: [Parameters.apiVersion],
|
|
297
256
|
urlParameters: [
|
|
298
257
|
Parameters.$host,
|
|
299
258
|
Parameters.subscriptionId,
|
|
300
|
-
Parameters.
|
|
301
|
-
Parameters.
|
|
259
|
+
Parameters.resourceGroupName,
|
|
260
|
+
Parameters.name1,
|
|
261
|
+
Parameters.keyName,
|
|
302
262
|
],
|
|
303
|
-
headerParameters: [Parameters.accept],
|
|
263
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
264
|
+
mediaType: "json",
|
|
304
265
|
serializer,
|
|
305
266
|
};
|
|
306
|
-
const
|
|
307
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}/versions
|
|
267
|
+
const listVersionsOperationSpec = {
|
|
268
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}/versions",
|
|
308
269
|
httpMethod: "GET",
|
|
309
270
|
responses: {
|
|
310
271
|
200: {
|
|
311
|
-
bodyMapper: Mappers.
|
|
272
|
+
bodyMapper: Mappers.ManagedHsmKeyListResult,
|
|
312
273
|
},
|
|
313
274
|
default: {
|
|
314
275
|
bodyMapper: Mappers.CloudError,
|
|
@@ -318,20 +279,19 @@ const getVersionOperationSpec = {
|
|
|
318
279
|
urlParameters: [
|
|
319
280
|
Parameters.$host,
|
|
320
281
|
Parameters.subscriptionId,
|
|
282
|
+
Parameters.resourceGroupName,
|
|
283
|
+
Parameters.name1,
|
|
321
284
|
Parameters.keyName,
|
|
322
|
-
Parameters.keyVersion,
|
|
323
|
-
Parameters.resourceGroupName1,
|
|
324
|
-
Parameters.name,
|
|
325
285
|
],
|
|
326
286
|
headerParameters: [Parameters.accept],
|
|
327
287
|
serializer,
|
|
328
288
|
};
|
|
329
|
-
const
|
|
330
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}/versions",
|
|
289
|
+
const getVersionOperationSpec = {
|
|
290
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/keys/{keyName}/versions/{keyVersion}",
|
|
331
291
|
httpMethod: "GET",
|
|
332
292
|
responses: {
|
|
333
293
|
200: {
|
|
334
|
-
bodyMapper: Mappers.
|
|
294
|
+
bodyMapper: Mappers.ManagedHsmKey,
|
|
335
295
|
},
|
|
336
296
|
default: {
|
|
337
297
|
bodyMapper: Mappers.CloudError,
|
|
@@ -341,9 +301,10 @@ const listVersionsOperationSpec = {
|
|
|
341
301
|
urlParameters: [
|
|
342
302
|
Parameters.$host,
|
|
343
303
|
Parameters.subscriptionId,
|
|
304
|
+
Parameters.resourceGroupName,
|
|
305
|
+
Parameters.name1,
|
|
344
306
|
Parameters.keyName,
|
|
345
|
-
Parameters.
|
|
346
|
-
Parameters.name,
|
|
307
|
+
Parameters.keyVersion,
|
|
347
308
|
],
|
|
348
309
|
headerParameters: [Parameters.accept],
|
|
349
310
|
serializer,
|
|
@@ -361,10 +322,10 @@ const listNextOperationSpec = {
|
|
|
361
322
|
},
|
|
362
323
|
urlParameters: [
|
|
363
324
|
Parameters.$host,
|
|
364
|
-
Parameters.subscriptionId,
|
|
365
325
|
Parameters.nextLink,
|
|
366
|
-
Parameters.
|
|
367
|
-
Parameters.
|
|
326
|
+
Parameters.subscriptionId,
|
|
327
|
+
Parameters.resourceGroupName,
|
|
328
|
+
Parameters.name1,
|
|
368
329
|
],
|
|
369
330
|
headerParameters: [Parameters.accept],
|
|
370
331
|
serializer,
|
|
@@ -382,11 +343,11 @@ const listVersionsNextOperationSpec = {
|
|
|
382
343
|
},
|
|
383
344
|
urlParameters: [
|
|
384
345
|
Parameters.$host,
|
|
346
|
+
Parameters.nextLink,
|
|
385
347
|
Parameters.subscriptionId,
|
|
348
|
+
Parameters.resourceGroupName,
|
|
349
|
+
Parameters.name1,
|
|
386
350
|
Parameters.keyName,
|
|
387
|
-
Parameters.nextLink,
|
|
388
|
-
Parameters.resourceGroupName1,
|
|
389
|
-
Parameters.name,
|
|
390
351
|
],
|
|
391
352
|
headerParameters: [Parameters.accept],
|
|
392
353
|
serializer,
|