1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. AutonomousContainerDatabaseDataguardAssociation
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.Database.AutonomousContainerDatabaseDataguardAssociation

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    This resource provides the Autonomous Container Database Dataguard Association resource in Oracle Cloud Infrastructure Database service.

    Create a new Autonomous Data Guard association. An Autonomous Data Guard association represents the replication relationship between the specified Autonomous Container database and a peer Autonomous Container database. For more information, see Using Oracle Data Guard.

    All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource’s OCID by using a List API operation on that resource type, or by viewing the resource in the Console. For more information, see Resource Identifiers.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAutonomousContainerDatabaseDataguardAssociation = new oci.database.AutonomousContainerDatabaseDataguardAssociation("testAutonomousContainerDatabaseDataguardAssociation", {
        autonomousContainerDatabaseId: oci_database_autonomous_container_database.test_autonomous_container_database.id,
        peerAutonomousContainerDatabaseDisplayName: _var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_display_name,
        protectionMode: _var.autonomous_container_database_dataguard_association_protection_mode,
        fastStartFailOverLagLimitInSeconds: _var.autonomous_container_database_dataguard_association_fast_start_fail_over_lag_limit_in_seconds,
        isAutomaticFailoverEnabled: _var.autonomous_container_database_dataguard_association_is_automatic_failover_enabled,
        peerAutonomousContainerDatabaseBackupConfig: {
            backupDestinationDetails: [{
                type: _var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_type,
                dbrsPolicyId: oci_identity_policy.test_policy.id,
                id: _var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_id,
                internetProxy: _var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_internet_proxy,
                vpcPassword: _var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_password,
                vpcUser: _var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_user,
            }],
            recoveryWindowInDays: _var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_recovery_window_in_days,
        },
        peerAutonomousContainerDatabaseCompartmentId: oci_identity_compartment.test_compartment.id,
        peerAutonomousVmClusterId: oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster.id,
        peerCloudAutonomousVmClusterId: oci_database_cloud_autonomous_vm_cluster.test_cloud_autonomous_vm_cluster.id,
        peerDbUniqueName: _var.autonomous_container_database_dataguard_association_peer_db_unique_name,
        standbyMaintenanceBufferInDays: _var.autonomous_container_database_dataguard_association_standby_maintenance_buffer_in_days,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_autonomous_container_database_dataguard_association = oci.database.AutonomousContainerDatabaseDataguardAssociation("testAutonomousContainerDatabaseDataguardAssociation",
        autonomous_container_database_id=oci_database_autonomous_container_database["test_autonomous_container_database"]["id"],
        peer_autonomous_container_database_display_name=var["autonomous_container_database_dataguard_association_peer_autonomous_container_database_display_name"],
        protection_mode=var["autonomous_container_database_dataguard_association_protection_mode"],
        fast_start_fail_over_lag_limit_in_seconds=var["autonomous_container_database_dataguard_association_fast_start_fail_over_lag_limit_in_seconds"],
        is_automatic_failover_enabled=var["autonomous_container_database_dataguard_association_is_automatic_failover_enabled"],
        peer_autonomous_container_database_backup_config=oci.database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs(
            backup_destination_details=[oci.database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs(
                type=var["autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_type"],
                dbrs_policy_id=oci_identity_policy["test_policy"]["id"],
                id=var["autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_id"],
                internet_proxy=var["autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_internet_proxy"],
                vpc_password=var["autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_password"],
                vpc_user=var["autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_user"],
            )],
            recovery_window_in_days=var["autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_recovery_window_in_days"],
        ),
        peer_autonomous_container_database_compartment_id=oci_identity_compartment["test_compartment"]["id"],
        peer_autonomous_vm_cluster_id=oci_database_autonomous_vm_cluster["test_autonomous_vm_cluster"]["id"],
        peer_cloud_autonomous_vm_cluster_id=oci_database_cloud_autonomous_vm_cluster["test_cloud_autonomous_vm_cluster"]["id"],
        peer_db_unique_name=var["autonomous_container_database_dataguard_association_peer_db_unique_name"],
        standby_maintenance_buffer_in_days=var["autonomous_container_database_dataguard_association_standby_maintenance_buffer_in_days"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Database.NewAutonomousContainerDatabaseDataguardAssociation(ctx, "testAutonomousContainerDatabaseDataguardAssociation", &Database.AutonomousContainerDatabaseDataguardAssociationArgs{
    			AutonomousContainerDatabaseId:              pulumi.Any(oci_database_autonomous_container_database.Test_autonomous_container_database.Id),
    			PeerAutonomousContainerDatabaseDisplayName: pulumi.Any(_var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_display_name),
    			ProtectionMode:                             pulumi.Any(_var.Autonomous_container_database_dataguard_association_protection_mode),
    			FastStartFailOverLagLimitInSeconds:         pulumi.Any(_var.Autonomous_container_database_dataguard_association_fast_start_fail_over_lag_limit_in_seconds),
    			IsAutomaticFailoverEnabled:                 pulumi.Any(_var.Autonomous_container_database_dataguard_association_is_automatic_failover_enabled),
    			PeerAutonomousContainerDatabaseBackupConfig: &database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs{
    				BackupDestinationDetails: database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArray{
    					&database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs{
    						Type:          pulumi.Any(_var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_type),
    						DbrsPolicyId:  pulumi.Any(oci_identity_policy.Test_policy.Id),
    						Id:            pulumi.Any(_var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_id),
    						InternetProxy: pulumi.Any(_var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_internet_proxy),
    						VpcPassword:   pulumi.Any(_var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_password),
    						VpcUser:       pulumi.Any(_var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_user),
    					},
    				},
    				RecoveryWindowInDays: pulumi.Any(_var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_recovery_window_in_days),
    			},
    			PeerAutonomousContainerDatabaseCompartmentId: pulumi.Any(oci_identity_compartment.Test_compartment.Id),
    			PeerAutonomousVmClusterId:                    pulumi.Any(oci_database_autonomous_vm_cluster.Test_autonomous_vm_cluster.Id),
    			PeerCloudAutonomousVmClusterId:               pulumi.Any(oci_database_cloud_autonomous_vm_cluster.Test_cloud_autonomous_vm_cluster.Id),
    			PeerDbUniqueName:                             pulumi.Any(_var.Autonomous_container_database_dataguard_association_peer_db_unique_name),
    			StandbyMaintenanceBufferInDays:               pulumi.Any(_var.Autonomous_container_database_dataguard_association_standby_maintenance_buffer_in_days),
    		})
    		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 testAutonomousContainerDatabaseDataguardAssociation = new Oci.Database.AutonomousContainerDatabaseDataguardAssociation("testAutonomousContainerDatabaseDataguardAssociation", new()
        {
            AutonomousContainerDatabaseId = oci_database_autonomous_container_database.Test_autonomous_container_database.Id,
            PeerAutonomousContainerDatabaseDisplayName = @var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_display_name,
            ProtectionMode = @var.Autonomous_container_database_dataguard_association_protection_mode,
            FastStartFailOverLagLimitInSeconds = @var.Autonomous_container_database_dataguard_association_fast_start_fail_over_lag_limit_in_seconds,
            IsAutomaticFailoverEnabled = @var.Autonomous_container_database_dataguard_association_is_automatic_failover_enabled,
            PeerAutonomousContainerDatabaseBackupConfig = new Oci.Database.Inputs.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
            {
                BackupDestinationDetails = new[]
                {
                    new Oci.Database.Inputs.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs
                    {
                        Type = @var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_type,
                        DbrsPolicyId = oci_identity_policy.Test_policy.Id,
                        Id = @var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_id,
                        InternetProxy = @var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_internet_proxy,
                        VpcPassword = @var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_password,
                        VpcUser = @var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_user,
                    },
                },
                RecoveryWindowInDays = @var.Autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_recovery_window_in_days,
            },
            PeerAutonomousContainerDatabaseCompartmentId = oci_identity_compartment.Test_compartment.Id,
            PeerAutonomousVmClusterId = oci_database_autonomous_vm_cluster.Test_autonomous_vm_cluster.Id,
            PeerCloudAutonomousVmClusterId = oci_database_cloud_autonomous_vm_cluster.Test_cloud_autonomous_vm_cluster.Id,
            PeerDbUniqueName = @var.Autonomous_container_database_dataguard_association_peer_db_unique_name,
            StandbyMaintenanceBufferInDays = @var.Autonomous_container_database_dataguard_association_standby_maintenance_buffer_in_days,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Database.AutonomousContainerDatabaseDataguardAssociation;
    import com.pulumi.oci.Database.AutonomousContainerDatabaseDataguardAssociationArgs;
    import com.pulumi.oci.Database.inputs.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            var testAutonomousContainerDatabaseDataguardAssociation = new AutonomousContainerDatabaseDataguardAssociation("testAutonomousContainerDatabaseDataguardAssociation", AutonomousContainerDatabaseDataguardAssociationArgs.builder()        
                .autonomousContainerDatabaseId(oci_database_autonomous_container_database.test_autonomous_container_database().id())
                .peerAutonomousContainerDatabaseDisplayName(var_.autonomous_container_database_dataguard_association_peer_autonomous_container_database_display_name())
                .protectionMode(var_.autonomous_container_database_dataguard_association_protection_mode())
                .fastStartFailOverLagLimitInSeconds(var_.autonomous_container_database_dataguard_association_fast_start_fail_over_lag_limit_in_seconds())
                .isAutomaticFailoverEnabled(var_.autonomous_container_database_dataguard_association_is_automatic_failover_enabled())
                .peerAutonomousContainerDatabaseBackupConfig(AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs.builder()
                    .backupDestinationDetails(AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs.builder()
                        .type(var_.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_type())
                        .dbrsPolicyId(oci_identity_policy.test_policy().id())
                        .id(var_.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_id())
                        .internetProxy(var_.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_internet_proxy())
                        .vpcPassword(var_.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_password())
                        .vpcUser(var_.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_user())
                        .build())
                    .recoveryWindowInDays(var_.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_recovery_window_in_days())
                    .build())
                .peerAutonomousContainerDatabaseCompartmentId(oci_identity_compartment.test_compartment().id())
                .peerAutonomousVmClusterId(oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster().id())
                .peerCloudAutonomousVmClusterId(oci_database_cloud_autonomous_vm_cluster.test_cloud_autonomous_vm_cluster().id())
                .peerDbUniqueName(var_.autonomous_container_database_dataguard_association_peer_db_unique_name())
                .standbyMaintenanceBufferInDays(var_.autonomous_container_database_dataguard_association_standby_maintenance_buffer_in_days())
                .build());
    
        }
    }
    
    resources:
      testAutonomousContainerDatabaseDataguardAssociation:
        type: oci:Database:AutonomousContainerDatabaseDataguardAssociation
        properties:
          #Required
          autonomousContainerDatabaseId: ${oci_database_autonomous_container_database.test_autonomous_container_database.id}
          peerAutonomousContainerDatabaseDisplayName: ${var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_display_name}
          protectionMode: ${var.autonomous_container_database_dataguard_association_protection_mode}
          #Optional
          fastStartFailOverLagLimitInSeconds: ${var.autonomous_container_database_dataguard_association_fast_start_fail_over_lag_limit_in_seconds}
          isAutomaticFailoverEnabled: ${var.autonomous_container_database_dataguard_association_is_automatic_failover_enabled}
          peerAutonomousContainerDatabaseBackupConfig:
            backupDestinationDetails:
              - type: ${var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_type}
                dbrsPolicyId: ${oci_identity_policy.test_policy.id}
                id: ${var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_id}
                internetProxy: ${var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_internet_proxy}
                vpcPassword: ${var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_password}
                vpcUser: ${var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_user}
            recoveryWindowInDays: ${var.autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_recovery_window_in_days}
          peerAutonomousContainerDatabaseCompartmentId: ${oci_identity_compartment.test_compartment.id}
          peerAutonomousVmClusterId: ${oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster.id}
          peerCloudAutonomousVmClusterId: ${oci_database_cloud_autonomous_vm_cluster.test_cloud_autonomous_vm_cluster.id}
          peerDbUniqueName: ${var.autonomous_container_database_dataguard_association_peer_db_unique_name}
          standbyMaintenanceBufferInDays: ${var.autonomous_container_database_dataguard_association_standby_maintenance_buffer_in_days}
    

    Create AutonomousContainerDatabaseDataguardAssociation Resource

    new AutonomousContainerDatabaseDataguardAssociation(name: string, args: AutonomousContainerDatabaseDataguardAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def AutonomousContainerDatabaseDataguardAssociation(resource_name: str,
                                                        opts: Optional[ResourceOptions] = None,
                                                        autonomous_container_database_dataguard_association_id: Optional[str] = None,
                                                        autonomous_container_database_id: Optional[str] = None,
                                                        fast_start_fail_over_lag_limit_in_seconds: Optional[int] = None,
                                                        is_automatic_failover_enabled: Optional[bool] = None,
                                                        peer_autonomous_container_database_backup_config: Optional[_database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs] = None,
                                                        peer_autonomous_container_database_compartment_id: Optional[str] = None,
                                                        peer_autonomous_container_database_display_name: Optional[str] = None,
                                                        peer_autonomous_vm_cluster_id: Optional[str] = None,
                                                        peer_cloud_autonomous_vm_cluster_id: Optional[str] = None,
                                                        peer_db_unique_name: Optional[str] = None,
                                                        protection_mode: Optional[str] = None,
                                                        standby_maintenance_buffer_in_days: Optional[int] = None)
    @overload
    def AutonomousContainerDatabaseDataguardAssociation(resource_name: str,
                                                        args: AutonomousContainerDatabaseDataguardAssociationArgs,
                                                        opts: Optional[ResourceOptions] = None)
    func NewAutonomousContainerDatabaseDataguardAssociation(ctx *Context, name string, args AutonomousContainerDatabaseDataguardAssociationArgs, opts ...ResourceOption) (*AutonomousContainerDatabaseDataguardAssociation, error)
    public AutonomousContainerDatabaseDataguardAssociation(string name, AutonomousContainerDatabaseDataguardAssociationArgs args, CustomResourceOptions? opts = null)
    public AutonomousContainerDatabaseDataguardAssociation(String name, AutonomousContainerDatabaseDataguardAssociationArgs args)
    public AutonomousContainerDatabaseDataguardAssociation(String name, AutonomousContainerDatabaseDataguardAssociationArgs args, CustomResourceOptions options)
    
    type: oci:Database:AutonomousContainerDatabaseDataguardAssociation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AutonomousContainerDatabaseDataguardAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AutonomousContainerDatabaseDataguardAssociationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AutonomousContainerDatabaseDataguardAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutonomousContainerDatabaseDataguardAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutonomousContainerDatabaseDataguardAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AutonomousContainerDatabaseDataguardAssociation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AutonomousContainerDatabaseDataguardAssociation resource accepts the following input properties:

    AutonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    PeerAutonomousContainerDatabaseDisplayName string
    The display name for the peer Autonomous Container Database.
    ProtectionMode string

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AutonomousContainerDatabaseDataguardAssociationId string
    FastStartFailOverLagLimitInSeconds int
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    IsAutomaticFailoverEnabled bool
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    PeerAutonomousContainerDatabaseBackupConfig AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig
    Backup options for the standby Autonomous Container Database.
    PeerAutonomousContainerDatabaseCompartmentId string
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    PeerAutonomousVmClusterId string
    The OCID of the peer Autonomous Exadata VM Cluster.
    PeerCloudAutonomousVmClusterId string
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    PeerDbUniqueName string
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    StandbyMaintenanceBufferInDays int
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    AutonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    PeerAutonomousContainerDatabaseDisplayName string
    The display name for the peer Autonomous Container Database.
    ProtectionMode string

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AutonomousContainerDatabaseDataguardAssociationId string
    FastStartFailOverLagLimitInSeconds int
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    IsAutomaticFailoverEnabled bool
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    PeerAutonomousContainerDatabaseBackupConfig AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
    Backup options for the standby Autonomous Container Database.
    PeerAutonomousContainerDatabaseCompartmentId string
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    PeerAutonomousVmClusterId string
    The OCID of the peer Autonomous Exadata VM Cluster.
    PeerCloudAutonomousVmClusterId string
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    PeerDbUniqueName string
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    StandbyMaintenanceBufferInDays int
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    autonomousContainerDatabaseId String
    The Autonomous Container Database OCID.
    peerAutonomousContainerDatabaseDisplayName String
    The display name for the peer Autonomous Container Database.
    protectionMode String

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomousContainerDatabaseDataguardAssociationId String
    fastStartFailOverLagLimitInSeconds Integer
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    isAutomaticFailoverEnabled Boolean
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    peerAutonomousContainerDatabaseBackupConfig AutonomousContainerDataguardAssociationPeerAutonomousContainerBackupConfig
    Backup options for the standby Autonomous Container Database.
    peerAutonomousContainerDatabaseCompartmentId String
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    peerAutonomousVmClusterId String
    The OCID of the peer Autonomous Exadata VM Cluster.
    peerCloudAutonomousVmClusterId String
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    peerDbUniqueName String
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    standbyMaintenanceBufferInDays Integer
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    autonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    peerAutonomousContainerDatabaseDisplayName string
    The display name for the peer Autonomous Container Database.
    protectionMode string

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomousContainerDatabaseDataguardAssociationId string
    fastStartFailOverLagLimitInSeconds number
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    isAutomaticFailoverEnabled boolean
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    peerAutonomousContainerDatabaseBackupConfig AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig
    Backup options for the standby Autonomous Container Database.
    peerAutonomousContainerDatabaseCompartmentId string
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    peerAutonomousVmClusterId string
    The OCID of the peer Autonomous Exadata VM Cluster.
    peerCloudAutonomousVmClusterId string
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    peerDbUniqueName string
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    standbyMaintenanceBufferInDays number
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    autonomous_container_database_id str
    The Autonomous Container Database OCID.
    peer_autonomous_container_database_display_name str
    The display name for the peer Autonomous Container Database.
    protection_mode str

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomous_container_database_dataguard_association_id str
    fast_start_fail_over_lag_limit_in_seconds int
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    is_automatic_failover_enabled bool
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    peer_autonomous_container_database_backup_config AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
    Backup options for the standby Autonomous Container Database.
    peer_autonomous_container_database_compartment_id str
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    peer_autonomous_vm_cluster_id str
    The OCID of the peer Autonomous Exadata VM Cluster.
    peer_cloud_autonomous_vm_cluster_id str
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    peer_db_unique_name str
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    standby_maintenance_buffer_in_days int
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    autonomousContainerDatabaseId String
    The Autonomous Container Database OCID.
    peerAutonomousContainerDatabaseDisplayName String
    The display name for the peer Autonomous Container Database.
    protectionMode String

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomousContainerDatabaseDataguardAssociationId String
    fastStartFailOverLagLimitInSeconds Number
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    isAutomaticFailoverEnabled Boolean
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    peerAutonomousContainerDatabaseBackupConfig Property Map
    Backup options for the standby Autonomous Container Database.
    peerAutonomousContainerDatabaseCompartmentId String
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    peerAutonomousVmClusterId String
    The OCID of the peer Autonomous Exadata VM Cluster.
    peerCloudAutonomousVmClusterId String
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    peerDbUniqueName String
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    standbyMaintenanceBufferInDays Number
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AutonomousContainerDatabaseDataguardAssociation resource produces the following output properties:

    ApplyLag string
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    ApplyRate string
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Additional information about the current lifecycleState, if available.
    PeerAutonomousContainerDatabaseDataguardAssociationId string
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    PeerAutonomousContainerDatabaseId string
    The OCID of the peer Autonomous Container Database.
    PeerLifecycleState string
    The current state of the Autonomous Container Database.
    PeerRole string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    Role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    State string
    The current state of Autonomous Data Guard.
    TimeCreated string
    The date and time the Autonomous DataGuard association was created.
    TimeLastRoleChanged string
    The date and time when the last role change action happened.
    TimeLastSynced string
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    TransportLag string
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds
    ApplyLag string
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    ApplyRate string
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Additional information about the current lifecycleState, if available.
    PeerAutonomousContainerDatabaseDataguardAssociationId string
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    PeerAutonomousContainerDatabaseId string
    The OCID of the peer Autonomous Container Database.
    PeerLifecycleState string
    The current state of the Autonomous Container Database.
    PeerRole string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    Role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    State string
    The current state of Autonomous Data Guard.
    TimeCreated string
    The date and time the Autonomous DataGuard association was created.
    TimeLastRoleChanged string
    The date and time when the last role change action happened.
    TimeLastSynced string
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    TransportLag string
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds
    applyLag String
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    applyRate String
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Additional information about the current lifecycleState, if available.
    peerAutonomousContainerDatabaseDataguardAssociationId String
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    peerAutonomousContainerDatabaseId String
    The OCID of the peer Autonomous Container Database.
    peerLifecycleState String
    The current state of the Autonomous Container Database.
    peerRole String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    role String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    state String
    The current state of Autonomous Data Guard.
    timeCreated String
    The date and time the Autonomous DataGuard association was created.
    timeLastRoleChanged String
    The date and time when the last role change action happened.
    timeLastSynced String
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    transportLag String
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds
    applyLag string
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    applyRate string
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    Additional information about the current lifecycleState, if available.
    peerAutonomousContainerDatabaseDataguardAssociationId string
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    peerAutonomousContainerDatabaseId string
    The OCID of the peer Autonomous Container Database.
    peerLifecycleState string
    The current state of the Autonomous Container Database.
    peerRole string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    state string
    The current state of Autonomous Data Guard.
    timeCreated string
    The date and time the Autonomous DataGuard association was created.
    timeLastRoleChanged string
    The date and time when the last role change action happened.
    timeLastSynced string
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    transportLag string
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds
    apply_lag str
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    apply_rate str
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    Additional information about the current lifecycleState, if available.
    peer_autonomous_container_database_dataguard_association_id str
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    peer_autonomous_container_database_id str
    The OCID of the peer Autonomous Container Database.
    peer_lifecycle_state str
    The current state of the Autonomous Container Database.
    peer_role str
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    role str
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    state str
    The current state of Autonomous Data Guard.
    time_created str
    The date and time the Autonomous DataGuard association was created.
    time_last_role_changed str
    The date and time when the last role change action happened.
    time_last_synced str
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    transport_lag str
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds
    applyLag String
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    applyRate String
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Additional information about the current lifecycleState, if available.
    peerAutonomousContainerDatabaseDataguardAssociationId String
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    peerAutonomousContainerDatabaseId String
    The OCID of the peer Autonomous Container Database.
    peerLifecycleState String
    The current state of the Autonomous Container Database.
    peerRole String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    role String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    state String
    The current state of Autonomous Data Guard.
    timeCreated String
    The date and time the Autonomous DataGuard association was created.
    timeLastRoleChanged String
    The date and time when the last role change action happened.
    timeLastSynced String
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    transportLag String
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds

    Look up Existing AutonomousContainerDatabaseDataguardAssociation Resource

    Get an existing AutonomousContainerDatabaseDataguardAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AutonomousContainerDatabaseDataguardAssociationState, opts?: CustomResourceOptions): AutonomousContainerDatabaseDataguardAssociation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            apply_lag: Optional[str] = None,
            apply_rate: Optional[str] = None,
            autonomous_container_database_dataguard_association_id: Optional[str] = None,
            autonomous_container_database_id: Optional[str] = None,
            fast_start_fail_over_lag_limit_in_seconds: Optional[int] = None,
            is_automatic_failover_enabled: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            peer_autonomous_container_database_backup_config: Optional[_database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs] = None,
            peer_autonomous_container_database_compartment_id: Optional[str] = None,
            peer_autonomous_container_database_dataguard_association_id: Optional[str] = None,
            peer_autonomous_container_database_display_name: Optional[str] = None,
            peer_autonomous_container_database_id: Optional[str] = None,
            peer_autonomous_vm_cluster_id: Optional[str] = None,
            peer_cloud_autonomous_vm_cluster_id: Optional[str] = None,
            peer_db_unique_name: Optional[str] = None,
            peer_lifecycle_state: Optional[str] = None,
            peer_role: Optional[str] = None,
            protection_mode: Optional[str] = None,
            role: Optional[str] = None,
            standby_maintenance_buffer_in_days: Optional[int] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None,
            time_last_role_changed: Optional[str] = None,
            time_last_synced: Optional[str] = None,
            transport_lag: Optional[str] = None) -> AutonomousContainerDatabaseDataguardAssociation
    func GetAutonomousContainerDatabaseDataguardAssociation(ctx *Context, name string, id IDInput, state *AutonomousContainerDatabaseDataguardAssociationState, opts ...ResourceOption) (*AutonomousContainerDatabaseDataguardAssociation, error)
    public static AutonomousContainerDatabaseDataguardAssociation Get(string name, Input<string> id, AutonomousContainerDatabaseDataguardAssociationState? state, CustomResourceOptions? opts = null)
    public static AutonomousContainerDatabaseDataguardAssociation get(String name, Output<String> id, AutonomousContainerDatabaseDataguardAssociationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApplyLag string
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    ApplyRate string
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    AutonomousContainerDatabaseDataguardAssociationId string
    AutonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    FastStartFailOverLagLimitInSeconds int
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    IsAutomaticFailoverEnabled bool
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    LifecycleDetails string
    Additional information about the current lifecycleState, if available.
    PeerAutonomousContainerDatabaseBackupConfig AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig
    Backup options for the standby Autonomous Container Database.
    PeerAutonomousContainerDatabaseCompartmentId string
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    PeerAutonomousContainerDatabaseDataguardAssociationId string
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    PeerAutonomousContainerDatabaseDisplayName string
    The display name for the peer Autonomous Container Database.
    PeerAutonomousContainerDatabaseId string
    The OCID of the peer Autonomous Container Database.
    PeerAutonomousVmClusterId string
    The OCID of the peer Autonomous Exadata VM Cluster.
    PeerCloudAutonomousVmClusterId string
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    PeerDbUniqueName string
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    PeerLifecycleState string
    The current state of the Autonomous Container Database.
    PeerRole string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    ProtectionMode string

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    StandbyMaintenanceBufferInDays int
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    State string
    The current state of Autonomous Data Guard.
    TimeCreated string
    The date and time the Autonomous DataGuard association was created.
    TimeLastRoleChanged string
    The date and time when the last role change action happened.
    TimeLastSynced string
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    TransportLag string
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds
    ApplyLag string
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    ApplyRate string
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    AutonomousContainerDatabaseDataguardAssociationId string
    AutonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    FastStartFailOverLagLimitInSeconds int
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    IsAutomaticFailoverEnabled bool
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    LifecycleDetails string
    Additional information about the current lifecycleState, if available.
    PeerAutonomousContainerDatabaseBackupConfig AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
    Backup options for the standby Autonomous Container Database.
    PeerAutonomousContainerDatabaseCompartmentId string
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    PeerAutonomousContainerDatabaseDataguardAssociationId string
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    PeerAutonomousContainerDatabaseDisplayName string
    The display name for the peer Autonomous Container Database.
    PeerAutonomousContainerDatabaseId string
    The OCID of the peer Autonomous Container Database.
    PeerAutonomousVmClusterId string
    The OCID of the peer Autonomous Exadata VM Cluster.
    PeerCloudAutonomousVmClusterId string
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    PeerDbUniqueName string
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    PeerLifecycleState string
    The current state of the Autonomous Container Database.
    PeerRole string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    ProtectionMode string

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    StandbyMaintenanceBufferInDays int
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    State string
    The current state of Autonomous Data Guard.
    TimeCreated string
    The date and time the Autonomous DataGuard association was created.
    TimeLastRoleChanged string
    The date and time when the last role change action happened.
    TimeLastSynced string
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    TransportLag string
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds
    applyLag String
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    applyRate String
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    autonomousContainerDatabaseDataguardAssociationId String
    autonomousContainerDatabaseId String
    The Autonomous Container Database OCID.
    fastStartFailOverLagLimitInSeconds Integer
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    isAutomaticFailoverEnabled Boolean
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    lifecycleDetails String
    Additional information about the current lifecycleState, if available.
    peerAutonomousContainerDatabaseBackupConfig AutonomousContainerDataguardAssociationPeerAutonomousContainerBackupConfig
    Backup options for the standby Autonomous Container Database.
    peerAutonomousContainerDatabaseCompartmentId String
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    peerAutonomousContainerDatabaseDataguardAssociationId String
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    peerAutonomousContainerDatabaseDisplayName String
    The display name for the peer Autonomous Container Database.
    peerAutonomousContainerDatabaseId String
    The OCID of the peer Autonomous Container Database.
    peerAutonomousVmClusterId String
    The OCID of the peer Autonomous Exadata VM Cluster.
    peerCloudAutonomousVmClusterId String
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    peerDbUniqueName String
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    peerLifecycleState String
    The current state of the Autonomous Container Database.
    peerRole String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    protectionMode String

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    role String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    standbyMaintenanceBufferInDays Integer
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    state String
    The current state of Autonomous Data Guard.
    timeCreated String
    The date and time the Autonomous DataGuard association was created.
    timeLastRoleChanged String
    The date and time when the last role change action happened.
    timeLastSynced String
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    transportLag String
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds
    applyLag string
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    applyRate string
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    autonomousContainerDatabaseDataguardAssociationId string
    autonomousContainerDatabaseId string
    The Autonomous Container Database OCID.
    fastStartFailOverLagLimitInSeconds number
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    isAutomaticFailoverEnabled boolean
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    lifecycleDetails string
    Additional information about the current lifecycleState, if available.
    peerAutonomousContainerDatabaseBackupConfig AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig
    Backup options for the standby Autonomous Container Database.
    peerAutonomousContainerDatabaseCompartmentId string
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    peerAutonomousContainerDatabaseDataguardAssociationId string
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    peerAutonomousContainerDatabaseDisplayName string
    The display name for the peer Autonomous Container Database.
    peerAutonomousContainerDatabaseId string
    The OCID of the peer Autonomous Container Database.
    peerAutonomousVmClusterId string
    The OCID of the peer Autonomous Exadata VM Cluster.
    peerCloudAutonomousVmClusterId string
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    peerDbUniqueName string
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    peerLifecycleState string
    The current state of the Autonomous Container Database.
    peerRole string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    protectionMode string

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    role string
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    standbyMaintenanceBufferInDays number
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    state string
    The current state of Autonomous Data Guard.
    timeCreated string
    The date and time the Autonomous DataGuard association was created.
    timeLastRoleChanged string
    The date and time when the last role change action happened.
    timeLastSynced string
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    transportLag string
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds
    apply_lag str
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    apply_rate str
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    autonomous_container_database_dataguard_association_id str
    autonomous_container_database_id str
    The Autonomous Container Database OCID.
    fast_start_fail_over_lag_limit_in_seconds int
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    is_automatic_failover_enabled bool
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    lifecycle_details str
    Additional information about the current lifecycleState, if available.
    peer_autonomous_container_database_backup_config AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
    Backup options for the standby Autonomous Container Database.
    peer_autonomous_container_database_compartment_id str
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    peer_autonomous_container_database_dataguard_association_id str
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    peer_autonomous_container_database_display_name str
    The display name for the peer Autonomous Container Database.
    peer_autonomous_container_database_id str
    The OCID of the peer Autonomous Container Database.
    peer_autonomous_vm_cluster_id str
    The OCID of the peer Autonomous Exadata VM Cluster.
    peer_cloud_autonomous_vm_cluster_id str
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    peer_db_unique_name str
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    peer_lifecycle_state str
    The current state of the Autonomous Container Database.
    peer_role str
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    protection_mode str

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    role str
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    standby_maintenance_buffer_in_days int
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    state str
    The current state of Autonomous Data Guard.
    time_created str
    The date and time the Autonomous DataGuard association was created.
    time_last_role_changed str
    The date and time when the last role change action happened.
    time_last_synced str
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    transport_lag str
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds
    applyLag String
    The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database. Example: 9 seconds
    applyRate String
    The rate at which redo logs are synchronized between the associated Autonomous Container Databases. Example: 180 Mb per second
    autonomousContainerDatabaseDataguardAssociationId String
    autonomousContainerDatabaseId String
    The Autonomous Container Database OCID.
    fastStartFailOverLagLimitInSeconds Number
    (Updatable) The lag time for my preference based on data loss tolerance in seconds.
    isAutomaticFailoverEnabled Boolean
    (Updatable) Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association. Input DataType: boolean. Example : is_automatic_failover_enabled = true.
    lifecycleDetails String
    Additional information about the current lifecycleState, if available.
    peerAutonomousContainerDatabaseBackupConfig Property Map
    Backup options for the standby Autonomous Container Database.
    peerAutonomousContainerDatabaseCompartmentId String
    The OCID of the compartment where the standby Autonomous Container Database will be created.
    peerAutonomousContainerDatabaseDataguardAssociationId String
    The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
    peerAutonomousContainerDatabaseDisplayName String
    The display name for the peer Autonomous Container Database.
    peerAutonomousContainerDatabaseId String
    The OCID of the peer Autonomous Container Database.
    peerAutonomousVmClusterId String
    The OCID of the peer Autonomous Exadata VM Cluster.
    peerCloudAutonomousVmClusterId String
    The OCID of the peer cloud Autonomous Exadata VM Cluster.
    peerDbUniqueName String
    Specifies the DB_UNIQUE_NAME of the peer database to be created.
    peerLifecycleState String
    The current state of the Autonomous Container Database.
    peerRole String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    protectionMode String

    (Updatable) The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    role String
    The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
    standbyMaintenanceBufferInDays Number
    The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
    state String
    The current state of Autonomous Data Guard.
    timeCreated String
    The date and time the Autonomous DataGuard association was created.
    timeLastRoleChanged String
    The date and time when the last role change action happened.
    timeLastSynced String
    The date and time of the last update to the apply lag, apply rate, and transport lag values.
    transportLag String
    The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: 7 seconds

    Supporting Types

    AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig, AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs

    BackupDestinationDetails List<AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail>
    Backup destination details.
    RecoveryWindowInDays int
    Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
    BackupDestinationDetails []AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail
    Backup destination details.
    RecoveryWindowInDays int
    Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
    backupDestinationDetails List<AutonomousContainerDataguardAssociationPeerAutonomousContainerBackupConfigBackupDestinationDetail>
    Backup destination details.
    recoveryWindowInDays Integer
    Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
    backupDestinationDetails AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail[]
    Backup destination details.
    recoveryWindowInDays number
    Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
    backup_destination_details AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail]
    Backup destination details.
    recovery_window_in_days int
    Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
    backupDestinationDetails List<Property Map>
    Backup destination details.
    recoveryWindowInDays Number
    Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.

    AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail, AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs

    Type string
    Type of the database backup destination.
    DbrsPolicyId string
    The OCID of the DBRS policy used for backup.
    Id string
    The OCID of the backup destination.
    InternetProxy string
    Proxy URL to connect to object store.
    VpcPassword string
    For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
    VpcUser string
    For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
    Type string
    Type of the database backup destination.
    DbrsPolicyId string
    The OCID of the DBRS policy used for backup.
    Id string
    The OCID of the backup destination.
    InternetProxy string
    Proxy URL to connect to object store.
    VpcPassword string
    For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
    VpcUser string
    For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
    type String
    Type of the database backup destination.
    dbrsPolicyId String
    The OCID of the DBRS policy used for backup.
    id String
    The OCID of the backup destination.
    internetProxy String
    Proxy URL to connect to object store.
    vpcPassword String
    For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
    vpcUser String
    For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
    type string
    Type of the database backup destination.
    dbrsPolicyId string
    The OCID of the DBRS policy used for backup.
    id string
    The OCID of the backup destination.
    internetProxy string
    Proxy URL to connect to object store.
    vpcPassword string
    For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
    vpcUser string
    For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
    type str
    Type of the database backup destination.
    dbrs_policy_id str
    The OCID of the DBRS policy used for backup.
    id str
    The OCID of the backup destination.
    internet_proxy str
    Proxy URL to connect to object store.
    vpc_password str
    For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
    vpc_user str
    For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
    type String
    Type of the database backup destination.
    dbrsPolicyId String
    The OCID of the DBRS policy used for backup.
    id String
    The OCID of the backup destination.
    internetProxy String
    Proxy URL to connect to object store.
    vpcPassword String
    For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
    vpcUser String
    For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.

    Import

    AutonomousContainerDatabaseDataguardAssociations can be imported using the id, e.g.

    $ pulumi import oci:Database/autonomousContainerDatabaseDataguardAssociation:AutonomousContainerDatabaseDataguardAssociation test_autonomous_container_database_dataguard_association "autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}"
    

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi