@azure/arm-keyvault 3.2.0 → 4.0.0-alpha.20251125.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +58 -67
- 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.PrivateLinkResourcesImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -14,6 +9,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
9
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
10
|
/** Class containing PrivateLinkResources operations. */
|
|
16
11
|
class PrivateLinkResourcesImpl {
|
|
12
|
+
client;
|
|
17
13
|
/**
|
|
18
14
|
* Initialize a new instance of the class PrivateLinkResources class.
|
|
19
15
|
* @param client Reference to the service client
|
|
@@ -23,8 +19,8 @@ class PrivateLinkResourcesImpl {
|
|
|
23
19
|
}
|
|
24
20
|
/**
|
|
25
21
|
* Gets the private link resources supported for the key vault.
|
|
26
|
-
* @param resourceGroupName
|
|
27
|
-
* @param vaultName The name of the
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param vaultName The name of the vault.
|
|
28
24
|
* @param options The options parameters.
|
|
29
25
|
*/
|
|
30
26
|
listByVault(resourceGroupName, vaultName, options) {
|
|
@@ -50,7 +46,7 @@ const listByVaultOperationSpec = {
|
|
|
50
46
|
Parameters.$host,
|
|
51
47
|
Parameters.subscriptionId,
|
|
52
48
|
Parameters.resourceGroupName,
|
|
53
|
-
Parameters.
|
|
49
|
+
Parameters.vaultName1,
|
|
54
50
|
],
|
|
55
51
|
headerParameters: [Parameters.accept],
|
|
56
52
|
serializer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,wDAAwD;AACxD,MAAa,wBAAwB;IAClB,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,WAAW,CACT,iBAAyB,EACzB,SAAiB,EACjB,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,SAAS,EAAE,OAAO,EAAE,EACzC,wBAAwB,CACzB,CAAC;IACJ,CAAC;CACF;AA3BD,4DA2BC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,wBAAwB,GAA6B;IACzD,IAAI,EAAE,yIAAyI;IAC/I,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PrivateLinkResources } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport type {\n PrivateLinkResourcesListByVaultOptionalParams,\n PrivateLinkResourcesListByVaultResponse,\n} from \"../models/index.js\";\n\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link resources supported for the key vault.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param options The options parameters.\n */\n listByVault(\n resourceGroupName: string,\n vaultName: string,\n options?: PrivateLinkResourcesListByVaultOptionalParams,\n ): Promise<PrivateLinkResourcesListByVaultResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, options },\n listByVaultOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByVaultOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Secrets } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
|
|
4
|
-
import { Secret, SecretsListOptionalParams, SecretCreateOrUpdateParameters, SecretsCreateOrUpdateOptionalParams, SecretsCreateOrUpdateResponse, SecretPatchParameters, SecretsUpdateOptionalParams, SecretsUpdateResponse
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { Secrets } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { KeyVaultManagementClient } from "../keyVaultManagementClient.js";
|
|
4
|
+
import type { Secret, SecretsListOptionalParams, SecretsGetOptionalParams, SecretsGetResponse, SecretCreateOrUpdateParameters, SecretsCreateOrUpdateOptionalParams, SecretsCreateOrUpdateResponse, SecretPatchParameters, SecretsUpdateOptionalParams, SecretsUpdateResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing Secrets operations. */
|
|
6
6
|
export declare class SecretsImpl implements Secrets {
|
|
7
7
|
private readonly client;
|
|
@@ -14,7 +14,7 @@ export declare class SecretsImpl implements Secrets {
|
|
|
14
14
|
* The List operation gets information about the secrets in a vault. NOTE: This API is intended for
|
|
15
15
|
* internal use in ARM deployments. Users should use the data-plane REST service for interaction with
|
|
16
16
|
* vault secrets.
|
|
17
|
-
* @param resourceGroupName The name of the
|
|
17
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
18
18
|
* @param vaultName The name of the vault.
|
|
19
19
|
* @param options The options parameters.
|
|
20
20
|
*/
|
|
@@ -22,49 +22,47 @@ export declare class SecretsImpl implements Secrets {
|
|
|
22
22
|
private listPagingPage;
|
|
23
23
|
private listPagingAll;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* @param resourceGroupName The name of the
|
|
29
|
-
* @param vaultName
|
|
30
|
-
* @param secretName Name of the secret. The value you provide may be copied globally for the purpose
|
|
31
|
-
* of running the service. The value provided should not include personally identifiable or sensitive
|
|
32
|
-
* information.
|
|
33
|
-
* @param parameters Parameters to create or update the secret
|
|
34
|
-
* @param options The options parameters.
|
|
35
|
-
*/
|
|
36
|
-
createOrUpdate(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretCreateOrUpdateParameters, options?: SecretsCreateOrUpdateOptionalParams): Promise<SecretsCreateOrUpdateResponse>;
|
|
37
|
-
/**
|
|
38
|
-
* Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM
|
|
39
|
-
* deployments. Users should use the data-plane REST service for interaction with vault secrets.
|
|
40
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
41
|
-
* @param vaultName Name of the vault
|
|
42
|
-
* @param secretName Name of the secret
|
|
43
|
-
* @param parameters Parameters to patch the secret
|
|
25
|
+
* The List operation gets information about the secrets in a vault. NOTE: This API is intended for
|
|
26
|
+
* internal use in ARM deployments. Users should use the data-plane REST service for interaction with
|
|
27
|
+
* vault secrets.
|
|
28
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
29
|
+
* @param vaultName The name of the vault.
|
|
44
30
|
* @param options The options parameters.
|
|
45
31
|
*/
|
|
46
|
-
|
|
32
|
+
private _list;
|
|
47
33
|
/**
|
|
48
34
|
* Gets the specified secret. NOTE: This API is intended for internal use in ARM deployments. Users
|
|
49
35
|
* should use the data-plane REST service for interaction with vault secrets.
|
|
50
|
-
* @param resourceGroupName The name of the
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
37
|
* @param vaultName The name of the vault.
|
|
52
38
|
* @param secretName The name of the secret.
|
|
53
39
|
* @param options The options parameters.
|
|
54
40
|
*/
|
|
55
41
|
get(resourceGroupName: string, vaultName: string, secretName: string, options?: SecretsGetOptionalParams): Promise<SecretsGetResponse>;
|
|
56
42
|
/**
|
|
57
|
-
*
|
|
58
|
-
* internal use in ARM deployments. Users should use the data-plane REST service for interaction
|
|
59
|
-
* vault secrets.
|
|
60
|
-
* @param resourceGroupName The name of the
|
|
43
|
+
* Create or update a secret in a key vault in the specified subscription. NOTE: This API is intended
|
|
44
|
+
* for internal use in ARM deployments. Users should use the data-plane REST service for interaction
|
|
45
|
+
* with vault secrets.
|
|
46
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
61
47
|
* @param vaultName The name of the vault.
|
|
48
|
+
* @param secretName The name of the secret.
|
|
49
|
+
* @param parameters Parameters to create or update the secret
|
|
62
50
|
* @param options The options parameters.
|
|
63
51
|
*/
|
|
64
|
-
|
|
52
|
+
createOrUpdate(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretCreateOrUpdateParameters, options?: SecretsCreateOrUpdateOptionalParams): Promise<SecretsCreateOrUpdateResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM
|
|
55
|
+
* deployments. Users should use the data-plane REST service for interaction with vault secrets.
|
|
56
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
57
|
+
* @param vaultName The name of the vault.
|
|
58
|
+
* @param secretName The name of the secret.
|
|
59
|
+
* @param parameters Parameters to patch the secret
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
update(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretPatchParameters, options?: SecretsUpdateOptionalParams): Promise<SecretsUpdateResponse>;
|
|
65
63
|
/**
|
|
66
64
|
* ListNext
|
|
67
|
-
* @param resourceGroupName The name of the
|
|
65
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
68
66
|
* @param vaultName The name of the vault.
|
|
69
67
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
70
68
|
* @param options The options parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../../src/operations/secrets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"secrets.d.ts","sourceRoot":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AAM,EAClB,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAOjC;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -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.SecretsImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -16,6 +11,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
16
11
|
/// <reference lib="esnext.asynciterable" />
|
|
17
12
|
/** Class containing Secrets operations. */
|
|
18
13
|
class SecretsImpl {
|
|
14
|
+
client;
|
|
19
15
|
/**
|
|
20
16
|
* Initialize a new instance of the class Secrets class.
|
|
21
17
|
* @param client Reference to the service client
|
|
@@ -27,7 +23,7 @@ class SecretsImpl {
|
|
|
27
23
|
* The List operation gets information about the secrets in a vault. NOTE: This API is intended for
|
|
28
24
|
* internal use in ARM deployments. Users should use the data-plane REST service for interaction with
|
|
29
25
|
* vault secrets.
|
|
30
|
-
* @param resourceGroupName The name of the
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
27
|
* @param vaultName The name of the vault.
|
|
32
28
|
* @param options The options parameters.
|
|
33
29
|
*/
|
|
@@ -41,84 +37,51 @@ class SecretsImpl {
|
|
|
41
37
|
return this;
|
|
42
38
|
},
|
|
43
39
|
byPage: (settings) => {
|
|
44
|
-
if (settings
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
45
41
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
42
|
}
|
|
47
43
|
return this.listPagingPage(resourceGroupName, vaultName, options, settings);
|
|
48
44
|
},
|
|
49
45
|
};
|
|
50
46
|
}
|
|
51
|
-
listPagingPage(resourceGroupName, vaultName, options, settings) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
});
|
|
47
|
+
async *listPagingPage(resourceGroupName, vaultName, options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._list(resourceGroupName, vaultName, options);
|
|
52
|
+
const page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._listNext(resourceGroupName, vaultName, continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
const page = result.value || [];
|
|
61
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
70
64
|
}
|
|
71
|
-
listPagingAll(resourceGroupName, vaultName, options) {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, vaultName, 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
|
-
});
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Create or update a secret in a key vault in the specified subscription. NOTE: This API is intended
|
|
93
|
-
* for internal use in ARM deployments. Users should use the data-plane REST service for interaction
|
|
94
|
-
* with vault secrets.
|
|
95
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
96
|
-
* @param vaultName Name of the vault
|
|
97
|
-
* @param secretName Name of the secret. The value you provide may be copied globally for the purpose
|
|
98
|
-
* of running the service. The value provided should not include personally identifiable or sensitive
|
|
99
|
-
* information.
|
|
100
|
-
* @param parameters Parameters to create or update the secret
|
|
101
|
-
* @param options The options parameters.
|
|
102
|
-
*/
|
|
103
|
-
createOrUpdate(resourceGroupName, vaultName, secretName, parameters, options) {
|
|
104
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, secretName, parameters, options }, createOrUpdateOperationSpec);
|
|
65
|
+
async *listPagingAll(resourceGroupName, vaultName, options) {
|
|
66
|
+
for await (const page of this.listPagingPage(resourceGroupName, vaultName, options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
105
69
|
}
|
|
106
70
|
/**
|
|
107
|
-
*
|
|
108
|
-
* deployments.
|
|
109
|
-
*
|
|
110
|
-
* @param
|
|
111
|
-
* @param
|
|
112
|
-
* @param parameters Parameters to patch the secret
|
|
71
|
+
* The List operation gets information about the secrets in a vault. NOTE: This API is intended for
|
|
72
|
+
* internal use in ARM deployments. Users should use the data-plane REST service for interaction with
|
|
73
|
+
* vault secrets.
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param vaultName The name of the vault.
|
|
113
76
|
* @param options The options parameters.
|
|
114
77
|
*/
|
|
115
|
-
|
|
116
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName,
|
|
78
|
+
_list(resourceGroupName, vaultName, options) {
|
|
79
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, listOperationSpec);
|
|
117
80
|
}
|
|
118
81
|
/**
|
|
119
82
|
* Gets the specified secret. NOTE: This API is intended for internal use in ARM deployments. Users
|
|
120
83
|
* should use the data-plane REST service for interaction with vault secrets.
|
|
121
|
-
* @param resourceGroupName The name of the
|
|
84
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
122
85
|
* @param vaultName The name of the vault.
|
|
123
86
|
* @param secretName The name of the secret.
|
|
124
87
|
* @param options The options parameters.
|
|
@@ -127,19 +90,33 @@ class SecretsImpl {
|
|
|
127
90
|
return this.client.sendOperationRequest({ resourceGroupName, vaultName, secretName, options }, getOperationSpec);
|
|
128
91
|
}
|
|
129
92
|
/**
|
|
130
|
-
*
|
|
131
|
-
* internal use in ARM deployments. Users should use the data-plane REST service for interaction
|
|
132
|
-
* vault secrets.
|
|
133
|
-
* @param resourceGroupName The name of the
|
|
93
|
+
* Create or update a secret in a key vault in the specified subscription. NOTE: This API is intended
|
|
94
|
+
* for internal use in ARM deployments. Users should use the data-plane REST service for interaction
|
|
95
|
+
* with vault secrets.
|
|
96
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
134
97
|
* @param vaultName The name of the vault.
|
|
98
|
+
* @param secretName The name of the secret.
|
|
99
|
+
* @param parameters Parameters to create or update the secret
|
|
135
100
|
* @param options The options parameters.
|
|
136
101
|
*/
|
|
137
|
-
|
|
138
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options },
|
|
102
|
+
createOrUpdate(resourceGroupName, vaultName, secretName, parameters, options) {
|
|
103
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, secretName, parameters, options }, createOrUpdateOperationSpec);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM
|
|
107
|
+
* deployments. Users should use the data-plane REST service for interaction with vault secrets.
|
|
108
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
|
+
* @param vaultName The name of the vault.
|
|
110
|
+
* @param secretName The name of the secret.
|
|
111
|
+
* @param parameters Parameters to patch the secret
|
|
112
|
+
* @param options The options parameters.
|
|
113
|
+
*/
|
|
114
|
+
update(resourceGroupName, vaultName, secretName, parameters, options) {
|
|
115
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, secretName, parameters, options }, updateOperationSpec);
|
|
139
116
|
}
|
|
140
117
|
/**
|
|
141
118
|
* ListNext
|
|
142
|
-
* @param resourceGroupName The name of the
|
|
119
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
143
120
|
* @param vaultName The name of the vault.
|
|
144
121
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
145
122
|
* @param options The options parameters.
|
|
@@ -151,101 +128,101 @@ class SecretsImpl {
|
|
|
151
128
|
exports.SecretsImpl = SecretsImpl;
|
|
152
129
|
// Operation Specifications
|
|
153
130
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
154
|
-
const
|
|
155
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets
|
|
156
|
-
httpMethod: "
|
|
131
|
+
const listOperationSpec = {
|
|
132
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets",
|
|
133
|
+
httpMethod: "GET",
|
|
157
134
|
responses: {
|
|
158
135
|
200: {
|
|
159
|
-
bodyMapper: Mappers.
|
|
160
|
-
},
|
|
161
|
-
201: {
|
|
162
|
-
bodyMapper: Mappers.Secret,
|
|
136
|
+
bodyMapper: Mappers.SecretListResult,
|
|
163
137
|
},
|
|
164
138
|
default: {
|
|
165
139
|
bodyMapper: Mappers.CloudError,
|
|
166
140
|
},
|
|
167
141
|
},
|
|
168
|
-
|
|
169
|
-
queryParameters: [Parameters.apiVersion],
|
|
142
|
+
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
170
143
|
urlParameters: [
|
|
171
144
|
Parameters.$host,
|
|
172
145
|
Parameters.subscriptionId,
|
|
173
146
|
Parameters.resourceGroupName,
|
|
174
|
-
Parameters.
|
|
175
|
-
Parameters.secretName,
|
|
147
|
+
Parameters.vaultName1,
|
|
176
148
|
],
|
|
177
|
-
headerParameters: [Parameters.
|
|
178
|
-
mediaType: "json",
|
|
149
|
+
headerParameters: [Parameters.accept],
|
|
179
150
|
serializer,
|
|
180
151
|
};
|
|
181
|
-
const
|
|
152
|
+
const getOperationSpec = {
|
|
182
153
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}",
|
|
183
|
-
httpMethod: "
|
|
154
|
+
httpMethod: "GET",
|
|
184
155
|
responses: {
|
|
185
156
|
200: {
|
|
186
157
|
bodyMapper: Mappers.Secret,
|
|
187
158
|
},
|
|
188
|
-
201: {
|
|
189
|
-
bodyMapper: Mappers.Secret,
|
|
190
|
-
},
|
|
191
159
|
default: {
|
|
192
160
|
bodyMapper: Mappers.CloudError,
|
|
193
161
|
},
|
|
194
162
|
},
|
|
195
|
-
requestBody: Parameters.parameters7,
|
|
196
163
|
queryParameters: [Parameters.apiVersion],
|
|
197
164
|
urlParameters: [
|
|
198
165
|
Parameters.$host,
|
|
199
166
|
Parameters.subscriptionId,
|
|
200
167
|
Parameters.resourceGroupName,
|
|
201
|
-
Parameters.
|
|
168
|
+
Parameters.vaultName1,
|
|
202
169
|
Parameters.secretName,
|
|
203
170
|
],
|
|
204
|
-
headerParameters: [Parameters.
|
|
205
|
-
mediaType: "json",
|
|
171
|
+
headerParameters: [Parameters.accept],
|
|
206
172
|
serializer,
|
|
207
173
|
};
|
|
208
|
-
const
|
|
174
|
+
const createOrUpdateOperationSpec = {
|
|
209
175
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}",
|
|
210
|
-
httpMethod: "
|
|
176
|
+
httpMethod: "PUT",
|
|
211
177
|
responses: {
|
|
212
178
|
200: {
|
|
213
179
|
bodyMapper: Mappers.Secret,
|
|
214
180
|
},
|
|
181
|
+
201: {
|
|
182
|
+
bodyMapper: Mappers.Secret,
|
|
183
|
+
},
|
|
215
184
|
default: {
|
|
216
185
|
bodyMapper: Mappers.CloudError,
|
|
217
186
|
},
|
|
218
187
|
},
|
|
188
|
+
requestBody: Parameters.parameters6,
|
|
219
189
|
queryParameters: [Parameters.apiVersion],
|
|
220
190
|
urlParameters: [
|
|
221
191
|
Parameters.$host,
|
|
222
192
|
Parameters.subscriptionId,
|
|
223
193
|
Parameters.resourceGroupName,
|
|
224
194
|
Parameters.vaultName1,
|
|
225
|
-
Parameters.
|
|
195
|
+
Parameters.secretName,
|
|
226
196
|
],
|
|
227
|
-
headerParameters: [Parameters.accept],
|
|
197
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
198
|
+
mediaType: "json",
|
|
228
199
|
serializer,
|
|
229
200
|
};
|
|
230
|
-
const
|
|
231
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets",
|
|
232
|
-
httpMethod: "
|
|
201
|
+
const updateOperationSpec = {
|
|
202
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}",
|
|
203
|
+
httpMethod: "PATCH",
|
|
233
204
|
responses: {
|
|
234
205
|
200: {
|
|
235
|
-
bodyMapper: Mappers.
|
|
206
|
+
bodyMapper: Mappers.Secret,
|
|
207
|
+
},
|
|
208
|
+
201: {
|
|
209
|
+
bodyMapper: Mappers.Secret,
|
|
236
210
|
},
|
|
237
211
|
default: {
|
|
238
212
|
bodyMapper: Mappers.CloudError,
|
|
239
213
|
},
|
|
240
214
|
},
|
|
241
|
-
|
|
215
|
+
requestBody: Parameters.parameters7,
|
|
216
|
+
queryParameters: [Parameters.apiVersion],
|
|
242
217
|
urlParameters: [
|
|
243
218
|
Parameters.$host,
|
|
244
219
|
Parameters.subscriptionId,
|
|
245
220
|
Parameters.resourceGroupName,
|
|
246
221
|
Parameters.vaultName1,
|
|
222
|
+
Parameters.secretName,
|
|
247
223
|
],
|
|
248
|
-
headerParameters: [Parameters.accept],
|
|
224
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
225
|
+
mediaType: "json",
|
|
249
226
|
serializer,
|
|
250
227
|
};
|
|
251
228
|
const listNextOperationSpec = {
|
|
@@ -261,9 +238,9 @@ const listNextOperationSpec = {
|
|
|
261
238
|
},
|
|
262
239
|
urlParameters: [
|
|
263
240
|
Parameters.$host,
|
|
241
|
+
Parameters.nextLink,
|
|
264
242
|
Parameters.subscriptionId,
|
|
265
243
|
Parameters.resourceGroupName,
|
|
266
|
-
Parameters.nextLink,
|
|
267
244
|
Parameters.vaultName1,
|
|
268
245
|
],
|
|
269
246
|
headerParameters: [Parameters.accept],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../../src/operations/secrets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkBtD,4CAA4C;AAC5C,2CAA2C;AAC3C,MAAa,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,iBAAyB,EACzB,SAAiB,EACjB,OAAmC;QAEnC,MAAM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IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC;IACxD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Secrets } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport {\n Secret,\n SecretsListNextOptionalParams,\n SecretsListOptionalParams,\n SecretsListResponse,\n SecretCreateOrUpdateParameters,\n SecretsCreateOrUpdateOptionalParams,\n SecretsCreateOrUpdateResponse,\n SecretPatchParameters,\n SecretsUpdateOptionalParams,\n SecretsUpdateResponse,\n SecretsGetOptionalParams,\n SecretsGetResponse,\n SecretsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Secrets operations. */\nexport class SecretsImpl implements Secrets {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class Secrets class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * The List operation gets information about the secrets in a vault. NOTE: This API is intended for\n * internal use in ARM deployments. Users should use the data-plane REST service for interaction with\n * vault secrets.\n * @param resourceGroupName The name of the Resource Group to which the vault belongs.\n * @param vaultName The name of the vault.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n vaultName: string,\n options?: SecretsListOptionalParams,\n ): PagedAsyncIterableIterator<Secret> {\n const iter = this.listPagingAll(resourceGroupName, vaultName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n vaultName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n vaultName: string,\n options?: SecretsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Secret[]> {\n let result: SecretsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, vaultName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n vaultName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n vaultName: string,\n options?: SecretsListOptionalParams,\n ): AsyncIterableIterator<Secret> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n vaultName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Create or update a secret in a key vault in the specified subscription. NOTE: This API is intended\n * for internal use in ARM deployments. Users should use the data-plane REST service for interaction\n * with vault secrets.\n * @param resourceGroupName The name of the Resource Group to which the vault belongs.\n * @param vaultName Name of the vault\n * @param secretName Name of the secret. The value you provide may be copied globally for the purpose\n * of running the service. The value provided should not include personally identifiable or sensitive\n * information.\n * @param parameters Parameters to create or update the secret\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n vaultName: string,\n secretName: string,\n parameters: SecretCreateOrUpdateParameters,\n options?: SecretsCreateOrUpdateOptionalParams,\n ): Promise<SecretsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, secretName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM\n * deployments. Users should use the data-plane REST service for interaction with vault secrets.\n * @param resourceGroupName The name of the Resource Group to which the vault belongs.\n * @param vaultName Name of the vault\n * @param secretName Name of the secret\n * @param parameters Parameters to patch the secret\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n vaultName: string,\n secretName: string,\n parameters: SecretPatchParameters,\n options?: SecretsUpdateOptionalParams,\n ): Promise<SecretsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, secretName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Gets the specified secret. NOTE: This API is intended for internal use in ARM deployments. Users\n * should use the data-plane REST service for interaction with vault secrets.\n * @param resourceGroupName The name of the Resource Group to which the vault belongs.\n * @param vaultName The name of the vault.\n * @param secretName The name of the secret.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vaultName: string,\n secretName: string,\n options?: SecretsGetOptionalParams,\n ): Promise<SecretsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, secretName, options },\n getOperationSpec,\n );\n }\n\n /**\n * The List operation gets information about the secrets in a vault. NOTE: This API is intended for\n * internal use in ARM deployments. Users should use the data-plane REST service for interaction with\n * vault secrets.\n * @param resourceGroupName The name of the Resource Group to which the vault belongs.\n * @param vaultName The name of the vault.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n vaultName: string,\n options?: SecretsListOptionalParams,\n ): Promise<SecretsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the Resource Group to which the vault belongs.\n * @param vaultName The name of the vault.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n vaultName: string,\n nextLink: string,\n options?: SecretsListNextOptionalParams,\n ): Promise<SecretsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Secret,\n },\n 201: {\n bodyMapper: Mappers.Secret,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.secretName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Secret,\n },\n 201: {\n bodyMapper: Mappers.Secret,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName,\n Parameters.secretName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Secret,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n Parameters.secretName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.vaultName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../../src/operations/secrets.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkBtD,4CAA4C;AAC5C,2CAA2C;AAC3C,MAAa,WAAW;IACL,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,iBAAyB,EACzB,SAAiB,EACjB,OAAmC;QAEnC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;QACvE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC9E,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,iBAAyB,EACzB,SAAiB,EACjB,OAAmC,EACnC,QAAuB;QAEvB,IAAI,MAA2B,CAAC;QAChC,IA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AAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Secrets } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { KeyVaultManagementClient } from \"../keyVaultManagementClient.js\";\nimport type {\n Secret,\n SecretsListNextOptionalParams,\n SecretsListOptionalParams,\n SecretsListResponse,\n SecretsGetOptionalParams,\n SecretsGetResponse,\n SecretCreateOrUpdateParameters,\n SecretsCreateOrUpdateOptionalParams,\n SecretsCreateOrUpdateResponse,\n SecretPatchParameters,\n SecretsUpdateOptionalParams,\n SecretsUpdateResponse,\n SecretsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Secrets operations. */\nexport class SecretsImpl implements Secrets {\n private readonly client: KeyVaultManagementClient;\n\n /**\n * Initialize a new instance of the class Secrets class.\n * @param client Reference to the service client\n */\n constructor(client: KeyVaultManagementClient) {\n this.client = client;\n }\n\n /**\n * The List operation gets information about the secrets in a vault. NOTE: This API is intended for\n * internal use in ARM deployments. Users should use the data-plane REST service for interaction with\n * vault secrets.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n vaultName: string,\n options?: SecretsListOptionalParams,\n ): PagedAsyncIterableIterator<Secret> {\n const iter = this.listPagingAll(resourceGroupName, vaultName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, vaultName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n vaultName: string,\n options?: SecretsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Secret[]> {\n let result: SecretsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, vaultName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, vaultName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n vaultName: string,\n options?: SecretsListOptionalParams,\n ): AsyncIterableIterator<Secret> {\n for await (const page of this.listPagingPage(resourceGroupName, vaultName, options)) {\n yield* page;\n }\n }\n\n /**\n * The List operation gets information about the secrets in a vault. NOTE: This API is intended for\n * internal use in ARM deployments. Users should use the data-plane REST service for interaction with\n * vault secrets.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n vaultName: string,\n options?: SecretsListOptionalParams,\n ): Promise<SecretsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified secret. NOTE: This API is intended for internal use in ARM deployments. Users\n * should use the data-plane REST service for interaction with vault secrets.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param secretName The name of the secret.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vaultName: string,\n secretName: string,\n options?: SecretsGetOptionalParams,\n ): Promise<SecretsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, secretName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update a secret in a key vault in the specified subscription. NOTE: This API is intended\n * for internal use in ARM deployments. Users should use the data-plane REST service for interaction\n * with vault secrets.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param secretName The name of the secret.\n * @param parameters Parameters to create or update the secret\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n vaultName: string,\n secretName: string,\n parameters: SecretCreateOrUpdateParameters,\n options?: SecretsCreateOrUpdateOptionalParams,\n ): Promise<SecretsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, secretName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM\n * deployments. Users should use the data-plane REST service for interaction with vault secrets.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param secretName The name of the secret.\n * @param parameters Parameters to patch the secret\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n vaultName: string,\n secretName: string,\n parameters: SecretPatchParameters,\n options?: SecretsUpdateOptionalParams,\n ): Promise<SecretsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, secretName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param vaultName The name of the vault.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n vaultName: string,\n nextLink: string,\n options?: SecretsListNextOptionalParams,\n ): Promise<SecretsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Secret,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n Parameters.secretName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Secret,\n },\n 201: {\n bodyMapper: Mappers.Secret,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n Parameters.secretName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Secret,\n },\n 201: {\n bodyMapper: Mappers.Secret,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n Parameters.secretName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecretListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.vaultName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|