Skip to content

Commit

Permalink
CodeGen from PR 31836 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge d3564ce281acdda774ba94fb67bb4cb37ba6ca46 into 686e46ec33eefe2a9a436159cc460de0f769cb03
  • Loading branch information
SDKAuto committed Dec 11, 2024
1 parent 679a930 commit b92666b
Show file tree
Hide file tree
Showing 30 changed files with 1,041 additions and 7,098 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,94 @@
# Release History

## 0.11.0 (2024-12-11)
### Breaking Changes

- Function `NewAlertsClient` parameter(s) have been changed from `(string, azcore.TokenCredential, *arm.ClientOptions)` to `(azcore.TokenCredential, *arm.ClientOptions)`
- Function `*AlertsClient.ChangeState` parameter(s) have been changed from `(context.Context, string, AlertState, *AlertsClientChangeStateOptions)` to `(context.Context, string, string, AlertState, *AlertsClientChangeStateOptions)`
- Function `*AlertsClient.GetByID` parameter(s) have been changed from `(context.Context, string, *AlertsClientGetByIDOptions)` to `(context.Context, string, string, *AlertsClientGetByIDOptions)`
- Function `*AlertsClient.GetHistory` parameter(s) have been changed from `(context.Context, string, *AlertsClientGetHistoryOptions)` to `(context.Context, string, string, *AlertsClientGetHistoryOptions)`
- Function `*AlertsClient.GetSummary` parameter(s) have been changed from `(context.Context, AlertsSummaryGroupByFields, *AlertsClientGetSummaryOptions)` to `(context.Context, string, AlertsSummaryGroupByFields, *AlertsClientGetSummaryOptions)`
- Function `*AlertsClient.NewGetAllPager` parameter(s) have been changed from `(*AlertsClientGetAllOptions)` to `(string, *AlertsClientGetAllOptions)`
- Function `*PrometheusRuleGroupsClient.Update` parameter(s) have been changed from `(context.Context, string, string, PrometheusRuleGroupResourcePatch, *PrometheusRuleGroupsClientUpdateOptions)` to `(context.Context, string, string, PrometheusRuleGroupResourcePatchParameters, *PrometheusRuleGroupsClientUpdateOptions)`
- Enum `ActionType` has been removed
- Enum `DaysOfWeek` has been removed
- Enum `Field` has been removed
- Enum `Operator` has been removed
- Enum `RecurrenceType` has been removed
- Function `*Action.GetAction` has been removed
- Function `*AddActionGroups.GetAction` has been removed
- Function `NewAlertProcessingRulesClient` has been removed
- Function `*AlertProcessingRulesClient.CreateOrUpdate` has been removed
- Function `*AlertProcessingRulesClient.Delete` has been removed
- Function `*AlertProcessingRulesClient.GetByName` has been removed
- Function `*AlertProcessingRulesClient.NewListByResourceGroupPager` has been removed
- Function `*AlertProcessingRulesClient.NewListBySubscriptionPager` has been removed
- Function `*AlertProcessingRulesClient.Update` has been removed
- Function `*ClientFactory.NewAlertProcessingRulesClient` has been removed
- Function `*ClientFactory.NewTenantActivityLogAlertsClient` has been removed
- Function `*DailyRecurrence.GetRecurrence` has been removed
- Function `*MonthlyRecurrence.GetRecurrence` has been removed
- Function `*Recurrence.GetRecurrence` has been removed
- Function `*RemoveAllActionGroups.GetAction` has been removed
- Function `NewTenantActivityLogAlertsClient` has been removed
- Function `*TenantActivityLogAlertsClient.CreateOrUpdate` has been removed
- Function `*TenantActivityLogAlertsClient.Delete` has been removed
- Function `*TenantActivityLogAlertsClient.Get` has been removed
- Function `*TenantActivityLogAlertsClient.NewListByManagementGroupPager` has been removed
- Function `*TenantActivityLogAlertsClient.NewListByTenantPager` has been removed
- Function `*TenantActivityLogAlertsClient.Update` has been removed
- Function `*WeeklyRecurrence.GetRecurrence` has been removed
- Struct `ActionGroup` has been removed
- Struct `ActionList` has been removed
- Struct `AddActionGroups` has been removed
- Struct `AlertProcessingRule` has been removed
- Struct `AlertProcessingRuleProperties` has been removed
- Struct `AlertProcessingRulesList` has been removed
- Struct `AlertRuleAllOfCondition` has been removed
- Struct `AlertRuleAnyOfOrLeafCondition` has been removed
- Struct `AlertRuleLeafCondition` has been removed
- Struct `AlertRuleProperties` has been removed
- Struct `Condition` has been removed
- Struct `DailyRecurrence` has been removed
- Struct `MonthlyRecurrence` has been removed
- Struct `PatchObject` has been removed
- Struct `PatchProperties` has been removed
- Struct `PrometheusRuleGroupResourcePatch` has been removed
- Struct `PrometheusRuleGroupResourcePatchProperties` has been removed
- Struct `RemoveAllActionGroups` has been removed
- Struct `Schedule` has been removed
- Struct `TenantActivityLogAlertResource` has been removed
- Struct `TenantAlertRuleList` has been removed
- Struct `TenantAlertRulePatchObject` has been removed
- Struct `TenantAlertRulePatchProperties` has been removed
- Struct `WeeklyRecurrence` has been removed

