a fT@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d d Z e d d Z e jd d Z e ddZejddZe ddZejddZe ddZejddZe ddZejddZe ddZejddZe ddZejddZe d d!Zejd"d!Ze d#d$Zejd%d$Ze d&d'Zejd(d'Ze d)d*Zejd+d*Ze d,d-Zejd.d-Ze d/d0Zejd1d0Ze d2d3Zejd4d3Ze d5d6Zejd7d6Ze d8d9Zejd:d9Ze d;d<Zejd=d<Zd>d?Zd@dAZ dBdCZ!dDS)EPrivateEndpointz. A Data Flow private endpoint object. CREATINGACTIVEINACTIVEUPDATINGDELETINGDELETEDFAILEDcKsdddddddddddddddddd|_d d d d d ddddddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_dS)a Initializes a new PrivateEndpoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this PrivateEndpoint. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this PrivateEndpoint. :type defined_tags: dict(str, dict(str, object)) :param description: The value to assign to the description property of this PrivateEndpoint. :type description: str :param display_name: The value to assign to the display_name property of this PrivateEndpoint. :type display_name: str :param dns_zones: The value to assign to the dns_zones property of this PrivateEndpoint. :type dns_zones: list[str] :param freeform_tags: The value to assign to the freeform_tags property of this PrivateEndpoint. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this PrivateEndpoint. :type id: str :param lifecycle_details: The value to assign to the lifecycle_details property of this PrivateEndpoint. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this PrivateEndpoint. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "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 max_host_count: The value to assign to the max_host_count property of this PrivateEndpoint. :type max_host_count: int :param nsg_ids: The value to assign to the nsg_ids property of this PrivateEndpoint. :type nsg_ids: list[str] :param owner_principal_id: The value to assign to the owner_principal_id property of this PrivateEndpoint. :type owner_principal_id: str :param owner_user_name: The value to assign to the owner_user_name property of this PrivateEndpoint. :type owner_user_name: str :param scan_details: The value to assign to the scan_details property of this PrivateEndpoint. :type scan_details: list[oci.data_flow.models.Scan] :param subnet_id: The value to assign to the subnet_id property of this PrivateEndpoint. :type subnet_id: str :param time_created: The value to assign to the time_created property of this PrivateEndpoint. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this PrivateEndpoint. :type time_updated: datetime strzdict(str, dict(str, object))z list[str]zdict(str, str)intz list[Scan]Zdatetime)compartment_id defined_tags description display_name dns_zones freeform_tagsidlifecycle_detailslifecycle_statemax_host_countnsg_idsowner_principal_idowner_user_name scan_details subnet_id time_created time_updatedZ compartmentIdZ definedTagsrZ displayNameZdnsZonesZ freeformTagsrZlifecycleDetailsZlifecycleStateZ maxHostCountZnsgIdsZownerPrincipalIdZ ownerUserNameZ scanDetailsZsubnetIdZ timeCreatedZ timeUpdatedN)Z swagger_typesZ attribute_map_compartment_id _defined_tags _description _display_name _dns_zones_freeform_tags_id_lifecycle_details_lifecycle_state_max_host_count_nsg_ids_owner_principal_id_owner_user_name _scan_details _subnet_id _time_created _time_updated)selfkwargsr4I/usr/lib/python3.9/site-packages/oci/data_flow/models/private_endpoint.py__init__.sjMzPrivateEndpoint.__init__cCs|jS)z **[Required]** Gets the compartment_id of this PrivateEndpoint. The OCID of a compartment. :return: The compartment_id of this PrivateEndpoint. :rtype: str r!r2r4r4r5rs zPrivateEndpoint.compartment_idcCs ||_dS)z Sets the compartment_id of this PrivateEndpoint. The OCID of a compartment. :param compartment_id: The compartment_id of this PrivateEndpoint. :type: str Nr7)r2rr4r4r5rs cCs|jS)a **[Required]** Gets the defined_tags of this PrivateEndpoint. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this PrivateEndpoint. :rtype: dict(str, dict(str, object)) r"r8r4r4r5rs zPrivateEndpoint.defined_tagscCs ||_dS)a Sets the defined_tags of this PrivateEndpoint. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this PrivateEndpoint. :type: dict(str, dict(str, object)) Nr9)r2rr4r4r5rs cCs|jS)z Gets the description of this PrivateEndpoint. A user-friendly description. Avoid entering confidential information. :return: The description of this PrivateEndpoint. :rtype: str r#r8r4r4r5rs zPrivateEndpoint.descriptioncCs ||_dS)z Sets the description of this PrivateEndpoint. A user-friendly description. Avoid entering confidential information. :param description: The description of this PrivateEndpoint. :type: str Nr:)r2rr4r4r5rs cCs|jS)a **[Required]** Gets the display_name of this PrivateEndpoint. A user-friendly name. It does not have to be unique. Avoid entering confidential information. :return: The display_name of this PrivateEndpoint. :rtype: str r$r8r4r4r5rs zPrivateEndpoint.display_namecCs ||_dS)a Sets the display_name of this PrivateEndpoint. A user-friendly name. It does not have to be unique. Avoid entering confidential information. :param display_name: The display_name of this PrivateEndpoint. :type: str Nr;)r2rr4r4r5rs cCs|jS)a  **[Required]** Gets the dns_zones of this PrivateEndpoint. An array of DNS zone names. Example: `[ "app.examplecorp.com", "app.examplecorp2.com" ]` :return: The dns_zones of this PrivateEndpoint. :rtype: list[str] r%r8r4r4r5rs zPrivateEndpoint.dns_zonescCs ||_dS)a Sets the dns_zones of this PrivateEndpoint. An array of DNS zone names. Example: `[ "app.examplecorp.com", "app.examplecorp2.com" ]` :param dns_zones: The dns_zones of this PrivateEndpoint. :type: list[str] Nr<)r2rr4r4r5r's cCs|jS)a **[Required]** Gets the freeform_tags of this PrivateEndpoint. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this PrivateEndpoint. :rtype: dict(str, str) r&r8r4r4r5r4szPrivateEndpoint.freeform_tagscCs ||_dS)a Sets the freeform_tags of this PrivateEndpoint. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this PrivateEndpoint. :type: dict(str, str) Nr=)r2rr4r4r5rDscCs|jS)z **[Required]** Gets the id of this PrivateEndpoint. The OCID of a private endpoint. :return: The id of this PrivateEndpoint. :rtype: str r'r8r4r4r5rTs zPrivateEndpoint.idcCs ||_dS)z Sets the id of this PrivateEndpoint. The OCID of a private endpoint. :param id: The id of this PrivateEndpoint. :type: str Nr>)r2rr4r4r5r`s cCs|jS)z Gets the lifecycle_details of this PrivateEndpoint. The detailed messages about the lifecycle state. :return: The lifecycle_details of this PrivateEndpoint. :rtype: str r(r8r4r4r5rls z!PrivateEndpoint.lifecycle_detailscCs ||_dS)z Sets the lifecycle_details of this PrivateEndpoint. The detailed messages about the lifecycle state. :param lifecycle_details: The lifecycle_details of this PrivateEndpoint. :type: str Nr?)r2rr4r4r5rxs cCs|jS)a **[Required]** Gets the lifecycle_state of this PrivateEndpoint. The current state of this private endpoint. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this PrivateEndpoint. :rtype: str )r)r8r4r4r5rs zPrivateEndpoint.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this PrivateEndpoint. The current state of this private endpoint. :param lifecycle_state: The lifecycle_state of this PrivateEndpoint. :type: str )rrr r r r r ZUNKNOWN_ENUM_VALUEN)rr))r2rZallowed_valuesr4r4r5rs  cCs|jS)a Gets the max_host_count of this PrivateEndpoint. The maximum number of hosts to be accessed through the private endpoint. This value is used to calculate the relevant CIDR block and should be a multiple of 256. If the value is not a multiple of 256, it is rounded up to the next multiple of 256. For example, 300 is rounded up to 512. :return: The max_host_count of this PrivateEndpoint. :rtype: int r*r8r4r4r5rs zPrivateEndpoint.max_host_countcCs ||_dS)a Sets the max_host_count of this PrivateEndpoint. The maximum number of hosts to be accessed through the private endpoint. This value is used to calculate the relevant CIDR block and should be a multiple of 256. If the value is not a multiple of 256, it is rounded up to the next multiple of 256. For example, 300 is rounded up to 512. :param max_host_count: The max_host_count of this PrivateEndpoint. :type: int Nr@)r2rr4r4r5rs cCs|jS)z Gets the nsg_ids of this PrivateEndpoint. An array of network security group OCIDs. :return: The nsg_ids of this PrivateEndpoint. :rtype: list[str] r+r8r4r4r5rs zPrivateEndpoint.nsg_idscCs ||_dS)z Sets the nsg_ids of this PrivateEndpoint. An array of network security group OCIDs. :param nsg_ids: The nsg_ids of this PrivateEndpoint. :type: list[str] NrA)r2rr4r4r5rs cCs|jS)z **[Required]** Gets the owner_principal_id of this PrivateEndpoint. The OCID of the user who created the resource. :return: The owner_principal_id of this PrivateEndpoint. :rtype: str r,r8r4r4r5rs z"PrivateEndpoint.owner_principal_idcCs ||_dS)z Sets the owner_principal_id of this PrivateEndpoint. The OCID of the user who created the resource. :param owner_principal_id: The owner_principal_id of this PrivateEndpoint. :type: str NrB)r2rr4r4r5rs cCs|jS)ac Gets the owner_user_name of this PrivateEndpoint. The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. :return: The owner_user_name of this PrivateEndpoint. :rtype: str r-r8r4r4r5rs zPrivateEndpoint.owner_user_namecCs ||_dS)aq Sets the owner_user_name of this PrivateEndpoint. The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. :param owner_user_name: The owner_user_name of this PrivateEndpoint. :type: str NrC)r2rr4r4r5rs cCs|jS)a Gets the scan_details of this PrivateEndpoint. An array of fqdn/port pairs used to create private endpoint. Each object is a simple key-value pair with FQDN as key and port number as value. [ { fqdn: "scan1.oracle.com", port: "1521"}, { fqdn: "scan2.oracle.com", port: "1521" } ] :return: The scan_details of this PrivateEndpoint. :rtype: list[oci.data_flow.models.Scan] r.r8r4r4r5r s zPrivateEndpoint.scan_detailscCs ||_dS)a Sets the scan_details of this PrivateEndpoint. An array of fqdn/port pairs used to create private endpoint. Each object is a simple key-value pair with FQDN as key and port number as value. [ { fqdn: "scan1.oracle.com", port: "1521"}, { fqdn: "scan2.oracle.com", port: "1521" } ] :param scan_details: The scan_details of this PrivateEndpoint. :type: list[oci.data_flow.models.Scan] NrD)r2rr4r4r5rs cCs|jS)z **[Required]** Gets the subnet_id of this PrivateEndpoint. The OCID of a subnet. :return: The subnet_id of this PrivateEndpoint. :rtype: str r/r8r4r4r5r$s zPrivateEndpoint.subnet_idcCs ||_dS)z Sets the subnet_id of this PrivateEndpoint. The OCID of a subnet. :param subnet_id: The subnet_id of this PrivateEndpoint. :type: str NrE)r2rr4r4r5r0s cCs|jS)aa **[Required]** Gets the time_created of this PrivateEndpoint. The date and time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this PrivateEndpoint. :rtype: datetime r0r8r4r4r5r<s zPrivateEndpoint.time_createdcCs ||_dS)a] Sets the time_created of this PrivateEndpoint. The date and time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this PrivateEndpoint. :type: datetime NrF)r2rr4r4r5rKs cCs|jS)aa **[Required]** Gets the time_updated of this PrivateEndpoint. The date and time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this PrivateEndpoint. :rtype: datetime r1r8r4r4r5r Zs zPrivateEndpoint.time_updatedcCs ||_dS)a] Sets the time_updated of this PrivateEndpoint. The date and time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this PrivateEndpoint. :type: datetime NrG)r2r r4r4r5r is cCst|SN)rr8r4r4r5__repr__xszPrivateEndpoint.__repr__cCs|dur dS|j|jkS)NF)__dict__r2otherr4r4r5__eq__{szPrivateEndpoint.__eq__cCs ||k SrHr4rKr4r4r5__ne__szPrivateEndpoint.__ne__N)"__name__ __module__ __qualname____doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDr6propertyrsetterrrrrrrrrrrrrrrrr rIrMrNr4r4r4r5r s                                  rN)Zoci.utilrrrZoci.decoratorsrobjectrr4r4r4r5s