DbServer

class oci.database.models.DbServer(**kwargs)

Bases: object

Details of the Db server resource.

Attributes

COMPUTE_MODEL_ECPU A constant which can be used with the compute_model property of a DbServer.
COMPUTE_MODEL_OCPU A constant which can be used with the compute_model property of a DbServer.
LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a DbServer.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a DbServer.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a DbServer.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a DbServer.
LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a DbServer.
LIFECYCLE_STATE_UNAVAILABLE A constant which can be used with the lifecycle_state property of a DbServer.
autonomous_virtual_machine_ids Gets the autonomous_virtual_machine_ids of this DbServer.
autonomous_vm_cluster_ids Gets the autonomous_vm_cluster_ids of this DbServer.
compartment_id Gets the compartment_id of this DbServer.
compute_model Gets the compute_model of this DbServer.
cpu_core_count Gets the cpu_core_count of this DbServer.
db_node_ids Gets the db_node_ids of this DbServer.
db_node_storage_size_in_gbs Gets the db_node_storage_size_in_gbs of this DbServer.
db_server_patching_details Gets the db_server_patching_details of this DbServer.
defined_tags Gets the defined_tags of this DbServer.
display_name Gets the display_name of this DbServer.
exadata_infrastructure_id Gets the exadata_infrastructure_id of this DbServer.
freeform_tags Gets the freeform_tags of this DbServer.
id Gets the id of this DbServer.
lifecycle_details Gets the lifecycle_details of this DbServer.
lifecycle_state Gets the lifecycle_state of this DbServer.
max_cpu_count Gets the max_cpu_count of this DbServer.
max_db_node_storage_in_gbs Gets the max_db_node_storage_in_gbs of this DbServer.
max_memory_in_gbs Gets the max_memory_in_gbs of this DbServer.
memory_size_in_gbs Gets the memory_size_in_gbs of this DbServer.
shape Gets the shape of this DbServer.
time_created Gets the time_created of this DbServer.
vm_cluster_ids 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.
  • 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’.
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]
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]
compartment_id

Gets the compartment_id of this DbServer. The OCID of the compartment.

Returns:The compartment_id of this DbServer.
Return type:str
compute_model

Gets the compute_model of this DbServer. 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 DbServer.
Return type:str
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
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]
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
db_server_patching_details

Gets the db_server_patching_details of this DbServer.

Returns:The db_server_patching_details of this DbServer.
Return type:oci.database.models.DbServerPatchingDetails
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))
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
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
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)
id

Gets the id of this DbServer. The OCID of the Db server.

Returns:The id of this DbServer.
Return type:str
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
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
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
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
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
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
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
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
vm_cluster_ids

Gets the vm_cluster_ids of this DbServer. The OCID of the VM Clusters associated with the Db server.

Returns:The vm_cluster_ids of this DbServer.
Return type:list[str]