oci logo
Oracle Cloud Infrastructure v0.7.0, Feb 8 23

oci.Database.MaintenanceRun

This resource provides the Maintenance Run resource in Oracle Cloud Infrastructure Database service.

Updates the properties of a maintenance run, such as the state of a maintenance run.

Create MaintenanceRun Resource

new MaintenanceRun(name: string, args: MaintenanceRunArgs, opts?: CustomResourceOptions);
@overload
def MaintenanceRun(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   current_custom_action_timeout_in_mins: Optional[int] = None,
                   custom_action_timeout_in_mins: Optional[int] = None,
                   is_custom_action_timeout_enabled: Optional[bool] = None,
                   is_enabled: Optional[bool] = None,
                   is_patch_now_enabled: Optional[bool] = None,
                   is_resume_patching: Optional[bool] = None,
                   maintenance_run_id: Optional[str] = None,
                   patch_id: Optional[str] = None,
                   patching_mode: Optional[str] = None,
                   target_db_server_version: Optional[str] = None,
                   target_storage_server_version: Optional[str] = None,
                   time_scheduled: Optional[str] = None)
@overload
def MaintenanceRun(resource_name: str,
                   args: MaintenanceRunArgs,
                   opts: Optional[ResourceOptions] = None)
func NewMaintenanceRun(ctx *Context, name string, args MaintenanceRunArgs, opts ...ResourceOption) (*MaintenanceRun, error)
public MaintenanceRun(string name, MaintenanceRunArgs args, CustomResourceOptions? opts = null)
public MaintenanceRun(String name, MaintenanceRunArgs args)
public MaintenanceRun(String name, MaintenanceRunArgs args, CustomResourceOptions options)
type: oci:Database:MaintenanceRun
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args MaintenanceRunArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args MaintenanceRunArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args MaintenanceRunArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args MaintenanceRunArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args MaintenanceRunArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

MaintenanceRun Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The MaintenanceRun resource accepts the following input properties:

MaintenanceRunId string

The maintenance run OCID.

CurrentCustomActionTimeoutInMins int

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

CustomActionTimeoutInMins int

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

IsCustomActionTimeoutEnabled bool

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

IsEnabled bool

(Updatable) If FALSE, skips the maintenance run.

IsPatchNowEnabled bool

(Updatable) If set to TRUE, starts patching immediately.

IsResumePatching bool

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

PatchId string

(Updatable) The OCID of the patch to be applied in the maintenance run.

PatchingMode string

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

TargetDbServerVersion string

(Updatable) The target database server system software version for the patching operation.

TargetStorageServerVersion string

(Updatable) The target storage cell system software version for the patching operation.

TimeScheduled string

(Updatable) The scheduled date and time of the maintenance run to update.

MaintenanceRunId string

The maintenance run OCID.

CurrentCustomActionTimeoutInMins int

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

CustomActionTimeoutInMins int

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

IsCustomActionTimeoutEnabled bool

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

IsEnabled bool

(Updatable) If FALSE, skips the maintenance run.

IsPatchNowEnabled bool

(Updatable) If set to TRUE, starts patching immediately.

IsResumePatching bool

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

PatchId string

(Updatable) The OCID of the patch to be applied in the maintenance run.

PatchingMode string

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

TargetDbServerVersion string

(Updatable) The target database server system software version for the patching operation.

TargetStorageServerVersion string

(Updatable) The target storage cell system software version for the patching operation.

TimeScheduled string

(Updatable) The scheduled date and time of the maintenance run to update.

maintenanceRunId String

The maintenance run OCID.

currentCustomActionTimeoutInMins Integer

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

customActionTimeoutInMins Integer

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

isCustomActionTimeoutEnabled Boolean

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

isEnabled Boolean

(Updatable) If FALSE, skips the maintenance run.

isPatchNowEnabled Boolean

(Updatable) If set to TRUE, starts patching immediately.

isResumePatching Boolean

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

patchId String

(Updatable) The OCID of the patch to be applied in the maintenance run.

patchingMode String

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

targetDbServerVersion String

