1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. Mysql
  6. getBlueGreenDeployments
Viewing docs for Oracle Cloud Infrastructure v5.0.0
published on Thursday, Sep 17, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.0.0
published on Thursday, Sep 17, 2026 by Pulumi

    This data source provides the list of Blue Green Deployments in Oracle Cloud Infrastructure MySQL Database service.

    Lists blue/green deployments in a compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBlueGreenDeployments = oci.mysql.getBlueGreenDeployments({
        compartmentId: compartmentId,
        displayName: blueGreenDeploymentDisplayName,
        sourceDbSystemId: testMysqlDbSystem.id,
        state: blueGreenDeploymentState,
        targetDbSystemId: testMysqlDbSystem.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_blue_green_deployments = oci.mysql.get_blue_green_deployments(compartment_id=compartment_id,
        display_name=blue_green_deployment_display_name,
        source_db_system_id=test_mysql_db_system["id"],
        state=blue_green_deployment_state,
        target_db_system_id=test_mysql_db_system["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/mysql"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mysql.GetBlueGreenDeployments(ctx, &mysql.GetBlueGreenDeploymentsArgs{
    			CompartmentId:    compartmentId,
    			DisplayName:      pulumi.StringRef(blueGreenDeploymentDisplayName),
    			SourceDbSystemId: pulumi.StringRef(testMysqlDbSystem.Id),
    			State:            pulumi.StringRef(blueGreenDeploymentState),
    			TargetDbSystemId: pulumi.StringRef(testMysqlDbSystem.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testBlueGreenDeployments = Oci.Mysql.GetBlueGreenDeployments.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = blueGreenDeploymentDisplayName,
            SourceDbSystemId = testMysqlDbSystem.Id,
            State = blueGreenDeploymentState,
            TargetDbSystemId = testMysqlDbSystem.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Mysql.MysqlFunctions;
    import com.pulumi.oci.Mysql.inputs.GetBlueGreenDeploymentsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testBlueGreenDeployments = MysqlFunctions.getBlueGreenDeployments(GetBlueGreenDeploymentsArgs.builder()
                .compartmentId(compartmentId)
                .displayName(blueGreenDeploymentDisplayName)
                .sourceDbSystemId(testMysqlDbSystem.id())
                .state(blueGreenDeploymentState)
                .targetDbSystemId(testMysqlDbSystem.id())
                .build());
    
        }
    }
    
    variables:
      testBlueGreenDeployments:
        fn::invoke:
          function: oci:Mysql:getBlueGreenDeployments
          arguments:
            compartmentId: ${compartmentId}
            displayName: ${blueGreenDeploymentDisplayName}
            sourceDbSystemId: ${testMysqlDbSystem.id}
            state: ${blueGreenDeploymentState}
            targetDbSystemId: ${testMysqlDbSystem.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_mysql_getbluegreendeployments" "testBlueGreenDeployments" {
      compartment_id      = compartmentId
      display_name        = blueGreenDeploymentDisplayName
      source_db_system_id = testMysqlDbSystem.id
      state               = blueGreenDeploymentState
      target_db_system_id = testMysqlDbSystem.id
    }
    

    Using getBlueGreenDeployments

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getBlueGreenDeployments(args: GetBlueGreenDeploymentsArgs, opts?: InvokeOptions): Promise<GetBlueGreenDeploymentsResult>
    function getBlueGreenDeploymentsOutput(args: GetBlueGreenDeploymentsOutputArgs, opts?: InvokeOutputOptions): Output<GetBlueGreenDeploymentsResult>
    def get_blue_green_deployments(compartment_id: Optional[str] = None,
                                   display_name: Optional[str] = None,
                                   filters: Optional[Sequence[GetBlueGreenDeploymentsFilter]] = None,
                                   source_db_system_id: Optional[str] = None,
                                   state: Optional[str] = None,
                                   target_db_system_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetBlueGreenDeploymentsResult
    def get_blue_green_deployments_output(compartment_id: pulumi.Input[Optional[str]] = None,
                                   display_name: pulumi.Input[Optional[str]] = None,
                                   filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetBlueGreenDeploymentsFilterArgs]]]] = None,
                                   source_db_system_id: pulumi.Input[Optional[str]] = None,
                                   state: pulumi.Input[Optional[str]] = None,
                                   target_db_system_id: pulumi.Input[Optional[str]] = None,
                                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetBlueGreenDeploymentsResult]
    func GetBlueGreenDeployments(ctx *Context, args *GetBlueGreenDeploymentsArgs, opts ...InvokeOption) (*GetBlueGreenDeploymentsResult, error)
    func GetBlueGreenDeploymentsOutput(ctx *Context, args *GetBlueGreenDeploymentsOutputArgs, opts ...InvokeOption) GetBlueGreenDeploymentsResultOutput

    > Note: This function is named GetBlueGreenDeployments in the Go SDK.

    public static class GetBlueGreenDeployments 
    {
        public static Task<GetBlueGreenDeploymentsResult> InvokeAsync(GetBlueGreenDeploymentsArgs args, InvokeOptions? opts = null)
        public static Output<GetBlueGreenDeploymentsResult> Invoke(GetBlueGreenDeploymentsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetBlueGreenDeploymentsResult> Invoke(GetBlueGreenDeploymentsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetBlueGreenDeploymentsResult> getBlueGreenDeployments(GetBlueGreenDeploymentsArgs args, InvokeOptions options)
    public static Output<GetBlueGreenDeploymentsResult> getBlueGreenDeployments(GetBlueGreenDeploymentsArgs args, InvokeOptions options)
    public static Output<GetBlueGreenDeploymentsResult> getBlueGreenDeployments(GetBlueGreenDeploymentsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:Mysql/getBlueGreenDeployments:getBlueGreenDeployments
      arguments:
        # arguments dictionary
    data "oci_mysql_get_blue_green_deployments" "name" {
        # arguments
    }

    The following arguments are supported:

    CompartmentId string
    The compartment OCID.
    DisplayName string
    Filters deployments by display name.
    Filters List<GetBlueGreenDeploymentsFilter>
    SourceDbSystemId string
    Source DB system OCID filter.
    State string
    Filters deployments by lifecycle state.
    TargetDbSystemId string
    Target DB system OCID filter.
    CompartmentId string
    The compartment OCID.
    DisplayName string
    Filters deployments by display name.
    Filters []GetBlueGreenDeploymentsFilter
    SourceDbSystemId string
    Source DB system OCID filter.
    State string
    Filters deployments by lifecycle state.
    TargetDbSystemId string
    Target DB system OCID filter.
    compartment_id string
    The compartment OCID.
    display_name string
    Filters deployments by display name.
    filters list(object)
    source_db_system_id string
    Source DB system OCID filter.
    state string
    Filters deployments by lifecycle state.
    target_db_system_id string
    Target DB system OCID filter.
    compartmentId String
    The compartment OCID.
    displayName String
    Filters deployments by display name.
    filters List<GetBlueGreenDeploymentsFilter>
    sourceDbSystemId String
    Source DB system OCID filter.
    state String
    Filters deployments by lifecycle state.
    targetDbSystemId String
    Target DB system OCID filter.
    compartmentId string
    The compartment OCID.
    displayName string
    Filters deployments by display name.
    filters GetBlueGreenDeploymentsFilter[]
    sourceDbSystemId string
    Source DB system OCID filter.
    state string
    Filters deployments by lifecycle state.
    targetDbSystemId string
    Target DB system OCID filter.
    compartment_id str
    The compartment OCID.
    display_name str
    Filters deployments by display name.
    filters Sequence[GetBlueGreenDeploymentsFilter]
    source_db_system_id str
    Source DB system OCID filter.
    state str
    Filters deployments by lifecycle state.
    target_db_system_id str
    Target DB system OCID filter.
    compartmentId String
    The compartment OCID.
    displayName String
    Filters deployments by display name.
    filters List<Property Map>
    sourceDbSystemId String
    Source DB system OCID filter.
    state String
    Filters deployments by lifecycle state.
    targetDbSystemId String
    Target DB system OCID filter.

    getBlueGreenDeployments Result

    The following output properties are available:

    BlueGreenDeploymentCollections List<GetBlueGreenDeploymentsBlueGreenDeploymentCollection>
    The list of blue_green_deployment_collection.
    CompartmentId string
    The OCID of the compartment.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    The display name of the blue/green deployment.
    Filters List<GetBlueGreenDeploymentsFilter>
    SourceDbSystemId string
    Blue/original source DB system OCID for the deployment pair.
    State string
    The current lifecycle state.
    TargetDbSystemId string
    Green/target DB system OCID for the deployment pair.
    BlueGreenDeploymentCollections []GetBlueGreenDeploymentsBlueGreenDeploymentCollection
    The list of blue_green_deployment_collection.
    CompartmentId string
    The OCID of the compartment.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    The display name of the blue/green deployment.
    Filters []GetBlueGreenDeploymentsFilter
    SourceDbSystemId string
    Blue/original source DB system OCID for the deployment pair.
    State string
    The current lifecycle state.
    TargetDbSystemId string
    Green/target DB system OCID for the deployment pair.
    blue_green_deployment_collections list(object)
    The list of blue_green_deployment_collection.
    compartment_id string
    The OCID of the compartment.
    id string
    The provider-assigned unique ID for this managed resource.
    display_name string
    The display name of the blue/green deployment.
    filters list(object)
    source_db_system_id string
    Blue/original source DB system OCID for the deployment pair.
    state string
    The current lifecycle state.
    target_db_system_id string
    Green/target DB system OCID for the deployment pair.
    blueGreenDeploymentCollections List<GetBlueGreenDeploymentsBlueGreenDeploymentCollection>
    The list of blue_green_deployment_collection.
    compartmentId String
    The OCID of the compartment.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    The display name of the blue/green deployment.
    filters List<GetBlueGreenDeploymentsFilter>
    sourceDbSystemId String
    Blue/original source DB system OCID for the deployment pair.
    state String
    The current lifecycle state.
    targetDbSystemId String
    Green/target DB system OCID for the deployment pair.
    blueGreenDeploymentCollections GetBlueGreenDeploymentsBlueGreenDeploymentCollection[]
    The list of blue_green_deployment_collection.
    compartmentId string
    The OCID of the compartment.
    id string
    The provider-assigned unique ID for this managed resource.
    displayName string
    The display name of the blue/green deployment.
    filters GetBlueGreenDeploymentsFilter[]
    sourceDbSystemId string
    Blue/original source DB system OCID for the deployment pair.
    state string
    The current lifecycle state.
    targetDbSystemId string
    Green/target DB system OCID for the deployment pair.
    blue_green_deployment_collections Sequence[GetBlueGreenDeploymentsBlueGreenDeploymentCollection]
    The list of blue_green_deployment_collection.
    compartment_id str
    The OCID of the compartment.
    id str
    The provider-assigned unique ID for this managed resource.
    display_name str
    The display name of the blue/green deployment.
    filters Sequence[GetBlueGreenDeploymentsFilter]
    source_db_system_id str
    Blue/original source DB system OCID for the deployment pair.
    state str
    The current lifecycle state.
    target_db_system_id str
    Green/target DB system OCID for the deployment pair.
    blueGreenDeploymentCollections List<Property Map>
    The list of blue_green_deployment_collection.
    compartmentId String
    The OCID of the compartment.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    The display name of the blue/green deployment.
    filters List<Property Map>
    sourceDbSystemId String
    Blue/original source DB system OCID for the deployment pair.
    state String
    The current lifecycle state.
    targetDbSystemId String
    Green/target DB system OCID for the deployment pair.

    Supporting Types

    GetBlueGreenDeploymentsBlueGreenDeploymentCollection

    GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItem

    ActiveDbSystemId string
    The DB system OCID that currently owns the client-facing VIP and serves traffic.
    ChannelDetails List<GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetail>
    CompartmentId string
    The compartment OCID.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DeleteTargetDbSystemOnDelete bool
    Whether to delete the target DB System when this Blue/Green deployment is deleted.
    DisplayName string
    Filters deployments by display name.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The OCID of the blue/green deployment.
    LifecycleDetails string
    Additional lifecycle details.
    ReplicationChannelId string
    Replication channel OCID.
    SourceDbSystemId string
    Source DB system OCID filter.
    SslMode string
    SSL mode used for the replication channel created by the blue/green workflow.
    State string
    Filters deployments by lifecycle state.
    SwitchoverStatus string
    Stage of the most recent switchover workflow. SWITCHOVER_FAILED indicates terminal switchover failure.
    SwitchoverTrigger int
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetDbSystemDetails List<GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemTargetDbSystemDetail>
    Target DB System details for a blue/green deployment.
    TargetDbSystemId string
    Target DB system OCID filter.
    TimeCreated string
    The time the deployment was created.
    TimeUpdated string
    The time the deployment was last updated.
    ActiveDbSystemId string
    The DB system OCID that currently owns the client-facing VIP and serves traffic.
    ChannelDetails []GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetail
    CompartmentId string
    The compartment OCID.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DeleteTargetDbSystemOnDelete bool
    Whether to delete the target DB System when this Blue/Green deployment is deleted.
    DisplayName string
    Filters deployments by display name.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The OCID of the blue/green deployment.
    LifecycleDetails string
    Additional lifecycle details.
    ReplicationChannelId string
    Replication channel OCID.
    SourceDbSystemId string
    Source DB system OCID filter.
    SslMode string
    SSL mode used for the replication channel created by the blue/green workflow.
    State string
    Filters deployments by lifecycle state.
    SwitchoverStatus string
    Stage of the most recent switchover workflow. SWITCHOVER_FAILED indicates terminal switchover failure.
    SwitchoverTrigger int
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetDbSystemDetails []GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemTargetDbSystemDetail
    Target DB System details for a blue/green deployment.
    TargetDbSystemId string
    Target DB system OCID filter.
    TimeCreated string
    The time the deployment was created.
    TimeUpdated string
    The time the deployment was last updated.
    active_db_system_id string
    The DB system OCID that currently owns the client-facing VIP and serves traffic.
    channel_details list(object)
    compartment_id string
    The compartment OCID.
    defined_tags map(string)
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    delete_target_db_system_on_delete bool
    Whether to delete the target DB System when this Blue/Green deployment is deleted.
    display_name string
    Filters deployments by display name.
    freeform_tags map(string)
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    The OCID of the blue/green deployment.
    lifecycle_details string
    Additional lifecycle details.
    replication_channel_id string
    Replication channel OCID.
    source_db_system_id string
    Source DB system OCID filter.
    ssl_mode string
    SSL mode used for the replication channel created by the blue/green workflow.
    state string
    Filters deployments by lifecycle state.
    switchover_status string
    Stage of the most recent switchover workflow. SWITCHOVER_FAILED indicates terminal switchover failure.
    switchover_trigger number
    system_tags map(string)
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_db_system_details list(object)
    Target DB System details for a blue/green deployment.
    target_db_system_id string
    Target DB system OCID filter.
    time_created string
    The time the deployment was created.
    time_updated string
    The time the deployment was last updated.
    activeDbSystemId String
    The DB system OCID that currently owns the client-facing VIP and serves traffic.
    channelDetails List<GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetail>
    compartmentId String
    The compartment OCID.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    deleteTargetDbSystemOnDelete Boolean
    Whether to delete the target DB System when this Blue/Green deployment is deleted.
    displayName String
    Filters deployments by display name.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The OCID of the blue/green deployment.
    lifecycleDetails String
    Additional lifecycle details.
    replicationChannelId String
    Replication channel OCID.
    sourceDbSystemId String
    Source DB system OCID filter.
    sslMode String
    SSL mode used for the replication channel created by the blue/green workflow.
    state String
    Filters deployments by lifecycle state.
    switchoverStatus String
    Stage of the most recent switchover workflow. SWITCHOVER_FAILED indicates terminal switchover failure.
    switchoverTrigger Integer
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetDbSystemDetails List<GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemTargetDbSystemDetail>
    Target DB System details for a blue/green deployment.
    targetDbSystemId String
    Target DB system OCID filter.
    timeCreated String
    The time the deployment was created.
    timeUpdated String
    The time the deployment was last updated.
    activeDbSystemId string
    The DB system OCID that currently owns the client-facing VIP and serves traffic.
    channelDetails GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetail[]
    compartmentId string
    The compartment OCID.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    deleteTargetDbSystemOnDelete boolean
    Whether to delete the target DB System when this Blue/Green deployment is deleted.
    displayName string
    Filters deployments by display name.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    The OCID of the blue/green deployment.
    lifecycleDetails string
    Additional lifecycle details.
    replicationChannelId string
    Replication channel OCID.
    sourceDbSystemId string
    Source DB system OCID filter.
    sslMode string
    SSL mode used for the replication channel created by the blue/green workflow.
    state string
    Filters deployments by lifecycle state.
    switchoverStatus string
    Stage of the most recent switchover workflow. SWITCHOVER_FAILED indicates terminal switchover failure.
    switchoverTrigger number
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetDbSystemDetails GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemTargetDbSystemDetail[]
    Target DB System details for a blue/green deployment.
    targetDbSystemId string
    Target DB system OCID filter.
    timeCreated string
    The time the deployment was created.
    timeUpdated string
    The time the deployment was last updated.
    active_db_system_id str
    The DB system OCID that currently owns the client-facing VIP and serves traffic.
    channel_details Sequence[GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetail]
    compartment_id str
    The compartment OCID.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    delete_target_db_system_on_delete bool
    Whether to delete the target DB System when this Blue/Green deployment is deleted.
    display_name str
    Filters deployments by display name.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    The OCID of the blue/green deployment.
    lifecycle_details str
    Additional lifecycle details.
    replication_channel_id str
    Replication channel OCID.
    source_db_system_id str
    Source DB system OCID filter.
    ssl_mode str
    SSL mode used for the replication channel created by the blue/green workflow.
    state str
    Filters deployments by lifecycle state.
    switchover_status str
    Stage of the most recent switchover workflow. SWITCHOVER_FAILED indicates terminal switchover failure.
    switchover_trigger int
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_db_system_details Sequence[GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemTargetDbSystemDetail]
    Target DB System details for a blue/green deployment.
    target_db_system_id str
    Target DB system OCID filter.
    time_created str
    The time the deployment was created.
    time_updated str
    The time the deployment was last updated.
    activeDbSystemId String
    The DB system OCID that currently owns the client-facing VIP and serves traffic.
    channelDetails List<Property Map>
    compartmentId String
    The compartment OCID.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    deleteTargetDbSystemOnDelete Boolean
    Whether to delete the target DB System when this Blue/Green deployment is deleted.
    displayName String
    Filters deployments by display name.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The OCID of the blue/green deployment.
    lifecycleDetails String
    Additional lifecycle details.
    replicationChannelId String
    Replication channel OCID.
    sourceDbSystemId String
    Source DB system OCID filter.
    sslMode String
    SSL mode used for the replication channel created by the blue/green workflow.
    state String
    Filters deployments by lifecycle state.
    switchoverStatus String
    Stage of the most recent switchover workflow. SWITCHOVER_FAILED indicates terminal switchover failure.
    switchoverTrigger Number
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetDbSystemDetails List<Property Map>
    Target DB System details for a blue/green deployment.
    targetDbSystemId String
    Target DB system OCID filter.
    timeCreated String
    The time the deployment was created.
    timeUpdated String
    The time the deployment was last updated.

    GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetail

    ApplierUsername string
    SourcePassword string
    SourceUsername string
    SslCaCertificates List<GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetailSslCaCertificate>
    SslMode string
    SSL mode used for the replication channel created by the blue/green workflow.
    ApplierUsername string
    SourcePassword string
    SourceUsername string
    SslCaCertificates []GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetailSslCaCertificate
    SslMode string
    SSL mode used for the replication channel created by the blue/green workflow.
    applier_username string
    source_password string
    source_username string
    ssl_ca_certificates list(object)
    ssl_mode string
    SSL mode used for the replication channel created by the blue/green workflow.
    applierUsername String
    sourcePassword String
    sourceUsername String
    sslCaCertificates List<GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetailSslCaCertificate>
    sslMode String
    SSL mode used for the replication channel created by the blue/green workflow.
    applierUsername string
    sourcePassword string
    sourceUsername string
    sslCaCertificates GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetailSslCaCertificate[]
    sslMode string
    SSL mode used for the replication channel created by the blue/green workflow.
    applierUsername String
    sourcePassword String
    sourceUsername String
    sslCaCertificates List<Property Map>
    sslMode String
    SSL mode used for the replication channel created by the blue/green workflow.

    GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemChannelDetailSslCaCertificate

    GetBlueGreenDeploymentsBlueGreenDeploymentCollectionItemTargetDbSystemDetail

    ConfigurationId string
    The OCID of the configuration applied to the target DB System.
    DataStorageSizeInGb int
    Initial data storage size in GiBs for the target DB System.
    MysqlVersion string
    Target MySQL engine version.
    ShapeName string
    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 ListShapes operation.
    ConfigurationId string
    The OCID of the configuration applied to the target DB System.
    DataStorageSizeInGb int
    Initial data storage size in GiBs for the target DB System.
    MysqlVersion string
    Target MySQL engine version.
    ShapeName string
    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 ListShapes operation.
    configuration_id string
    The OCID of the configuration applied to the target DB System.
    data_storage_size_in_gb number
    Initial data storage size in GiBs for the target DB System.
    mysql_version string
    Target MySQL engine version.
    shape_name string
    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 ListShapes operation.
    configurationId String
    The OCID of the configuration applied to the target DB System.
    dataStorageSizeInGb Integer
    Initial data storage size in GiBs for the target DB System.
    mysqlVersion String
    Target MySQL engine version.
    shapeName String
    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 ListShapes operation.
    configurationId string
    The OCID of the configuration applied to the target DB System.
    dataStorageSizeInGb number
    Initial data storage size in GiBs for the target DB System.
    mysqlVersion string
    Target MySQL engine version.
    shapeName string
    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 ListShapes operation.
    configuration_id str
    The OCID of the configuration applied to the target DB System.
    data_storage_size_in_gb int
    Initial data storage size in GiBs for the target DB System.
    mysql_version str
    Target MySQL engine version.
    shape_name str
    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 ListShapes operation.
    configurationId String
    The OCID of the configuration applied to the target DB System.
    dataStorageSizeInGb Number
    Initial data storage size in GiBs for the target DB System.
    mysqlVersion String
    Target MySQL engine version.
    shapeName String
    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 ListShapes operation.

    GetBlueGreenDeploymentsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name string
    values list(string)
    regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.0.0
    published on Thursday, Sep 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial