@azure/arm-keyvault-profile-2020-09-01-hybrid 2.1.1-alpha.20250210.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/models/parameters.ts
DELETED
|
@@ -1,257 +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 {
|
|
10
|
-
OperationParameter,
|
|
11
|
-
OperationURLParameter,
|
|
12
|
-
OperationQueryParameter
|
|
13
|
-
} from "@azure/core-client";
|
|
14
|
-
import {
|
|
15
|
-
VaultCreateOrUpdateParameters as VaultCreateOrUpdateParametersMapper,
|
|
16
|
-
VaultPatchParameters as VaultPatchParametersMapper,
|
|
17
|
-
VaultAccessPolicyParameters as VaultAccessPolicyParametersMapper,
|
|
18
|
-
VaultCheckNameAvailabilityParameters as VaultCheckNameAvailabilityParametersMapper,
|
|
19
|
-
PrivateEndpointConnection as PrivateEndpointConnectionMapper,
|
|
20
|
-
SecretCreateOrUpdateParameters as SecretCreateOrUpdateParametersMapper,
|
|
21
|
-
SecretPatchParameters as SecretPatchParametersMapper
|
|
22
|
-
} from "../models/mappers";
|
|
23
|
-
|
|
24
|
-
export const contentType: OperationParameter = {
|
|
25
|
-
parameterPath: ["options", "contentType"],
|
|
26
|
-
mapper: {
|
|
27
|
-
defaultValue: "application/json",
|
|
28
|
-
isConstant: true,
|
|
29
|
-
serializedName: "Content-Type",
|
|
30
|
-
type: {
|
|
31
|
-
name: "String"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export const parameters: OperationParameter = {
|
|
37
|
-
parameterPath: "parameters",
|
|
38
|
-
mapper: VaultCreateOrUpdateParametersMapper
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export const accept: OperationParameter = {
|
|
42
|
-
parameterPath: "accept",
|
|
43
|
-
mapper: {
|
|
44
|
-
defaultValue: "application/json",
|
|
45
|
-
isConstant: true,
|
|
46
|
-
serializedName: "Accept",
|
|
47
|
-
type: {
|
|
48
|
-
name: "String"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export const $host: OperationURLParameter = {
|
|
54
|
-
parameterPath: "$host",
|
|
55
|
-
mapper: {
|
|
56
|
-
serializedName: "$host",
|
|
57
|
-
required: true,
|
|
58
|
-
type: {
|
|
59
|
-
name: "String"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
skipEncoding: true
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export const resourceGroupName: OperationURLParameter = {
|
|
66
|
-
parameterPath: "resourceGroupName",
|
|
67
|
-
mapper: {
|
|
68
|
-
serializedName: "resourceGroupName",
|
|
69
|
-
required: true,
|
|
70
|
-
type: {
|
|
71
|
-
name: "String"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
export const vaultName: OperationURLParameter = {
|
|
77
|
-
parameterPath: "vaultName",
|
|
78
|
-
mapper: {
|
|
79
|
-
constraints: {
|
|
80
|
-
Pattern: new RegExp("^[a-zA-Z0-9-]{3,24}$")
|
|
81
|
-
},
|
|
82
|
-
serializedName: "vaultName",
|
|
83
|
-
required: true,
|
|
84
|
-
type: {
|
|
85
|
-
name: "String"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
export const apiVersion: OperationQueryParameter = {
|
|
91
|
-
parameterPath: "apiVersion",
|
|
92
|
-
mapper: {
|
|
93
|
-
defaultValue: "2019-09-01",
|
|
94
|
-
isConstant: true,
|
|
95
|
-
serializedName: "api-version",
|
|
96
|
-
type: {
|
|
97
|
-
name: "String"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
export const subscriptionId: OperationURLParameter = {
|
|
103
|
-
parameterPath: "subscriptionId",
|
|
104
|
-
mapper: {
|
|
105
|
-
serializedName: "subscriptionId",
|
|
106
|
-
required: true,
|
|
107
|
-
type: {
|
|
108
|
-
name: "String"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
export const parameters1: OperationParameter = {
|
|
114
|
-
parameterPath: "parameters",
|
|
115
|
-
mapper: VaultPatchParametersMapper
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
export const vaultName1: OperationURLParameter = {
|
|
119
|
-
parameterPath: "vaultName",
|
|
120
|
-
mapper: {
|
|
121
|
-
serializedName: "vaultName",
|
|
122
|
-
required: true,
|
|
123
|
-
type: {
|
|
124
|
-
name: "String"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
export const parameters2: OperationParameter = {
|
|
130
|
-
parameterPath: "parameters",
|
|
131
|
-
mapper: VaultAccessPolicyParametersMapper
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
export const operationKind: OperationURLParameter = {
|
|
135
|
-
parameterPath: "operationKind",
|
|
136
|
-
mapper: {
|
|
137
|
-
serializedName: "operationKind",
|
|
138
|
-
required: true,
|
|
139
|
-
type: {
|
|
140
|
-
name: "Enum",
|
|
141
|
-
allowedValues: ["add", "replace", "remove"]
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
export const top: OperationQueryParameter = {
|
|
147
|
-
parameterPath: ["options", "top"],
|
|
148
|
-
mapper: {
|
|
149
|
-
serializedName: "$top",
|
|
150
|
-
type: {
|
|
151
|
-
name: "Number"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
export const location: OperationURLParameter = {
|
|
157
|
-
parameterPath: "location",
|
|
158
|
-
mapper: {
|
|
159
|
-
serializedName: "location",
|
|
160
|
-
required: true,
|
|
161
|
-
type: {
|
|
162
|
-
name: "String"
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
export const filter: OperationQueryParameter = {
|
|
168
|
-
parameterPath: "filter",
|
|
169
|
-
mapper: {
|
|
170
|
-
defaultValue: "resourceType eq 'Microsoft.KeyVault/vaults'",
|
|
171
|
-
isConstant: true,
|
|
172
|
-
serializedName: "$filter",
|
|
173
|
-
type: {
|
|
174
|
-
name: "String"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
export const apiVersion1: OperationQueryParameter = {
|
|
180
|
-
parameterPath: "apiVersion",
|
|
181
|
-
mapper: {
|
|
182
|
-
defaultValue: "2015-11-01",
|
|
183
|
-
isConstant: true,
|
|
184
|
-
serializedName: "api-version",
|
|
185
|
-
type: {
|
|
186
|
-
name: "String"
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
|
|
191
|
-
export const vaultName2: OperationParameter = {
|
|
192
|
-
parameterPath: "vaultName",
|
|
193
|
-
mapper: VaultCheckNameAvailabilityParametersMapper
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
export const nextLink: OperationURLParameter = {
|
|
197
|
-
parameterPath: "nextLink",
|
|
198
|
-
mapper: {
|
|
199
|
-
serializedName: "nextLink",
|
|
200
|
-
required: true,
|
|
201
|
-
type: {
|
|
202
|
-
name: "String"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
skipEncoding: true
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
export const privateEndpointConnectionName: OperationURLParameter = {
|
|
209
|
-
parameterPath: "privateEndpointConnectionName",
|
|
210
|
-
mapper: {
|
|
211
|
-
serializedName: "privateEndpointConnectionName",
|
|
212
|
-
required: true,
|
|
213
|
-
type: {
|
|
214
|
-
name: "String"
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
export const properties: OperationParameter = {
|
|
220
|
-
parameterPath: "properties",
|
|
221
|
-
mapper: PrivateEndpointConnectionMapper
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
export const parameters3: OperationParameter = {
|
|
225
|
-
parameterPath: "parameters",
|
|
226
|
-
mapper: SecretCreateOrUpdateParametersMapper
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
export const secretName: OperationURLParameter = {
|
|
230
|
-
parameterPath: "secretName",
|
|
231
|
-
mapper: {
|
|
232
|
-
constraints: {
|
|
233
|
-
Pattern: new RegExp("^[a-zA-Z0-9-]{1,127}$")
|
|
234
|
-
},
|
|
235
|
-
serializedName: "secretName",
|
|
236
|
-
required: true,
|
|
237
|
-
type: {
|
|
238
|
-
name: "String"
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
|
|
243
|
-
export const parameters4: OperationParameter = {
|
|
244
|
-
parameterPath: "parameters",
|
|
245
|
-
mapper: SecretPatchParametersMapper
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
export const secretName1: OperationURLParameter = {
|
|
249
|
-
parameterPath: "secretName",
|
|
250
|
-
mapper: {
|
|
251
|
-
serializedName: "secretName",
|
|
252
|
-
required: true,
|
|
253
|
-
type: {
|
|
254
|
-
name: "String"
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
};
|
package/src/operations/index.ts
DELETED
|
@@ -1,13 +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
|
-
export * from "./vaults";
|
|
10
|
-
export * from "./privateEndpointConnections";
|
|
11
|
-
export * from "./privateLinkResources";
|
|
12
|
-
export * from "./operations";
|
|
13
|
-
export * from "./secrets";
|
|
@@ -1,149 +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 { Operations } 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 {
|
|
17
|
-
Operation,
|
|
18
|
-
OperationsListNextOptionalParams,
|
|
19
|
-
OperationsListOptionalParams,
|
|
20
|
-
OperationsListResponse,
|
|
21
|
-
OperationsListNextResponse
|
|
22
|
-
} from "../models";
|
|
23
|
-
|
|
24
|
-
/// <reference lib="esnext.asynciterable" />
|
|
25
|
-
/** Class containing Operations operations. */
|
|
26
|
-
export class OperationsImpl implements Operations {
|
|
27
|
-
private readonly client: KeyVaultManagementClient;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Initialize a new instance of the class Operations class.
|
|
31
|
-
* @param client Reference to the service client
|
|
32
|
-
*/
|
|
33
|
-
constructor(client: KeyVaultManagementClient) {
|
|
34
|
-
this.client = client;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Lists all of the available Key Vault Rest API operations.
|
|
39
|
-
* @param options The options parameters.
|
|
40
|
-
*/
|
|
41
|
-
public list(
|
|
42
|
-
options?: OperationsListOptionalParams
|
|
43
|
-
): PagedAsyncIterableIterator<Operation> {
|
|
44
|
-
const iter = this.listPagingAll(options);
|
|
45
|
-
return {
|
|
46
|
-
next() {
|
|
47
|
-
return iter.next();
|
|
48
|
-
},
|
|
49
|
-
[Symbol.asyncIterator]() {
|
|
50
|
-
return this;
|
|
51
|
-
},
|
|
52
|
-
byPage: (settings?: PageSettings) => {
|
|
53
|
-
if (settings?.maxPageSize) {
|
|
54
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
55
|
-
}
|
|
56
|
-
return this.listPagingPage(options, settings);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
private async *listPagingPage(
|
|
62
|
-
options?: OperationsListOptionalParams,
|
|
63
|
-
settings?: PageSettings
|
|
64
|
-
): AsyncIterableIterator<Operation[]> {
|
|
65
|
-
let result: OperationsListResponse;
|
|
66
|
-
let continuationToken = settings?.continuationToken;
|
|
67
|
-
if (!continuationToken) {
|
|
68
|
-
result = await this._list(options);
|
|
69
|
-
let page = result.value || [];
|
|
70
|
-
continuationToken = result.nextLink;
|
|
71
|
-
setContinuationToken(page, continuationToken);
|
|
72
|
-
yield page;
|
|
73
|
-
}
|
|
74
|
-
while (continuationToken) {
|
|
75
|
-
result = await this._listNext(continuationToken, options);
|
|
76
|
-
continuationToken = result.nextLink;
|
|
77
|
-
let page = result.value || [];
|
|
78
|
-
setContinuationToken(page, continuationToken);
|
|
79
|
-
yield page;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
private async *listPagingAll(
|
|
84
|
-
options?: OperationsListOptionalParams
|
|
85
|
-
): AsyncIterableIterator<Operation> {
|
|
86
|
-
for await (const page of this.listPagingPage(options)) {
|
|
87
|
-
yield* page;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Lists all of the available Key Vault Rest API operations.
|
|
93
|
-
* @param options The options parameters.
|
|
94
|
-
*/
|
|
95
|
-
private _list(
|
|
96
|
-
options?: OperationsListOptionalParams
|
|
97
|
-
): Promise<OperationsListResponse> {
|
|
98
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* ListNext
|
|
103
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
104
|
-
* @param options The options parameters.
|
|
105
|
-
*/
|
|
106
|
-
private _listNext(
|
|
107
|
-
nextLink: string,
|
|
108
|
-
options?: OperationsListNextOptionalParams
|
|
109
|
-
): Promise<OperationsListNextResponse> {
|
|
110
|
-
return this.client.sendOperationRequest(
|
|
111
|
-
{ nextLink, options },
|
|
112
|
-
listNextOperationSpec
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
// Operation Specifications
|
|
117
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
118
|
-
|
|
119
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
|
120
|
-
path: "/providers/Microsoft.KeyVault/operations",
|
|
121
|
-
httpMethod: "GET",
|
|
122
|
-
responses: {
|
|
123
|
-
200: {
|
|
124
|
-
bodyMapper: Mappers.OperationListResult
|
|
125
|
-
},
|
|
126
|
-
default: {
|
|
127
|
-
bodyMapper: Mappers.CloudError
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
queryParameters: [Parameters.apiVersion],
|
|
131
|
-
urlParameters: [Parameters.$host],
|
|
132
|
-
headerParameters: [Parameters.accept],
|
|
133
|
-
serializer
|
|
134
|
-
};
|
|
135
|
-
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
136
|
-
path: "{nextLink}",
|
|
137
|
-
httpMethod: "GET",
|
|
138
|
-
responses: {
|
|
139
|
-
200: {
|
|
140
|
-
bodyMapper: Mappers.OperationListResult
|
|
141
|
-
},
|
|
142
|
-
default: {
|
|
143
|
-
bodyMapper: Mappers.CloudError
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
147
|
-
headerParameters: [Parameters.accept],
|
|
148
|
-
serializer
|
|
149
|
-
};
|
|
@@ -1,265 +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 { PrivateEndpointConnections } from "../operationsInterfaces";
|
|
10
|
-
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
import { KeyVaultManagementClient } from "../keyVaultManagementClient";
|
|
14
|
-
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
15
|
-
import { LroImpl } from "../lroImpl";
|
|
16
|
-
import {
|
|
17
|
-
PrivateEndpointConnectionsGetOptionalParams,
|
|
18
|
-
PrivateEndpointConnectionsGetResponse,
|
|
19
|
-
PrivateEndpointConnection,
|
|
20
|
-
PrivateEndpointConnectionsPutOptionalParams,
|
|
21
|
-
PrivateEndpointConnectionsPutResponse,
|
|
22
|
-
PrivateEndpointConnectionsDeleteOptionalParams,
|
|
23
|
-
PrivateEndpointConnectionsDeleteResponse
|
|
24
|
-
} from "../models";
|
|
25
|
-
|
|
26
|
-
/** Class containing PrivateEndpointConnections operations. */
|
|
27
|
-
export class PrivateEndpointConnectionsImpl
|
|
28
|
-
implements PrivateEndpointConnections {
|
|
29
|
-
private readonly client: KeyVaultManagementClient;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
33
|
-
* @param client Reference to the service client
|
|
34
|
-
*/
|
|
35
|
-
constructor(client: KeyVaultManagementClient) {
|
|
36
|
-
this.client = client;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Gets the specified private endpoint connection associated with the key vault.
|
|
41
|
-
* @param resourceGroupName Name of the resource group that contains the key vault.
|
|
42
|
-
* @param vaultName The name of the key vault.
|
|
43
|
-
* @param privateEndpointConnectionName Name of the private endpoint connection associated with the key
|
|
44
|
-
* vault.
|
|
45
|
-
* @param options The options parameters.
|
|
46
|
-
*/
|
|
47
|
-
get(
|
|
48
|
-
resourceGroupName: string,
|
|
49
|
-
vaultName: string,
|
|
50
|
-
privateEndpointConnectionName: string,
|
|
51
|
-
options?: PrivateEndpointConnectionsGetOptionalParams
|
|
52
|
-
): Promise<PrivateEndpointConnectionsGetResponse> {
|
|
53
|
-
return this.client.sendOperationRequest(
|
|
54
|
-
{ resourceGroupName, vaultName, privateEndpointConnectionName, options },
|
|
55
|
-
getOperationSpec
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Updates the specified private endpoint connection associated with the key vault.
|
|
61
|
-
* @param resourceGroupName Name of the resource group that contains the key vault.
|
|
62
|
-
* @param vaultName The name of the key vault.
|
|
63
|
-
* @param privateEndpointConnectionName Name of the private endpoint connection associated with the key
|
|
64
|
-
* vault.
|
|
65
|
-
* @param properties The intended state of private endpoint connection.
|
|
66
|
-
* @param options The options parameters.
|
|
67
|
-
*/
|
|
68
|
-
put(
|
|
69
|
-
resourceGroupName: string,
|
|
70
|
-
vaultName: string,
|
|
71
|
-
privateEndpointConnectionName: string,
|
|
72
|
-
properties: PrivateEndpointConnection,
|
|
73
|
-
options?: PrivateEndpointConnectionsPutOptionalParams
|
|
74
|
-
): Promise<PrivateEndpointConnectionsPutResponse> {
|
|
75
|
-
return this.client.sendOperationRequest(
|
|
76
|
-
{
|
|
77
|
-
resourceGroupName,
|
|
78
|
-
vaultName,
|
|
79
|
-
privateEndpointConnectionName,
|
|
80
|
-
properties,
|
|
81
|
-
options
|
|
82
|
-
},
|
|
83
|
-
putOperationSpec
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Deletes the specified private endpoint connection associated with the key vault.
|
|
89
|
-
* @param resourceGroupName Name of the resource group that contains the key vault.
|
|
90
|
-
* @param vaultName The name of the key vault.
|
|
91
|
-
* @param privateEndpointConnectionName Name of the private endpoint connection associated with the key
|
|
92
|
-
* vault.
|
|
93
|
-
* @param options The options parameters.
|
|
94
|
-
*/
|
|
95
|
-
async beginDelete(
|
|
96
|
-
resourceGroupName: string,
|
|
97
|
-
vaultName: string,
|
|
98
|
-
privateEndpointConnectionName: string,
|
|
99
|
-
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
100
|
-
): Promise<
|
|
101
|
-
PollerLike<
|
|
102
|
-
PollOperationState<PrivateEndpointConnectionsDeleteResponse>,
|
|
103
|
-
PrivateEndpointConnectionsDeleteResponse
|
|
104
|
-
>
|
|
105
|
-
> {
|
|
106
|
-
const directSendOperation = async (
|
|
107
|
-
args: coreClient.OperationArguments,
|
|
108
|
-
spec: coreClient.OperationSpec
|
|
109
|
-
): Promise<PrivateEndpointConnectionsDeleteResponse> => {
|
|
110
|
-
return this.client.sendOperationRequest(args, spec);
|
|
111
|
-
};
|
|
112
|
-
const sendOperation = async (
|
|
113
|
-
args: coreClient.OperationArguments,
|
|
114
|
-
spec: coreClient.OperationSpec
|
|
115
|
-
) => {
|
|
116
|
-
let currentRawResponse:
|
|
117
|
-
| coreClient.FullOperationResponse
|
|
118
|
-
| undefined = undefined;
|
|
119
|
-
const providedCallback = args.options?.onResponse;
|
|
120
|
-
const callback: coreClient.RawResponseCallback = (
|
|
121
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
122
|
-
flatResponse: unknown
|
|
123
|
-
) => {
|
|
124
|
-
currentRawResponse = rawResponse;
|
|
125
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
126
|
-
};
|
|
127
|
-
const updatedArgs = {
|
|
128
|
-
...args,
|
|
129
|
-
options: {
|
|
130
|
-
...args.options,
|
|
131
|
-
onResponse: callback
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
135
|
-
return {
|
|
136
|
-
flatResponse,
|
|
137
|
-
rawResponse: {
|
|
138
|
-
statusCode: currentRawResponse!.status,
|
|
139
|
-
body: currentRawResponse!.parsedBody,
|
|
140
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
const lro = new LroImpl(
|
|
146
|
-
sendOperation,
|
|
147
|
-
{ resourceGroupName, vaultName, privateEndpointConnectionName, options },
|
|
148
|
-
deleteOperationSpec
|
|
149
|
-
);
|
|
150
|
-
const poller = new LroEngine(lro, {
|
|
151
|
-
resumeFrom: options?.resumeFrom,
|
|
152
|
-
intervalInMs: options?.updateIntervalInMs
|
|
153
|
-
});
|
|
154
|
-
await poller.poll();
|
|
155
|
-
return poller;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* Deletes the specified private endpoint connection associated with the key vault.
|
|
160
|
-
* @param resourceGroupName Name of the resource group that contains the key vault.
|
|
161
|
-
* @param vaultName The name of the key vault.
|
|
162
|
-
* @param privateEndpointConnectionName Name of the private endpoint connection associated with the key
|
|
163
|
-
* vault.
|
|
164
|
-
* @param options The options parameters.
|
|
165
|
-
*/
|
|
166
|
-
async beginDeleteAndWait(
|
|
167
|
-
resourceGroupName: string,
|
|
168
|
-
vaultName: string,
|
|
169
|
-
privateEndpointConnectionName: string,
|
|
170
|
-
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
171
|
-
): Promise<PrivateEndpointConnectionsDeleteResponse> {
|
|
172
|
-
const poller = await this.beginDelete(
|
|
173
|
-
resourceGroupName,
|
|
174
|
-
vaultName,
|
|
175
|
-
privateEndpointConnectionName,
|
|
176
|
-
options
|
|
177
|
-
);
|
|
178
|
-
return poller.pollUntilDone();
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
// Operation Specifications
|
|
182
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
183
|
-
|
|
184
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
185
|
-
path:
|
|
186
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
187
|
-
httpMethod: "GET",
|
|
188
|
-
responses: {
|
|
189
|
-
200: {
|
|
190
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
191
|
-
},
|
|
192
|
-
204: {},
|
|
193
|
-
default: {
|
|
194
|
-
bodyMapper: Mappers.CloudError
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
queryParameters: [Parameters.apiVersion],
|
|
198
|
-
urlParameters: [
|
|
199
|
-
Parameters.$host,
|
|
200
|
-
Parameters.resourceGroupName,
|
|
201
|
-
Parameters.vaultName,
|
|
202
|
-
Parameters.subscriptionId,
|
|
203
|
-
Parameters.privateEndpointConnectionName
|
|
204
|
-
],
|
|
205
|
-
headerParameters: [Parameters.accept],
|
|
206
|
-
serializer
|
|
207
|
-
};
|
|
208
|
-
const putOperationSpec: coreClient.OperationSpec = {
|
|
209
|
-
path:
|
|
210
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
211
|
-
httpMethod: "PUT",
|
|
212
|
-
responses: {
|
|
213
|
-
200: {
|
|
214
|
-
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
215
|
-
headersMapper: Mappers.PrivateEndpointConnectionsPutHeaders
|
|
216
|
-
},
|
|
217
|
-
default: {
|
|
218
|
-
bodyMapper: Mappers.CloudError
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
requestBody: Parameters.properties,
|
|
222
|
-
queryParameters: [Parameters.apiVersion],
|
|
223
|
-
urlParameters: [
|
|
224
|
-
Parameters.$host,
|
|
225
|
-
Parameters.resourceGroupName,
|
|
226
|
-
Parameters.vaultName,
|
|
227
|
-
Parameters.subscriptionId,
|
|
228
|
-
Parameters.privateEndpointConnectionName
|
|
229
|
-
],
|
|
230
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
231
|
-
mediaType: "json",
|
|
232
|
-
serializer
|
|
233
|
-
};
|
|
234
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
235
|
-
path:
|
|
236
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
237
|
-
httpMethod: "DELETE",
|
|
238
|
-
responses: {
|
|
239
|
-
200: {
|
|
240
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
241
|
-
},
|
|
242
|
-
201: {
|
|
243
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
244
|
-
},
|
|
245
|
-
202: {
|
|
246
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
247
|
-
},
|
|
248
|
-
204: {
|
|
249
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
250
|
-
},
|
|
251
|
-
default: {
|
|
252
|
-
bodyMapper: Mappers.CloudError
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
queryParameters: [Parameters.apiVersion],
|
|
256
|
-
urlParameters: [
|
|
257
|
-
Parameters.$host,
|
|
258
|
-
Parameters.resourceGroupName,
|
|
259
|
-
Parameters.vaultName,
|
|
260
|
-
Parameters.subscriptionId,
|
|
261
|
-
Parameters.privateEndpointConnectionName
|
|
262
|
-
],
|
|
263
|
-
headerParameters: [Parameters.accept],
|
|
264
|
-
serializer
|
|
265
|
-
};
|