Skip to content

Commit 646d0ba

Browse files
azure-sdkJialinHuang803Copilotjeremymengkazrael2119
authored
[AutoPR @azure-arm-keyvault]-generated-from-SDK Generation - JS-6022783 (#37688)
Configurations: 'specification/keyvault/resource-manager/Microsoft.KeyVault/KeyVault/tspconfig.yaml', API Version: 2026-02-01, SDK Release Type: stable, and CommitSHA: '2607e4bac26ea35059d8bd6addd3b6c81b0fca4f' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6022783 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. **Release plan link:** [https://web.powerapps.com/apps/821ab569-ae60-420d-8264-d7b5d5ef734c?release-plan-id=b16f91bc-1206-f111-8406-000d3a5a7db7](https://web.powerapps.com/apps/821ab569-ae60-420d-8264-d7b5d5ef734c?release-plan-id=b16f91bc-1206-f111-8406-000d3a5a7db7) **Submitted by**: frauseolanda@microsoft.com ## Release Plan Details - Release Plan: https://aka.ms/sdk-release-planner?release-plan-id=b16f91bc-1206-f111-8406-000d3a5a7db7 Spec pull request: Azure/azure-rest-api-specs#40486 Spec API version: 2026-02-01 --------- Co-authored-by: Jialin Huang <jialinhuang@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jeremy Meng <jeremy.ymeng@gmail.com> Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
1 parent 2655db8 commit 646d0ba

321 files changed

Lines changed: 14727 additions & 16605 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pnpm-lock.yaml

Lines changed: 15 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/batch/batch-rest/vitest.browser.config.ts

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,28 @@
33

44
import viteConfig from "../../../vitest.browser.shared.config.ts";
55

6-
import { mergeConfig } from "vitest/config";
6+
import { defineConfig, mergeConfig } from "vitest/config";
77

8-
export default mergeConfig(viteConfig, {
9-
test: {
10-
globalSetup: ["test/global-setup.ts"],
11-
},
12-
});
8+
export default mergeConfig(
9+
viteConfig,
10+
defineConfig({
11+
test: {
12+
globalSetup: ["test/global-setup.ts"],
13+
},
14+
optimizeDeps: {
15+
// Exclude the bare specifier so Vite doesn't flatten it
16+
exclude: ["@azure/core-lro"],
17+
// Explicitly include both resolved paths so each gets its own pre-bundle chunk
18+
include: [
19+
// v2
20+
"@azure/arm-authorization > @azure/core-lro",
21+
"@azure/arm-batch > @azure/core-lro",
22+
"@azure/arm-compute > @azure/core-lro",
23+
"@azure/arm-resources > @azure/core-lro",
24+
"@azure/keyvault-keys > @azure/core-lro",
25+
// v3
26+
"@azure/arm-keyvault > @azure/core-lro",
27+
],
28+
},
29+
}),
30+
);

sdk/batch/batch/vitest.browser.config.ts

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,28 @@
22
// Licensed under the MIT License.
33

44
import viteConfig from "../../../vitest.browser.shared.config.ts";
5-
import { mergeConfig } from "vitest/config";
5+
import { defineConfig, mergeConfig } from "vitest/config";
66

7-
export default mergeConfig(viteConfig, {
8-
test: {
9-
globalSetup: ["test/global-setup.ts"],
10-
},
11-
});
7+
export default mergeConfig(
8+
viteConfig,
9+
defineConfig({
10+
test: {
11+
globalSetup: ["test/global-setup.ts"],
12+
},
13+
optimizeDeps: {
14+
// Exclude the bare specifier so Vite doesn't flatten it
15+
exclude: ["@azure/core-lro"],
16+
// Explicitly include both resolved paths so each gets its own pre-bundle chunk
17+
include: [
18+
// v2
19+
"@azure/arm-authorization > @azure/core-lro",
20+
"@azure/arm-batch > @azure/core-lro",
21+
"@azure/arm-compute > @azure/core-lro",
22+
"@azure/arm-resources > @azure/core-lro",
23+
"@azure/keyvault-keys > @azure/core-lro",
24+
// v3
25+
"@azure/arm-keyvault > @azure/core-lro",
26+
],
27+
},
28+
}),
29+
);

sdk/keyvault/arm-keyvault/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Release History
22

3+
## 5.0.0 (2026-03-17)
4+
5+
### Features Added
6+
- Added operation ManagedHsmsOperations.createOrUpdate
7+
- Added operation ManagedHsmsOperations.delete
8+
- Added operation ManagedHsmsOperations.purgeDeleted
9+
- Added operation ManagedHsmsOperations.update
10+
- Added operation MhsmPrivateEndpointConnectionsOperations.delete
11+
- Added operation PrivateEndpointConnectionsOperations.delete
12+
- Added operation VaultsOperations.createOrUpdate
13+
- Added operation VaultsOperations.purgeDeleted
14+
- Added Interface MhsmPrivateEndpointConnectionProperties
15+
- Added Interface MhsmPrivateLinkResourceProperties
16+
- Added Interface OperationProperties
17+
- Added Interface PagedAsyncIterableIterator
18+
- Added Interface PageSettings
19+
- Added Interface PrivateEndpointConnectionProperties
20+
- Added Interface PrivateLinkResourceProperties
21+
- Added Interface RestorePollerOptions
22+
- Added Interface SimplePollerLike
23+
- Added Type Alias AzureSupportedClouds
24+
- Added Enum AzureClouds
25+
- Added Enum KnownVersions
26+
27+
### Breaking Changes
28+
- Operation ManagedHsms.beginPurgeDeletedAndWait has a new signature
29+
- Removed Interface ManagedHsmResource
30+
- Parameter location of interface MhsmPrivateLinkResource is now required
31+
332
## 4.0.0 (2025-11-25)
433

534
### Features Added

sdk/keyvault/arm-keyvault/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
The Azure management API provides a RESTful set of web services that interact with Azure Key Vault.
66

7-
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/arm-keyvault) |
8-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-keyvault) |
9-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-keyvault) |
10-
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
7+
Key links:
8+
9+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/arm-keyvault)
10+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-keyvault)
11+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-keyvault?view=azure-node-preview)
12+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/arm-keyvault/samples)
1113

