ruạṛ
a ���ft � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�AcdAvmResourceStatszM Resource usage by autonomous container database in a particular VM. c K sP ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d S )a[ Initializes a new AcdAvmResourceStats 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 AcdAvmResourceStats. :type id: str :param display_name: The value to assign to the display_name property of this AcdAvmResourceStats. :type display_name: str :param provisioned_cpus: The value to assign to the provisioned_cpus property of this AcdAvmResourceStats. :type provisioned_cpus: float :param used_cpus: The value to assign to the used_cpus property of this AcdAvmResourceStats. :type used_cpus: float :param reserved_cpus: The value to assign to the reserved_cpus property of this AcdAvmResourceStats. :type reserved_cpus: float :param reclaimable_cpus: The value to assign to the reclaimable_cpus property of this AcdAvmResourceStats. :type reclaimable_cpus: float �str�float)�id�display_name�provisioned_cpus� used_cpus� reserved_cpus�reclaimable_cpusr ZdisplayNameZprovisionedCpusZusedCpusZreservedCpusZreclaimableCpusN)Z swagger_typesZ attribute_map�_id� _display_name�_provisioned_cpus� _used_cpus�_reserved_cpus�_reclaimable_cpus)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/database/models/acd_avm_resource_stats.py�__init__ s( � � zAcdAvmResourceStats.__init__c C s | j S )a Gets the id of this AcdAvmResourceStats. The `OCID`__ of the Autonomous VM. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this AcdAvmResourceStats. :rtype: str �r �r r r r r I s zAcdAvmResourceStats.idc C s || _ dS )a Sets the id of this AcdAvmResourceStats. The `OCID`__ of the Autonomous VM. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this AcdAvmResourceStats. :type: str Nr )r r r r r r W s c C s | j S )z� Gets the display_name of this AcdAvmResourceStats. The user-friendly name for the Autonomous VM. The name does not need to be unique. :return: The display_name of this AcdAvmResourceStats. :rtype: str �r r r r r r e s z AcdAvmResourceStats.display_namec C s || _ dS )z� Sets the display_name of this AcdAvmResourceStats. The user-friendly name for the Autonomous VM. The name does not need to be unique. :param display_name: The display_name of this AcdAvmResourceStats. :type: str Nr )r r r r r r q s c C s | j S )a Gets the provisioned_cpus of this AcdAvmResourceStats. CPUs/cores assigned to Autonomous Databases for the ACD instance in given Autonomus VM. :return: The provisioned_cpus of this AcdAvmResourceStats. :rtype: float �r r r r r r } s z$AcdAvmResourceStats.provisioned_cpusc C s || _ dS )a Sets the provisioned_cpus of this AcdAvmResourceStats. CPUs/cores assigned to Autonomous Databases for the ACD instance in given Autonomus VM. :param provisioned_cpus: The provisioned_cpus of this AcdAvmResourceStats. :type: float Nr )r r r r r r � s c C s | j S )a3 Gets the used_cpus of this AcdAvmResourceStats. CPUs/cores assigned to the ACD instance in given Autonomous VM. Sum of provisioned, reserved and reclaimable CPUs/ cores to the ACD instance. :return: The used_cpus of this AcdAvmResourceStats. :rtype: float �r r r r r r � s zAcdAvmResourceStats.used_cpusc C s || _ dS )a; Sets the used_cpus of this AcdAvmResourceStats. CPUs/cores assigned to the ACD instance in given Autonomous VM. Sum of provisioned, reserved and reclaimable CPUs/ cores to the ACD instance. :param used_cpus: The used_cpus of this AcdAvmResourceStats. :type: float Nr )r r r r r r � s c C s | j S )a3 Gets the reserved_cpus of this AcdAvmResourceStats. CPUs/cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead. :return: The reserved_cpus of this AcdAvmResourceStats. :rtype: float �r r r r r r � s z!AcdAvmResourceStats.reserved_cpusc C s || _ dS )a? Sets the reserved_cpus of this AcdAvmResourceStats. CPUs/cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead. :param reserved_cpus: The reserved_cpus of this AcdAvmResourceStats. :type: float Nr )r r r r r r � s c C s | j S )a Gets the reclaimable_cpus of this AcdAvmResourceStats. CPUs/cores that continue to be included in the count of OCPUs available to the Autonomous Container Database in given Autonomous VM, even after one of its Autonomous Database is terminated or scaled down. You can release them to the available OCPUs at its parent AVMC level by restarting the Autonomous Container Database. :return: The reclaimable_cpus of this AcdAvmResourceStats. :rtype: float �r r r r r r � s z$AcdAvmResourceStats.reclaimable_cpusc C s || _ dS )a Sets the reclaimable_cpus of this AcdAvmResourceStats. CPUs/cores that continue to be included in the count of OCPUs available to the Autonomous Container Database in given Autonomous VM, even after one of its Autonomous Database is terminated or scaled down. You can release them to the available OCPUs at its parent AVMC level by restarting the Autonomous Container Database. :param reclaimable_cpus: The reclaimable_cpus of this AcdAvmResourceStats. :type: float Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zAcdAvmResourceStats.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zAcdAvmResourceStats.__eq__c C s | |k S r! r r$ r r r �__ne__� s zAcdAvmResourceStats.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r"