Skip to content
Closed
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
  •  
  •  
  •  
72 changes: 72 additions & 0 deletions sdk/costmanagement/azure-mgmt-costmanagement/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,77 @@
# Release History

## 4.1.0 (2026-05-25)

### Features Added

- Client `CostManagementClient` added method `send_request`
- Model `Alert` added property `system_data`
- Model `BenefitRecommendationModel` added property `system_data`
- Model `BenefitResource` added property `system_data`
- Model `BenefitUtilizationSummary` added property `system_data`
- Model `Budget` added property `system_data`
- Model `CostAllocationRuleDefinition` added property `system_data`
- Model `Export` added property `system_data`
- Model `GenerateDetailedCostReportOperationResult` added property `system_data`
- Model `GenerateDetailedCostReportOperationStatuses` added property `system_data`
- Model `IncludedQuantityUtilizationSummary` added property `system_data`
- Model `ProxyResource` added property `system_data`
- Model `Resource` added property `system_data`
- Model `SavingsPlanUtilizationSummary` added property `system_data`
- Model `Setting` added property `system_data`
- Model `TagInheritanceSetting` added property `system_data`
- Model `View` added property `system_data`
- Added model `ArmErrorResponse`
- Added model `ExtensionResource`
- Added model `ReportConfigDefinition`

### Breaking Changes

- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
- Model `BudgetComparisonExpression` renamed its instance variable `values` to `values_property`
- Model `CostDetailsOperationResults` moved instance variable `manifest_version`, `data_format`, `byte_count`, `blob_count`, `compress_data`, and `blobs` under property `manifest` whose type is `ReportManifest`
- Model `CostDetailsOperationResults` moved instance variable `request_scope` and `request_body` under property `manifest.request_context` whose type is `RequestContext`
- Model `DismissAlertPayload` moved instance variable `definition`, `description`, `source`, `details`, `cost_entity_id`, `status`, `creation_time`, `close_time`, `modification_time`, `status_modification_user_name`, and `status_modification_time` under property `properties` whose type is `AlertProperties`
- Model `Export` moved instance variable `format`, `delivery_info`, `definition`, `run_history`, `partition_data`, `data_overwrite_behavior`, `compression_mode`, `export_description`, `next_run_time_estimate`, `system_suspension_context`, and `schedule` under property `properties` whose type is `ExportProperties`
- Model `ForecastComparisonExpression` renamed its instance variable `values` to `values_property`
- Model `ForecastResult` moved instance variable `next_link`, `columns`, and `rows` under property `properties` whose type is `ForecastProperties`
- Model `GenerateDetailedCostReportOperationResult` moved instance variable `expiry_time`, `valid_till`, and `download_url` under property `properties` whose type is `DownloadURL`
- Model `GenerateDetailedCostReportOperationStatuses` moved instance variable `expiry_time`, `valid_till`, and `download_url` under property `properties` whose type is `DownloadURL`
- Model `IncludedQuantityUtilizationSummary` moved instance variable `arm_sku_name`, `benefit_id`, `benefit_order_id`, `benefit_type`, `usage_date`, and `utilization_percentage` under property `properties` whose type is `IncludedQuantityUtilizationSummaryProperties`
- Model `OperationStatus` moved instance variable `report_url` and `valid_until` under property `properties` whose type is `ReportURL`
- Deleted or renamed enum value `OperationStatusType.COMPLETE`
- Model `QueryComparisonExpression` renamed its instance variable `values` to `values_property`
- Model `QueryResult` moved instance variable `next_link`, `columns`, and `rows` under property `properties` whose type is `QueryProperties`
- Model `ReportConfigComparisonExpression` renamed its instance variable `values` to `values_property`
- Model `SavingsPlanUtilizationSummary` moved instance variable `arm_sku_name`, `benefit_id`, `benefit_order_id`, `benefit_type`, `usage_date`, `avg_utilization_percentage`, `min_utilization_percentage`, and `max_utilization_percentage` under property `properties` whose type is `SavingsPlanUtilizationSummaryProperties`
- Model `SourceCostAllocationResource` renamed its instance variable `values` to `values_property`
- Model `TargetCostAllocationResource` renamed its instance variable `values` to `values_property`
- Deleted or renamed model `CostAllocationRuleList`
- Deleted or renamed model `EAPriceSheetProperties`
- Deleted or renamed model `ErrorDetailAutoGenerated`
- Deleted or renamed model `ErrorResponseAutoGenerated`
- Deleted or renamed model `ErrorResponseAutoGenerated2`
- Renamed enum `KpiType` to `KpiTypeType`
- Deleted or renamed model `OperationStatusAutoGenerated`
- Renamed enum `PivotType` to `PivotTypeType`
- Deleted or renamed model `ScheduledActionProxyResource`
- Method `BenefitRecommendationsOperations.list` changed its parameter `orderby`/`expand` from `positional_or_keyword` to `keyword_only`
- Method `BenefitUtilizationSummariesOperations.list_by_billing_account_id` changed its parameter `grain_parameter` from `positional_or_keyword` to `keyword_only`
- Method `BenefitUtilizationSummariesOperations.list_by_billing_profile_id` changed its parameter `grain_parameter` from `positional_or_keyword` to `keyword_only`
- Method `BenefitUtilizationSummariesOperations.list_by_savings_plan_id` changed its parameter `grain_parameter` from `positional_or_keyword` to `keyword_only`
- Method `BenefitUtilizationSummariesOperations.list_by_savings_plan_order` changed its parameter `grain_parameter` from `positional_or_keyword` to `keyword_only`
- Method `DimensionsOperations.by_external_cloud_provider_type` changed its parameter `expand`/`skiptoken` from `positional_or_keyword` to `keyword_only`
- Method `DimensionsOperations.list` changed its parameter `expand`/`skiptoken` from `positional_or_keyword` to `keyword_only`
- Method `ExportsOperations.get` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
- Method `ExportsOperations.list` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
- Method `GenerateReservationDetailsReportOperations.begin_by_billing_account_id` changed its parameter `start_date`/`end_date` from `positional_or_keyword` to `keyword_only`
- Method `GenerateReservationDetailsReportOperations.begin_by_billing_profile_id` changed its parameter `start_date`/`end_date` from `positional_or_keyword` to `keyword_only`
- Method `ScheduledActionsOperations.create_or_update` replaced positional_or_keyword parameter `if_match` to keyword_only parameter `etag`/`match_condition`
- Method `ScheduledActionsOperations.create_or_update_by_scope` replaced positional_or_keyword parameter `if_match` to keyword_only parameter `etag`/`match_condition`
- Method `PriceSheetOperations.begin_download_by_billing_account` changed return type from `AsyncLROPoller[OperationStatusAutoGenerated]` to `AsyncLROPoller[OperationStatus]`
- Method `PriceSheetOperations.begin_download_by_billing_account` changed return type from `LROPoller[OperationStatusAutoGenerated]` to `LROPoller[OperationStatus]`

