ruạṛ
a ���f7E � @ 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 ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �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 d0d/� �Zed1d2� �Zej d3d2� �Zd4d5� Zd6d7� Zd8d9� Zd:S );�VolumeGroupaO Specifies a volume group which is a collection of volumes. For more information, see `Volume Groups`__. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm �PROVISIONING� AVAILABLE�TERMINATING� TERMINATED�FAULTY�UPDATE_PENDINGc K s� dddddddddddddd d �| _ ddd dddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a@ Initializes a new VolumeGroup 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 VolumeGroup. :type availability_domain: str :param compartment_id: The value to assign to the compartment_id property of this VolumeGroup. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this VolumeGroup. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this VolumeGroup. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this VolumeGroup. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this VolumeGroup. :type id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this VolumeGroup. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", "UPDATE_PENDING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param size_in_mbs: The value to assign to the size_in_mbs property of this VolumeGroup. :type size_in_mbs: int :param size_in_gbs: The value to assign to the size_in_gbs property of this VolumeGroup. :type size_in_gbs: int :param source_details: The value to assign to the source_details property of this VolumeGroup. :type source_details: oci.core.models.VolumeGroupSourceDetails :param time_created: The value to assign to the time_created property of this VolumeGroup. :type time_created: datetime :param volume_ids: The value to assign to the volume_ids property of this VolumeGroup. :type volume_ids: list[str] :param is_hydrated: The value to assign to the is_hydrated property of this VolumeGroup. :type is_hydrated: bool :param volume_group_replicas: The value to assign to the volume_group_replicas property of this VolumeGroup. :type volume_group_replicas: list[oci.core.models.VolumeGroupReplicaInfo] �strzdict(str, dict(str, object))zdict(str, str)�intZVolumeGroupSourceDetailsZdatetimez list[str]�boolzlist[VolumeGroupReplicaInfo])�availability_domain�compartment_id�defined_tags�display_name� freeform_tags�id�lifecycle_state�size_in_mbs�size_in_gbs�source_details�time_created� volume_ids�is_hydrated�volume_group_replicasZavailabilityDomainZ compartmentIdZdefinedTagsZdisplayNameZfreeformTagsr ZlifecycleStateZ sizeInMBsZ sizeInGBsZ sourceDetailsZtimeCreatedZ volumeIdsZ isHydratedZvolumeGroupReplicasN)Z swagger_typesZ attribute_map�_availability_domain�_compartment_id� _defined_tags� _display_name�_freeform_tags�_id�_lifecycle_state�_size_in_mbs�_size_in_gbs�_source_details� _time_created�_volume_ids�_is_hydrated�_volume_group_replicas)�self�kwargs� r. �@/usr/lib/python3.9/site-packages/oci/core/models/volume_group.py�__init__0 sX A��zVolumeGroup.__init__c C s | j S )z� **[Required]** Gets the availability_domain of this VolumeGroup. The availability domain of the volume group. :return: The availability_domain of this VolumeGroup. :rtype: str �r �r, r. r. r/ r � s zVolumeGroup.availability_domainc C s || _ dS )z� Sets the availability_domain of this VolumeGroup. The availability domain of the volume group. :param availability_domain: The availability_domain of this VolumeGroup. :type: str Nr1 )r, r r. r. r/ r � s c C s | j S )z� **[Required]** Gets the compartment_id of this VolumeGroup. The OCID of the compartment that contains the volume group. :return: The compartment_id of this VolumeGroup. :rtype: str �r r2 r. r. r/ r � s zVolumeGroup.compartment_idc C s || _ dS )z� Sets the compartment_id of this VolumeGroup. The OCID of the compartment that contains the volume group. :param compartment_id: The compartment_id of this VolumeGroup. :type: str Nr3 )r, r r. r. r/ r � s c C s | j S )a� Gets the defined_tags of this VolumeGroup. 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 VolumeGroup. :rtype: dict(str, dict(str, object)) �r r2 r. r. r/ r � s zVolumeGroup.defined_tagsc C s || _ dS )a� Sets the defined_tags of this VolumeGroup. 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 VolumeGroup. :type: dict(str, dict(str, object)) Nr4 )r, r r. r. r/ r � s c C s | j S )a **[Required]** Gets the display_name of this VolumeGroup. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this VolumeGroup. :rtype: str �r! r2 r. r. r/ r � s zVolumeGroup.display_namec C s || _ dS )a Sets the display_name of this VolumeGroup. 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 VolumeGroup. :type: str Nr5 )r, r r. r. r/ r s c C s | j S )a� Gets the freeform_tags of this VolumeGroup. 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 VolumeGroup. :rtype: dict(str, str) �r"