o
    ɶd2                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s6  e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d d! Z"e#d"d# Z$e$j%d$d# Z$e#d%d& Z&e&j%d'd& Z&e#d(d) Z'e'j%d*d) Z'e#d+d, Z(e(j%d-d, Z(e#d.d/ Z)e)j%d0d/ Z)e#d1d2 Z*e*j%d3d2 Z*e#d4d5 Z+e+j%d6d5 Z+e#d7d8 Z,e,j%d9d8 Z,e#d:d; Z-e-j%d<d; Z-e#d=d> Z.e.j%d?d> Z.e#d@dA Z/e/j%dBdA Z/e#dCdD Z0e0j%dEdD Z0e#dFdG Z1e1j%dHdG Z1e#dIdJ Z2e2j%dKdJ Z2e#dLdM Z3e3j%dNdM Z3e#dOdP Z4e4j%dQdP Z4e#dRdS Z5e5j%dTdS Z5e#dUdV Z6e6j%dWdV Z6e#dXdY Z7e7j%dZdY Z7e#d[d\ Z8e8j%d]d\ Z8e#d^d_ Z9e9j%d`d_ Z9e#dadb Z:e:j%dcdb Z:e#ddde Z;e;j%dfde Z;e#dgdh Z<e<j%didh Z<e#djdk Z=e=j%dldk Z=e#dmdn Z>e>j%dodn Z>e#dpdq Z?e?j%drdq Z?e#dsdt Z@e@j%dudt Z@e#dvdw ZAeAj%dxdw ZAe#dydz ZBeBj%d{dz ZBe#d|d} ZCeCj%d~d} ZCe#dd ZDeDj%dd ZDe#dd ZEeEj%dd ZEe#dd ZFeFj%dd ZFe#dd ZGeGj%dd ZGdd ZHdd ZIdd ZJdS )
Deploymentzg
    A container for your OCI GoldenGate resources, such as the OCI GoldenGate deployment console.
    CREATINGUPDATINGACTIVEINACTIVEDELETINGDELETEDFAILEDNEEDS_ATTENTIONIN_PROGRESS	CANCELINGCANCELED	SUCCEEDEDWAITING