(Updatable) The target database server system software version for the patching operation.

targetStorageServerVersion String

(Updatable) The target storage cell system software version for the patching operation.

timeScheduled String

(Updatable) The scheduled date and time of the maintenance run to update.

maintenanceRunId string

The maintenance run OCID.

currentCustomActionTimeoutInMins number

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

customActionTimeoutInMins number

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

isCustomActionTimeoutEnabled boolean

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

isEnabled boolean

(Updatable) If FALSE, skips the maintenance run.

isPatchNowEnabled boolean

(Updatable) If set to TRUE, starts patching immediately.

isResumePatching boolean

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

patchId string

(Updatable) The OCID of the patch to be applied in the maintenance run.

patchingMode string

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

targetDbServerVersion string

(Updatable) The target database server system software version for the patching operation.

targetStorageServerVersion string

(Updatable) The target storage cell system software version for the patching operation.

timeScheduled string

(Updatable) The scheduled date and time of the maintenance run to update.

maintenance_run_id str

The maintenance run OCID.

current_custom_action_timeout_in_mins int

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

custom_action_timeout_in_mins int

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

is_custom_action_timeout_enabled bool

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

is_enabled bool

(Updatable) If FALSE, skips the maintenance run.

is_patch_now_enabled bool

(Updatable) If set to TRUE, starts patching immediately.

is_resume_patching bool

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

patch_id str

(Updatable) The OCID of the patch to be applied in the maintenance run.

patching_mode str

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

target_db_server_version str

(Updatable) The target database server system software version for the patching operation.

target_storage_server_version str

(Updatable) The target storage cell system software version for the patching operation.

time_scheduled str

(Updatable) The scheduled date and time of the maintenance run to update.

maintenanceRunId String

The maintenance run OCID.

currentCustomActionTimeoutInMins Number

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

customActionTimeoutInMins Number

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

isCustomActionTimeoutEnabled Boolean

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

isEnabled Boolean

(Updatable) If FALSE, skips the maintenance run.

isPatchNowEnabled Boolean

(Updatable) If set to TRUE, starts patching immediately.

isResumePatching Boolean

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

patchId String

(Updatable) The OCID of the patch to be applied in the maintenance run.

patchingMode String

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

targetDbServerVersion String

(Updatable) The target database server system software version for the patching operation.

targetStorageServerVersion String

(Updatable) The target storage cell system software version for the patching operation.

timeScheduled String

(Updatable) The scheduled date and time of the maintenance run to update.

Outputs

All input properties are implicitly available as output properties. Additionally, the MaintenanceRun resource produces the following output properties:

CompartmentId string

The OCID of the compartment.

CurrentPatchingComponent string

The name of the current infrastruture component that is getting patched.

Description string

Description of the maintenance run.

DisplayName string

The user-friendly name for the maintenance run.

EstimatedComponentPatchingStartTime string

The estimated start time of the next infrastruture component patching operation.

EstimatedPatchingTimes List<MaintenanceRunEstimatedPatchingTime>

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

Additional information about the current lifecycle state.

MaintenanceSubtype string

Maintenance sub-type.

MaintenanceType string

Maintenance type.

PatchFailureCount int

Contain the patch failure count.

PatchingEndTime string

The time when the patching operation ended.

PatchingStartTime string

The time when the patching operation started.

PatchingStatus string

The status of the patching operation.

PeerMaintenanceRunId string

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

State string

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

TargetResourceId string

The ID of the target resource on which the maintenance run occurs.

TargetResourceType string

The type of the target resource on which the maintenance run occurs.

TimeEnded string

The date and time the maintenance run was completed.

TimeStarted string

The date and time the maintenance run starts.

CompartmentId string

The OCID of the compartment.

CurrentPatchingComponent string

The name of the current infrastruture component that is getting patched.

Description string

Description of the maintenance run.

DisplayName string

The user-friendly name for the maintenance run.

EstimatedComponentPatchingStartTime string

The estimated start time of the next infrastruture component patching operation.

EstimatedPatchingTimes []MaintenanceRunEstimatedPatchingTime

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

Additional information about the current lifecycle state.

