NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #5747 most downloaded on PyPI
Microsoft Azure Costmanagement Management Client Library for Python
Last release 2 months ago
08 Jul 2026
Release timing varies
gaps range from 6 weeks to 2.9 years
Nearly every release is documented
notes for 8 of 8 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
11 releases · first in 2019
Client CostManagementClient added parameter cloud_setting in method __init__
CostManagementClient added parameter cloud_setting in method __init__CostManagementClient added method send_requestCostManagementClient added operation group budgetsCostManagementClient added operation group settingsCostManagementClient added operation group cost_allocation_rulesCostManagementClient added operation group generate_benefit_utilization_summaries_reportAlert added property system_dataBenefitRecommendationModel added property system_dataBenefitResource added property system_dataBenefitUtilizationSummary added property system_dataCommonExportProperties added property data_overwrite_behaviorCommonExportProperties added property compression_modeCommonExportProperties added property export_descriptionCommonExportProperties added property system_suspension_contextExport added property identityExport added property locationExport added property system_dataExportDatasetConfiguration added property data_versionExportDatasetConfiguration added property filtersExportDeliveryDestination added property typeExportProperties added property data_overwrite_behaviorExportProperties added property compression_modeExportProperties added property export_descriptionExportProperties added property system_suspension_contextExportType added member FOCUS_COSTExportType added member PRICE_SHEETExportType added member RESERVATION_DETAILSExportType added member RESERVATION_RECOMMENDATIONSExportType added member RESERVATION_TRANSACTIONSFormatType added member PARQUETGenerateDetailedCostReportOperationResult added property system_dataGenerateDetailedCostReportOperationStatuses added property system_dataGranularityType added member MONTHLYIncludedQuantityUtilizationSummary added property system_dataProxyResource added property system_dataResource added property system_dataSavingsPlanUtilizationSummary added property system_dataTimeframeType added member THE_CURRENT_MONTHView added property system_dataArmErrorResponseAsyncOperationStatusPropertiesBenefitUtilizationSummariesOperationStatusBenefitUtilizationSummariesRequestBenefitUtilizationSummaryReportSchemaBudgetBudgetComparisonExpressionBudgetFilterBudgetFilterPropertiesBudgetNotificationOperatorTypeBudgetOperatorTypeBudgetPropertiesBudgetTimePeriodCategoryTypeCompressionModeTypeCostAllocationPolicyTypeCostAllocationProportionCostAllocationResourceCostAllocationResourceTypeCostAllocationRuleCheckNameAvailabilityRequestCostAllocationRuleCheckNameAvailabilityResponseCostAllocationRuleDefinitionCostAllocationRuleDetailsCostAllocationRulePropertiesCultureCodeCurrentSpendDataOverwriteBehaviorTypeDestinationTypeErrorAdditionalInfoErrorDetailExportRunPropertiesExportRunRequestExportSuspensionContextExtensionResourceFilterItemNamesFilterItemsForecastSpendFrequencyMCAPriceSheetPropertiesNotificationPricesheetDownloadPropertiesReasonReportConfigDefinitionRequestContextRuleStatusSettingSettingTypeSettingsKindSettingsListResultSourceCostAllocationResourceSystemAssignedServiceIdentitySystemAssignedServiceIdentityTypeTagInheritancePropertiesTagInheritanceSettingTargetCostAllocationResourceThresholdTypeTimeGrainTypePriceSheetOperations added method begin_download_by_billing_accountPriceSheetOperations added method begin_download_by_invoiceBudgetsOperationsCostAllocationRulesOperationsGenerateBenefitUtilizationSummariesReportOperationsSettingsOperationsAlert 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 AlertPropertiesCostDetailsOperationResults moved instance variable manifest_version, data_format, byte_count, blob_count, compress_data, blobs, request_scope and request_body under property manifest whose type is ReportManifestDimension moved instance variable description, filter_enabled, grouping_enabled, data, total, category, usage_start, usage_end and next_link under property properties whose type is DimensionPropertiesDismissAlertPayload 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 AlertPropertiesExport moved instance variable format, delivery_info, definition, run_history, partition_data, next_run_time_estimate and schedule under property properties whose type is ExportPropertiesExportRun moved instance variable execution_type, status, submitted_by, submitted_time, processing_start_time, processing_end_time, file_name, run_settings and error under property properties whose type is ExportRunPropertiesForecastComparisonExpression renamed its instance variable values to values_propertyForecastResult moved instance variable next_link, columns and rows under property properties whose type is ForecastPropertiesGenerateDetailedCostReportOperationResult moved instance variable expiry_time, valid_till and download_url under property properties whose type is DownloadURLGenerateDetailedCostReportOperationStatuses moved instance variable expiry_time, valid_till and download_url under property properties whose type is DownloadURLIncludedQuantityUtilizationSummary moved instance variable arm_sku_name, benefit_id, benefit_order_id, benefit_type, usage_date and utilization_percentage under property properties whose type is IncludedQuantityUtilizationSummaryPropertiesOperationStatus moved instance variable report_url and valid_until under property properties whose type is ReportURLQueryComparisonExpression renamed its instance variable values to values_propertyQueryResult moved instance variable next_link, columns and rows under property properties whose type is QueryPropertiesReportConfigComparisonExpression renamed its instance variable values to values_propertySavingsPlanUtilizationSummary 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 SavingsPlanUtilizationSummaryPropertiesScheduledAction moved instance variable display_name, file_destination, notification, notification_email, schedule, scope, status and view_id under property properties whose type is ScheduledActionPropertiesView moved instance variable display_name, scope, created_on, modified_on, date_range, currency, chart, accumulated, metric, kpis, pivots, type_properties_query_type, timeframe, time_period, data_set and include_monetary_commitment under property properties whose type is ViewPropertiesBenefitRecommendationsOperations.list changed its parameter orderby/expand from positional_or_keyword to keyword_onlyBenefitUtilizationSummariesOperations.list_by_billing_account_id changed its parameter grain_parameter from positional_or_keyword to keyword_onlyBenefitUtilizationSummariesOperations.list_by_billing_profile_id changed its parameter grain_parameter from positional_or_keyword to keyword_onlyBenefitUtilizationSummariesOperations.list_by_savings_plan_id changed its parameter grain_parameter from positional_or_keyword to keyword_onlyBenefitUtilizationSummariesOperations.list_by_savings_plan_order changed its parameter grain_parameter from positional_or_keyword to keyword_onlyDimensionsOperations.by_external_cloud_provider_type changed its parameter expand/skiptoken from positional_or_keyword to keyword_onlyDimensionsOperations.list changed its parameter expand/skiptoken from positional_or_keyword to keyword_onlyExportsOperations.get changed its parameter expand from positional_or_keyword to keyword_onlyExportsOperations.list changed its parameter expand from positional_or_keyword to keyword_onlyGenerateReservationDetailsReportOperations.begin_by_billing_account_id changed its parameter start_date/end_date from positional_or_keyword to keyword_onlyGenerateReservationDetailsReportOperations.begin_by_billing_profile_id changed its parameter start_date/end_date from positional_or_keyword to keyword_onlyScheduledActionsOperations.create_or_update replaced positional_or_keyword parameter if_match to keyword_only parameters etag/match_conditionScheduledActionsOperations.create_or_update_by_scope replaced positional_or_keyword parameter if_match to keyword_only parameters etag/match_conditionPriceSheetOperations.begin_downloadPriceSheetOperations.begin_download_by_billing_profile changed return type from LROPoller[DownloadURL] to LROPoller[PricesheetDownloadProperties]BenefitRecommendationsListResult/BenefitUtilizationSummariesListResult/DimensionsListResult/OperationListResult/ScheduledActionListResult/ScheduledActionProxyResource/ViewListResult which actually were not used by SDK usersOne column per quarter.
Client CostManagementClient added parameter cloud_setting in method __init__
CostManagementClient added parameter cloud_setting in method __init__CostManagementClient added method send_requestCostManagementClient added operation group budgetsCostManagementClient added operation group settingsCostManagementClient added operation group cost_allocation_rulesCostManagementClient added operation group generate_benefit_utilization_summaries_reportAlert added property system_dataBenefitRecommendationModel added property system_dataBenefitResource added property system_dataBenefitUtilizationSummary added property system_dataCommonExportProperties added property data_overwrite_behaviorCommonExportProperties added property compression_modeCommonExportProperties added property export_descriptionCommonExportProperties added property system_suspension_contextCostDetailsOperationResults added property manifestExport added property propertiesExport added property identityExport added property locationExport added property system_dataExportDatasetConfiguration added property data_versionExportDatasetConfiguration added property filtersExportDeliveryDestination added property typeExportProperties added property data_overwrite_behaviorExportProperties added property compression_modeExportProperties added property export_descriptionExportProperties added property system_suspension_contextExportType added member FOCUS_COSTExportType added member PRICE_SHEETExportType added member RESERVATION_DETAILSExportType added member RESERVATION_RECOMMENDATIONSExportType added member RESERVATION_TRANSACTIONSForecastResult added property propertiesFormatType added member PARQUETGenerateDetailedCostReportOperationResult added property propertiesGenerateDetailedCostReportOperationResult added property system_dataGenerateDetailedCostReportOperationStatuses added property propertiesGenerateDetailedCostReportOperationStatuses added property system_dataGranularityType added member MONTHLYIncludedQuantityUtilizationSummary added property propertiesIncludedQuantityUtilizationSummary added property system_dataOperationStatus added property propertiesProxyResource added property system_dataQueryResult added property propertiesResource added property system_dataSavingsPlanUtilizationSummary added property propertiesSavingsPlanUtilizationSummary added property system_dataTimeframeType added member THE_CURRENT_MONTHView added property system_dataArmErrorResponseAsyncOperationStatusPropertiesBenefitUtilizationSummariesOperationStatusBenefitUtilizationSummariesRequestBenefitUtilizationSummaryReportSchemaBudgetBudgetComparisonExpressionBudgetFilterBudgetFilterPropertiesBudgetNotificationOperatorTypeBudgetOperatorTypeBudgetPropertiesBudgetTimePeriodCategoryTypeCompressionModeTypeCostAllocationPolicyTypeCostAllocationProportionCostAllocationResourceCostAllocationResourceTypeCostAllocationRuleCheckNameAvailabilityRequestCostAllocationRuleCheckNameAvailabilityResponseCostAllocationRuleDefinitionCostAllocationRuleDetailsCostAllocationRulePropertiesCultureCodeCurrentSpendDataOverwriteBehaviorTypeDestinationTypeErrorAdditionalInfoErrorDetailExportRunRequestExportSuspensionContextExtensionResourceFilterItemNamesFilterItemsForecastSpendFrequencyMCAPriceSheetPropertiesNotificationPricesheetDownloadPropertiesReasonReportConfigDefinitionRequestContextRuleStatusSettingSettingTypeSettingsKindSettingsListResultSourceCostAllocationResourceSystemAssignedServiceIdentitySystemAssignedServiceIdentityTypeTagInheritancePropertiesTagInheritanceSettingTargetCostAllocationResourceThresholdTypeTimeGrainTypePriceSheetOperations added method begin_download_by_billing_accountPriceSheetOperations added method begin_download_by_invoiceBudgetsOperationsCostAllocationRulesOperationsGenerateBenefitUtilizationSummariesReportOperationsSettingsOperationsCostDetailsOperationResults moved instance variable manifest_version, data_format, byte_count, blob_count, compress_data, blobs, request_scope and request_body under property manifest whose type is ReportManifestDismissAlertPayload 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 AlertPropertiesExport moved instance variable format, delivery_info, definition, run_history, partition_data, next_run_time_estimate and schedule under property properties whose type is ExportPropertiesForecastComparisonExpression renamed its instance variable values to values_propertyForecastResult moved instance variable next_link, columns and rows under property properties whose type is ForecastPropertiesGenerateDetailedCostReportOperationResult moved instance variable expiry_time, valid_till and download_url under property properties whose type is DownloadURLGenerateDetailedCostReportOperationStatuses moved instance variable expiry_time, valid_till and download_url under property properties whose type is DownloadURLIncludedQuantityUtilizationSummary moved instance variable arm_sku_name, benefit_id, benefit_order_id, benefit_type, usage_date and utilization_percentage under property properties whose type is IncludedQuantityUtilizationSummaryPropertiesOperationStatus moved instance variable report_url and valid_until under property properties whose type is ReportURLQueryComparisonExpression renamed its instance variable values to values_propertyQueryResult moved instance variable next_link, columns and rows under property properties whose type is QueryPropertiesReportConfigComparisonExpression renamed its instance variable values to values_propertySavingsPlanUtilizationSummary 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 SavingsPlanUtilizationSummaryPropertiesBenefitRecommendationsOperations.list changed its parameter orderby/expand from positional_or_keyword to keyword_onlyBenefitUtilizationSummariesOperations.list_by_billing_account_id changed its parameter grain_parameter from positional_or_keyword to keyword_onlyBenefitUtilizationSummariesOperations.list_by_billing_profile_id changed its parameter grain_parameter from positional_or_keyword to keyword_onlyBenefitUtilizationSummariesOperations.list_by_savings_plan_id changed its parameter grain_parameter from positional_or_keyword to keyword_onlyBenefitUtilizationSummariesOperations.list_by_savings_plan_order changed its parameter grain_parameter from positional_or_keyword to keyword_onlyDimensionsOperations.by_external_cloud_provider_type changed its parameter expand/skiptoken from positional_or_keyword to keyword_onlyDimensionsOperations.list changed its parameter expand/skiptoken from positional_or_keyword to keyword_onlyExportsOperations.get changed its parameter expand from positional_or_keyword to keyword_onlyExportsOperations.list changed its parameter expand from positional_or_keyword to keyword_onlyGenerateReservationDetailsReportOperations.begin_by_billing_account_id changed its parameter start_date/end_date from positional_or_keyword to keyword_onlyGenerateReservationDetailsReportOperations.begin_by_billing_profile_id changed its parameter start_date/end_date from positional_or_keyword to keyword_onlyPriceSheetOperations.begin_downloadScheduledActionsOperations.create_or_update replaced positional_or_keyword parameter if_match with keyword_only parameters etag/match_conditionScheduledActionsOperations.create_or_update_by_scope replaced positional_or_keyword parameter if_match with keyword_only parameters etag/match_conditionPriceSheetOperations.begin_download_by_billing_profile changed return type from LROPoller[DownloadURL] to LROPoller[PricesheetDownloadProperties]ScheduledActionProxyResource which actually was not used by SDK usersFix deserialization error for some operation when error happens
Added operation group BenefitRecommendationsOperations
Added operation group BenefitRecommendationsOperations
Parameter dataset of model QueryDefinition is now required
Breaking changes
Model QueryResult has a new parameter sku
Features
Breaking changes
Model ExportExecution has a new parameter e_tag
Features
Breaking changes
This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentic…
This is beta preview version.
This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).
General breaking changes
Credential system has been completly revamped:
azure.common.credentials or msrestazure.azure_active_directory instances are no longer supported, use the azure-identity classes instead: https://pypi.org/project/azure-identity/credentials parameter has been renamed credentialThe config attribute no longer exists on a client, configuration should be passed as kwarg. Example: MyClient(credential, subscription_id, enable_logging=True). For a complete set of
supported options, see the parameters accept in init documentation of azure-core
You can't import a version module anymore, use __version__ instead
Operations that used to return a msrest.polling.LROPoller now returns a azure.core.polling.LROPoller and are prefixed with begin_.
Exceptions tree have been simplified and most exceptions are now azure.core.exceptions.HttpResponseError (CloudError has been removed).
Most of the operation kwarg have changed. Some of the most noticeable:
raw has been removed. Equivalent feature can be found using cls, a callback that will give access to internal HTTP response for advanced userThis version uses a next-generation code generator that *might* introduce breaking changes. In summary, some modules were incorrectly visible/importab…
Features
Breaking changes
General Breaking Changes
This version uses a next-generation code generator that might introduce breaking changes. In summary, some modules were incorrectly visible/importable and have been renamed. This fixed several issues caused by usage of classes that were not supposed to be used in the first place.
azure.mgmt.costmanagement.cost_management_client anymore (import from
azure.mgmt.costmanagement works like before)azure.mgmt.costmanagement.cost_management_client to azure.mgmt.costmanagementMyClass from a "models" sub-module cannot be imported
anymore using azure.mgmt.costmanagement.models.my_class (import from
azure.mgmt.costmanagement.models works like before)MyClassOperations from an operations
sub-module cannot be imported anymore using
azure.mgmt.costmanagement.operations.my_class_operations (import from
azure.mgmt.costmanagement.operations works like before)Last but not least, HTTP connection pooling is now enabled by default. You should always use a client as a context manager, or call close(), or use no more than one client per process.
- Initial Release
Your coding agent can read these notes before it upgrades. Set up the MCP server →