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