CreateDbSystemDetails¶
- class oci.psql.models.CreateDbSystemDetails(**kwargs)¶
Bases:
objectThe information about new database system.
Methods:
__init__(**kwargs)Initializes a new CreateDbSystemDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateDbSystemDetails.
Gets the config_id of this CreateDbSystemDetails.
Gets the credentials of this CreateDbSystemDetails.
[Required] Gets the db_version of this CreateDbSystemDetails.
Gets the defined_tags of this CreateDbSystemDetails.
Gets the description of this CreateDbSystemDetails.
[Required] Gets the display_name of this CreateDbSystemDetails.
Gets the freeform_tags of this CreateDbSystemDetails.
Gets the instance_count of this CreateDbSystemDetails.
Gets the instance_memory_size_in_gbs of this CreateDbSystemDetails.
Gets the instance_ocpu_count of this CreateDbSystemDetails.
Gets the instances_details of this CreateDbSystemDetails.
Gets the management_policy of this CreateDbSystemDetails.
[Required] Gets the network_details of this CreateDbSystemDetails.
Gets the odsp_insight_details of this CreateDbSystemDetails.
Gets the replication_config of this CreateDbSystemDetails.
[Required] Gets the shape of this CreateDbSystemDetails.
Gets the source of this CreateDbSystemDetails.
[Required] Gets the storage_details of this CreateDbSystemDetails.
Gets the system_type of this CreateDbSystemDetails.
- __init__(**kwargs)¶
Initializes a new CreateDbSystemDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateDbSystemDetails.
description (str) – The value to assign to the description property of this CreateDbSystemDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateDbSystemDetails.
system_type (str) – The value to assign to the system_type property of this CreateDbSystemDetails.
db_version (str) – The value to assign to the db_version property of this CreateDbSystemDetails.
config_id (str) – The value to assign to the config_id property of this CreateDbSystemDetails.
storage_details (oci.psql.models.StorageDetails) – The value to assign to the storage_details property of this CreateDbSystemDetails.
shape (str) – The value to assign to the shape property of this CreateDbSystemDetails.
instance_ocpu_count (int) – The value to assign to the instance_ocpu_count property of this CreateDbSystemDetails.
instance_memory_size_in_gbs (int) – The value to assign to the instance_memory_size_in_gbs property of this CreateDbSystemDetails.
instance_count (int) – The value to assign to the instance_count property of this CreateDbSystemDetails.
instances_details (list[oci.psql.models.CreateDbInstanceDetails]) – The value to assign to the instances_details property of this CreateDbSystemDetails.
credentials (oci.psql.models.Credentials) – The value to assign to the credentials property of this CreateDbSystemDetails.
network_details (oci.psql.models.NetworkDetails) – The value to assign to the network_details property of this CreateDbSystemDetails.
management_policy (oci.psql.models.ManagementPolicyDetails) – The value to assign to the management_policy property of this CreateDbSystemDetails.
source (oci.psql.models.SourceDetails) – The value to assign to the source property of this CreateDbSystemDetails.
replication_config (oci.psql.models.CreateReplicationConfigDetails) – The value to assign to the replication_config property of this CreateDbSystemDetails.
odsp_insight_details (oci.psql.models.OdspInsightDetails) – The value to assign to the odsp_insight_details property of this CreateDbSystemDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDbSystemDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDbSystemDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateDbSystemDetails. The OCID of the compartment that contains the database system.
- Returns
The compartment_id of this CreateDbSystemDetails.
- Return type
str
- property config_id¶
Gets the config_id of this CreateDbSystemDetails. The OCID of the configuration associated with the database system.
- Returns
The config_id of this CreateDbSystemDetails.
- Return type
str
- property credentials¶
Gets the credentials of this CreateDbSystemDetails.
- Returns
The credentials of this CreateDbSystemDetails.
- Return type
- property db_version¶
[Required] Gets the db_version of this CreateDbSystemDetails. Version of database system software.
- Returns
The db_version of this CreateDbSystemDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateDbSystemDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this CreateDbSystemDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateDbSystemDetails. A user-provided description of a database system.
- Returns
The description of this CreateDbSystemDetails.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this CreateDbSystemDetails. A user-friendly display name for the database system. Avoid entering confidential information.
- Returns
The display_name of this CreateDbSystemDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateDbSystemDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this CreateDbSystemDetails.
- Return type
dict(str, str)
- property instance_count¶
Gets the instance_count of this CreateDbSystemDetails. Count of database instances nodes to be created in the database system.
- Returns
The instance_count of this CreateDbSystemDetails.
- Return type
int
- property instance_memory_size_in_gbs¶
Gets the instance_memory_size_in_gbs of this CreateDbSystemDetails. The total amount of memory available to each database instance node, in gigabytes.
- Returns
The instance_memory_size_in_gbs of this CreateDbSystemDetails.
- Return type
int
- property instance_ocpu_count¶
Gets the instance_ocpu_count of this CreateDbSystemDetails. The total number of OCPUs available to each database instance node.
- Returns
The instance_ocpu_count of this CreateDbSystemDetails.
- Return type
int
- property instances_details¶
Gets the instances_details of this CreateDbSystemDetails. Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
- Returns
The instances_details of this CreateDbSystemDetails.
- Return type
- property management_policy¶
Gets the management_policy of this CreateDbSystemDetails.
- Returns
The management_policy of this CreateDbSystemDetails.
- Return type
- property network_details¶
[Required] Gets the network_details of this CreateDbSystemDetails.
- Returns
The network_details of this CreateDbSystemDetails.
- Return type
- property odsp_insight_details¶
Gets the odsp_insight_details of this CreateDbSystemDetails.
- Returns
The odsp_insight_details of this CreateDbSystemDetails.
- Return type
- property replication_config¶
Gets the replication_config of this CreateDbSystemDetails.
- Returns
The replication_config of this CreateDbSystemDetails.
- Return type
- property shape¶
[Required] Gets the shape of this CreateDbSystemDetails. The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
- Returns
The shape of this CreateDbSystemDetails.
- Return type
str
- property source¶
Gets the source of this CreateDbSystemDetails.
- Returns
The source of this CreateDbSystemDetails.
- Return type
- property storage_details¶
[Required] Gets the storage_details of this CreateDbSystemDetails.
- Returns
The storage_details of this CreateDbSystemDetails.
- Return type
- property system_type¶
Gets the system_type of this CreateDbSystemDetails. Type of the database system.
- Returns
The system_type of this CreateDbSystemDetails.
- Return type
str