ruạṛ
a N��f| � @ 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 dZ d Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �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� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Zejd<d;� �Zed=d>� �Z e jd?d>� �Z ed@dA� �Z!e!jdBdA� �Z!edCdD� �Z"e"jdEdD� �Z"edFdG� �Z#e#jdHdG� �Z#edIdJ� �Z$e$jdKdJ� �Z$edLdM� �Z%e%jdNdM� �Z%edOdP� �Z&e&jdQdP� �Z&edRdS� �Z'e'jdTdS� �Z'edUdV� �Z(e(jdWdV� �Z(edXdY� �Z)e)jdZdY� �Z)ed[d\� �Z*e*jd]d\� �Z*d^d_� Z+d`da� Z,dbdc� Z-ddS )e� VmClusterz_ Details of the VM cluster resource. Applies to Exadata Cloud@Customer instances only. �PROVISIONING� AVAILABLE�UPDATING�TERMINATING� TERMINATED�FAILED�MAINTENANCE_IN_PROGRESS�LICENSE_INCLUDED�BRING_YOUR_OWN_LICENSEc K s" ddddddddddddddddddddddddddd d �| _ ddd ddddddddddddddddddd d!d"d#d$d%d �| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _ d&| _ d&| _d&| _d&| _ d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&S )'ab Initializes a new VmCluster object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this VmCluster. :type id: str :param compartment_id: The value to assign to the compartment_id property of this VmCluster. :type compartment_id: str :param last_patch_history_entry_id: The value to assign to the last_patch_history_entry_id property of this VmCluster. :type last_patch_history_entry_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this VmCluster. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param display_name: The value to assign to the display_name property of this VmCluster. :type display_name: str :param time_created: The value to assign to the time_created property of this VmCluster. :type time_created: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this VmCluster. :type lifecycle_details: str :param time_zone: The value to assign to the time_zone property of this VmCluster. :type time_zone: str :param is_local_backup_enabled: The value to assign to the is_local_backup_enabled property of this VmCluster. :type is_local_backup_enabled: bool :param exadata_infrastructure_id: The value to assign to the exadata_infrastructure_id property of this VmCluster. :type exadata_infrastructure_id: str :param is_sparse_diskgroup_enabled: The value to assign to the is_sparse_diskgroup_enabled property of this VmCluster. :type is_sparse_diskgroup_enabled: bool :param vm_cluster_network_id: The value to assign to the vm_cluster_network_id property of this VmCluster. :type vm_cluster_network_id: str :param cpus_enabled: The value to assign to the cpus_enabled property of this VmCluster. :type cpus_enabled: int :param ocpus_enabled: The value to assign to the ocpus_enabled property of this VmCluster. :type ocpus_enabled: float :param memory_size_in_gbs: The value to assign to the memory_size_in_gbs property of this VmCluster. :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 VmCluster. :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 VmCluster. :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 VmCluster. :type data_storage_size_in_gbs: float :param shape: The value to assign to the shape property of this VmCluster. :type shape: str :param gi_version: The value to assign to the gi_version property of this VmCluster. :type gi_version: str :param system_version: The value to assign to the system_version property of this VmCluster. :type system_version: str :param ssh_public_keys: The value to assign to the ssh_public_keys property of this VmCluster. :type ssh_public_keys: list[str] :param license_model: The value to assign to the license_model property of this VmCluster. Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type license_model: str :param db_servers: The value to assign to the db_servers property of this VmCluster. :type db_servers: list[str] :param freeform_tags: The value to assign to the freeform_tags property of this VmCluster. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this VmCluster. :type defined_tags: dict(str, dict(str, object)) :param data_collection_options: The value to assign to the data_collection_options property of this VmCluster. :type data_collection_options: oci.database.models.DataCollectionOptions �str�datetime�bool�int�floatz list[str]zdict(str, str)zdict(str, dict(str, object))�DataCollectionOptions)�id�compartment_id�last_patch_history_entry_id�lifecycle_state�display_name�time_created�lifecycle_details� time_zone�is_local_backup_enabled�exadata_infrastructure_id�is_sparse_diskgroup_enabled�vm_cluster_network_id�cpus_enabled� ocpus_enabled�memory_size_in_gbs�db_node_storage_size_in_gbs�data_storage_size_in_tbs�data_storage_size_in_gbs�shape� gi_version�system_version�ssh_public_keys� license_model� db_servers� freeform_tags�defined_tags�data_collection_optionsr � compartmentId�lastPatchHistoryEntryId�lifecycleState�displayName�timeCreated�lifecycleDetails�timeZone�isLocalBackupEnabled�exadataInfrastructureId�isSparseDiskgroupEnabled�vmClusterNetworkId�cpusEnabled�ocpusEnabled�memorySizeInGBs�dbNodeStorageSizeInGBs�dataStorageSizeInTBs�dataStorageSizeInGBsr( � giVersion� systemVersion� sshPublicKeys�licenseModel� dbServers�freeformTags�definedTags�dataCollectionOptionsN)� swagger_types� attribute_map�_id�_compartment_id�_last_patch_history_entry_id�_lifecycle_state� _display_name� _time_created�_lifecycle_details� _time_zone�_is_local_backup_enabled�_exadata_infrastructure_id�_is_sparse_diskgroup_enabled�_vm_cluster_network_id� _cpus_enabled�_ocpus_enabled�_memory_size_in_gbs�_db_node_storage_size_in_gbs�_data_storage_size_in_tbs�_data_storage_size_in_gbs�_shape�_gi_version�_system_version�_ssh_public_keys�_license_model�_db_servers�_freeform_tags� _defined_tags�_data_collection_options)�self�kwargs� ri ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/vm_cluster.py�__init__4 s� w��zVmCluster.__init__c C s | j S )z� Gets the id of this VmCluster. The `OCID`__ of the VM cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this VmCluster. :rtype: str �rL �rg ri ri rj r s zVmCluster.idc C s || _ dS )z� Sets the id of this VmCluster. The `OCID`__ of the VM cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this VmCluster. :type: str Nrl )rg r ri ri rj r s c C s | j S )a Gets the compartment_id of this VmCluster. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this VmCluster. :rtype: str �rM rm ri ri rj r s zVmCluster.compartment_idc C s || _ dS )a Sets the compartment_id of this VmCluster. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this VmCluster. :type: str Nrn )rg r ri ri rj r , s c C s | j S )aa Gets the last_patch_history_entry_id of this VmCluster. The `OCID`__ of the last patch history. This value is updated as soon as a patch operation starts. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The last_patch_history_entry_id of this VmCluster. :rtype: str �rN rm ri ri rj r : s z%VmCluster.last_patch_history_entry_idc C s || _ dS )a{ Sets the last_patch_history_entry_id of this VmCluster. The `OCID`__ of the last patch history. This value is updated as soon as a patch operation starts. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param last_patch_history_entry_id: The last_patch_history_entry_id of this VmCluster. :type: str Nro )rg r ri ri rj r H s c C s | j S )a� Gets the lifecycle_state of this VmCluster. The current state of the VM cluster. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this VmCluster. :rtype: str )rO rm ri ri rj r V s zVmCluster.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this VmCluster. The current state of the VM cluster. :param lifecycle_state: The lifecycle_state of this VmCluster. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r rO )rg r �allowed_valuesri ri rj r e s c C s | j S )z� Gets the display_name of this VmCluster. The user-friendly name for the Exadata Cloud@Customer VM cluster. The name does not need to be unique. :return: The display_name of this VmCluster. :rtype: str �rP rm ri ri rj r t s zVmCluster.display_namec C s || _ dS )z� Sets the display_name of this VmCluster. The user-friendly name for the Exadata Cloud@Customer VM cluster. The name does not need to be unique. :param display_name: The display_name of this VmCluster. :type: str Nrr )rg r ri ri rj r � s c C s | j S )z� Gets the time_created of this VmCluster. The date and time that the VM cluster was created. :return: The time_created of this VmCluster. :rtype: datetime �rQ rm ri ri rj r � s zVmCluster.time_createdc C s || _ dS )z� Sets the time_created of this VmCluster. The date and time that the VM cluster was created. :param time_created: The time_created of this VmCluster. :type: datetime Nrs )rg r ri ri rj r � s c C s | j S )z� Gets the lifecycle_details of this VmCluster. Additional information about the current lifecycle state. :return: The lifecycle_details of this VmCluster. :rtype: str �rR rm ri ri rj r � s zVmCluster.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this VmCluster. Additional information about the current lifecycle state. :param lifecycle_details: The lifecycle_details of this VmCluster. :type: str Nrt )rg r ri ri rj r � s c C s | j S )a@ Gets the time_zone of this VmCluster. The time zone of the Exadata infrastructure. For details, see `Exadata Infrastructure Time Zones`__. __ https://docs.cloud.oracle.com/Content/Database/References/timezones.htm :return: The time_zone of this VmCluster. :rtype: str �rS rm ri ri rj r � s zVmCluster.time_zonec C s || _ dS )aH Sets the time_zone of this VmCluster. The time zone of the Exadata infrastructure. For details, see `Exadata Infrastructure Time Zones`__. __ https://docs.cloud.oracle.com/Content/Database/References/timezones.htm :param time_zone: The time_zone of this VmCluster. :type: str Nru )rg r ri ri rj r � s c C s | j S )aO Gets the is_local_backup_enabled of this VmCluster. If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. :return: The is_local_backup_enabled of this VmCluster. :rtype: bool �rT rm ri ri rj r � s z!VmCluster.is_local_backup_enabledc C s || _ dS )ae Sets the is_local_backup_enabled of this VmCluster. If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. :param is_local_backup_enabled: The is_local_backup_enabled of this VmCluster. :type: bool Nrv )rg r ri ri rj r � s c C s | j S )a& Gets the exadata_infrastructure_id of this VmCluster. The `OCID`__ of the Exadata infrastructure. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The exadata_infrastructure_id of this VmCluster. :rtype: str �rU rm ri ri rj r � s z#VmCluster.exadata_infrastructure_idc C s || _ dS )a> Sets the exadata_infrastructure_id of this VmCluster. The `OCID`__ of the Exadata infrastructure. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param exadata_infrastructure_id: The exadata_infrastructure_id of this VmCluster. :type: str Nrw )rg r ri ri rj r � s c C s | j S )a Gets the is_sparse_diskgroup_enabled of this VmCluster. If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. :return: The is_sparse_diskgroup_enabled of this VmCluster. :rtype: bool �rV rm ri ri rj r s z%VmCluster.is_sparse_diskgroup_enabledc C s || _ dS )a/ Sets the is_sparse_diskgroup_enabled of this VmCluster. If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. :param is_sparse_diskgroup_enabled: The is_sparse_diskgroup_enabled of this VmCluster. :type: bool Nrx )rg r ri ri rj r s c C s | j S )a Gets the vm_cluster_network_id of this VmCluster. The `OCID`__ of the VM cluster network. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The vm_cluster_network_id of this VmCluster. :rtype: str �rW rm ri ri rj r! $ s zVmCluster.vm_cluster_network_idc C s || _ dS )a. Sets the vm_cluster_network_id of this VmCluster. The `OCID`__ of the VM cluster network. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param vm_cluster_network_id: The vm_cluster_network_id of this VmCluster. :type: str Nry )rg r! ri ri rj r! 2 s c C s | j S )z� Gets the cpus_enabled of this VmCluster. The number of enabled CPU cores. :return: The cpus_enabled of this VmCluster. :rtype: int �rX rm ri ri rj r"