📂 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
›
delegate_access_control
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/delegate_access_control/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: delegated_resource_access_request.cpython-39.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 @ sT e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!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/� Z0e1d0d1� �Z2e2j3d2d1� �Z2e1d3d4� �Z4e4j3d5d4� �Z4e1d6d7� �Z5e5j3d8d7� �Z5e1d9d:� �Z6e6j3d;d:� �Z6e1d<d=� �Z7e7j3d>d=� �Z7e1d?d@� �Z8e8j3dAd@� �Z8e1dBdC� �Z9e9j3dDdC� �Z9e1dEdF� �Z:e:j3dGdF� �Z:e1dHdI� �Z;e;j3dJdI� �Z;e1dKdL� �Z<e<j3dMdL� �Z<e1dNdO� �Z=e=j3dPdO� �Z=e1dQdR� �Z>e>j3dSdR� �Z>e1dTdU� �Z?e?j3dVdU� �Z?e1dWdX� �Z@e@j3dYdX� �Z@e1dZd[� �ZAeAj3d\d[� �ZAe1d]d^� �ZBeBj3d_d^� �ZBe1d`da� �ZCeCj3dbda� �ZCe1dcdd� �ZDeDj3dedd� �ZDe1dfdg� �ZEeEj3dhdg� �ZEe1didj� �ZFeFj3dkdj� �ZFe1dldm� �ZGeGj3dndm� �ZGe1dodp� �ZHeHj3dqdp� �ZHe1drds� �ZIeIj3dtds� �ZIe1dudv� �ZJeJj3dwdv� �ZJe1dxdy� �ZKeKj3dzdy� �ZKe1d{d|� �ZLeLj3d}d|� �ZLe1d~d� �ZMeMj3d�d� �ZMe1d�d�� �ZNeNj3d�d�� �ZNe1d�d�� �ZOeOj3d�d�� �ZOe1d�d�� �ZPePj3d�d�� �ZPe1d�d�� �ZQeQj3d�d�� �ZQe1d�d�� �ZReRj3d�d�� �ZRe1d�d�� �ZSeSj3d�d�� �ZSe1d�d�� �ZTeTj3d�d�� �ZTd�d�� ZUd�d�� ZVd�d�� ZWd�S )��DelegatedResourceAccessRequesta� A support operator raises Delegated Resource Access Request when they need access to any infrastructure resource governed by Delegation Control. The Delegated Resource Access Request identifies the target resource and the set of Service Provider Actions. Delegated Resource Access Request handling depends upon the Delegation Control that governs the target resource, and the set of Service Provider Actions listed for approval in the Delegated Resource Access Request. If all of the Service Provider Actions listed in the Delegated Resource Access Request are in the pre-approved list in the Delegation Control that governs the target resource, then the Delegated Resource Access Request is automatically approved. If not, then the Delegated Resource Access Request requires explicit approval from the approver group specified by the Delegation Control governing the target resource. You can approve or reject a Delegated Resource Access Request. You can also revoke the approval of an already approved Delegated Resource Access Request. While creating a Delegated Resource Access Request, the support operator specifies the duration of access. You have the option to approve the entire duration or reduce or even increase the time duration. A support operator can also request for an extension. The approval for such an extension is processed the same way the original Delegated Resource Access Request was processed. � VMCLUSTER�CLOUDVMCLUSTER�OPERATOR�CUSTOMER�SYSTEM�TROUBLESHOOTING�ASSISTED_PATCHING�S1�S2�S3�S4�ACCEPTED�IN_PROGRESS�WAITING�FAILED� SUCCEEDED� CANCELING�CANCELED�NEEDS_ATTENTION�CREATED�APPROVAL_WAITING�OPERATOR_ASSIGNMENT_WAITING�PREAPPROVED�APPROVED�APPROVED_FOR_FUTURE�REJECTED�DEPLOYED� DEPLOY_FAILED� UNDEPLOYED�UNDEPLOY_FAILED�CLOSE_FAILED� REVOKE_FAILED� EXPIRY_FAILED�REVOKING�REVOKED� EXTENDING�EXTENDED�EXTENSION_REJECTED�EXTENSION_FAILED� COMPLETING� COMPLETED�EXPIRED� COMMAND_AUDIT�COMMAND_KEYSTROKE_AUDITc # K sh ddddddddddddddddddddddddddddddddddd �"| _ 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,| _d,| _d,| _d,| _d,| _d,| _d,| _ d,| _!d,| _"d,| _#d,S )-a� Initializes a new DelegatedResourceAccessRequest 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 DelegatedResourceAccessRequest. :type id: str :param compartment_id: The value to assign to the compartment_id property of this DelegatedResourceAccessRequest. :type compartment_id: str :param display_name: The value to assign to the display_name property of this DelegatedResourceAccessRequest. :type display_name: str :param ticket_numbers: The value to assign to the ticket_numbers property of this DelegatedResourceAccessRequest. :type ticket_numbers: list[str] :param reason_for_request: The value to assign to the reason_for_request property of this DelegatedResourceAccessRequest. :type reason_for_request: str :param description: The value to assign to the description property of this DelegatedResourceAccessRequest. :type description: str :param time_access_requested: The value to assign to the time_access_requested property of this DelegatedResourceAccessRequest. :type time_access_requested: datetime :param resource_id: The value to assign to the resource_id property of this DelegatedResourceAccessRequest. :type resource_id: str :param resource_name: The value to assign to the resource_name property of this DelegatedResourceAccessRequest. :type resource_name: str :param resource_type: The value to assign to the resource_type property of this DelegatedResourceAccessRequest. Allowed values for this property are: "VMCLUSTER", "CLOUDVMCLUSTER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type resource_type: str :param requester_type: The value to assign to the requester_type property of this DelegatedResourceAccessRequest. Allowed values for this property are: "OPERATOR", "CUSTOMER", "SYSTEM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type requester_type: str :param requested_action_names: The value to assign to the requested_action_names property of this DelegatedResourceAccessRequest. :type requested_action_names: list[str] :param database_name_list: The value to assign to the database_name_list property of this DelegatedResourceAccessRequest. :type database_name_list: list[str] :param provided_service_types: The value to assign to the provided_service_types property of this DelegatedResourceAccessRequest. Allowed values for items in this list are: "TROUBLESHOOTING", "ASSISTED_PATCHING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type provided_service_types: list[str] :param delegation_subscription_ids: The value to assign to the delegation_subscription_ids property of this DelegatedResourceAccessRequest. :type delegation_subscription_ids: list[str] :param severity: The value to assign to the severity property of this DelegatedResourceAccessRequest. Allowed values for this property are: "S1", "S2", "S3", "S4", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type severity: str :param duration_in_hours: The value to assign to the duration_in_hours property of this DelegatedResourceAccessRequest. :type duration_in_hours: int :param extend_duration_in_hours: The value to assign to the extend_duration_in_hours property of this DelegatedResourceAccessRequest. :type extend_duration_in_hours: int :param is_auto_approved: The value to assign to the is_auto_approved property of this DelegatedResourceAccessRequest. :type is_auto_approved: bool :param lifecycle_state: The value to assign to the lifecycle_state property of this DelegatedResourceAccessRequest. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_state_details: The value to assign to the lifecycle_state_details property of this DelegatedResourceAccessRequest. :type lifecycle_state_details: str :param request_status: The value to assign to the request_status property of this DelegatedResourceAccessRequest. Allowed values for this property are: "CREATED", "APPROVAL_WAITING", "OPERATOR_ASSIGNMENT_WAITING", "PREAPPROVED", "APPROVED", "APPROVED_FOR_FUTURE", "REJECTED", "DEPLOYED", "DEPLOY_FAILED", "UNDEPLOYED", "UNDEPLOY_FAILED", "CLOSE_FAILED", "REVOKE_FAILED", "EXPIRY_FAILED", "REVOKING", "REVOKED", "EXTENDING", "EXTENDED", "EXTENSION_REJECTED", "EXTENSION_FAILED", "COMPLETING", "COMPLETED", "EXPIRED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type request_status: str :param time_created: The value to assign to the time_created property of this DelegatedResourceAccessRequest. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DelegatedResourceAccessRequest. :type time_updated: datetime :param num_initial_approvals: The value to assign to the num_initial_approvals property of this DelegatedResourceAccessRequest. :type num_initial_approvals: int :param num_extension_approvals: The value to assign to the num_extension_approvals property of this DelegatedResourceAccessRequest. :type num_extension_approvals: int :param approval_info: The value to assign to the approval_info property of this DelegatedResourceAccessRequest. :type approval_info: list[oci.delegate_access_control.models.DelegatedResourceAccessRequestApprovalDetails] :param closure_comment: The value to assign to the closure_comment property of this DelegatedResourceAccessRequest. :type closure_comment: str :param delegation_control_id: The value to assign to the delegation_control_id property of this DelegatedResourceAccessRequest. :type delegation_control_id: str :param audit_types: The value to assign to the audit_types property of this DelegatedResourceAccessRequest. Allowed values for items in this list are: "COMMAND_AUDIT", "COMMAND_KEYSTROKE_AUDIT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type audit_types: list[str] :param is_pending_more_info: The value to assign to the is_pending_more_info property of this DelegatedResourceAccessRequest. :type is_pending_more_info: bool :param freeform_tags: The value to assign to the freeform_tags property of this DelegatedResourceAccessRequest. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DelegatedResourceAccessRequest. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DelegatedResourceAccessRequest. :type system_tags: dict(str, dict(str, object)) �strz list[str]Zdatetime�int�boolz3list[DelegatedResourceAccessRequestApprovalDetails]zdict(str, str)zdict(str, dict(str, object)))"�id�compartment_id�display_name�ticket_numbers�reason_for_request�description�time_access_requested�resource_id� resource_name� resource_type�requester_type�requested_action_names�database_name_list�provided_service_types�delegation_subscription_ids�severity�duration_in_hours�extend_duration_in_hours�is_auto_approved�lifecycle_state�lifecycle_state_details�request_status�time_created�time_updated�num_initial_approvals�num_extension_approvals� approval_info�closure_comment�delegation_control_id�audit_types�is_pending_more_info� freeform_tags�defined_tags�system_tagsr6 Z compartmentIdZdisplayNameZ ticketNumbersZreasonForRequestr; ZtimeAccessRequestedZ resourceIdZresourceNameZresourceTypeZ requesterTypeZrequestedActionNamesZdatabaseNameListZprovidedServiceTypesZdelegationSubscriptionIdsrE ZdurationInHoursZextendDurationInHoursZisAutoApprovedZlifecycleStateZlifecycleStateDetailsZ requestStatusZtimeCreatedZtimeUpdatedZnumInitialApprovalsZnumExtensionApprovalsZapprovalInfoZclosureCommentZdelegationControlIdZ auditTypesZisPendingMoreInfoZfreeformTagsZdefinedTagsZ systemTagsN)$Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name�_ticket_numbers�_reason_for_request�_description�_time_access_requested�_resource_id�_resource_name�_resource_type�_requester_type�_requested_action_names�_database_name_list�_provided_service_types�_delegation_subscription_ids� _severity�_duration_in_hours�_extend_duration_in_hours�_is_auto_approved�_lifecycle_state�_lifecycle_state_details�_request_status� _time_created� _time_updated�_num_initial_approvals�_num_extension_approvals�_approval_info�_closure_comment�_delegation_control_id�_audit_types�_is_pending_more_info�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r| �h/usr/lib/python3.9/site-packages/oci/delegate_access_control/models/delegated_resource_access_request.py�__init__� s� �&�%z'DelegatedResourceAccessRequest.__init__c C s | j S )z� **[Required]** Gets the id of this DelegatedResourceAccessRequest. The OCID of the Delegated Resource Access Request. :return: The id of this DelegatedResourceAccessRequest. :rtype: str �rX �rz r| r| r} r6 � s z!DelegatedResourceAccessRequest.idc C s || _ dS )z� Sets the id of this DelegatedResourceAccessRequest. The OCID of the Delegated Resource Access Request. :param id: The id of this DelegatedResourceAccessRequest. :type: str Nr )rz r6 r| r| r} r6 � s c C s | j S )a **[Required]** Gets the compartment_id of this DelegatedResourceAccessRequest. The OCID of the compartment that contains the Delegated Resource Access Request. :return: The compartment_id of this DelegatedResourceAccessRequest. :rtype: str �rY r� r| r| r} r7 � s z-DelegatedResourceAccessRequest.compartment_idc C s || _ dS )a Sets the compartment_id of this DelegatedResourceAccessRequest. The OCID of the compartment that contains the Delegated Resource Access Request. :param compartment_id: The compartment_id of this DelegatedResourceAccessRequest. :type: str Nr� )rz r7 r| r| r} r7 � s c C s | j S )z� Gets the display_name of this DelegatedResourceAccessRequest. Display name. This is generated by the system automatically. :return: The display_name of this DelegatedResourceAccessRequest. :rtype: str �rZ r� r| r| r} r8 s z+DelegatedResourceAccessRequest.display_namec C s || _ dS )z� Sets the display_name of this DelegatedResourceAccessRequest. Display name. This is generated by the system automatically. :param display_name: The display_name of this DelegatedResourceAccessRequest. :type: str Nr� )rz r8 r| r| r} r8 s c C s | j S )aF Gets the ticket_numbers of this DelegatedResourceAccessRequest. A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. :return: The ticket_numbers of this DelegatedResourceAccessRequest. :rtype: list[str] �r[ r� r| r| r} r9 s z-DelegatedResourceAccessRequest.ticket_numbersc C s || _ dS )aS Sets the ticket_numbers of this DelegatedResourceAccessRequest. A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. :param ticket_numbers: The ticket_numbers of this DelegatedResourceAccessRequest. :type: list[str] Nr� )rz r9 r| r| r} r9 ' s c C s | j S )a? **[Required]** Gets the reason_for_request of this DelegatedResourceAccessRequest. A short description explaining why this Delegated Resource Access Request is needed by the support operator. :return: The reason_for_request of this DelegatedResourceAccessRequest. :rtype: str �r\ r� r| r| r} r: 3 s z1DelegatedResourceAccessRequest.reason_for_requestc C s || _ dS )aA Sets the reason_for_request of this DelegatedResourceAccessRequest. A short description explaining why this Delegated Resource Access Request is needed by the support operator. :param reason_for_request: The reason_for_request of this DelegatedResourceAccessRequest. :type: str Nr� )rz r: r| r| r} r: ? s c C s | j S )a **[Required]** Gets the description of this DelegatedResourceAccessRequest. Detailed description of this Delegated Resource Access Request. :return: The description of this DelegatedResourceAccessRequest. :rtype: str �r] r� r| r| r} r; K s z*DelegatedResourceAccessRequest.descriptionc C s || _ dS )z� Sets the description of this DelegatedResourceAccessRequest. Detailed description of this Delegated Resource Access Request. :param description: The description of this DelegatedResourceAccessRequest. :type: str Nr� )rz r; r| r| r} r; W s c C s | j S )z� Gets the time_access_requested of this DelegatedResourceAccessRequest. Requested access start time in UTC. :return: The time_access_requested of this DelegatedResourceAccessRequest. :rtype: datetime �r^ r� r| r| r} r<