RECOVERINGSTARTINGSTOPPINGMOVING	UPGRADING	RESTORINGBACKUP_IN_PROGRESSROLLBACK_IN_PROGRESSLICENSE_INCLUDEDBRING_YOUR_OWN_LICENSEOGGDATABASE_ORACLEBIGDATADATABASE_MICROSOFT_SQLSERVERDATABASE_MYSQLDATABASE_POSTGRESQLUPGRADEc                 K   s  i ddddddddddddd	dd
dddddddddddddddddddi ddddddddddddddd dd!dd"dd#dd$dd%d&d'd(d)d*d+dd,dd-di| _ i dddd.dddd/dd0dd1d	d2d
d3dd4dd5dd6dd7dd8dd9dddd:dd;i dd<dd=dd>dd?dd@ddAddBd dCd!dDd"dEd#dFd$dGd%dHd'dId)dJd+dKd,dLd-dMi| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _	dN| _
dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _dN| _ dN| _!dN| _"dN| _#dN| _$dNS )Oa  
        Initializes a new Deployment object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this Deployment.
        :type id: str

        :param display_name:
            The value to assign to the display_name property of this Deployment.
        :type display_name: str

        :param description:
            The value to assign to the description property of this Deployment.
        :type description: str

        :param compartment_id:
            The value to assign to the compartment_id property of this Deployment.
        :type compartment_id: str

        :param deployment_backup_id:
            The value to assign to the deployment_backup_id property of this Deployment.
        :type deployment_backup_id: str

        :param time_created:
            The value to assign to the time_created property of this Deployment.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Deployment.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Deployment.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", "IN_PROGRESS", "CANCELING", "CANCELED", "SUCCEEDED", "WAITING", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param lifecycle_sub_state:
            The value to assign to the lifecycle_sub_state property of this Deployment.
            Allowed values for this property are: "RECOVERING", "STARTING", "STOPPING", "MOVING", "UPGRADING", "RESTORING", "BACKUP_IN_PROGRESS", "ROLLBACK_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_sub_state: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this Deployment.
        :type lifecycle_details: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Deployment.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this Deployment.
        :type defined_tags: dict(str, dict(str, object))

        :param is_healthy:
            The value to assign to the is_healthy property of this Deployment.
        :type is_healthy: bool

        :param subnet_id:
            The value to assign to the subnet_id property of this Deployment.
        :type subnet_id: str

        :param fqdn:
            The value to assign to the fqdn property of this Deployment.
        :type fqdn: str

        :param license_model:
            The value to assign to the license_model property of this Deployment.
            Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type license_model: str

        :param cpu_core_count:
            The value to assign to the cpu_core_count property of this Deployment.
        :type cpu_core_count: int

        :param is_auto_scaling_enabled:
            The value to assign to the is_auto_scaling_enabled property of this Deployment.
        :type is_auto_scaling_enabled: bool

        :param nsg_ids:
            The value to assign to the nsg_ids property of this Deployment.
        :type nsg_ids: list[str]

        :param is_public:
            The value to assign to the is_public property of this Deployment.
        :type is_public: bool

        :param public_ip_address:
            The value to assign to the public_ip_address property of this Deployment.
        :type public_ip_address: str

        :param private_ip_address:
            The value to assign to the private_ip_address property of this Deployment.
        :type private_ip_address: str

        :param deployment_url:
            The value to assign to the deployment_url property of this Deployment.
        :type deployment_url: str

        :param system_tags:
            The value to assign to the system_tags property of this Deployment.
        :type system_tags: dict(str, dict(str, object))

        :param is_latest_version:
            The value to assign to the is_latest_version property of this Deployment.
        :type is_latest_version: bool

        :param time_upgrade_required:
            The value to assign to the time_upgrade_required property of this Deployment.
        :type time_upgrade_required: datetime

        :param storage_utilization_in_bytes:
            The value to assign to the storage_utilization_in_bytes property of this Deployment.
        :type storage_utilization_in_bytes: int

        :param is_storage_utilization_limit_exceeded:
            The value to assign to the is_storage_utilization_limit_exceeded property of this Deployment.
        :type is_storage_utilization_limit_exceeded: bool

        :param deployment_type:
            The value to assign to the deployment_type property of this Deployment.
            Allowed values for this property are: "OGG", "DATABASE_ORACLE", "BIGDATA", "DATABASE_MICROSOFT_SQLSERVER", "DATABASE_MYSQL", "DATABASE_POSTGRESQL", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type deployment_type: str

        :param ogg_data:
            The value to assign to the ogg_data property of this Deployment.
        :type ogg_data: oci.golden_gate.models.OggDeployment

        :param deployment_diagnostic_data:
            The value to assign to the deployment_diagnostic_data property of this Deployment.
        :type deployment_diagnostic_data: oci.golden_gate.models.DeploymentDiagnosticData

        :param maintenance_window:
            The value to assign to the maintenance_window property of this Deployment.
        :type maintenance_window: oci.golden_gate.models.MaintenanceWindow

        :param time_of_next_maintenance:
            The value to assign to the time_of_next_maintenance property of this Deployment.
        :type time_of_next_maintenance: datetime

        :param next_maintenance_action_type:
            The value to assign to the next_maintenance_action_type property of this Deployment.
            Allowed values for this property are: "UPGRADE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type next_maintenance_action_type: str

        :param next_maintenance_description:
            The value to assign to the next_maintenance_description property of this Deployment.
        :type next_maintenance_description: str

        idstrdisplay_namedescriptioncompartment_iddeployment_backup_idtime_createddatetimetime_updatedlifecycle_statelifecycle_sub_statelifecycle_detailsfreeform_tagszdict(str, str)defined_tagszdict(str, dict(str, object))
