DbServerSummary¶
-
class
oci.database.models.
DbServerSummary
(**kwargs)¶ Bases:
object
Details of the Db server.
Attributes
COMPUTE_MODEL_ECPU
A constant which can be used with the compute_model property of a DbServerSummary. COMPUTE_MODEL_OCPU
A constant which can be used with the compute_model property of a DbServerSummary. LIFECYCLE_STATE_AVAILABLE
A constant which can be used with the lifecycle_state property of a DbServerSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a DbServerSummary. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a DbServerSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a DbServerSummary. LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a DbServerSummary. LIFECYCLE_STATE_UNAVAILABLE
A constant which can be used with the lifecycle_state property of a DbServerSummary. autonomous_virtual_machine_ids
Gets the autonomous_virtual_machine_ids of this DbServerSummary. autonomous_vm_cluster_ids
Gets the autonomous_vm_cluster_ids of this DbServerSummary. compartment_id
Gets the compartment_id of this DbServerSummary. compute_model
Gets the compute_model of this DbServerSummary. cpu_core_count
Gets the cpu_core_count of this DbServerSummary. db_node_ids
Gets the db_node_ids of this DbServerSummary. db_node_storage_size_in_gbs
Gets the db_node_storage_size_in_gbs of this DbServerSummary. db_server_patching_details
Gets the db_server_patching_details of this DbServerSummary. defined_tags
Gets the defined_tags of this DbServerSummary. display_name
Gets the display_name of this DbServerSummary. exadata_infrastructure_id
Gets the exadata_infrastructure_id of this DbServerSummary. freeform_tags
Gets the freeform_tags of this DbServerSummary. id
Gets the id of this DbServerSummary. lifecycle_details
Gets the lifecycle_details of this DbServerSummary. lifecycle_state
Gets the lifecycle_state of this DbServerSummary. max_cpu_count
Gets the max_cpu_count of this DbServerSummary. max_db_node_storage_in_gbs
Gets the max_db_node_storage_in_gbs of this DbServerSummary. max_memory_in_gbs
Gets the max_memory_in_gbs of this DbServerSummary. memory_size_in_gbs
Gets the memory_size_in_gbs of this DbServerSummary. shape
Gets the shape of this DbServerSummary. time_created
Gets the time_created of this DbServerSummary. vm_cluster_ids
Gets the vm_cluster_ids of this DbServerSummary. Methods
__init__
(**kwargs)Initializes a new DbServerSummary object with values from keyword arguments. -
COMPUTE_MODEL_ECPU
= 'ECPU'¶ A constant which can be used with the compute_model property of a DbServerSummary. This constant has a value of “ECPU”
-
COMPUTE_MODEL_OCPU
= 'OCPU'¶ A constant which can be used with the compute_model property of a DbServerSummary. This constant has a value of “OCPU”
-
LIFECYCLE_STATE_AVAILABLE
= 'AVAILABLE'¶ A constant which can be used with the lifecycle_state property of a DbServerSummary. This constant has a value of “AVAILABLE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a DbServerSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a DbServerSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a DbServerSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS
= 'MAINTENANCE_IN_PROGRESS'¶ A constant which can be used with the lifecycle_state property of a DbServerSummary. This constant has a value of “MAINTENANCE_IN_PROGRESS”
-
LIFECYCLE_STATE_UNAVAILABLE
= 'UNAVAILABLE'¶ A constant which can be used with the lifecycle_state property of a DbServerSummary. This constant has a value of “UNAVAILABLE”
-
__init__
(**kwargs)¶ Initializes a new DbServerSummary 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 DbServerSummary.
- display_name (str) – The value to assign to the display_name property of this DbServerSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this DbServerSummary.
- exadata_infrastructure_id (str) – The value to assign to the exadata_infrastructure_id property of this DbServerSummary.
- cpu_core_count (int) – The value to assign to the cpu_core_count property of this DbServerSummary.
- memory_size_in_gbs (int) – The value to assign to the memory_size_in_gbs property of this DbServerSummary.
- db_node_storage_size_in_gbs (int) – The value to assign to the db_node_storage_size_in_gbs property of this DbServerSummary.
- vm_cluster_ids (list[str]) – The value to assign to the vm_cluster_ids property of this DbServerSummary.
- autonomous_vm_cluster_ids (list[str]) – The value to assign to the autonomous_vm_cluster_ids property of this DbServerSummary.
- autonomous_virtual_machine_ids (list[str]) – The value to assign to the autonomous_virtual_machine_ids property of this DbServerSummary.
- db_node_ids (list[str]) – The value to assign to the db_node_ids property of this DbServerSummary.
- shape (str) – The value to assign to the shape property of this DbServerSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbServerSummary. Allowed values for this property are: “CREATING”, “AVAILABLE”, “UNAVAILABLE”, “DELETING”, “DELETED”, “MAINTENANCE_IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this DbServerSummary.
- max_cpu_count (int) – The value to assign to the max_cpu_count property of this DbServerSummary.
- max_memory_in_gbs (int) – The value to assign to the max_memory_in_gbs property of this DbServerSummary.
- max_db_node_storage_in_gbs (int) – The value to assign to the max_db_node_storage_in_gbs property of this DbServerSummary.
- time_created (datetime) – The value to assign to the time_created property of this DbServerSummary.
- db_server_patching_details (oci.database.models.DbServerPatchingDetails) – The value to assign to the db_server_patching_details property of this DbServerSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DbServerSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DbServerSummary.
- compute_model (str) – The value to assign to the compute_model property of this DbServerSummary. Allowed values for this property are: “ECPU”, “OCPU”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
autonomous_virtual_machine_ids
¶ Gets the autonomous_virtual_machine_ids of this DbServerSummary. The list of OCIDs of the Autonomous Virtual Machines associated with the Db server.
Returns: The autonomous_virtual_machine_ids of this DbServerSummary. Return type: list[str]
-
autonomous_vm_cluster_ids
¶ Gets the autonomous_vm_cluster_ids of this DbServerSummary. The list of OCIDs of the Autonomous VM Clusters associated with the Db server.
Returns: The autonomous_vm_cluster_ids of this DbServerSummary. Return type: list[str]
-
compartment_id
¶ Gets the compartment_id of this DbServerSummary. The OCID of the compartment.
Returns: The compartment_id of this DbServerSummary. Return type: str
-
compute_model
¶ Gets the compute_model of this DbServerSummary. The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
Allowed values for this property are: “ECPU”, “OCPU”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The compute_model of this DbServerSummary. Return type: str
-
cpu_core_count
¶ Gets the cpu_core_count of this DbServerSummary. The number of CPU cores enabled on the Db server.
Returns: The cpu_core_count of this DbServerSummary. Return type: int
-
db_node_ids
¶ Gets the db_node_ids of this DbServerSummary. The OCID of the Db nodes associated with the Db server.
Returns: The db_node_ids of this DbServerSummary. Return type: list[str]
-
db_node_storage_size_in_gbs
¶ Gets the db_node_storage_size_in_gbs of this DbServerSummary. The allocated local node storage in GBs on the Db server.
Returns: The db_node_storage_size_in_gbs of this DbServerSummary. Return type: int
-
db_server_patching_details
¶ Gets the db_server_patching_details of this DbServerSummary.
Returns: The db_server_patching_details of this DbServerSummary. Return type: oci.database.models.DbServerPatchingDetails
Gets the defined_tags of this DbServerSummary. 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 DbServerSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this DbServerSummary. The user-friendly name for the Db server. The name does not need to be unique.
Returns: The display_name of this DbServerSummary. Return type: str
-
exadata_infrastructure_id
¶ Gets the exadata_infrastructure_id of this DbServerSummary. The OCID of the Exadata infrastructure.
Returns: The exadata_infrastructure_id of this DbServerSummary. Return type: str
Gets the freeform_tags of this DbServerSummary. 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 DbServerSummary. Return type: dict(str, str)
-
id
¶ Gets the id of this DbServerSummary. The OCID of the Db server.
Returns: The id of this DbServerSummary. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this DbServerSummary. Additional information about the current lifecycle state.
Returns: The lifecycle_details of this DbServerSummary. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this DbServerSummary. The current state of the Db server.
Allowed values for this property are: “CREATING”, “AVAILABLE”, “UNAVAILABLE”, “DELETING”, “DELETED”, “MAINTENANCE_IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this DbServerSummary. Return type: str
-
max_cpu_count
¶ Gets the max_cpu_count of this DbServerSummary. The total number of CPU cores available.
Returns: The max_cpu_count of this DbServerSummary. Return type: int
-
max_db_node_storage_in_gbs
¶ Gets the max_db_node_storage_in_gbs of this DbServerSummary. The total local node storage available in GBs.
Returns: The max_db_node_storage_in_gbs of this DbServerSummary. Return type: int
-
max_memory_in_gbs
¶ Gets the max_memory_in_gbs of this DbServerSummary. The total memory available in GBs.
Returns: The max_memory_in_gbs of this DbServerSummary. Return type: int
-
memory_size_in_gbs
¶ Gets the memory_size_in_gbs of this DbServerSummary. The allocated memory in GBs on the Db server.
Returns: The memory_size_in_gbs of this DbServerSummary. Return type: int
-
shape
¶ Gets the shape of this DbServerSummary. The shape of the Db server. The shape determines the amount of CPU, storage, and memory resources available.
Returns: The shape of this DbServerSummary. Return type: str
-
time_created
¶ Gets the time_created of this DbServerSummary. The date and time that the Db Server was created.
Returns: The time_created of this DbServerSummary. Return type: datetime
-