Skip to main content

maintenance_run_histories

Creates, updates, deletes, gets or lists a maintenance_run_histories resource.

Overview​

Namemaintenance_run_histories
TypeResource
Idoci.database.maintenance_run_histories

Fields​

The following fields are returned by SELECT queries:

Information about the specified maintenance run history.

NameDatatypeDescription
idstringThe OCID of the maintenance run history.
dbServersHistoryDetailsarrayList of database server history details.
granularMaintenanceHistoryarrayThe list of granular maintenance history details.
maintenanceRunDetailsobjectDetails of a maintenance run.
systemTagsobjectSystem tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectmaintenanceRunHistoryId, regionGets information about the specified maintenance run history.

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
maintenanceRunHistoryIdstringThe maintenance run history OCID.
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)

SELECT examples​

Gets information about the specified maintenance run history.

SELECT
id,
dbServersHistoryDetails,
granularMaintenanceHistory,
maintenanceRunDetails,
systemTags
FROM oci.database.maintenance_run_histories
WHERE maintenanceRunHistoryId = '{{ maintenanceRunHistoryId }}' -- required
AND region = '{{ region }}' -- required
;