is_healthybool	subnet_idfqdnlicense_modelcpu_core_countintis_auto_scaling_enablednsg_idsz	list[str]	is_publicpublic_ip_addressprivate_ip_addressdeployment_urlsystem_tagsis_latest_versiontime_upgrade_requiredstorage_utilization_in_bytes%is_storage_utilization_limit_exceededdeployment_typeogg_dataZOggDeploymentdeployment_diagnostic_dataZDeploymentDiagnosticDatamaintenance_windowZMaintenanceWindowtime_of_next_maintenancenext_maintenance_action_typenext_maintenance_descriptionZdisplayNameZcompartmentIdZdeploymentBackupIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleSubStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ	isHealthyZsubnetIdZlicenseModelZcpuCoreCountZisAutoScalingEnabledZnsgIdsZisPublicZpublicIpAddressZprivateIpAddressZdeploymentUrlZ
systemTagsZisLatestVersionZtimeUpgradeRequiredZstorageUtilizationInBytesZ!isStorageUtilizationLimitExceededZdeploymentTypeZoggDataZdeploymentDiagnosticDataZmaintenanceWindowZtimeOfNextMaintenanceZnextMaintenanceActionTypeZnextMaintenanceDescriptionN)%Zswagger_typesZattribute_map_id_display_name_description_compartment_id_deployment_backup_id_time_created_time_updated_lifecycle_state_lifecycle_sub_state_lifecycle_details_freeform_tags_defined_tags_is_healthy
_subnet_id_fqdn_license_model_cpu_core_count_is_auto_scaling_enabled_nsg_ids
_is_public_public_ip_address_private_ip_address_deployment_url_system_tags_is_latest_version_time_upgrade_required_storage_utilization_in_bytes&_is_storage_utilization_limit_exceeded_deployment_type	_ogg_data_deployment_diagnostic_data_maintenance_window_time_of_next_maintenance_next_maintenance_action_type_next_maintenance_description)selfkwargs rq   Eusr/lib/python3.10/site-packages/oci/golden_gate/models/deployment.py__init__   sd   	
 !"#&	
 !"#&
zDeployment.__init__c                 C      | j S )a  
        **[Required]** Gets the id of this Deployment.
        The `OCID`__ of the deployment being referenced.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The id of this Deployment.
        :rtype: str
        rL   ro   rq   rq   rr   r%        zDeployment.idc                 C   
   || _ dS )a   
        Sets the id of this Deployment.
        The `OCID`__ of the deployment being referenced.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param id: The id of this Deployment.
        :type: str
        Nru   )ro   r%   rq   rq   rr   r%        
c                 C   rt   )z
        Gets the display_name of this Deployment.
        An object's Display Name.


        :return: The display_name of this Deployment.
        :rtype: str
        rM   rv   rq   rq   rr   r'        
zDeployment.display_namec                 C   rx   )z
        Sets the display_name of this Deployment.
        An object's Display Name.


        :param display_name: The display_name of this Deployment.
        :type: str
        Nrz   )ro   r'   rq   rq   rr   r'        

c                 C   rt   )z
        Gets the description of this Deployment.
        Metadata about this specific object.


        :return: The description of this Deployment.
        :rtype: str
        rN   rv   rq   rq   rr   r(     r{   zDeployment.descriptionc                 C   rx   )z
        Sets the description of this Deployment.
        Metadata about this specific object.


        :param description: The description of this Deployment.
        :type: str
        Nr}   )ro   r(   rq   rq   rr   r(     r|   c                 C   rt   )a'  
        **[Required]** Gets the compartment_id of this Deployment.
        The `OCID`__ of the compartment being referenced.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this Deployment.
        :rtype: str
        rO   rv   rq   rq   rr   r)     rw   zDeployment.compartment_idc                 C   rx   )a%  
        Sets the compartment_id of this Deployment.
        The `OCID`__ of the compartment being referenced.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this Deployment.
        :type: str
        Nr~   )ro   r)   rq   rq   rr   r)     ry   c                 C   rt   )a  
        Gets the deployment_backup_id of this Deployment.
        The `OCID`__ of the backup being referenced.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The deployment_backup_id of this Deployment.
        :rtype: str
        rP   rv   rq   rq   rr   r*     rw   zDeployment.deployment_backup_idc                 C   rx   )a2  
        Sets the deployment_backup_id of this Deployment.
        The `OCID`__ of the backup being referenced.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param deployment_backup_id: The deployment_backup_id of this Deployment.
        :type: str
        Nr   )ro   r*   rq   rq   rr   r*     ry   c                 C   rt   )a9  
        Gets the time_created of this Deployment.
        The time the resource was created. The format is defined by
        `RFC3339`__, such as `2016-08-25T21:10:29.600Z`.

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_created of this Deployment.
        :rtype: datetime
        rQ   rv   rq   rq   rr   r+        zDeployment.time_createdc                 C   rx   )aD  
        Sets the time_created of this Deployment.
        The time the resource was created. The format is defined by
        `RFC3339`__, such as `2016-08-25T21:10:29.600Z`.

        __ https://tools.ietf.org/html/rfc3339


        :param time_created: The time_created of this Deployment.
        :type: datetime
        Nr   )ro   r+   rq   rq   rr   r+   )     
