CreateDbSystemDetails¶
-
class
oci.psql.models.
CreateDbSystemDetails
(**kwargs)¶ Bases:
object
The information about new database system.
Methods
__init__
(**kwargs)Initializes a new CreateDbSystemDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateDbSystemDetails. config_id
Gets the config_id of this CreateDbSystemDetails. credentials
[Required] Gets the credentials of this CreateDbSystemDetails. db_version
[Required] Gets the db_version of this CreateDbSystemDetails. defined_tags
Gets the defined_tags of this CreateDbSystemDetails. description
Gets the description of this CreateDbSystemDetails. display_name
[Required] Gets the display_name of this CreateDbSystemDetails. freeform_tags
Gets the freeform_tags of this CreateDbSystemDetails. instance_count
Gets the instance_count of this CreateDbSystemDetails. instance_memory_size_in_gbs
Gets the instance_memory_size_in_gbs of this CreateDbSystemDetails. instance_ocpu_count
Gets the instance_ocpu_count of this CreateDbSystemDetails. instances_details
Gets the instances_details of this CreateDbSystemDetails. management_policy
Gets the management_policy of this CreateDbSystemDetails. network_details
[Required] Gets the network_details of this CreateDbSystemDetails. shape
[Required] Gets the shape of this CreateDbSystemDetails. source
Gets the source of this CreateDbSystemDetails. storage_details
[Required] Gets the storage_details of this CreateDbSystemDetails. system_type
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.
- 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.
-
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
-
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
-
credentials
¶ [Required] Gets the credentials of this CreateDbSystemDetails.
Returns: The credentials of this CreateDbSystemDetails. Return type: oci.psql.models.Credentials
-
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
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))
-
description
¶ Gets the description of this CreateDbSystemDetails. A user-provided description of a database system.
Returns: The description of this CreateDbSystemDetails. Return type: str
-
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
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)
-
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
-
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
-
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
-
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: list[oci.psql.models.CreateDbInstanceDetails]
-
management_policy
¶ Gets the management_policy of this CreateDbSystemDetails.
Returns: The management_policy of this CreateDbSystemDetails. Return type: oci.psql.models.ManagementPolicyDetails
-
network_details
¶ [Required] Gets the network_details of this CreateDbSystemDetails.
Returns: The network_details of this CreateDbSystemDetails. Return type: oci.psql.models.NetworkDetails
-
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
-
source
¶ Gets the source of this CreateDbSystemDetails.
Returns: The source of this CreateDbSystemDetails. Return type: oci.psql.models.SourceDetails
-
storage_details
¶ [Required] Gets the storage_details of this CreateDbSystemDetails.
Returns: The storage_details of this CreateDbSystemDetails. Return type: oci.psql.models.StorageDetails
-
system_type
¶ Gets the system_type of this CreateDbSystemDetails. Type of the database system.
Returns: The system_type of this CreateDbSystemDetails. Return type: str
-