MaintenanceSubtype string

Maintenance sub-type.

MaintenanceType string

Maintenance type.

PatchFailureCount int

Contain the patch failure count.

PatchingEndTime string

The time when the patching operation ended.

PatchingStartTime string

The time when the patching operation started.

PatchingStatus string

The status of the patching operation.

PeerMaintenanceRunId string

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

State string

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

TargetResourceId string

The ID of the target resource on which the maintenance run occurs.

TargetResourceType string

The type of the target resource on which the maintenance run occurs.

TimeEnded string

The date and time the maintenance run was completed.

TimeStarted string

The date and time the maintenance run starts.

compartmentId String

The OCID of the compartment.

currentPatchingComponent String

The name of the current infrastruture component that is getting patched.

description String

Description of the maintenance run.

displayName String

The user-friendly name for the maintenance run.

estimatedComponentPatchingStartTime String

The estimated start time of the next infrastruture component patching operation.

estimatedPatchingTimes List<MaintenanceRunEstimatedPatchingTime>

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

Additional information about the current lifecycle state.

maintenanceSubtype String

Maintenance sub-type.

maintenanceType String

Maintenance type.

patchFailureCount Integer

Contain the patch failure count.

patchingEndTime String

The time when the patching operation ended.

patchingStartTime String

The time when the patching operation started.

patchingStatus String

The status of the patching operation.

peerMaintenanceRunId String

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

state String

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

targetResourceId String

The ID of the target resource on which the maintenance run occurs.

targetResourceType String

The type of the target resource on which the maintenance run occurs.

timeEnded String

The date and time the maintenance run was completed.

timeStarted String

The date and time the maintenance run starts.

compartmentId string

The OCID of the compartment.

currentPatchingComponent string

The name of the current infrastruture component that is getting patched.

description string

Description of the maintenance run.

displayName string

The user-friendly name for the maintenance run.

estimatedComponentPatchingStartTime string

The estimated start time of the next infrastruture component patching operation.

estimatedPatchingTimes MaintenanceRunEstimatedPatchingTime[]

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

id string

The provider-assigned unique ID for this managed resource.

lifecycleDetails string

Additional information about the current lifecycle state.

maintenanceSubtype string

Maintenance sub-type.

maintenanceType string

Maintenance type.

patchFailureCount number

Contain the patch failure count.

patchingEndTime string

The time when the patching operation ended.

patchingStartTime string

The time when the patching operation started.

patchingStatus string

The status of the patching operation.

peerMaintenanceRunId string

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

state string

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

targetResourceId string

The ID of the target resource on which the maintenance run occurs.

targetResourceType string

The type of the target resource on which the maintenance run occurs.

timeEnded string

The date and time the maintenance run was completed.

timeStarted string

The date and time the maintenance run starts.

compartment_id str

The OCID of the compartment.

current_patching_component str

The name of the current infrastruture component that is getting patched.

description str

Description of the maintenance run.

display_name str

The user-friendly name for the maintenance run.

estimated_component_patching_start_time str

The estimated start time of the next infrastruture component patching operation.

estimated_patching_times MaintenanceRunEstimatedPatchingTime]

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

id str

The provider-assigned unique ID for this managed resource.

lifecycle_details str

Additional information about the current lifecycle state.

maintenance_subtype str

Maintenance sub-type.

maintenance_type str

Maintenance type.

patch_failure_count int

Contain the patch failure count.

patching_end_time str

The time when the patching operation ended.

patching_start_time str

The time when the patching operation started.

patching_status str

The status of the patching operation.

peer_maintenance_run_id str

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

state str

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

target_resource_id str

The ID of the target resource on which the maintenance run occurs.

target_resource_type str

The type of the target resource on which the maintenance run occurs.

time_ended str

The date and time the maintenance run was completed.

time_started str

The date and time the maintenance run starts.

compartmentId String

The OCID of the compartment.

currentPatchingComponent String

The name of the current infrastruture component that is getting patched.

description String

Description of the maintenance run.

displayName String

The user-friendly name for the maintenance run.

