Skip to content

Commit 491e3a1

Browse files
azure-sdkv-jiaodi
andauthored
[AutoPR @azure-arm-msi]-generated-from-SDK Generation - JS-6319430 (#38589)
Configurations: 'specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/tspconfig.yaml', API Version: 2025-05-31-preview, SDK Release Type: beta, and CommitSHA: '04e1bf1293607d05faacc008c84d64a9bb3f3338' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6319430 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --------- Co-authored-by: Jiao Di (MSFT) <v-jiaodi@microsoft.com>
1 parent cd87ae9 commit 491e3a1

138 files changed

Lines changed: 4372 additions & 4029 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.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@
781781
# PRLabel: %Mgmt
782782
/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/ @qiaozha @MaryGao @JialinHuang803
783783

784-
# PRLabel: %Mgmt
784+
# PRLabel: %Mgmt %mgmt-review-needed
785785
/sdk/msi/arm-msi/ @qiaozha @MaryGao @JialinHuang803
786786

787787
# PRLabel: %Mgmt

pnpm-lock.yaml

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

sdk/msi/arm-msi/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
# Release History
2+
3+
## 2.3.0-beta.1 (2026-05-19)
4+
Compared with version 2.2.0
5+
6+
### Features Added
7+
- Added Interface AssignmentRestrictions
8+
- Added Interface ClaimsMatchingExpression
9+
- Added Interface ExtensionResource
10+
- Added Interface FederatedIdentityCredentialProperties
11+
- Added Interface PagedAsyncIterableIterator
12+
- Added Interface PageSettings
13+
- Added Interface SystemAssignedIdentityProperties
14+
- Added Interface UserAssignedIdentityProperties
15+
- Interface FederatedIdentityCredential has a new optional parameter claimsMatchingExpression
16+
- Interface Identity has a new optional parameter assignmentRestrictions
17+
- Interface IdentityUpdate has a new optional parameter assignmentRestrictions
18+
- Added Type Alias AzureSupportedClouds
19+
- Added Enum AzureClouds
20+
- Added Enum KnownVersions
21+
222

323
## 2.2.0 (2025-07-09)
424

sdk/msi/arm-msi/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 Managed Service Identity Client.
66

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

1214
## Getting started
1315

@@ -35,7 +37,7 @@ npm install @azure/arm-msi
3537
To create a client object to access the Azure ManagedServiceIdentity API, you will need the `endpoint` of your Azure ManagedServiceIdentity resource and a `credential`. The Azure ManagedServiceIdentity client can use Azure Active Directory credentials to authenticate.
3638
You can find the endpoint for your Azure ManagedServiceIdentity 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 { ManagedServiceIdentityClient } from "@azure/arm-msi";
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 ManagedServiceIdentityClient(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/msi/arm-msi/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/msi/arm-msi/_meta.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

sdk/msi/arm-msi/api-extractor.json

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/msi/arm-msi/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/msi/arm-msi",
5-
"Tag": "js/msi/arm-msi_4653262748"
5+
"Tag": "js/msi/arm-msi_5c34f24a64"
66
}

sdk/msi/arm-msi/config/tsconfig.samples.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"extends": "../../../../eng/tsconfigs/samples.json",
33
"compilerOptions": {
44
"paths": {
5-
"@azure/arm-msi": [
6-
"../dist/esm"
7-
]
5+
"@azure/arm-msi": ["../dist/esm"]
86
}
97
}
108
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
22
"extends": "../../../../eng/tsconfigs/src.browser.json",
3-
"include": [
4-
"../src/index.ts"
5-
]
3+
"include": ["../src/index.ts"]
64
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
22
"extends": "../../../../eng/tsconfigs/src.cjs.json",
3-
"include": [
4-
"../src/index.ts"
5-
]
3+
"include": ["../src/index.ts"]
64
}

0 commit comments

Comments
 (0)