@azure/arm-changeanalysis 2.1.1-alpha.20250109.1 → 2.1.1-alpha.20250113.1

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.
Files changed (2) hide show
  1. package/README.md +8 -7
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,11 +2,9 @@
2
2
 
3
3
  This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureChangeAnalysisManagement client.
4
4
 
5
-
6
-
7
5
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/changeanalysis/arm-changeanalysis) |
8
6
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-changeanalysis) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-changeanalysis) |
7
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-changeanalysis) |
10
8
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
9
 
12
10
  ## Getting started
@@ -46,7 +44,7 @@ npm install @azure/identity
46
44
  You will also need to **register a new AAD application and grant access to AzureChangeAnalysisManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
45
  Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
46
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
47
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
48
 
51
49
  ```javascript
52
50
  const { AzureChangeAnalysisManagementClient } = require("@azure/arm-changeanalysis");
@@ -54,7 +52,10 @@ const { DefaultAzureCredential } = require("@azure/identity");
54
52
  // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
55
53
 
56
54
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
- const client = new AzureChangeAnalysisManagementClient(new DefaultAzureCredential(), subscriptionId);
55
+ const client = new AzureChangeAnalysisManagementClient(
56
+ new DefaultAzureCredential(),
57
+ subscriptionId,
58
+ );
58
59
 
59
60
  // For client-side applications running in the browser, use this code instead:
60
61
  // const credential = new InteractiveBrowserCredential({
@@ -64,8 +65,8 @@ const client = new AzureChangeAnalysisManagementClient(new DefaultAzureCredentia
64
65
  // const client = new AzureChangeAnalysisManagementClient(credential, subscriptionId);
65
66
  ```
66
67
 
67
-
68
68
  ### JavaScript Bundle
69
+
69
70
  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).
70
71
 
71
72
  ## Key concepts
@@ -101,7 +102,7 @@ If you'd like to contribute to this library, please read the [contributing guide
101
102
 
102
103
  ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fchangeanalysis%2Farm-changeanalysis%2FREADME.png)
103
104
 
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
105
+ [azure_cli]: https://learn.microsoft.com/cli/azure
105
106
  [azure_sub]: https://azure.microsoft.com/free/
106
107
  [azure_sub]: https://azure.microsoft.com/free/
107
108
  [azure_portal]: https://portal.azure.com
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for AzureChangeAnalysisManagementClient.",
6
- "version": "2.1.1-alpha.20250109.1",
6
+ "version": "2.1.1-alpha.20250113.1",
7
7
  "engines": {
8
8
  "node": ">=18.0.0"
9
9
  },
@@ -95,7 +95,7 @@
95
95
  "azure"
96
96
  ],
97
97
  "disableDocsMs": true,
98
- "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-changeanalysis?view=azure-node-preview"
98
+ "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-changeanalysis?view=azure-node-preview"
99
99
  },
100
100
  "type": "module",
101
101
  "tshy": {