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 d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;d<� �Zejd=d<� �Zed>d?� �Zejd@d?� �ZedAdB� �Z e jdCdB� �Z edDdE� �Z!e!jdFdE� �Z!edGdH� �Z"e"jdIdH� �Z"edJdK� �Z#e#jdLdK� �Z#edMdN� �Z$e$jdOdN� �Z$edPdQ� �Z%e%jdRdQ� �Z%edSdT� �Z&e&jdUdT� �Z&edVdW� �Z'e'jdXdW� �Z'edYdZ� �Z(e(jd[dZ� �Z(ed\d]� �Z)e)jd^d]� �Z)d_d`� Z*dadb� Z+dcdd� Z,deS )f�CloudExadataInfrastructurezp Details of the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only. �PROVISIONING� AVAILABLE�UPDATING�TERMINATING� TERMINATED�FAILED�MAINTENANCE_IN_PROGRESSc K s, ddddddddddddddddddddddddddddd �| _ 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&| _d&S )'a� Initializes a new CloudExadataInfrastructure 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 CloudExadataInfrastructure. :type id: str :param compartment_id: The value to assign to the compartment_id property of this CloudExadataInfrastructure. :type compartment_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this CloudExadataInfrastructure. 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 CloudExadataInfrastructure. :type display_name: str :param shape: The value to assign to the shape property of this CloudExadataInfrastructure. :type shape: str :param availability_domain: The value to assign to the availability_domain property of this CloudExadataInfrastructure. :type availability_domain: str :param compute_count: The value to assign to the compute_count property of this CloudExadataInfrastructure. :type compute_count: int :param storage_count: The value to assign to the storage_count property of this CloudExadataInfrastructure. :type storage_count: int :param total_storage_size_in_gbs: The value to assign to the total_storage_size_in_gbs property of this CloudExadataInfrastructure. :type total_storage_size_in_gbs: int :param available_storage_size_in_gbs: The value to assign to the available_storage_size_in_gbs property of this CloudExadataInfrastructure. :type available_storage_size_in_gbs: int :param cpu_count: The value to assign to the cpu_count property of this CloudExadataInfrastructure. :type cpu_count: int :param max_cpu_count: The value to assign to the max_cpu_count property of this CloudExadataInfrastructure. :type max_cpu_count: int :param memory_size_in_gbs: The value to assign to the memory_size_in_gbs property of this CloudExadataInfrastructure. :type memory_size_in_gbs: int :param max_memory_in_gbs: The value to assign to the max_memory_in_gbs property of this CloudExadataInfrastructure. :type max_memory_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 CloudExadataInfrastructure. :type db_node_storage_size_in_gbs: int :param max_db_node_storage_in_gbs: The value to assign to the max_db_node_storage_in_gbs property of this CloudExadataInfrastructure. :type max_db_node_storage_in_gbs: int :param data_storage_size_in_tbs: The value to assign to the data_storage_size_in_tbs property of this CloudExadataInfrastructure. :type data_storage_size_in_tbs: float :param max_data_storage_in_tbs: The value to assign to the max_data_storage_in_tbs property of this CloudExadataInfrastructure. :type max_data_storage_in_tbs: float :param additional_storage_count: The value to assign to the additional_storage_count property of this CloudExadataInfrastructure. :type additional_storage_count: int :param activated_storage_count: The value to assign to the activated_storage_count property of this CloudExadataInfrastructure. :type activated_storage_count: int :param time_created: The value to assign to the time_created property of this CloudExadataInfrastructure. :type time_created: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this CloudExadataInfrastructure. :type lifecycle_details: str :param maintenance_window: The value to assign to the maintenance_window property of this CloudExadataInfrastructure. :type maintenance_window: oci.database.models.MaintenanceWindow :param last_maintenance_run_id: The value to assign to the last_maintenance_run_id property of this CloudExadataInfrastructure. :type last_maintenance_run_id: str :param next_maintenance_run_id: The value to assign to the next_maintenance_run_id property of this CloudExadataInfrastructure. :type next_maintenance_run_id: str :param freeform_tags: The value to assign to the freeform_tags property of this CloudExadataInfrastructure. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CloudExadataInfrastructure. :type defined_tags: dict(str, dict(str, object)) :param customer_contacts: The value to assign to the customer_contacts property of this CloudExadataInfrastructure. :type customer_contacts: list[oci.database.models.CustomerContact] �str�int�float�datetime�MaintenanceWindowzdict(str, str)zdict(str, dict(str, object))zlist[CustomerContact])�id�compartment_id�lifecycle_state�display_name�shape�availability_domain� compute_count� storage_count�total_storage_size_in_gbs�available_storage_size_in_gbs� cpu_count� max_cpu_count�memory_size_in_gbs�max_memory_in_gbs�db_node_storage_size_in_gbs�max_db_node_storage_in_gbs�data_storage_size_in_tbs�max_data_storage_in_tbs�additional_storage_count�activated_storage_count�time_created�lifecycle_details�maintenance_window�last_maintenance_run_id�next_maintenance_run_id� freeform_tags�defined_tags�customer_contactsr � compartmentId�lifecycleState�displayNamer �availabilityDomain�computeCount�storageCount�totalStorageSizeInGBs�availableStorageSizeInGBs�cpuCount�maxCpuCount�memorySizeInGBs�maxMemoryInGBs�dbNodeStorageSizeInGBs�maxDbNodeStorageInGBs�dataStorageSizeInTBs�maxDataStorageInTBs�additionalStorageCount�activatedStorageCount�timeCreated�lifecycleDetails�maintenanceWindow�lastMaintenanceRunId�nextMaintenanceRunId�freeformTags�definedTags�customerContactsN)� swagger_types� attribute_map�_id�_compartment_id�_lifecycle_state� _display_name�_shape�_availability_domain�_compute_count�_storage_count�_total_storage_size_in_gbs�_available_storage_size_in_gbs� _cpu_count�_max_cpu_count�_memory_size_in_gbs�_max_memory_in_gbs�_db_node_storage_size_in_gbs�_max_db_node_storage_in_gbs�_data_storage_size_in_tbs�_max_data_storage_in_tbs�_additional_storage_count�_activated_storage_count� _time_created�_lifecycle_details�_maintenance_window�_last_maintenance_run_id�_next_maintenance_run_id�_freeform_tags� _defined_tags�_customer_contacts)�self�kwargs� ri ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/cloud_exadata_infrastructure.py�__init__, s� y� �z#CloudExadataInfrastructure.__init__c C s | j S )a8 **[Required]** Gets the id of this CloudExadataInfrastructure. The `OCID`__ of the cloud Exadata infrastructure resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this CloudExadataInfrastructure. :rtype: str �rK �rg ri ri rj r � s zCloudExadataInfrastructure.idc C s || _ dS )a* Sets the id of this CloudExadataInfrastructure. The `OCID`__ of the cloud Exadata infrastructure resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this CloudExadataInfrastructure. :type: str Nrl )rg r ri ri rj r s c C s | j S )a6 **[Required]** Gets the compartment_id of this CloudExadataInfrastructure. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this CloudExadataInfrastructure. :rtype: str �rL rm ri ri rj r s z)CloudExadataInfrastructure.compartment_idc C s || _ dS )a4 Sets the compartment_id of this CloudExadataInfrastructure. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this CloudExadataInfrastructure. :type: str Nrn )rg r ri ri rj r ) s c C s | j S )a **[Required]** Gets the lifecycle_state of this CloudExadataInfrastructure. The current lifecycle state of the cloud Exadata infrastructure resource. 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 CloudExadataInfrastructure. :rtype: str )rM rm ri ri rj r 7 s z*CloudExadataInfrastructure.lifecycle_statec C s g d�}t ||�sd}|| _dS )a Sets the lifecycle_state of this CloudExadataInfrastructure. The current lifecycle state of the cloud Exadata infrastructure resource. :param lifecycle_state: The lifecycle_state of this CloudExadataInfrastructure. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r rM )rg r �allowed_valuesri ri rj r F s c C s | j S )a) **[Required]** Gets the display_name of this CloudExadataInfrastructure. The user-friendly name for the cloud Exadata infrastructure resource. The name does not need to be unique. :return: The display_name of this CloudExadataInfrastructure. :rtype: str �rN rm ri ri rj r U s z'CloudExadataInfrastructure.display_namec C s || _ dS )a% Sets the display_name of this CloudExadataInfrastructure. The user-friendly name for the cloud Exadata infrastructure resource. The name does not need to be unique. :param display_name: The display_name of this CloudExadataInfrastructure. :type: str Nrq )rg r ri ri rj r a s c C s | j S )z� **[Required]** Gets the shape of this CloudExadataInfrastructure. The model name of the cloud Exadata infrastructure resource. :return: The shape of this CloudExadataInfrastructure. :rtype: str �rO rm ri ri rj r m s z CloudExadataInfrastructure.shapec C s || _ dS )z� Sets the shape of this CloudExadataInfrastructure. The model name of the cloud Exadata infrastructure resource. :param shape: The shape of this CloudExadataInfrastructure. :type: str Nrr )rg r ri ri rj r y s c C s | j S )a. **[Required]** Gets the availability_domain of this CloudExadataInfrastructure. The name of the availability domain that the cloud Exadata infrastructure resource is located in. :return: The availability_domain of this CloudExadataInfrastructure. :rtype: str �rP rm ri ri rj r � s z.CloudExadataInfrastructure.availability_domainc C s || _ dS )a1 Sets the availability_domain of this CloudExadataInfrastructure. The name of the availability domain that the cloud Exadata infrastructure resource is located in. :param availability_domain: The availability_domain of this CloudExadataInfrastructure. :type: str Nrs )rg r ri ri rj r � s c C s | j S )z� Gets the compute_count of this CloudExadataInfrastructure. The number of compute servers for the cloud Exadata infrastructure. :return: The compute_count of this CloudExadataInfrastructure. :rtype: int �rQ rm ri ri rj r � s z(CloudExadataInfrastructure.compute_countc C s || _ dS )a Sets the compute_count of this CloudExadataInfrastructure. The number of compute servers for the cloud Exadata infrastructure. :param compute_count: The compute_count of this CloudExadataInfrastructure. :type: int Nrt )rg r ri ri rj r � s c C s | j S )z� Gets the storage_count of this CloudExadataInfrastructure. The number of storage servers for the cloud Exadata infrastructure. :return: The storage_count of this CloudExadataInfrastructure. :rtype: int �rR rm ri ri rj r � s z(CloudExadataInfrastructure.storage_countc C s || _ dS )a Sets the storage_count of this CloudExadataInfrastructure. The number of storage servers for the cloud Exadata infrastructure. :param storage_count: The storage_count of this CloudExadataInfrastructure. :type: int Nru )rg r ri ri rj r � s c C s | j S )a& Gets the total_storage_size_in_gbs of this CloudExadataInfrastructure. The total storage allocated to the cloud Exadata infrastructure resource, in gigabytes (GB). :return: The total_storage_size_in_gbs of this CloudExadataInfrastructure. :rtype: int �rS rm ri ri rj r � s z4CloudExadataInfrastructure.total_storage_size_in_gbsc C s || _ dS )a> Sets the total_storage_size_in_gbs of this CloudExadataInfrastructure. The total storage allocated to the cloud Exadata infrastructure resource, in gigabytes (GB). :param total_storage_size_in_gbs: The total_storage_size_in_gbs of this CloudExadataInfrastructure. :type: int Nrv )rg r ri ri rj r � s c C s | j S )a9 Gets the available_storage_size_in_gbs of this CloudExadataInfrastructure. The available storage can be allocated to the cloud Exadata infrastructure resource, in gigabytes (GB). :return: The available_storage_size_in_gbs of this CloudExadataInfrastructure. :rtype: int �rT rm ri ri rj r � s z8CloudExadataInfrastructure.available_storage_size_in_gbsc C s || _ dS )aU Sets the available_storage_size_in_gbs of this CloudExadataInfrastructure. The available storage can be allocated to the cloud Exadata infrastructure resource, in gigabytes (GB). :param available_storage_size_in_gbs: The available_storage_size_in_gbs of this CloudExadataInfrastructure. :type: int Nrw )rg r ri ri rj r � s c C s | j S )z� Gets the cpu_count of this CloudExadataInfrastructure. The total number of CPU cores allocated. :return: The cpu_count of this CloudExadataInfrastructure. :rtype: int �rU rm ri ri rj r � s z$CloudExadataInfrastructure.cpu_countc C s || _ dS )z� Sets the cpu_count of this CloudExadataInfrastructure. The total number of CPU cores allocated. :param cpu_count: The cpu_count of this CloudExadataInfrastructure. :type: int Nrx )rg r ri ri rj r s c C s | j S )z� Gets the max_cpu_count of this CloudExadataInfrastructure. The total number of CPU cores available. :return: The max_cpu_count of this CloudExadataInfrastructure. :rtype: int �rV rm ri ri rj r s z(CloudExadataInfrastructure.max_cpu_countc C s || _ dS )z� Sets the max_cpu_count of this CloudExadataInfrastructure. The total number of CPU cores available. :param max_cpu_count: The max_cpu_count of this CloudExadataInfrastructure. :type: int Nry )rg r ri ri rj r ! s c C s | j S )z� Gets the memory_size_in_gbs of this CloudExadataInfrastructure. The memory allocated in GBs. :return: The memory_size_in_gbs of this CloudExadataInfrastructure. :rtype: int �rW rm ri ri rj r - s z-CloudExadataInfrastructure.memory_size_in_gbsc C s || _ dS )z� Sets the memory_size_in_gbs of this CloudExadataInfrastructure. The memory allocated in GBs. :param memory_size_in_gbs: The memory_size_in_gbs of this CloudExadataInfrastructure. :type: int Nrz )rg r ri ri rj r 9 s c C s | j S )z� Gets the max_memory_in_gbs of this CloudExadataInfrastructure. The total memory available in GBs. :return: The max_memory_in_gbs of this CloudExadataInfrastructure. :rtype: int �rX rm ri ri rj r E s z,CloudExadataInfrastructure.max_memory_in_gbsc C s || _ dS )z� Sets the max_memory_in_gbs of this CloudExadataInfrastructure. The total memory available in GBs. :param max_memory_in_gbs: The max_memory_in_gbs of this CloudExadataInfrastructure. :type: int Nr{ )rg r ri ri rj r Q s c C s | j S )z� Gets the db_node_storage_size_in_gbs of this CloudExadataInfrastructure. The local node storage allocated in GBs. :return: The db_node_storage_size_in_gbs of this CloudExadataInfrastructure. :rtype: int �rY rm ri ri rj r! ] s z6CloudExadataInfrastructure.db_node_storage_size_in_gbsc C s || _ dS )a Sets the db_node_storage_size_in_gbs of this CloudExadataInfrastructure. The local node storage allocated in GBs. :param db_node_storage_size_in_gbs: The db_node_storage_size_in_gbs of this CloudExadataInfrastructure. :type: int Nr| )rg r! ri ri rj r! i s c C s | j S )z� Gets the max_db_node_storage_in_gbs of this CloudExadataInfrastructure. The total local node storage available in GBs. :return: The max_db_node_storage_in_gbs of this CloudExadataInfrastructure. :rtype: int �rZ rm ri ri rj r"