Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 20 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

214 changes: 202 additions & 12 deletions sdk/cost-management/arm-costmanagement/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,211 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.3 (2026-06-05)
Compared with version 1.0.0-beta.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Tool IssueCHANGELOG.md:4
Compared with version 1.0.0-beta.1

The previously released version of this package is 1.0.0-beta.2 (2025-08-22), not 1.0.0-beta.1. The 1.0.0-beta.2 entry is also removed entirely from this PR, which hides prior published changes.

Fix: Update CHANGELOG.md to compare against 1.0.0-beta.2 and restore the 1.0.0-beta.2 entry. Report this mismatch in the generation tool repository.


### Features Added
- Added operation group BudgetsOperations
- Added operation group CostAllocationRulesOperations
- Added operation group GenerateBenefitUtilizationSummariesReportOperations
- Added operation group SettingsOperations
- Added operation GenerateCostDetailsReportOperations.createOperation
- Added operation GenerateCostDetailsReportOperations.getOperationResults
- Added operation GenerateDetailedCostReportOperations.createOperation
- Added operation GenerateDetailedCostReportOperationResultsOperations.get
- Added operation GenerateReservationDetailsReportOperations.byBillingAccountId
- Added operation GenerateReservationDetailsReportOperations.byBillingProfileId
- Added operation PriceSheetOperations.downloadByBillingAccount
- Added operation PriceSheetOperations.downloadByBillingProfile
- Added operation PriceSheetOperations.downloadByInvoice
- Added Interface AlertProperties
- Added Interface ArmErrorResponse
- Added Interface AsyncOperationStatusProperties
- Added Interface BenefitUtilizationSummariesOperationStatus
- Added Interface BenefitUtilizationSummariesRequest
- Added Interface Budget
- Added Interface BudgetComparisonExpression
- Added Interface BudgetFilter
- Added Interface BudgetFilterProperties
- Added Interface BudgetProperties
- Added Interface BudgetsCreateOrUpdateOptionalParams
- Added Interface BudgetsDeleteOptionalParams
- Added Interface BudgetsGetOptionalParams
- Added Interface BudgetsListOptionalParams
- Added Interface BudgetTimePeriod
- Added Interface CostAllocationProportion
- Added Interface CostAllocationResource
- Added Interface CostAllocationRuleCheckNameAvailabilityRequest
- Added Interface CostAllocationRuleCheckNameAvailabilityResponse
- Added Interface CostAllocationRuleDefinition
- Added Interface CostAllocationRuleDetails
- Added Interface CostAllocationRuleProperties
- Added Interface CostAllocationRulesCheckNameAvailabilityOptionalParams
- Added Interface CostAllocationRulesCreateOrUpdateOptionalParams
- Added Interface CostAllocationRulesDeleteOptionalParams
- Added Interface CostAllocationRulesGetOptionalParams
- Added Interface CostAllocationRulesListOptionalParams
- Added Interface CurrentSpend
- Added Interface DimensionProperties
- Added Interface DimensionsListByExternalCloudProviderTypeOptionalParams
- Added Interface ErrorAdditionalInfo
- Added Interface ErrorDetail
- Added Interface ExportRunProperties
- Added Interface ExportRunRequest
- Added Interface ExportSuspensionContext
- Added Interface ExtensionResource
- Added Interface FilterItems
- Added Interface ForecastProperties
- Added Interface ForecastSpend
- Added Interface GenerateBenefitUtilizationSummariesReportGenerateByBillingAccountOptionalParams
- Added Interface GenerateBenefitUtilizationSummariesReportGenerateByBillingProfileOptionalParams
- Added Interface GenerateBenefitUtilizationSummariesReportGenerateByReservationIdOptionalParams
- Added Interface GenerateBenefitUtilizationSummariesReportGenerateByReservationOrderIdOptionalParams
- Added Interface GenerateBenefitUtilizationSummariesReportGenerateBySavingsPlanIdOptionalParams
- Added Interface GenerateBenefitUtilizationSummariesReportGenerateBySavingsPlanOrderIdOptionalParams
- Added Interface MCAPriceSheetProperties
- Added Interface Notification
- Added Interface PagedAsyncIterableIterator
- Added Interface PageSettings
- Added Interface PriceSheetDownloadByBillingAccountOptionalParams
- Added Interface PriceSheetDownloadByInvoiceOptionalParams
- Added Interface PricesheetDownloadProperties
- Added Interface QueryProperties
- Added Interface ReportConfigDefinition
- Added Interface ReportManifest
- Added Interface ReportURL
- Added Interface RequestContext
- Added Interface RestorePollerOptions
- Added Interface ScheduledActionProperties
- Added Interface Setting
- Added Interface SettingsCreateOrUpdateByScopeOptionalParams
- Added Interface SettingsDeleteByScopeOptionalParams
- Added Interface SettingsGetByScopeOptionalParams
- Added Interface SettingsListOptionalParams
- Added Interface SettingsListResult
- Added Interface SourceCostAllocationResource
- Added Interface SystemAssignedServiceIdentity
- Added Interface TagInheritanceProperties
- Added Interface TagInheritanceSetting
- Added Interface TargetCostAllocationResource
- Added Interface ViewProperties
- Interface Alert has a new optional parameter systemData
- Interface BenefitRecommendationModel has a new optional parameter systemData
- Interface BenefitResource has a new optional parameter systemData
- Interface BenefitUtilizationSummary has a new optional parameter systemData
- Interface CommonExportProperties has a new optional parameter compressionMode
- Interface CommonExportProperties has a new optional parameter dataOverwriteBehavior
- Interface CommonExportProperties has a new optional parameter exportDescription
- Interface CommonExportProperties has a new optional parameter systemSuspensionContext
- Interface CostDetailsOperationResults has a new optional parameter requestContext
- Interface Export has a new optional parameter compressionMode
- Interface Export has a new optional parameter dataOverwriteBehavior
- Interface Export has a new optional parameter exportDescription
- Interface Export has a new optional parameter identity
- Interface Export has a new optional parameter location
- Interface Export has a new optional parameter systemSuspensionContext
- Interface Export has a new optional parameter systemData
- Interface ExportDatasetConfiguration has a new optional parameter dataVersion
- Interface ExportDatasetConfiguration has a new optional parameter filters
- Interface ExportDeliveryDestination has a new optional parameter type
- Interface ExportProperties has a new optional parameter compressionMode
- Interface ExportProperties has a new optional parameter dataOverwriteBehavior
- Interface ExportProperties has a new optional parameter exportDescription
- Interface ExportProperties has a new optional parameter systemSuspensionContext
- Interface ExportRun has a new optional parameter endDate
- Interface ExportRun has a new optional parameter manifestFile
- Interface ExportRun has a new optional parameter startDate
- Interface ExportsExecuteOptionalParams has a new optional parameter parameters
- Interface GenerateDetailedCostReportOperationResult has a new optional parameter systemData
- Interface GenerateDetailedCostReportOperationStatuses has a new optional parameter systemData
- Interface IncludedQuantityUtilizationSummary has a new optional parameter systemData
- Interface ProxyResource has a new optional parameter systemData
- Interface Resource has a new optional parameter systemData
- Interface SavingsPlanUtilizationSummary has a new optional parameter systemData
- Interface View has a new optional parameter query
- Interface View has a new optional parameter systemData
- Added Type Alias AzureSupportedClouds
- Added Type Alias BenefitUtilizationSummaryReportSchema
- Added Type Alias BudgetNotificationOperatorType
- Added Type Alias BudgetOperatorType
- Added Type Alias CategoryType
- Added Type Alias CompressionModeType
- Added Type Alias CostAllocationPolicyType
- Added Type Alias CostAllocationResourceType
- Added Type Alias CultureCode
- Added Type Alias DataOverwriteBehaviorType
- Added Type Alias DestinationType
- Added Type Alias FilterItemNames
- Added Type Alias Frequency
- Added Type Alias Reason
- Added Type Alias RuleStatus
- Added Type Alias SettingsKind
- Added Type Alias SettingType
- Added Type Alias SettingUnion
- Added Type Alias SystemAssignedServiceIdentityType
- Added Type Alias ThresholdType
- Added Type Alias TimeGrainType
- Added Enum AzureClouds
- Added Enum KnownBenefitUtilizationSummaryReportSchema
- Added Enum KnownBudgetNotificationOperatorType
- Added Enum KnownBudgetOperatorType
- Added Enum KnownCategoryType
- Added Enum KnownCompressionModeType
- Added Enum KnownCostAllocationPolicyType
- Added Enum KnownCostAllocationResourceType
- Added Enum KnownCultureCode
- Added Enum KnownDataOverwriteBehaviorType
- Added Enum KnownDestinationType
- Added Enum KnownFilterItemNames
- Added Enum KnownFrequency
- Added Enum KnownReason
- Added Enum KnownRuleStatus
- Added Enum KnownSettingsKind
- Added Enum KnownSettingType
- Added Enum KnownSystemAssignedServiceIdentityType
- Added Enum KnownThresholdType
- Added Enum KnownTimeGrainType
- Added Enum KnownVersions
- Enum KnownExportType has a new value FocusCost
- Enum KnownExportType has a new value PriceSheet
- Enum KnownExportType has a new value ReservationDetails
- Enum KnownExportType has a new value ReservationRecommendations
- Enum KnownExportType has a new value ReservationTransactions
- Enum KnownFormatType has a new value Parquet
- Enum KnownGranularityType has a new value Monthly
- Enum KnownTimeframeType has a new value TheCurrentMonth

