MaintenancePolicy¶
-
class
oci.fusion_apps.models.
MaintenancePolicy
(**kwargs)¶ Bases:
object
The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see Understanding Environment Maintenance.
Attributes
ENVIRONMENT_MAINTENANCE_OVERRIDE_NONE
A constant which can be used with the environment_maintenance_override property of a MaintenancePolicy. ENVIRONMENT_MAINTENANCE_OVERRIDE_NON_PROD
A constant which can be used with the environment_maintenance_override property of a MaintenancePolicy. ENVIRONMENT_MAINTENANCE_OVERRIDE_PROD
A constant which can be used with the environment_maintenance_override property of a MaintenancePolicy. MONTHLY_PATCHING_OVERRIDE_DISABLED
A constant which can be used with the monthly_patching_override property of a MaintenancePolicy. MONTHLY_PATCHING_OVERRIDE_ENABLED
A constant which can be used with the monthly_patching_override property of a MaintenancePolicy. MONTHLY_PATCHING_OVERRIDE_NONE
A constant which can be used with the monthly_patching_override property of a MaintenancePolicy. environment_maintenance_override
Gets the environment_maintenance_override of this MaintenancePolicy. monthly_patching_override
Gets the monthly_patching_override of this MaintenancePolicy. Methods
__init__
(**kwargs)Initializes a new MaintenancePolicy object with values from keyword arguments. -
ENVIRONMENT_MAINTENANCE_OVERRIDE_NONE
= 'NONE'¶ A constant which can be used with the environment_maintenance_override property of a MaintenancePolicy. This constant has a value of “NONE”
-
ENVIRONMENT_MAINTENANCE_OVERRIDE_NON_PROD
= 'NON_PROD'¶ A constant which can be used with the environment_maintenance_override property of a MaintenancePolicy. This constant has a value of “NON_PROD”
-
ENVIRONMENT_MAINTENANCE_OVERRIDE_PROD
= 'PROD'¶ A constant which can be used with the environment_maintenance_override property of a MaintenancePolicy. This constant has a value of “PROD”
-
MONTHLY_PATCHING_OVERRIDE_DISABLED
= 'DISABLED'¶ A constant which can be used with the monthly_patching_override property of a MaintenancePolicy. This constant has a value of “DISABLED”
-
MONTHLY_PATCHING_OVERRIDE_ENABLED
= 'ENABLED'¶ A constant which can be used with the monthly_patching_override property of a MaintenancePolicy. This constant has a value of “ENABLED”
-
MONTHLY_PATCHING_OVERRIDE_NONE
= 'NONE'¶ A constant which can be used with the monthly_patching_override property of a MaintenancePolicy. This constant has a value of “NONE”
-
__init__
(**kwargs)¶ Initializes a new MaintenancePolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - monthly_patching_override (str) – The value to assign to the monthly_patching_override property of this MaintenancePolicy. Allowed values for this property are: “ENABLED”, “DISABLED”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- environment_maintenance_override (str) – The value to assign to the environment_maintenance_override property of this MaintenancePolicy. Allowed values for this property are: “PROD”, “NON_PROD”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
environment_maintenance_override
¶ Gets the environment_maintenance_override of this MaintenancePolicy. User choice to upgrade both test and prod pods at the same time. Overrides fusion environment families’.
Allowed values for this property are: “PROD”, “NON_PROD”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The environment_maintenance_override of this MaintenancePolicy. Return type: str
-
monthly_patching_override
¶ Gets the monthly_patching_override of this MaintenancePolicy. When “ENABLED”, the Fusion environment is patched monthly. When “DISABLED”, the Fusion environment is not patched monthly. This setting overrides the environment family setting. When not set, the environment follows the environment family policy.
Allowed values for this property are: “ENABLED”, “DISABLED”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The monthly_patching_override of this MaintenancePolicy. Return type: str
-