CreateMaintenanceRunDetails

class oci.database.models.CreateMaintenanceRunDetails(**kwargs)

Bases: object

Details to schedule Maintenance Run with Latest Release Update along TimeZone File Update for the specified resource.

Attributes

PATCHING_MODE_NONROLLING A constant which can be used with the patching_mode property of a CreateMaintenanceRunDetails.
PATCHING_MODE_ROLLING A constant which can be used with the patching_mode property of a CreateMaintenanceRunDetails.
PATCH_TYPE_CUSTOM_DATABASE_SOFTWARE_IMAGE A constant which can be used with the patch_type property of a CreateMaintenanceRunDetails.
PATCH_TYPE_QUARTERLY A constant which can be used with the patch_type property of a CreateMaintenanceRunDetails.
PATCH_TYPE_TIMEZONE A constant which can be used with the patch_type property of a CreateMaintenanceRunDetails.
compartment_id Gets the compartment_id of this CreateMaintenanceRunDetails.
database_software_image_id Gets the database_software_image_id of this CreateMaintenanceRunDetails.
is_dst_file_update_enabled Gets the is_dst_file_update_enabled of this CreateMaintenanceRunDetails.
patch_type [Required] Gets the patch_type of this CreateMaintenanceRunDetails.
patching_mode Gets the patching_mode of this CreateMaintenanceRunDetails.
target_resource_id [Required] Gets the target_resource_id of this CreateMaintenanceRunDetails.
time_scheduled [Required] Gets the time_scheduled of this CreateMaintenanceRunDetails.

Methods

__init__(**kwargs) Initializes a new CreateMaintenanceRunDetails object with values from keyword arguments.
PATCHING_MODE_NONROLLING = 'NONROLLING'

A constant which can be used with the patching_mode property of a CreateMaintenanceRunDetails. This constant has a value of “NONROLLING”

PATCHING_MODE_ROLLING = 'ROLLING'

A constant which can be used with the patching_mode property of a CreateMaintenanceRunDetails. This constant has a value of “ROLLING”

PATCH_TYPE_CUSTOM_DATABASE_SOFTWARE_IMAGE = 'CUSTOM_DATABASE_SOFTWARE_IMAGE'

A constant which can be used with the patch_type property of a CreateMaintenanceRunDetails. This constant has a value of “CUSTOM_DATABASE_SOFTWARE_IMAGE”

PATCH_TYPE_QUARTERLY = 'QUARTERLY'

A constant which can be used with the patch_type property of a CreateMaintenanceRunDetails. This constant has a value of “QUARTERLY”

PATCH_TYPE_TIMEZONE = 'TIMEZONE'

A constant which can be used with the patch_type property of a CreateMaintenanceRunDetails. This constant has a value of “TIMEZONE”

__init__(**kwargs)

Initializes a new CreateMaintenanceRunDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • target_resource_id (str) – The value to assign to the target_resource_id property of this CreateMaintenanceRunDetails.
  • is_dst_file_update_enabled (bool) – The value to assign to the is_dst_file_update_enabled property of this CreateMaintenanceRunDetails.
  • time_scheduled (datetime) – The value to assign to the time_scheduled property of this CreateMaintenanceRunDetails.
  • patching_mode (str) – The value to assign to the patching_mode property of this CreateMaintenanceRunDetails. Allowed values for this property are: “ROLLING”, “NONROLLING”
  • patch_type (str) – The value to assign to the patch_type property of this CreateMaintenanceRunDetails. Allowed values for this property are: “QUARTERLY”, “TIMEZONE”, “CUSTOM_DATABASE_SOFTWARE_IMAGE”
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateMaintenanceRunDetails.
  • database_software_image_id (str) – The value to assign to the database_software_image_id property of this CreateMaintenanceRunDetails.
compartment_id

Gets the compartment_id of this CreateMaintenanceRunDetails. The OCID of the compartment containing the Maintenance Run.

Returns:The compartment_id of this CreateMaintenanceRunDetails.
Return type:str
database_software_image_id

Gets the database_software_image_id of this CreateMaintenanceRunDetails. The Autonomous Database Software Image OCID

Returns:The database_software_image_id of this CreateMaintenanceRunDetails.
Return type:str
is_dst_file_update_enabled

Gets the is_dst_file_update_enabled of this CreateMaintenanceRunDetails. Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.

Returns:The is_dst_file_update_enabled of this CreateMaintenanceRunDetails.
Return type:bool
patch_type

[Required] Gets the patch_type of this CreateMaintenanceRunDetails. Patch type, either “QUARTERLY”, “TIMEZONE” or “CUSTOM_DATABASE_SOFTWARE_IMAGE”.

Allowed values for this property are: “QUARTERLY”, “TIMEZONE”, “CUSTOM_DATABASE_SOFTWARE_IMAGE”

Returns:The patch_type of this CreateMaintenanceRunDetails.
Return type:str
patching_mode

Gets the patching_mode of this CreateMaintenanceRunDetails. Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”. Default value is ROLLING.

IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

Allowed values for this property are: “ROLLING”, “NONROLLING”

Returns:The patching_mode of this CreateMaintenanceRunDetails.
Return type:str
target_resource_id

[Required] Gets the target_resource_id of this CreateMaintenanceRunDetails. The ID of the target resource for which the maintenance run should be created.

Returns:The target_resource_id of this CreateMaintenanceRunDetails.
Return type:str
time_scheduled

[Required] Gets the time_scheduled of this CreateMaintenanceRunDetails. The date and time that update should be scheduled.

Returns:The time_scheduled of this CreateMaintenanceRunDetails.
Return type:datetime