Prerequisites
- CLI
- Go SDK
- Python SDK
- JavaScript SDK
- Install and configure the Nebius AI Cloud CLI.
-
Check that your project ID is saved in the Nebius AI Cloud CLI profile configuration:
-
Install jq to filter the JSON data returned by the Nebius AI Cloud CLI:
How to get a list of all maintenance operations
- CLI
- Go SDK
- Python SDK
- JavaScript SDK
-
metadata.id: Maintenance operation ID. You can use this ID to get the details of an operation or reschedule it. -
metadata.parent_id: Project ID. -
metadata.created_at: Creation time of the maintenance operation. -
spec.scheduled_at: Scheduled time of the maintenance, in the ISO 8601 format. -
status.affected_resources: Affected resource IDs and their project IDs (parent_id). If the maintenance event affects your resources in another service, they’re also listed here. You can filter the output to see only the affected resources for Managed MLflow clusters. -
status.state: Maintenance operation state. Possible values areSTATE_UNSPECIFIED,STATE_SCHEDULED,STATE_IN_PROGRESS,STATE_FINISHED,STATE_ERROR, andSTATE_CANCELLED. -
status.reschedulable: Whether you can reschedule the maintenance. You can reschedule it only whenstatus.reschedulableistrueandstatus.stateisSTATE_SCHEDULED.
Filtering the output
To filter the list output by MLflow clusters, run the following command:affected_resources array of each list item.How to get the details of a maintenance operation
- CLI
- Go SDK
- Python SDK
- JavaScript SDK
--id, specify the maintenance operation ID. You can get it by listing all maintenance operations.This command returns the details of a maintenance operation. The details are the same as for the list maintenance operations command.Output example
Output example
How to reschedule a maintenance operation
You can reschedule a maintenance operation only when its state isSTATE_SCHEDULED and its reschedulable value is true. To check these values, get the details of the operation.
- CLI
- Go SDK
- Python SDK
- JavaScript SDK
-
Run the following command:
In
--id, specify the maintenance operation ID. -
In the editor that opens, change the value of
spec.scheduled_atto your desired time in the ISO 8601 format. Specify only a future date and time. - When prompted, confirm the update.