## 4.0.1 (2023-07-19)

### Bugs Fixed
Expand Down
9 changes: 4 additions & 5 deletions sdk/costmanagement/azure-mgmt-costmanagement/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
include _meta.json
recursive-include tests *.py *.json
recursive-include samples *.py *.md
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
include LICENSE
include azure/mgmt/costmanagement/py.typed
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/__init__.py
include azure/mgmt/__init__.py
9 changes: 3 additions & 6 deletions sdk/costmanagement/azure-mgmt-costmanagement/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Cost Management Client Library.
This package has been tested with Python 3.7+.
This package has been tested with Python 3.10+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand All @@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For

### Prerequisites

- Python 3.7+ is required to use this package.
- Python 3.10+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package
Expand All @@ -24,7 +24,7 @@ pip install azure-identity

### Authentication

By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down Expand Up @@ -55,6 +55,3 @@ Code samples for this package can be found at:
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.



11 changes: 0 additions & 11 deletions sdk/costmanagement/azure-mgmt-costmanagement/_meta.json

This file was deleted.

10 changes: 10 additions & 0 deletions sdk/costmanagement/azure-mgmt-costmanagement/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"apiVersion": "2025-03-01",
"apiVersions": {
"Microsoft.CostManagement": "2025-03-01"
},
"commit": "7089f3d2a4ed7e765d66f5f5e3be0b8b1eed6c1a",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/cost-management/resource-manager/Microsoft.CostManagement/CostManagement",
"emitterVersion": "0.62.1"
}
Loading
Loading