@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,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 Vaults operations. */
|
|
@@ -23,13 +18,11 @@ export class VaultsImpl {
|
|
|
23
18
|
this.client = client;
|
|
24
19
|
}
|
|
25
20
|
/**
|
|
26
|
-
*
|
|
27
|
-
* specified resource group.
|
|
28
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
21
|
+
* Gets information about the deleted vaults in a 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 VaultsImpl {
|
|
|
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 VaultsImpl {
|
|
|
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 VaultsImpl {
|
|
|
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 VaultsImpl {
|
|
|
113
106
|
}
|
|
114
107
|
}
|
|
115
108
|
/**
|
|
116
|
-
*
|
|
109
|
+
* The List operation gets information about the vaults associated with the subscription and within the
|
|
110
|
+
* 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,30 +124,30 @@ export class VaultsImpl {
|
|
|
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
|
}
|
|
@@ -182,7 +177,7 @@ export class VaultsImpl {
|
|
|
182
177
|
let continuationToken = settings?.continuationToken;
|
|
183
178
|
if (!continuationToken) {
|
|
184
179
|
result = await this._list(options);
|
|
185
|
-
|
|
180
|
+
const page = result.value || [];
|
|
186
181
|
continuationToken = result.nextLink;
|
|
187
182
|
setContinuationToken(page, continuationToken);
|
|
188
183
|
yield page;
|
|
@@ -190,7 +185,7 @@ export class VaultsImpl {
|
|
|
190
185
|
while (continuationToken) {
|
|
191
186
|
result = await this._listNext(continuationToken, options);
|
|
192
187
|
continuationToken = result.nextLink;
|
|
193
|
-
|
|
188
|
+
const page = result.value || [];
|
|
194
189
|
setContinuationToken(page, continuationToken);
|
|
195
190
|
yield page;
|
|
196
191
|
}
|
|
@@ -201,13 +196,36 @@ export class VaultsImpl {
|
|
|
201
196
|
}
|
|
202
197
|
}
|
|
203
198
|
/**
|
|
204
|
-
*
|
|
205
|
-
* @param
|
|
206
|
-
* @param vaultName Name of the vault
|
|
207
|
-
* @param parameters Parameters to create or update the vault
|
|
199
|
+
* Checks that the vault name is valid and is not already in use.
|
|
200
|
+
* @param vaultName The name of the vault.
|
|
208
201
|
* @param options The options parameters.
|
|
209
202
|
*/
|
|
210
|
-
|
|
203
|
+
checkNameAvailability(vaultName, options) {
|
|
204
|
+
return this.client.sendOperationRequest({ vaultName, options }, checkNameAvailabilityOperationSpec);
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Gets information about the deleted vaults in a subscription.
|
|
208
|
+
* @param options The options parameters.
|
|
209
|
+
*/
|
|
210
|
+
_listDeleted(options) {
|
|
211
|
+
return this.client.sendOperationRequest({ options }, listDeletedOperationSpec);
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Gets the deleted Azure key vault.
|
|
215
|
+
* @param vaultName The name of the vault.
|
|
216
|
+
* @param location The name of the Azure region.
|
|
217
|
+
* @param options The options parameters.
|
|
218
|
+
*/
|
|
219
|
+
getDeleted(vaultName, location, options) {
|
|
220
|
+
return this.client.sendOperationRequest({ vaultName, location, options }, getDeletedOperationSpec);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Permanently deletes the specified vault. aka Purges the deleted Azure key vault.
|
|
224
|
+
* @param vaultName The name of the vault.
|
|
225
|
+
* @param location The name of the Azure region.
|
|
226
|
+
* @param options The options parameters.
|
|
227
|
+
*/
|
|
228
|
+
async beginPurgeDeleted(vaultName, location, options) {
|
|
211
229
|
const directSendOperation = async (args, spec) => {
|
|
212
230
|
return this.client.sendOperationRequest(args, spec);
|
|
213
231
|
};
|
|
@@ -237,105 +255,60 @@ export class VaultsImpl {
|
|
|
237
255
|
};
|
|
238
256
|
const lro = createLroSpec({
|
|
239
257
|
sendOperationFn,
|
|
240
|
-
args: {
|
|
241
|
-
spec:
|
|
258
|
+
args: { vaultName, location, options },
|
|
259
|
+
spec: purgeDeletedOperationSpec,
|
|
242
260
|
});
|
|
243
261
|
const poller = await createHttpPoller(lro, {
|
|
244
262
|
restoreFrom: options?.resumeFrom,
|
|
245
263
|
intervalInMs: options?.updateIntervalInMs,
|
|
264
|
+
resourceLocationConfig: "location",
|
|
246
265
|
});
|
|
247
266
|
await poller.poll();
|
|
248
267
|
return poller;
|
|
249
268
|
}
|
|
250
269
|
/**
|
|
251
|
-
*
|
|
252
|
-
* @param resourceGroupName The name of the Resource Group to which the server belongs.
|
|
253
|
-
* @param vaultName Name of the vault
|
|
254
|
-
* @param parameters Parameters to create or update the vault
|
|
255
|
-
* @param options The options parameters.
|
|
256
|
-
*/
|
|
257
|
-
async beginCreateOrUpdateAndWait(resourceGroupName, vaultName, parameters, options) {
|
|
258
|
-
const poller = await this.beginCreateOrUpdate(resourceGroupName, vaultName, parameters, options);
|
|
259
|
-
return poller.pollUntilDone();
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* Update a key vault in the specified subscription.
|
|
263
|
-
* @param resourceGroupName The name of the Resource Group to which the server belongs.
|
|
264
|
-
* @param vaultName Name of the vault
|
|
265
|
-
* @param parameters Parameters to patch the vault
|
|
266
|
-
* @param options The options parameters.
|
|
267
|
-
*/
|
|
268
|
-
update(resourceGroupName, vaultName, parameters, options) {
|
|
269
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, parameters, options }, updateOperationSpec);
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* Deletes the specified Azure key vault.
|
|
273
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
274
|
-
* @param vaultName The name of the vault to delete
|
|
275
|
-
* @param options The options parameters.
|
|
276
|
-
*/
|
|
277
|
-
delete(resourceGroupName, vaultName, options) {
|
|
278
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, deleteOperationSpec);
|
|
279
|
-
}
|
|
280
|
-
/**
|
|
281
|
-
* Gets the specified Azure key vault.
|
|
282
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
270
|
+
* Permanently deletes the specified vault. aka Purges the deleted Azure key vault.
|
|
283
271
|
* @param vaultName The name of the vault.
|
|
272
|
+
* @param location The name of the Azure region.
|
|
284
273
|
* @param options The options parameters.
|
|
285
274
|
*/
|
|
286
|
-
|
|
287
|
-
|
|
275
|
+
async beginPurgeDeletedAndWait(vaultName, location, options) {
|
|
276
|
+
const poller = await this.beginPurgeDeleted(vaultName, location, options);
|
|
277
|
+
return poller.pollUntilDone();
|
|
288
278
|
}
|
|
289
279
|
/**
|
|
290
|
-
*
|
|
291
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
292
|
-
* @param vaultName Name of the vault
|
|
293
|
-
* @param operationKind Name of the operation
|
|
294
|
-
* @param parameters Access policy to merge into the vault
|
|
280
|
+
* The List operation gets information about the vaults associated with the subscription.
|
|
295
281
|
* @param options The options parameters.
|
|
296
282
|
*/
|
|
297
|
-
|
|
298
|
-
return this.client.sendOperationRequest({
|
|
283
|
+
_listBySubscription(options) {
|
|
284
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
299
285
|
}
|
|
300
286
|
/**
|
|
301
287
|
* The List operation gets information about the vaults associated with the subscription and within the
|
|
302
288
|
* specified resource group.
|
|
303
|
-
* @param resourceGroupName The name of the
|
|
289
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
304
290
|
* @param options The options parameters.
|
|
305
291
|
*/
|
|
306
292
|
_listByResourceGroup(resourceGroupName, options) {
|
|
307
293
|
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
308
294
|
}
|
|
309
295
|
/**
|
|
310
|
-
*
|
|
311
|
-
* @param
|
|
312
|
-
*/
|
|
313
|
-
_listBySubscription(options) {
|
|
314
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
* Gets information about the deleted vaults in a subscription.
|
|
318
|
-
* @param options The options parameters.
|
|
319
|
-
*/
|
|
320
|
-
_listDeleted(options) {
|
|
321
|
-
return this.client.sendOperationRequest({ options }, listDeletedOperationSpec);
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
* Gets the deleted Azure key vault.
|
|
296
|
+
* Gets the specified Azure key vault.
|
|
297
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
325
298
|
* @param vaultName The name of the vault.
|
|
326
|
-
* @param location The location of the deleted vault.
|
|
327
299
|
* @param options The options parameters.
|
|
328
300
|
*/
|
|
329
|
-
|
|
330
|
-
return this.client.sendOperationRequest({
|
|
301
|
+
get(resourceGroupName, vaultName, options) {
|
|
302
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, getOperationSpec);
|
|
331
303
|
}
|
|
332
304
|
/**
|
|
333
|
-
*
|
|
334
|
-
* @param
|
|
335
|
-
* @param
|
|
305
|
+
* Create or update a key vault in the specified subscription.
|
|
306
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
307
|
+
* @param vaultName The name of the vault.
|
|
308
|
+
* @param parameters Parameters to create or update the vault
|
|
336
309
|
* @param options The options parameters.
|
|
337
310
|
*/
|
|
338
|
-
async
|
|
311
|
+
async beginCreateOrUpdate(resourceGroupName, vaultName, parameters, options) {
|
|
339
312
|
const directSendOperation = async (args, spec) => {
|
|
340
313
|
return this.client.sendOperationRequest(args, spec);
|
|
341
314
|
};
|
|
@@ -365,57 +338,64 @@ export class VaultsImpl {
|
|
|
365
338
|
};
|
|
366
339
|
const lro = createLroSpec({
|
|
367
340
|
sendOperationFn,
|
|
368
|
-
args: { vaultName,
|
|
369
|
-
spec:
|
|
341
|
+
args: { resourceGroupName, vaultName, parameters, options },
|
|
342
|
+
spec: createOrUpdateOperationSpec,
|
|
370
343
|
});
|
|
371
344
|
const poller = await createHttpPoller(lro, {
|
|
372
345
|
restoreFrom: options?.resumeFrom,
|
|
373
346
|
intervalInMs: options?.updateIntervalInMs,
|
|
347
|
+
resourceLocationConfig: "location",
|
|
374
348
|
});
|
|
375
349
|
await poller.poll();
|
|
376
350
|
return poller;
|
|
377
351
|
}
|
|
378
352
|
/**
|
|
379
|
-
*
|
|
380
|
-
* @param
|
|
381
|
-
* @param
|
|
353
|
+
* Create or update a key vault in the specified subscription.
|
|
354
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
355
|
+
* @param vaultName The name of the vault.
|
|
356
|
+
* @param parameters Parameters to create or update the vault
|
|
382
357
|
* @param options The options parameters.
|
|
383
358
|
*/
|
|
384
|
-
async
|
|
385
|
-
const poller = await this.
|
|
359
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, vaultName, parameters, options) {
|
|
360
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, vaultName, parameters, options);
|
|
386
361
|
return poller.pollUntilDone();
|
|
387
362
|
}
|
|
388
363
|
/**
|
|
389
|
-
*
|
|
364
|
+
* Update a key vault in the specified subscription.
|
|
365
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
366
|
+
* @param vaultName The name of the vault.
|
|
367
|
+
* @param parameters Parameters to patch the vault
|
|
390
368
|
* @param options The options parameters.
|
|
391
369
|
*/
|
|
392
|
-
|
|
393
|
-
return this.client.sendOperationRequest({ options },
|
|
370
|
+
update(resourceGroupName, vaultName, parameters, options) {
|
|
371
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, parameters, options }, updateOperationSpec);
|
|
394
372
|
}
|
|
395
373
|
/**
|
|
396
|
-
*
|
|
374
|
+
* Deletes the specified Azure key vault.
|
|
375
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
397
376
|
* @param vaultName The name of the vault.
|
|
398
377
|
* @param options The options parameters.
|
|
399
378
|
*/
|
|
400
|
-
|
|
401
|
-
return this.client.sendOperationRequest({ vaultName, options },
|
|
379
|
+
delete(resourceGroupName, vaultName, options) {
|
|
380
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, deleteOperationSpec);
|
|
402
381
|
}
|
|
403
382
|
/**
|
|
404
|
-
*
|
|
405
|
-
* @param resourceGroupName The name of the
|
|
406
|
-
* @param
|
|
383
|
+
* Update access policies in a key vault in the specified subscription.
|
|
384
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
385
|
+
* @param vaultName Name of the vault
|
|
386
|
+
* @param operationKind Name of the operation
|
|
387
|
+
* @param parameters Access policy to merge into the vault
|
|
407
388
|
* @param options The options parameters.
|
|
408
389
|
*/
|
|
409
|
-
|
|
410
|
-
return this.client.sendOperationRequest({ resourceGroupName,
|
|
390
|
+
updateAccessPolicy(resourceGroupName, vaultName, operationKind, parameters, options) {
|
|
391
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, operationKind, parameters, options }, updateAccessPolicyOperationSpec);
|
|
411
392
|
}
|
|
412
393
|
/**
|
|
413
|
-
*
|
|
414
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
394
|
+
* The List operation gets information about the vaults associated with the subscription.
|
|
415
395
|
* @param options The options parameters.
|
|
416
396
|
*/
|
|
417
|
-
|
|
418
|
-
return this.client.sendOperationRequest({
|
|
397
|
+
_list(options) {
|
|
398
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
419
399
|
}
|
|
420
400
|
/**
|
|
421
401
|
* ListDeletedNext
|
|
@@ -425,6 +405,23 @@ export class VaultsImpl {
|
|
|
425
405
|
_listDeletedNext(nextLink, options) {
|
|
426
406
|
return this.client.sendOperationRequest({ nextLink, options }, listDeletedNextOperationSpec);
|
|
427
407
|
}
|
|
408
|
+
/**
|
|
409
|
+
* ListBySubscriptionNext
|
|
410
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
411
|
+
* @param options The options parameters.
|
|
412
|
+
*/
|
|
413
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
414
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* ListByResourceGroupNext
|
|
418
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
419
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
420
|
+
* @param options The options parameters.
|
|
421
|
+
*/
|
|
422
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
423
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
424
|
+
}
|
|
428
425
|
/**
|
|
429
426
|
* ListNext
|
|
430
427
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
@@ -436,70 +433,47 @@ export class VaultsImpl {
|
|
|
436
433
|
}
|
|
437
434
|
// Operation Specifications
|
|
438
435
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
439
|
-
const
|
|
440
|
-
path: "/subscriptions/{subscriptionId}/
|
|
441
|
-
httpMethod: "
|
|
436
|
+
const checkNameAvailabilityOperationSpec = {
|
|
437
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkNameAvailability",
|
|
438
|
+
httpMethod: "POST",
|
|
442
439
|
responses: {
|
|
443
440
|
200: {
|
|
444
|
-
bodyMapper: Mappers.
|
|
445
|
-
},
|
|
446
|
-
201: {
|
|
447
|
-
bodyMapper: Mappers.Vault,
|
|
448
|
-
},
|
|
449
|
-
202: {
|
|
450
|
-
bodyMapper: Mappers.Vault,
|
|
451
|
-
},
|
|
452
|
-
204: {
|
|
453
|
-
bodyMapper: Mappers.Vault,
|
|
441
|
+
bodyMapper: Mappers.CheckNameAvailabilityResult,
|
|
454
442
|
},
|
|
455
443
|
default: {
|
|
456
444
|
bodyMapper: Mappers.CloudError,
|
|
457
445
|
},
|
|
458
446
|
},
|
|
459
|
-
requestBody: Parameters.
|
|
447
|
+
requestBody: Parameters.vaultName,
|
|
460
448
|
queryParameters: [Parameters.apiVersion],
|
|
461
|
-
urlParameters: [
|
|
462
|
-
|
|
463
|
-
Parameters.subscriptionId,
|
|
464
|
-
Parameters.resourceGroupName,
|
|
465
|
-
Parameters.vaultName,
|
|
466
|
-
],
|
|
467
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
449
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
450
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
468
451
|
mediaType: "json",
|
|
469
452
|
serializer,
|
|
470
453
|
};
|
|
471
|
-
const
|
|
472
|
-
path: "/subscriptions/{subscriptionId}/
|
|
473
|
-
httpMethod: "
|
|
454
|
+
const listDeletedOperationSpec = {
|
|
455
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedVaults",
|
|
456
|
+
httpMethod: "GET",
|
|
474
457
|
responses: {
|
|
475
458
|
200: {
|
|
476
|
-
bodyMapper: Mappers.
|
|
477
|
-
},
|
|
478
|
-
201: {
|
|
479
|
-
bodyMapper: Mappers.Vault,
|
|
459
|
+
bodyMapper: Mappers.DeletedVaultListResult,
|
|
480
460
|
},
|
|
481
461
|
default: {
|
|
482
462
|
bodyMapper: Mappers.CloudError,
|
|
483
463
|
},
|
|
484
464
|
},
|
|
485
|
-
requestBody: Parameters.parameters3,
|
|
486
465
|
queryParameters: [Parameters.apiVersion],
|
|
487
|
-
urlParameters: [
|
|
488
|
-
|
|
489
|
-
Parameters.subscriptionId,
|
|
490
|
-
Parameters.resourceGroupName,
|
|
491
|
-
Parameters.vaultName,
|
|
492
|
-
],
|
|
493
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
494
|
-
mediaType: "json",
|
|
466
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
467
|
+
headerParameters: [Parameters.accept],
|
|
495
468
|
serializer,
|
|
496
469
|
};
|
|
497
|
-
const
|
|
498
|
-
path: "/subscriptions/{subscriptionId}/
|
|
499
|
-
httpMethod: "
|
|
470
|
+
const getDeletedOperationSpec = {
|
|
471
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}",
|
|
472
|
+
httpMethod: "GET",
|
|
500
473
|
responses: {
|
|
501
|
-
200: {
|
|
502
|
-
|
|
474
|
+
200: {
|
|
475
|
+
bodyMapper: Mappers.DeletedVault,
|
|
476
|
+
},
|
|
503
477
|
default: {
|
|
504
478
|
bodyMapper: Mappers.CloudError,
|
|
505
479
|
},
|
|
@@ -508,19 +482,20 @@ const deleteOperationSpec = {
|
|
|
508
482
|
urlParameters: [
|
|
509
483
|
Parameters.$host,
|
|
510
484
|
Parameters.subscriptionId,
|
|
511
|
-
Parameters.
|
|
485
|
+
Parameters.location,
|
|
512
486
|
Parameters.vaultName1,
|
|
513
487
|
],
|
|
514
488
|
headerParameters: [Parameters.accept],
|
|
515
489
|
serializer,
|
|
516
490
|
};
|
|
517
|
-
const
|
|
518
|
-
path: "/subscriptions/{subscriptionId}/
|
|
519
|
-
httpMethod: "
|
|
491
|
+
const purgeDeletedOperationSpec = {
|
|
492
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}/purge",
|
|
493
|
+
httpMethod: "POST",
|
|
520
494
|
responses: {
|
|
521
|
-
200: {
|
|
522
|
-
|
|
523
|
-
},
|
|
495
|
+
200: {},
|
|
496
|
+
201: {},
|
|
497
|
+
202: {},
|
|
498
|
+
204: {},
|
|
524
499
|
default: {
|
|
525
500
|
bodyMapper: Mappers.CloudError,
|
|
526
501
|
},
|
|
@@ -529,37 +504,26 @@ const getOperationSpec = {
|
|
|
529
504
|
urlParameters: [
|
|
530
505
|
Parameters.$host,
|
|
531
506
|
Parameters.subscriptionId,
|
|
532
|
-
Parameters.
|
|
507
|
+
Parameters.location,
|
|
533
508
|
Parameters.vaultName1,
|
|
534
509
|
],
|
|
535
510
|
headerParameters: [Parameters.accept],
|
|
536
511
|
serializer,
|
|
537
512
|
};
|
|
538
|
-
const
|
|
539
|
-
path: "/subscriptions/{subscriptionId}/
|
|
540
|
-
httpMethod: "
|
|
513
|
+
const listBySubscriptionOperationSpec = {
|
|
514
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/vaults",
|
|
515
|
+
httpMethod: "GET",
|
|
541
516
|
responses: {
|
|
542
517
|
200: {
|
|
543
|
-
bodyMapper: Mappers.
|
|
544
|
-
},
|
|
545
|
-
201: {
|
|
546
|
-
bodyMapper: Mappers.VaultAccessPolicyParameters,
|
|
518
|
+
bodyMapper: Mappers.VaultListResult,
|
|
547
519
|
},
|
|
548
520
|
default: {
|
|
549
521
|
bodyMapper: Mappers.CloudError,
|
|
550
522
|
},
|
|
551
523
|
},
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
Parameters.$host,
|
|
556
|
-
Parameters.subscriptionId,
|
|
557
|
-
Parameters.resourceGroupName,
|
|
558
|
-
Parameters.vaultName,
|
|
559
|
-
Parameters.operationKind,
|
|
560
|
-
],
|
|
561
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
562
|
-
mediaType: "json",
|
|
524
|
+
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
525
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
526
|
+
headerParameters: [Parameters.accept],
|
|
563
527
|
serializer,
|
|
564
528
|
};
|
|
565
529
|
const listByResourceGroupOperationSpec = {
|
|
@@ -574,74 +538,94 @@ const listByResourceGroupOperationSpec = {
|
|
|
574
538
|
},
|
|
575
539
|
},
|
|
576
540
|
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
577
|
-
urlParameters: [
|
|
578
|
-
Parameters.$host,
|
|
579
|
-
Parameters.subscriptionId,
|
|
580
|
-
Parameters.resourceGroupName,
|
|
581
|
-
],
|
|
541
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
|
|
582
542
|
headerParameters: [Parameters.accept],
|
|
583
543
|
serializer,
|
|
584
544
|
};
|
|
585
|
-
const
|
|
586
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/vaults",
|
|
545
|
+
const getOperationSpec = {
|
|
546
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
587
547
|
httpMethod: "GET",
|
|
588
548
|
responses: {
|
|
589
549
|
200: {
|
|
590
|
-
bodyMapper: Mappers.
|
|
550
|
+
bodyMapper: Mappers.Vault,
|
|
591
551
|
},
|
|
592
552
|
default: {
|
|
593
553
|
bodyMapper: Mappers.CloudError,
|
|
594
554
|
},
|
|
595
555
|
},
|
|
596
|
-
queryParameters: [Parameters.apiVersion
|
|
597
|
-
urlParameters: [
|
|
556
|
+
queryParameters: [Parameters.apiVersion],
|
|
557
|
+
urlParameters: [
|
|
558
|
+
Parameters.$host,
|
|
559
|
+
Parameters.subscriptionId,
|
|
560
|
+
Parameters.resourceGroupName,
|
|
561
|
+
Parameters.vaultName1,
|
|
562
|
+
],
|
|
598
563
|
headerParameters: [Parameters.accept],
|
|
599
564
|
serializer,
|
|
600
565
|
};
|
|
601
|
-
const
|
|
602
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/
|
|
603
|
-
httpMethod: "
|
|
566
|
+
const createOrUpdateOperationSpec = {
|
|
567
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
568
|
+
httpMethod: "PUT",
|
|
604
569
|
responses: {
|
|
605
570
|
200: {
|
|
606
|
-
bodyMapper: Mappers.
|
|
571
|
+
bodyMapper: Mappers.Vault,
|
|
572
|
+
},
|
|
573
|
+
201: {
|
|
574
|
+
bodyMapper: Mappers.Vault,
|
|
575
|
+
},
|
|
576
|
+
202: {
|
|
577
|
+
bodyMapper: Mappers.Vault,
|
|
578
|
+
},
|
|
579
|
+
204: {
|
|
580
|
+
bodyMapper: Mappers.Vault,
|
|
607
581
|
},
|
|
608
582
|
default: {
|
|
609
583
|
bodyMapper: Mappers.CloudError,
|
|
610
584
|
},
|
|
611
585
|
},
|
|
586
|
+
requestBody: Parameters.parameters1,
|
|
612
587
|
queryParameters: [Parameters.apiVersion],
|
|
613
|
-
urlParameters: [
|
|
614
|
-
|
|
588
|
+
urlParameters: [
|
|
589
|
+
Parameters.$host,
|
|
590
|
+
Parameters.subscriptionId,
|
|
591
|
+
Parameters.resourceGroupName,
|
|
592
|
+
Parameters.vaultName1,
|
|
593
|
+
],
|
|
594
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
595
|
+
mediaType: "json",
|
|
615
596
|
serializer,
|
|
616
597
|
};
|
|
617
|
-
const
|
|
618
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/
|
|
619
|
-
httpMethod: "
|
|
598
|
+
const updateOperationSpec = {
|
|
599
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
600
|
+
httpMethod: "PATCH",
|
|
620
601
|
responses: {
|
|
621
602
|
200: {
|
|
622
|
-
bodyMapper: Mappers.
|
|
603
|
+
bodyMapper: Mappers.Vault,
|
|
604
|
+
},
|
|
605
|
+
201: {
|
|
606
|
+
bodyMapper: Mappers.Vault,
|
|
623
607
|
},
|
|
624
608
|
default: {
|
|
625
609
|
bodyMapper: Mappers.CloudError,
|
|
626
610
|
},
|
|
627
611
|
},
|
|
612
|
+
requestBody: Parameters.parameters2,
|
|
628
613
|
queryParameters: [Parameters.apiVersion],
|
|
629
614
|
urlParameters: [
|
|
630
615
|
Parameters.$host,
|
|
631
616
|
Parameters.subscriptionId,
|
|
617
|
+
Parameters.resourceGroupName,
|
|
632
618
|
Parameters.vaultName1,
|
|
633
|
-
Parameters.location,
|
|
634
619
|
],
|
|
635
|
-
headerParameters: [Parameters.accept],
|
|
620
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
621
|
+
mediaType: "json",
|
|
636
622
|
serializer,
|
|
637
623
|
};
|
|
638
|
-
const
|
|
639
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/
|
|
640
|
-
httpMethod: "
|
|
624
|
+
const deleteOperationSpec = {
|
|
625
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
626
|
+
httpMethod: "DELETE",
|
|
641
627
|
responses: {
|
|
642
628
|
200: {},
|
|
643
|
-
201: {},
|
|
644
|
-
202: {},
|
|
645
629
|
204: {},
|
|
646
630
|
default: {
|
|
647
631
|
bodyMapper: Mappers.CloudError,
|
|
@@ -651,63 +635,67 @@ const purgeDeletedOperationSpec = {
|
|
|
651
635
|
urlParameters: [
|
|
652
636
|
Parameters.$host,
|
|
653
637
|
Parameters.subscriptionId,
|
|
638
|
+
Parameters.resourceGroupName,
|
|
654
639
|
Parameters.vaultName1,
|
|
655
|
-
Parameters.location,
|
|
656
640
|
],
|
|
657
641
|
headerParameters: [Parameters.accept],
|
|
658
642
|
serializer,
|
|
659
643
|
};
|
|
660
|
-
const
|
|
661
|
-
path: "/subscriptions/{subscriptionId}/
|
|
662
|
-
httpMethod: "
|
|
644
|
+
const updateAccessPolicyOperationSpec = {
|
|
645
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/accessPolicies/{operationKind}",
|
|
646
|
+
httpMethod: "PUT",
|
|
663
647
|
responses: {
|
|
664
648
|
200: {
|
|
665
|
-
bodyMapper: Mappers.
|
|
649
|
+
bodyMapper: Mappers.VaultAccessPolicyParameters,
|
|
650
|
+
},
|
|
651
|
+
201: {
|
|
652
|
+
bodyMapper: Mappers.VaultAccessPolicyParameters,
|
|
666
653
|
},
|
|
667
654
|
default: {
|
|
668
655
|
bodyMapper: Mappers.CloudError,
|
|
669
656
|
},
|
|
670
657
|
},
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
658
|
+
requestBody: Parameters.parameters3,
|
|
659
|
+
queryParameters: [Parameters.apiVersion],
|
|
660
|
+
urlParameters: [
|
|
661
|
+
Parameters.$host,
|
|
662
|
+
Parameters.subscriptionId,
|
|
663
|
+
Parameters.resourceGroupName,
|
|
664
|
+
Parameters.vaultName2,
|
|
665
|
+
Parameters.operationKind,
|
|
666
|
+
],
|
|
667
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
668
|
+
mediaType: "json",
|
|
674
669
|
serializer,
|
|
675
670
|
};
|
|
676
|
-
const
|
|
677
|
-
path: "/subscriptions/{subscriptionId}/
|
|
678
|
-
httpMethod: "
|
|
671
|
+
const listOperationSpec = {
|
|
672
|
+
path: "/subscriptions/{subscriptionId}/resources",
|
|
673
|
+
httpMethod: "GET",
|
|
679
674
|
responses: {
|
|
680
675
|
200: {
|
|
681
|
-
bodyMapper: Mappers.
|
|
676
|
+
bodyMapper: Mappers.ResourceListResult,
|
|
682
677
|
},
|
|
683
678
|
default: {
|
|
684
679
|
bodyMapper: Mappers.CloudError,
|
|
685
680
|
},
|
|
686
681
|
},
|
|
687
|
-
|
|
688
|
-
queryParameters: [Parameters.apiVersion],
|
|
682
|
+
queryParameters: [Parameters.top, Parameters.filter, Parameters.apiVersion1],
|
|
689
683
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
690
|
-
headerParameters: [Parameters.
|
|
691
|
-
mediaType: "json",
|
|
684
|
+
headerParameters: [Parameters.accept],
|
|
692
685
|
serializer,
|
|
693
686
|
};
|
|
694
|
-
const
|
|
687
|
+
const listDeletedNextOperationSpec = {
|
|
695
688
|
path: "{nextLink}",
|
|
696
689
|
httpMethod: "GET",
|
|
697
690
|
responses: {
|
|
698
691
|
200: {
|
|
699
|
-
bodyMapper: Mappers.
|
|
692
|
+
bodyMapper: Mappers.DeletedVaultListResult,
|
|
700
693
|
},
|
|
701
694
|
default: {
|
|
702
695
|
bodyMapper: Mappers.CloudError,
|
|
703
696
|
},
|
|
704
697
|
},
|
|
705
|
-
urlParameters: [
|
|
706
|
-
Parameters.$host,
|
|
707
|
-
Parameters.subscriptionId,
|
|
708
|
-
Parameters.resourceGroupName,
|
|
709
|
-
Parameters.nextLink,
|
|
710
|
-
],
|
|
698
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
|
|
711
699
|
headerParameters: [Parameters.accept],
|
|
712
700
|
serializer,
|
|
713
701
|
};
|
|
@@ -722,20 +710,16 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
722
710
|
bodyMapper: Mappers.CloudError,
|
|
723
711
|
},
|
|
724
712
|
},
|
|
725
|
-
urlParameters: [
|
|
726
|
-
Parameters.$host,
|
|
727
|
-
Parameters.subscriptionId,
|
|
728
|
-
Parameters.nextLink,
|
|
729
|
-
],
|
|
713
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
|
|
730
714
|
headerParameters: [Parameters.accept],
|
|
731
715
|
serializer,
|
|
732
716
|
};
|
|
733
|
-
const
|
|
717
|
+
const listByResourceGroupNextOperationSpec = {
|
|
734
718
|
path: "{nextLink}",
|
|
735
719
|
httpMethod: "GET",
|
|
736
720
|
responses: {
|
|
737
721
|
200: {
|
|
738
|
-
bodyMapper: Mappers.
|
|
722
|
+
bodyMapper: Mappers.VaultListResult,
|
|
739
723
|
},
|
|
740
724
|
default: {
|
|
741
725
|
bodyMapper: Mappers.CloudError,
|
|
@@ -743,8 +727,9 @@ const listDeletedNextOperationSpec = {
|
|
|
743
727
|
},
|
|
744
728
|
urlParameters: [
|
|
745
729
|
Parameters.$host,
|
|
746
|
-
Parameters.subscriptionId,
|
|
747
730
|
Parameters.nextLink,
|
|
731
|
+
Parameters.subscriptionId,
|
|
732
|
+
Parameters.resourceGroupName,
|
|
748
733
|
],
|
|
749
734
|
headerParameters: [Parameters.accept],
|
|
750
735
|
serializer,
|
|
@@ -760,11 +745,7 @@ const listNextOperationSpec = {
|
|
|
760
745
|
bodyMapper: Mappers.CloudError,
|
|
761
746
|
},
|
|
762
747
|
},
|
|
763
|
-
urlParameters: [
|
|
764
|
-
Parameters.$host,
|
|
765
|
-
Parameters.subscriptionId,
|
|
766
|
-
Parameters.nextLink,
|
|
767
|
-
],
|
|
748
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
|
|
768
749
|
headerParameters: [Parameters.accept],
|
|
769
750
|
serializer,
|
|
770
751
|
};
|