|
1 | 1 | # Release History |
2 | 2 |
|
| 3 | +## 0.11.0 (2025-03-24) |
| 4 | +### Breaking Changes |
| 5 | + |
| 6 | +- Function `NewAlertsClient` parameter(s) have been changed from `(string, azcore.TokenCredential, *arm.ClientOptions)` to `(azcore.TokenCredential, *arm.ClientOptions)` |
| 7 | +- Function `*AlertsClient.ChangeState` parameter(s) have been changed from `(context.Context, string, AlertState, *AlertsClientChangeStateOptions)` to `(context.Context, string, string, AlertState, *AlertsClientChangeStateOptions)` |
| 8 | +- Function `*AlertsClient.GetByID` parameter(s) have been changed from `(context.Context, string, *AlertsClientGetByIDOptions)` to `(context.Context, string, string, *AlertsClientGetByIDOptions)` |
| 9 | +- Function `*AlertsClient.GetHistory` parameter(s) have been changed from `(context.Context, string, *AlertsClientGetHistoryOptions)` to `(context.Context, string, string, *AlertsClientGetHistoryOptions)` |
| 10 | +- Function `*AlertsClient.GetSummary` parameter(s) have been changed from `(context.Context, AlertsSummaryGroupByFields, *AlertsClientGetSummaryOptions)` to `(context.Context, string, AlertsSummaryGroupByFields, *AlertsClientGetSummaryOptions)` |
| 11 | +- Function `*AlertsClient.NewGetAllPager` parameter(s) have been changed from `(*AlertsClientGetAllOptions)` to `(string, *AlertsClientGetAllOptions)` |
| 12 | +- Function `*PrometheusRuleGroupsClient.Update` parameter(s) have been changed from `(context.Context, string, string, PrometheusRuleGroupResourcePatch, *PrometheusRuleGroupsClientUpdateOptions)` to `(context.Context, string, string, PrometheusRuleGroupResourcePatchParameters, *PrometheusRuleGroupsClientUpdateOptions)` |
| 13 | +- Function `*ClientFactory.NewTenantActivityLogAlertsClient` has been removed |
| 14 | +- Function `NewTenantActivityLogAlertsClient` has been removed |
| 15 | +- Function `*TenantActivityLogAlertsClient.CreateOrUpdate` has been removed |
| 16 | +- Function `*TenantActivityLogAlertsClient.Delete` has been removed |
| 17 | +- Function `*TenantActivityLogAlertsClient.Get` has been removed |
| 18 | +- Function `*TenantActivityLogAlertsClient.NewListByManagementGroupPager` has been removed |
| 19 | +- Function `*TenantActivityLogAlertsClient.NewListByTenantPager` has been removed |
| 20 | +- Function `*TenantActivityLogAlertsClient.Update` has been removed |
| 21 | +- Struct `ActionGroup` has been removed |
| 22 | +- Struct `ActionList` has been removed |
| 23 | +- Struct `AlertRuleAllOfCondition` has been removed |
| 24 | +- Struct `AlertRuleAnyOfOrLeafCondition` has been removed |
| 25 | +- Struct `AlertRuleLeafCondition` has been removed |
| 26 | +- Struct `AlertRuleProperties` has been removed |
| 27 | +- Struct `PrometheusRuleGroupResourcePatch` has been removed |
| 28 | +- Struct `PrometheusRuleGroupResourcePatchProperties` has been removed |
| 29 | +- Struct `TenantActivityLogAlertResource` has been removed |
| 30 | +- Struct `TenantAlertRuleList` has been removed |
| 31 | +- Struct `TenantAlertRulePatchObject` has been removed |
| 32 | +- Struct `TenantAlertRulePatchProperties` has been removed |
| 33 | + |
| 34 | +### Features Added |
| 35 | + |
| 36 | +- New value `AlertStateFired`, `AlertStateFiring`, `AlertStateNoAlert`, `AlertStateResolved`, `AlertStateResolving` added to enum type `AlertState` |
| 37 | +- New value `MonitorServiceResourceHealth` added to enum type `MonitorService` |
| 38 | +- New enum type `AlertSeverity` with values `AlertSeverityFour`, `AlertSeverityOne`, `AlertSeverityThree`, `AlertSeverityTwo`, `AlertSeverityZero` |
| 39 | +- New enum type `ConditionOperator` with values `ConditionOperatorEquals`, `ConditionOperatorGreaterOrLessThan`, `ConditionOperatorGreaterThan`, `ConditionOperatorGreaterThanOrEqual`, `ConditionOperatorLessThan`, `ConditionOperatorLessThanOrEqual` |
| 40 | +- New enum type `CriterionType` with values `CriterionTypeDynamicThresholdCriterion`, `CriterionTypeStaticThresholdCriterion` |
| 41 | +- New enum type `DimensionOperator` with values `DimensionOperatorExclude`, `DimensionOperatorInclude` |
| 42 | +- New enum type `IdentityType` with values `IdentityTypeNone`, `IdentityTypeSystemAssigned`, `IdentityTypeUserAssigned` |
| 43 | +- New enum type `Kind` with values `KindEventLogAlert`, `KindLogAlert`, `KindLogToMetric` |
| 44 | +- New enum type `Status` with values `StatusFailed`, `StatusSucceeded` |
| 45 | +- New enum type `TimeAggregation` with values `TimeAggregationAverage`, `TimeAggregationCount`, `TimeAggregationMaximum`, `TimeAggregationMinimum`, `TimeAggregationTotal` |
| 46 | +- New enum type `Type` with values `TypePrometheusInstantQuery`, `TypePrometheusRangeQuery` |
| 47 | +- New function `*AlertEnrichmentItem.GetAlertEnrichmentItem() *AlertEnrichmentItem` |
| 48 | +- New function `*AlertsClient.GetEnrichments(context.Context, string, string, *AlertsClientGetEnrichmentsOptions) (AlertsClientGetEnrichmentsResponse, error)` |
| 49 | +- New function `*AlertsClient.NewListEnrichmentsPager(string, string, *AlertsClientListEnrichmentsOptions) *runtime.Pager[AlertsClientListEnrichmentsResponse]` |
| 50 | +- New function `NewClient(string, azcore.TokenCredential, *arm.ClientOptions) (*Client, error)` |
| 51 | +- New function `*Client.PreviewAlertRule(context.Context, PreviewAlertRuleRequest, *ClientPreviewAlertRuleOptions) (ClientPreviewAlertRuleResponse, error)` |
| 52 | +- New function `*ClientFactory.NewClient() *Client` |
| 53 | +- New function `*PrometheusEnrichmentItem.GetAlertEnrichmentItem() *AlertEnrichmentItem` |
| 54 | +- New function `*PrometheusEnrichmentItem.GetPrometheusEnrichmentItem() *PrometheusEnrichmentItem` |
| 55 | +- New function `*PrometheusInstantQuery.GetAlertEnrichmentItem() *AlertEnrichmentItem` |
| 56 | +- New function `*PrometheusInstantQuery.GetPrometheusEnrichmentItem() *PrometheusEnrichmentItem` |
| 57 | +- New function `*PrometheusRangeQuery.GetAlertEnrichmentItem() *AlertEnrichmentItem` |
| 58 | +- New function `*PrometheusRangeQuery.GetPrometheusEnrichmentItem() *PrometheusEnrichmentItem` |
| 59 | +- New struct `AlertEnrichmentProperties` |
| 60 | +- New struct `AlertEnrichmentResponse` |
| 61 | +- New struct `AlertEnrichmentsList` |
| 62 | +- New struct `CorrelationDetails` |
| 63 | +- New struct `DimensionNameAndValue` |
| 64 | +- New struct `EvaluatedPeriod` |
| 65 | +- New struct `Evaluation` |
| 66 | +- New struct `LogAlertRuleCondition` |
| 67 | +- New struct `LogAlertRuleConditionFailingPeriods` |
| 68 | +- New struct `LogAlertRuleCriteria` |
| 69 | +- New struct `LogAlertRuleDimension` |
| 70 | +- New struct `LogAlertRuleIdentity` |
| 71 | +- New struct `LogAlertRuleProperties` |
| 72 | +- New struct `LogAlertRuleResolveConfiguration` |
| 73 | +- New struct `LogAlertRuleResource` |
| 74 | +- New struct `LogAlertRuleUserIdentityProperties` |
| 75 | +- New struct `PreviewAlertRuleRequest` |
| 76 | +- New struct `PreviewAlertRuleRequestProperties` |
| 77 | +- New struct `PreviewAlertRuleResponse` |
| 78 | +- New struct `PrometheusInstantQuery` |
| 79 | +- New struct `PrometheusRangeQuery` |
| 80 | +- New struct `PrometheusRuleGroupResourcePatchParameters` |
| 81 | +- New struct `PrometheusRuleGroupResourcePatchParametersProperties` |
| 82 | +- New struct `RulePreviewResult` |
| 83 | +- New field `Category` in struct `AlertRuleRecommendationProperties` |
| 84 | +- New field `CorrelationDetails`, `HasEnrichments`, `IsStatefulAlert` in struct `Essentials` |
| 85 | + |
| 86 | + |
3 | 87 | ## 0.10.0 (2024-03-01) |
4 | 88 | ### Breaking Changes |
5 | 89 |
|
|
0 commit comments