1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. AutonomousContainerDatabaseDataguardAssociation
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Database.AutonomousContainerDatabaseDataguardAssociation

Explore with Pulumi AI

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("test_autonomous_container_database_dataguard_association", {
    autonomousContainerDatabaseId: testAutonomousContainerDatabase.id,
    peerAutonomousContainerDatabaseDisplayName: autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseDisplayName,
    protectionMode: autonomousContainerDatabaseDataguardAssociationProtectionMode,
    fastStartFailOverLagLimitInSeconds: autonomousContainerDatabaseDataguardAssociationFastStartFailOverLagLimitInSeconds,
    isAutomaticFailoverEnabled: autonomousContainerDatabaseDataguardAssociationIsAutomaticFailoverEnabled,
    peerAutonomousContainerDatabaseBackupConfig: {
        backupDestinationDetails: [{
            type: autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsType,
            dbrsPolicyId: testPolicy.id,
            id: autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsId,
            internetProxy: autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsInternetProxy,
            vpcPassword: autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcPassword,
            vpcUser: autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcUser,
        }],
        recoveryWindowInDays: autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigRecoveryWindowInDays,
    },
    peerAutonomousContainerDatabaseCompartmentId: testCompartment.id,
    peerAutonomousVmClusterId: testAutonomousVmCluster.id,
    peerCloudAutonomousVmClusterId: testCloudAutonomousVmCluster.id,
    peerDbUniqueName: autonomousContainerDatabaseDataguardAssociationPeerDbUniqueName,
    standbyMaintenanceBufferInDays: autonomousContainerDatabaseDataguardAssociationStandbyMaintenanceBufferInDays,
});
Copy
import pulumi
import pulumi_oci as oci

