@azure/arm-keyvault-profile-2020-09-01-hybrid 2.1.1-alpha.20250207.1 → 2.1.1-alpha.20250211.2
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 +21 -14
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/keyVaultManagementClient.d.ts +2 -2
- package/dist/browser/keyVaultManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/keyVaultManagementClient.js +15 -18
- package/dist/browser/keyVaultManagementClient.js.map +1 -0
- package/dist/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +5 -5
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +35 -40
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/secrets.d.ts +3 -3
- package/dist/browser/operations/secrets.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/secrets.js +3 -3
- package/dist/browser/operations/secrets.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/vaults.d.ts +3 -3
- package/dist/browser/operations/vaults.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/vaults.js +69 -77
- package/dist/browser/operations/vaults.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +5 -5
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/secrets.d.ts +1 -1
- package/dist/browser/operationsInterfaces/secrets.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/secrets.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/vaults.d.ts +1 -1
- package/dist/browser/operationsInterfaces/vaults.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/vaults.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/keyVaultManagementClient.d.ts +25 -0
- package/dist/commonjs/keyVaultManagementClient.d.ts.map +1 -0
- package/dist/commonjs/keyVaultManagementClient.js +107 -0
- package/dist/commonjs/keyVaultManagementClient.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-keyvault-profile-2020-09-01-hybrid.d.ts → dist/commonjs/models/index.d.ts} +1076 -1439
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +201 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +48 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1552 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +26 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +223 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +6 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +16 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +51 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +189 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +20 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +58 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/secrets.d.ts +72 -0
- package/dist/commonjs/operations/secrets.d.ts.map +1 -0
- package/dist/commonjs/operations/secrets.js +264 -0
- package/dist/commonjs/operations/secrets.js.map +1 -0
- package/dist/commonjs/operations/vaults.d.ts +166 -0
- package/dist/commonjs/operations/vaults.d.ts.map +1 -0
- package/dist/commonjs/operations/vaults.js +865 -0
- package/dist/commonjs/operations/vaults.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +16 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +43 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/secrets.d.ts +45 -0
- package/dist/commonjs/operationsInterfaces/secrets.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/secrets.js +10 -0
- package/dist/commonjs/operationsInterfaces/secrets.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/vaults.d.ts +103 -0
- package/dist/commonjs/operationsInterfaces/vaults.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/vaults.js +10 -0
- package/dist/commonjs/operationsInterfaces/vaults.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/keyVaultManagementClient.d.ts +25 -0
- package/dist/esm/keyVaultManagementClient.d.ts.map +1 -0
- package/dist/esm/keyVaultManagementClient.js +102 -0
- package/dist/esm/keyVaultManagementClient.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1076 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +198 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +48 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1549 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +26 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +220 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +6 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +13 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +51 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +184 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +20 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResources.js +53 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operations/secrets.d.ts +72 -0
- package/dist/esm/operations/secrets.d.ts.map +1 -0
- package/dist/esm/operations/secrets.js +260 -0
- package/dist/esm/operations/secrets.js.map +1 -0
- package/dist/esm/operations/vaults.d.ts +166 -0
- package/dist/esm/operations/vaults.d.ts.map +1 -0
- package/dist/esm/operations/vaults.js +861 -0
- package/dist/esm/operations/vaults.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +6 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +13 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +43 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +12 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/secrets.d.ts +45 -0
- package/dist/esm/operationsInterfaces/secrets.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/secrets.js +9 -0
- package/dist/esm/operationsInterfaces/secrets.js.map +1 -0
- package/dist/esm/operationsInterfaces/vaults.d.ts +103 -0
- package/dist/esm/operationsInterfaces/vaults.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/vaults.js +9 -0
- package/dist/esm/operationsInterfaces/vaults.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/keyVaultManagementClient.d.ts +25 -0
- package/dist/react-native/keyVaultManagementClient.d.ts.map +1 -0
- package/dist/react-native/keyVaultManagementClient.js +102 -0
- package/dist/react-native/keyVaultManagementClient.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1076 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +198 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +48 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1549 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +26 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +220 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +6 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +13 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +51 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +184 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +20 -0
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResources.js +53 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operations/secrets.d.ts +72 -0
- package/dist/react-native/operations/secrets.d.ts.map +1 -0
- package/dist/react-native/operations/secrets.js +260 -0
- package/dist/react-native/operations/secrets.js.map +1 -0
- package/dist/react-native/operations/vaults.d.ts +166 -0
- package/dist/react-native/operations/vaults.d.ts.map +1 -0
- package/dist/react-native/operations/vaults.js +861 -0
- package/dist/react-native/operations/vaults.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +13 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +43 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/secrets.d.ts +45 -0
- package/dist/react-native/operationsInterfaces/secrets.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/secrets.js +9 -0
- package/dist/react-native/operationsInterfaces/secrets.js.map +1 -0
- package/dist/react-native/operationsInterfaces/vaults.d.ts +103 -0
- package/dist/react-native/operationsInterfaces/vaults.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/vaults.js +9 -0
- package/dist/react-native/operationsInterfaces/vaults.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +70 -41
- package/dist/index.js +0 -3687
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -50
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByVaultSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByVaultSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByVaultSample.js +0 -36
- package/dist-esm/samples-dev/privateLinkResourcesListByVaultSample.js.map +0 -1
- package/dist-esm/samples-dev/secretsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretsCreateOrUpdateSample.js +0 -33
- package/dist-esm/samples-dev/secretsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/secretsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretsGetSample.js +0 -37
- package/dist-esm/samples-dev/secretsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/secretsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretsListSample.js +0 -52
- package/dist-esm/samples-dev/secretsListSample.js.map +0 -1
- package/dist-esm/samples-dev/secretsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/secretsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/secretsUpdateSample.js +0 -33
- package/dist-esm/samples-dev/secretsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsCheckNameAvailabilitySample.js +0 -31
- package/dist-esm/samples-dev/vaultsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsCreateOrUpdateSample.js +0 -120
- package/dist-esm/samples-dev/vaultsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsDeleteSample.js +0 -36
- package/dist-esm/samples-dev/vaultsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsGetDeletedSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsGetDeletedSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsGetDeletedSample.js +0 -36
- package/dist-esm/samples-dev/vaultsGetDeletedSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsGetSample.js +0 -36
- package/dist-esm/samples-dev/vaultsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsListByResourceGroupSample.js +0 -46
- package/dist-esm/samples-dev/vaultsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsListBySubscriptionSample.js +0 -45
- package/dist-esm/samples-dev/vaultsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsListDeletedSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsListDeletedSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsListDeletedSample.js +0 -50
- package/dist-esm/samples-dev/vaultsListDeletedSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsListSample.js +0 -45
- package/dist-esm/samples-dev/vaultsListSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsPurgeDeletedSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsPurgeDeletedSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsPurgeDeletedSample.js +0 -36
- package/dist-esm/samples-dev/vaultsPurgeDeletedSample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsUpdateAccessPolicySample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsUpdateAccessPolicySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsUpdateAccessPolicySample.js +0 -45
- package/dist-esm/samples-dev/vaultsUpdateAccessPolicySample.js.map +0 -1
- package/dist-esm/samples-dev/vaultsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/vaultsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/vaultsUpdateSample.js +0 -81
- package/dist-esm/samples-dev/vaultsUpdateSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/keyVaultManagementClient.d.ts.map +0 -1
- package/dist-esm/src/keyVaultManagementClient.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/secrets.d.ts.map +0 -1
- package/dist-esm/src/operations/secrets.js.map +0 -1
- package/dist-esm/src/operations/vaults.d.ts.map +0 -1
- package/dist-esm/src/operations/vaults.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/secrets.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/secrets.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/vaults.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/vaults.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/keyVaultManagementClient.ts +0 -161
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -1192
- package/src/models/mappers.ts +0 -1612
- package/src/models/parameters.ts +0 -257
- package/src/operations/index.ts +0 -13
- package/src/operations/operations.ts +0 -149
- package/src/operations/privateEndpointConnections.ts +0 -265
- package/src/operations/privateLinkResources.ts +0 -72
- package/src/operations/secrets.ts +0 -344
- package/src/operations/vaults.ts +0 -1078
- package/src/operationsInterfaces/index.ts +0 -13
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -85
- package/src/operationsInterfaces/privateLinkResources.ts +0 -27
- package/src/operationsInterfaces/secrets.ts +0 -86
- package/src/operationsInterfaces/vaults.ts +0 -197
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/secrets.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/vaults.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,865 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
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
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.VaultsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Class containing Vaults operations. */
|
|
20
|
+
class VaultsImpl {
|
|
21
|
+
/**
|
|
22
|
+
* Initialize a new instance of the class Vaults class.
|
|
23
|
+
* @param client Reference to the service client
|
|
24
|
+
*/
|
|
25
|
+
constructor(client) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The List operation gets information about the vaults associated with the subscription and within the
|
|
30
|
+
* specified resource group.
|
|
31
|
+
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
35
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
36
|
+
return {
|
|
37
|
+
next() {
|
|
38
|
+
return iter.next();
|
|
39
|
+
},
|
|
40
|
+
[Symbol.asyncIterator]() {
|
|
41
|
+
return this;
|
|
42
|
+
},
|
|
43
|
+
byPage: (settings) => {
|
|
44
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
45
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
|
+
}
|
|
47
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
52
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
+
yield yield tslib_1.__await(page);
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
|
+
yield yield tslib_1.__await(page);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
72
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
73
|
+
var _a, e_1, _b, _c;
|
|
74
|
+
try {
|
|
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
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The List operation gets information about the vaults associated with the subscription.
|
|
93
|
+
* @param options The options parameters.
|
|
94
|
+
*/
|
|
95
|
+
listBySubscription(options) {
|
|
96
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
97
|
+
return {
|
|
98
|
+
next() {
|
|
99
|
+
return iter.next();
|
|
100
|
+
},
|
|
101
|
+
[Symbol.asyncIterator]() {
|
|
102
|
+
return this;
|
|
103
|
+
},
|
|
104
|
+
byPage: (settings) => {
|
|
105
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
106
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
107
|
+
}
|
|
108
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
listBySubscriptionPagingPage(options, settings) {
|
|
113
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
114
|
+
let result;
|
|
115
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
116
|
+
if (!continuationToken) {
|
|
117
|
+
result = yield tslib_1.__await(this._listBySubscription(options));
|
|
118
|
+
let page = result.value || [];
|
|
119
|
+
continuationToken = result.nextLink;
|
|
120
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
121
|
+
yield yield tslib_1.__await(page);
|
|
122
|
+
}
|
|
123
|
+
while (continuationToken) {
|
|
124
|
+
result = yield tslib_1.__await(this._listBySubscriptionNext(continuationToken, options));
|
|
125
|
+
continuationToken = result.nextLink;
|
|
126
|
+
let page = result.value || [];
|
|
127
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
128
|
+
yield yield tslib_1.__await(page);
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
listBySubscriptionPagingAll(options) {
|
|
133
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
134
|
+
var _a, e_2, _b, _c;
|
|
135
|
+
try {
|
|
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
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Gets information about the deleted vaults in a subscription.
|
|
154
|
+
* @param options The options parameters.
|
|
155
|
+
*/
|
|
156
|
+
listDeleted(options) {
|
|
157
|
+
const iter = this.listDeletedPagingAll(options);
|
|
158
|
+
return {
|
|
159
|
+
next() {
|
|
160
|
+
return iter.next();
|
|
161
|
+
},
|
|
162
|
+
[Symbol.asyncIterator]() {
|
|
163
|
+
return this;
|
|
164
|
+
},
|
|
165
|
+
byPage: (settings) => {
|
|
166
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
167
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
168
|
+
}
|
|
169
|
+
return this.listDeletedPagingPage(options, settings);
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
listDeletedPagingPage(options, settings) {
|
|
174
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listDeletedPagingPage_1() {
|
|
175
|
+
let result;
|
|
176
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
177
|
+
if (!continuationToken) {
|
|
178
|
+
result = yield tslib_1.__await(this._listDeleted(options));
|
|
179
|
+
let page = result.value || [];
|
|
180
|
+
continuationToken = result.nextLink;
|
|
181
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
182
|
+
yield yield tslib_1.__await(page);
|
|
183
|
+
}
|
|
184
|
+
while (continuationToken) {
|
|
185
|
+
result = yield tslib_1.__await(this._listDeletedNext(continuationToken, options));
|
|
186
|
+
continuationToken = result.nextLink;
|
|
187
|
+
let page = result.value || [];
|
|
188
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
189
|
+
yield yield tslib_1.__await(page);
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
listDeletedPagingAll(options) {
|
|
194
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listDeletedPagingAll_1() {
|
|
195
|
+
var _a, e_3, _b, _c;
|
|
196
|
+
try {
|
|
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
|
+
});
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* The List operation gets information about the vaults associated with the subscription.
|
|
215
|
+
* @param options The options parameters.
|
|
216
|
+
*/
|
|
217
|
+
list(options) {
|
|
218
|
+
const iter = this.listPagingAll(options);
|
|
219
|
+
return {
|
|
220
|
+
next() {
|
|
221
|
+
return iter.next();
|
|
222
|
+
},
|
|
223
|
+
[Symbol.asyncIterator]() {
|
|
224
|
+
return this;
|
|
225
|
+
},
|
|
226
|
+
byPage: (settings) => {
|
|
227
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
228
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
229
|
+
}
|
|
230
|
+
return this.listPagingPage(options, settings);
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
listPagingPage(options, settings) {
|
|
235
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
236
|
+
let result;
|
|
237
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
238
|
+
if (!continuationToken) {
|
|
239
|
+
result = yield tslib_1.__await(this._list(options));
|
|
240
|
+
let page = result.value || [];
|
|
241
|
+
continuationToken = result.nextLink;
|
|
242
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
243
|
+
yield yield tslib_1.__await(page);
|
|
244
|
+
}
|
|
245
|
+
while (continuationToken) {
|
|
246
|
+
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
|
247
|
+
continuationToken = result.nextLink;
|
|
248
|
+
let page = result.value || [];
|
|
249
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
250
|
+
yield yield tslib_1.__await(page);
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
listPagingAll(options) {
|
|
255
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
256
|
+
var _a, e_4, _b, _c;
|
|
257
|
+
try {
|
|
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
|
+
});
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Create or update a key vault in the specified subscription.
|
|
276
|
+
* @param resourceGroupName The name of the Resource Group to which the server belongs.
|
|
277
|
+
* @param vaultName Name of the vault
|
|
278
|
+
* @param parameters Parameters to create or update the vault
|
|
279
|
+
* @param options The options parameters.
|
|
280
|
+
*/
|
|
281
|
+
async beginCreateOrUpdate(resourceGroupName, vaultName, parameters, options) {
|
|
282
|
+
const directSendOperation = async (args, spec) => {
|
|
283
|
+
return this.client.sendOperationRequest(args, spec);
|
|
284
|
+
};
|
|
285
|
+
const sendOperation = async (args, spec) => {
|
|
286
|
+
var _a;
|
|
287
|
+
let currentRawResponse = undefined;
|
|
288
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
289
|
+
const callback = (rawResponse, flatResponse) => {
|
|
290
|
+
currentRawResponse = rawResponse;
|
|
291
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
292
|
+
};
|
|
293
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
294
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
295
|
+
return {
|
|
296
|
+
flatResponse,
|
|
297
|
+
rawResponse: {
|
|
298
|
+
statusCode: currentRawResponse.status,
|
|
299
|
+
body: currentRawResponse.parsedBody,
|
|
300
|
+
headers: currentRawResponse.headers.toJSON()
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, vaultName, parameters, options }, createOrUpdateOperationSpec);
|
|
305
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
|
306
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
307
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
308
|
+
});
|
|
309
|
+
await poller.poll();
|
|
310
|
+
return poller;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Create or update a key vault in the specified subscription.
|
|
314
|
+
* @param resourceGroupName The name of the Resource Group to which the server belongs.
|
|
315
|
+
* @param vaultName Name of the vault
|
|
316
|
+
* @param parameters Parameters to create or update the vault
|
|
317
|
+
* @param options The options parameters.
|
|
318
|
+
*/
|
|
319
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, vaultName, parameters, options) {
|
|
320
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, vaultName, parameters, options);
|
|
321
|
+
return poller.pollUntilDone();
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Update a key vault in the specified subscription.
|
|
325
|
+
* @param resourceGroupName The name of the Resource Group to which the server belongs.
|
|
326
|
+
* @param vaultName Name of the vault
|
|
327
|
+
* @param parameters Parameters to patch the vault
|
|
328
|
+
* @param options The options parameters.
|
|
329
|
+
*/
|
|
330
|
+
update(resourceGroupName, vaultName, parameters, options) {
|
|
331
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, parameters, options }, updateOperationSpec);
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Deletes the specified Azure key vault.
|
|
335
|
+
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
336
|
+
* @param vaultName The name of the vault to delete
|
|
337
|
+
* @param options The options parameters.
|
|
338
|
+
*/
|
|
339
|
+
delete(resourceGroupName, vaultName, options) {
|
|
340
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, deleteOperationSpec);
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* Gets the specified Azure key vault.
|
|
344
|
+
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
345
|
+
* @param vaultName The name of the vault.
|
|
346
|
+
* @param options The options parameters.
|
|
347
|
+
*/
|
|
348
|
+
get(resourceGroupName, vaultName, options) {
|
|
349
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, getOperationSpec);
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Update access policies in a key vault in the specified subscription.
|
|
353
|
+
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
354
|
+
* @param vaultName Name of the vault
|
|
355
|
+
* @param operationKind Name of the operation
|
|
356
|
+
* @param parameters Access policy to merge into the vault
|
|
357
|
+
* @param options The options parameters.
|
|
358
|
+
*/
|
|
359
|
+
updateAccessPolicy(resourceGroupName, vaultName, operationKind, parameters, options) {
|
|
360
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, operationKind, parameters, options }, updateAccessPolicyOperationSpec);
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* The List operation gets information about the vaults associated with the subscription and within the
|
|
364
|
+
* specified resource group.
|
|
365
|
+
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
366
|
+
* @param options The options parameters.
|
|
367
|
+
*/
|
|
368
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
369
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* The List operation gets information about the vaults associated with the subscription.
|
|
373
|
+
* @param options The options parameters.
|
|
374
|
+
*/
|
|
375
|
+
_listBySubscription(options) {
|
|
376
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* Gets information about the deleted vaults in a subscription.
|
|
380
|
+
* @param options The options parameters.
|
|
381
|
+
*/
|
|
382
|
+
_listDeleted(options) {
|
|
383
|
+
return this.client.sendOperationRequest({ options }, listDeletedOperationSpec);
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Gets the deleted Azure key vault.
|
|
387
|
+
* @param vaultName The name of the vault.
|
|
388
|
+
* @param location The location of the deleted vault.
|
|
389
|
+
* @param options The options parameters.
|
|
390
|
+
*/
|
|
391
|
+
getDeleted(vaultName, location, options) {
|
|
392
|
+
return this.client.sendOperationRequest({ vaultName, location, options }, getDeletedOperationSpec);
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Permanently deletes the specified vault. aka Purges the deleted Azure key vault.
|
|
396
|
+
* @param vaultName The name of the soft-deleted vault.
|
|
397
|
+
* @param location The location of the soft-deleted vault.
|
|
398
|
+
* @param options The options parameters.
|
|
399
|
+
*/
|
|
400
|
+
async beginPurgeDeleted(vaultName, location, options) {
|
|
401
|
+
const directSendOperation = async (args, spec) => {
|
|
402
|
+
return this.client.sendOperationRequest(args, spec);
|
|
403
|
+
};
|
|
404
|
+
const sendOperation = async (args, spec) => {
|
|
405
|
+
var _a;
|
|
406
|
+
let currentRawResponse = undefined;
|
|
407
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
408
|
+
const callback = (rawResponse, flatResponse) => {
|
|
409
|
+
currentRawResponse = rawResponse;
|
|
410
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
411
|
+
};
|
|
412
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
413
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
414
|
+
return {
|
|
415
|
+
flatResponse,
|
|
416
|
+
rawResponse: {
|
|
417
|
+
statusCode: currentRawResponse.status,
|
|
418
|
+
body: currentRawResponse.parsedBody,
|
|
419
|
+
headers: currentRawResponse.headers.toJSON()
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { vaultName, location, options }, purgeDeletedOperationSpec);
|
|
424
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
|
425
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
426
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
427
|
+
});
|
|
428
|
+
await poller.poll();
|
|
429
|
+
return poller;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Permanently deletes the specified vault. aka Purges the deleted Azure key vault.
|
|
433
|
+
* @param vaultName The name of the soft-deleted vault.
|
|
434
|
+
* @param location The location of the soft-deleted vault.
|
|
435
|
+
* @param options The options parameters.
|
|
436
|
+
*/
|
|
437
|
+
async beginPurgeDeletedAndWait(vaultName, location, options) {
|
|
438
|
+
const poller = await this.beginPurgeDeleted(vaultName, location, options);
|
|
439
|
+
return poller.pollUntilDone();
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* The List operation gets information about the vaults associated with the subscription.
|
|
443
|
+
* @param options The options parameters.
|
|
444
|
+
*/
|
|
445
|
+
_list(options) {
|
|
446
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* Checks that the vault name is valid and is not already in use.
|
|
450
|
+
* @param vaultName The name of the vault.
|
|
451
|
+
* @param options The options parameters.
|
|
452
|
+
*/
|
|
453
|
+
checkNameAvailability(vaultName, options) {
|
|
454
|
+
return this.client.sendOperationRequest({ vaultName, options }, checkNameAvailabilityOperationSpec);
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* ListByResourceGroupNext
|
|
458
|
+
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
459
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
460
|
+
* @param options The options parameters.
|
|
461
|
+
*/
|
|
462
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
463
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* ListBySubscriptionNext
|
|
467
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
468
|
+
* @param options The options parameters.
|
|
469
|
+
*/
|
|
470
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
471
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* ListDeletedNext
|
|
475
|
+
* @param nextLink The nextLink from the previous successful call to the ListDeleted method.
|
|
476
|
+
* @param options The options parameters.
|
|
477
|
+
*/
|
|
478
|
+
_listDeletedNext(nextLink, options) {
|
|
479
|
+
return this.client.sendOperationRequest({ nextLink, options }, listDeletedNextOperationSpec);
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* ListNext
|
|
483
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
484
|
+
* @param options The options parameters.
|
|
485
|
+
*/
|
|
486
|
+
_listNext(nextLink, options) {
|
|
487
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
exports.VaultsImpl = VaultsImpl;
|
|
491
|
+
// Operation Specifications
|
|
492
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
493
|
+
const createOrUpdateOperationSpec = {
|
|
494
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
495
|
+
httpMethod: "PUT",
|
|
496
|
+
responses: {
|
|
497
|
+
200: {
|
|
498
|
+
bodyMapper: Mappers.Vault
|
|
499
|
+
},
|
|
500
|
+
201: {
|
|
501
|
+
bodyMapper: Mappers.Vault
|
|
502
|
+
},
|
|
503
|
+
202: {
|
|
504
|
+
bodyMapper: Mappers.Vault
|
|
505
|
+
},
|
|
506
|
+
204: {
|
|
507
|
+
bodyMapper: Mappers.Vault
|
|
508
|
+
},
|
|
509
|
+
400: {
|
|
510
|
+
bodyMapper: Mappers.CloudError,
|
|
511
|
+
isError: true
|
|
512
|
+
},
|
|
513
|
+
409: {
|
|
514
|
+
bodyMapper: Mappers.CloudError,
|
|
515
|
+
isError: true
|
|
516
|
+
},
|
|
517
|
+
default: {
|
|
518
|
+
bodyMapper: Mappers.CloudError
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
requestBody: Parameters.parameters,
|
|
522
|
+
queryParameters: [Parameters.apiVersion],
|
|
523
|
+
urlParameters: [
|
|
524
|
+
Parameters.$host,
|
|
525
|
+
Parameters.resourceGroupName,
|
|
526
|
+
Parameters.vaultName,
|
|
527
|
+
Parameters.subscriptionId
|
|
528
|
+
],
|
|
529
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
530
|
+
mediaType: "json",
|
|
531
|
+
serializer
|
|
532
|
+
};
|
|
533
|
+
const updateOperationSpec = {
|
|
534
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
535
|
+
httpMethod: "PATCH",
|
|
536
|
+
responses: {
|
|
537
|
+
200: {
|
|
538
|
+
bodyMapper: Mappers.Vault
|
|
539
|
+
},
|
|
540
|
+
201: {
|
|
541
|
+
bodyMapper: Mappers.Vault
|
|
542
|
+
},
|
|
543
|
+
400: {
|
|
544
|
+
bodyMapper: Mappers.CloudError,
|
|
545
|
+
isError: true
|
|
546
|
+
},
|
|
547
|
+
409: {
|
|
548
|
+
bodyMapper: Mappers.CloudError,
|
|
549
|
+
isError: true
|
|
550
|
+
},
|
|
551
|
+
default: {
|
|
552
|
+
bodyMapper: Mappers.CloudError
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
requestBody: Parameters.parameters1,
|
|
556
|
+
queryParameters: [Parameters.apiVersion],
|
|
557
|
+
urlParameters: [
|
|
558
|
+
Parameters.$host,
|
|
559
|
+
Parameters.resourceGroupName,
|
|
560
|
+
Parameters.vaultName,
|
|
561
|
+
Parameters.subscriptionId
|
|
562
|
+
],
|
|
563
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
564
|
+
mediaType: "json",
|
|
565
|
+
serializer
|
|
566
|
+
};
|
|
567
|
+
const deleteOperationSpec = {
|
|
568
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
569
|
+
httpMethod: "DELETE",
|
|
570
|
+
responses: {
|
|
571
|
+
200: {},
|
|
572
|
+
204: {},
|
|
573
|
+
400: {
|
|
574
|
+
bodyMapper: Mappers.CloudError,
|
|
575
|
+
isError: true
|
|
576
|
+
},
|
|
577
|
+
default: {
|
|
578
|
+
bodyMapper: Mappers.CloudError
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
queryParameters: [Parameters.apiVersion],
|
|
582
|
+
urlParameters: [
|
|
583
|
+
Parameters.$host,
|
|
584
|
+
Parameters.resourceGroupName,
|
|
585
|
+
Parameters.subscriptionId,
|
|
586
|
+
Parameters.vaultName1
|
|
587
|
+
],
|
|
588
|
+
headerParameters: [Parameters.accept],
|
|
589
|
+
serializer
|
|
590
|
+
};
|
|
591
|
+
const getOperationSpec = {
|
|
592
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
593
|
+
httpMethod: "GET",
|
|
594
|
+
responses: {
|
|
595
|
+
200: {
|
|
596
|
+
bodyMapper: Mappers.Vault
|
|
597
|
+
},
|
|
598
|
+
default: {
|
|
599
|
+
bodyMapper: Mappers.CloudError
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
queryParameters: [Parameters.apiVersion],
|
|
603
|
+
urlParameters: [
|
|
604
|
+
Parameters.$host,
|
|
605
|
+
Parameters.resourceGroupName,
|
|
606
|
+
Parameters.subscriptionId,
|
|
607
|
+
Parameters.vaultName1
|
|
608
|
+
],
|
|
609
|
+
headerParameters: [Parameters.accept],
|
|
610
|
+
serializer
|
|
611
|
+
};
|
|
612
|
+
const updateAccessPolicyOperationSpec = {
|
|
613
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/accessPolicies/{operationKind}",
|
|
614
|
+
httpMethod: "PUT",
|
|
615
|
+
responses: {
|
|
616
|
+
200: {
|
|
617
|
+
bodyMapper: Mappers.VaultAccessPolicyParameters
|
|
618
|
+
},
|
|
619
|
+
201: {
|
|
620
|
+
bodyMapper: Mappers.VaultAccessPolicyParameters
|
|
621
|
+
},
|
|
622
|
+
400: {
|
|
623
|
+
bodyMapper: Mappers.CloudError,
|
|
624
|
+
isError: true
|
|
625
|
+
},
|
|
626
|
+
404: {
|
|
627
|
+
bodyMapper: Mappers.CloudError,
|
|
628
|
+
isError: true
|
|
629
|
+
},
|
|
630
|
+
409: {
|
|
631
|
+
bodyMapper: Mappers.CloudError,
|
|
632
|
+
isError: true
|
|
633
|
+
},
|
|
634
|
+
default: {
|
|
635
|
+
bodyMapper: Mappers.CloudError
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
requestBody: Parameters.parameters2,
|
|
639
|
+
queryParameters: [Parameters.apiVersion],
|
|
640
|
+
urlParameters: [
|
|
641
|
+
Parameters.$host,
|
|
642
|
+
Parameters.resourceGroupName,
|
|
643
|
+
Parameters.vaultName,
|
|
644
|
+
Parameters.subscriptionId,
|
|
645
|
+
Parameters.operationKind
|
|
646
|
+
],
|
|
647
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
648
|
+
mediaType: "json",
|
|
649
|
+
serializer
|
|
650
|
+
};
|
|
651
|
+
const listByResourceGroupOperationSpec = {
|
|
652
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults",
|
|
653
|
+
httpMethod: "GET",
|
|
654
|
+
responses: {
|
|
655
|
+
200: {
|
|
656
|
+
bodyMapper: Mappers.VaultListResult
|
|
657
|
+
},
|
|
658
|
+
default: {
|
|
659
|
+
bodyMapper: Mappers.CloudError
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
663
|
+
urlParameters: [
|
|
664
|
+
Parameters.$host,
|
|
665
|
+
Parameters.resourceGroupName,
|
|
666
|
+
Parameters.subscriptionId
|
|
667
|
+
],
|
|
668
|
+
headerParameters: [Parameters.accept],
|
|
669
|
+
serializer
|
|
670
|
+
};
|
|
671
|
+
const listBySubscriptionOperationSpec = {
|
|
672
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/vaults",
|
|
673
|
+
httpMethod: "GET",
|
|
674
|
+
responses: {
|
|
675
|
+
200: {
|
|
676
|
+
bodyMapper: Mappers.VaultListResult
|
|
677
|
+
},
|
|
678
|
+
default: {
|
|
679
|
+
bodyMapper: Mappers.CloudError
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
683
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
684
|
+
headerParameters: [Parameters.accept],
|
|
685
|
+
serializer
|
|
686
|
+
};
|
|
687
|
+
const listDeletedOperationSpec = {
|
|
688
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedVaults",
|
|
689
|
+
httpMethod: "GET",
|
|
690
|
+
responses: {
|
|
691
|
+
200: {
|
|
692
|
+
bodyMapper: Mappers.DeletedVaultListResult
|
|
693
|
+
},
|
|
694
|
+
default: {
|
|
695
|
+
bodyMapper: Mappers.CloudError
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
queryParameters: [Parameters.apiVersion],
|
|
699
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
700
|
+
headerParameters: [Parameters.accept],
|
|
701
|
+
serializer
|
|
702
|
+
};
|
|
703
|
+
const getDeletedOperationSpec = {
|
|
704
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}",
|
|
705
|
+
httpMethod: "GET",
|
|
706
|
+
responses: {
|
|
707
|
+
200: {
|
|
708
|
+
bodyMapper: Mappers.DeletedVault
|
|
709
|
+
},
|
|
710
|
+
default: {
|
|
711
|
+
bodyMapper: Mappers.CloudError
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
queryParameters: [Parameters.apiVersion],
|
|
715
|
+
urlParameters: [
|
|
716
|
+
Parameters.$host,
|
|
717
|
+
Parameters.subscriptionId,
|
|
718
|
+
Parameters.vaultName1,
|
|
719
|
+
Parameters.location
|
|
720
|
+
],
|
|
721
|
+
headerParameters: [Parameters.accept],
|
|
722
|
+
serializer
|
|
723
|
+
};
|
|
724
|
+
const purgeDeletedOperationSpec = {
|
|
725
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}/purge",
|
|
726
|
+
httpMethod: "POST",
|
|
727
|
+
responses: {
|
|
728
|
+
200: {},
|
|
729
|
+
201: {},
|
|
730
|
+
202: {},
|
|
731
|
+
204: {},
|
|
732
|
+
400: {
|
|
733
|
+
bodyMapper: Mappers.CloudError,
|
|
734
|
+
isError: true
|
|
735
|
+
},
|
|
736
|
+
404: {
|
|
737
|
+
bodyMapper: Mappers.CloudError,
|
|
738
|
+
isError: true
|
|
739
|
+
},
|
|
740
|
+
default: {
|
|
741
|
+
bodyMapper: Mappers.CloudError
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
queryParameters: [Parameters.apiVersion],
|
|
745
|
+
urlParameters: [
|
|
746
|
+
Parameters.$host,
|
|
747
|
+
Parameters.subscriptionId,
|
|
748
|
+
Parameters.vaultName1,
|
|
749
|
+
Parameters.location
|
|
750
|
+
],
|
|
751
|
+
headerParameters: [Parameters.accept],
|
|
752
|
+
serializer
|
|
753
|
+
};
|
|
754
|
+
const listOperationSpec = {
|
|
755
|
+
path: "/subscriptions/{subscriptionId}/resources",
|
|
756
|
+
httpMethod: "GET",
|
|
757
|
+
responses: {
|
|
758
|
+
200: {
|
|
759
|
+
bodyMapper: Mappers.ResourceListResult
|
|
760
|
+
},
|
|
761
|
+
default: {
|
|
762
|
+
bodyMapper: Mappers.CloudError
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
queryParameters: [Parameters.top, Parameters.filter, Parameters.apiVersion1],
|
|
766
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
767
|
+
headerParameters: [Parameters.accept],
|
|
768
|
+
serializer
|
|
769
|
+
};
|
|
770
|
+
const checkNameAvailabilityOperationSpec = {
|
|
771
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkNameAvailability",
|
|
772
|
+
httpMethod: "POST",
|
|
773
|
+
responses: {
|
|
774
|
+
200: {
|
|
775
|
+
bodyMapper: Mappers.CheckNameAvailabilityResult
|
|
776
|
+
},
|
|
777
|
+
default: {
|
|
778
|
+
bodyMapper: Mappers.CloudError
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
requestBody: Parameters.vaultName2,
|
|
782
|
+
queryParameters: [Parameters.apiVersion],
|
|
783
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
784
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
785
|
+
mediaType: "json",
|
|
786
|
+
serializer
|
|
787
|
+
};
|
|
788
|
+
const listByResourceGroupNextOperationSpec = {
|
|
789
|
+
path: "{nextLink}",
|
|
790
|
+
httpMethod: "GET",
|
|
791
|
+
responses: {
|
|
792
|
+
200: {
|
|
793
|
+
bodyMapper: Mappers.VaultListResult
|
|
794
|
+
},
|
|
795
|
+
default: {
|
|
796
|
+
bodyMapper: Mappers.CloudError
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
urlParameters: [
|
|
800
|
+
Parameters.$host,
|
|
801
|
+
Parameters.resourceGroupName,
|
|
802
|
+
Parameters.subscriptionId,
|
|
803
|
+
Parameters.nextLink
|
|
804
|
+
],
|
|
805
|
+
headerParameters: [Parameters.accept],
|
|
806
|
+
serializer
|
|
807
|
+
};
|
|
808
|
+
const listBySubscriptionNextOperationSpec = {
|
|
809
|
+
path: "{nextLink}",
|
|
810
|
+
httpMethod: "GET",
|
|
811
|
+
responses: {
|
|
812
|
+
200: {
|
|
813
|
+
bodyMapper: Mappers.VaultListResult
|
|
814
|
+
},
|
|
815
|
+
default: {
|
|
816
|
+
bodyMapper: Mappers.CloudError
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
urlParameters: [
|
|
820
|
+
Parameters.$host,
|
|
821
|
+
Parameters.subscriptionId,
|
|
822
|
+
Parameters.nextLink
|
|
823
|
+
],
|
|
824
|
+
headerParameters: [Parameters.accept],
|
|
825
|
+
serializer
|
|
826
|
+
};
|
|
827
|
+
const listDeletedNextOperationSpec = {
|
|
828
|
+
path: "{nextLink}",
|
|
829
|
+
httpMethod: "GET",
|
|
830
|
+
responses: {
|
|
831
|
+
200: {
|
|
832
|
+
bodyMapper: Mappers.DeletedVaultListResult
|
|
833
|
+
},
|
|
834
|
+
default: {
|
|
835
|
+
bodyMapper: Mappers.CloudError
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
urlParameters: [
|
|
839
|
+
Parameters.$host,
|
|
840
|
+
Parameters.subscriptionId,
|
|
841
|
+
Parameters.nextLink
|
|
842
|
+
],
|
|
843
|
+
headerParameters: [Parameters.accept],
|
|
844
|
+
serializer
|
|
845
|
+
};
|
|
846
|
+
const listNextOperationSpec = {
|
|
847
|
+
path: "{nextLink}",
|
|
848
|
+
httpMethod: "GET",
|
|
849
|
+
responses: {
|
|
850
|
+
200: {
|
|
851
|
+
bodyMapper: Mappers.ResourceListResult
|
|
852
|
+
},
|
|
853
|
+
default: {
|
|
854
|
+
bodyMapper: Mappers.CloudError
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
urlParameters: [
|
|
858
|
+
Parameters.$host,
|
|
859
|
+
Parameters.subscriptionId,
|
|
860
|
+
Parameters.nextLink
|
|
861
|
+
],
|
|
862
|
+
headerParameters: [Parameters.accept],
|
|
863
|
+
serializer
|
|
864
|
+
};
|
|
865
|
+
//# sourceMappingURL=vaults.js.map
|