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