### Breaking Changes
- Removed operation GenerateCostDetailsReport.beginCreateOperation
- Removed operation GenerateCostDetailsReport.beginCreateOperationAndWait
- Removed operation GenerateCostDetailsReport.beginGetOperationResults
- Removed operation GenerateCostDetailsReport.beginGetOperationResultsAndWait
- Removed operation GenerateDetailedCostReport.beginCreateOperation
- Removed operation GenerateDetailedCostReport.beginCreateOperationAndWait
- Removed operation GenerateDetailedCostReportOperationResults.beginGet
- Removed operation GenerateDetailedCostReportOperationResults.beginGetAndWait
- Removed operation GenerateReservationDetailsReport.beginByBillingAccountId
- Removed operation GenerateReservationDetailsReport.beginByBillingAccountIdAndWait
- Removed operation GenerateReservationDetailsReport.beginByBillingProfileId
- Removed operation GenerateReservationDetailsReport.beginByBillingProfileIdAndWait
- Removed operation PriceSheet.beginDownload
- Removed operation PriceSheet.beginDownloadAndWait
- Removed operation PriceSheet.beginDownloadByBillingProfile
- Removed operation PriceSheet.beginDownloadByBillingProfileAndWait
- Class CostManagementClient no longer has parameter apiVersion
- Removed Interface DimensionsByExternalCloudProviderTypeOptionalParams
- Removed Interface PriceSheetDownloadOptionalParams
- Removed Interface ScheduledActionProxyResource
- Type of parameter scope of interface BenefitRecommendationProperties is changed from "Single" | "Shared" to Scope
- Interface CostDetailsOperationResults no longer has parameter requestBody
- Interface CostDetailsOperationResults no longer has parameter requestScope
- Interface View no longer has parameter dataSet
- Interface View no longer has parameter includeMonetaryCommitment
- Interface View no longer has parameter timeframe
- Interface View no longer has parameter timePeriod
- Interface View no longer has parameter typePropertiesQueryType
- Type alias "BenefitRecommendationPropertiesUnion" has been changed