c                 C   rt   )a>  
        Gets the time_updated of this Deployment.
        The time the resource was last updated. The format is defined by
        `RFC3339`__, such as `2016-08-25T21:10:29.600Z`.

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_updated of this Deployment.
        :rtype: datetime
        rR   rv   rq   rq   rr   r-   8  r   zDeployment.time_updatedc                 C   rx   )aI  
        Sets the time_updated of this Deployment.
        The time the resource was last updated. The format is defined by
        `RFC3339`__, such as `2016-08-25T21:10:29.600Z`.

        __ https://tools.ietf.org/html/rfc3339


        :param time_updated: The time_updated of this Deployment.
        :type: datetime
        Nr   )ro   r-   rq   rq   rr   r-   G  r   c                 C   rt   )a  
        Gets the lifecycle_state of this Deployment.
        Possible lifecycle states.

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", "IN_PROGRESS", "CANCELING", "CANCELED", "SUCCEEDED", "WAITING", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Deployment.
        :rtype: str
        )rS   rv   rq   rq   rr   r.   V  r   zDeployment.lifecycle_statec                 C       g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this Deployment.
        Possible lifecycle states.


        :param lifecycle_state: The lifecycle_state of this Deployment.
        :type: str
        )r   r   r	   r
   r   r   r   r   r   r   r   r   r   UNKNOWN_ENUM_VALUEN)r   rS   )ro   r.   allowed_valuesrq   rq   rr   r.   e     


c                 C   rt   )a  
        Gets the lifecycle_sub_state of this Deployment.
        Possible GGS lifecycle sub-states.

        Allowed values for this property are: "RECOVERING", "STARTING", "STOPPING", "MOVING", "UPGRADING", "RESTORING", "BACKUP_IN_PROGRESS", "ROLLBACK_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_sub_state of this Deployment.
        :rtype: str
        )rT   rv   rq   rq   rr   r/   t  r   zDeployment.lifecycle_sub_statec                 C   r   )z
        Sets the lifecycle_sub_state of this Deployment.
        Possible GGS lifecycle sub-states.


        :param lifecycle_sub_state: The lifecycle_sub_state of this Deployment.
        :type: str
        )r   r   r   r   r   r   r   r   r   N)r   rT   )ro   r/   r   rq   rq   rr   r/     r   c                 C   rt   )a1  
        Gets the lifecycle_details of this Deployment.
        Describes the object's current state in detail. For example, it can be used to provide
        actionable information for a resource in a Failed state.


        :return: The lifecycle_details of this Deployment.
        :rtype: str
        rU   rv   rq   rq   rr   r0        zDeployment.lifecycle_detailsc                 C   rx   )aA  
        Sets the lifecycle_details of this Deployment.
        Describes the object's current state in detail. For example, it can be used to provide
        actionable information for a resource in a Failed state.


        :param lifecycle_details: The lifecycle_details of this Deployment.
        :type: str
        Nr   )ro   r0   rq   rq   rr   r0        