estimatedComponentPatchingStartTime String

The estimated start time of the next infrastruture component patching operation.

estimatedPatchingTimes List<Property Map>

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

Additional information about the current lifecycle state.

maintenanceSubtype String

Maintenance sub-type.

maintenanceType String

Maintenance type.

patchFailureCount Number

Contain the patch failure count.

patchingEndTime String

The time when the patching operation ended.

patchingStartTime String

The time when the patching operation started.

patchingStatus String

The status of the patching operation.

peerMaintenanceRunId String

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

state String

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

targetResourceId String

The ID of the target resource on which the maintenance run occurs.

targetResourceType String

The type of the target resource on which the maintenance run occurs.

timeEnded String

The date and time the maintenance run was completed.

timeStarted String

The date and time the maintenance run starts.

Look up Existing MaintenanceRun Resource

Get an existing MaintenanceRun resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: MaintenanceRunState, opts?: CustomResourceOptions): MaintenanceRun
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        current_custom_action_timeout_in_mins: Optional[int] = None,
        current_patching_component: Optional[str] = None,
        custom_action_timeout_in_mins: Optional[int] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        estimated_component_patching_start_time: Optional[str] = None,
        estimated_patching_times: Optional[Sequence[_database.MaintenanceRunEstimatedPatchingTimeArgs]] = None,
        is_custom_action_timeout_enabled: Optional[bool] = None,
        is_enabled: Optional[bool] = None,
        is_patch_now_enabled: Optional[bool] = None,
        is_resume_patching: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        maintenance_run_id: Optional[str] = None,
        maintenance_subtype: Optional[str] = None,
        maintenance_type: Optional[str] = None,
        patch_failure_count: Optional[int] = None,
        patch_id: Optional[str] = None,
        patching_end_time: Optional[str] = None,
        patching_mode: Optional[str] = None,
        patching_start_time: Optional[str] = None,
        patching_status: Optional[str] = None,
        peer_maintenance_run_id: Optional[str] = None,
        state: Optional[str] = None,
        target_db_server_version: Optional[str] = None,
        target_resource_id: Optional[str] = None,
        target_resource_type: Optional[str] = None,
        target_storage_server_version: Optional[str] = None,
        time_ended: Optional[str] = None,
        time_scheduled: Optional[str] = None,
        time_started: Optional[str] = None) -> MaintenanceRun
