@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
package/src/operations/vaults.ts
DELETED
|
@@ -1,1078 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { Vaults } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { KeyVaultManagementClient } from "../keyVaultManagementClient";
|
|
16
|
-
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
17
|
-
import { LroImpl } from "../lroImpl";
|
|
18
|
-
import {
|
|
19
|
-
Vault,
|
|
20
|
-
VaultsListByResourceGroupNextOptionalParams,
|
|
21
|
-
VaultsListByResourceGroupOptionalParams,
|
|
22
|
-
VaultsListByResourceGroupResponse,
|
|
23
|
-
VaultsListBySubscriptionNextOptionalParams,
|
|
24
|
-
VaultsListBySubscriptionOptionalParams,
|
|
25
|
-
VaultsListBySubscriptionResponse,
|
|
26
|
-
DeletedVault,
|
|
27
|
-
VaultsListDeletedNextOptionalParams,
|
|
28
|
-
VaultsListDeletedOptionalParams,
|
|
29
|
-
VaultsListDeletedResponse,
|
|
30
|
-
Resource,
|
|
31
|
-
VaultsListNextOptionalParams,
|
|
32
|
-
VaultsListOptionalParams,
|
|
33
|
-
VaultsListResponse,
|
|
34
|
-
VaultCreateOrUpdateParameters,
|
|
35
|
-
VaultsCreateOrUpdateOptionalParams,
|
|
36
|
-
VaultsCreateOrUpdateResponse,
|
|
37
|
-
VaultPatchParameters,
|
|
38
|
-
VaultsUpdateOptionalParams,
|
|
39
|
-
VaultsUpdateResponse,
|
|
40
|
-
VaultsDeleteOptionalParams,
|
|
41
|
-
VaultsGetOptionalParams,
|
|
42
|
-
VaultsGetResponse,
|
|
43
|
-
VaultAccessPolicyParameters,
|
|
44
|
-
AccessPolicyUpdateKind,
|
|
45
|
-
VaultsUpdateAccessPolicyOptionalParams,
|
|
46
|
-
VaultsUpdateAccessPolicyResponse,
|
|
47
|
-
VaultsGetDeletedOptionalParams,
|
|
48
|
-
VaultsGetDeletedResponse,
|
|
49
|
-
VaultsPurgeDeletedOptionalParams,
|
|
50
|
-
VaultCheckNameAvailabilityParameters,
|
|
51
|
-
VaultsCheckNameAvailabilityOptionalParams,
|
|
52
|
-
VaultsCheckNameAvailabilityResponse,
|
|
53
|
-
VaultsListByResourceGroupNextResponse,
|
|
54
|
-
VaultsListBySubscriptionNextResponse,
|
|
55
|
-
VaultsListDeletedNextResponse,
|
|
56
|
-
VaultsListNextResponse
|
|
57
|
-
} from "../models";
|
|
58
|
-
|
|
59
|
-
/// <reference lib="esnext.asynciterable" />
|
|
60
|
-
/** Class containing Vaults operations. */
|
|
61
|
-
export class VaultsImpl implements Vaults {
|
|
62
|
-
private readonly client: KeyVaultManagementClient;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Initialize a new instance of the class Vaults class.
|
|
66
|
-
* @param client Reference to the service client
|
|
67
|
-
*/
|
|
68
|
-
constructor(client: KeyVaultManagementClient) {
|
|
69
|
-
this.client = client;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* The List operation gets information about the vaults associated with the subscription and within the
|
|
74
|
-
* specified resource group.
|
|
75
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
76
|
-
* @param options The options parameters.
|
|
77
|
-
*/
|
|
78
|
-
public listByResourceGroup(
|
|
79
|
-
resourceGroupName: string,
|
|
80
|
-
options?: VaultsListByResourceGroupOptionalParams
|
|
81
|
-
): PagedAsyncIterableIterator<Vault> {
|
|
82
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
83
|
-
return {
|
|
84
|
-
next() {
|
|
85
|
-
return iter.next();
|
|
86
|
-
},
|
|
87
|
-
[Symbol.asyncIterator]() {
|
|
88
|
-
return this;
|
|
89
|
-
},
|
|
90
|
-
byPage: (settings?: PageSettings) => {
|
|
91
|
-
if (settings?.maxPageSize) {
|
|
92
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
93
|
-
}
|
|
94
|
-
return this.listByResourceGroupPagingPage(
|
|
95
|
-
resourceGroupName,
|
|
96
|
-
options,
|
|
97
|
-
settings
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private async *listByResourceGroupPagingPage(
|
|
104
|
-
resourceGroupName: string,
|
|
105
|
-
options?: VaultsListByResourceGroupOptionalParams,
|
|
106
|
-
settings?: PageSettings
|
|
107
|
-
): AsyncIterableIterator<Vault[]> {
|
|
108
|
-
let result: VaultsListByResourceGroupResponse;
|
|
109
|
-
let continuationToken = settings?.continuationToken;
|
|
110
|
-
if (!continuationToken) {
|
|
111
|
-
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
112
|
-
let page = result.value || [];
|
|
113
|
-
continuationToken = result.nextLink;
|
|
114
|
-
setContinuationToken(page, continuationToken);
|
|
115
|
-
yield page;
|
|
116
|
-
}
|
|
117
|
-
while (continuationToken) {
|
|
118
|
-
result = await this._listByResourceGroupNext(
|
|
119
|
-
resourceGroupName,
|
|
120
|
-
continuationToken,
|
|
121
|
-
options
|
|
122
|
-
);
|
|
123
|
-
continuationToken = result.nextLink;
|
|
124
|
-
let page = result.value || [];
|
|
125
|
-
setContinuationToken(page, continuationToken);
|
|
126
|
-
yield page;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
private async *listByResourceGroupPagingAll(
|
|
131
|
-
resourceGroupName: string,
|
|
132
|
-
options?: VaultsListByResourceGroupOptionalParams
|
|
133
|
-
): AsyncIterableIterator<Vault> {
|
|
134
|
-
for await (const page of this.listByResourceGroupPagingPage(
|
|
135
|
-
resourceGroupName,
|
|
136
|
-
options
|
|
137
|
-
)) {
|
|
138
|
-
yield* page;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* The List operation gets information about the vaults associated with the subscription.
|
|
144
|
-
* @param options The options parameters.
|
|
145
|
-
*/
|
|
146
|
-
public listBySubscription(
|
|
147
|
-
options?: VaultsListBySubscriptionOptionalParams
|
|
148
|
-
): PagedAsyncIterableIterator<Vault> {
|
|
149
|
-
const iter = this.listBySubscriptionPagingAll(options);
|
|
150
|
-
return {
|
|
151
|
-
next() {
|
|
152
|
-
return iter.next();
|
|
153
|
-
},
|
|
154
|
-
[Symbol.asyncIterator]() {
|
|
155
|
-
return this;
|
|
156
|
-
},
|
|
157
|
-
byPage: (settings?: PageSettings) => {
|
|
158
|
-
if (settings?.maxPageSize) {
|
|
159
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
160
|
-
}
|
|
161
|
-
return this.listBySubscriptionPagingPage(options, settings);
|
|
162
|
-
}
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
private async *listBySubscriptionPagingPage(
|
|
167
|
-
options?: VaultsListBySubscriptionOptionalParams,
|
|
168
|
-
settings?: PageSettings
|
|
169
|
-
): AsyncIterableIterator<Vault[]> {
|
|
170
|
-
let result: VaultsListBySubscriptionResponse;
|
|
171
|
-
let continuationToken = settings?.continuationToken;
|
|
172
|
-
if (!continuationToken) {
|
|
173
|
-
result = await this._listBySubscription(options);
|
|
174
|
-
let page = result.value || [];
|
|
175
|
-
continuationToken = result.nextLink;
|
|
176
|
-
setContinuationToken(page, continuationToken);
|
|
177
|
-
yield page;
|
|
178
|
-
}
|
|
179
|
-
while (continuationToken) {
|
|
180
|
-
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
181
|
-
continuationToken = result.nextLink;
|
|
182
|
-
let page = result.value || [];
|
|
183
|
-
setContinuationToken(page, continuationToken);
|
|
184
|
-
yield page;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
private async *listBySubscriptionPagingAll(
|
|
189
|
-
options?: VaultsListBySubscriptionOptionalParams
|
|
190
|
-
): AsyncIterableIterator<Vault> {
|
|
191
|
-
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
192
|
-
yield* page;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Gets information about the deleted vaults in a subscription.
|
|
198
|
-
* @param options The options parameters.
|
|
199
|
-
*/
|
|
200
|
-
public listDeleted(
|
|
201
|
-
options?: VaultsListDeletedOptionalParams
|
|
202
|
-
): PagedAsyncIterableIterator<DeletedVault> {
|
|
203
|
-
const iter = this.listDeletedPagingAll(options);
|
|
204
|
-
return {
|
|
205
|
-
next() {
|
|
206
|
-
return iter.next();
|
|
207
|
-
},
|
|
208
|
-
[Symbol.asyncIterator]() {
|
|
209
|
-
return this;
|
|
210
|
-
},
|
|
211
|
-
byPage: (settings?: PageSettings) => {
|
|
212
|
-
if (settings?.maxPageSize) {
|
|
213
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
214
|
-
}
|
|
215
|
-
return this.listDeletedPagingPage(options, settings);
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
private async *listDeletedPagingPage(
|
|
221
|
-
options?: VaultsListDeletedOptionalParams,
|
|
222
|
-
settings?: PageSettings
|
|
223
|
-
): AsyncIterableIterator<DeletedVault[]> {
|
|
224
|
-
let result: VaultsListDeletedResponse;
|
|
225
|
-
let continuationToken = settings?.continuationToken;
|
|
226
|
-
if (!continuationToken) {
|
|
227
|
-
result = await this._listDeleted(options);
|
|
228
|
-
let page = result.value || [];
|
|
229
|
-
continuationToken = result.nextLink;
|
|
230
|
-
setContinuationToken(page, continuationToken);
|
|
231
|
-
yield page;
|
|
232
|
-
}
|
|
233
|
-
while (continuationToken) {
|
|
234
|
-
result = await this._listDeletedNext(continuationToken, options);
|
|
235
|
-
continuationToken = result.nextLink;
|
|
236
|
-
let page = result.value || [];
|
|
237
|
-
setContinuationToken(page, continuationToken);
|
|
238
|
-
yield page;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
private async *listDeletedPagingAll(
|
|
243
|
-
options?: VaultsListDeletedOptionalParams
|
|
244
|
-
): AsyncIterableIterator<DeletedVault> {
|
|
245
|
-
for await (const page of this.listDeletedPagingPage(options)) {
|
|
246
|
-
yield* page;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* The List operation gets information about the vaults associated with the subscription.
|
|
252
|
-
* @param options The options parameters.
|
|
253
|
-
*/
|
|
254
|
-
public list(
|
|
255
|
-
options?: VaultsListOptionalParams
|
|
256
|
-
): PagedAsyncIterableIterator<Resource> {
|
|
257
|
-
const iter = this.listPagingAll(options);
|
|
258
|
-
return {
|
|
259
|
-
next() {
|
|
260
|
-
return iter.next();
|
|
261
|
-
},
|
|
262
|
-
[Symbol.asyncIterator]() {
|
|
263
|
-
return this;
|
|
264
|
-
},
|
|
265
|
-
byPage: (settings?: PageSettings) => {
|
|
266
|
-
if (settings?.maxPageSize) {
|
|
267
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
268
|
-
}
|
|
269
|
-
return this.listPagingPage(options, settings);
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
private async *listPagingPage(
|
|
275
|
-
options?: VaultsListOptionalParams,
|
|
276
|
-
settings?: PageSettings
|
|
277
|
-
): AsyncIterableIterator<Resource[]> {
|
|
278
|
-
let result: VaultsListResponse;
|
|
279
|
-
let continuationToken = settings?.continuationToken;
|
|
280
|
-
if (!continuationToken) {
|
|
281
|
-
result = await this._list(options);
|
|
282
|
-
let page = result.value || [];
|
|
283
|
-
continuationToken = result.nextLink;
|
|
284
|
-
setContinuationToken(page, continuationToken);
|
|
285
|
-
yield page;
|
|
286
|
-
}
|
|
287
|
-
while (continuationToken) {
|
|
288
|
-
result = await this._listNext(continuationToken, options);
|
|
289
|
-
continuationToken = result.nextLink;
|
|
290
|
-
let page = result.value || [];
|
|
291
|
-
setContinuationToken(page, continuationToken);
|
|
292
|
-
yield page;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
private async *listPagingAll(
|
|
297
|
-
options?: VaultsListOptionalParams
|
|
298
|
-
): AsyncIterableIterator<Resource> {
|
|
299
|
-
for await (const page of this.listPagingPage(options)) {
|
|
300
|
-
yield* page;
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Create or update a key vault in the specified subscription.
|
|
306
|
-
* @param resourceGroupName The name of the Resource Group to which the server belongs.
|
|
307
|
-
* @param vaultName Name of the vault
|
|
308
|
-
* @param parameters Parameters to create or update the vault
|
|
309
|
-
* @param options The options parameters.
|
|
310
|
-
*/
|
|
311
|
-
async beginCreateOrUpdate(
|
|
312
|
-
resourceGroupName: string,
|
|
313
|
-
vaultName: string,
|
|
314
|
-
parameters: VaultCreateOrUpdateParameters,
|
|
315
|
-
options?: VaultsCreateOrUpdateOptionalParams
|
|
316
|
-
): Promise<
|
|
317
|
-
PollerLike<
|
|
318
|
-
PollOperationState<VaultsCreateOrUpdateResponse>,
|
|
319
|
-
VaultsCreateOrUpdateResponse
|
|
320
|
-
>
|
|
321
|
-
> {
|
|
322
|
-
const directSendOperation = async (
|
|
323
|
-
args: coreClient.OperationArguments,
|
|
324
|
-
spec: coreClient.OperationSpec
|
|
325
|
-
): Promise<VaultsCreateOrUpdateResponse> => {
|
|
326
|
-
return this.client.sendOperationRequest(args, spec);
|
|
327
|
-
};
|
|
328
|
-
const sendOperation = async (
|
|
329
|
-
args: coreClient.OperationArguments,
|
|
330
|
-
spec: coreClient.OperationSpec
|
|
331
|
-
) => {
|
|
332
|
-
let currentRawResponse:
|
|
333
|
-
| coreClient.FullOperationResponse
|
|
334
|
-
| undefined = undefined;
|
|
335
|
-
const providedCallback = args.options?.onResponse;
|
|
336
|
-
const callback: coreClient.RawResponseCallback = (
|
|
337
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
338
|
-
flatResponse: unknown
|
|
339
|
-
) => {
|
|
340
|
-
currentRawResponse = rawResponse;
|
|
341
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
342
|
-
};
|
|
343
|
-
const updatedArgs = {
|
|
344
|
-
...args,
|
|
345
|
-
options: {
|
|
346
|
-
...args.options,
|
|
347
|
-
onResponse: callback
|
|
348
|
-
}
|
|
349
|
-
};
|
|
350
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
351
|
-
return {
|
|
352
|
-
flatResponse,
|
|
353
|
-
rawResponse: {
|
|
354
|
-
statusCode: currentRawResponse!.status,
|
|
355
|
-
body: currentRawResponse!.parsedBody,
|
|
356
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
357
|
-
}
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
|
|
361
|
-
const lro = new LroImpl(
|
|
362
|
-
sendOperation,
|
|
363
|
-
{ resourceGroupName, vaultName, parameters, options },
|
|
364
|
-
createOrUpdateOperationSpec
|
|
365
|
-
);
|
|
366
|
-
const poller = new LroEngine(lro, {
|
|
367
|
-
resumeFrom: options?.resumeFrom,
|
|
368
|
-
intervalInMs: options?.updateIntervalInMs
|
|
369
|
-
});
|
|
370
|
-
await poller.poll();
|
|
371
|
-
return poller;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* Create or update a key vault in the specified subscription.
|
|
376
|
-
* @param resourceGroupName The name of the Resource Group to which the server belongs.
|
|
377
|
-
* @param vaultName Name of the vault
|
|
378
|
-
* @param parameters Parameters to create or update the vault
|
|
379
|
-
* @param options The options parameters.
|
|
380
|
-
*/
|
|
381
|
-
async beginCreateOrUpdateAndWait(
|
|
382
|
-
resourceGroupName: string,
|
|
383
|
-
vaultName: string,
|
|
384
|
-
parameters: VaultCreateOrUpdateParameters,
|
|
385
|
-
options?: VaultsCreateOrUpdateOptionalParams
|
|
386
|
-
): Promise<VaultsCreateOrUpdateResponse> {
|
|
387
|
-
const poller = await this.beginCreateOrUpdate(
|
|
388
|
-
resourceGroupName,
|
|
389
|
-
vaultName,
|
|
390
|
-
parameters,
|
|
391
|
-
options
|
|
392
|
-
);
|
|
393
|
-
return poller.pollUntilDone();
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* Update a key vault in the specified subscription.
|
|
398
|
-
* @param resourceGroupName The name of the Resource Group to which the server belongs.
|
|
399
|
-
* @param vaultName Name of the vault
|
|
400
|
-
* @param parameters Parameters to patch the vault
|
|
401
|
-
* @param options The options parameters.
|
|
402
|
-
*/
|
|
403
|
-
update(
|
|
404
|
-
resourceGroupName: string,
|
|
405
|
-
vaultName: string,
|
|
406
|
-
parameters: VaultPatchParameters,
|
|
407
|
-
options?: VaultsUpdateOptionalParams
|
|
408
|
-
): Promise<VaultsUpdateResponse> {
|
|
409
|
-
return this.client.sendOperationRequest(
|
|
410
|
-
{ resourceGroupName, vaultName, parameters, options },
|
|
411
|
-
updateOperationSpec
|
|
412
|
-
);
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Deletes the specified Azure key vault.
|
|
417
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
418
|
-
* @param vaultName The name of the vault to delete
|
|
419
|
-
* @param options The options parameters.
|
|
420
|
-
*/
|
|
421
|
-
delete(
|
|
422
|
-
resourceGroupName: string,
|
|
423
|
-
vaultName: string,
|
|
424
|
-
options?: VaultsDeleteOptionalParams
|
|
425
|
-
): Promise<void> {
|
|
426
|
-
return this.client.sendOperationRequest(
|
|
427
|
-
{ resourceGroupName, vaultName, options },
|
|
428
|
-
deleteOperationSpec
|
|
429
|
-
);
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
/**
|
|
433
|
-
* Gets the specified Azure key vault.
|
|
434
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
435
|
-
* @param vaultName The name of the vault.
|
|
436
|
-
* @param options The options parameters.
|
|
437
|
-
*/
|
|
438
|
-
get(
|
|
439
|
-
resourceGroupName: string,
|
|
440
|
-
vaultName: string,
|
|
441
|
-
options?: VaultsGetOptionalParams
|
|
442
|
-
): Promise<VaultsGetResponse> {
|
|
443
|
-
return this.client.sendOperationRequest(
|
|
444
|
-
{ resourceGroupName, vaultName, options },
|
|
445
|
-
getOperationSpec
|
|
446
|
-
);
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* Update access policies in a key vault in the specified subscription.
|
|
451
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
452
|
-
* @param vaultName Name of the vault
|
|
453
|
-
* @param operationKind Name of the operation
|
|
454
|
-
* @param parameters Access policy to merge into the vault
|
|
455
|
-
* @param options The options parameters.
|
|
456
|
-
*/
|
|
457
|
-
updateAccessPolicy(
|
|
458
|
-
resourceGroupName: string,
|
|
459
|
-
vaultName: string,
|
|
460
|
-
operationKind: AccessPolicyUpdateKind,
|
|
461
|
-
parameters: VaultAccessPolicyParameters,
|
|
462
|
-
options?: VaultsUpdateAccessPolicyOptionalParams
|
|
463
|
-
): Promise<VaultsUpdateAccessPolicyResponse> {
|
|
464
|
-
return this.client.sendOperationRequest(
|
|
465
|
-
{ resourceGroupName, vaultName, operationKind, parameters, options },
|
|
466
|
-
updateAccessPolicyOperationSpec
|
|
467
|
-
);
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* The List operation gets information about the vaults associated with the subscription and within the
|
|
472
|
-
* specified resource group.
|
|
473
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
474
|
-
* @param options The options parameters.
|
|
475
|
-
*/
|
|
476
|
-
private _listByResourceGroup(
|
|
477
|
-
resourceGroupName: string,
|
|
478
|
-
options?: VaultsListByResourceGroupOptionalParams
|
|
479
|
-
): Promise<VaultsListByResourceGroupResponse> {
|
|
480
|
-
return this.client.sendOperationRequest(
|
|
481
|
-
{ resourceGroupName, options },
|
|
482
|
-
listByResourceGroupOperationSpec
|
|
483
|
-
);
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
/**
|
|
487
|
-
* The List operation gets information about the vaults associated with the subscription.
|
|
488
|
-
* @param options The options parameters.
|
|
489
|
-
*/
|
|
490
|
-
private _listBySubscription(
|
|
491
|
-
options?: VaultsListBySubscriptionOptionalParams
|
|
492
|
-
): Promise<VaultsListBySubscriptionResponse> {
|
|
493
|
-
return this.client.sendOperationRequest(
|
|
494
|
-
{ options },
|
|
495
|
-
listBySubscriptionOperationSpec
|
|
496
|
-
);
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* Gets information about the deleted vaults in a subscription.
|
|
501
|
-
* @param options The options parameters.
|
|
502
|
-
*/
|
|
503
|
-
private _listDeleted(
|
|
504
|
-
options?: VaultsListDeletedOptionalParams
|
|
505
|
-
): Promise<VaultsListDeletedResponse> {
|
|
506
|
-
return this.client.sendOperationRequest(
|
|
507
|
-
{ options },
|
|
508
|
-
listDeletedOperationSpec
|
|
509
|
-
);
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Gets the deleted Azure key vault.
|
|
514
|
-
* @param vaultName The name of the vault.
|
|
515
|
-
* @param location The location of the deleted vault.
|
|
516
|
-
* @param options The options parameters.
|
|
517
|
-
*/
|
|
518
|
-
getDeleted(
|
|
519
|
-
vaultName: string,
|
|
520
|
-
location: string,
|
|
521
|
-
options?: VaultsGetDeletedOptionalParams
|
|
522
|
-
): Promise<VaultsGetDeletedResponse> {
|
|
523
|
-
return this.client.sendOperationRequest(
|
|
524
|
-
{ vaultName, location, options },
|
|
525
|
-
getDeletedOperationSpec
|
|
526
|
-
);
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
/**
|
|
530
|
-
* Permanently deletes the specified vault. aka Purges the deleted Azure key vault.
|
|
531
|
-
* @param vaultName The name of the soft-deleted vault.
|
|
532
|
-
* @param location The location of the soft-deleted vault.
|
|
533
|
-
* @param options The options parameters.
|
|
534
|
-
*/
|
|
535
|
-
async beginPurgeDeleted(
|
|
536
|
-
vaultName: string,
|
|
537
|
-
location: string,
|
|
538
|
-
options?: VaultsPurgeDeletedOptionalParams
|
|
539
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
540
|
-
const directSendOperation = async (
|
|
541
|
-
args: coreClient.OperationArguments,
|
|
542
|
-
spec: coreClient.OperationSpec
|
|
543
|
-
): Promise<void> => {
|
|
544
|
-
return this.client.sendOperationRequest(args, spec);
|
|
545
|
-
};
|
|
546
|
-
const sendOperation = async (
|
|
547
|
-
args: coreClient.OperationArguments,
|
|
548
|
-
spec: coreClient.OperationSpec
|
|
549
|
-
) => {
|
|
550
|
-
let currentRawResponse:
|
|
551
|
-
| coreClient.FullOperationResponse
|
|
552
|
-
| undefined = undefined;
|
|
553
|
-
const providedCallback = args.options?.onResponse;
|
|
554
|
-
const callback: coreClient.RawResponseCallback = (
|
|
555
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
556
|
-
flatResponse: unknown
|
|
557
|
-
) => {
|
|
558
|
-
currentRawResponse = rawResponse;
|
|
559
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
560
|
-
};
|
|
561
|
-
const updatedArgs = {
|
|
562
|
-
...args,
|
|
563
|
-
options: {
|
|
564
|
-
...args.options,
|
|
565
|
-
onResponse: callback
|
|
566
|
-
}
|
|
567
|
-
};
|
|
568
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
569
|
-
return {
|
|
570
|
-
flatResponse,
|
|
571
|
-
rawResponse: {
|
|
572
|
-
statusCode: currentRawResponse!.status,
|
|
573
|
-
body: currentRawResponse!.parsedBody,
|
|
574
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
575
|
-
}
|
|
576
|
-
};
|
|
577
|
-
};
|
|
578
|
-
|
|
579
|
-
const lro = new LroImpl(
|
|
580
|
-
sendOperation,
|
|
581
|
-
{ vaultName, location, options },
|
|
582
|
-
purgeDeletedOperationSpec
|
|
583
|
-
);
|
|
584
|
-
const poller = new LroEngine(lro, {
|
|
585
|
-
resumeFrom: options?.resumeFrom,
|
|
586
|
-
intervalInMs: options?.updateIntervalInMs
|
|
587
|
-
});
|
|
588
|
-
await poller.poll();
|
|
589
|
-
return poller;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* Permanently deletes the specified vault. aka Purges the deleted Azure key vault.
|
|
594
|
-
* @param vaultName The name of the soft-deleted vault.
|
|
595
|
-
* @param location The location of the soft-deleted vault.
|
|
596
|
-
* @param options The options parameters.
|
|
597
|
-
*/
|
|
598
|
-
async beginPurgeDeletedAndWait(
|
|
599
|
-
vaultName: string,
|
|
600
|
-
location: string,
|
|
601
|
-
options?: VaultsPurgeDeletedOptionalParams
|
|
602
|
-
): Promise<void> {
|
|
603
|
-
const poller = await this.beginPurgeDeleted(vaultName, location, options);
|
|
604
|
-
return poller.pollUntilDone();
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* The List operation gets information about the vaults associated with the subscription.
|
|
609
|
-
* @param options The options parameters.
|
|
610
|
-
*/
|
|
611
|
-
private _list(
|
|
612
|
-
options?: VaultsListOptionalParams
|
|
613
|
-
): Promise<VaultsListResponse> {
|
|
614
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* Checks that the vault name is valid and is not already in use.
|
|
619
|
-
* @param vaultName The name of the vault.
|
|
620
|
-
* @param options The options parameters.
|
|
621
|
-
*/
|
|
622
|
-
checkNameAvailability(
|
|
623
|
-
vaultName: VaultCheckNameAvailabilityParameters,
|
|
624
|
-
options?: VaultsCheckNameAvailabilityOptionalParams
|
|
625
|
-
): Promise<VaultsCheckNameAvailabilityResponse> {
|
|
626
|
-
return this.client.sendOperationRequest(
|
|
627
|
-
{ vaultName, options },
|
|
628
|
-
checkNameAvailabilityOperationSpec
|
|
629
|
-
);
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* ListByResourceGroupNext
|
|
634
|
-
* @param resourceGroupName The name of the Resource Group to which the vault belongs.
|
|
635
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
636
|
-
* @param options The options parameters.
|
|
637
|
-
*/
|
|
638
|
-
private _listByResourceGroupNext(
|
|
639
|
-
resourceGroupName: string,
|
|
640
|
-
nextLink: string,
|
|
641
|
-
options?: VaultsListByResourceGroupNextOptionalParams
|
|
642
|
-
): Promise<VaultsListByResourceGroupNextResponse> {
|
|
643
|
-
return this.client.sendOperationRequest(
|
|
644
|
-
{ resourceGroupName, nextLink, options },
|
|
645
|
-
listByResourceGroupNextOperationSpec
|
|
646
|
-
);
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* ListBySubscriptionNext
|
|
651
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
652
|
-
* @param options The options parameters.
|
|
653
|
-
*/
|
|
654
|
-
private _listBySubscriptionNext(
|
|
655
|
-
nextLink: string,
|
|
656
|
-
options?: VaultsListBySubscriptionNextOptionalParams
|
|
657
|
-
): Promise<VaultsListBySubscriptionNextResponse> {
|
|
658
|
-
return this.client.sendOperationRequest(
|
|
659
|
-
{ nextLink, options },
|
|
660
|
-
listBySubscriptionNextOperationSpec
|
|
661
|
-
);
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* ListDeletedNext
|
|
666
|
-
* @param nextLink The nextLink from the previous successful call to the ListDeleted method.
|
|
667
|
-
* @param options The options parameters.
|
|
668
|
-
*/
|
|
669
|
-
private _listDeletedNext(
|
|
670
|
-
nextLink: string,
|
|
671
|
-
options?: VaultsListDeletedNextOptionalParams
|
|
672
|
-
): Promise<VaultsListDeletedNextResponse> {
|
|
673
|
-
return this.client.sendOperationRequest(
|
|
674
|
-
{ nextLink, options },
|
|
675
|
-
listDeletedNextOperationSpec
|
|
676
|
-
);
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* ListNext
|
|
681
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
682
|
-
* @param options The options parameters.
|
|
683
|
-
*/
|
|
684
|
-
private _listNext(
|
|
685
|
-
nextLink: string,
|
|
686
|
-
options?: VaultsListNextOptionalParams
|
|
687
|
-
): Promise<VaultsListNextResponse> {
|
|
688
|
-
return this.client.sendOperationRequest(
|
|
689
|
-
{ nextLink, options },
|
|
690
|
-
listNextOperationSpec
|
|
691
|
-
);
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
// Operation Specifications
|
|
695
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
696
|
-
|
|
697
|
-
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
698
|
-
path:
|
|
699
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
700
|
-
httpMethod: "PUT",
|
|
701
|
-
responses: {
|
|
702
|
-
200: {
|
|
703
|
-
bodyMapper: Mappers.Vault
|
|
704
|
-
},
|
|
705
|
-
201: {
|
|
706
|
-
bodyMapper: Mappers.Vault
|
|
707
|
-
},
|
|
708
|
-
202: {
|
|
709
|
-
bodyMapper: Mappers.Vault
|
|
710
|
-
},
|
|
711
|
-
204: {
|
|
712
|
-
bodyMapper: Mappers.Vault
|
|
713
|
-
},
|
|
714
|
-
400: {
|
|
715
|
-
bodyMapper: Mappers.CloudError,
|
|
716
|
-
isError: true
|
|
717
|
-
},
|
|
718
|
-
409: {
|
|
719
|
-
bodyMapper: Mappers.CloudError,
|
|
720
|
-
isError: true
|
|
721
|
-
},
|
|
722
|
-
default: {
|
|
723
|
-
bodyMapper: Mappers.CloudError
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
requestBody: Parameters.parameters,
|
|
727
|
-
queryParameters: [Parameters.apiVersion],
|
|
728
|
-
urlParameters: [
|
|
729
|
-
Parameters.$host,
|
|
730
|
-
Parameters.resourceGroupName,
|
|
731
|
-
Parameters.vaultName,
|
|
732
|
-
Parameters.subscriptionId
|
|
733
|
-
],
|
|
734
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
735
|
-
mediaType: "json",
|
|
736
|
-
serializer
|
|
737
|
-
};
|
|
738
|
-
const updateOperationSpec: coreClient.OperationSpec = {
|
|
739
|
-
path:
|
|
740
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
741
|
-
httpMethod: "PATCH",
|
|
742
|
-
responses: {
|
|
743
|
-
200: {
|
|
744
|
-
bodyMapper: Mappers.Vault
|
|
745
|
-
},
|
|
746
|
-
201: {
|
|
747
|
-
bodyMapper: Mappers.Vault
|
|
748
|
-
},
|
|
749
|
-
400: {
|
|
750
|
-
bodyMapper: Mappers.CloudError,
|
|
751
|
-
isError: true
|
|
752
|
-
},
|
|
753
|
-
409: {
|
|
754
|
-
bodyMapper: Mappers.CloudError,
|
|
755
|
-
isError: true
|
|
756
|
-
},
|
|
757
|
-
default: {
|
|
758
|
-
bodyMapper: Mappers.CloudError
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
requestBody: Parameters.parameters1,
|
|
762
|
-
queryParameters: [Parameters.apiVersion],
|
|
763
|
-
urlParameters: [
|
|
764
|
-
Parameters.$host,
|
|
765
|
-
Parameters.resourceGroupName,
|
|
766
|
-
Parameters.vaultName,
|
|
767
|
-
Parameters.subscriptionId
|
|
768
|
-
],
|
|
769
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
770
|
-
mediaType: "json",
|
|
771
|
-
serializer
|
|
772
|
-
};
|
|
773
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
774
|
-
path:
|
|
775
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
776
|
-
httpMethod: "DELETE",
|
|
777
|
-
responses: {
|
|
778
|
-
200: {},
|
|
779
|
-
204: {},
|
|
780
|
-
400: {
|
|
781
|
-
bodyMapper: Mappers.CloudError,
|
|
782
|
-
isError: true
|
|
783
|
-
},
|
|
784
|
-
default: {
|
|
785
|
-
bodyMapper: Mappers.CloudError
|
|
786
|
-
}
|
|
787
|
-
},
|
|
788
|
-
queryParameters: [Parameters.apiVersion],
|
|
789
|
-
urlParameters: [
|
|
790
|
-
Parameters.$host,
|
|
791
|
-
Parameters.resourceGroupName,
|
|
792
|
-
Parameters.subscriptionId,
|
|
793
|
-
Parameters.vaultName1
|
|
794
|
-
],
|
|
795
|
-
headerParameters: [Parameters.accept],
|
|
796
|
-
serializer
|
|
797
|
-
};
|
|
798
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
799
|
-
path:
|
|
800
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
801
|
-
httpMethod: "GET",
|
|
802
|
-
responses: {
|
|
803
|
-
200: {
|
|
804
|
-
bodyMapper: Mappers.Vault
|
|
805
|
-
},
|
|
806
|
-
default: {
|
|
807
|
-
bodyMapper: Mappers.CloudError
|
|
808
|
-
}
|
|
809
|
-
},
|
|
810
|
-
queryParameters: [Parameters.apiVersion],
|
|
811
|
-
urlParameters: [
|
|
812
|
-
Parameters.$host,
|
|
813
|
-
Parameters.resourceGroupName,
|
|
814
|
-
Parameters.subscriptionId,
|
|
815
|
-
Parameters.vaultName1
|
|
816
|
-
],
|
|
817
|
-
headerParameters: [Parameters.accept],
|
|
818
|
-
serializer
|
|
819
|
-
};
|
|
820
|
-
const updateAccessPolicyOperationSpec: coreClient.OperationSpec = {
|
|
821
|
-
path:
|
|
822
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/accessPolicies/{operationKind}",
|
|
823
|
-
httpMethod: "PUT",
|
|
824
|
-
responses: {
|
|
825
|
-
200: {
|
|
826
|
-
bodyMapper: Mappers.VaultAccessPolicyParameters
|
|
827
|
-
},
|
|
828
|
-
201: {
|
|
829
|
-
bodyMapper: Mappers.VaultAccessPolicyParameters
|
|
830
|
-
},
|
|
831
|
-
400: {
|
|
832
|
-
bodyMapper: Mappers.CloudError,
|
|
833
|
-
isError: true
|
|
834
|
-
},
|
|
835
|
-
404: {
|
|
836
|
-
bodyMapper: Mappers.CloudError,
|
|
837
|
-
isError: true
|
|
838
|
-
},
|
|
839
|
-
409: {
|
|
840
|
-
bodyMapper: Mappers.CloudError,
|
|
841
|
-
isError: true
|
|
842
|
-
},
|
|
843
|
-
default: {
|
|
844
|
-
bodyMapper: Mappers.CloudError
|
|
845
|
-
}
|
|
846
|
-
},
|
|
847
|
-
requestBody: Parameters.parameters2,
|
|
848
|
-
queryParameters: [Parameters.apiVersion],
|
|
849
|
-
urlParameters: [
|
|
850
|
-
Parameters.$host,
|
|
851
|
-
Parameters.resourceGroupName,
|
|
852
|
-
Parameters.vaultName,
|
|
853
|
-
Parameters.subscriptionId,
|
|
854
|
-
Parameters.operationKind
|
|
855
|
-
],
|
|
856
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
857
|
-
mediaType: "json",
|
|
858
|
-
serializer
|
|
859
|
-
};
|
|
860
|
-
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
861
|
-
path:
|
|
862
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults",
|
|
863
|
-
httpMethod: "GET",
|
|
864
|
-
responses: {
|
|
865
|
-
200: {
|
|
866
|
-
bodyMapper: Mappers.VaultListResult
|
|
867
|
-
},
|
|
868
|
-
default: {
|
|
869
|
-
bodyMapper: Mappers.CloudError
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
873
|
-
urlParameters: [
|
|
874
|
-
Parameters.$host,
|
|
875
|
-
Parameters.resourceGroupName,
|
|
876
|
-
Parameters.subscriptionId
|
|
877
|
-
],
|
|
878
|
-
headerParameters: [Parameters.accept],
|
|
879
|
-
serializer
|
|
880
|
-
};
|
|
881
|
-
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
882
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/vaults",
|
|
883
|
-
httpMethod: "GET",
|
|
884
|
-
responses: {
|
|
885
|
-
200: {
|
|
886
|
-
bodyMapper: Mappers.VaultListResult
|
|
887
|
-
},
|
|
888
|
-
default: {
|
|
889
|
-
bodyMapper: Mappers.CloudError
|
|
890
|
-
}
|
|
891
|
-
},
|
|
892
|
-
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
893
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
894
|
-
headerParameters: [Parameters.accept],
|
|
895
|
-
serializer
|
|
896
|
-
};
|
|
897
|
-
const listDeletedOperationSpec: coreClient.OperationSpec = {
|
|
898
|
-
path:
|
|
899
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedVaults",
|
|
900
|
-
httpMethod: "GET",
|
|
901
|
-
responses: {
|
|
902
|
-
200: {
|
|
903
|
-
bodyMapper: Mappers.DeletedVaultListResult
|
|
904
|
-
},
|
|
905
|
-
default: {
|
|
906
|
-
bodyMapper: Mappers.CloudError
|
|
907
|
-
}
|
|
908
|
-
},
|
|
909
|
-
queryParameters: [Parameters.apiVersion],
|
|
910
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
911
|
-
headerParameters: [Parameters.accept],
|
|
912
|
-
serializer
|
|
913
|
-
};
|
|
914
|
-
const getDeletedOperationSpec: coreClient.OperationSpec = {
|
|
915
|
-
path:
|
|
916
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}",
|
|
917
|
-
httpMethod: "GET",
|
|
918
|
-
responses: {
|
|
919
|
-
200: {
|
|
920
|
-
bodyMapper: Mappers.DeletedVault
|
|
921
|
-
},
|
|
922
|
-
default: {
|
|
923
|
-
bodyMapper: Mappers.CloudError
|
|
924
|
-
}
|
|
925
|
-
},
|
|
926
|
-
queryParameters: [Parameters.apiVersion],
|
|
927
|
-
urlParameters: [
|
|
928
|
-
Parameters.$host,
|
|
929
|
-
Parameters.subscriptionId,
|
|
930
|
-
Parameters.vaultName1,
|
|
931
|
-
Parameters.location
|
|
932
|
-
],
|
|
933
|
-
headerParameters: [Parameters.accept],
|
|
934
|
-
serializer
|
|
935
|
-
};
|
|
936
|
-
const purgeDeletedOperationSpec: coreClient.OperationSpec = {
|
|
937
|
-
path:
|
|
938
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}/purge",
|
|
939
|
-
httpMethod: "POST",
|
|
940
|
-
responses: {
|
|
941
|
-
200: {},
|
|
942
|
-
201: {},
|
|
943
|
-
202: {},
|
|
944
|
-
204: {},
|
|
945
|
-
400: {
|
|
946
|
-
bodyMapper: Mappers.CloudError,
|
|
947
|
-
isError: true
|
|
948
|
-
},
|
|
949
|
-
404: {
|
|
950
|
-
bodyMapper: Mappers.CloudError,
|
|
951
|
-
isError: true
|
|
952
|
-
},
|
|
953
|
-
default: {
|
|
954
|
-
bodyMapper: Mappers.CloudError
|
|
955
|
-
}
|
|
956
|
-
},
|
|
957
|
-
queryParameters: [Parameters.apiVersion],
|
|
958
|
-
urlParameters: [
|
|
959
|
-
Parameters.$host,
|
|
960
|
-
Parameters.subscriptionId,
|
|
961
|
-
Parameters.vaultName1,
|
|
962
|
-
Parameters.location
|
|
963
|
-
],
|
|
964
|
-
headerParameters: [Parameters.accept],
|
|
965
|
-
serializer
|
|
966
|
-
};
|
|
967
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
|
968
|
-
path: "/subscriptions/{subscriptionId}/resources",
|
|
969
|
-
httpMethod: "GET",
|
|
970
|
-
responses: {
|
|
971
|
-
200: {
|
|
972
|
-
bodyMapper: Mappers.ResourceListResult
|
|
973
|
-
},
|
|
974
|
-
default: {
|
|
975
|
-
bodyMapper: Mappers.CloudError
|
|
976
|
-
}
|
|
977
|
-
},
|
|
978
|
-
queryParameters: [Parameters.top, Parameters.filter, Parameters.apiVersion1],
|
|
979
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
980
|
-
headerParameters: [Parameters.accept],
|
|
981
|
-
serializer
|
|
982
|
-
};
|
|
983
|
-
const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
984
|
-
path:
|
|
985
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkNameAvailability",
|
|
986
|
-
httpMethod: "POST",
|
|
987
|
-
responses: {
|
|
988
|
-
200: {
|
|
989
|
-
bodyMapper: Mappers.CheckNameAvailabilityResult
|
|
990
|
-
},
|
|
991
|
-
default: {
|
|
992
|
-
bodyMapper: Mappers.CloudError
|
|
993
|
-
}
|
|
994
|
-
},
|
|
995
|
-
requestBody: Parameters.vaultName2,
|
|
996
|
-
queryParameters: [Parameters.apiVersion],
|
|
997
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
998
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
999
|
-
mediaType: "json",
|
|
1000
|
-
serializer
|
|
1001
|
-
};
|
|
1002
|
-
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
1003
|
-
path: "{nextLink}",
|
|
1004
|
-
httpMethod: "GET",
|
|
1005
|
-
responses: {
|
|
1006
|
-
200: {
|
|
1007
|
-
bodyMapper: Mappers.VaultListResult
|
|
1008
|
-
},
|
|
1009
|
-
default: {
|
|
1010
|
-
bodyMapper: Mappers.CloudError
|
|
1011
|
-
}
|
|
1012
|
-
},
|
|
1013
|
-
urlParameters: [
|
|
1014
|
-
Parameters.$host,
|
|
1015
|
-
Parameters.resourceGroupName,
|
|
1016
|
-
Parameters.subscriptionId,
|
|
1017
|
-
Parameters.nextLink
|
|
1018
|
-
],
|
|
1019
|
-
headerParameters: [Parameters.accept],
|
|
1020
|
-
serializer
|
|
1021
|
-
};
|
|
1022
|
-
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
1023
|
-
path: "{nextLink}",
|
|
1024
|
-
httpMethod: "GET",
|
|
1025
|
-
responses: {
|
|
1026
|
-
200: {
|
|
1027
|
-
bodyMapper: Mappers.VaultListResult
|
|
1028
|
-
},
|
|
1029
|
-
default: {
|
|
1030
|
-
bodyMapper: Mappers.CloudError
|
|
1031
|
-
}
|
|
1032
|
-
},
|
|
1033
|
-
urlParameters: [
|
|
1034
|
-
Parameters.$host,
|
|
1035
|
-
Parameters.subscriptionId,
|
|
1036
|
-
Parameters.nextLink
|
|
1037
|
-
],
|
|
1038
|
-
headerParameters: [Parameters.accept],
|
|
1039
|
-
serializer
|
|
1040
|
-
};
|
|
1041
|
-
const listDeletedNextOperationSpec: coreClient.OperationSpec = {
|
|
1042
|
-
path: "{nextLink}",
|
|
1043
|
-
httpMethod: "GET",
|
|
1044
|
-
responses: {
|
|
1045
|
-
200: {
|
|
1046
|
-
bodyMapper: Mappers.DeletedVaultListResult
|
|
1047
|
-
},
|
|
1048
|
-
default: {
|
|
1049
|
-
bodyMapper: Mappers.CloudError
|
|
1050
|
-
}
|
|
1051
|
-
},
|
|
1052
|
-
urlParameters: [
|
|
1053
|
-
Parameters.$host,
|
|
1054
|
-
Parameters.subscriptionId,
|
|
1055
|
-
Parameters.nextLink
|
|
1056
|
-
],
|
|
1057
|
-
headerParameters: [Parameters.accept],
|
|
1058
|
-
serializer
|
|
1059
|
-
};
|
|
1060
|
-
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
1061
|
-
path: "{nextLink}",
|
|
1062
|
-
httpMethod: "GET",
|
|
1063
|
-
responses: {
|
|
1064
|
-
200: {
|
|
1065
|
-
bodyMapper: Mappers.ResourceListResult
|
|
1066
|
-
},
|
|
1067
|
-
default: {
|
|
1068
|
-
bodyMapper: Mappers.CloudError
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
|
-
urlParameters: [
|
|
1072
|
-
Parameters.$host,
|
|
1073
|
-
Parameters.subscriptionId,
|
|
1074
|
-
Parameters.nextLink
|
|
1075
|
-
],
|
|
1076
|
-
headerParameters: [Parameters.accept],
|
|
1077
|
-
serializer
|
|
1078
|
-
};
|