test_autonomous_container_database_dataguard_association = oci.database.AutonomousContainerDatabaseDataguardAssociation("test_autonomous_container_database_dataguard_association",
    autonomous_container_database_id=test_autonomous_container_database["id"],
    peer_autonomous_container_database_display_name=autonomous_container_database_dataguard_association_peer_autonomous_container_database_display_name,
    protection_mode=autonomous_container_database_dataguard_association_protection_mode,
    fast_start_fail_over_lag_limit_in_seconds=autonomous_container_database_dataguard_association_fast_start_fail_over_lag_limit_in_seconds,
    is_automatic_failover_enabled=autonomous_container_database_dataguard_association_is_automatic_failover_enabled,
    peer_autonomous_container_database_backup_config={
        "backup_destination_details": [{
            "type": autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_type,
            "dbrs_policy_id": test_policy["id"],
            "id": autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_id,
            "internet_proxy": autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_internet_proxy,
            "vpc_password": autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_password,
            "vpc_user": autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_backup_destination_details_vpc_user,
        }],
        "recovery_window_in_days": autonomous_container_database_dataguard_association_peer_autonomous_container_database_backup_config_recovery_window_in_days,
    },
    peer_autonomous_container_database_compartment_id=test_compartment["id"],
    peer_autonomous_vm_cluster_id=test_autonomous_vm_cluster["id"],
    peer_cloud_autonomous_vm_cluster_id=test_cloud_autonomous_vm_cluster["id"],
    peer_db_unique_name=autonomous_container_database_dataguard_association_peer_db_unique_name,
    standby_maintenance_buffer_in_days=autonomous_container_database_dataguard_association_standby_maintenance_buffer_in_days)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := database.NewAutonomousContainerDatabaseDataguardAssociation(ctx, "test_autonomous_container_database_dataguard_association", &database.AutonomousContainerDatabaseDataguardAssociationArgs{
			AutonomousContainerDatabaseId:              pulumi.Any(testAutonomousContainerDatabase.Id),
			PeerAutonomousContainerDatabaseDisplayName: pulumi.Any(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseDisplayName),
			ProtectionMode:                             pulumi.Any(autonomousContainerDatabaseDataguardAssociationProtectionMode),
			FastStartFailOverLagLimitInSeconds:         pulumi.Any(autonomousContainerDatabaseDataguardAssociationFastStartFailOverLagLimitInSeconds),
			IsAutomaticFailoverEnabled:                 pulumi.Any(autonomousContainerDatabaseDataguardAssociationIsAutomaticFailoverEnabled),
			PeerAutonomousContainerDatabaseBackupConfig: &database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs{
				BackupDestinationDetails: database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArray{
					&database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs{
						Type:          pulumi.Any(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsType),
						DbrsPolicyId:  pulumi.Any(testPolicy.Id),
						Id:            pulumi.Any(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsId),
						InternetProxy: pulumi.Any(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsInternetProxy),
						VpcPassword:   pulumi.Any(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcPassword),
						VpcUser:       pulumi.Any(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcUser),
					},
				},
				RecoveryWindowInDays: pulumi.Any(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigRecoveryWindowInDays),
			},
			PeerAutonomousContainerDatabaseCompartmentId: pulumi.Any(testCompartment.Id),
			PeerAutonomousVmClusterId:                    pulumi.Any(testAutonomousVmCluster.Id),
			PeerCloudAutonomousVmClusterId:               pulumi.Any(testCloudAutonomousVmCluster.Id),
			PeerDbUniqueName:                             pulumi.Any(autonomousContainerDatabaseDataguardAssociationPeerDbUniqueName),
			StandbyMaintenanceBufferInDays:               pulumi.Any(autonomousContainerDatabaseDataguardAssociationStandbyMaintenanceBufferInDays),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAutonomousContainerDatabaseDataguardAssociation = new Oci.Database.AutonomousContainerDatabaseDataguardAssociation("test_autonomous_container_database_dataguard_association", new()
    {
        AutonomousContainerDatabaseId = testAutonomousContainerDatabase.Id,
        PeerAutonomousContainerDatabaseDisplayName = autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseDisplayName,
        ProtectionMode = autonomousContainerDatabaseDataguardAssociationProtectionMode,
        FastStartFailOverLagLimitInSeconds = autonomousContainerDatabaseDataguardAssociationFastStartFailOverLagLimitInSeconds,
        IsAutomaticFailoverEnabled = autonomousContainerDatabaseDataguardAssociationIsAutomaticFailoverEnabled,
        PeerAutonomousContainerDatabaseBackupConfig = new Oci.Database.Inputs.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
        {
            BackupDestinationDetails = new[]
            {
                new Oci.Database.Inputs.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs
                {
                    Type = autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsType,
                    DbrsPolicyId = testPolicy.Id,
                    Id = autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsId,
                    InternetProxy = autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsInternetProxy,
                    VpcPassword = autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcPassword,
                    VpcUser = autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcUser,
                },
            },
            RecoveryWindowInDays = autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigRecoveryWindowInDays,
        },
        PeerAutonomousContainerDatabaseCompartmentId = testCompartment.Id,
        PeerAutonomousVmClusterId = testAutonomousVmCluster.Id,
        PeerCloudAutonomousVmClusterId = testCloudAutonomousVmCluster.Id,
        PeerDbUniqueName = autonomousContainerDatabaseDataguardAssociationPeerDbUniqueName,
        StandbyMaintenanceBufferInDays = autonomousContainerDatabaseDataguardAssociationStandbyMaintenanceBufferInDays,
    });

});
Copy
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(testAutonomousContainerDatabase.id())
            .peerAutonomousContainerDatabaseDisplayName(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseDisplayName)
            .protectionMode(autonomousContainerDatabaseDataguardAssociationProtectionMode)
            .fastStartFailOverLagLimitInSeconds(autonomousContainerDatabaseDataguardAssociationFastStartFailOverLagLimitInSeconds)
            .isAutomaticFailoverEnabled(autonomousContainerDatabaseDataguardAssociationIsAutomaticFailoverEnabled)
            .peerAutonomousContainerDatabaseBackupConfig(AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs.builder()
                .backupDestinationDetails(AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs.builder()
                    .type(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsType)
                    .dbrsPolicyId(testPolicy.id())
                    .id(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsId)
                    .internetProxy(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsInternetProxy)
                    .vpcPassword(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcPassword)
                    .vpcUser(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcUser)
                    .build())
                .recoveryWindowInDays(autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigRecoveryWindowInDays)
                .build())
            .peerAutonomousContainerDatabaseCompartmentId(testCompartment.id())
            .peerAutonomousVmClusterId(testAutonomousVmCluster.id())
            .peerCloudAutonomousVmClusterId(testCloudAutonomousVmCluster.id())
            .peerDbUniqueName(autonomousContainerDatabaseDataguardAssociationPeerDbUniqueName)
            .standbyMaintenanceBufferInDays(autonomousContainerDatabaseDataguardAssociationStandbyMaintenanceBufferInDays)
            .build());

    }
}
Copy
resources:
  testAutonomousContainerDatabaseDataguardAssociation:
    type: oci:Database:AutonomousContainerDatabaseDataguardAssociation
    name: test_autonomous_container_database_dataguard_association
    properties:
      autonomousContainerDatabaseId: ${testAutonomousContainerDatabase.id}
      peerAutonomousContainerDatabaseDisplayName: ${autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseDisplayName}
      protectionMode: ${autonomousContainerDatabaseDataguardAssociationProtectionMode}
      fastStartFailOverLagLimitInSeconds: ${autonomousContainerDatabaseDataguardAssociationFastStartFailOverLagLimitInSeconds}
      isAutomaticFailoverEnabled: ${autonomousContainerDatabaseDataguardAssociationIsAutomaticFailoverEnabled}
      peerAutonomousContainerDatabaseBackupConfig:
        backupDestinationDetails:
          - type: ${autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsType}
            dbrsPolicyId: ${testPolicy.id}
            id: ${autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsId}
            internetProxy: ${autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsInternetProxy}
            vpcPassword: ${autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcPassword}
            vpcUser: ${autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailsVpcUser}
        recoveryWindowInDays: ${autonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigRecoveryWindowInDays}
      peerAutonomousContainerDatabaseCompartmentId: ${testCompartment.id}
      peerAutonomousVmClusterId: ${testAutonomousVmCluster.id}
      peerCloudAutonomousVmClusterId: ${testCloudAutonomousVmCluster.id}
      peerDbUniqueName: ${autonomousContainerDatabaseDataguardAssociationPeerDbUniqueName}
      standbyMaintenanceBufferInDays: ${autonomousContainerDatabaseDataguardAssociationStandbyMaintenanceBufferInDays}
