ruạṛ
a ���fIJ � @ 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� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zd7d8� Zd9d:� Zd;d<� Zd=S )>�VirtualDeploymentze This resource represents a customer-managed virtual service deployment in the Service Mesh. �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddddd�| _ d d ddd ddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )ac Initializes a new VirtualDeployment 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 VirtualDeployment. :type id: str :param compartment_id: The value to assign to the compartment_id property of this VirtualDeployment. :type compartment_id: str :param virtual_service_id: The value to assign to the virtual_service_id property of this VirtualDeployment. :type virtual_service_id: str :param name: The value to assign to the name property of this VirtualDeployment. :type name: str :param description: The value to assign to the description property of this VirtualDeployment. :type description: str :param service_discovery: The value to assign to the service_discovery property of this VirtualDeployment. :type service_discovery: oci.service_mesh.models.ServiceDiscoveryConfiguration :param listeners: The value to assign to the listeners property of this VirtualDeployment. :type listeners: list[oci.service_mesh.models.VirtualDeploymentListener] :param access_logging: The value to assign to the access_logging property of this VirtualDeployment. :type access_logging: oci.service_mesh.models.AccessLoggingConfiguration :param time_created: The value to assign to the time_created property of this VirtualDeployment. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this VirtualDeployment. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this VirtualDeployment. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this VirtualDeployment. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this VirtualDeployment. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this VirtualDeployment. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this VirtualDeployment. :type system_tags: dict(str, dict(str, object)) �strZServiceDiscoveryConfigurationzlist[VirtualDeploymentListener]ZAccessLoggingConfigurationZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�virtual_service_id�name�description�service_discovery� listeners�access_logging�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr Z compartmentIdZvirtualServiceIdr r ZserviceDiscoveryr Z accessLoggingZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id�_virtual_service_id�_name�_description�_service_discovery� _listeners�_access_logging� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r. �N/usr/lib/python3.9/site-packages/oci/service_mesh/models/virtual_deployment.py�__init__* s^ E��zVirtualDeployment.__init__c C s | j S )z� **[Required]** Gets the id of this VirtualDeployment. Unique identifier that is immutable on creation. :return: The id of this VirtualDeployment. :rtype: str �r �r, r. r. r/ r � s zVirtualDeployment.idc C s || _ dS )z� Sets the id of this VirtualDeployment. Unique identifier that is immutable on creation. :param id: The id of this VirtualDeployment. :type: str Nr1 )r, r r. r. r/ r � s c C s | j S )a$ **[Required]** Gets the compartment_id of this VirtualDeployment. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this VirtualDeployment. :rtype: str �r r2 r. r. r/ r � s z VirtualDeployment.compartment_idc C s || _ dS )a" Sets the compartment_id of this VirtualDeployment. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this VirtualDeployment. :type: str Nr3 )r, r r. r. r/ r � s c C s | j S )a **[Required]** Gets the virtual_service_id of this VirtualDeployment. The OCID of the virtual service in which this virtual deployment is created. :return: The virtual_service_id of this VirtualDeployment. :rtype: str �r r2 r. r. r/ r � s z$VirtualDeployment.virtual_service_idc C s || _ dS )a Sets the virtual_service_id of this VirtualDeployment. The OCID of the virtual service in which this virtual deployment is created. :param virtual_service_id: The virtual_service_id of this VirtualDeployment. :type: str Nr4 )r, r r. r. r/ r � s c C s | j S )am **[Required]** Gets the name of this VirtualDeployment. A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information. Example: `My unique resource name` :return: The name of this VirtualDeployment. :rtype: str �r r2 r. r. r/ r � s zVirtualDeployment.namec C s || _ dS )aa Sets the name of this VirtualDeployment. A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information. Example: `My unique resource name` :param name: The name of this VirtualDeployment. :type: str Nr5 )r, r r. r. r/ r � s c C s | j S )a7 Gets the description of this VirtualDeployment. Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: `This is my new resource` :return: The description of this VirtualDeployment. :rtype: str �r! r2 r. r. r/ r s zVirtualDeployment.descriptionc C s || _ dS )aA Sets the description of this VirtualDeployment. Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: `This is my new resource` :param description: The description of this VirtualDeployment. :type: str Nr6 )r, r r. r. r/ r s c C s | j S )z� Gets the service_discovery of this VirtualDeployment. :return: The service_discovery of this VirtualDeployment. :rtype: oci.service_mesh.models.ServiceDiscoveryConfiguration �r"