func GetMaintenanceRun(ctx *Context, name string, id IDInput, state *MaintenanceRunState, opts ...ResourceOption) (*MaintenanceRun, error)
public static MaintenanceRun Get(string name, Input<string> id, MaintenanceRunState? state, CustomResourceOptions? opts = null)
public static MaintenanceRun get(String name, Output<String> id, MaintenanceRunState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string

The OCID of the compartment.

CurrentCustomActionTimeoutInMins int

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

CurrentPatchingComponent string

The name of the current infrastruture component that is getting patched.

CustomActionTimeoutInMins int

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

Description string

Description of the maintenance run.

DisplayName string

The user-friendly name for the maintenance run.

EstimatedComponentPatchingStartTime string

The estimated start time of the next infrastruture component patching operation.

EstimatedPatchingTimes List<MaintenanceRunEstimatedPatchingTimeArgs>

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

IsCustomActionTimeoutEnabled bool

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

IsEnabled bool

(Updatable) If FALSE, skips the maintenance run.

IsPatchNowEnabled bool

(Updatable) If set to TRUE, starts patching immediately.

IsResumePatching bool

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

LifecycleDetails string

Additional information about the current lifecycle state.

MaintenanceRunId string

The maintenance run OCID.

MaintenanceSubtype string

Maintenance sub-type.

MaintenanceType string

Maintenance type.

PatchFailureCount int

Contain the patch failure count.

PatchId string

(Updatable) The OCID of the patch to be applied in the maintenance run.

PatchingEndTime string

The time when the patching operation ended.

PatchingMode string

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

PatchingStartTime string

The time when the patching operation started.

PatchingStatus string

The status of the patching operation.

PeerMaintenanceRunId string

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

State string

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

TargetDbServerVersion string

(Updatable) The target database server system software version for the patching operation.

TargetResourceId string

The ID of the target resource on which the maintenance run occurs.

TargetResourceType string

The type of the target resource on which the maintenance run occurs.

TargetStorageServerVersion string

(Updatable) The target storage cell system software version for the patching operation.

TimeEnded string

The date and time the maintenance run was completed.

TimeScheduled string

(Updatable) The scheduled date and time of the maintenance run to update.

TimeStarted string

The date and time the maintenance run starts.

CompartmentId string

The OCID of the compartment.

CurrentCustomActionTimeoutInMins int

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

CurrentPatchingComponent string

The name of the current infrastruture component that is getting patched.

CustomActionTimeoutInMins int

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

Description string

Description of the maintenance run.

DisplayName string

The user-friendly name for the maintenance run.

EstimatedComponentPatchingStartTime string

The estimated start time of the next infrastruture component patching operation.

EstimatedPatchingTimes []MaintenanceRunEstimatedPatchingTimeArgs

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

IsCustomActionTimeoutEnabled bool

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

IsEnabled bool

(Updatable) If FALSE, skips the maintenance run.

IsPatchNowEnabled bool

(Updatable) If set to TRUE, starts patching immediately.

IsResumePatching bool

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

LifecycleDetails string

Additional information about the current lifecycle state.

MaintenanceRunId string

The maintenance run OCID.

MaintenanceSubtype string

Maintenance sub-type.

MaintenanceType string

Maintenance type.

PatchFailureCount int

Contain the patch failure count.

PatchId string

(Updatable) The OCID of the patch to be applied in the maintenance run.

PatchingEndTime string

The time when the patching operation ended.

PatchingMode string

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

PatchingStartTime string

The time when the patching operation started.

PatchingStatus string

The status of the patching operation.

PeerMaintenanceRunId string

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

State string

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

TargetDbServerVersion string

(Updatable) The target database server system software version for the patching operation.

TargetResourceId string

The ID of the target resource on which the maintenance run occurs.

TargetResourceType string

The type of the target resource on which the maintenance run occurs.

TargetStorageServerVersion string

(Updatable) The target storage cell system software version for the patching operation.

TimeEnded string

The date and time the maintenance run was completed.

TimeScheduled string

(Updatable) The scheduled date and time of the maintenance run to update.

TimeStarted string

The date and time the maintenance run starts.

compartmentId String

The OCID of the compartment.

currentCustomActionTimeoutInMins Integer

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

currentPatchingComponent String

The name of the current infrastruture component that is getting patched.

customActionTimeoutInMins Integer

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

description String

Description of the maintenance run.

displayName String

The user-friendly name for the maintenance run.

estimatedComponentPatchingStartTime String

The estimated start time of the next infrastruture component patching operation.

estimatedPatchingTimes List<MaintenanceRunEstimatedPatchingTimeArgs>

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

isCustomActionTimeoutEnabled Boolean

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

isEnabled Boolean

(Updatable) If FALSE, skips the maintenance run.

isPatchNowEnabled Boolean

(Updatable) If set to TRUE, starts patching immediately.

isResumePatching Boolean

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

lifecycleDetails String

Additional information about the current lifecycle state.

maintenanceRunId String

The maintenance run OCID.

maintenanceSubtype String

Maintenance sub-type.

maintenanceType String

Maintenance type.

patchFailureCount Integer

Contain the patch failure count.

patchId String

(Updatable) The OCID of the patch to be applied in the maintenance run.

patchingEndTime String

The time when the patching operation ended.

patchingMode String

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

patchingStartTime String

The time when the patching operation started.

patchingStatus String

The status of the patching operation.

peerMaintenanceRunId String

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

state String

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

targetDbServerVersion String

(Updatable) The target database server system software version for the patching operation.

targetResourceId String

The ID of the target resource on which the maintenance run occurs.

targetResourceType String

The type of the target resource on which the maintenance run occurs.

targetStorageServerVersion String

(Updatable) The target storage cell system software version for the patching operation.

timeEnded String

The date and time the maintenance run was completed.

timeScheduled String

(Updatable) The scheduled date and time of the maintenance run to update.

timeStarted String

The date and time the maintenance run starts.

compartmentId string

The OCID of the compartment.

currentCustomActionTimeoutInMins number

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

currentPatchingComponent string

The name of the current infrastruture component that is getting patched.

customActionTimeoutInMins number

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

description string

Description of the maintenance run.

displayName string

The user-friendly name for the maintenance run.

estimatedComponentPatchingStartTime string

The estimated start time of the next infrastruture component patching operation.

estimatedPatchingTimes MaintenanceRunEstimatedPatchingTimeArgs[]

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

isCustomActionTimeoutEnabled boolean

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

isEnabled boolean

(Updatable) If FALSE, skips the maintenance run.

isPatchNowEnabled boolean

(Updatable) If set to TRUE, starts patching immediately.

isResumePatching boolean

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

lifecycleDetails string

Additional information about the current lifecycle state.

maintenanceRunId string

The maintenance run OCID.

maintenanceSubtype string

Maintenance sub-type.

maintenanceType string

Maintenance type.

patchFailureCount number

Contain the patch failure count.

patchId string

(Updatable) The OCID of the patch to be applied in the maintenance run.

patchingEndTime string

The time when the patching operation ended.

patchingMode string

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

patchingStartTime string

The time when the patching operation started.

patchingStatus string

The status of the patching operation.

peerMaintenanceRunId string

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

state string

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

targetDbServerVersion string

(Updatable) The target database server system software version for the patching operation.

targetResourceId string

The ID of the target resource on which the maintenance run occurs.

targetResourceType string

The type of the target resource on which the maintenance run occurs.

targetStorageServerVersion string

(Updatable) The target storage cell system software version for the patching operation.

timeEnded string

The date and time the maintenance run was completed.

timeScheduled string

(Updatable) The scheduled date and time of the maintenance run to update.

timeStarted string

The date and time the maintenance run starts.

compartment_id str

The OCID of the compartment.

current_custom_action_timeout_in_mins int

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

current_patching_component str

The name of the current infrastruture component that is getting patched.

custom_action_timeout_in_mins int

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

description str

Description of the maintenance run.

display_name str

The user-friendly name for the maintenance run.

estimated_component_patching_start_time str

The estimated start time of the next infrastruture component patching operation.

estimated_patching_times MaintenanceRunEstimatedPatchingTimeArgs]

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