### Bugs Fixed

### Other Changes

## 1.0.0-beta.2 (2025-08-22)

### Other Changes

- Other fixes


## 1.0.0-beta.1 (2023-05-09)

The package of @azure/arm-costmanagement is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
The package of @azure/arm-costmanagement is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
2 changes: 1 addition & 1 deletion sdk/cost-management/arm-costmanagement/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
21 changes: 9 additions & 12 deletions sdk/cost-management/arm-costmanagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f

CostManagement management client provides access to CostManagement resources for Azure Enterprise Subscriptions.

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cost-management/arm-costmanagement) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-costmanagement) |
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-costmanagement) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
Key links:

- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cost-management/arm-costmanagement)
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-costmanagement)
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-costmanagement?view=azure-node-preview)
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cost-management/arm-costmanagement/samples)

## Getting started

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

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).
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).

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

Expand All @@ -44,7 +46,6 @@ npm install @azure/identity
```

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).
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`.

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).

Expand All @@ -70,8 +71,8 @@ const credential = new InteractiveBrowserCredential({
const client = new CostManagementClient(credential);
```

### JavaScript Bundle

### JavaScript Bundle
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).

## Key concepts
Expand All @@ -96,7 +97,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur

## Next steps

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

## Contributing

Expand All @@ -106,10 +107,6 @@ If you'd like to contribute to this library, please read the [contributing guide

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



[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
[azure_portal]: https://portal.azure.com
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
Expand Down
8 changes: 0 additions & 8 deletions sdk/cost-management/arm-costmanagement/_meta.json

This file was deleted.

4 changes: 1 addition & 3 deletions sdk/cost-management/arm-costmanagement/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
"extends": "../../../api-extractor-base.json"
}
{ "extends": "../../../api-extractor-base.json" }
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"extends": "../../../../tsconfig.json",
"include": [
"../src",
"../test"
]
"include": ["../src", "../test"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"extends": "../../../../eng/tsconfigs/samples.json",
"compilerOptions": {
"paths": {
"@azure/arm-costmanagement": [
"../dist/esm"
]
"@azure/arm-costmanagement": ["../dist/esm"]
}
}
}
Loading
Loading