Skip to content

Commit 867da54

Browse files
committed
Initial commit.
1 parent 7a7921a commit 867da54

File tree

86 files changed

+13583
-676
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+13583
-676
lines changed

generated/alerting/.openapi-generator/FILES

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ docs/AlertResponsePropertiesExecutionStatus.md
1717
docs/AlertResponsePropertiesSchedule.md
1818
docs/AlertingAPI.md
1919
docs/CreateMaintenanceWindowRequest.md
20+
docs/CreateMaintenanceWindowRequestSchedule.md
21+
docs/CreateMaintenanceWindowRequestScheduleCustom.md
22+
docs/CreateMaintenanceWindowRequestScheduleCustomRecurring.md
23+
docs/CreateMaintenanceWindowRequestScope.md
24+
docs/CreateMaintenanceWindowRequestScopeAlerting.md
25+
docs/CreateMaintenanceWindowRequestScopeAlertingQuery.md
2026
docs/CreateRuleRequest.md
2127
docs/FieldmapProperties.md
2228
docs/FieldmapPropertiesPropertiesValue.md
@@ -56,6 +62,12 @@ docs/LegacyUpdateAlertRequestProperties.md
5662
docs/LegacyUpdateAlertRequestPropertiesActionsInner.md
5763
docs/LegacyUpdateAlertRequestPropertiesSchedule.md
5864
docs/MaintenanceWindowResponseProperties.md
65+
docs/MaintenanceWindowResponsePropertiesSchedule.md
66+
docs/MaintenanceWindowResponsePropertiesScheduleCustom.md
67+
docs/MaintenanceWindowResponsePropertiesScheduleCustomRecurring.md
68+
docs/MaintenanceWindowResponsePropertiesScope.md
69+
docs/MaintenanceWindowResponsePropertiesScopeAlerting.md
70+
docs/MaintenanceWindowResponsePropertiesScopeAlertingQuery.md
5971
docs/Model400Response.md
6072
docs/Model401Response.md
6173
docs/Model403Response.md
@@ -67,6 +79,7 @@ docs/RuleResponsePropertiesExecutionStatus.md
6779
docs/RuleResponsePropertiesLastRun.md
6880
docs/RuleResponsePropertiesLastRunAlertsCount.md
6981
docs/Schedule.md
82+
docs/UpdateMaintenanceWindowRequest.md
7083
docs/UpdateRuleRequest.md
7184
git_push.sh
7285
go.mod
@@ -86,6 +99,12 @@ model_alert_response_properties.go
8699
model_alert_response_properties_execution_status.go
87100
model_alert_response_properties_schedule.go
88101
model_create_maintenance_window_request.go
102+
model_create_maintenance_window_request_schedule.go
103+
model_create_maintenance_window_request_schedule_custom.go
104+
model_create_maintenance_window_request_schedule_custom_recurring.go
105+
model_create_maintenance_window_request_scope.go
106+
model_create_maintenance_window_request_scope_alerting.go
107+
model_create_maintenance_window_request_scope_alerting_query.go
89108
model_create_rule_request.go
90109
model_fieldmap_properties.go
91110
model_fieldmap_properties_properties_value.go
@@ -125,13 +144,20 @@ model_legacy_update_alert_request_properties.go
125144
model_legacy_update_alert_request_properties_actions_inner.go
126145
model_legacy_update_alert_request_properties_schedule.go
127146
model_maintenance_window_response_properties.go
147+
model_maintenance_window_response_properties_schedule.go
148+
model_maintenance_window_response_properties_schedule_custom.go
149+
model_maintenance_window_response_properties_schedule_custom_recurring.go
150+
model_maintenance_window_response_properties_scope.go
151+
model_maintenance_window_response_properties_scope_alerting.go
152+
model_maintenance_window_response_properties_scope_alerting_query.go
128153
model_notify_when.go
129154
model_notify_when_action.go
130155
model_rule_response_properties.go
131156
model_rule_response_properties_execution_status.go
132157
model_rule_response_properties_last_run.go
133158
model_rule_response_properties_last_run_alerts_count.go
134159
model_schedule.go
160+
model_update_maintenance_window_request.go
135161
model_update_rule_request.go
136162
response.go
137163
test/api_alerting_test.go