Copy

Create AutonomousContainerDatabaseDataguardAssociation Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AutonomousContainerDatabaseDataguardAssociation(name: string, args: AutonomousContainerDatabaseDataguardAssociationArgs, opts?: CustomResourceOptions);
@overload
def AutonomousContainerDatabaseDataguardAssociation(resource_name: str,
                                                    args: AutonomousContainerDatabaseDataguardAssociationArgs,
                                                    opts: Optional[ResourceOptions] = None)

@overload
def AutonomousContainerDatabaseDataguardAssociation(resource_name: str,
                                                    opts: Optional[ResourceOptions] = None,
                                                    peer_autonomous_container_database_display_name: Optional[str] = None,
                                                    autonomous_container_database_id: Optional[str] = None,
                                                    protection_mode: Optional[str] = None,
                                                    peer_autonomous_container_database_compartment_id: Optional[str] = None,
                                                    migrate_trigger: Optional[int] = None,
                                                    peer_autonomous_container_database_backup_config: Optional[_database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs] = None,
                                                    autonomous_container_database_dataguard_association_id: Optional[str] = None,
                                                    is_automatic_failover_enabled: Optional[bool] = 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,
                                                    fast_start_fail_over_lag_limit_in_seconds: Optional[int] = None,
                                                    standby_maintenance_buffer_in_days: Optional[int] = 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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AutonomousContainerDatabaseDataguardAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. AutonomousContainerDatabaseDataguardAssociationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AutonomousContainerDatabaseDataguardAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AutonomousContainerDatabaseDataguardAssociationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var autonomousContainerDatabaseDataguardAssociationResource = new Oci.Database.AutonomousContainerDatabaseDataguardAssociation("autonomousContainerDatabaseDataguardAssociationResource", new()
{
    PeerAutonomousContainerDatabaseDisplayName = "string",
    AutonomousContainerDatabaseId = "string",
    ProtectionMode = "string",
    PeerAutonomousContainerDatabaseCompartmentId = "string",
    MigrateTrigger = 0,
    PeerAutonomousContainerDatabaseBackupConfig = new Oci.Database.Inputs.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
    {
        BackupDestinationDetails = new[]
        {
            new Oci.Database.Inputs.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs
            {
                Type = "string",
                DbrsPolicyId = "string",
                Id = "string",
                InternetProxy = "string",
                VpcPassword = "string",
                VpcUser = "string",
            },
        },
        RecoveryWindowInDays = 0,
    },
    AutonomousContainerDatabaseDataguardAssociationId = "string",
    IsAutomaticFailoverEnabled = false,
    PeerAutonomousVmClusterId = "string",
    PeerCloudAutonomousVmClusterId = "string",
    PeerDbUniqueName = "string",
    FastStartFailOverLagLimitInSeconds = 0,
    StandbyMaintenanceBufferInDays = 0,
});
Copy
example, err := Database.NewAutonomousContainerDatabaseDataguardAssociation(ctx, "autonomousContainerDatabaseDataguardAssociationResource", &Database.AutonomousContainerDatabaseDataguardAssociationArgs{
	PeerAutonomousContainerDatabaseDisplayName:   pulumi.String("string"),
	AutonomousContainerDatabaseId:                pulumi.String("string"),
	ProtectionMode:                               pulumi.String("string"),
	PeerAutonomousContainerDatabaseCompartmentId: pulumi.String("string"),
	MigrateTrigger:                               pulumi.Int(0),
	PeerAutonomousContainerDatabaseBackupConfig: &database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs{
		BackupDestinationDetails: database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArray{
			&database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs{
				Type:          pulumi.String("string"),
				DbrsPolicyId:  pulumi.String("string"),
				Id:            pulumi.String("string"),
				InternetProxy: pulumi.String("string"),
				VpcPassword:   pulumi.String("string"),
				VpcUser:       pulumi.String("string"),
			},
		},
		RecoveryWindowInDays: pulumi.Int(0),
	},
	AutonomousContainerDatabaseDataguardAssociationId: pulumi.String("string"),
	IsAutomaticFailoverEnabled:                        pulumi.Bool(false),
	PeerAutonomousVmClusterId:                         pulumi.String("string"),
	PeerCloudAutonomousVmClusterId:                    pulumi.String("string"),
	PeerDbUniqueName:                                  pulumi.String("string"),
	FastStartFailOverLagLimitInSeconds:                pulumi.Int(0),
	StandbyMaintenanceBufferInDays:                    pulumi.Int(0),
})
Copy
var autonomousContainerDatabaseDataguardAssociationResource = new AutonomousContainerDatabaseDataguardAssociation("autonomousContainerDatabaseDataguardAssociationResource", AutonomousContainerDatabaseDataguardAssociationArgs.builder()
    .peerAutonomousContainerDatabaseDisplayName("string")
    .autonomousContainerDatabaseId("string")
    .protectionMode("string")
    .peerAutonomousContainerDatabaseCompartmentId("string")
    .migrateTrigger(0)
    .peerAutonomousContainerDatabaseBackupConfig(AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs.builder()
        .backupDestinationDetails(AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs.builder()
            .type("string")
            .dbrsPolicyId("string")
            .id("string")
            .internetProxy("string")
            .vpcPassword("string")
            .vpcUser("string")
            .build())
        .recoveryWindowInDays(0)
        .build())
    .autonomousContainerDatabaseDataguardAssociationId("string")
    .isAutomaticFailoverEnabled(false)
    .peerAutonomousVmClusterId("string")
    .peerCloudAutonomousVmClusterId("string")
    .peerDbUniqueName("string")
    .fastStartFailOverLagLimitInSeconds(0)
    .standbyMaintenanceBufferInDays(0)
    .build());
Copy
autonomous_container_database_dataguard_association_resource = oci.database.AutonomousContainerDatabaseDataguardAssociation("autonomousContainerDatabaseDataguardAssociationResource",
    peer_autonomous_container_database_display_name="string",
    autonomous_container_database_id="string",
    protection_mode="string",
    peer_autonomous_container_database_compartment_id="string",
    migrate_trigger=0,
    peer_autonomous_container_database_backup_config={
        "backup_destination_details": [{
            "type": "string",
            "dbrs_policy_id": "string",
            "id": "string",
            "internet_proxy": "string",
            "vpc_password": "string",
            "vpc_user": "string",
        }],
        "recovery_window_in_days": 0,
    },
    autonomous_container_database_dataguard_association_id="string",
    is_automatic_failover_enabled=False,
    peer_autonomous_vm_cluster_id="string",
    peer_cloud_autonomous_vm_cluster_id="string",
    peer_db_unique_name="string",
    fast_start_fail_over_lag_limit_in_seconds=0,
    standby_maintenance_buffer_in_days=0)
Copy
const autonomousContainerDatabaseDataguardAssociationResource = new oci.database.AutonomousContainerDatabaseDataguardAssociation("autonomousContainerDatabaseDataguardAssociationResource", {
    peerAutonomousContainerDatabaseDisplayName: "string",
    autonomousContainerDatabaseId: "string",
    protectionMode: "string",
    peerAutonomousContainerDatabaseCompartmentId: "string",
    migrateTrigger: 0,
    peerAutonomousContainerDatabaseBackupConfig: {
        backupDestinationDetails: [{
            type: "string",
            dbrsPolicyId: "string",
            id: "string",
            internetProxy: "string",
            vpcPassword: "string",
            vpcUser: "string",
        }],
        recoveryWindowInDays: 0,
    },
    autonomousContainerDatabaseDataguardAssociationId: "string",
    isAutomaticFailoverEnabled: false,
    peerAutonomousVmClusterId: "string",
    peerCloudAutonomousVmClusterId: "string",
    peerDbUniqueName: "string",
    fastStartFailOverLagLimitInSeconds: 0,
    standbyMaintenanceBufferInDays: 0,
});
Copy
type: oci:Database:AutonomousContainerDatabaseDataguardAssociation
properties:
    autonomousContainerDatabaseDataguardAssociationId: string
    autonomousContainerDatabaseId: string
    fastStartFailOverLagLimitInSeconds: 0
    isAutomaticFailoverEnabled: false
    migrateTrigger: 0
    peerAutonomousContainerDatabaseBackupConfig:
        backupDestinationDetails:
            - dbrsPolicyId: string
              id: string
              internetProxy: string
              type: string
              vpcPassword: string
              vpcUser: string
        recoveryWindowInDays: 0
    peerAutonomousContainerDatabaseCompartmentId: string
    peerAutonomousContainerDatabaseDisplayName: string
    peerAutonomousVmClusterId: string
    peerCloudAutonomousVmClusterId: string
    peerDbUniqueName: string
    protectionMode: string
    standbyMaintenanceBufferInDays: 0
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AutonomousContainerDatabaseDataguardAssociation resource accepts the following input properties:

AutonomousContainerDatabaseId
This property is required.
Changes to this property will trigger replacement.
string
The Autonomous Container Database OCID.
PeerAutonomousContainerDatabaseDisplayName
This property is required.
Changes to this property will trigger replacement.
string
The display name for the peer Autonomous Container Database.
ProtectionMode This property is required. 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.
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.

** 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

MigrateTrigger int
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
PeerAutonomousContainerDatabaseBackupConfig Changes to this property will trigger replacement. AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig
Backup options for the standby Autonomous Container Database.
PeerAutonomousContainerDatabaseCompartmentId Changes to this property will trigger replacement. string
The OCID of the compartment where the standby Autonomous Container Database will be created.
PeerAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer Autonomous Exadata VM Cluster.
PeerCloudAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer cloud Autonomous Exadata VM Cluster.
PeerDbUniqueName Changes to this property will trigger replacement. string
Specifies the DB_UNIQUE_NAME of the peer database to be created.
StandbyMaintenanceBufferInDays Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
The Autonomous Container Database OCID.
PeerAutonomousContainerDatabaseDisplayName
This property is required.
Changes to this property will trigger replacement.
string
The display name for the peer Autonomous Container Database.
ProtectionMode This property is required. 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.
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.

** 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

MigrateTrigger int
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
PeerAutonomousContainerDatabaseBackupConfig Changes to this property will trigger replacement. AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
Backup options for the standby Autonomous Container Database.
PeerAutonomousContainerDatabaseCompartmentId Changes to this property will trigger replacement. string
The OCID of the compartment where the standby Autonomous Container Database will be created.
PeerAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer Autonomous Exadata VM Cluster.
PeerCloudAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer cloud Autonomous Exadata VM Cluster.
PeerDbUniqueName Changes to this property will trigger replacement. string
Specifies the DB_UNIQUE_NAME of the peer database to be created.
StandbyMaintenanceBufferInDays Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The Autonomous Container Database OCID.
peerAutonomousContainerDatabaseDisplayName
This property is required.
Changes to this property will trigger replacement.
String
The display name for the peer Autonomous Container Database.
protectionMode This property is required. 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.
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.

** 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

migrateTrigger Integer
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
peerAutonomousContainerDatabaseBackupConfig Changes to this property will trigger replacement. AutonomousContainerDataguardAssociationPeerAutonomousContainerBackupConfig
Backup options for the standby Autonomous Container Database.
peerAutonomousContainerDatabaseCompartmentId Changes to this property will trigger replacement. String
The OCID of the compartment where the standby Autonomous Container Database will be created.
peerAutonomousVmClusterId Changes to this property will trigger replacement. String
The OCID of the peer Autonomous Exadata VM Cluster.
peerCloudAutonomousVmClusterId Changes to this property will trigger replacement. String
The OCID of the peer cloud Autonomous Exadata VM Cluster.
peerDbUniqueName Changes to this property will trigger replacement. String
Specifies the DB_UNIQUE_NAME of the peer database to be created.
standbyMaintenanceBufferInDays Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
The Autonomous Container Database OCID.
peerAutonomousContainerDatabaseDisplayName
This property is required.
Changes to this property will trigger replacement.
string
The display name for the peer Autonomous Container Database.
protectionMode This property is required. 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.
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.

** 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

migrateTrigger number
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
peerAutonomousContainerDatabaseBackupConfig Changes to this property will trigger replacement. AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig
Backup options for the standby Autonomous Container Database.
peerAutonomousContainerDatabaseCompartmentId Changes to this property will trigger replacement. string
The OCID of the compartment where the standby Autonomous Container Database will be created.
peerAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer Autonomous Exadata VM Cluster.
peerCloudAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer cloud Autonomous Exadata VM Cluster.
peerDbUniqueName Changes to this property will trigger replacement. string
Specifies the DB_UNIQUE_NAME of the peer database to be created.
standbyMaintenanceBufferInDays Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
str
The Autonomous Container Database OCID.
peer_autonomous_container_database_display_name
This property is required.
Changes to this property will trigger replacement.
str
The display name for the peer Autonomous Container Database.
protection_mode This property is required. 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.
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.

** 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

migrate_trigger int
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
peer_autonomous_container_database_backup_config Changes to this property will trigger replacement. database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
Backup options for the standby Autonomous Container Database.
peer_autonomous_container_database_compartment_id Changes to this property will trigger replacement. str
The OCID of the compartment where the standby Autonomous Container Database will be created.
peer_autonomous_vm_cluster_id Changes to this property will trigger replacement. str
The OCID of the peer Autonomous Exadata VM Cluster.
peer_cloud_autonomous_vm_cluster_id Changes to this property will trigger replacement. str
The OCID of the peer cloud Autonomous Exadata VM Cluster.
peer_db_unique_name Changes to this property will trigger replacement. str
Specifies the DB_UNIQUE_NAME of the peer database to be created.
standby_maintenance_buffer_in_days Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The Autonomous Container Database OCID.
peerAutonomousContainerDatabaseDisplayName
This property is required.
Changes to this property will trigger replacement.
String
The display name for the peer Autonomous Container Database.
protectionMode This property is required. 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.
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.

** 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

migrateTrigger Number
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
peerAutonomousContainerDatabaseBackupConfig Changes to this property will trigger replacement. Property Map
Backup options for the standby Autonomous Container Database.
peerAutonomousContainerDatabaseCompartmentId Changes to this property will trigger replacement. String
The OCID of the compartment where the standby Autonomous Container Database will be created.
peerAutonomousVmClusterId Changes to this property will trigger replacement. String
The OCID of the peer Autonomous Exadata VM Cluster.
peerCloudAutonomousVmClusterId Changes to this property will trigger replacement. String
The OCID of the peer cloud Autonomous Exadata VM Cluster.
peerDbUniqueName Changes to this property will trigger replacement. String
Specifies the DB_UNIQUE_NAME of the peer database to be created.
standbyMaintenanceBufferInDays Changes to this property will trigger replacement. 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,
        migrate_trigger: Optional[int] = 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)
