📂 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
›
core
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/core/models/__pycache__
💾
Free:
45.9 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_volume_details.cpython-39.pyc
a ���fWS � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zd4d5� Zd6d7� Zd8d9� Zd:S );�CreateVolumeDetailsz� The details of the volume to create. For CreateVolume operation, this field is required in the request, see :func:`create_volume`. c K s� ddddddddddddddddd �| _ d ddd ddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )az Initializes a new CreateVolumeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param availability_domain: The value to assign to the availability_domain property of this CreateVolumeDetails. :type availability_domain: str :param backup_policy_id: The value to assign to the backup_policy_id property of this CreateVolumeDetails. :type backup_policy_id: str :param compartment_id: The value to assign to the compartment_id property of this CreateVolumeDetails. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this CreateVolumeDetails. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this CreateVolumeDetails. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateVolumeDetails. :type freeform_tags: dict(str, str) :param kms_key_id: The value to assign to the kms_key_id property of this CreateVolumeDetails. :type kms_key_id: str :param vpus_per_gb: The value to assign to the vpus_per_gb property of this CreateVolumeDetails. :type vpus_per_gb: int :param cluster_placement_group_id: The value to assign to the cluster_placement_group_id property of this CreateVolumeDetails. :type cluster_placement_group_id: str :param size_in_gbs: The value to assign to the size_in_gbs property of this CreateVolumeDetails. :type size_in_gbs: int :param size_in_mbs: The value to assign to the size_in_mbs property of this CreateVolumeDetails. :type size_in_mbs: int :param source_details: The value to assign to the source_details property of this CreateVolumeDetails. :type source_details: oci.core.models.VolumeSourceDetails :param volume_backup_id: The value to assign to the volume_backup_id property of this CreateVolumeDetails. :type volume_backup_id: str :param is_auto_tune_enabled: The value to assign to the is_auto_tune_enabled property of this CreateVolumeDetails. :type is_auto_tune_enabled: bool :param block_volume_replicas: The value to assign to the block_volume_replicas property of this CreateVolumeDetails. :type block_volume_replicas: list[oci.core.models.BlockVolumeReplicaDetails] :param autotune_policies: The value to assign to the autotune_policies property of this CreateVolumeDetails. :type autotune_policies: list[oci.core.models.AutotunePolicy] �strzdict(str, dict(str, object))zdict(str, str)�intZVolumeSourceDetails�boolzlist[BlockVolumeReplicaDetails]zlist[AutotunePolicy])�availability_domain�backup_policy_id�compartment_id�defined_tags�display_name� freeform_tags� kms_key_id�vpus_per_gb�cluster_placement_group_id�size_in_gbs�size_in_mbs�source_details�volume_backup_id�is_auto_tune_enabled�block_volume_replicas�autotune_policiesZavailabilityDomainZbackupPolicyIdZ compartmentIdZdefinedTagsZdisplayNameZfreeformTagsZkmsKeyIdZ vpusPerGBZclusterPlacementGroupIdZ sizeInGBsZ sizeInMBsZ sourceDetailsZvolumeBackupIdZisAutoTuneEnabledZblockVolumeReplicasZautotunePoliciesN)Z swagger_typesZ attribute_map�_availability_domain�_backup_policy_id�_compartment_id� _defined_tags� _display_name�_freeform_tags�_kms_key_id�_vpus_per_gb�_cluster_placement_group_id�_size_in_gbs�_size_in_mbs�_source_details�_volume_backup_id�_is_auto_tune_enabled�_block_volume_replicas�_autotune_policies)�self�kwargs� r, �I/usr/lib/python3.9/site-packages/oci/core/models/create_volume_details.py�__init__ sd G��zCreateVolumeDetails.__init__c C s | j S )ah Gets the availability_domain of this CreateVolumeDetails. The availability domain of the volume. Omissible for cloning a volume. The new volume will be created in the availability domain of the source volume. Example: `Uocm:PHX-AD-1` :return: The availability_domain of this CreateVolumeDetails. :rtype: str �r �r* r, r, r- r � s z'CreateVolumeDetails.availability_domainc C s || _ dS )az Sets the availability_domain of this CreateVolumeDetails. The availability domain of the volume. Omissible for cloning a volume. The new volume will be created in the availability domain of the source volume. Example: `Uocm:PHX-AD-1` :param availability_domain: The availability_domain of this CreateVolumeDetails. :type: str Nr/ )r* r r, r, r- r � s c C s | j S )a: Gets the backup_policy_id of this CreateVolumeDetails. If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned. :return: The backup_policy_id of this CreateVolumeDetails. :rtype: str �r r0 r, r, r- r � s z$CreateVolumeDetails.backup_policy_idc C s || _ dS )aI Sets the backup_policy_id of this CreateVolumeDetails. If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned. :param backup_policy_id: The backup_policy_id of this CreateVolumeDetails. :type: str Nr1 )r* r r, r, r- r � s c C s | j S )z� **[Required]** Gets the compartment_id of this CreateVolumeDetails. The OCID of the compartment that contains the volume. :return: The compartment_id of this CreateVolumeDetails. :rtype: str �r r0 r, r, r- r � s z"CreateVolumeDetails.compartment_idc C s || _ dS )z� Sets the compartment_id of this CreateVolumeDetails. The OCID of the compartment that contains the volume. :param compartment_id: The compartment_id of this CreateVolumeDetails. :type: str Nr2 )r* r r, r, r- r � s c C s | j S )a� Gets the defined_tags of this CreateVolumeDetails. 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/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this CreateVolumeDetails. :rtype: dict(str, dict(str, object)) �r r0 r, r, r- r � s z CreateVolumeDetails.defined_tagsc C s || _ dS )a� Sets the defined_tags of this CreateVolumeDetails. 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/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this CreateVolumeDetails. :type: dict(str, dict(str, object)) Nr3 )r* r r, r, r- r � s c C s | j S )a Gets the display_name of this CreateVolumeDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this CreateVolumeDetails. :rtype: str �r r0 r, r, r- r s z CreateVolumeDetails.display_namec C s || _ dS )a$ Sets the display_name of this CreateVolumeDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this CreateVolumeDetails. :type: str Nr4 )r* r r, r, r- r s c C s | j S )a� Gets the freeform_tags of this CreateVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this CreateVolumeDetails. :rtype: dict(str, str) �r r0 r, r, r- r s z!CreateVolumeDetails.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this CreateVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this CreateVolumeDetails. :type: dict(str, str) Nr5 )r* r r, r, r- r + s c C s | j S )z� Gets the kms_key_id of this CreateVolumeDetails. The OCID of the Vault service key to assign as the master encryption key for the volume. :return: The kms_key_id of this CreateVolumeDetails. :rtype: str �r r0 r, r, r- r < s zCreateVolumeDetails.kms_key_idc C s || _ dS )a Sets the kms_key_id of this CreateVolumeDetails. The OCID of the Vault service key to assign as the master encryption key for the volume. :param kms_key_id: The kms_key_id of this CreateVolumeDetails. :type: str Nr6 )r* r r, r, r- r I s c C s | j S )aN Gets the vpus_per_gb of this CreateVolumeDetails. The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See `Block Volume Performance Levels`__ for more information. Allowed values: * `0`: Represents Lower Cost option. * `10`: Represents Balanced option. * `20`: Represents Higher Performance option. * `30`-`120`: Represents the Ultra High Performance option. For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels :return: The vpus_per_gb of this CreateVolumeDetails. :rtype: int �r! r0 r, r, r- r V s zCreateVolumeDetails.vpus_per_gbc C s || _ dS )aX Sets the vpus_per_gb of this CreateVolumeDetails. The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See `Block Volume Performance Levels`__ for more information. Allowed values: * `0`: Represents Lower Cost option. * `10`: Represents Balanced option. * `20`: Represents Higher Performance option. * `30`-`120`: Represents the Ultra High Performance option. For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels :param vpus_per_gb: The vpus_per_gb of this CreateVolumeDetails. :type: int Nr7 )r* r r, r, r- r r s c C s | j S )z� Gets the cluster_placement_group_id of this CreateVolumeDetails. The clusterPlacementGroup Id of the volume for volume placement. :return: The cluster_placement_group_id of this CreateVolumeDetails. :rtype: str �r"