generated/alerting/README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ All URIs are relative to *http://localhost*
7777

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

@@ -123,6 +124,12 @@ Class | Method | HTTP request | Description
123124
- [AlertResponsePropertiesExecutionStatus](docs/AlertResponsePropertiesExecutionStatus.md)
124125
- [AlertResponsePropertiesSchedule](docs/AlertResponsePropertiesSchedule.md)
125126
- [CreateMaintenanceWindowRequest](docs/CreateMaintenanceWindowRequest.md)
127+
- [CreateMaintenanceWindowRequestSchedule](docs/CreateMaintenanceWindowRequestSchedule.md)
128+
- [CreateMaintenanceWindowRequestScheduleCustom](docs/CreateMaintenanceWindowRequestScheduleCustom.md)
129+
- [CreateMaintenanceWindowRequestScheduleCustomRecurring](docs/CreateMaintenanceWindowRequestScheduleCustomRecurring.md)
130+
- [CreateMaintenanceWindowRequestScope](docs/CreateMaintenanceWindowRequestScope.md)
131+
- [CreateMaintenanceWindowRequestScopeAlerting](docs/CreateMaintenanceWindowRequestScopeAlerting.md)
132+
- [CreateMaintenanceWindowRequestScopeAlertingQuery](docs/CreateMaintenanceWindowRequestScopeAlertingQuery.md)
126133
- [CreateRuleRequest](docs/CreateRuleRequest.md)
127134
- [FieldmapProperties](docs/FieldmapProperties.md)
128135
- [FieldmapPropertiesPropertiesValue](docs/FieldmapPropertiesPropertiesValue.md)
@@ -162,6 +169,12 @@ Class | Method | HTTP request | Description
162169
- [LegacyUpdateAlertRequestPropertiesActionsInner](docs/LegacyUpdateAlertRequestPropertiesActionsInner.md)
163170
- [LegacyUpdateAlertRequestPropertiesSchedule](docs/LegacyUpdateAlertRequestPropertiesSchedule.md)
164171
- [MaintenanceWindowResponseProperties](docs/MaintenanceWindowResponseProperties.md)
172+
- [MaintenanceWindowResponsePropertiesSchedule](docs/MaintenanceWindowResponsePropertiesSchedule.md)
173+
- [MaintenanceWindowResponsePropertiesScheduleCustom](docs/MaintenanceWindowResponsePropertiesScheduleCustom.md)
174+
- [MaintenanceWindowResponsePropertiesScheduleCustomRecurring](docs/MaintenanceWindowResponsePropertiesScheduleCustomRecurring.md)
175+
- [MaintenanceWindowResponsePropertiesScope](docs/MaintenanceWindowResponsePropertiesScope.md)
176+
- [MaintenanceWindowResponsePropertiesScopeAlerting](docs/MaintenanceWindowResponsePropertiesScopeAlerting.md)
177+
- [MaintenanceWindowResponsePropertiesScopeAlertingQuery](docs/MaintenanceWindowResponsePropertiesScopeAlertingQuery.md)
165178
- [Model400Response](docs/Model400Response.md)
166179
- [Model401Response](docs/Model401Response.md)
167180
- [Model403Response](docs/Model403Response.md)
@@ -173,6 +186,7 @@ Class | Method | HTTP request | Description
173186
- [RuleResponsePropertiesLastRun](docs/RuleResponsePropertiesLastRun.md)
174187
- [RuleResponsePropertiesLastRunAlertsCount](docs/RuleResponsePropertiesLastRunAlertsCount.md)
175188
- [Schedule](docs/Schedule.md)
189+
- [UpdateMaintenanceWindowRequest](docs/UpdateMaintenanceWindowRequest.md)
176190
- [UpdateRuleRequest](docs/UpdateRuleRequest.md)
177191

178192

0 commit comments

Comments
 (0)