resources:  _:    type: oci:Database:AutonomousContainerDatabaseDataguardAssociation    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. 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.

** 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

LifecycleDetails string
Additional information about the current lifecycleState, if available.
MigrateTrigger int
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
PeerAutonomousContainerDatabaseBackupConfig Changes to this property will trigger replacement. AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig
Backup options for the standby Autonomous Container Database.
PeerAutonomousContainerDatabaseCompartmentId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The display name for the peer Autonomous Container Database.
PeerAutonomousContainerDatabaseId string
The OCID of the peer Autonomous Container Database.
PeerAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer Autonomous Exadata VM Cluster.
PeerCloudAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer cloud Autonomous Exadata VM Cluster.
PeerDbUniqueName Changes to this property will trigger replacement. 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.
Role string
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
StandbyMaintenanceBufferInDays Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

** 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

LifecycleDetails string
Additional information about the current lifecycleState, if available.
MigrateTrigger int
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
PeerAutonomousContainerDatabaseBackupConfig Changes to this property will trigger replacement. AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
Backup options for the standby Autonomous Container Database.
PeerAutonomousContainerDatabaseCompartmentId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The display name for the peer Autonomous Container Database.
PeerAutonomousContainerDatabaseId string
The OCID of the peer Autonomous Container Database.
PeerAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer Autonomous Exadata VM Cluster.
PeerCloudAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer cloud Autonomous Exadata VM Cluster.
PeerDbUniqueName Changes to this property will trigger replacement. 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.
Role string
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
StandbyMaintenanceBufferInDays Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

