ruạṛ
a ���f�G � @ 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.� �Zd0d1� Zd2d3� Zd4d5� Zd6S )7�UpdateVmClusterDetailsz� Details for updating the VM cluster. Applies to Exadata Cloud@Customer instances only. For details on updating a cloud VM cluster in an Exadata Cloud Service instance, see :func:`update_cloud_vm_cluster_details` �LICENSE_INCLUDED�BRING_YOUR_OWN_LICENSEc K s� ddddddddddddd d d�| _ dd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )af Initializes a new UpdateVmClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param cpu_core_count: The value to assign to the cpu_core_count property of this UpdateVmClusterDetails. :type cpu_core_count: int :param ocpu_count: The value to assign to the ocpu_count property of this UpdateVmClusterDetails. :type ocpu_count: float :param memory_size_in_gbs: The value to assign to the memory_size_in_gbs property of this UpdateVmClusterDetails. :type memory_size_in_gbs: int :param db_node_storage_size_in_gbs: The value to assign to the db_node_storage_size_in_gbs property of this UpdateVmClusterDetails. :type db_node_storage_size_in_gbs: int :param data_storage_size_in_tbs: The value to assign to the data_storage_size_in_tbs property of this UpdateVmClusterDetails. :type data_storage_size_in_tbs: float :param data_storage_size_in_gbs: The value to assign to the data_storage_size_in_gbs property of this UpdateVmClusterDetails. :type data_storage_size_in_gbs: float :param license_model: The value to assign to the license_model property of this UpdateVmClusterDetails. Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" :type license_model: str :param ssh_public_keys: The value to assign to the ssh_public_keys property of this UpdateVmClusterDetails. :type ssh_public_keys: list[str] :param version: The value to assign to the version property of this UpdateVmClusterDetails. :type version: oci.database.models.PatchDetails :param update_details: The value to assign to the update_details property of this UpdateVmClusterDetails. :type update_details: oci.database.models.VmClusterUpdateDetails :param freeform_tags: The value to assign to the freeform_tags property of this UpdateVmClusterDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateVmClusterDetails. :type defined_tags: dict(str, dict(str, object)) :param data_collection_options: The value to assign to the data_collection_options property of this UpdateVmClusterDetails. :type data_collection_options: oci.database.models.DataCollectionOptions :param file_system_configuration_details: The value to assign to the file_system_configuration_details property of this UpdateVmClusterDetails. :type file_system_configuration_details: list[oci.database.models.FileSystemConfigurationDetail] �int�float�strz list[str]ZPatchDetailsZVmClusterUpdateDetailszdict(str, str)zdict(str, dict(str, object))ZDataCollectionOptionsz#list[FileSystemConfigurationDetail])�cpu_core_count� ocpu_count�memory_size_in_gbs�db_node_storage_size_in_gbs�data_storage_size_in_tbs�data_storage_size_in_gbs� license_model�ssh_public_keys�version�update_details� freeform_tags�defined_tags�data_collection_options�!file_system_configuration_detailsZcpuCoreCountZ ocpuCountZmemorySizeInGBsZdbNodeStorageSizeInGBsZdataStorageSizeInTBsZdataStorageSizeInGBsZlicenseModelZ sshPublicKeysr Z updateDetailsZfreeformTagsZdefinedTagsZdataCollectionOptionsZfileSystemConfigurationDetailsN)Z swagger_typesZ attribute_map�_cpu_core_count�_ocpu_count�_memory_size_in_gbs�_db_node_storage_size_in_gbs�_data_storage_size_in_tbs�_data_storage_size_in_gbs�_license_model�_ssh_public_keys�_version�_update_details�_freeform_tags� _defined_tags�_data_collection_options�"_file_system_configuration_details)�self�kwargs� r* �Q/usr/lib/python3.9/site-packages/oci/database/models/update_vm_cluster_details.py�__init__ sX @��zUpdateVmClusterDetails.__init__c C s | j S )z� Gets the cpu_core_count of this UpdateVmClusterDetails. The number of CPU cores to enable for the VM cluster. :return: The cpu_core_count of this UpdateVmClusterDetails. :rtype: int �r �r( r* r* r+ r � s z%UpdateVmClusterDetails.cpu_core_countc C s || _ dS )z� Sets the cpu_core_count of this UpdateVmClusterDetails. The number of CPU cores to enable for the VM cluster. :param cpu_core_count: The cpu_core_count of this UpdateVmClusterDetails. :type: int Nr- )r( r r* r* r+ r � s c C s | j S )a Gets the ocpu_count of this UpdateVmClusterDetails. The number of OCPU cores to enable for the VM cluster. Only 1 decimal place is allowed for the fractional part. :return: The ocpu_count of this UpdateVmClusterDetails. :rtype: float �r r. r* r* r+ r � s z!UpdateVmClusterDetails.ocpu_countc C s || _ dS )a Sets the ocpu_count of this UpdateVmClusterDetails. The number of OCPU cores to enable for the VM cluster. Only 1 decimal place is allowed for the fractional part. :param ocpu_count: The ocpu_count of this UpdateVmClusterDetails. :type: float Nr/ )r( r r* r* r+ r � s c C s | j S )z� Gets the memory_size_in_gbs of this UpdateVmClusterDetails. The memory to be allocated in GBs. :return: The memory_size_in_gbs of this UpdateVmClusterDetails. :rtype: int �r r. r* r* r+ r � s z)UpdateVmClusterDetails.memory_size_in_gbsc C s || _ dS )z� Sets the memory_size_in_gbs of this UpdateVmClusterDetails. The memory to be allocated in GBs. :param memory_size_in_gbs: The memory_size_in_gbs of this UpdateVmClusterDetails. :type: int Nr0 )r( r r* r* r+ r � s c C s | j S )z� Gets the db_node_storage_size_in_gbs of this UpdateVmClusterDetails. The local node storage to be allocated in GBs. :return: The db_node_storage_size_in_gbs of this UpdateVmClusterDetails. :rtype: int �r r. r* r* r+ r � s z2UpdateVmClusterDetails.db_node_storage_size_in_gbsc C s || _ dS )a Sets the db_node_storage_size_in_gbs of this UpdateVmClusterDetails. The local node storage to be allocated in GBs. :param db_node_storage_size_in_gbs: The db_node_storage_size_in_gbs of this UpdateVmClusterDetails. :type: int Nr1 )r( r r* r* r+ r � s c C s | j S )z� Gets the data_storage_size_in_tbs of this UpdateVmClusterDetails. The data disk group size to be allocated in TBs. :return: The data_storage_size_in_tbs of this UpdateVmClusterDetails. :rtype: float �r r. r* r* r+ r � s z/UpdateVmClusterDetails.data_storage_size_in_tbsc C s || _ dS )a Sets the data_storage_size_in_tbs of this UpdateVmClusterDetails. The data disk group size to be allocated in TBs. :param data_storage_size_in_tbs: The data_storage_size_in_tbs of this UpdateVmClusterDetails. :type: float Nr2 )r( r r* r* r+ r � s c C s | j S )z� Gets the data_storage_size_in_gbs of this UpdateVmClusterDetails. The data disk group size to be allocated in GBs. :return: The data_storage_size_in_gbs of this UpdateVmClusterDetails. :rtype: float �r r. r* r* r+ r s z/UpdateVmClusterDetails.data_storage_size_in_gbsc C s || _ dS )a Sets the data_storage_size_in_gbs of this UpdateVmClusterDetails. The data disk group size to be allocated in GBs. :param data_storage_size_in_gbs: The data_storage_size_in_gbs of this UpdateVmClusterDetails. :type: float Nr3 )r( r r* r* r+ r s c C s | j S )ae Gets the license_model of this UpdateVmClusterDetails. The Oracle license model that applies to the VM cluster. The default is BRING_YOUR_OWN_LICENSE. Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" :return: The license_model of this UpdateVmClusterDetails. :rtype: str )r r. r* r* r+ r s z$UpdateVmClusterDetails.license_modelc C s* ddg}t ||�s td|� ���|| _dS )a Sets the license_model of this UpdateVmClusterDetails. The Oracle license model that applies to the VM cluster. The default is BRING_YOUR_OWN_LICENSE. :param license_model: The license_model of this UpdateVmClusterDetails. :type: str r r z:Invalid value for `license_model`, must be None or one of N)r � ValueErrorr )r( r Zallowed_valuesr* r* r+ r ) s �c C s | j S )a Gets the ssh_public_keys of this UpdateVmClusterDetails. The public key portion of one or more key pairs used for SSH access to the VM cluster. :return: The ssh_public_keys of this UpdateVmClusterDetails. :rtype: list[str] �r! r. r* r* r+ r : s z&UpdateVmClusterDetails.ssh_public_keysc C s || _ dS )a Sets the ssh_public_keys of this UpdateVmClusterDetails. The public key portion of one or more key pairs used for SSH access to the VM cluster. :param ssh_public_keys: The ssh_public_keys of this UpdateVmClusterDetails. :type: list[str] Nr5 )r( r r* r* r+ r F s c C s | j S )z� Gets the version of this UpdateVmClusterDetails. :return: The version of this UpdateVmClusterDetails. :rtype: oci.database.models.PatchDetails �r"