Skip to main content

instance_maintenance_reboots

Creates, updates, deletes, gets or lists an instance_maintenance_reboots resource.

Overview​

Nameinstance_maintenance_reboots
TypeResource
Idoci.compute.instance_maintenance_reboots

Fields​

The following fields are returned by SELECT queries:

The maximum extension date for the maintenance reboot was retrieved.

NameDatatypeDescription
timeMaintenanceRebootDueMaxstring (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:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectinstanceId, regionopc-request-idGets 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.

NameDatatypeDescription
instanceIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the instance.
regionstringOCI 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-idstringUnique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

SELECT examples​

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 }}'
;