@azure/arm-costmanagement 1.0.0-alpha.20250109.1 → 1.0.0-alpha.20250110.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.
package/README.md CHANGED
@@ -6,7 +6,7 @@ CostManagement management client provides access to CostManagement resources for
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cost-management/arm-costmanagement) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-costmanagement) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-costmanagement) |
9
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-costmanagement) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
@@ -46,7 +46,7 @@ npm install @azure/identity
46
46
  You will also need to **register a new AAD application and grant access to Azure CostManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
47
  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
48
 
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).
49
+ 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
50
 
51
51
  ```javascript
52
52
  const { CostManagementClient } = require("@azure/arm-costmanagement");
@@ -64,8 +64,8 @@ const client = new CostManagementClient(new DefaultAzureCredential(), subscripti
64
64
  // const client = new CostManagementClient(credential, subscriptionId);
65
65
  ```
66
66
 
67
-
68
67
  ### JavaScript Bundle
68
+
69
69
  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
70
 
71
71
  ## Key concepts
@@ -101,7 +101,7 @@ If you'd like to contribute to this library, please read the [contributing guide
101
101
 
102
102
  ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcost-management%2Farm-costmanagement%2FREADME.png)
103
103
 
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
104
+ [azure_cli]: https://learn.microsoft.com/cli/azure
105
105
  [azure_sub]: https://azure.microsoft.com/free/
106
106
  [azure_sub]: https://azure.microsoft.com/free/
107
107
  [azure_portal]: https://portal.azure.com
@@ -13,9 +13,9 @@ import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
15
15
  /**
16
- * This sample demonstrates how to Generates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by certain enterprise roles. For more details on the roles see, https://docs.microsoft.com/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role
16
+ * This sample demonstrates how to Generates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by certain enterprise roles. For more details on the roles see, https://learn.microsoft.com/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role
17
17
  *
18
- * @summary Generates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by certain enterprise roles. For more details on the roles see, https://docs.microsoft.com/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role
18
+ * @summary Generates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by certain enterprise roles. For more details on the roles see, https://learn.microsoft.com/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role
19
19
  * x-ms-original-file: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/examples/GenerateReservationDetailsReportByBillingAccount.json
20
20
  */
21
21
  function reservationDetails() {
@@ -13,9 +13,9 @@ import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
15
15
  /**
16
- * This sample demonstrates how to Generates the reservations details report for provided date range asynchronously by billing profile. The Reservation usage details can be viewed by only certain enterprise roles by default. For more details on the roles see, https://docs.microsoft.com/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
16
+ * This sample demonstrates how to Generates the reservations details report for provided date range asynchronously by billing profile. The Reservation usage details can be viewed by only certain enterprise roles by default. For more details on the roles see, https://learn.microsoft.com/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
17
17
  *
18
- * @summary Generates the reservations details report for provided date range asynchronously by billing profile. The Reservation usage details can be viewed by only certain enterprise roles by default. For more details on the roles see, https://docs.microsoft.com/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
18
+ * @summary Generates the reservations details report for provided date range asynchronously by billing profile. The Reservation usage details can be viewed by only certain enterprise roles by default. For more details on the roles see, https://learn.microsoft.com/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
19
19
  * x-ms-original-file: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/examples/GenerateReservationDetailsReportByBillingProfile.json
20
20
  */
21
21
  function reservationDetails() {
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 CostManagementClient.",
6
- "version": "1.0.0-alpha.20250109.1",
6
+ "version": "1.0.0-alpha.20250110.1",
7
7
  "engines": {
8
8
  "node": ">=18.0.0"
9
9
  },
@@ -108,6 +108,6 @@
108
108
  "azure"
109
109
  ],
110
110
  "disableDocsMs": true,
111
- "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-costmanagement?view=azure-node-preview"
111
+ "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-costmanagement?view=azure-node-preview"
112
112
  }
113
113
  }