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