github Azure/azure-sdk-for-python azure-mgmt-alertsmanagement_2.0.0b3

pre-releaseone hour ago

2.0.0b3 (2026-05-27)

Features Added

  • Client AlertsManagementClient added parameter cloud_setting in method __init__
  • Client AlertsManagementClient added method send_request
  • Enum ActionType added member INTERNAL
  • Model Alert added property system_data
  • Model AlertModificationItem added property details
  • Model AlertProperties added property custom_properties
  • Enum MonitorService added member RESOURCE_HEALTH
  • Model Operation added property is_data_action
  • Model Operation added property action_type
  • Model Resource added property system_data
  • Added model ActionSuppressedDetails
  • Added model ActionTriggeredDetails
  • Added model AlertEnrichmentItem
  • Added model AlertEnrichmentProperties
  • Added model AlertEnrichmentResponse
  • Added enum AlertModificationType
  • Added model AlertsManagementErrorResponse
  • Added model BaseDetails
  • Added model NotificationResult
  • Added enum Origin
  • Added model PrometheusEnrichmentItem
  • Added model PrometheusInstantQuery
  • Added model PrometheusRangeQuery
  • Added model PropertyChangeDetails
  • Added model ProxyResource
  • Added model ProxyResourceAutoGenerated
  • Added enum ResultStatus
  • Added enum RuleType
  • Added enum Status
  • Added model TriggeredRule
  • Added enum Type
  • Operation group AlertsOperations added method change_state_tenant
  • Operation group AlertsOperations added method get_all_tenant
  • Operation group AlertsOperations added method get_by_id_tenant
  • Operation group AlertsOperations added method get_enrichments
  • Operation group AlertsOperations added method get_history_tenant

Breaking Changes

  • This version introduces new hybrid models which have dual dictionary and model nature. And 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.
  • Deleted or renamed client operation group AlertsManagementClient.alert_processing_rules
  • Deleted or renamed client operation group AlertsManagementClient.prometheus_rule_groups
  • Deleted or renamed client operation group AlertsManagementClient.smart_groups
  • Method AlertsManagementClient.__init__ deleted or renamed its parameter subscription_id of kind positional_or_keyword
  • Deleted or renamed enum value ActionType.ADD_ACTION_GROUPS
  • Deleted or renamed enum value ActionType.REMOVE_ALL_ACTION_GROUPS
  • Deleted or renamed enum value AlertModificationEvent.ACTIONS_FAILED
  • Deleted or renamed enum value AlertModificationEvent.ACTION_RULE_SUPPRESSED
  • Deleted or renamed enum value AlertModificationEvent.ACTION_RULE_TRIGGERED
  • Model AlertsSummaryGroup renamed its instance variable values to values_property
  • Model AlertsSummaryGroupItem renamed its instance variable values to values_property
  • Method AlertsOperations.change_state changed its parameter new_state from positional_or_keyword to keyword_only
  • Method AlertsOperations.change_state inserted a positional_or_keyword parameter scope
  • Method AlertsOperations.get_all changed its parameter target_resource/target_resource_type/target_resource_group/monitor_service/monitor_condition/severity/alert_state/alert_rule/smart_group_id/include_context/include_egress_config/page_count/sort_by/sort_order/select/time_range/custom_time_range from positional_or_keyword to keyword_only
  • Method AlertsOperations.get_all inserted a positional_or_keyword parameter scope
  • Method AlertsOperations.get_by_id inserted a positional_or_keyword parameter scope
  • Method AlertsOperations.get_history inserted a positional_or_keyword parameter scope
  • Method AlertsOperations.get_summary changed its parameter groupby/include_smart_groups_count/target_resource/target_resource_type/target_resource_group/monitor_service/monitor_condition/severity/alert_state/alert_rule/time_range/custom_time_range from positional_or_keyword to keyword_only
  • Method AlertsOperations.get_summary inserted a positional_or_keyword parameter scope
  • Method AlertsOperations.meta_data changed its parameter identifier from positional_or_keyword to keyword_only
  • Deleted or renamed operation group AlertProcessingRulesOperations
  • Deleted or renamed operation group PrometheusRuleGroupsOperations
  • Deleted or renamed operation group SmartGroupsOperations

Other Changes

  • Deleted model AlertProcessingRulesList/AlertsList/OperationsList/PrometheusRuleGroupResourceCollection/SmartGroupsList which actually were not used by SDK users
  • Deleted model Action/AddActionGroups/AlertProcessingRule/AlertProcessingRuleProperties/Condition/DailyRecurrence/ErrorResponseAutoGenerated/ErrorResponseAutoGenerated2/ErrorResponseAutoGenerated3/ErrorResponseBodyAutoGenerated/ErrorResponseBodyAutoGenerated2/ManagedResource/MonthlyRecurrence/PatchObject/PrometheusRule/PrometheusRuleGroupAction/PrometheusRuleGroupResource/PrometheusRuleGroupResourcePatch/PrometheusRuleGroupResourcePatchProperties/PrometheusRuleResolveConfiguration/Recurrence/RemoveAllActionGroups/ResourceAutoGenerated/Schedule/SmartGroup/SmartGroupAggregatedProperty/SmartGroupModification/SmartGroupModificationItem/SmartGroupModificationProperties/TrackedResource/WeeklyRecurrence which actually were not used by SDK users
  • Deleted enum DaysOfWeek/Field/Operator/RecurrenceType/SmartGroupModificationEvent/SmartGroupsSortByFields/State which actually were not used by SDK users

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.