📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
service_mesh
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/service_mesh/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: access_policy.cpython-39.pyc
a ���fV? � @ 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/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�AccessPolicyz[ Access policies enable administrators to restrict the access of certain services. �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )aE Initializes a new AccessPolicy 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 AccessPolicy. :type id: str :param name: The value to assign to the name property of this AccessPolicy. :type name: str :param description: The value to assign to the description property of this AccessPolicy. :type description: str :param mesh_id: The value to assign to the mesh_id property of this AccessPolicy. :type mesh_id: str :param compartment_id: The value to assign to the compartment_id property of this AccessPolicy. :type compartment_id: str :param rules: The value to assign to the rules property of this AccessPolicy. :type rules: list[oci.service_mesh.models.AccessPolicyRule] :param time_created: The value to assign to the time_created property of this AccessPolicy. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AccessPolicy. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this AccessPolicy. 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 AccessPolicy. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this AccessPolicy. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AccessPolicy. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AccessPolicy. :type system_tags: dict(str, dict(str, object)) �strzlist[AccessPolicyRule]Zdatetimezdict(str, str)zdict(str, dict(str, object))) �id�name�description�mesh_id�compartment_id�rules�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr r r ZmeshIdZ compartmentIdr ZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_name�_description�_mesh_id�_compartment_id�_rules� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r* �I/usr/lib/python3.9/site-packages/oci/service_mesh/models/access_policy.py�__init__* sR =��zAccessPolicy.__init__c C s | j S )z� **[Required]** Gets the id of this AccessPolicy. Unique identifier that is immutable on creation. :return: The id of this AccessPolicy. :rtype: str �r �r( r* r* r+ r � s zAccessPolicy.idc C s || _ dS )z� Sets the id of this AccessPolicy. Unique identifier that is immutable on creation. :param id: The id of this AccessPolicy. :type: str Nr- )r( r r* r* r+ r � s c C s | j S )ab **[Required]** Gets the name of this AccessPolicy. A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: `My unique resource name` :return: The name of this AccessPolicy. :rtype: str �r r. r* r* r+ r � s zAccessPolicy.namec C s || _ dS )aV Sets the name of this AccessPolicy. A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: `My unique resource name` :param name: The name of this AccessPolicy. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )a- Gets the description of this AccessPolicy. 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 AccessPolicy. :rtype: str �r r. r* r* r+ r � s zAccessPolicy.descriptionc C s || _ dS )a7 Sets the description of this AccessPolicy. 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 AccessPolicy. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )z� Gets the mesh_id of this AccessPolicy. The OCID of the service mesh in which this access policy is created. :return: The mesh_id of this AccessPolicy. :rtype: str �r r. r* r* r+ r � s zAccessPolicy.mesh_idc C s || _ dS )z� Sets the mesh_id of this AccessPolicy. The OCID of the service mesh in which this access policy is created. :param mesh_id: The mesh_id of this AccessPolicy. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )a **[Required]** Gets the compartment_id of this AccessPolicy. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this AccessPolicy. :rtype: str �r r. r* r* r+ r s zAccessPolicy.compartment_idc C s || _ dS )a Sets the compartment_id of this AccessPolicy. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this AccessPolicy. :type: str Nr2 )r( r r* r* r+ r s c C s | j S )z� Gets the rules of this AccessPolicy. List of applicable rules. :return: The rules of this AccessPolicy. :rtype: list[oci.service_mesh.models.AccessPolicyRule] �r r. r* r* r+ r s zAccessPolicy.rulesc C s || _ dS )z� Sets the rules of this AccessPolicy. List of applicable rules. :param rules: The rules of this AccessPolicy. :type: list[oci.service_mesh.models.AccessPolicyRule] Nr3 )r( r r* r* r+ r ( s c C s | j S )z� **[Required]** Gets the time_created of this AccessPolicy. The time when this resource was created in an RFC3339 formatted datetime string. :return: The time_created of this AccessPolicy. :rtype: datetime �r! r. r* r* r+ r 4 s zAccessPolicy.time_createdc C s || _ dS )z� Sets the time_created of this AccessPolicy. The time when this resource was created in an RFC3339 formatted datetime string. :param time_created: The time_created of this AccessPolicy. :type: datetime Nr4 )r( r r* r* r+ r @ s c C s | j S )z� **[Required]** Gets the time_updated of this AccessPolicy. The time when this resource was updated in an RFC3339 formatted datetime string. :return: The time_updated of this AccessPolicy. :rtype: datetime �r"