1214
## Getting started
1315

@@ -35,7 +37,7 @@ npm install @azure/arm-keyvault
3537
To create a client object to access the Azure KeyVaultManagement API, you will need the `endpoint` of your Azure KeyVaultManagement resource and a `credential`. The Azure KeyVaultManagement client can use Azure Active Directory credentials to authenticate.
3638
You can find the endpoint for your Azure KeyVaultManagement resource in the [Azure Portal][azure_portal].
3739

38-
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
40+
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
3941

4042
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
4143

@@ -63,14 +65,15 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6365
import { InteractiveBrowserCredential } from "@azure/identity";
6466
import { KeyVaultManagementClient } from "@azure/arm-keyvault";
6567

66-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6768
const credential = new InteractiveBrowserCredential({
6869
tenantId: "<YOUR_TENANT_ID>",
6970
clientId: "<YOUR_CLIENT_ID>",
7071
});
72+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
7173
const client = new KeyVaultManagementClient(credential, subscriptionId);
7274
```
7375

76+
7477
### JavaScript Bundle
7578
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7679

@@ -96,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
9699

97100
## Next steps
98101

99-
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
102+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/arm-keyvault/samples) directory for detailed examples on how to use this library.
100103

101104
## Contributing
102105

@@ -106,9 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
106109

107110
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
108111

109-
110-
[azure_cli]: https://learn.microsoft.com/cli/azure
111-
[azure_sub]: https://azure.microsoft.com/free/
112112
[azure_sub]: https://azure.microsoft.com/free/
113113
[azure_portal]: https://portal.azure.com
114114
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity

sdk/keyvault/arm-keyvault/_meta.json

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"extends": "../../../api-extractor-base.json"
3-
}
1+
{ "extends": "../../../api-extractor-base.json" }

sdk/keyvault/arm-keyvault/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/keyvault/arm-keyvault",
5-
"Tag": "js/keyvault/arm-keyvault_13ec9353ad"
5+
"Tag": "js/keyvault/arm-keyvault_2bfebac9f2"
66
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";
2+
3+
export default azsdkEslint.config([
4+
{
5+
rules: {
6+
"@azure/azure-sdk/ts-modules-only-named": "warn",
7+
"@azure/azure-sdk/ts-package-json-types": "warn",
8+
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
9+
"@azure/azure-sdk/ts-package-json-files-required": "off",
10+
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
11+
"tsdoc/syntax": "warn",
12+
},
13+
},
14+
]);

0 commit comments

Comments
 (0)