Skip to content

[ResponseOps] Maintenance Window Resource #1037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Initial commit.
  • Loading branch information
adcoelho committed Apr 7, 2025
commit 867da54d440d28971749c272e9393d6be018610b
26 changes: 26 additions & 0 deletions generated/alerting/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ docs/AlertResponsePropertiesExecutionStatus.md
docs/AlertResponsePropertiesSchedule.md
docs/AlertingAPI.md
docs/CreateMaintenanceWindowRequest.md
docs/CreateMaintenanceWindowRequestSchedule.md
docs/CreateMaintenanceWindowRequestScheduleCustom.md
docs/CreateMaintenanceWindowRequestScheduleCustomRecurring.md
docs/CreateMaintenanceWindowRequestScope.md
docs/CreateMaintenanceWindowRequestScopeAlerting.md
docs/CreateMaintenanceWindowRequestScopeAlertingQuery.md
docs/CreateRuleRequest.md
docs/FieldmapProperties.md
docs/FieldmapPropertiesPropertiesValue.md
Expand Down Expand Up @@ -56,6 +62,12 @@ docs/LegacyUpdateAlertRequestProperties.md
docs/LegacyUpdateAlertRequestPropertiesActionsInner.md
docs/LegacyUpdateAlertRequestPropertiesSchedule.md
docs/MaintenanceWindowResponseProperties.md
docs/MaintenanceWindowResponsePropertiesSchedule.md
docs/MaintenanceWindowResponsePropertiesScheduleCustom.md
docs/MaintenanceWindowResponsePropertiesScheduleCustomRecurring.md
docs/MaintenanceWindowResponsePropertiesScope.md
docs/MaintenanceWindowResponsePropertiesScopeAlerting.md
docs/MaintenanceWindowResponsePropertiesScopeAlertingQuery.md
docs/Model400Response.md
docs/Model401Response.md
docs/Model403Response.md
Expand All @@ -67,6 +79,7 @@ docs/RuleResponsePropertiesExecutionStatus.md
docs/RuleResponsePropertiesLastRun.md
docs/RuleResponsePropertiesLastRunAlertsCount.md
docs/Schedule.md
docs/UpdateMaintenanceWindowRequest.md
docs/UpdateRuleRequest.md
git_push.sh
go.mod
Expand All @@ -86,6 +99,12 @@ model_alert_response_properties.go
model_alert_response_properties_execution_status.go
model_alert_response_properties_schedule.go
model_create_maintenance_window_request.go
model_create_maintenance_window_request_schedule.go
model_create_maintenance_window_request_schedule_custom.go
model_create_maintenance_window_request_schedule_custom_recurring.go
model_create_maintenance_window_request_scope.go
model_create_maintenance_window_request_scope_alerting.go
model_create_maintenance_window_request_scope_alerting_query.go
model_create_rule_request.go
model_fieldmap_properties.go
model_fieldmap_properties_properties_value.go
Expand Down Expand Up @@ -125,13 +144,20 @@ model_legacy_update_alert_request_properties.go
model_legacy_update_alert_request_properties_actions_inner.go
model_legacy_update_alert_request_properties_schedule.go
model_maintenance_window_response_properties.go
model_maintenance_window_response_properties_schedule.go
model_maintenance_window_response_properties_schedule_custom.go
model_maintenance_window_response_properties_schedule_custom_recurring.go
model_maintenance_window_response_properties_scope.go
model_maintenance_window_response_properties_scope_alerting.go
model_maintenance_window_response_properties_scope_alerting_query.go
model_notify_when.go
model_notify_when_action.go
model_rule_response_properties.go
model_rule_response_properties_execution_status.go
model_rule_response_properties_last_run.go
model_rule_response_properties_last_run_alerts_count.go
model_schedule.go
model_update_maintenance_window_request.go
model_update_rule_request.go
response.go
test/api_alerting_test.go
Expand Down
18 changes: 16 additions & 2 deletions generated/alerting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AlertingAPI* | [**CreateMaintenanceWindow**](docs/AlertingAPI.md#createmaintenancewindow) | **Post** /s/{spaceId}/api/alerting/maintenance_window | Create a maintenance window with a random identifier
*AlertingAPI* | [**CreateMaintenanceWindow**](docs/AlertingAPI.md#createmaintenancewindow) | **Post** /s/{spaceId}/api/alerting/maintenance_window | Create a maintenance window.
*AlertingAPI* | [**CreateRule**](docs/AlertingAPI.md#createrule) | **Post** /s/{spaceId}/api/alerting/rule | Creates a rule with a randomly generated rule identifier.
*AlertingAPI* | [**CreateRuleId**](docs/AlertingAPI.md#createruleid) | **Post** /s/{spaceId}/api/alerting/rule/{ruleId} | Creates a rule with a specific rule identifier.
*AlertingAPI* | [**DeleteMaintenanceWindow**](docs/AlertingAPI.md#deletemaintenancewindow) | **Delete** /s/{spaceId}/api/alerting/maintenance_window/{maintenanceWindowId} | Delete a maintenance window
Expand All @@ -86,7 +86,7 @@ Class | Method | HTTP request | Description
*AlertingAPI* | [**EnableRule**](docs/AlertingAPI.md#enablerule) | **Post** /s/{spaceId}/api/alerting/rule/{ruleId}/_enable | Enables a rule.
*AlertingAPI* | [**FindRules**](docs/AlertingAPI.md#findrules) | **Get** /s/{spaceId}/api/alerting/rules/_find | Retrieves information about rules.
*AlertingAPI* | [**GetAlertingHealth**](docs/AlertingAPI.md#getalertinghealth) | **Get** /s/{spaceId}/api/alerting/_health | Retrieves the health status of the alerting framework.
*AlertingAPI* | [**GetMaintenanceWindow**](docs/AlertingAPI.md#getmaintenancewindow) | **Get** /s/{spaceId}/api/alerting/maintenance_window/{maintenanceWindowId} | Get maintenance window details
*AlertingAPI* | [**GetMaintenanceWindow**](docs/AlertingAPI.md#getmaintenancewindow) | **Get** /s/{spaceId}/api/alerting/maintenance_window/{maintenanceWindowId} | Get a maintenance window
*AlertingAPI* | [**GetRule**](docs/AlertingAPI.md#getrule) | **Get** /s/{spaceId}/api/alerting/rule/{ruleId} | Retrieves a rule by its identifier.
*AlertingAPI* | [**GetRuleTypes**](docs/AlertingAPI.md#getruletypes) | **Get** /s/{spaceId}/api/alerting/rule_types | Retrieves a list of rule types.
*AlertingAPI* | [**LegacyCreateAlert**](docs/AlertingAPI.md#legacycreatealert) | **Post** /s/{spaceId}/api/alerts/alert/{alertId} | Create an alert.
Expand All @@ -106,6 +106,7 @@ Class | Method | HTTP request | Description
*AlertingAPI* | [**MuteAllAlerts**](docs/AlertingAPI.md#muteallalerts) | **Post** /s/{spaceId}/api/alerting/rule/{ruleId}/_mute_all | Mutes all alerts.
*AlertingAPI* | [**UnmuteAlert**](docs/AlertingAPI.md#unmutealert) | **Post** /s/{spaceId}/api/alerting/rule/{ruleId}/alert/{alertId}/_unmute | Unmutes an alert.
*AlertingAPI* | [**UnmuteAllAlerts**](docs/AlertingAPI.md#unmuteallalerts) | **Post** /s/{spaceId}/api/alerting/rule/{ruleId}/_unmute_all | Unmutes all alerts.
*AlertingAPI* | [**UpdateMaintenanceWindow**](docs/AlertingAPI.md#updatemaintenancewindow) | **Patch** /s/{spaceId}/api/alerting/maintenance_window/{maintenanceWindowId} | Update a maintenance window.
*AlertingAPI* | [**UpdateRule**](docs/AlertingAPI.md#updaterule) | **Put** /s/{spaceId}/api/alerting/rule/{ruleId} | Updates the attributes for a rule.
*AlertingAPI* | [**UpdateRuleAPIKey**](docs/AlertingAPI.md#updateruleapikey) | **Post** /s/{spaceId}/api/alerting/rule/{ruleId}/_update_api_key | Updates the API key for a rule.

Expand All @@ -123,6 +124,12 @@ Class | Method | HTTP request | Description
- [AlertResponsePropertiesExecutionStatus](docs/AlertResponsePropertiesExecutionStatus.md)
- [AlertResponsePropertiesSchedule](docs/AlertResponsePropertiesSchedule.md)
- [CreateMaintenanceWindowRequest](docs/CreateMaintenanceWindowRequest.md)
- [CreateMaintenanceWindowRequestSchedule](docs/CreateMaintenanceWindowRequestSchedule.md)
- [CreateMaintenanceWindowRequestScheduleCustom](docs/CreateMaintenanceWindowRequestScheduleCustom.md)
- [CreateMaintenanceWindowRequestScheduleCustomRecurring](docs/CreateMaintenanceWindowRequestScheduleCustomRecurring.md)
- [CreateMaintenanceWindowRequestScope](docs/CreateMaintenanceWindowRequestScope.md)
- [CreateMaintenanceWindowRequestScopeAlerting](docs/CreateMaintenanceWindowRequestScopeAlerting.md)
- [CreateMaintenanceWindowRequestScopeAlertingQuery](docs/CreateMaintenanceWindowRequestScopeAlertingQuery.md)
- [CreateRuleRequest](docs/CreateRuleRequest.md)
- [FieldmapProperties](docs/FieldmapProperties.md)
- [FieldmapPropertiesPropertiesValue](docs/FieldmapPropertiesPropertiesValue.md)
Expand Down Expand Up @@ -162,6 +169,12 @@ Class | Method | HTTP request | Description
- [LegacyUpdateAlertRequestPropertiesActionsInner](docs/LegacyUpdateAlertRequestPropertiesActionsInner.md)
- [LegacyUpdateAlertRequestPropertiesSchedule](docs/LegacyUpdateAlertRequestPropertiesSchedule.md)
- [MaintenanceWindowResponseProperties](docs/MaintenanceWindowResponseProperties.md)
- [MaintenanceWindowResponsePropertiesSchedule](docs/MaintenanceWindowResponsePropertiesSchedule.md)
- [MaintenanceWindowResponsePropertiesScheduleCustom](docs/MaintenanceWindowResponsePropertiesScheduleCustom.md)
- [MaintenanceWindowResponsePropertiesScheduleCustomRecurring](docs/MaintenanceWindowResponsePropertiesScheduleCustomRecurring.md)
- [MaintenanceWindowResponsePropertiesScope](docs/MaintenanceWindowResponsePropertiesScope.md)
- [MaintenanceWindowResponsePropertiesScopeAlerting](docs/MaintenanceWindowResponsePropertiesScopeAlerting.md)
- [MaintenanceWindowResponsePropertiesScopeAlertingQuery](docs/MaintenanceWindowResponsePropertiesScopeAlertingQuery.md)
- [Model400Response](docs/Model400Response.md)
- [Model401Response](docs/Model401Response.md)
- [Model403Response](docs/Model403Response.md)
Expand All @@ -173,6 +186,7 @@ Class | Method | HTTP request | Description
- [RuleResponsePropertiesLastRun](docs/RuleResponsePropertiesLastRun.md)
- [RuleResponsePropertiesLastRunAlertsCount](docs/RuleResponsePropertiesLastRunAlertsCount.md)
- [Schedule](docs/Schedule.md)
- [UpdateMaintenanceWindowRequest](docs/UpdateMaintenanceWindowRequest.md)
- [UpdateRuleRequest](docs/UpdateRuleRequest.md)


Expand Down
Loading