c                 C   rt   )aG  
        Gets the freeform_tags of this Deployment.
        A simple key-value pair that is applied without any predefined name, type, or scope. Exists
        for cross-compatibility only.

        Example: `{"bar-key": "value"}`


        :return: The freeform_tags of this Deployment.
        :rtype: dict(str, str)
        rV   rv   rq   rq   rr   r1     r   zDeployment.freeform_tagsc                 C   rx   )aS  
        Sets the freeform_tags of this Deployment.
        A simple key-value pair that is applied without any predefined name, type, or scope. Exists
        for cross-compatibility only.

        Example: `{"bar-key": "value"}`


        :param freeform_tags: The freeform_tags of this Deployment.
        :type: dict(str, str)
        Nr   )ro   r1   rq   rq   rr   r1     r   c                 C   rt   )a6  
        Gets the defined_tags of this Deployment.
        Tags defined for this resource. Each key is predefined and scoped to a namespace.

        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :return: The defined_tags of this Deployment.
        :rtype: dict(str, dict(str, object))
        rW   rv   rq   rq   rr   r2     rw   zDeployment.defined_tagsc                 C   rx   )aA  
        Sets the defined_tags of this Deployment.
        Tags defined for this resource. Each key is predefined and scoped to a namespace.

        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :param defined_tags: The defined_tags of this Deployment.
        :type: dict(str, dict(str, object))
        Nr   )ro   r2   rq   rq   rr   r2     ry   c                 C   rt   )z
        Gets the is_healthy of this Deployment.
        True if all of the aggregate resources are working correctly.


        :return: The is_healthy of this Deployment.
        :rtype: bool
        rX   rv   rq   rq   rr   r3     r{   zDeployment.is_healthyc                 C   rx   )z
        Sets the is_healthy of this Deployment.
        True if all of the aggregate resources are working correctly.


        :param is_healthy: The is_healthy of this Deployment.
        :type: bool
        Nr   )ro   r3   rq   rq   rr   r3     r|   c                 C   rt   )a  
        **[Required]** Gets the subnet_id of this Deployment.
        The `OCID`__ of the subnet being referenced.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The subnet_id of this Deployment.
        :rtype: str
        rY   rv   rq   rq   rr   r5     rw   zDeployment.subnet_idc                 C   rx   )a  
        Sets the subnet_id of this Deployment.
        The `OCID`__ of the subnet being referenced.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param subnet_id: The subnet_id of this Deployment.
        :type: str
        Nr   )ro   r5   rq   rq   rr   r5     ry   c                 C   rt   )z
        Gets the fqdn of this Deployment.
        A three-label Fully Qualified Domain Name (FQDN) for a resource.


        :return: The fqdn of this Deployment.
        :rtype: str
        rZ   rv   rq   rq   rr   r6     r{   zDeployment.fqdnc                 C   rx   )z
        Sets the fqdn of this Deployment.
        A three-label Fully Qualified Domain Name (FQDN) for a resource.


        :param fqdn: The fqdn of this Deployment.
        :type: str
        Nr   )ro   r6   rq   rq   rr   r6   &  r|   c                 C   rt   )a  
        **[Required]** Gets the license_model of this Deployment.
        The Oracle license model that applies to a Deployment.

        Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The license_model of this Deployment.
        :rtype: str
        )r[   rv   rq   rq   rr   r7   2  r   zDeployment.license_modelc                 C   s    ddg}t ||sd}|| _dS )z
        Sets the license_model of this Deployment.
        The Oracle license model that applies to a Deployment.


        :param license_model: The license_model of this Deployment.
        :type: str
        r   r   r   N)r   r[   )ro   r7   r   rq   rq   rr   r7   A  r   c                 C   rt   )z
        **[Required]** Gets the cpu_core_count of this Deployment.
        The Minimum number of OCPUs to be made available for this Deployment.


        :return: The cpu_core_count of this Deployment.
        :rtype: int
        r\   rv   rq   rq   rr   r8   P  r{   zDeployment.cpu_core_countc                 C   rx   )z
        Sets the cpu_core_count of this Deployment.
        The Minimum number of OCPUs to be made available for this Deployment.


        :param cpu_core_count: The cpu_core_count of this Deployment.
        :type: int
        Nr   )ro   r8   rq   rq   rr   r8   \  r|   c                 C   rt   )z
        **[Required]** Gets the is_auto_scaling_enabled of this Deployment.
        Indicates if auto scaling is enabled for the Deployment's CPU core count.


        :return: The is_auto_scaling_enabled of this Deployment.
        :rtype: bool
        r]   rv   rq   rq   rr   r:   h  r{   z"Deployment.is_auto_scaling_enabledc                 C   rx   )a  
        Sets the is_auto_scaling_enabled of this Deployment.
        Indicates if auto scaling is enabled for the Deployment's CPU core count.


        :param is_auto_scaling_enabled: The is_auto_scaling_enabled of this Deployment.
        :type: bool
        Nr   )ro   r:   rq   rq   rr   r:   t  r|   c                 C   rt   )z
        Gets the nsg_ids of this Deployment.
        An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.


        :return: The nsg_ids of this Deployment.
        :rtype: list[str]
        r^   rv   rq   rq   rr   r;     r{   zDeployment.nsg_idsc                 C   rx   )z
        Sets the nsg_ids of this Deployment.
        An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.


        :param nsg_ids: The nsg_ids of this Deployment.
        :type: list[str]
        Nr   )ro   r;   rq   rq   rr   r;     r|   c                 C   rt   )z
        Gets the is_public of this Deployment.
        True if this object is publicly available.


        :return: The is_public of this Deployment.
        :rtype: bool
        r_   rv   rq   rq   rr   r<     r{   zDeployment.is_publicc                 C   rx   )z
        Sets the is_public of this Deployment.
        True if this object is publicly available.


        :param is_public: The is_public of this Deployment.
        :type: bool
        Nr   )ro   r<   rq   rq   rr   r<     r|   c                 C   rt   )z
        Gets the public_ip_address of this Deployment.
        The public IP address representing the access point for the Deployment.


        :return: The public_ip_address of this Deployment.
        :rtype: str
        r`   rv   rq   rq   rr   r=     r{   zDeployment.public_ip_addressc                 C   rx   )z
        Sets the public_ip_address of this Deployment.
        The public IP address representing the access point for the Deployment.


        :param public_ip_address: The public_ip_address of this Deployment.
        :type: str
        Nr   )ro   r=   rq   rq   rr   r=     r|   c                 C   rt   )a1  
        Gets the private_ip_address of this Deployment.
        The private IP address in the customer's VCN representing the access point for the
        associated endpoint service in the GoldenGate service VCN.


        :return: The private_ip_address of this Deployment.
        :rtype: str
        ra   rv   rq   rq   rr   r>     r   zDeployment.private_ip_addressc                 C   rx   )aB  
        Sets the private_ip_address of this Deployment.
        The private IP address in the customer's VCN representing the access point for the
        associated endpoint service in the GoldenGate service VCN.


        :param private_ip_address: The private_ip_address of this Deployment.
        :type: str
        Nr   )ro   r>   rq   rq   rr   r>     r   c                 C   rt   )z
        Gets the deployment_url of this Deployment.
        The URL of a resource.


        :return: The deployment_url of this Deployment.
        :rtype: str
        rb   rv   rq   rq   rr   r?     r{   zDeployment.deployment_urlc                 C   rx   )z
        Sets the deployment_url of this Deployment.
        The URL of a resource.


        :param deployment_url: The deployment_url of this Deployment.
        :type: str
        Nr   )ro   r?   rq   rq   rr   r?     r|   c                 C   rt   )a!  
        Gets the system_tags of this Deployment.
        The system tags associated with this resource, if any. The system tags are set by Oracle
        Cloud Infrastructure services. Each key is predefined and scoped to namespaces.  For more
        information, see `Resource Tags`__.

        Example: `{orcl-cloud: {free-tier-retain: true}}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :return: The system_tags of this Deployment.
        :rtype: dict(str, dict(str, object))
        rc   rv   rq   rq   rr   r@     s   zDeployment.system_tagsc                 C   rx   )a+  
        Sets the system_tags of this Deployment.
        The system tags associated with this resource, if any. The system tags are set by Oracle
        Cloud Infrastructure services. Each key is predefined and scoped to namespaces.  For more
        information, see `Resource Tags`__.

        Example: `{orcl-cloud: {free-tier-retain: true}}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :param system_tags: The system_tags of this Deployment.
        :type: dict(str, dict(str, object))
        Nr   )ro   r@   rq   rq   rr   r@     s   
c                 C   rt   )z
        Gets the is_latest_version of this Deployment.
        Indicates if the resource is the the latest available version.


        :return: The is_latest_version of this Deployment.
        :rtype: bool
        rd   rv   rq   rq   rr   rA     r{   zDeployment.is_latest_versionc                 C   rx   )z
        Sets the is_latest_version of this Deployment.
        Indicates if the resource is the the latest available version.


        :param is_latest_version: The is_latest_version of this Deployment.
        :type: bool
        Nr   )ro   rA   rq   rq   rr   rA   *  r|   c                 C   rt   )a  
        Gets the time_upgrade_required of this Deployment.
        Note: Deprecated: Use timeOfNextMaintenance instead, or related upgrade records
        to check, when deployment will be forced to upgrade to a newer version.
        Old description:
        The date the existing version in use will no longer be considered as usable
        and an upgrade will be required.  This date is typically 6 months after the
        version was released for use by GGS.  The format is defined by
        `RFC3339`__, such as `2016-08-25T21:10:29.600Z`.

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_upgrade_required of this Deployment.
        :rtype: datetime
        re   rv   rq   rq   rr   rB   6  s   z Deployment.time_upgrade_requiredc                 C   rx   )a  
        Sets the time_upgrade_required of this Deployment.
        Note: Deprecated: Use timeOfNextMaintenance instead, or related upgrade records
        to check, when deployment will be forced to upgrade to a newer version.
        Old description:
        The date the existing version in use will no longer be considered as usable
        and an upgrade will be required.  This date is typically 6 months after the
        version was released for use by GGS.  The format is defined by
        `RFC3339`__, such as `2016-08-25T21:10:29.600Z`.

        __ https://tools.ietf.org/html/rfc3339


        :param time_upgrade_required: The time_upgrade_required of this Deployment.
        :type: datetime
        Nr   )ro   rB   rq   rq   rr   rB   J  s   
c                 C   rt   )z
        Gets the storage_utilization_in_bytes of this Deployment.
        The amount of storage being utilized (in bytes)


        :return: The storage_utilization_in_bytes of this Deployment.
        :rtype: int
        rf   rv   rq   rq   rr   rC   ^  r{   z'Deployment.storage_utilization_in_bytesc                 C   rx   )z
        Sets the storage_utilization_in_bytes of this Deployment.
        The amount of storage being utilized (in bytes)


        :param storage_utilization_in_bytes: The storage_utilization_in_bytes of this Deployment.
        :type: int
        Nr   )ro   rC   rq   rq   rr   rC   j  r|   c                 C   rt   )a  
        Gets the is_storage_utilization_limit_exceeded of this Deployment.
        Indicator will be true if the amount of storage being utilized exceeds the allowable storage utilization limit.  Exceeding the limit may be an indication of a misconfiguration of the deployment's GoldenGate service.


        :return: The is_storage_utilization_limit_exceeded of this Deployment.
        :rtype: bool
        rg   rv   rq   rq   rr   rD   v  r{   z0Deployment.is_storage_utilization_limit_exceededc                 C   rx   )a  
        Sets the is_storage_utilization_limit_exceeded of this Deployment.
        Indicator will be true if the amount of storage being utilized exceeds the allowable storage utilization limit.  Exceeding the limit may be an indication of a misconfiguration of the deployment's GoldenGate service.


        :param is_storage_utilization_limit_exceeded: The is_storage_utilization_limit_exceeded of this Deployment.
        :type: bool
        Nr   )ro   rD   rq   rq   rr   rD     r|   c                 C   rt   )a  
        **[Required]** Gets the deployment_type of this Deployment.
        The type of deployment, which can be any one of the Allowed values.
        NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes.
            Its use is discouraged in favor of 'DATABASE_ORACLE'.

        Allowed values for this property are: "OGG", "DATABASE_ORACLE", "BIGDATA", "DATABASE_MICROSOFT_SQLSERVER", "DATABASE_MYSQL", "DATABASE_POSTGRESQL", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The deployment_type of this Deployment.
        :rtype: str
        )rh   rv   rq   rq   rr   rE     s   zDeployment.deployment_typec                 C   r   )a  
        Sets the deployment_type of this Deployment.
        The type of deployment, which can be any one of the Allowed values.
        NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes.
            Its use is discouraged in favor of 'DATABASE_ORACLE'.


        :param deployment_type: The deployment_type of this Deployment.
        :type: str
        )r   r   r    r!   r"   r#   r   N)r   rh   )ro   rE   r   rq   rq   rr   rE     s   

c                 C   rt   )z
        Gets the ogg_data of this Deployment.

        :return: The ogg_data of this Deployment.
        :rtype: oci.golden_gate.models.OggDeployment
        ri   rv   rq   rq   rr   rF        zDeployment.ogg_datac                 C   rx   )z
        Sets the ogg_data of this Deployment.

        :param ogg_data: The ogg_data of this Deployment.
        :type: oci.golden_gate.models.OggDeployment
        Nr   )ro   rF   rq   rq   rr   rF        
c                 C   rt   )z
        Gets the deployment_diagnostic_data of this Deployment.

        :return: The deployment_diagnostic_data of this Deployment.
        :rtype: oci.golden_gate.models.DeploymentDiagnosticData
        rj   rv   rq   rq   rr   rG     r   z%Deployment.deployment_diagnostic_datac                 C   rx   )z
        Sets the deployment_diagnostic_data of this Deployment.

        :param deployment_diagnostic_data: The deployment_diagnostic_data of this Deployment.
        :type: oci.golden_gate.models.DeploymentDiagnosticData
        Nr   )ro   rG   rq   rq   rr   rG     r   c                 C   rt   )z
        Gets the maintenance_window of this Deployment.

        :return: The maintenance_window of this Deployment.
        :rtype: oci.golden_gate.models.MaintenanceWindow
        rk   rv   rq   rq   rr   rH     r   zDeployment.maintenance_windowc                 C   rx   )z
        Sets the maintenance_window of this Deployment.

        :param maintenance_window: The maintenance_window of this Deployment.
        :type: oci.golden_gate.models.MaintenanceWindow
        Nr   )ro   rH   rq   rq   rr   rH     r   c                 C   rt   )aU  
        Gets the time_of_next_maintenance of this Deployment.
        The time of next maintenance schedule. The format is defined by
        `RFC3339`__, such as `2016-08-25T21:10:29.600Z`.

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_of_next_maintenance of this Deployment.
        :rtype: datetime
        rl   rv   rq   rq   rr   rI     r   z#Deployment.time_of_next_maintenancec                 C   rx   )al  
        Sets the time_of_next_maintenance of this Deployment.
        The time of next maintenance schedule. The format is defined by
        `RFC3339`__, such as `2016-08-25T21:10:29.600Z`.

        __ https://tools.ietf.org/html/rfc3339


        :param time_of_next_maintenance: The time_of_next_maintenance of this Deployment.
        :type: datetime
        Nr   )ro   rI   rq   rq   rr   rI     r   c                 C   rt   )a{  
        Gets the next_maintenance_action_type of this Deployment.
        Type of the next maintenance.

        Allowed values for this property are: "UPGRADE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The next_maintenance_action_type of this Deployment.
        :rtype: str
        )rm   rv   rq   rq   rr   rJ   
  r   z'Deployment.next_maintenance_action_typec                 C   s   dg}t ||s
d}|| _dS )z
        Sets the next_maintenance_action_type of this Deployment.
        Type of the next maintenance.


        :param next_maintenance_action_type: The next_maintenance_action_type of this Deployment.
        :type: str
        r$   r   N)r   rm   )ro   rJ   r   rq   rq   rr   rJ     s   


c                 C   rt   )z
        Gets the next_maintenance_description of this Deployment.
        Description of the next maintenance.


        :return: The next_maintenance_description of this Deployment.
        :rtype: str
        rn   rv   rq   rq   rr   rK   (  r{   z'Deployment.next_maintenance_descriptionc                 C   rx   )z
        Sets the next_maintenance_description of this Deployment.
        Description of the next maintenance.


        :param next_maintenance_description: The next_maintenance_description of this Deployment.
        :type: str
        Nr   )ro   rK   rq   rq   rr   rK   4  r|   c                 C   s   t | S N)r   rv   rq   rq   rr   __repr__@  s   zDeployment.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__ro   otherrq   rq   rr   __eq__C  s   zDeployment.__eq__c                 C   s
   | |k S r   rq   r   rq   rq   rr   __ne__I  s   
zDeployment.__ne__N)K__name__
__module____qualname____doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_NEEDS_ATTENTIONZLIFECYCLE_STATE_IN_PROGRESSZLIFECYCLE_STATE_CANCELINGZLIFECYCLE_STATE_CANCELEDZLIFECYCLE_STATE_SUCCEEDEDZLIFECYCLE_STATE_WAITINGZLIFECYCLE_SUB_STATE_RECOVERINGZLIFECYCLE_SUB_STATE_STARTINGZLIFECYCLE_SUB_STATE_STOPPINGZLIFECYCLE_SUB_STATE_MOVINGZLIFECYCLE_SUB_STATE_UPGRADINGZLIFECYCLE_SUB_STATE_RESTORINGZ&LIFECYCLE_SUB_STATE_BACKUP_IN_PROGRESSZ(LIFECYCLE_SUB_STATE_ROLLBACK_IN_PROGRESSZLICENSE_MODEL_LICENSE_INCLUDEDZ$LICENSE_MODEL_BRING_YOUR_OWN_LICENSEZDEPLOYMENT_TYPE_OGGZDEPLOYMENT_TYPE_DATABASE_ORACLEZDEPLOYMENT_TYPE_BIGDATAZ,DEPLOYMENT_TYPE_DATABASE_MICROSOFT_SQLSERVERZDEPLOYMENT_TYPE_DATABASE_MYSQLZ#DEPLOYMENT_TYPE_DATABASE_POSTGRESQLZ$NEXT_MAINTENANCE_ACTION_TYPE_UPGRADErs   propertyr%   setterr'   r(   r)   r*   r+   r-   r.   r/   r0   r1   r2   r3   r5   r6   r7   r8   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   r   r   r   rq   rq   rq   rr   r      sd     


























































	
	
	
	
	
	





r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   rq   rq   rq   rr   <module>   s   