** 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

lifecycleDetails String
Additional information about the current lifecycleState, if available.
migrateTrigger Integer
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
peerAutonomousContainerDatabaseBackupConfig Changes to this property will trigger replacement. AutonomousContainerDataguardAssociationPeerAutonomousContainerBackupConfig
Backup options for the standby Autonomous Container Database.
peerAutonomousContainerDatabaseCompartmentId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The display name for the peer Autonomous Container Database.
peerAutonomousContainerDatabaseId String
The OCID of the peer Autonomous Container Database.
peerAutonomousVmClusterId Changes to this property will trigger replacement. String
The OCID of the peer Autonomous Exadata VM Cluster.
peerCloudAutonomousVmClusterId Changes to this property will trigger replacement. String
The OCID of the peer cloud Autonomous Exadata VM Cluster.
peerDbUniqueName Changes to this property will trigger replacement. 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.
role String
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
standbyMaintenanceBufferInDays Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

** 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

lifecycleDetails string
Additional information about the current lifecycleState, if available.
migrateTrigger number
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
peerAutonomousContainerDatabaseBackupConfig Changes to this property will trigger replacement. AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfig
Backup options for the standby Autonomous Container Database.
peerAutonomousContainerDatabaseCompartmentId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The display name for the peer Autonomous Container Database.
peerAutonomousContainerDatabaseId string
The OCID of the peer Autonomous Container Database.
peerAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer Autonomous Exadata VM Cluster.
peerCloudAutonomousVmClusterId Changes to this property will trigger replacement. string
The OCID of the peer cloud Autonomous Exadata VM Cluster.
peerDbUniqueName Changes to this property will trigger replacement. 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.
role string
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
standbyMaintenanceBufferInDays Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

