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