Skip to content

Commit 47ea71b

Browse files
azure-sdkv-jiaodi
andauthored
[AutoPR @azure-arm-appinsights]-generated-from-SDK Generation - JS-6324898 (#38606)
Configurations: 'specification/applicationinsights/resource-manager/Microsoft.Insights/ApplicationInsights/tspconfig.yaml', and CommitSHA: 'e67a053fe77b756382f0333ca22019a4b3470385' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6324898 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 9e85bf8 commit 47ea71b

443 files changed

Lines changed: 16506 additions & 20740 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
@@ -367,7 +367,7 @@
367367
# PRLabel: %Mgmt %mgmt-review-needed
368368
/sdk/appconfiguration/arm-appconfiguration/ @qiaozha @MaryGao @JialinHuang803
369369

370-
# PRLabel: %Mgmt
370+
# PRLabel: %Mgmt %mgmt-review-needed
371371
/sdk/applicationinsights/arm-appinsights/ @qiaozha @MaryGao @JialinHuang803
372372

373373
# PRLabel: %Mgmt

pnpm-lock.yaml

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

sdk/applicationinsights/arm-appinsights/CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Release History
22

3-
## 5.0.0-beta.8 (2025-02-06)
4-
3+
## 5.0.0-beta.9 (2026-05-20)
54
### Features Added
65

7-
The package of @azure/arm-appinsights is using our next generation design principles since version 5.0.0-beta.8, which contains breaking changes.
6+
The package of @azure/arm-appinsights is using our next generation design principles since version 5.0.0-beta.9, which contains breaking changes.
87

98
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
109

sdk/applicationinsights/arm-appinsights/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/applicationinsights/arm-appinsights/README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ApplicationInsightsManagement client.
44

5-
Composite Swagger for Application Insights Management Client
5+
Azure Application Insights client for saved items.
66

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

1214
## Getting started
1315

@@ -35,7 +37,7 @@ npm install @azure/arm-appinsights
3537
To create a client object to access the Azure ApplicationInsightsManagement API, you will need the `endpoint` of your Azure ApplicationInsightsManagement resource and a `credential`. The Azure ApplicationInsightsManagement client can use Azure Active Directory credentials to authenticate.
3638
You can find the endpoint for your Azure ApplicationInsightsManagement 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

@@ -66,16 +68,16 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6668
import { InteractiveBrowserCredential } from "@azure/identity";
6769
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
6870

69-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
7071
const credential = new InteractiveBrowserCredential({
7172
tenantId: "<YOUR_TENANT_ID>",
7273
clientId: "<YOUR_CLIENT_ID>",
7374
});
75+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
7476
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
7577
```
7678

77-
### JavaScript Bundle
7879

80+
### JavaScript Bundle
7981
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).
8082

8183
## Key concepts
@@ -100,7 +102,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
100102

101103
## Next steps
102104

103-
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.
105+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/applicationinsights/arm-appinsights/samples) directory for detailed examples on how to use this library.
104106

105107
## Contributing
106108

@@ -110,10 +112,6 @@ If you'd like to contribute to this library, please read the [contributing guide
110112

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

113-
114-
115-
[azure_cli]: https://learn.microsoft.com/cli/azure
116-
[azure_sub]: https://azure.microsoft.com/free/
117115
[azure_sub]: https://azure.microsoft.com/free/
118116
[azure_portal]: https://portal.azure.com
119117
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity

sdk/applicationinsights/arm-appinsights/_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/applicationinsights/arm-appinsights/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/applicationinsights/arm-appinsights",
5-
"Tag": "js/applicationinsights/arm-appinsights_6eb5c16fe2"
5+
"Tag": "js/applicationinsights/arm-appinsights_0150d67114"
66
}

sdk/applicationinsights/arm-appinsights/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-appinsights": [
6-
"../dist/esm"
7-
]
5+
"@azure/arm-appinsights": ["../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
}

0 commit comments

Comments
 (0)