is_custom_action_timeout_enabled bool

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

is_enabled bool

(Updatable) If FALSE, skips the maintenance run.

is_patch_now_enabled bool

(Updatable) If set to TRUE, starts patching immediately.

is_resume_patching bool

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

lifecycle_details str

Additional information about the current lifecycle state.

maintenance_run_id str

The maintenance run OCID.

maintenance_subtype str

Maintenance sub-type.

maintenance_type str

Maintenance type.

patch_failure_count int

Contain the patch failure count.

patch_id str

(Updatable) The OCID of the patch to be applied in the maintenance run.

patching_end_time str

The time when the patching operation ended.

patching_mode str

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

patching_start_time str

The time when the patching operation started.

patching_status str

The status of the patching operation.

peer_maintenance_run_id str

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

state str

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

target_db_server_version str

(Updatable) The target database server system software version for the patching operation.

target_resource_id str

The ID of the target resource on which the maintenance run occurs.

target_resource_type str

The type of the target resource on which the maintenance run occurs.

target_storage_server_version str

(Updatable) The target storage cell system software version for the patching operation.

time_ended str

The date and time the maintenance run was completed.

time_scheduled str

(Updatable) The scheduled date and time of the maintenance run to update.

time_started str

The date and time the maintenance run starts.

compartmentId String

The OCID of the compartment.

currentCustomActionTimeoutInMins Number

(Updatable) The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

currentPatchingComponent String

The name of the current infrastruture component that is getting patched.

customActionTimeoutInMins Number

(Updatable) Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

description String

Description of the maintenance run.

displayName String

The user-friendly name for the maintenance run.

estimatedComponentPatchingStartTime String