** 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

lifecycle_details str
Additional information about the current lifecycleState, if available.
migrate_trigger int
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
peer_autonomous_container_database_backup_config Changes to this property will trigger replacement. database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigArgs
Backup options for the standby Autonomous Container Database.
peer_autonomous_container_database_compartment_id Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The OCID of the peer Autonomous Exadata VM Cluster.
peer_cloud_autonomous_vm_cluster_id Changes to this property will trigger replacement. str
The OCID of the peer cloud Autonomous Exadata VM Cluster.
peer_db_unique_name Changes to this property will trigger replacement. 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.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

** 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

lifecycleDetails String
Additional information about the current lifecycleState, if available.
migrateTrigger Number
(Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
peerAutonomousContainerDatabaseBackupConfig Changes to this property will trigger replacement. Property Map
Backup options for the standby Autonomous Container Database.
peerAutonomousContainerDatabaseCompartmentId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The display name for the peer Autonomous Container Database.
peerAutonomousContainerDatabaseId String
The OCID of the peer Autonomous Container Database.
peerAutonomousVmClusterId Changes to this property will trigger replacement. String
The OCID of the peer Autonomous Exadata VM Cluster.
peerCloudAutonomousVmClusterId Changes to this property will trigger replacement. String
The OCID of the peer cloud Autonomous Exadata VM Cluster.
peerDbUniqueName Changes to this property will trigger replacement. 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.
role String
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
standbyMaintenanceBufferInDays Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. List<AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail>
Backup destination details.
RecoveryWindowInDays Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. []AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail
Backup destination details.
RecoveryWindowInDays Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. List<AutonomousContainerDataguardAssociationPeerAutonomousContainerBackupConfigBackupDestinationDetail>
Backup destination details.
recoveryWindowInDays Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail[]
Backup destination details.
recoveryWindowInDays Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. Sequence[database.AutonomousContainerDatabaseDataguardAssociationPeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail]
Backup destination details.
recovery_window_in_days Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. List<Property Map>
Backup destination details.
recoveryWindowInDays Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
Type of the database backup destination.
DbrsPolicyId Changes to this property will trigger replacement. string
The OCID of the DBRS policy used for backup.
Id Changes to this property will trigger replacement. string
The OCID of the backup destination.
InternetProxy Changes to this property will trigger replacement. string
Proxy URL to connect to object store.
VpcPassword Changes to this property will trigger replacement. string
For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
VpcUser Changes to this property will trigger replacement. string
For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
Type
This property is required.
Changes to this property will trigger replacement.
string
Type of the database backup destination.
DbrsPolicyId Changes to this property will trigger replacement. string
The OCID of the DBRS policy used for backup.
Id Changes to this property will trigger replacement. string
The OCID of the backup destination.
InternetProxy Changes to this property will trigger replacement. string
Proxy URL to connect to object store.
VpcPassword Changes to this property will trigger replacement. string
For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
VpcUser Changes to this property will trigger replacement. string
For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
type
This property is required.
Changes to this property will trigger replacement.
String
Type of the database backup destination.
dbrsPolicyId Changes to this property will trigger replacement. String
The OCID of the DBRS policy used for backup.
id Changes to this property will trigger replacement. String
The OCID of the backup destination.
internetProxy Changes to this property will trigger replacement. String
Proxy URL to connect to object store.
vpcPassword Changes to this property will trigger replacement. String
For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
vpcUser Changes to this property will trigger replacement. String
For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
type
This property is required.
Changes to this property will trigger replacement.
string
Type of the database backup destination.
dbrsPolicyId Changes to this property will trigger replacement. string
The OCID of the DBRS policy used for backup.
id Changes to this property will trigger replacement. string
The OCID of the backup destination.
internetProxy Changes to this property will trigger replacement. string
Proxy URL to connect to object store.
vpcPassword Changes to this property will trigger replacement. string
For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
vpcUser Changes to this property will trigger replacement. string
For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
type
This property is required.
Changes to this property will trigger replacement.
str
Type of the database backup destination.
dbrs_policy_id Changes to this property will trigger replacement. str
The OCID of the DBRS policy used for backup.
id Changes to this property will trigger replacement. str
The OCID of the backup destination.
internet_proxy Changes to this property will trigger replacement. str
Proxy URL to connect to object store.
vpc_password Changes to this property will trigger replacement. str
For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
vpc_user Changes to this property will trigger replacement. str
For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
type
This property is required.
Changes to this property will trigger replacement.
String
Type of the database backup destination.
dbrsPolicyId Changes to this property will trigger replacement. String
The OCID of the DBRS policy used for backup.
id Changes to this property will trigger replacement. String
The OCID of the backup destination.
internetProxy Changes to this property will trigger replacement. String
Proxy URL to connect to object store.
vpcPassword Changes to this property will trigger replacement. String
For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
vpcUser Changes to this property will trigger replacement. 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}"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.