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