The estimated start time of the next infrastruture component patching operation.

estimatedPatchingTimes List<Property Map>

The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).

isCustomActionTimeoutEnabled Boolean

(Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

isEnabled Boolean

(Updatable) If FALSE, skips the maintenance run.

isPatchNowEnabled Boolean

(Updatable) If set to TRUE, starts patching immediately.

isResumePatching Boolean

(Updatable) If true, then the patching is resumed and the next component will be patched immediately.

lifecycleDetails String

Additional information about the current lifecycle state.

maintenanceRunId String

The maintenance run OCID.

maintenanceSubtype String

Maintenance sub-type.

maintenanceType String

Maintenance type.

patchFailureCount Number

Contain the patch failure count.

patchId String

(Updatable) The OCID of the patch to be applied in the maintenance run.

patchingEndTime String

The time when the patching operation ended.

patchingMode String

(Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

patchingStartTime String

The time when the patching operation started.

patchingStatus String

The status of the patching operation.

peerMaintenanceRunId String

The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.

state String

The current state of the maintenance run. For Autonomous Database on shared Exadata infrastructure, valid states are IN_PROGRESS, SUCCEEDED and FAILED.

targetDbServerVersion String

(Updatable) The target database server system software version for the patching operation.

targetResourceId String

The ID of the target resource on which the maintenance run occurs.

targetResourceType String

The type of the target resource on which the maintenance run occurs.

targetStorageServerVersion String

(Updatable) The target storage cell system software version for the patching operation.

timeEnded String

The date and time the maintenance run was completed.

timeScheduled String

(Updatable) The scheduled date and time of the maintenance run to update.

timeStarted String

The date and time the maintenance run starts.

Supporting Types

MaintenanceRunEstimatedPatchingTime

EstimatedDbServerPatchingTime int

The estimated time required in minutes for database server patching.

EstimatedNetworkSwitchesPatchingTime int

The estimated time required in minutes for network switch patching.

EstimatedStorageServerPatchingTime int

The estimated time required in minutes for storage server patching.

TotalEstimatedPatchingTime int

The estimated total time required in minutes for all patching operations.

EstimatedDbServerPatchingTime int

The estimated time required in minutes for database server patching.

EstimatedNetworkSwitchesPatchingTime int

The estimated time required in minutes for network switch patching.

EstimatedStorageServerPatchingTime int

The estimated time required in minutes for storage server patching.

TotalEstimatedPatchingTime int

The estimated total time required in minutes for all patching operations.

estimatedDbServerPatchingTime Integer

The estimated time required in minutes for database server patching.

estimatedNetworkSwitchesPatchingTime Integer

The estimated time required in minutes for network switch patching.

estimatedStorageServerPatchingTime Integer

The estimated time required in minutes for storage server patching.

totalEstimatedPatchingTime Integer

The estimated total time required in minutes for all patching operations.

estimatedDbServerPatchingTime number

The estimated time required in minutes for database server patching.

estimatedNetworkSwitchesPatchingTime number

The estimated time required in minutes for network switch patching.

estimatedStorageServerPatchingTime number

The estimated time required in minutes for storage server patching.

totalEstimatedPatchingTime number

The estimated total time required in minutes for all patching operations.

estimated_db_server_patching_time int

The estimated time required in minutes for database server patching.

estimated_network_switches_patching_time int

The estimated time required in minutes for network switch patching.

estimated_storage_server_patching_time int

The estimated time required in minutes for storage server patching.

total_estimated_patching_time int

The estimated total time required in minutes for all patching operations.

estimatedDbServerPatchingTime Number

The estimated time required in minutes for database server patching.

estimatedNetworkSwitchesPatchingTime Number

The estimated time required in minutes for network switch patching.

estimatedStorageServerPatchingTime Number

The estimated time required in minutes for storage server patching.

totalEstimatedPatchingTime Number

The estimated total time required in minutes for all patching operations.

Import

MaintenanceRuns can be imported using the id, e.g.

 $ pulumi import oci:Database/maintenanceRun:MaintenanceRun test_maintenance_run "id"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.