📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
operator_access_control
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/operator_access_control/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: operator_control_assignment.cpython-39.opt-1.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 @ sp e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Z e jd7d6� �Z ed8d9� �Z!e!jd:d9� �Z!ed;d<� �Z"e"jd=d<� �Z"ed>d?� �Z#e#jd@d?� �Z#edAdB� �Z$e$jdCdB� �Z$edDdE� �Z%e%jdFdE� �Z%edGdH� �Z&e&jdIdH� �Z&edJdK� �Z'e'jdLdK� �Z'edMdN� �Z(e(jdOdN� �Z(edPdQ� �Z)e)jdRdQ� �Z)edSdT� �Z*e*jdUdT� �Z*edVdW� �Z+e+jdXdW� �Z+edYdZ� �Z,e,jd[dZ� �Z,ed\d]� �Z-e-jd^d]� �Z-ed_d`� �Z.e.jdad`� �Z.edbdc� �Z/e/jdddc� �Z/ededf� �Z0e0jdgdf� �Z0edhdi� �Z1e1jdjdi� �Z1dkdl� Z2dmdn� Z3dodp� Z4dqS )r�OperatorControlAssignmentaC An Operator Control Assignment identifies the target resource that is placed under the governance of an Operator Control. Creating an Operator Control Assignment Assignment with a time duration ensures that human accesses to the target resource will be governed by Operator Control for the duration specified. �EXACC�EXADATAINFRASTRUCTURE�AUTONOMOUSVMCLUSTER�CLOUDAUTONOMOUSVMCLUSTER�CCCINFRASTRUCTURE�CREATED�APPLIED�APPLYFAILED�UPDATING�UPDATEFAILED�DELETING�DELETED�DELETIONFAILEDc K s@ ddddddddddddddddddddddddddddddd�| _ dd d ddd ddddddddddddddddddd 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&| _d&S )'a� Initializes a new OperatorControlAssignment 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 OperatorControlAssignment. :type id: str :param operator_control_id: The value to assign to the operator_control_id property of this OperatorControlAssignment. :type operator_control_id: str :param resource_id: The value to assign to the resource_id property of this OperatorControlAssignment. :type resource_id: str :param resource_name: The value to assign to the resource_name property of this OperatorControlAssignment. :type resource_name: str :param resource_compartment_id: The value to assign to the resource_compartment_id property of this OperatorControlAssignment. :type resource_compartment_id: str :param compartment_id: The value to assign to the compartment_id property of this OperatorControlAssignment. :type compartment_id: str :param resource_type: The value to assign to the resource_type property of this OperatorControlAssignment. Allowed values for this property are: "EXACC", "EXADATAINFRASTRUCTURE", "AUTONOMOUSVMCLUSTER", "CLOUDAUTONOMOUSVMCLUSTER", "CCCINFRASTRUCTURE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type resource_type: str :param time_assignment_from: The value to assign to the time_assignment_from property of this OperatorControlAssignment. :type time_assignment_from: datetime :param time_assignment_to: The value to assign to the time_assignment_to property of this OperatorControlAssignment. :type time_assignment_to: datetime :param is_enforced_always: The value to assign to the is_enforced_always property of this OperatorControlAssignment. :type is_enforced_always: bool :param lifecycle_state: The value to assign to the lifecycle_state property of this OperatorControlAssignment. Allowed values for this property are: "CREATED", "APPLIED", "APPLYFAILED", "UPDATING", "UPDATEFAILED", "DELETING", "DELETED", "DELETIONFAILED", '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 OperatorControlAssignment. :type lifecycle_details: str :param assigner_id: The value to assign to the assigner_id property of this OperatorControlAssignment. :type assigner_id: str :param time_of_assignment: The value to assign to the time_of_assignment property of this OperatorControlAssignment. :type time_of_assignment: datetime :param comment: The value to assign to the comment property of this OperatorControlAssignment. :type comment: str :param unassigner_id: The value to assign to the unassigner_id property of this OperatorControlAssignment. :type unassigner_id: str :param time_of_deletion: The value to assign to the time_of_deletion property of this OperatorControlAssignment. :type time_of_deletion: datetime :param detachment_description: The value to assign to the detachment_description property of this OperatorControlAssignment. :type detachment_description: str :param is_log_forwarded: The value to assign to the is_log_forwarded property of this OperatorControlAssignment. :type is_log_forwarded: bool :param remote_syslog_server_address: The value to assign to the remote_syslog_server_address property of this OperatorControlAssignment. :type remote_syslog_server_address: str :param remote_syslog_server_port: The value to assign to the remote_syslog_server_port property of this OperatorControlAssignment. :type remote_syslog_server_port: int :param remote_syslog_server_ca_cert: The value to assign to the remote_syslog_server_ca_cert property of this OperatorControlAssignment. :type remote_syslog_server_ca_cert: str :param is_hypervisor_log_forwarded: The value to assign to the is_hypervisor_log_forwarded property of this OperatorControlAssignment. :type is_hypervisor_log_forwarded: bool :param op_control_name: The value to assign to the op_control_name property of this OperatorControlAssignment. :type op_control_name: str :param is_auto_approve_during_maintenance: The value to assign to the is_auto_approve_during_maintenance property of this OperatorControlAssignment. :type is_auto_approve_during_maintenance: bool :param error_code: The value to assign to the error_code property of this OperatorControlAssignment. :type error_code: int :param error_message: The value to assign to the error_message property of this OperatorControlAssignment. :type error_message: str :param is_default_assignment: The value to assign to the is_default_assignment property of this OperatorControlAssignment. :type is_default_assignment: bool :param freeform_tags: The value to assign to the freeform_tags property of this OperatorControlAssignment. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this OperatorControlAssignment. :type defined_tags: dict(str, dict(str, object)) �strZdatetime�bool�intzdict(str, str)zdict(str, dict(str, object)))�id�operator_control_id�resource_id� resource_name�resource_compartment_id�compartment_id� resource_type�time_assignment_from�time_assignment_to�is_enforced_always�lifecycle_state�lifecycle_details�assigner_id�time_of_assignment�comment� unassigner_id�time_of_deletion�detachment_description�is_log_forwarded�remote_syslog_server_address�remote_syslog_server_port�remote_syslog_server_ca_cert�is_hypervisor_log_forwarded�op_control_name�"is_auto_approve_during_maintenance� error_code� error_message�is_default_assignment� freeform_tags�defined_tagsr ZoperatorControlIdZ resourceIdZresourceNameZresourceCompartmentIdZ compartmentIdZresourceTypeZtimeAssignmentFromZtimeAssignmentToZisEnforcedAlwaysZlifecycleStateZlifecycleDetailsZ assignerIdZtimeOfAssignmentr% ZunassignerIdZtimeOfDeletionZdetachmentDescriptionZisLogForwardedZremoteSyslogServerAddressZremoteSyslogServerPortZremoteSyslogServerCACertZisHypervisorLogForwardedZ opControlNameZisAutoApproveDuringMaintenanceZ errorCodeZerrorMessageZisDefaultAssignmentZfreeformTagsZdefinedTagsN) Z swagger_typesZ attribute_map�_id�_operator_control_id�_resource_id�_resource_name�_resource_compartment_id�_compartment_id�_resource_type�_time_assignment_from�_time_assignment_to�_is_enforced_always�_lifecycle_state�_lifecycle_details�_assigner_id�_time_of_assignment�_comment�_unassigner_id�_time_of_deletion�_detachment_description�_is_log_forwarded�_remote_syslog_server_address�_remote_syslog_server_port�_remote_syslog_server_ca_cert�_is_hypervisor_log_forwarded�_op_control_name�#_is_auto_approve_during_maintenance�_error_code�_error_message�_is_default_assignment�_freeform_tags� _defined_tags)�self�kwargs� rU �b/usr/lib/python3.9/site-packages/oci/operator_access_control/models/operator_control_assignment.py�__init__G s� �"�!z"OperatorControlAssignment.__init__c C s | j S )z� **[Required]** Gets the id of this OperatorControlAssignment. The OCID of the operator control assignment. :return: The id of this OperatorControlAssignment. :rtype: str �r5 �rS rU rU rV r * s zOperatorControlAssignment.idc C s || _ dS )z� Sets the id of this OperatorControlAssignment. The OCID of the operator control assignment. :param id: The id of this OperatorControlAssignment. :type: str NrX )rS r rU rU rV r 6 s c C s | j S )z� **[Required]** Gets the operator_control_id of this OperatorControlAssignment. The OCID of the operator control. :return: The operator_control_id of this OperatorControlAssignment. :rtype: str �r6 rY rU rU rV r B s z-OperatorControlAssignment.operator_control_idc C s || _ dS )z� Sets the operator_control_id of this OperatorControlAssignment. The OCID of the operator control. :param operator_control_id: The operator_control_id of this OperatorControlAssignment. :type: str NrZ )rS r rU rU rV r N s c C s | j S )z� **[Required]** Gets the resource_id of this OperatorControlAssignment. The OCID of the target resource. :return: The resource_id of this OperatorControlAssignment. :rtype: str �r7 rY rU rU rV r Z s z%OperatorControlAssignment.resource_idc C s || _ dS )z� Sets the resource_id of this OperatorControlAssignment. The OCID of the target resource. :param resource_id: The resource_id of this OperatorControlAssignment. :type: str Nr[ )rS r rU rU rV r f s c C s | j S )z� **[Required]** Gets the resource_name of this OperatorControlAssignment. Name of the target resource. :return: The resource_name of this OperatorControlAssignment. :rtype: str �r8 rY rU rU rV r r s z'OperatorControlAssignment.resource_namec C s || _ dS )z� Sets the resource_name of this OperatorControlAssignment. Name of the target resource. :param resource_name: The resource_name of this OperatorControlAssignment. :type: str Nr\ )rS r rU rU rV r ~ s c C s | j S )a Gets the resource_compartment_id of this OperatorControlAssignment. The OCID of the compartment that contains the target resource. :return: The resource_compartment_id of this OperatorControlAssignment. :rtype: str �r9 rY rU rU rV r � s z1OperatorControlAssignment.resource_compartment_idc C s || _ dS )a Sets the resource_compartment_id of this OperatorControlAssignment. The OCID of the compartment that contains the target resource. :param resource_compartment_id: The resource_compartment_id of this OperatorControlAssignment. :type: str Nr] )rS r rU rU rV r � s c C s | j S )z� Gets the compartment_id of this OperatorControlAssignment. The OCID of the comparment that contains the operator control assignment. :return: The compartment_id of this OperatorControlAssignment. :rtype: str �r: rY rU rU rV r � s z(OperatorControlAssignment.compartment_idc C s || _ dS )a Sets the compartment_id of this OperatorControlAssignment. The OCID of the comparment that contains the operator control assignment. :param compartment_id: The compartment_id of this OperatorControlAssignment. :type: str Nr^ )rS r rU rU rV r � s c C s | j S )a� Gets the resource_type of this OperatorControlAssignment. resourceType for which the OperatorControlAssignment is applicable Allowed values for this property are: "EXACC", "EXADATAINFRASTRUCTURE", "AUTONOMOUSVMCLUSTER", "CLOUDAUTONOMOUSVMCLUSTER", "CCCINFRASTRUCTURE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The resource_type of this OperatorControlAssignment. :rtype: str )r; rY rU rU rV r � s z'OperatorControlAssignment.resource_typec C s g d�}t ||�sd}|| _dS )z� Sets the resource_type of this OperatorControlAssignment. resourceType for which the OperatorControlAssignment is applicable :param resource_type: The resource_type of this OperatorControlAssignment. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r; )rS r �allowed_valuesrU rU rV r � s c C s | j S )a� Gets the time_assignment_from of this OperatorControlAssignment. The time at which the target resource will be brought under the governance of the operator control expressed in `RFC 3339`__ timestamp format. Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :return: The time_assignment_from of this OperatorControlAssignment. :rtype: datetime �r<