FamilyMaintenancePolicy¶
- class oci.fusion_apps.models.FamilyMaintenancePolicy(**kwargs)¶
Bases:
objectThe policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
Attributes:
A constant which can be used with the concurrent_maintenance property of a FamilyMaintenancePolicy.
A constant which can be used with the concurrent_maintenance property of a FamilyMaintenancePolicy.
A constant which can be used with the concurrent_maintenance property of a FamilyMaintenancePolicy.
Gets the concurrent_maintenance of this FamilyMaintenancePolicy.
Gets the is_monthly_patching_enabled of this FamilyMaintenancePolicy.
Gets the quarterly_upgrade_begin_times of this FamilyMaintenancePolicy.
Methods:
__init__(**kwargs)Initializes a new FamilyMaintenancePolicy object with values from keyword arguments.
- CONCURRENT_MAINTENANCE_DISABLED = 'DISABLED'¶
A constant which can be used with the concurrent_maintenance property of a FamilyMaintenancePolicy. This constant has a value of “DISABLED”
- CONCURRENT_MAINTENANCE_NON_PROD = 'NON_PROD'¶
A constant which can be used with the concurrent_maintenance property of a FamilyMaintenancePolicy. This constant has a value of “NON_PROD”
- CONCURRENT_MAINTENANCE_PROD = 'PROD'¶
A constant which can be used with the concurrent_maintenance property of a FamilyMaintenancePolicy. This constant has a value of “PROD”
- __init__(**kwargs)¶
Initializes a new FamilyMaintenancePolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
quarterly_upgrade_begin_times (str) – The value to assign to the quarterly_upgrade_begin_times property of this FamilyMaintenancePolicy.
is_monthly_patching_enabled (bool) – The value to assign to the is_monthly_patching_enabled property of this FamilyMaintenancePolicy.
concurrent_maintenance (str) – The value to assign to the concurrent_maintenance property of this FamilyMaintenancePolicy. Allowed values for this property are: “PROD”, “NON_PROD”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property concurrent_maintenance¶
Gets the concurrent_maintenance of this FamilyMaintenancePolicy. Option to upgrade both production and non-production environments at the same time. When set to PROD both types of environnments are upgraded on the production schedule. When set to NON_PROD both types of environments are upgraded on the non-production schedule.
Allowed values for this property are: “PROD”, “NON_PROD”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The concurrent_maintenance of this FamilyMaintenancePolicy.
- Return type
str
- property is_monthly_patching_enabled¶
Gets the is_monthly_patching_enabled of this FamilyMaintenancePolicy. When True, monthly patching is enabled for the environment family.
- Returns
The is_monthly_patching_enabled of this FamilyMaintenancePolicy.
- Return type
bool
- property quarterly_upgrade_begin_times¶
Gets the quarterly_upgrade_begin_times of this FamilyMaintenancePolicy. The quarterly maintenance month group schedule of the Fusion environment family.
- Returns
The quarterly_upgrade_begin_times of this FamilyMaintenancePolicy.
- Return type
str