ruạṛ
a N��fV� � @ 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�VmClusterSummaryz; Details of the Exadata Cloud@Customer VM cluster. �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 )'a& Initializes a new VmClusterSummary 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 VmClusterSummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this VmClusterSummary. :type compartment_id: str :param last_patch_history_entry_id: The value to assign to the last_patch_history_entry_id property of this VmClusterSummary. :type last_patch_history_entry_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this VmClusterSummary. 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 VmClusterSummary. :type display_name: str :param time_created: The value to assign to the time_created property of this VmClusterSummary. :type time_created: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this VmClusterSummary. :type lifecycle_details: str :param time_zone: The value to assign to the time_zone property of this VmClusterSummary. :type time_zone: str :param is_local_backup_enabled: The value to assign to the is_local_backup_enabled property of this VmClusterSummary. :type is_local_backup_enabled: bool :param exadata_infrastructure_id: The value to assign to the exadata_infrastructure_id property of this VmClusterSummary. :type exadata_infrastructure_id: str :param is_sparse_diskgroup_enabled: The value to assign to the is_sparse_diskgroup_enabled property of this VmClusterSummary. :type is_sparse_diskgroup_enabled: bool :param vm_cluster_network_id: The value to assign to the vm_cluster_network_id property of this VmClusterSummary. :type vm_cluster_network_id: str :param cpus_enabled: The value to assign to the cpus_enabled property of this VmClusterSummary. :type cpus_enabled: int :param ocpus_enabled: The value to assign to the ocpus_enabled property of this VmClusterSummary. :type ocpus_enabled: float :param memory_size_in_gbs: The value to assign to the memory_size_in_gbs property of this VmClusterSummary. :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 VmClusterSummary. :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 VmClusterSummary. :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 VmClusterSummary. :type data_storage_size_in_gbs: float :param shape: The value to assign to the shape property of this VmClusterSummary. :type shape: str :param gi_version: The value to assign to the gi_version property of this VmClusterSummary. :type gi_version: str :param system_version: The value to assign to the system_version property of this VmClusterSummary. :type system_version: str :param ssh_public_keys: The value to assign to the ssh_public_keys property of this VmClusterSummary. :type ssh_public_keys: list[str] :param license_model: The value to assign to the license_model property of this VmClusterSummary. 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 VmClusterSummary. :type db_servers: list[str] :param freeform_tags: The value to assign to the freeform_tags property of this VmClusterSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this VmClusterSummary. :type defined_tags: dict(str, dict(str, object)) :param data_collection_options: The value to assign to the data_collection_options property of this VmClusterSummary. :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_summary.py�__init__4 s� w��zVmClusterSummary.__init__c C s | j S )z� Gets the id of this VmClusterSummary. The `OCID`__ of the VM cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this VmClusterSummary. :rtype: str �rL �rg ri ri rj r s zVmClusterSummary.idc C s || _ dS )z� Sets the id of this VmClusterSummary. The `OCID`__ of the VM cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this VmClusterSummary. :type: str Nrl )rg r ri ri rj r s c C s | j S )a Gets the compartment_id of this VmClusterSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this VmClusterSummary. :rtype: str �rM rm ri ri rj r s zVmClusterSummary.compartment_idc C s || _ dS )a Sets the compartment_id of this VmClusterSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this VmClusterSummary. :type: str Nrn )rg r ri ri rj r , s c C s | j S )ao Gets the last_patch_history_entry_id of this VmClusterSummary. 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 VmClusterSummary. :rtype: str �rN rm ri ri rj r : s z,VmClusterSummary.last_patch_history_entry_idc C s || _ dS )a� Sets the last_patch_history_entry_id of this VmClusterSummary. 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 VmClusterSummary. :type: str Nro )rg r ri ri rj r H s c C s | j S )a� Gets the lifecycle_state of this VmClusterSummary. 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 VmClusterSummary. :rtype: str )rO rm ri ri rj r V s z VmClusterSummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this VmClusterSummary. The current state of the VM cluster. :param lifecycle_state: The lifecycle_state of this VmClusterSummary. :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 )a Gets the display_name of this VmClusterSummary. 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 VmClusterSummary. :rtype: str �rP rm ri ri rj r t s zVmClusterSummary.display_namec C s || _ dS )a Sets the display_name of this VmClusterSummary. 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 VmClusterSummary. :type: str Nrr )rg r ri ri rj r � s c C s | j S )z� Gets the time_created of this VmClusterSummary. The date and time that the VM cluster was created. :return: The time_created of this VmClusterSummary. :rtype: datetime �rQ rm ri ri rj r � s zVmClusterSummary.time_createdc C s || _ dS )z� Sets the time_created of this VmClusterSummary. The date and time that the VM cluster was created. :param time_created: The time_created of this VmClusterSummary. :type: datetime Nrs )rg r ri ri rj r � s c C s | j S )z� Gets the lifecycle_details of this VmClusterSummary. Additional information about the current lifecycle state. :return: The lifecycle_details of this VmClusterSummary. :rtype: str �rR rm ri ri rj r � s z"VmClusterSummary.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this VmClusterSummary. Additional information about the current lifecycle state. :param lifecycle_details: The lifecycle_details of this VmClusterSummary. :type: str Nrt )rg r ri ri rj r � s c C s | j S )aN Gets the time_zone of this VmClusterSummary. 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 VmClusterSummary. :rtype: str �rS rm ri ri rj r � s zVmClusterSummary.time_zonec C s || _ dS )aV Sets the time_zone of this VmClusterSummary. 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 VmClusterSummary. :type: str Nru )rg r ri ri rj r � s c C s | j S )a] Gets the is_local_backup_enabled of this VmClusterSummary. 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 VmClusterSummary. :rtype: bool �rT rm ri ri rj r � s z(VmClusterSummary.is_local_backup_enabledc C s || _ dS )as Sets the is_local_backup_enabled of this VmClusterSummary. 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 VmClusterSummary. :type: bool Nrv )rg r ri ri rj r � s c C s | j S )a4 Gets the exadata_infrastructure_id of this VmClusterSummary. The `OCID`__ of the Exadata infrastructure. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The exadata_infrastructure_id of this VmClusterSummary. :rtype: str �rU rm ri ri rj r � s z*VmClusterSummary.exadata_infrastructure_idc C s || _ dS )aL Sets the exadata_infrastructure_id of this VmClusterSummary. 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 VmClusterSummary. :type: str Nrw )rg r ri ri rj r � s c C s | j S )a# Gets the is_sparse_diskgroup_enabled of this VmClusterSummary. 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 VmClusterSummary. :rtype: bool �rV rm ri ri rj r s z,VmClusterSummary.is_sparse_diskgroup_enabledc C s || _ dS )a= Sets the is_sparse_diskgroup_enabled of this VmClusterSummary. 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 VmClusterSummary. :type: bool Nrx )rg r ri ri rj r s c C s | j S )a( Gets the vm_cluster_network_id of this VmClusterSummary. 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 VmClusterSummary. :rtype: str �rW rm ri ri rj r! $ s z&VmClusterSummary.vm_cluster_network_idc C s || _ dS )a< Sets the vm_cluster_network_id of this VmClusterSummary. 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 VmClusterSummary. :type: str Nry )rg r! ri ri rj r! 2 s c C s | j S )z� Gets the cpus_enabled of this VmClusterSummary. The number of enabled CPU cores. :return: The cpus_enabled of this VmClusterSummary. :rtype: int �rX rm ri ri rj r"