CreateBlueGreenDeploymentDetails¶
- class oci.mysql.models.CreateBlueGreenDeploymentDetails(**kwargs)¶
Bases:
objectDetails for creating a blue/green deployment backed by a replication channel.
Methods:
__init__(**kwargs)Initializes a new CreateBlueGreenDeploymentDetails object with values from keyword arguments.
Attributes:
[Required] Gets the channel_details of this CreateBlueGreenDeploymentDetails.
[Required] Gets the compartment_id of this CreateBlueGreenDeploymentDetails.
Gets the defined_tags of this CreateBlueGreenDeploymentDetails.
[Required] Gets the display_name of this CreateBlueGreenDeploymentDetails.
Gets the freeform_tags of this CreateBlueGreenDeploymentDetails.
[Required] Gets the source_db_system_id of this CreateBlueGreenDeploymentDetails.
[Required] Gets the target_db_system_details of this CreateBlueGreenDeploymentDetails.
- __init__(**kwargs)¶
Initializes a new CreateBlueGreenDeploymentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateBlueGreenDeploymentDetails.
display_name (str) – The value to assign to the display_name property of this CreateBlueGreenDeploymentDetails.
source_db_system_id (str) – The value to assign to the source_db_system_id property of this CreateBlueGreenDeploymentDetails.
target_db_system_details (oci.mysql.models.CreateBlueGreenDeploymentTargetDbSystemDetails) – The value to assign to the target_db_system_details property of this CreateBlueGreenDeploymentDetails.
channel_details (oci.mysql.models.CreateBlueGreenDeploymentChannelDetails) – The value to assign to the channel_details property of this CreateBlueGreenDeploymentDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateBlueGreenDeploymentDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateBlueGreenDeploymentDetails.
- property channel_details¶
[Required] Gets the channel_details of this CreateBlueGreenDeploymentDetails.
- Returns
The channel_details of this CreateBlueGreenDeploymentDetails.
- Return type
- property compartment_id¶
[Required] Gets the compartment_id of this CreateBlueGreenDeploymentDetails. The OCID of the compartment.
- Returns
The compartment_id of this CreateBlueGreenDeploymentDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateBlueGreenDeploymentDetails. 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 CreateBlueGreenDeploymentDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this CreateBlueGreenDeploymentDetails. The display name of the blue/green deployment.
- Returns
The display_name of this CreateBlueGreenDeploymentDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateBlueGreenDeploymentDetails. 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 CreateBlueGreenDeploymentDetails.
- Return type
dict(str, str)
- property source_db_system_id¶
[Required] Gets the source_db_system_id of this CreateBlueGreenDeploymentDetails. Source DB system OCID.
- Returns
The source_db_system_id of this CreateBlueGreenDeploymentDetails.
- Return type
str
- property target_db_system_details¶
[Required] Gets the target_db_system_details of this CreateBlueGreenDeploymentDetails.
- Returns
The target_db_system_details of this CreateBlueGreenDeploymentDetails.
- Return type
oci.mysql.models.CreateBlueGreenDeploymentTargetDbSystemDetails