File: //lib/python3.9/site-packages/oci/opsi/models/__pycache__/db_external_instance.cpython-39.pyc
a
���f�1 � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� DatabaseConfigurationMetricGroup� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sh e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed
d� �Z e jdd� �Z ed
d� �Z
e
jdd� �Z
edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z
e
jdd� �Z
edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zd(d)� Zd*d+� Zd,d-� Zd.S )/�DBExternalInstancezQ
Configuration parameters defined for external databases instance level.
c K s� ddddddddddddddd�| _ dddd d
ddd
ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
d| _d| _d| _dS )a!
Initializes a new DBExternalInstance object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.DBExternalInstance.metric_name` attribute
of this class is ``DB_EXTERNAL_INSTANCE`` and it should not be changed.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param metric_name:
The value to assign to the metric_name property of this DBExternalInstance.
Allowed values for this property are: "DB_EXTERNAL_PROPERTIES", "DB_EXTERNAL_INSTANCE", "DB_OS_CONFIG_INSTANCE", "DB_PARAMETERS"
:type metric_name: str
:param time_collected:
The value to assign to the time_collected property of this DBExternalInstance.
:type time_collected: datetime
:param instance_name:
The value to assign to the instance_name property of this DBExternalInstance.
:type instance_name: str
:param host_name:
The value to assign to the host_name property of this DBExternalInstance.
:type host_name: str
:param cpu_count:
The value to assign to the cpu_count property of this DBExternalInstance.
:type cpu_count: int
:param host_memory_capacity:
The value to assign to the host_memory_capacity property of this DBExternalInstance.
:type host_memory_capacity: float
:param version:
The value to assign to the version property of this DBExternalInstance.
:type version: str
:param parallel:
The value to assign to the parallel property of this DBExternalInstance.
:type parallel: str
:param instance_role:
The value to assign to the instance_role property of this DBExternalInstance.
:type instance_role: str
:param logins:
The value to assign to the logins property of this DBExternalInstance.
:type logins: str
:param database_status:
The value to assign to the database_status property of this DBExternalInstance.
:type database_status: str
:param status:
The value to assign to the status property of this DBExternalInstance.
:type status: str
:param edition:
The value to assign to the edition property of this DBExternalInstance.
:type edition: str
:param startup_time:
The value to assign to the startup_time property of this DBExternalInstance.
:type startup_time: datetime
�strZdatetime�int�float)Zmetric_nameZtime_collected�
instance_name� host_name� cpu_count�host_memory_capacity�version�parallel�
instance_role�logins�database_status�status�edition�startup_timeZ
metricNameZ
timeCollectedZinstanceNameZhostNameZcpuCountZhostMemoryCapacityr r ZinstanceRoler ZdatabaseStatusr r ZstartupTimeNZDB_EXTERNAL_INSTANCE)Z
swagger_typesZ
attribute_mapZ_metric_nameZ_time_collected�_instance_name�
_host_name�
_cpu_count�_host_memory_capacity�_version� _parallel�_instance_role�_logins�_database_status�_status�_edition�
_startup_time)�self�kwargs� r&