📂 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
›
key_management
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/key_management/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_key_details.cpython-39.pyc
a ���f�8 � @ 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 ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zd"d#� Zd$d%� Zd&d'� Zd(S ))�CreateKeyDetailsz9 The details of the key that you want to create. �HSM�SOFTWARE�EXTERNALc K sn dddddddddd� | _ d d ddd ddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ dS )ag Initializes a new CreateKeyDetails 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 CreateKeyDetails. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this CreateKeyDetails. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this CreateKeyDetails. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateKeyDetails. :type freeform_tags: dict(str, str) :param key_shape: The value to assign to the key_shape property of this CreateKeyDetails. :type key_shape: oci.key_management.models.KeyShape :param is_auto_rotation_enabled: The value to assign to the is_auto_rotation_enabled property of this CreateKeyDetails. :type is_auto_rotation_enabled: bool :param auto_key_rotation_details: The value to assign to the auto_key_rotation_details property of this CreateKeyDetails. :type auto_key_rotation_details: oci.key_management.models.AutoKeyRotationDetails :param protection_mode: The value to assign to the protection_mode property of this CreateKeyDetails. Allowed values for this property are: "HSM", "SOFTWARE", "EXTERNAL" :type protection_mode: str :param external_key_reference: The value to assign to the external_key_reference property of this CreateKeyDetails. :type external_key_reference: oci.key_management.models.ExternalKeyReference �strzdict(str, dict(str, object))zdict(str, str)ZKeyShape�boolZAutoKeyRotationDetailsZExternalKeyReference) �compartment_id�defined_tags�display_name� freeform_tags� key_shape�is_auto_rotation_enabled�auto_key_rotation_details�protection_mode�external_key_referenceZ compartmentIdZdefinedTagsZdisplayNameZfreeformTagsZkeyShapeZisAutoRotationEnabledZautoKeyRotationDetailsZprotectionModeZexternalKeyReferenceN)Z swagger_typesZ attribute_map�_compartment_id� _defined_tags� _display_name�_freeform_tags� _key_shape�_is_auto_rotation_enabled�_auto_key_rotation_details�_protection_mode�_external_key_reference)�self�kwargs� r �P/usr/lib/python3.9/site-packages/oci/key_management/models/create_key_details.py�__init__ s: ,� �zCreateKeyDetails.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this CreateKeyDetails. The OCID of the compartment where you want to create the master encryption key. :return: The compartment_id of this CreateKeyDetails. :rtype: str �r �r r r r! r k s zCreateKeyDetails.compartment_idc C s || _ dS )z� Sets the compartment_id of this CreateKeyDetails. The OCID of the compartment where you want to create the master encryption key. :param compartment_id: The compartment_id of this CreateKeyDetails. :type: str Nr# )r r r r r! r w s c C s | j S )a� Gets the defined_tags of this CreateKeyDetails. 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/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this CreateKeyDetails. :rtype: dict(str, dict(str, object)) �r r$ r r r! r � s zCreateKeyDetails.defined_tagsc C s || _ dS )a� Sets the defined_tags of this CreateKeyDetails. 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/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this CreateKeyDetails. :type: dict(str, dict(str, object)) Nr% )r r r r r! r � s c C s | j S )a2 **[Required]** Gets the display_name of this CreateKeyDetails. A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. :return: The display_name of this CreateKeyDetails. :rtype: str �r r$ r r r! r � s zCreateKeyDetails.display_namec C s || _ dS )a. Sets the display_name of this CreateKeyDetails. A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. :param display_name: The display_name of this CreateKeyDetails. :type: str Nr&