DbServer¶
- class oci.database.models.DbServer(**kwargs)¶
Bases:
objectDetails of the Db server resource.
Attributes:
A constant which can be used with the compute_model property of a DbServer.
A constant which can be used with the compute_model property of a DbServer.
A constant which can be used with the lifecycle_state property of a DbServer.
A constant which can be used with the lifecycle_state property of a DbServer.
A constant which can be used with the lifecycle_state property of a DbServer.
A constant which can be used with the lifecycle_state property of a DbServer.
A constant which can be used with the lifecycle_state property of a DbServer.
A constant which can be used with the lifecycle_state property of a DbServer.
Gets the autonomous_virtual_machine_ids of this DbServer.
Gets the autonomous_vm_cluster_ids of this DbServer.
Gets the compartment_id of this DbServer.
Gets the compute_model of this DbServer.
Gets the cpu_core_count of this DbServer.
Gets the db_node_ids of this DbServer.
Gets the db_node_storage_size_in_gbs of this DbServer.
Gets the db_server_patching_details of this DbServer.
Gets the defined_tags of this DbServer.
Gets the display_name of this DbServer.
Gets the exadata_infrastructure_id of this DbServer.
Gets the freeform_tags of this DbServer.
Gets the id of this DbServer.
Gets the lifecycle_details of this DbServer.
Gets the lifecycle_state of this DbServer.
Gets the max_cpu_count of this DbServer.
Gets the max_db_node_storage_in_gbs of this DbServer.
Gets the max_memory_in_gbs of this DbServer.
Gets the memory_size_in_gbs of this DbServer.
Gets the shape of this DbServer.
Gets the system_tags of this DbServer.
Gets the time_created of this DbServer.
Gets the vm_cluster_ids of this DbServer.
Methods:
__init__(**kwargs)Initializes a new DbServer object with values from keyword arguments.
- COMPUTE_MODEL_ECPU = 'ECPU'¶
A constant which can be used with the compute_model property of a DbServer. This constant has a value of “ECPU”
- COMPUTE_MODEL_OCPU = 'OCPU'¶
A constant which can be used with the compute_model property of a DbServer. This constant has a value of “OCPU”
- LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'¶
A constant which can be used with the lifecycle_state property of a DbServer. This constant has a value of “AVAILABLE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a DbServer. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a DbServer. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a DbServer. 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 DbServer. 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 DbServer. This constant has a value of “UNAVAILABLE”
- __init__(**kwargs)¶
Initializes a new DbServer 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 DbServer.
display_name (str) – The value to assign to the display_name property of this DbServer.
compartment_id (str) – The value to assign to the compartment_id property of this DbServer.
exadata_infrastructure_id (str) – The value to assign to the exadata_infrastructure_id property of this DbServer.
cpu_core_count (int) – The value to assign to the cpu_core_count property of this DbServer.
memory_size_in_gbs (int) – The value to assign to the memory_size_in_gbs property of this DbServer.
db_node_storage_size_in_gbs (int) – The value to assign to the db_node_storage_size_in_gbs property of this DbServer.
vm_cluster_ids (list[str]) – The value to assign to the vm_cluster_ids property of this DbServer.
autonomous_vm_cluster_ids (list[str]) – The value to assign to the autonomous_vm_cluster_ids property of this DbServer.
autonomous_virtual_machine_ids (list[str]) – The value to assign to the autonomous_virtual_machine_ids property of this DbServer.
db_node_ids (list[str]) – The value to assign to the db_node_ids property of this DbServer.
shape (str) – The value to assign to the shape property of this DbServer.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbServer. 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 DbServer.
max_cpu_count (int) – The value to assign to the max_cpu_count property of this DbServer.
max_memory_in_gbs (int) – The value to assign to the max_memory_in_gbs property of this DbServer.
max_db_node_storage_in_gbs (int) – The value to assign to the max_db_node_storage_in_gbs property of this DbServer.
time_created (datetime) – The value to assign to the time_created property of this DbServer.
db_server_patching_details (oci.database.models.DbServerPatchingDetails) – The value to assign to the db_server_patching_details property of this DbServer.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DbServer.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DbServer.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DbServer.
compute_model (str) – The value to assign to the compute_model property of this DbServer. 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’.
- property autonomous_virtual_machine_ids¶
Gets the autonomous_virtual_machine_ids of this DbServer. The list of OCIDs of the Autonomous Virtual Machines associated with the Db server.
- Returns
The autonomous_virtual_machine_ids of this DbServer.
- Return type
list[str]
- property autonomous_vm_cluster_ids¶
Gets the autonomous_vm_cluster_ids of this DbServer. The list of OCIDs of the Autonomous VM Clusters associated with the Db server.
- Returns
The autonomous_vm_cluster_ids of this DbServer.
- Return type
list[str]
- property compartment_id¶
Gets the compartment_id of this DbServer. The OCID of the compartment.
- Returns
The compartment_id of this DbServer.
- Return type
str
- property compute_model¶
Gets the compute_model of this DbServer. The compute model of the Autonomous AI 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 DbServer.
- Return type
str
- property cpu_core_count¶
Gets the cpu_core_count of this DbServer. The number of CPU cores enabled on the Db server.
- Returns
The cpu_core_count of this DbServer.
- Return type
int
- property db_node_ids¶
Gets the db_node_ids of this DbServer. The OCID of the Db nodes associated with the Db server.
- Returns
The db_node_ids of this DbServer.
- Return type
list[str]
- property db_node_storage_size_in_gbs¶
Gets the db_node_storage_size_in_gbs of this DbServer. The allocated local node storage in GBs on the Db server.
- Returns
The db_node_storage_size_in_gbs of this DbServer.
- Return type
int
- property db_server_patching_details¶
Gets the db_server_patching_details of this DbServer.
- Returns
The db_server_patching_details of this DbServer.
- Return type
- property defined_tags¶
Gets the defined_tags of this DbServer. 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 DbServer.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this DbServer. The user-friendly name for the Db server. The name does not need to be unique.
- Returns
The display_name of this DbServer.
- Return type
str
- property exadata_infrastructure_id¶
Gets the exadata_infrastructure_id of this DbServer. The OCID of the Exadata infrastructure.
- Returns
The exadata_infrastructure_id of this DbServer.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this DbServer. 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 DbServer.
- Return type
dict(str, str)
- property id¶
Gets the id of this DbServer. The OCID of the Db server.
- Returns
The id of this DbServer.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this DbServer. Additional information about the current lifecycle state.
- Returns
The lifecycle_details of this DbServer.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this DbServer. 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 DbServer.
- Return type
str
- property max_cpu_count¶
Gets the max_cpu_count of this DbServer. The total number of CPU cores available.
- Returns
The max_cpu_count of this DbServer.
- Return type
int
- property max_db_node_storage_in_gbs¶
Gets the max_db_node_storage_in_gbs of this DbServer. The total local node storage available in GBs.
- Returns
The max_db_node_storage_in_gbs of this DbServer.
- Return type
int
- property max_memory_in_gbs¶
Gets the max_memory_in_gbs of this DbServer. The total memory available in GBs.
- Returns
The max_memory_in_gbs of this DbServer.
- Return type
int
- property memory_size_in_gbs¶
Gets the memory_size_in_gbs of this DbServer. The allocated memory in GBs on the Db server.
- Returns
The memory_size_in_gbs of this DbServer.
- Return type
int
- property shape¶
Gets the shape of this DbServer. The shape of the Db server. The shape determines the amount of CPU, storage, and memory resources available.
- Returns
The shape of this DbServer.
- Return type
str
- property system_tags¶
Gets the system_tags of this DbServer. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The system_tags of this DbServer.
- Return type
dict(str, dict(str, object))
- property time_created¶
Gets the time_created of this DbServer. The date and time that the Db Server was created.
- Returns
The time_created of this DbServer.
- Return type
datetime