📂 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.9 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_delegation_control_details.cpython-39.pyc
a ���fiZ � @ 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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �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 d/d.� �Zed0d1� �Zej d2d1� �Zd3d4� Zd5d6� Zd7d8� Zd9S ):�CreateDelegationControlDetailsa� While creating the Delegation Control, specify how Service Provider Actions are approved and the users who have the privilege of approving the Service Provider Actions associated with the Delegation Control. You must specify which Service Provider Actions must be pre-approved. The rest of the Service Provider Actions associated with the Delegation Control will require an explicit approval from the users selected either through the approver groups or individually. You must name your Delegation Control appropriately so it reflects the resources that will be governed by the Delegation Control. Neither the Delegation Controls nor their assignments to resources are visible to the support operators. � VMCLUSTER�CLOUDVMCLUSTERc K s� dddddddddddddddd�| _ dd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a Initializes a new CreateDelegationControlDetails 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 CreateDelegationControlDetails. :type compartment_id: str :param display_name: The value to assign to the display_name property of this CreateDelegationControlDetails. :type display_name: str :param description: The value to assign to the description property of this CreateDelegationControlDetails. :type description: str :param num_approvals_required: The value to assign to the num_approvals_required property of this CreateDelegationControlDetails. :type num_approvals_required: int :param pre_approved_service_provider_action_names: The value to assign to the pre_approved_service_provider_action_names property of this CreateDelegationControlDetails. :type pre_approved_service_provider_action_names: list[str] :param delegation_subscription_ids: The value to assign to the delegation_subscription_ids property of this CreateDelegationControlDetails. :type delegation_subscription_ids: list[str] :param is_auto_approve_during_maintenance: The value to assign to the is_auto_approve_during_maintenance property of this CreateDelegationControlDetails. :type is_auto_approve_during_maintenance: bool :param resource_ids: The value to assign to the resource_ids property of this CreateDelegationControlDetails. :type resource_ids: list[str] :param resource_type: The value to assign to the resource_type property of this CreateDelegationControlDetails. Allowed values for this property are: "VMCLUSTER", "CLOUDVMCLUSTER" :type resource_type: str :param notification_topic_id: The value to assign to the notification_topic_id property of this CreateDelegationControlDetails. :type notification_topic_id: str :param notification_message_format: The value to assign to the notification_message_format property of this CreateDelegationControlDetails. :type notification_message_format: str :param vault_id: The value to assign to the vault_id property of this CreateDelegationControlDetails. :type vault_id: str :param vault_key_id: The value to assign to the vault_key_id property of this CreateDelegationControlDetails. :type vault_key_id: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateDelegationControlDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateDelegationControlDetails. :type defined_tags: dict(str, dict(str, object)) �str�intz list[str]�boolzdict(str, str)zdict(str, dict(str, object)))�compartment_id�display_name�description�num_approvals_required�*pre_approved_service_provider_action_names�delegation_subscription_ids�"is_auto_approve_during_maintenance�resource_ids� resource_type�notification_topic_id�notification_message_format�vault_id�vault_key_id� freeform_tags�defined_tagsZ compartmentIdZdisplayNamer ZnumApprovalsRequiredZ%preApprovedServiceProviderActionNamesZdelegationSubscriptionIdsZisAutoApproveDuringMaintenanceZresourceIdsZresourceTypeZnotificationTopicIdZnotificationMessageFormatZvaultIdZ vaultKeyIdZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_compartment_id� _display_name�_description�_num_approvals_required�+_pre_approved_service_provider_action_names�_delegation_subscription_ids�#_is_auto_approve_during_maintenance� _resource_ids�_resource_type�_notification_topic_id�_notification_message_format� _vault_id� _vault_key_id�_freeform_tags� _defined_tags)�self�kwargs� r, �h/usr/lib/python3.9/site-packages/oci/delegate_access_control/models/create_delegation_control_details.py�__init__ s^ D��z'CreateDelegationControlDetails.__init__c C s | j S )a **[Required]** Gets the compartment_id of this CreateDelegationControlDetails. The OCID of the compartment that contains this Delegation Control. :return: The compartment_id of this CreateDelegationControlDetails. :rtype: str �r �r* r, r, r- r � s z-CreateDelegationControlDetails.compartment_idc C s || _ dS )a Sets the compartment_id of this CreateDelegationControlDetails. The OCID of the compartment that contains this Delegation Control. :param compartment_id: The compartment_id of this CreateDelegationControlDetails. :type: str Nr/ )r* r r, r, r- r � s c C s | j S )a **[Required]** Gets the display_name of this CreateDelegationControlDetails. Name of the Delegation Control. The name does not need to be unique. :return: The display_name of this CreateDelegationControlDetails. :rtype: str �r r0 r, r, r- r � s z+CreateDelegationControlDetails.display_namec C s || _ dS )a Sets the display_name of this CreateDelegationControlDetails. Name of the Delegation Control. The name does not need to be unique. :param display_name: The display_name of this CreateDelegationControlDetails. :type: str Nr1 )r* r r, r, r- r � s c C s | j S )z� Gets the description of this CreateDelegationControlDetails. Description of the Delegation Control. :return: The description of this CreateDelegationControlDetails. :rtype: str �r r0 r, r, r- r � s z*CreateDelegationControlDetails.descriptionc C s || _ dS )z� Sets the description of this CreateDelegationControlDetails. Description of the Delegation Control. :param description: The description of this CreateDelegationControlDetails. :type: str Nr2 )r* r r, r, r- r � s c C s | j S )z� Gets the num_approvals_required of this CreateDelegationControlDetails. number of approvals required. :return: The num_approvals_required of this CreateDelegationControlDetails. :rtype: int �r r0 r, r, r- r � s z5CreateDelegationControlDetails.num_approvals_requiredc C s || _ dS )z� Sets the num_approvals_required of this CreateDelegationControlDetails. number of approvals required. :param num_approvals_required: The num_approvals_required of this CreateDelegationControlDetails. :type: int Nr3 )r* r r, r, r- r � s c C s | j S )a� Gets the pre_approved_service_provider_action_names of this CreateDelegationControlDetails. List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. :return: The pre_approved_service_provider_action_names of this CreateDelegationControlDetails. :rtype: list[str] �r r0 r, r, r- r � s zICreateDelegationControlDetails.pre_approved_service_provider_action_namesc C s || _ dS )a� Sets the pre_approved_service_provider_action_names of this CreateDelegationControlDetails. List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. :param pre_approved_service_provider_action_names: The pre_approved_service_provider_action_names of this CreateDelegationControlDetails. :type: list[str] Nr4 )r* r r, r, r- r s c C s | j S )a� **[Required]** Gets the delegation_subscription_ids of this CreateDelegationControlDetails. List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. :return: The delegation_subscription_ids of this CreateDelegationControlDetails. :rtype: list[str] �r r0 r, r, r- r s z:CreateDelegationControlDetails.delegation_subscription_idsc C s || _ dS )a Sets the delegation_subscription_ids of this CreateDelegationControlDetails. List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. :param delegation_subscription_ids: The delegation_subscription_ids of this CreateDelegationControlDetails. :type: list[str] Nr5 )r* r r, r, r- r s c C s | j S )aP Gets the is_auto_approve_during_maintenance of this CreateDelegationControlDetails. Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. :return: The is_auto_approve_during_maintenance of this CreateDelegationControlDetails. :rtype: bool �r! r0 r, r, r- r ' s zACreateDelegationControlDetails.is_auto_approve_during_maintenancec C s || _ dS )aq Sets the is_auto_approve_during_maintenance of this CreateDelegationControlDetails. Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. :param is_auto_approve_during_maintenance: The is_auto_approve_during_maintenance of this CreateDelegationControlDetails. :type: bool Nr6 )r* r r, r, r- r 3 s c C s | j S )a **[Required]** Gets the resource_ids of this CreateDelegationControlDetails. The OCID of the selected resources that this Delegation Control is applicable to. :return: The resource_ids of this CreateDelegationControlDetails. :rtype: list[str] �r"