CreateBlueGreenDeploymentTargetDbSystemDetails

class oci.mysql.models.CreateBlueGreenDeploymentTargetDbSystemDetails(**kwargs)

Bases: object

Target DB System overrides for a blue/green deployment.

Methods:

__init__(**kwargs)

Initializes a new CreateBlueGreenDeploymentTargetDbSystemDetails object with values from keyword arguments.

Attributes:

configuration_id

Gets the configuration_id of this CreateBlueGreenDeploymentTargetDbSystemDetails.

data_storage_size_in_gbs

Gets the data_storage_size_in_gbs of this CreateBlueGreenDeploymentTargetDbSystemDetails.

mysql_version

[Required] Gets the mysql_version of this CreateBlueGreenDeploymentTargetDbSystemDetails.

shape_name

Gets the shape_name of this CreateBlueGreenDeploymentTargetDbSystemDetails.

__init__(**kwargs)

Initializes a new CreateBlueGreenDeploymentTargetDbSystemDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • mysql_version (str) – The value to assign to the mysql_version property of this CreateBlueGreenDeploymentTargetDbSystemDetails.

  • shape_name (str) – The value to assign to the shape_name property of this CreateBlueGreenDeploymentTargetDbSystemDetails.

  • configuration_id (str) – The value to assign to the configuration_id property of this CreateBlueGreenDeploymentTargetDbSystemDetails.

  • data_storage_size_in_gbs (int) – The value to assign to the data_storage_size_in_gbs property of this CreateBlueGreenDeploymentTargetDbSystemDetails.

property configuration_id

Gets the configuration_id of this CreateBlueGreenDeploymentTargetDbSystemDetails. The OCID of the configuration to apply to the target DB System. If omitted, the target DB System inherits the source DB System configuration.

Returns

The configuration_id of this CreateBlueGreenDeploymentTargetDbSystemDetails.

Return type

str

property data_storage_size_in_gbs

Gets the data_storage_size_in_gbs of this CreateBlueGreenDeploymentTargetDbSystemDetails. Initial data storage size in GiBs for the target DB System. If omitted, the target DB System uses the source DB System storage size.

Returns

The data_storage_size_in_gbs of this CreateBlueGreenDeploymentTargetDbSystemDetails.

Return type

int

property mysql_version

[Required] Gets the mysql_version of this CreateBlueGreenDeploymentTargetDbSystemDetails. Target MySQL engine version.

Returns

The mysql_version of this CreateBlueGreenDeploymentTargetDbSystemDetails.

Return type

str

property shape_name

Gets the shape_name of this CreateBlueGreenDeploymentTargetDbSystemDetails. The shape of the target DB System. The shape determines resources allocated to the DB System - 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 CreateBlueGreenDeploymentTargetDbSystemDetails.

Return type

str