instance_maintenance_reboots
Creates, updates, deletes, gets or lists an instance_maintenance_reboots resource.
Overview​
| Name | instance_maintenance_reboots |
| Type | Resource |
| Id | oci.compute.instance_maintenance_reboots |
Fields​
The following fields are returned by SELECT queries:
- get
The maximum extension date for the maintenance reboot was retrieved.
| Name | Datatype | Description |
|---|---|---|
timeMaintenanceRebootDueMax | string (date-time) | The maximum extension date and time for the maintenance reboot, in the format defined by [RFC3339](https:​//tools.ietf.org/html/rfc3339). The range for the maintenance extension is between 1 and 14 days from the initial scheduled maintenance date. Example: 2018-05-25T21:10:29.600Z |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | instanceId, region | opc-request-id | Gets the maximum possible date that a maintenance reboot can be extended. For more information, see<br />[Infrastructure Maintenance](/iaas/Content/Compute/References/infrastructure-maintenance.htm).<br /> |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
instanceId | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the instance. |
region | string | OCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION) |
opc-request-id | string | Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
SELECT examples​
- get
Gets the maximum possible date that a maintenance reboot can be extended. For more information, see<br />[Infrastructure Maintenance](/iaas/Content/Compute/References/infrastructure-maintenance.htm).<br />
SELECT
timeMaintenanceRebootDueMax
FROM oci.compute.instance_maintenance_reboots
WHERE instanceId = '{{ instanceId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;