ruạṛ
a N��f�D � @ 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)�int�VolumeGroupSourceDetails�datetimez 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_replicas�availabilityDomain� compartmentId�definedTags�displayName�freeformTagsr �lifecycleState� sizeInMBs� sizeInGBs� sourceDetails�timeCreated� volumeIds� isHydrated�volumeGroupReplicasN)� swagger_types� 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? ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/volume_group.py�__init__. 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 NrB )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 �r0 rC 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 NrD )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)) �r1 rC 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)) NrE )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 �r2 rC 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 NrF )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) �r3 rC r? r? r@ r s zVolumeGroup.freeform_tagsc C s || _ dS )a� Sets 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 :param freeform_tags: The freeform_tags of this VolumeGroup. :type: dict(str, str) NrG )r= r r? r? r@ r s c C s | j S )z� **[Required]** Gets the id of this VolumeGroup. The OCID for the volume group. :return: The id of this VolumeGroup. :rtype: str �r4 rC r? r? r@ r - s zVolumeGroup.idc C s || _ dS )z� Sets the id of this VolumeGroup. The OCID for the volume group. :param id: The id of this VolumeGroup. :type: str NrH )r= r r? r? r@ r 9 s c C s | j S )a� **[Required]** Gets the lifecycle_state of this VolumeGroup. The current state of a volume group. 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'. :return: The lifecycle_state of this VolumeGroup. :rtype: str )r5 rC r? r? r@ r E s zVolumeGroup.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this VolumeGroup. The current state of a volume group. :param lifecycle_state: The lifecycle_state of this VolumeGroup. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r5 )r= r �allowed_valuesr? r? r@ r T s c C s | j S )z� **[Required]** Gets the size_in_mbs of this VolumeGroup. The aggregate size of the volume group in MBs. :return: The size_in_mbs of this VolumeGroup. :rtype: int �r6 rC r? r? r@ r c s zVolumeGroup.size_in_mbsc C s || _ dS )z� Sets the size_in_mbs of this VolumeGroup. The aggregate size of the volume group in MBs. :param size_in_mbs: The size_in_mbs of this VolumeGroup. :type: int NrK )r= r r? r? r@ r o s c C s | j S )z� Gets the size_in_gbs of this VolumeGroup. The aggregate size of the volume group in GBs. :return: The size_in_gbs of this VolumeGroup. :rtype: int �r7 rC r? r? r@ r { s zVolumeGroup.size_in_gbsc C s || _ dS )z� Sets the size_in_gbs of this VolumeGroup. The aggregate size of the volume group in GBs. :param size_in_gbs: The size_in_gbs of this VolumeGroup. :type: int NrL )r= r r? r? r@ r � s c C s | j S )z� Gets the source_details of this VolumeGroup. :return: The source_details of this VolumeGroup. :rtype: oci.core.models.VolumeGroupSourceDetails �r8 rC r? r? r@ r � s zVolumeGroup.source_detailsc C s || _ dS )z� Sets the source_details of this VolumeGroup. :param source_details: The source_details of this VolumeGroup. :type: oci.core.models.VolumeGroupSourceDetails NrM )r= r r? r? r@ r � s c C s | j S )a$ **[Required]** Gets the time_created of this VolumeGroup. The date and time the volume group was created. Format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this VolumeGroup. :rtype: datetime �r9 rC r? r? r@ r � s zVolumeGroup.time_createdc C s || _ dS )a Sets the time_created of this VolumeGroup. The date and time the volume group was created. Format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this VolumeGroup. :type: datetime NrN )r= r r? r? r@ r � s c C s | j S )z� **[Required]** Gets the volume_ids of this VolumeGroup. OCIDs for the volumes in this volume group. :return: The volume_ids of this VolumeGroup. :rtype: list[str] �r: rC r? r? r@ r � s zVolumeGroup.volume_idsc C s || _ dS )z� Sets the volume_ids of this VolumeGroup. OCIDs for the volumes in this volume group. :param volume_ids: The volume_ids of this VolumeGroup. :type: list[str] NrO )r= r r? r? r@ r � s c C s | j S )a Gets the is_hydrated of this VolumeGroup. Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup. :return: The is_hydrated of this VolumeGroup. :rtype: bool �r; rC r? r? r@ r � s zVolumeGroup.is_hydratedc C s || _ dS )a Sets the is_hydrated of this VolumeGroup. Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup. :param is_hydrated: The is_hydrated of this VolumeGroup. :type: bool NrP )r= r r? r? r@ r � s c C s | j S )a Gets the volume_group_replicas of this VolumeGroup. The list of volume group replicas of this volume group. :return: The volume_group_replicas of this VolumeGroup. :rtype: list[oci.core.models.VolumeGroupReplicaInfo] �r<