CreateDbSystemDetails¶
-
class
oci.mysql.models.
CreateDbSystemDetails
(**kwargs)¶ Bases:
object
Details required to create a DB System.
Methods
__init__
(**kwargs)Initializes a new CreateDbSystemDetails object with values from keyword arguments. Attributes
admin_password
[Required] Gets the admin_password of this CreateDbSystemDetails. admin_username
[Required] Gets the admin_username of this CreateDbSystemDetails. availability_domain
Gets the availability_domain of this CreateDbSystemDetails. backup_policy
Gets the backup_policy of this CreateDbSystemDetails. compartment_id
[Required] Gets the compartment_id of this CreateDbSystemDetails. configuration_id
Gets the configuration_id of this CreateDbSystemDetails. data_storage_size_in_gbs
Gets the data_storage_size_in_gbs of this CreateDbSystemDetails. defined_tags
Gets the defined_tags of this CreateDbSystemDetails. description
Gets the description of this CreateDbSystemDetails. display_name
Gets the display_name of this CreateDbSystemDetails. fault_domain
Gets the fault_domain of this CreateDbSystemDetails. freeform_tags
Gets the freeform_tags of this CreateDbSystemDetails. hostname_label
Gets the hostname_label of this CreateDbSystemDetails. ip_address
Gets the ip_address of this CreateDbSystemDetails. maintenance
Gets the maintenance of this CreateDbSystemDetails. mysql_version
Gets the mysql_version of this CreateDbSystemDetails. port
Gets the port of this CreateDbSystemDetails. port_x
Gets the port_x of this CreateDbSystemDetails. shape_name
[Required] Gets the shape_name of this CreateDbSystemDetails. source
Gets the source of this CreateDbSystemDetails. subnet_id
[Required] Gets the subnet_id 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.
- availability_domain (str) – The value to assign to the availability_domain property of this CreateDbSystemDetails.
- fault_domain (str) – The value to assign to the fault_domain property of this CreateDbSystemDetails.
- configuration_id (str) – The value to assign to the configuration_id property of this CreateDbSystemDetails.
- shape_name (str) – The value to assign to the shape_name property of this CreateDbSystemDetails.
- mysql_version (str) – The value to assign to the mysql_version property of this CreateDbSystemDetails.
- subnet_id (str) – The value to assign to the subnet_id property of this CreateDbSystemDetails.
- admin_username (str) – The value to assign to the admin_username property of this CreateDbSystemDetails.
- admin_password (str) – The value to assign to the admin_password property of this CreateDbSystemDetails.
- data_storage_size_in_gbs (int) – The value to assign to the data_storage_size_in_gbs property of this CreateDbSystemDetails.
- hostname_label (str) – The value to assign to the hostname_label property of this CreateDbSystemDetails.
- ip_address (str) – The value to assign to the ip_address property of this CreateDbSystemDetails.
- port (int) – The value to assign to the port property of this CreateDbSystemDetails.
- port_x (int) – The value to assign to the port_x property of this CreateDbSystemDetails.
- backup_policy (oci.mysql.models.CreateBackupPolicyDetails) – The value to assign to the backup_policy property of this CreateDbSystemDetails.
- source (oci.mysql.models.CreateDbSystemSourceDetails) – The value to assign to the source property of this CreateDbSystemDetails.
- maintenance (oci.mysql.models.CreateMaintenanceDetails) – The value to assign to the maintenance 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.
-
admin_password
¶ [Required] Gets the admin_password of this CreateDbSystemDetails. The password for the administrative user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
Returns: The admin_password of this CreateDbSystemDetails. Return type: str
-
admin_username
¶ [Required] Gets the admin_username of this CreateDbSystemDetails. The username for the administrative user.
Returns: The admin_username of this CreateDbSystemDetails. Return type: str
-
availability_domain
¶ Gets the availability_domain of this CreateDbSystemDetails. The Availability Domain where the primary instance should be located.
Returns: The availability_domain of this CreateDbSystemDetails. Return type: str
-
backup_policy
¶ Gets the backup_policy of this CreateDbSystemDetails.
Returns: The backup_policy of this CreateDbSystemDetails. Return type: oci.mysql.models.CreateBackupPolicyDetails
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateDbSystemDetails. The OCID of the compartment.
Returns: The compartment_id of this CreateDbSystemDetails. Return type: str
-
configuration_id
¶ Gets the configuration_id of this CreateDbSystemDetails. The OCID of the Configuration to be used for this DB System.
Returns: The configuration_id of this CreateDbSystemDetails. Return type: str
-
data_storage_size_in_gbs
¶ Gets the data_storage_size_in_gbs of this CreateDbSystemDetails. Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape.
Returns: The data_storage_size_in_gbs of this CreateDbSystemDetails. Return type: int
Gets the defined_tags of this CreateDbSystemDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces. 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. User-provided data about the DB System.
Returns: The description of this CreateDbSystemDetails. Return type: str
-
display_name
¶ Gets the display_name of this CreateDbSystemDetails. The user-friendly name for the DB System. It does not have to be unique.
Returns: The display_name of this CreateDbSystemDetails. Return type: str
-
fault_domain
¶ Gets the fault_domain of this CreateDbSystemDetails. The name of the Fault Domain the DB System is located in.
Returns: The fault_domain of this CreateDbSystemDetails. Return type: str
Gets the freeform_tags of this CreateDbSystemDetails. Simple key-value pair 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)
-
hostname_label
¶ Gets the hostname_label of this CreateDbSystemDetails. The hostname for the primary endpoint of the DB System. Used for DNS.
The value is the hostname portion of the primary private IP’s fully qualified domain name (FQDN) (for example, “dbsystem-1” in FQDN “dbsystem-1.subnet123.vcn1.oraclevcn.com”).
Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
Returns: The hostname_label of this CreateDbSystemDetails. Return type: str
-
ip_address
¶ Gets the ip_address of this CreateDbSystemDetails. The IP address the DB System is configured to listen on. A private IP address of your choice to assign to the primary endpoint of the DB System. Must be an available IP address within the subnet’s CIDR. If you don’t specify a value, Oracle automatically assigns a private IP address from the subnet. This should be a “dotted-quad” style IPv4 address.
Returns: The ip_address of this CreateDbSystemDetails. Return type: str
-
maintenance
¶ Gets the maintenance of this CreateDbSystemDetails.
Returns: The maintenance of this CreateDbSystemDetails. Return type: oci.mysql.models.CreateMaintenanceDetails
-
mysql_version
¶ Gets the mysql_version of this CreateDbSystemDetails. The specific MySQL version identifier.
Returns: The mysql_version of this CreateDbSystemDetails. Return type: str
-
port
¶ Gets the port of this CreateDbSystemDetails. The port for primary endpoint of the DB System to listen on.
Returns: The port of this CreateDbSystemDetails. Return type: int
-
port_x
¶ Gets the port_x of this CreateDbSystemDetails. The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
Returns: The port_x of this CreateDbSystemDetails. Return type: int
-
shape_name
¶ [Required] Gets the shape_name of this CreateDbSystemDetails. The name of the shape. The shape determines the resources allocated - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the
list_shapes()
operation.Returns: The shape_name of this CreateDbSystemDetails. Return type: str
-
source
¶ Gets the source of this CreateDbSystemDetails.
Returns: The source of this CreateDbSystemDetails. Return type: oci.mysql.models.CreateDbSystemSourceDetails
-
subnet_id
¶ [Required] Gets the subnet_id of this CreateDbSystemDetails. The OCID of the subnet the DB System is associated with.
Returns: The subnet_id of this CreateDbSystemDetails. Return type: str
-