ruạṛ
a N��fsV � @ 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.� �Zed0d1� �Zej d2d1� �Zed3d4� �Zej d5d4� �Zd6d7� Zd8d9� Zd:d;� Zd<S )=�UpdateCloudVmClusterDetailsze Details for updating the cloud VM cluster. Applies to Exadata Cloud Service instances only. �LICENSE_INCLUDED�BRING_YOUR_OWN_LICENSEc 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 UpdateCloudVmClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this UpdateCloudVmClusterDetails. :type display_name: str :param cpu_core_count: The value to assign to the cpu_core_count property of this UpdateCloudVmClusterDetails. :type cpu_core_count: int :param ocpu_count: The value to assign to the ocpu_count property of this UpdateCloudVmClusterDetails. :type ocpu_count: float :param memory_size_in_gbs: The value to assign to the memory_size_in_gbs property of this UpdateCloudVmClusterDetails. :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 UpdateCloudVmClusterDetails. :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 UpdateCloudVmClusterDetails. :type data_storage_size_in_tbs: float :param license_model: The value to assign to the license_model property of this UpdateCloudVmClusterDetails. 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 UpdateCloudVmClusterDetails. :type ssh_public_keys: list[str] :param update_details: The value to assign to the update_details property of this UpdateCloudVmClusterDetails. :type update_details: oci.database.models.UpdateDetails :param nsg_ids: The value to assign to the nsg_ids property of this UpdateCloudVmClusterDetails. :type nsg_ids: list[str] :param backup_network_nsg_ids: The value to assign to the backup_network_nsg_ids property of this UpdateCloudVmClusterDetails. :type backup_network_nsg_ids: list[str] :param compute_nodes: The value to assign to the compute_nodes property of this UpdateCloudVmClusterDetails. :type compute_nodes: list[str] :param storage_size_in_gbs: The value to assign to the storage_size_in_gbs property of this UpdateCloudVmClusterDetails. :type storage_size_in_gbs: int :param freeform_tags: The value to assign to the freeform_tags property of this UpdateCloudVmClusterDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateCloudVmClusterDetails. :type defined_tags: dict(str, dict(str, object)) :param data_collection_options: The value to assign to the data_collection_options property of this UpdateCloudVmClusterDetails. :type data_collection_options: oci.database.models.DataCollectionOptions �str�int�floatz list[str]� UpdateDetailszdict(str, str)zdict(str, dict(str, object))�DataCollectionOptions)�display_name�cpu_core_count� ocpu_count�memory_size_in_gbs�db_node_storage_size_in_gbs�data_storage_size_in_tbs� license_model�ssh_public_keys�update_details�nsg_ids�backup_network_nsg_ids� compute_nodes�storage_size_in_gbs� freeform_tags�defined_tags�data_collection_options�displayName�cpuCoreCount� ocpuCount�memorySizeInGBs�dbNodeStorageSizeInGBs�dataStorageSizeInTBs�licenseModel� sshPublicKeys� updateDetails�nsgIds�backupNetworkNsgIds�computeNodes�storageSizeInGBs�freeformTags�definedTags�dataCollectionOptionsN)� swagger_types� attribute_map� _display_name�_cpu_core_count�_ocpu_count�_memory_size_in_gbs�_db_node_storage_size_in_gbs�_data_storage_size_in_tbs�_license_model�_ssh_public_keys�_update_details�_nsg_ids�_backup_network_nsg_ids�_compute_nodes�_storage_size_in_gbs�_freeform_tags� _defined_tags�_data_collection_options)�self�kwargs� rB ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/update_cloud_vm_cluster_details.py�__init__ sd H��z$UpdateCloudVmClusterDetails.__init__c C s | j S )a Gets the display_name of this UpdateCloudVmClusterDetails. The user-friendly name for the cloud VM cluster. The name does not need to be unique. :return: The display_name of this UpdateCloudVmClusterDetails. :rtype: str �r0 �r@ rB rB rC r � s z(UpdateCloudVmClusterDetails.display_namec C s || _ dS )a Sets the display_name of this UpdateCloudVmClusterDetails. The user-friendly name for the cloud VM cluster. The name does not need to be unique. :param display_name: The display_name of this UpdateCloudVmClusterDetails. :type: str NrE )r@ r rB rB rC r � s c C s | j S )z� Gets the cpu_core_count of this UpdateCloudVmClusterDetails. The number of CPU cores to enable for the cloud VM cluster. :return: The cpu_core_count of this UpdateCloudVmClusterDetails. :rtype: int �r1 rF rB rB rC r � s z*UpdateCloudVmClusterDetails.cpu_core_countc C s || _ dS )z� Sets the cpu_core_count of this UpdateCloudVmClusterDetails. The number of CPU cores to enable for the cloud VM cluster. :param cpu_core_count: The cpu_core_count of this UpdateCloudVmClusterDetails. :type: int NrG )r@ r rB rB rC r � s c C s | j S )a# Gets the ocpu_count of this UpdateCloudVmClusterDetails. The number of OCPU cores to enable for a cloud VM cluster. Only 1 decimal place is allowed for the fractional part. :return: The ocpu_count of this UpdateCloudVmClusterDetails. :rtype: float �r2 rF rB rB rC r � s z&UpdateCloudVmClusterDetails.ocpu_countc C s || _ dS )a, Sets the ocpu_count of this UpdateCloudVmClusterDetails. The number of OCPU cores to enable for a cloud VM cluster. Only 1 decimal place is allowed for the fractional part. :param ocpu_count: The ocpu_count of this UpdateCloudVmClusterDetails. :type: float NrH )r@ r rB rB rC r � s c C s | j S )z� Gets the memory_size_in_gbs of this UpdateCloudVmClusterDetails. The memory to be allocated in GBs. :return: The memory_size_in_gbs of this UpdateCloudVmClusterDetails. :rtype: int �r3 rF rB rB rC r � s z.UpdateCloudVmClusterDetails.memory_size_in_gbsc C s || _ dS )z� Sets the memory_size_in_gbs of this UpdateCloudVmClusterDetails. The memory to be allocated in GBs. :param memory_size_in_gbs: The memory_size_in_gbs of this UpdateCloudVmClusterDetails. :type: int NrI )r@ r rB rB rC r � s c C s | j S )z� Gets the db_node_storage_size_in_gbs of this UpdateCloudVmClusterDetails. The local node storage to be allocated in GBs. :return: The db_node_storage_size_in_gbs of this UpdateCloudVmClusterDetails. :rtype: int �r4 rF rB rB rC r � s z7UpdateCloudVmClusterDetails.db_node_storage_size_in_gbsc C s || _ dS )a Sets the db_node_storage_size_in_gbs of this UpdateCloudVmClusterDetails. 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 UpdateCloudVmClusterDetails. :type: int NrJ )r@ r rB rB rC r s c C s | j S )z� Gets the data_storage_size_in_tbs of this UpdateCloudVmClusterDetails. The data disk group size to be allocated in TBs. :return: The data_storage_size_in_tbs of this UpdateCloudVmClusterDetails. :rtype: float �r5 rF rB rB rC r s z4UpdateCloudVmClusterDetails.data_storage_size_in_tbsc C s || _ dS )a Sets the data_storage_size_in_tbs of this UpdateCloudVmClusterDetails. The data disk group size to be allocated in TBs. :param data_storage_size_in_tbs: The data_storage_size_in_tbs of this UpdateCloudVmClusterDetails. :type: float NrK )r@ r rB rB rC r s c C s | j S )a� Gets the license_model of this UpdateCloudVmClusterDetails. The Oracle license model that applies to the cloud VM cluster. The default is BRING_YOUR_OWN_LICENSE. Applies to Exadata Cloud Service instances only. Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" :return: The license_model of this UpdateCloudVmClusterDetails. :rtype: str )r6 rF rB rB rC r & s z)UpdateCloudVmClusterDetails.license_modelc C s* ddg}t ||�s td�|���|| _dS )aV Sets the license_model of this UpdateCloudVmClusterDetails. The Oracle license model that applies to the cloud VM cluster. The default is BRING_YOUR_OWN_LICENSE. Applies to Exadata Cloud Service instances only. :param license_model: The license_model of this UpdateCloudVmClusterDetails. :type: str r r z=Invalid value for `license_model`, must be None or one of {0}N)r � ValueError�formatr6 )r@ r �allowed_valuesrB rB rC r 4 s ��c C s | j S )a Gets the ssh_public_keys of this UpdateCloudVmClusterDetails. The public key portion of one or more key pairs used for SSH access to the cloud VM cluster. :return: The ssh_public_keys of this UpdateCloudVmClusterDetails. :rtype: list[str] �r7 rF rB rB rC r F s z+UpdateCloudVmClusterDetails.ssh_public_keysc C s || _ dS )a( Sets the ssh_public_keys of this UpdateCloudVmClusterDetails. The public key portion of one or more key pairs used for SSH access to the cloud VM cluster. :param ssh_public_keys: The ssh_public_keys of this UpdateCloudVmClusterDetails. :type: list[str] NrO )r@ r rB rB rC r R s c C s | j S )z� Gets the update_details of this UpdateCloudVmClusterDetails. :return: The update_details of this UpdateCloudVmClusterDetails. :rtype: oci.database.models.UpdateDetails �r8 rF rB rB rC r ^ s z*UpdateCloudVmClusterDetails.update_detailsc C s || _ dS )z� Sets the update_details of this UpdateCloudVmClusterDetails. :param update_details: The update_details of this UpdateCloudVmClusterDetails. :type: oci.database.models.UpdateDetails NrP )r@ r rB rB rC r h s c C s | j S )a� Gets the nsg_ids of this UpdateCloudVmClusterDetails. The list of `OCIDs`__ for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see `Security Rules`__. **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm :return: The nsg_ids of this UpdateCloudVmClusterDetails. :rtype: list[str] �r9 rF rB rB rC r r s z#UpdateCloudVmClusterDetails.nsg_idsc C s || _ dS )a� Sets the nsg_ids of this UpdateCloudVmClusterDetails. The list of `OCIDs`__ for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see `Security Rules`__. **NsgIds restrictions:** - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm :param nsg_ids: The nsg_ids of this UpdateCloudVmClusterDetails. :type: list[str] NrQ )r@ r rB rB rC r � s c C s | j S )a� Gets the backup_network_nsg_ids of this UpdateCloudVmClusterDetails. A list of the `OCIDs`__ of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see `Security Rules`__. Applicable only to Exadata systems. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm :return: The backup_network_nsg_ids of this UpdateCloudVmClusterDetails. :rtype: list[str] �r: rF rB rB rC r � s z2UpdateCloudVmClusterDetails.backup_network_nsg_idsc C s || _ dS )a� Sets the backup_network_nsg_ids of this UpdateCloudVmClusterDetails. A list of the `OCIDs`__ of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see `Security Rules`__. Applicable only to Exadata systems. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm :param backup_network_nsg_ids: The backup_network_nsg_ids of this UpdateCloudVmClusterDetails. :type: list[str] NrR )r@ r rB rB rC r � s c C s | j S )z� Gets the compute_nodes of this UpdateCloudVmClusterDetails. The list of compute servers to be added to the cloud VM cluster. :return: The compute_nodes of this UpdateCloudVmClusterDetails. :rtype: list[str] �r; rF rB rB rC r � s z)UpdateCloudVmClusterDetails.compute_nodesc C s || _ dS )a Sets the compute_nodes of this UpdateCloudVmClusterDetails. The list of compute servers to be added to the cloud VM cluster. :param compute_nodes: The compute_nodes of this UpdateCloudVmClusterDetails. :type: list[str] NrS )r@ r rB rB rC r � s c C s | j S )z� Gets the storage_size_in_gbs of this UpdateCloudVmClusterDetails. The disk group size to be allocated in GBs. :return: The storage_size_in_gbs of this UpdateCloudVmClusterDetails. :rtype: int �r<