AutonomousContainerDatabaseResourceUsage¶
-
class
oci.database.models.
AutonomousContainerDatabaseResourceUsage
(**kwargs)¶ Bases:
object
Associated autonomous container databases usages.
Methods
__init__
(**kwargs)Initializes a new AutonomousContainerDatabaseResourceUsage object with values from keyword arguments. Attributes
autonomous_container_database_vm_usage
Gets the autonomous_container_database_vm_usage of this AutonomousContainerDatabaseResourceUsage. available_cpus
Gets the available_cpus of this AutonomousContainerDatabaseResourceUsage. defined_tags
Gets the defined_tags of this AutonomousContainerDatabaseResourceUsage. display_name
[Required] Gets the display_name of this AutonomousContainerDatabaseResourceUsage. freeform_tags
Gets the freeform_tags of this AutonomousContainerDatabaseResourceUsage. id
Gets the id of this AutonomousContainerDatabaseResourceUsage. largest_provisionable_autonomous_database_in_cpus
Gets the largest_provisionable_autonomous_database_in_cpus of this AutonomousContainerDatabaseResourceUsage. provisionable_cpus
Gets the provisionable_cpus of this AutonomousContainerDatabaseResourceUsage. provisioned_cpus
Gets the provisioned_cpus of this AutonomousContainerDatabaseResourceUsage. reclaimable_cpus
Gets the reclaimable_cpus of this AutonomousContainerDatabaseResourceUsage. reserved_cpus
Gets the reserved_cpus of this AutonomousContainerDatabaseResourceUsage. used_cpus
Gets the used_cpus of this AutonomousContainerDatabaseResourceUsage. -
__init__
(**kwargs)¶ Initializes a new AutonomousContainerDatabaseResourceUsage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this AutonomousContainerDatabaseResourceUsage.
- display_name (str) – The value to assign to the display_name property of this AutonomousContainerDatabaseResourceUsage.
- reclaimable_cpus (float) – The value to assign to the reclaimable_cpus property of this AutonomousContainerDatabaseResourceUsage.
- available_cpus (float) – The value to assign to the available_cpus property of this AutonomousContainerDatabaseResourceUsage.
- largest_provisionable_autonomous_database_in_cpus (float) – The value to assign to the largest_provisionable_autonomous_database_in_cpus property of this AutonomousContainerDatabaseResourceUsage.
- provisioned_cpus (float) – The value to assign to the provisioned_cpus property of this AutonomousContainerDatabaseResourceUsage.
- reserved_cpus (float) – The value to assign to the reserved_cpus property of this AutonomousContainerDatabaseResourceUsage.
- used_cpus (float) – The value to assign to the used_cpus property of this AutonomousContainerDatabaseResourceUsage.
- provisionable_cpus (list[float]) – The value to assign to the provisionable_cpus property of this AutonomousContainerDatabaseResourceUsage.
- autonomous_container_database_vm_usage (list[oci.database.models.AcdAvmResourceStats]) – The value to assign to the autonomous_container_database_vm_usage property of this AutonomousContainerDatabaseResourceUsage.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AutonomousContainerDatabaseResourceUsage.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AutonomousContainerDatabaseResourceUsage.
-
autonomous_container_database_vm_usage
¶ Gets the autonomous_container_database_vm_usage of this AutonomousContainerDatabaseResourceUsage. List of autonomous container database resource usage per autonomous virtual machine.
Returns: The autonomous_container_database_vm_usage of this AutonomousContainerDatabaseResourceUsage. Return type: list[oci.database.models.AcdAvmResourceStats]
-
available_cpus
¶ Gets the available_cpus of this AutonomousContainerDatabaseResourceUsage. CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
Returns: The available_cpus of this AutonomousContainerDatabaseResourceUsage. Return type: float
Gets the defined_tags of this AutonomousContainerDatabaseResourceUsage. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Returns: The defined_tags of this AutonomousContainerDatabaseResourceUsage. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this AutonomousContainerDatabaseResourceUsage. The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
Returns: The display_name of this AutonomousContainerDatabaseResourceUsage. Return type: str
Gets the freeform_tags of this AutonomousContainerDatabaseResourceUsage. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this AutonomousContainerDatabaseResourceUsage. Return type: dict(str, str)
-
id
¶ Gets the id of this AutonomousContainerDatabaseResourceUsage. The OCID of the Autonomous Container Database.
Returns: The id of this AutonomousContainerDatabaseResourceUsage. Return type: str
-
largest_provisionable_autonomous_database_in_cpus
¶ Gets the largest_provisionable_autonomous_database_in_cpus of this AutonomousContainerDatabaseResourceUsage. Largest provisionable ADB in the Autonomous Container Database.
Returns: The largest_provisionable_autonomous_database_in_cpus of this AutonomousContainerDatabaseResourceUsage. Return type: float
-
provisionable_cpus
¶ Gets the provisionable_cpus of this AutonomousContainerDatabaseResourceUsage. Valid list of provisionable CPUs for Autonomous Database.
Returns: The provisionable_cpus of this AutonomousContainerDatabaseResourceUsage. Return type: list[float]
-
provisioned_cpus
¶ Gets the provisioned_cpus of this AutonomousContainerDatabaseResourceUsage. CPUs / cores assigned to ADBs in the Autonomous Container Database.
Returns: The provisioned_cpus of this AutonomousContainerDatabaseResourceUsage. Return type: float
-
reclaimable_cpus
¶ Gets the reclaimable_cpus of this AutonomousContainerDatabaseResourceUsage. Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
Returns: The reclaimable_cpus of this AutonomousContainerDatabaseResourceUsage. Return type: float
-
reserved_cpus
¶ Gets the reserved_cpus of this AutonomousContainerDatabaseResourceUsage. CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
Returns: The reserved_cpus of this AutonomousContainerDatabaseResourceUsage. Return type: float
-
used_cpus
¶ Gets the used_cpus of this AutonomousContainerDatabaseResourceUsage. CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
Returns: The used_cpus of this AutonomousContainerDatabaseResourceUsage. Return type: float
-