### Features Added

- New value `MonitorServiceResourceHealth` added to enum type `MonitorService`
- New enum type `Status` with values `StatusFailed`, `StatusSucceeded`
- New enum type `Type` with values `TypePrometheusInstantQuery`, `TypePrometheusRangeQuery`
- New function `*AlertEnrichmentItem.GetAlertEnrichmentItem() *AlertEnrichmentItem`
- New function `*AlertsClient.GetEnrichments(context.Context, string, string, *AlertsClientGetEnrichmentsOptions) (AlertsClientGetEnrichmentsResponse, error)`
- New function `*AlertsClient.NewListEnrichmentsPager(string, string, *AlertsClientListEnrichmentsOptions) *runtime.Pager[AlertsClientListEnrichmentsResponse]`
- New function `*PrometheusEnrichmentItem.GetAlertEnrichmentItem() *AlertEnrichmentItem`
- New function `*PrometheusEnrichmentItem.GetPrometheusEnrichmentItem() *PrometheusEnrichmentItem`
- New function `*PrometheusInstantQuery.GetAlertEnrichmentItem() *AlertEnrichmentItem`
- New function `*PrometheusInstantQuery.GetPrometheusEnrichmentItem() *PrometheusEnrichmentItem`
- New function `*PrometheusRangeQuery.GetAlertEnrichmentItem() *AlertEnrichmentItem`
- New function `*PrometheusRangeQuery.GetPrometheusEnrichmentItem() *PrometheusEnrichmentItem`
- New struct `AlertEnrichmentProperties`
- New struct `AlertEnrichmentResponse`
- New struct `AlertEnrichmentsList`
- New struct `CorrelationDetails`
- New struct `PrometheusInstantQuery`
- New struct `PrometheusRangeQuery`
- New struct `PrometheusRuleGroupResourcePatchParameters`
- New struct `PrometheusRuleGroupResourcePatchParametersProperties`
- New field `Category` in struct `AlertRuleRecommendationProperties`
- New field `CorrelationDetails`, `HasEnrichments`, `IsStatefulAlert` in struct `Essentials`


## 0.10.0 (2024-03-01)
### Breaking Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ clientFactory, err := armalertsmanagement.NewClientFactory(<subscription ID>, cr
A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.

```go
client := clientFactory.NewAlertProcessingRulesClient()
client := clientFactory.NewAlertRuleRecommendationsClient()
```

## Fakes
Expand Down
Loading

0 comments on commit b92666b

Please sign in to comment.