All need api-version=admin.
Returns a list of MIMO maintenance manifests.
Creates a new manifest. Returns the created manifest.
curl -X PUT -k "https://localhost:8443/admin/subscriptions/SUBSCRIPTION_ID/resourcegroups/RESOURCE_GROUP/providers/microsoft.redhatopenshift/openshiftclusters/CLUSTER_NAME/maintenancemanifests?api-version=admin" \
--header "Content-Type: application/json" \
-d '{"maintenanceTaskID": "b41749fc-af26-4ab7-b5a1-e03f3ee4cba6"}'Replace SUBSCRIPTION_ID, RESOURCE_GROUP, and CLUSTER_NAME with the target cluster's values. Registered task IDs are defined in pkg/mimo/const.go.
Returns a manifest.
Deletes a manifest. This is only to be used as a last resort.
Cancels the manifest (the state becomes CANCELLED). It does not stop a task that is in the current process of execution.
Cancels all manifests created by the given schedule ID.
Returns a list of all schedules.
Creates or updates a schedule. Returns 201 Created for new schedules and 200 OK for updates.
The schedule id field is the schedule's own unique identifier (distinct from maintenanceTaskID). If id is omitted from the request body, a new schedule is created with an auto-generated ID. If id is provided and matches an existing schedule, that schedule is updated. If id is provided but does not match any existing schedule, a new schedule is created with that ID.
See Scheduler Calendar and Selectors for the calendar expression format and selector syntax.
curl -X PUT -k "https://localhost:8443/admin/maintenanceschedules?api-version=admin" \
--header "Content-Type: application/json" \
-d '{"state": "Enabled", "maintenanceTaskID": "9b741734-6505-447f-8510-85eb0ae561a2", "schedule": "Mon *-*-* 00:00", "lookForwardCount": 4, "scheduleAcross": "24h", "selectors": [{"key": "subscriptionState", "operator": "in", "values": ["Registered"]}]}'Task IDs are defined in pkg/mimo/const.go.
Returns a schedule.
Returns the selector key-value pairs for a specific cluster. Use this to verify which clusters a schedule's selectors will match.