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:
- Maintenance
Run stringId The maintenance run OCID.
- Current
Custom intAction Timeout In Mins (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 intTimeout In Mins (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 boolAction Timeout Enabled (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 boolNow Enabled (Updatable) If set to
TRUE
, starts patching immediately.- Is
Resume boolPatching (Updatable) If true, then the patching is resumed and the next component will be patched immediately.
- Patch
Id string (Updatable) The OCID of the patch to be applied in the maintenance run.
- Patching
Mode string (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- Target
Db stringServer Version (Updatable) The target database server system software version for the patching operation.
- Target
Storage stringServer Version (Updatable) The target storage cell system software version for the patching operation.
- Time
Scheduled string (Updatable) The scheduled date and time of the maintenance run to update.
- Maintenance
Run stringId The maintenance run OCID.
- Current
Custom intAction Timeout In Mins (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 intTimeout In Mins (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 boolAction Timeout Enabled (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 boolNow Enabled (Updatable) If set to
TRUE
, starts patching immediately.- Is
Resume boolPatching (Updatable) If true, then the patching is resumed and the next component will be patched immediately.
- Patch
Id string (Updatable) The OCID of the patch to be applied in the maintenance run.
- Patching
Mode string (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- Target
Db stringServer Version (Updatable) The target database server system software version for the patching operation.
- Target
Storage stringServer Version (Updatable) The target storage cell system software version for the patching operation.
- Time
Scheduled string (Updatable) The scheduled date and time of the maintenance run to update.
- maintenance
Run StringId The maintenance run OCID.
- current
Custom IntegerAction Timeout In Mins (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 IntegerTimeout In Mins (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 BooleanAction Timeout Enabled (Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Enabled Boolean (Updatable) If
FALSE
, skips the maintenance run.- is
Patch BooleanNow Enabled (Updatable) If set to
TRUE
, starts patching immediately.- is
Resume BooleanPatching (Updatable) If true, then the patching is resumed and the next component will be patched immediately.
- patch
Id String (Updatable) The OCID of the patch to be applied in the maintenance run.
- patching
Mode String (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- target
Db StringServer Version (Updatable) The target database server system software version for the patching operation.
- target
Storage StringServer Version (Updatable) The target storage cell system software version for the patching operation.
- time
Scheduled String (Updatable) The scheduled date and time of the maintenance run to update.
- maintenance
Run stringId The maintenance run OCID.
- current
Custom numberAction Timeout In Mins (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 numberTimeout In Mins (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 booleanAction Timeout Enabled (Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Enabled boolean (Updatable) If
FALSE
, skips the maintenance run.- is
Patch booleanNow Enabled (Updatable) If set to
TRUE
, starts patching immediately.- is
Resume booleanPatching (Updatable) If true, then the patching is resumed and the next component will be patched immediately.
- patch
Id string (Updatable) The OCID of the patch to be applied in the maintenance run.
- patching
Mode string (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- target
Db stringServer Version (Updatable) The target database server system software version for the patching operation.
- target
Storage stringServer Version (Updatable) The target storage cell system software version for the patching operation.
- time
Scheduled string (Updatable) The scheduled date and time of the maintenance run to update.
- maintenance_
run_ strid The maintenance run OCID.
- current_
custom_ intaction_ timeout_ in_ mins (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_ inttimeout_ in_ mins (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_ boolaction_ timeout_ enabled (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_ boolnow_ enabled (Updatable) If set to
TRUE
, starts patching immediately.- is_
resume_ boolpatching (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_ strserver_ version (Updatable) The target database server system software version for the patching operation.
- target_
storage_ strserver_ version (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.
- maintenance
Run StringId The maintenance run OCID.
- current
Custom NumberAction Timeout In Mins (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 NumberTimeout In Mins (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 BooleanAction Timeout Enabled (Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Enabled Boolean (Updatable) If
FALSE
, skips the maintenance run.- is
Patch BooleanNow Enabled (Updatable) If set to
TRUE
, starts patching immediately.- is
Resume BooleanPatching (Updatable) If true, then the patching is resumed and the next component will be patched immediately.
- patch
Id String (Updatable) The OCID of the patch to be applied in the maintenance run.
- patching
Mode String (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- target
Db StringServer Version (Updatable) The target database server system software version for the patching operation.
- target
Storage StringServer Version (Updatable) The target storage cell system software version for the patching operation.
- time
Scheduled 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:
- Compartment
Id string The OCID of the compartment.
- Current
Patching stringComponent The name of the current infrastruture component that is getting patched.
- Description string
Description of the maintenance run.
- Display
Name string The user-friendly name for the maintenance run.
- Estimated
Component stringPatching Start Time The estimated start time of the next infrastruture component patching operation.
- Estimated
Patching List<MaintenanceTimes Run Estimated Patching Time> 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.
- Lifecycle
Details string Additional information about the current lifecycle state.
- Maintenance
Subtype string Maintenance sub-type.
- Maintenance
Type string Maintenance type.
- Patch
Failure intCount Contain the patch failure count.
- Patching
End stringTime The time when the patching operation ended.
- Patching
Start stringTime The time when the patching operation started.
- Patching
Status string The status of the patching operation.
- Peer
Maintenance stringRun Id 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.
- Target
Resource stringId The ID of the target resource on which the maintenance run occurs.
- Target
Resource stringType The type of the target resource on which the maintenance run occurs.
- Time
Ended string The date and time the maintenance run was completed.
- Time
Started string The date and time the maintenance run starts.
- Compartment
Id string The OCID of the compartment.
- Current
Patching stringComponent The name of the current infrastruture component that is getting patched.
- Description string
Description of the maintenance run.
- Display
Name string The user-friendly name for the maintenance run.
- Estimated
Component stringPatching Start Time The estimated start time of the next infrastruture component patching operation.
- Estimated
Patching []MaintenanceTimes Run Estimated Patching Time 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.
- Lifecycle
Details string Additional information about the current lifecycle state.
- Maintenance
Subtype string Maintenance sub-type.
- Maintenance
Type string Maintenance type.
- Patch
Failure intCount Contain the patch failure count.
- Patching
End stringTime The time when the patching operation ended.
- Patching
Start stringTime The time when the patching operation started.
- Patching
Status string The status of the patching operation.
- Peer
Maintenance stringRun Id 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.
- Target
Resource stringId The ID of the target resource on which the maintenance run occurs.
- Target
Resource stringType The type of the target resource on which the maintenance run occurs.
- Time
Ended string The date and time the maintenance run was completed.
- Time
Started string The date and time the maintenance run starts.
- compartment
Id String The OCID of the compartment.
- current
Patching StringComponent The name of the current infrastruture component that is getting patched.
- description String
Description of the maintenance run.
- display
Name String The user-friendly name for the maintenance run.
- estimated
Component StringPatching Start Time The estimated start time of the next infrastruture component patching operation.
- estimated
Patching List<MaintenanceTimes Run Estimated Patching Time> 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.
- lifecycle
Details String Additional information about the current lifecycle state.
- maintenance
Subtype String Maintenance sub-type.
- maintenance
Type String Maintenance type.
- patch
Failure IntegerCount Contain the patch failure count.
- patching
End StringTime The time when the patching operation ended.
- patching
Start StringTime The time when the patching operation started.
- patching
Status String The status of the patching operation.
- peer
Maintenance StringRun Id 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.
- target
Resource StringId The ID of the target resource on which the maintenance run occurs.
- target
Resource StringType The type of the target resource on which the maintenance run occurs.
- time
Ended String The date and time the maintenance run was completed.
- time
Started String The date and time the maintenance run starts.
- compartment
Id string The OCID of the compartment.
- current
Patching stringComponent The name of the current infrastruture component that is getting patched.
- description string
Description of the maintenance run.
- display
Name string The user-friendly name for the maintenance run.
- estimated
Component stringPatching Start Time The estimated start time of the next infrastruture component patching operation.
- estimated
Patching MaintenanceTimes Run Estimated Patching Time[] 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.
- lifecycle
Details string Additional information about the current lifecycle state.
- maintenance
Subtype string Maintenance sub-type.
- maintenance
Type string Maintenance type.
- patch
Failure numberCount Contain the patch failure count.
- patching
End stringTime The time when the patching operation ended.
- patching
Start stringTime The time when the patching operation started.
- patching
Status string The status of the patching operation.
- peer
Maintenance stringRun Id 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.
- target
Resource stringId The ID of the target resource on which the maintenance run occurs.
- target
Resource stringType The type of the target resource on which the maintenance run occurs.
- time
Ended string The date and time the maintenance run was completed.
- time
Started string The date and time the maintenance run starts.
- compartment_
id str The OCID of the compartment.
- current_
patching_ strcomponent 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_ strpatching_ start_ time The estimated start time of the next infrastruture component patching operation.
- estimated_
patching_ Maintenancetimes Run Estimated Patching Time] 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_ intcount Contain the patch failure count.
- patching_
end_ strtime The time when the patching operation ended.
- patching_
start_ strtime The time when the patching operation started.
- patching_
status str The status of the patching operation.
- peer_
maintenance_ strrun_ id 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_ strid The ID of the target resource on which the maintenance run occurs.
- target_
resource_ strtype 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.
- compartment
Id String The OCID of the compartment.
- current
Patching StringComponent The name of the current infrastruture component that is getting patched.
- description String
Description of the maintenance run.
- display
Name String The user-friendly name for the maintenance run.
- estimated
Component StringPatching Start Time The estimated start time of the next infrastruture component patching operation.
- estimated
Patching List<Property Map>Times 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.
- lifecycle
Details String Additional information about the current lifecycle state.
- maintenance
Subtype String Maintenance sub-type.
- maintenance
Type String Maintenance type.
- patch
Failure NumberCount Contain the patch failure count.
- patching
End StringTime The time when the patching operation ended.
- patching
Start StringTime The time when the patching operation started.
- patching
Status String The status of the patching operation.
- peer
Maintenance StringRun Id 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.
- target
Resource StringId The ID of the target resource on which the maintenance run occurs.
- target
Resource StringType The type of the target resource on which the maintenance run occurs.
- time
Ended String The date and time the maintenance run was completed.
- time
Started 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.
- Compartment
Id string The OCID of the compartment.
- Current
Custom intAction Timeout In Mins (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 stringComponent The name of the current infrastruture component that is getting patched.
- Custom
Action intTimeout In Mins (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.
- Display
Name string The user-friendly name for the maintenance run.
- Estimated
Component stringPatching Start Time The estimated start time of the next infrastruture component patching operation.
- Estimated
Patching List<MaintenanceTimes Run Estimated Patching Time Args> The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- Is
Custom boolAction Timeout Enabled (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 boolNow Enabled (Updatable) If set to
TRUE
, starts patching immediately.- Is
Resume boolPatching (Updatable) If true, then the patching is resumed and the next component will be patched immediately.
- Lifecycle
Details string Additional information about the current lifecycle state.
- Maintenance
Run stringId The maintenance run OCID.
- Maintenance
Subtype string Maintenance sub-type.
- Maintenance
Type string Maintenance type.
- Patch
Failure intCount Contain the patch failure count.
- Patch
Id string (Updatable) The OCID of the patch to be applied in the maintenance run.
- Patching
End stringTime The time when the patching operation ended.
- Patching
Mode string (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- Patching
Start stringTime The time when the patching operation started.
- Patching
Status string The status of the patching operation.
- Peer
Maintenance stringRun Id 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.
- Target
Db stringServer Version (Updatable) The target database server system software version for the patching operation.
- Target
Resource stringId The ID of the target resource on which the maintenance run occurs.
- Target
Resource stringType The type of the target resource on which the maintenance run occurs.
- Target
Storage stringServer Version (Updatable) The target storage cell system software version for the patching operation.
- Time
Ended string The date and time the maintenance run was completed.
- Time
Scheduled string (Updatable) The scheduled date and time of the maintenance run to update.
- Time
Started string The date and time the maintenance run starts.
- Compartment
Id string The OCID of the compartment.
- Current
Custom intAction Timeout In Mins (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 stringComponent The name of the current infrastruture component that is getting patched.
- Custom
Action intTimeout In Mins (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.
- Display
Name string The user-friendly name for the maintenance run.
- Estimated
Component stringPatching Start Time The estimated start time of the next infrastruture component patching operation.
- Estimated
Patching []MaintenanceTimes Run Estimated Patching Time Args The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- Is
Custom boolAction Timeout Enabled (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 boolNow Enabled (Updatable) If set to
TRUE
, starts patching immediately.- Is
Resume boolPatching (Updatable) If true, then the patching is resumed and the next component will be patched immediately.
- Lifecycle
Details string Additional information about the current lifecycle state.
- Maintenance
Run stringId The maintenance run OCID.
- Maintenance
Subtype string Maintenance sub-type.
- Maintenance
Type string Maintenance type.
- Patch
Failure intCount Contain the patch failure count.
- Patch
Id string (Updatable) The OCID of the patch to be applied in the maintenance run.
- Patching
End stringTime The time when the patching operation ended.
- Patching
Mode string (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- Patching
Start stringTime The time when the patching operation started.
- Patching
Status string The status of the patching operation.
- Peer
Maintenance stringRun Id 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.
- Target
Db stringServer Version (Updatable) The target database server system software version for the patching operation.
- Target
Resource stringId The ID of the target resource on which the maintenance run occurs.
- Target
Resource stringType The type of the target resource on which the maintenance run occurs.
- Target
Storage stringServer Version (Updatable) The target storage cell system software version for the patching operation.
- Time
Ended string The date and time the maintenance run was completed.
- Time
Scheduled string (Updatable) The scheduled date and time of the maintenance run to update.
- Time
Started string The date and time the maintenance run starts.
- compartment
Id String The OCID of the compartment.
- current
Custom IntegerAction Timeout In Mins (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 StringComponent The name of the current infrastruture component that is getting patched.
- custom
Action IntegerTimeout In Mins (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.
- display
Name String The user-friendly name for the maintenance run.
- estimated
Component StringPatching Start Time The estimated start time of the next infrastruture component patching operation.
- estimated
Patching List<MaintenanceTimes Run Estimated Patching Time Args> The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- is
Custom BooleanAction Timeout Enabled (Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Enabled Boolean (Updatable) If
FALSE
, skips the maintenance run.- is
Patch BooleanNow Enabled (Updatable) If set to
TRUE
, starts patching immediately.- is
Resume BooleanPatching (Updatable) If true, then the patching is resumed and the next component will be patched immediately.
- lifecycle
Details String Additional information about the current lifecycle state.
- maintenance
Run StringId The maintenance run OCID.
- maintenance
Subtype String Maintenance sub-type.
- maintenance
Type String Maintenance type.
- patch
Failure IntegerCount Contain the patch failure count.
- patch
Id String (Updatable) The OCID of the patch to be applied in the maintenance run.
- patching
End StringTime The time when the patching operation ended.
- patching
Mode String (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching
Start StringTime The time when the patching operation started.
- patching
Status String The status of the patching operation.
- peer
Maintenance StringRun Id 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.
- target
Db StringServer Version (Updatable) The target database server system software version for the patching operation.
- target
Resource StringId The ID of the target resource on which the maintenance run occurs.
- target
Resource StringType The type of the target resource on which the maintenance run occurs.
- target
Storage StringServer Version (Updatable) The target storage cell system software version for the patching operation.
- time
Ended String The date and time the maintenance run was completed.
- time
Scheduled String (Updatable) The scheduled date and time of the maintenance run to update.
- time
Started String The date and time the maintenance run starts.
- compartment
Id string The OCID of the compartment.
- current
Custom numberAction Timeout In Mins (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 stringComponent The name of the current infrastruture component that is getting patched.
- custom
Action numberTimeout In Mins (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.
- display
Name string The user-friendly name for the maintenance run.
- estimated
Component stringPatching Start Time The estimated start time of the next infrastruture component patching operation.
- estimated
Patching MaintenanceTimes Run Estimated Patching Time Args[] The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- is
Custom booleanAction Timeout Enabled (Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Enabled boolean (Updatable) If
FALSE
, skips the maintenance run.- is
Patch booleanNow Enabled (Updatable) If set to
TRUE
, starts patching immediately.- is
Resume booleanPatching (Updatable) If true, then the patching is resumed and the next component will be patched immediately.
- lifecycle
Details string Additional information about the current lifecycle state.
- maintenance
Run stringId The maintenance run OCID.
- maintenance
Subtype string Maintenance sub-type.
- maintenance
Type string Maintenance type.
- patch
Failure numberCount Contain the patch failure count.
- patch
Id string (Updatable) The OCID of the patch to be applied in the maintenance run.
- patching
End stringTime The time when the patching operation ended.
- patching
Mode string (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching
Start stringTime The time when the patching operation started.
- patching
Status string The status of the patching operation.
- peer
Maintenance stringRun Id 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.
- target
Db stringServer Version (Updatable) The target database server system software version for the patching operation.
- target
Resource stringId The ID of the target resource on which the maintenance run occurs.
- target
Resource stringType The type of the target resource on which the maintenance run occurs.
- target
Storage stringServer Version (Updatable) The target storage cell system software version for the patching operation.
- time
Ended string The date and time the maintenance run was completed.
- time
Scheduled string (Updatable) The scheduled date and time of the maintenance run to update.
- time
Started string The date and time the maintenance run starts.
- compartment_
id str The OCID of the compartment.
- current_
custom_ intaction_ timeout_ in_ mins (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_ strcomponent The name of the current infrastruture component that is getting patched.
- custom_
action_ inttimeout_ in_ mins (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_ strpatching_ start_ time The estimated start time of the next infrastruture component patching operation.
- estimated_
patching_ Maintenancetimes Run Estimated Patching Time Args] The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- is_
custom_ boolaction_ timeout_ enabled (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_ boolnow_ enabled (Updatable) If set to
TRUE
, starts patching immediately.- is_
resume_ boolpatching (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_ strid The maintenance run OCID.
- maintenance_
subtype str Maintenance sub-type.
- maintenance_
type str Maintenance type.
- patch_
failure_ intcount Contain the patch failure count.
- patch_
id str (Updatable) The OCID of the patch to be applied in the maintenance run.
- patching_
end_ strtime 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_ strtime The time when the patching operation started.
- patching_
status str The status of the patching operation.
- peer_
maintenance_ strrun_ id 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_ strserver_ version (Updatable) The target database server system software version for the patching operation.
- target_
resource_ strid The ID of the target resource on which the maintenance run occurs.
- target_
resource_ strtype The type of the target resource on which the maintenance run occurs.
- target_
storage_ strserver_ version (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.
- compartment
Id String The OCID of the compartment.
- current
Custom NumberAction Timeout In Mins (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 StringComponent The name of the current infrastruture component that is getting patched.
- custom
Action NumberTimeout In Mins (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.
- display
Name String The user-friendly name for the maintenance run.
- estimated
Component StringPatching Start Time The estimated start time of the next infrastruture component patching operation.
- estimated
Patching List<Property Map>Times The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- is
Custom BooleanAction Timeout Enabled (Updatable) If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Enabled Boolean (Updatable) If
FALSE
, skips the maintenance run.- is
Patch BooleanNow Enabled (Updatable) If set to
TRUE
, starts patching immediately.- is
Resume BooleanPatching (Updatable) If true, then the patching is resumed and the next component will be patched immediately.
- lifecycle
Details String Additional information about the current lifecycle state.
- maintenance
Run StringId The maintenance run OCID.
- maintenance
Subtype String Maintenance sub-type.
- maintenance
Type String Maintenance type.
- patch
Failure NumberCount Contain the patch failure count.
- patch
Id String (Updatable) The OCID of the patch to be applied in the maintenance run.
- patching
End StringTime The time when the patching operation ended.
- patching
Mode String (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching
Start StringTime The time when the patching operation started.
- patching
Status String The status of the patching operation.
- peer
Maintenance StringRun Id 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.
- target
Db StringServer Version (Updatable) The target database server system software version for the patching operation.
- target
Resource StringId The ID of the target resource on which the maintenance run occurs.
- target
Resource StringType The type of the target resource on which the maintenance run occurs.
- target
Storage StringServer Version (Updatable) The target storage cell system software version for the patching operation.
- time
Ended String The date and time the maintenance run was completed.
- time
Scheduled String (Updatable) The scheduled date and time of the maintenance run to update.
- time
Started String The date and time the maintenance run starts.
Supporting Types
MaintenanceRunEstimatedPatchingTime
- Estimated
Db intServer Patching Time The estimated time required in minutes for database server patching.
- Estimated
Network intSwitches Patching Time The estimated time required in minutes for network switch patching.
- Estimated
Storage intServer Patching Time The estimated time required in minutes for storage server patching.
- Total
Estimated intPatching Time The estimated total time required in minutes for all patching operations.
- Estimated
Db intServer Patching Time The estimated time required in minutes for database server patching.
- Estimated
Network intSwitches Patching Time The estimated time required in minutes for network switch patching.
- Estimated
Storage intServer Patching Time The estimated time required in minutes for storage server patching.
- Total
Estimated intPatching Time The estimated total time required in minutes for all patching operations.
- estimated
Db IntegerServer Patching Time The estimated time required in minutes for database server patching.
- estimated
Network IntegerSwitches Patching Time The estimated time required in minutes for network switch patching.
- estimated
Storage IntegerServer Patching Time The estimated time required in minutes for storage server patching.
- total
Estimated IntegerPatching Time The estimated total time required in minutes for all patching operations.
- estimated
Db numberServer Patching Time The estimated time required in minutes for database server patching.
- estimated
Network numberSwitches Patching Time The estimated time required in minutes for network switch patching.
- estimated
Storage numberServer Patching Time The estimated time required in minutes for storage server patching.
- total
Estimated numberPatching Time The estimated total time required in minutes for all patching operations.
- estimated_
db_ intserver_ patching_ time The estimated time required in minutes for database server patching.
- estimated_
network_ intswitches_ patching_ time The estimated time required in minutes for network switch patching.
- estimated_
storage_ intserver_ patching_ time The estimated time required in minutes for storage server patching.
- total_
estimated_ intpatching_ time The estimated total time required in minutes for all patching operations.
- estimated
Db NumberServer Patching Time The estimated time required in minutes for database server patching.
- estimated
Network NumberSwitches Patching Time The estimated time required in minutes for network switch patching.
- estimated
Storage NumberServer Patching Time The estimated time required in minutes for storage server patching.
- total
Estimated NumberPatching Time 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.