oci.DisasterRecovery.DrProtectionGroup
Explore with Pulumi AI
This resource provides the Dr Protection Group resource in Oracle Cloud Infrastructure Disaster Recovery service.
Create a DR protection group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const config = new pulumi.Config();
const disassociateTrigger = config.getNumber("disassociateTrigger") || 0;
const testDrProtectionGroup = new oci.disasterrecovery.DrProtectionGroup("test_dr_protection_group", {
compartmentId: compartmentId,
displayName: drProtectionGroupDisplayName,
logLocation: {
bucket: drProtectionGroupLogLocationBucket,
namespace: drProtectionGroupLogLocationNamespace,
},
association: {
role: drProtectionGroupAssociationRole,
peerId: drProtectionGroupAssociationPeerId,
peerRegion: drProtectionGroupAssociationPeerRegion,
},
definedTags: {
"Operations.CostCenter": "42",
},
freeformTags: {
Department: "Finance",
},
disassociateTrigger: disassociateTrigger,
members: [{
memberId: drProtectionGroupMembersMemberId,
memberType: drProtectionGroupMembersMemberType,
autonomousDatabaseStandbyTypeForDrDrills: drProtectionGroupMembersAutonomousDatabaseStandbyTypeForDrDrills,
backendSetMappings: [{
destinationBackendSetName: testBackendSet.name,
isBackendSetForNonMovable: drProtectionGroupMembersBackendSetMappingsIsBackendSetForNonMovable,
sourceBackendSetName: testBackendSet.name,
}],
blockVolumeOperations: [{
attachmentDetails: {
volumeAttachmentReferenceInstanceId: testInstance.id,
},
blockVolumeId: testVolume.id,
mountDetails: {
mountPoint: drProtectionGroupMembersBlockVolumeOperationsMountDetailsMountPoint,
},
}],
connectionStringType: drProtectionGroupMembersConnectionStringType,
bucket: drProtectionGroupMembersBucket,
destinationAvailabilityDomain: drProtectionGroupMembersDestinationAvailabilityDomain,
destinationCapacityReservationId: destinationCapacityReservationId,
destinationCompartmentId: testCompartment.id,
destinationDedicatedVmHostId: testDedicatedVmHost.id,
destinationLoadBalancerId: testLoadBalancer.id,
destinationNetworkLoadBalancerId: testNetworkLoadBalancer.id,
exportMappings: [{
destinationMountTargetId: testMountTarget.id,
exportId: testExport.id,
}],
fileSystemOperations: [{
exportPath: drProtectionGroupMembersFileSystemOperationsExportPath,
mountDetails: {
mountTargetId: testMountTarget.id,
},
mountPoint: drProtectionGroupMembersFileSystemOperationsMountPoint,
mountTargetId: testMountTarget.id,
unmountDetails: {
mountTargetId: testMountTarget.id,
},
}],
isMovable: drProtectionGroupMembersIsMovable,
isRetainFaultDomain: drProtectionGroupMembersIsRetainFaultDomain,
isStartStopEnabled: drProtectionGroupMembersIsStartStopEnabled,
namespace: drProtectionGroupMembersNamespace,
passwordVaultSecretId: passwordVaultSecretId,
vnicMappings: [
{
destinationNsgIdLists: drProtectionGroupMembersVnicMappingDestinationNsgIdList,
destinationPrimaryPrivateIpAddress: drProtectionGroupMembersVnicMappingDestinationPrimaryPrivateIpAddress,
destinationPrimaryPrivateIpHostnameLabel: drProtectionGroupMembersVnicMappingDestinationPrimaryPrivateIpHostnameLabel,
destinationSubnetId: testSubnet.id,
sourceVnicId: testVnic.id,
},
{
destinationNsgIdLists: drProtectionGroupMembersVnicMappingsDestinationNsgIdList,
destinationPrimaryPrivateIpAddress: drProtectionGroupMembersVnicMappingsDestinationPrimaryPrivateIpAddress,
destinationPrimaryPrivateIpHostnameLabel: drProtectionGroupMembersVnicMappingsDestinationPrimaryPrivateIpHostnameLabel,
destinationSubnetId: testSubnet.id,
sourceVnicId: testVnic.id,
},
],
}],
});
import pulumi
import pulumi_oci as oci
config = pulumi.Config()
disassociate_trigger = config.get_float("disassociateTrigger")
if disassociate_trigger is None:
disassociate_trigger = 0
test_dr_protection_group = oci.disaster_recovery.DrProtectionGroup("test_dr_protection_group",
compartment_id=compartment_id,
display_name=dr_protection_group_display_name,
log_location={
"bucket": dr_protection_group_log_location_bucket,
"namespace": dr_protection_group_log_location_namespace,
},
association={
"role": dr_protection_group_association_role,
"peer_id": dr_protection_group_association_peer_id,
"peer_region": dr_protection_group_association_peer_region,
},
defined_tags={
"Operations.CostCenter": "42",
},
freeform_tags={
"Department": "Finance",
},
disassociate_trigger=disassociate_trigger,
members=[{
"member_id": dr_protection_group_members_member_id,
"member_type": dr_protection_group_members_member_type,
"autonomous_database_standby_type_for_dr_drills": dr_protection_group_members_autonomous_database_standby_type_for_dr_drills,
"backend_set_mappings": [{
"destination_backend_set_name": test_backend_set["name"],
"is_backend_set_for_non_movable": dr_protection_group_members_backend_set_mappings_is_backend_set_for_non_movable,
"source_backend_set_name": test_backend_set["name"],
}],
"block_volume_operations": [{
"attachment_details": {
"volume_attachment_reference_instance_id": test_instance["id"],
},
"block_volume_id": test_volume["id"],
"mount_details": {
"mount_point": dr_protection_group_members_block_volume_operations_mount_details_mount_point,
},
}],
"connection_string_type": dr_protection_group_members_connection_string_type,
"bucket": dr_protection_group_members_bucket,
"destination_availability_domain": dr_protection_group_members_destination_availability_domain,
"destination_capacity_reservation_id": destination_capacity_reservation_id,
"destination_compartment_id": test_compartment["id"],
"destination_dedicated_vm_host_id": test_dedicated_vm_host["id"],
"destination_load_balancer_id": test_load_balancer["id"],
"destination_network_load_balancer_id": test_network_load_balancer["id"],
"export_mappings": [{
"destination_mount_target_id": test_mount_target["id"],
"export_id": test_export["id"],
}],
"file_system_operations": [{
"export_path": dr_protection_group_members_file_system_operations_export_path,
"mount_details": {
"mount_target_id": test_mount_target["id"],
},
"mount_point": dr_protection_group_members_file_system_operations_mount_point,
"mount_target_id": test_mount_target["id"],
"unmount_details": {
"mount_target_id": test_mount_target["id"],
},
}],
"is_movable": dr_protection_group_members_is_movable,
"is_retain_fault_domain": dr_protection_group_members_is_retain_fault_domain,
"is_start_stop_enabled": dr_protection_group_members_is_start_stop_enabled,
"namespace": dr_protection_group_members_namespace,
"password_vault_secret_id": password_vault_secret_id,
"vnic_mappings": [
{
"destination_nsg_id_lists": dr_protection_group_members_vnic_mapping_destination_nsg_id_list,
"destination_primary_private_ip_address": dr_protection_group_members_vnic_mapping_destination_primary_private_ip_address,
"destination_primary_private_ip_hostname_label": dr_protection_group_members_vnic_mapping_destination_primary_private_ip_hostname_label,
"destination_subnet_id": test_subnet["id"],
"source_vnic_id": test_vnic["id"],
},
{
"destination_nsg_id_lists": dr_protection_group_members_vnic_mappings_destination_nsg_id_list,
"destination_primary_private_ip_address": dr_protection_group_members_vnic_mappings_destination_primary_private_ip_address,
"destination_primary_private_ip_hostname_label": dr_protection_group_members_vnic_mappings_destination_primary_private_ip_hostname_label,
"destination_subnet_id": test_subnet["id"],
"source_vnic_id": test_vnic["id"],
},
],
}])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DisasterRecovery"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
disassociateTrigger := float64(0)
if param := cfg.GetFloat64("disassociateTrigger"); param != 0 {
disassociateTrigger = param
}
_, err := DisasterRecovery.NewDrProtectionGroup(ctx, "test_dr_protection_group", &DisasterRecovery.DrProtectionGroupArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(drProtectionGroupDisplayName),
LogLocation: &disasterrecovery.DrProtectionGroupLogLocationArgs{
Bucket: pulumi.Any(drProtectionGroupLogLocationBucket),
Namespace: pulumi.Any(drProtectionGroupLogLocationNamespace),
},
Association: &disasterrecovery.DrProtectionGroupAssociationArgs{
Role: pulumi.Any(drProtectionGroupAssociationRole),
PeerId: pulumi.Any(drProtectionGroupAssociationPeerId),
PeerRegion: pulumi.Any(drProtectionGroupAssociationPeerRegion),
},
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
DisassociateTrigger: pulumi.Float64(disassociateTrigger),
Members: disasterrecovery.DrProtectionGroupMemberArray{
&disasterrecovery.DrProtectionGroupMemberArgs{
MemberId: pulumi.Any(drProtectionGroupMembersMemberId),
MemberType: pulumi.Any(drProtectionGroupMembersMemberType),
AutonomousDatabaseStandbyTypeForDrDrills: pulumi.Any(drProtectionGroupMembersAutonomousDatabaseStandbyTypeForDrDrills),
BackendSetMappings: disasterrecovery.DrProtectionGroupMemberBackendSetMappingArray{
&disasterrecovery.DrProtectionGroupMemberBackendSetMappingArgs{
DestinationBackendSetName: pulumi.Any(testBackendSet.Name),
IsBackendSetForNonMovable: pulumi.Any(drProtectionGroupMembersBackendSetMappingsIsBackendSetForNonMovable),
SourceBackendSetName: pulumi.Any(testBackendSet.Name),
},
},
BlockVolumeOperations: disasterrecovery.DrProtectionGroupMemberBlockVolumeOperationArray{
&disasterrecovery.DrProtectionGroupMemberBlockVolumeOperationArgs{
AttachmentDetails: &disasterrecovery.DrProtectionGroupMemberBlockVolumeOperationAttachmentDetailsArgs{
VolumeAttachmentReferenceInstanceId: pulumi.Any(testInstance.Id),
},
BlockVolumeId: pulumi.Any(testVolume.Id),
MountDetails: &disasterrecovery.DrProtectionGroupMemberBlockVolumeOperationMountDetailsArgs{
MountPoint: pulumi.Any(drProtectionGroupMembersBlockVolumeOperationsMountDetailsMountPoint),
},
},
},
ConnectionStringType: pulumi.Any(drProtectionGroupMembersConnectionStringType),
Bucket: pulumi.Any(drProtectionGroupMembersBucket),
DestinationAvailabilityDomain: pulumi.Any(drProtectionGroupMembersDestinationAvailabilityDomain),
DestinationCapacityReservationId: pulumi.Any(destinationCapacityReservationId),
DestinationCompartmentId: pulumi.Any(testCompartment.Id),
DestinationDedicatedVmHostId: pulumi.Any(testDedicatedVmHost.Id),
DestinationLoadBalancerId: pulumi.Any(testLoadBalancer.Id),
DestinationNetworkLoadBalancerId: pulumi.Any(testNetworkLoadBalancer.Id),
ExportMappings: disasterrecovery.DrProtectionGroupMemberExportMappingArray{
&disasterrecovery.DrProtectionGroupMemberExportMappingArgs{
DestinationMountTargetId: pulumi.Any(testMountTarget.Id),
ExportId: pulumi.Any(testExport.Id),
},
},
FileSystemOperations: disasterrecovery.DrProtectionGroupMemberFileSystemOperationArray{
&disasterrecovery.DrProtectionGroupMemberFileSystemOperationArgs{
ExportPath: pulumi.Any(drProtectionGroupMembersFileSystemOperationsExportPath),
MountDetails: &disasterrecovery.DrProtectionGroupMemberFileSystemOperationMountDetailsArgs{
MountTargetId: pulumi.Any(testMountTarget.Id),
},
MountPoint: pulumi.Any(drProtectionGroupMembersFileSystemOperationsMountPoint),
MountTargetId: pulumi.Any(testMountTarget.Id),
UnmountDetails: &disasterrecovery.DrProtectionGroupMemberFileSystemOperationUnmountDetailsArgs{
MountTargetId: pulumi.Any(testMountTarget.Id),
},
},
},
IsMovable: pulumi.Any(drProtectionGroupMembersIsMovable),
IsRetainFaultDomain: pulumi.Any(drProtectionGroupMembersIsRetainFaultDomain),
IsStartStopEnabled: pulumi.Any(drProtectionGroupMembersIsStartStopEnabled),
Namespace: pulumi.Any(drProtectionGroupMembersNamespace),
PasswordVaultSecretId: pulumi.Any(passwordVaultSecretId),
VnicMappings: disasterrecovery.DrProtectionGroupMemberVnicMappingArray{
&disasterrecovery.DrProtectionGroupMemberVnicMappingArgs{
DestinationNsgIdLists: pulumi.Any(drProtectionGroupMembersVnicMappingDestinationNsgIdList),
DestinationPrimaryPrivateIpAddress: pulumi.Any(drProtectionGroupMembersVnicMappingDestinationPrimaryPrivateIpAddress),
DestinationPrimaryPrivateIpHostnameLabel: pulumi.Any(drProtectionGroupMembersVnicMappingDestinationPrimaryPrivateIpHostnameLabel),
DestinationSubnetId: pulumi.Any(testSubnet.Id),
SourceVnicId: pulumi.Any(testVnic.Id),
},
&disasterrecovery.DrProtectionGroupMemberVnicMappingArgs{
DestinationNsgIdLists: pulumi.Any(drProtectionGroupMembersVnicMappingsDestinationNsgIdList),
DestinationPrimaryPrivateIpAddress: pulumi.Any(drProtectionGroupMembersVnicMappingsDestinationPrimaryPrivateIpAddress),
DestinationPrimaryPrivateIpHostnameLabel: pulumi.Any(drProtectionGroupMembersVnicMappingsDestinationPrimaryPrivateIpHostnameLabel),
DestinationSubnetId: pulumi.Any(testSubnet.Id),
SourceVnicId: pulumi.Any(testVnic.Id),
},
},
},
},
})
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 config = new Config();
var disassociateTrigger = config.GetDouble("disassociateTrigger") ?? 0;
var testDrProtectionGroup = new Oci.DisasterRecovery.DrProtectionGroup("test_dr_protection_group", new()
{
CompartmentId = compartmentId,
DisplayName = drProtectionGroupDisplayName,
LogLocation = new Oci.DisasterRecovery.Inputs.DrProtectionGroupLogLocationArgs
{
Bucket = drProtectionGroupLogLocationBucket,
Namespace = drProtectionGroupLogLocationNamespace,
},
Association = new Oci.DisasterRecovery.Inputs.DrProtectionGroupAssociationArgs
{
Role = drProtectionGroupAssociationRole,
PeerId = drProtectionGroupAssociationPeerId,
PeerRegion = drProtectionGroupAssociationPeerRegion,
},
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
FreeformTags =
{
{ "Department", "Finance" },
},
DisassociateTrigger = disassociateTrigger,
Members = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberArgs
{
MemberId = drProtectionGroupMembersMemberId,
MemberType = drProtectionGroupMembersMemberType,
AutonomousDatabaseStandbyTypeForDrDrills = drProtectionGroupMembersAutonomousDatabaseStandbyTypeForDrDrills,
BackendSetMappings = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberBackendSetMappingArgs
{
DestinationBackendSetName = testBackendSet.Name,
IsBackendSetForNonMovable = drProtectionGroupMembersBackendSetMappingsIsBackendSetForNonMovable,
SourceBackendSetName = testBackendSet.Name,
},
},
BlockVolumeOperations = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberBlockVolumeOperationArgs
{
AttachmentDetails = new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberBlockVolumeOperationAttachmentDetailsArgs
{
VolumeAttachmentReferenceInstanceId = testInstance.Id,
},
BlockVolumeId = testVolume.Id,
MountDetails = new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberBlockVolumeOperationMountDetailsArgs
{
MountPoint = drProtectionGroupMembersBlockVolumeOperationsMountDetailsMountPoint,
},
},
},
ConnectionStringType = drProtectionGroupMembersConnectionStringType,
Bucket = drProtectionGroupMembersBucket,
DestinationAvailabilityDomain = drProtectionGroupMembersDestinationAvailabilityDomain,
DestinationCapacityReservationId = destinationCapacityReservationId,
DestinationCompartmentId = testCompartment.Id,
DestinationDedicatedVmHostId = testDedicatedVmHost.Id,
DestinationLoadBalancerId = testLoadBalancer.Id,
DestinationNetworkLoadBalancerId = testNetworkLoadBalancer.Id,
ExportMappings = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberExportMappingArgs
{
DestinationMountTargetId = testMountTarget.Id,
ExportId = testExport.Id,
},
},
FileSystemOperations = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberFileSystemOperationArgs
{
ExportPath = drProtectionGroupMembersFileSystemOperationsExportPath,
MountDetails = new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberFileSystemOperationMountDetailsArgs
{
MountTargetId = testMountTarget.Id,
},
MountPoint = drProtectionGroupMembersFileSystemOperationsMountPoint,
MountTargetId = testMountTarget.Id,
UnmountDetails = new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberFileSystemOperationUnmountDetailsArgs
{
MountTargetId = testMountTarget.Id,
},
},
},
IsMovable = drProtectionGroupMembersIsMovable,
IsRetainFaultDomain = drProtectionGroupMembersIsRetainFaultDomain,
IsStartStopEnabled = drProtectionGroupMembersIsStartStopEnabled,
Namespace = drProtectionGroupMembersNamespace,
PasswordVaultSecretId = passwordVaultSecretId,
VnicMappings = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberVnicMappingArgs
{
DestinationNsgIdLists = drProtectionGroupMembersVnicMappingDestinationNsgIdList,
DestinationPrimaryPrivateIpAddress = drProtectionGroupMembersVnicMappingDestinationPrimaryPrivateIpAddress,
DestinationPrimaryPrivateIpHostnameLabel = drProtectionGroupMembersVnicMappingDestinationPrimaryPrivateIpHostnameLabel,
DestinationSubnetId = testSubnet.Id,
SourceVnicId = testVnic.Id,
},
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberVnicMappingArgs
{
DestinationNsgIdLists = drProtectionGroupMembersVnicMappingsDestinationNsgIdList,
DestinationPrimaryPrivateIpAddress = drProtectionGroupMembersVnicMappingsDestinationPrimaryPrivateIpAddress,
DestinationPrimaryPrivateIpHostnameLabel = drProtectionGroupMembersVnicMappingsDestinationPrimaryPrivateIpHostnameLabel,
DestinationSubnetId = testSubnet.Id,
SourceVnicId = testVnic.Id,
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DisasterRecovery.DrProtectionGroup;
import com.pulumi.oci.DisasterRecovery.DrProtectionGroupArgs;
import com.pulumi.oci.DisasterRecovery.inputs.DrProtectionGroupLogLocationArgs;
import com.pulumi.oci.DisasterRecovery.inputs.DrProtectionGroupAssociationArgs;
import com.pulumi.oci.DisasterRecovery.inputs.DrProtectionGroupMemberArgs;
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) {
final var config = ctx.config();
final var disassociateTrigger = config.get("disassociateTrigger").orElse(0);
var testDrProtectionGroup = new DrProtectionGroup("testDrProtectionGroup", DrProtectionGroupArgs.builder()
.compartmentId(compartmentId)
.displayName(drProtectionGroupDisplayName)
.logLocation(DrProtectionGroupLogLocationArgs.builder()
.bucket(drProtectionGroupLogLocationBucket)
.namespace(drProtectionGroupLogLocationNamespace)
.build())
.association(DrProtectionGroupAssociationArgs.builder()
.role(drProtectionGroupAssociationRole)
.peerId(drProtectionGroupAssociationPeerId)
.peerRegion(drProtectionGroupAssociationPeerRegion)
.build())
.definedTags(Map.of("Operations.CostCenter", "42"))
.freeformTags(Map.of("Department", "Finance"))
.disassociateTrigger(disassociateTrigger)
.members(DrProtectionGroupMemberArgs.builder()
.memberId(drProtectionGroupMembersMemberId)
.memberType(drProtectionGroupMembersMemberType)
.autonomousDatabaseStandbyTypeForDrDrills(drProtectionGroupMembersAutonomousDatabaseStandbyTypeForDrDrills)
.backendSetMappings(DrProtectionGroupMemberBackendSetMappingArgs.builder()
.destinationBackendSetName(testBackendSet.name())
.isBackendSetForNonMovable(drProtectionGroupMembersBackendSetMappingsIsBackendSetForNonMovable)
.sourceBackendSetName(testBackendSet.name())
.build())
.blockVolumeOperations(DrProtectionGroupMemberBlockVolumeOperationArgs.builder()
.attachmentDetails(DrProtectionGroupMemberBlockVolumeOperationAttachmentDetailsArgs.builder()
.volumeAttachmentReferenceInstanceId(testInstance.id())
.build())
.blockVolumeId(testVolume.id())
.mountDetails(DrProtectionGroupMemberBlockVolumeOperationMountDetailsArgs.builder()
.mountPoint(drProtectionGroupMembersBlockVolumeOperationsMountDetailsMountPoint)
.build())
.build())
.connectionStringType(drProtectionGroupMembersConnectionStringType)
.bucket(drProtectionGroupMembersBucket)
.destinationAvailabilityDomain(drProtectionGroupMembersDestinationAvailabilityDomain)
.destinationCapacityReservationId(destinationCapacityReservationId)
.destinationCompartmentId(testCompartment.id())
.destinationDedicatedVmHostId(testDedicatedVmHost.id())
.destinationLoadBalancerId(testLoadBalancer.id())
.destinationNetworkLoadBalancerId(testNetworkLoadBalancer.id())
.exportMappings(DrProtectionGroupMemberExportMappingArgs.builder()
.destinationMountTargetId(testMountTarget.id())
.exportId(testExport.id())
.build())
.fileSystemOperations(DrProtectionGroupMemberFileSystemOperationArgs.builder()
.exportPath(drProtectionGroupMembersFileSystemOperationsExportPath)
.mountDetails(DrProtectionGroupMemberFileSystemOperationMountDetailsArgs.builder()
.mountTargetId(testMountTarget.id())
.build())
.mountPoint(drProtectionGroupMembersFileSystemOperationsMountPoint)
.mountTargetId(testMountTarget.id())
.unmountDetails(DrProtectionGroupMemberFileSystemOperationUnmountDetailsArgs.builder()
.mountTargetId(testMountTarget.id())
.build())
.build())
.isMovable(drProtectionGroupMembersIsMovable)
.isRetainFaultDomain(drProtectionGroupMembersIsRetainFaultDomain)
.isStartStopEnabled(drProtectionGroupMembersIsStartStopEnabled)
.namespace(drProtectionGroupMembersNamespace)
.passwordVaultSecretId(passwordVaultSecretId)
.vnicMappings(
DrProtectionGroupMemberVnicMappingArgs.builder()
.destinationNsgIdLists(drProtectionGroupMembersVnicMappingDestinationNsgIdList)
.destinationPrimaryPrivateIpAddress(drProtectionGroupMembersVnicMappingDestinationPrimaryPrivateIpAddress)
.destinationPrimaryPrivateIpHostnameLabel(drProtectionGroupMembersVnicMappingDestinationPrimaryPrivateIpHostnameLabel)
.destinationSubnetId(testSubnet.id())
.sourceVnicId(testVnic.id())
.build(),
DrProtectionGroupMemberVnicMappingArgs.builder()
.destinationNsgIdLists(drProtectionGroupMembersVnicMappingsDestinationNsgIdList)
.destinationPrimaryPrivateIpAddress(drProtectionGroupMembersVnicMappingsDestinationPrimaryPrivateIpAddress)
.destinationPrimaryPrivateIpHostnameLabel(drProtectionGroupMembersVnicMappingsDestinationPrimaryPrivateIpHostnameLabel)
.destinationSubnetId(testSubnet.id())
.sourceVnicId(testVnic.id())
.build())
.build())
.build());
}
}
configuration:
disassociateTrigger:
type: number
default: 0
resources:
testDrProtectionGroup:
type: oci:DisasterRecovery:DrProtectionGroup
name: test_dr_protection_group
properties:
compartmentId: ${compartmentId}
displayName: ${drProtectionGroupDisplayName}
logLocation:
bucket: ${drProtectionGroupLogLocationBucket}
namespace: ${drProtectionGroupLogLocationNamespace}
association:
role: ${drProtectionGroupAssociationRole}
peerId: ${drProtectionGroupAssociationPeerId}
peerRegion: ${drProtectionGroupAssociationPeerRegion}
definedTags:
Operations.CostCenter: '42'
freeformTags:
Department: Finance
disassociateTrigger: ${disassociateTrigger}
members:
- memberId: ${drProtectionGroupMembersMemberId}
memberType: ${drProtectionGroupMembersMemberType}
autonomousDatabaseStandbyTypeForDrDrills: ${drProtectionGroupMembersAutonomousDatabaseStandbyTypeForDrDrills}
backendSetMappings:
- destinationBackendSetName: ${testBackendSet.name}
isBackendSetForNonMovable: ${drProtectionGroupMembersBackendSetMappingsIsBackendSetForNonMovable}
sourceBackendSetName: ${testBackendSet.name}
blockVolumeOperations:
- attachmentDetails:
volumeAttachmentReferenceInstanceId: ${testInstance.id}
blockVolumeId: ${testVolume.id}
mountDetails:
mountPoint: ${drProtectionGroupMembersBlockVolumeOperationsMountDetailsMountPoint}
connectionStringType: ${drProtectionGroupMembersConnectionStringType}
bucket: ${drProtectionGroupMembersBucket}
destinationAvailabilityDomain: ${drProtectionGroupMembersDestinationAvailabilityDomain}
destinationCapacityReservationId: ${destinationCapacityReservationId}
destinationCompartmentId: ${testCompartment.id}
destinationDedicatedVmHostId: ${testDedicatedVmHost.id}
destinationLoadBalancerId: ${testLoadBalancer.id}
destinationNetworkLoadBalancerId: ${testNetworkLoadBalancer.id}
exportMappings:
- destinationMountTargetId: ${testMountTarget.id}
exportId: ${testExport.id}
fileSystemOperations:
- exportPath: ${drProtectionGroupMembersFileSystemOperationsExportPath}
mountDetails:
mountTargetId: ${testMountTarget.id}
mountPoint: ${drProtectionGroupMembersFileSystemOperationsMountPoint}
mountTargetId: ${testMountTarget.id}
unmountDetails:
mountTargetId: ${testMountTarget.id}
isMovable: ${drProtectionGroupMembersIsMovable}
isRetainFaultDomain: ${drProtectionGroupMembersIsRetainFaultDomain}
isStartStopEnabled: ${drProtectionGroupMembersIsStartStopEnabled}
namespace: ${drProtectionGroupMembersNamespace}
passwordVaultSecretId: ${passwordVaultSecretId}
vnicMappings:
- destinationNsgIdLists: ${drProtectionGroupMembersVnicMappingDestinationNsgIdList}
destinationPrimaryPrivateIpAddress: ${drProtectionGroupMembersVnicMappingDestinationPrimaryPrivateIpAddress}
destinationPrimaryPrivateIpHostnameLabel: ${drProtectionGroupMembersVnicMappingDestinationPrimaryPrivateIpHostnameLabel}
destinationSubnetId: ${testSubnet.id}
sourceVnicId: ${testVnic.id}
- destinationNsgIdLists: ${drProtectionGroupMembersVnicMappingsDestinationNsgIdList}
destinationPrimaryPrivateIpAddress: ${drProtectionGroupMembersVnicMappingsDestinationPrimaryPrivateIpAddress}
destinationPrimaryPrivateIpHostnameLabel: ${drProtectionGroupMembersVnicMappingsDestinationPrimaryPrivateIpHostnameLabel}
destinationSubnetId: ${testSubnet.id}
sourceVnicId: ${testVnic.id}
Create
Create DR Protection Group resource with a default value of disassociate_trigger
property, e.g.
pulumi up -var "disassociate_trigger=0"
Delete
Disassociate DR Protection Group (if associated) before deleting it. Increment value of disassociate_trigger
property to trigger Disassociate, e.g.
terraform destroy -var "disassociate_trigger=1"
Create DrProtectionGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DrProtectionGroup(name: string, args: DrProtectionGroupArgs, opts?: CustomResourceOptions);
@overload
def DrProtectionGroup(resource_name: str,
args: DrProtectionGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DrProtectionGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
log_location: Optional[_disasterrecovery.DrProtectionGroupLogLocationArgs] = None,
association: Optional[_disasterrecovery.DrProtectionGroupAssociationArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
disassociate_trigger: Optional[int] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
members: Optional[Sequence[_disasterrecovery.DrProtectionGroupMemberArgs]] = None)
func NewDrProtectionGroup(ctx *Context, name string, args DrProtectionGroupArgs, opts ...ResourceOption) (*DrProtectionGroup, error)
public DrProtectionGroup(string name, DrProtectionGroupArgs args, CustomResourceOptions? opts = null)
public DrProtectionGroup(String name, DrProtectionGroupArgs args)
public DrProtectionGroup(String name, DrProtectionGroupArgs args, CustomResourceOptions options)
type: oci:DisasterRecovery:DrProtectionGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DrProtectionGroupArgs
- 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 DrProtectionGroupArgs
- 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 DrProtectionGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DrProtectionGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DrProtectionGroupArgs
- 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 drProtectionGroupResource = new Oci.DisasterRecovery.DrProtectionGroup("drProtectionGroupResource", new()
{
CompartmentId = "string",
DisplayName = "string",
LogLocation = new Oci.DisasterRecovery.Inputs.DrProtectionGroupLogLocationArgs
{
Bucket = "string",
Namespace = "string",
Object = "string",
},
Association = new Oci.DisasterRecovery.Inputs.DrProtectionGroupAssociationArgs
{
Role = "string",
PeerId = "string",
PeerRegion = "string",
},
DefinedTags =
{
{ "string", "string" },
},
DisassociateTrigger = 0,
FreeformTags =
{
{ "string", "string" },
},
Members = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberArgs
{
MemberId = "string",
MemberType = "string",
DestinationNetworkLoadBalancerId = "string",
ExportMappings = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberExportMappingArgs
{
DestinationMountTargetId = "string",
ExportId = "string",
},
},
ConnectionStringType = "string",
DestinationAvailabilityDomain = "string",
DestinationCapacityReservationId = "string",
DestinationCompartmentId = "string",
DestinationDedicatedVmHostId = "string",
DestinationLoadBalancerId = "string",
AutonomousDatabaseStandbyTypeForDrDrills = "string",
Bucket = "string",
FileSystemOperations = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberFileSystemOperationArgs
{
ExportPath = "string",
MountDetails = new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberFileSystemOperationMountDetailsArgs
{
MountTargetId = "string",
},
MountPoint = "string",
MountTargetId = "string",
UnmountDetails = new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberFileSystemOperationUnmountDetailsArgs
{
MountTargetId = "string",
},
},
},
IsMovable = false,
IsRetainFaultDomain = false,
IsStartStopEnabled = false,
BlockVolumeOperations = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberBlockVolumeOperationArgs
{
AttachmentDetails = new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberBlockVolumeOperationAttachmentDetailsArgs
{
VolumeAttachmentReferenceInstanceId = "string",
},
BlockVolumeId = "string",
MountDetails = new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberBlockVolumeOperationMountDetailsArgs
{
MountPoint = "string",
},
},
},
BackendSetMappings = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberBackendSetMappingArgs
{
DestinationBackendSetName = "string",
IsBackendSetForNonMovable = false,
SourceBackendSetName = "string",
},
},
Namespace = "string",
PasswordVaultSecretId = "string",
VnicMapping = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberVnicMappingArgs
{
DestinationNsgIdLists = new[]
{
"string",
},
DestinationPrimaryPrivateIpAddress = "string",
DestinationPrimaryPrivateIpHostnameLabel = "string",
DestinationSubnetId = "string",
SourceVnicId = "string",
},
},
VnicMappings = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberVnicMappingArgs
{
DestinationNsgIdLists = new[]
{
"string",
},
DestinationPrimaryPrivateIpAddress = "string",
DestinationPrimaryPrivateIpHostnameLabel = "string",
DestinationSubnetId = "string",
SourceVnicId = "string",
},
},
},
},
});
example, err := DisasterRecovery.NewDrProtectionGroup(ctx, "drProtectionGroupResource", &DisasterRecovery.DrProtectionGroupArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
LogLocation: &disasterrecovery.DrProtectionGroupLogLocationArgs{
Bucket: pulumi.String("string"),
Namespace: pulumi.String("string"),
Object: pulumi.String("string"),
},
Association: &disasterrecovery.DrProtectionGroupAssociationArgs{
Role: pulumi.String("string"),
PeerId: pulumi.String("string"),
PeerRegion: pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisassociateTrigger: pulumi.Int(0),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Members: disasterrecovery.DrProtectionGroupMemberArray{
&disasterrecovery.DrProtectionGroupMemberArgs{
MemberId: pulumi.String("string"),
MemberType: pulumi.String("string"),
DestinationNetworkLoadBalancerId: pulumi.String("string"),
ExportMappings: disasterrecovery.DrProtectionGroupMemberExportMappingArray{
&disasterrecovery.DrProtectionGroupMemberExportMappingArgs{
DestinationMountTargetId: pulumi.String("string"),
ExportId: pulumi.String("string"),
},
},
ConnectionStringType: pulumi.String("string"),
DestinationAvailabilityDomain: pulumi.String("string"),
DestinationCapacityReservationId: pulumi.String("string"),
DestinationCompartmentId: pulumi.String("string"),
DestinationDedicatedVmHostId: pulumi.String("string"),
DestinationLoadBalancerId: pulumi.String("string"),
AutonomousDatabaseStandbyTypeForDrDrills: pulumi.String("string"),
Bucket: pulumi.String("string"),
FileSystemOperations: disasterrecovery.DrProtectionGroupMemberFileSystemOperationArray{
&disasterrecovery.DrProtectionGroupMemberFileSystemOperationArgs{
ExportPath: pulumi.String("string"),
MountDetails: &disasterrecovery.DrProtectionGroupMemberFileSystemOperationMountDetailsArgs{
MountTargetId: pulumi.String("string"),
},
MountPoint: pulumi.String("string"),
MountTargetId: pulumi.String("string"),
UnmountDetails: &disasterrecovery.DrProtectionGroupMemberFileSystemOperationUnmountDetailsArgs{
MountTargetId: pulumi.String("string"),
},
},
},
IsMovable: pulumi.Bool(false),
IsRetainFaultDomain: pulumi.Bool(false),
IsStartStopEnabled: pulumi.Bool(false),
BlockVolumeOperations: disasterrecovery.DrProtectionGroupMemberBlockVolumeOperationArray{
&disasterrecovery.DrProtectionGroupMemberBlockVolumeOperationArgs{
AttachmentDetails: &disasterrecovery.DrProtectionGroupMemberBlockVolumeOperationAttachmentDetailsArgs{
VolumeAttachmentReferenceInstanceId: pulumi.String("string"),
},
BlockVolumeId: pulumi.String("string"),
MountDetails: &disasterrecovery.DrProtectionGroupMemberBlockVolumeOperationMountDetailsArgs{
MountPoint: pulumi.String("string"),
},
},
},
BackendSetMappings: disasterrecovery.DrProtectionGroupMemberBackendSetMappingArray{
&disasterrecovery.DrProtectionGroupMemberBackendSetMappingArgs{
DestinationBackendSetName: pulumi.String("string"),
IsBackendSetForNonMovable: pulumi.Bool(false),
SourceBackendSetName: pulumi.String("string"),
},
},
Namespace: pulumi.String("string"),
PasswordVaultSecretId: pulumi.String("string"),
VnicMapping: disasterrecovery.DrProtectionGroupMemberVnicMappingArray{
&disasterrecovery.DrProtectionGroupMemberVnicMappingArgs{
DestinationNsgIdLists: pulumi.StringArray{
pulumi.String("string"),
},
DestinationPrimaryPrivateIpAddress: pulumi.String("string"),
DestinationPrimaryPrivateIpHostnameLabel: pulumi.String("string"),
DestinationSubnetId: pulumi.String("string"),
SourceVnicId: pulumi.String("string"),
},
},
VnicMappings: disasterrecovery.DrProtectionGroupMemberVnicMappingArray{
&disasterrecovery.DrProtectionGroupMemberVnicMappingArgs{
DestinationNsgIdLists: pulumi.StringArray{
pulumi.String("string"),
},
DestinationPrimaryPrivateIpAddress: pulumi.String("string"),
DestinationPrimaryPrivateIpHostnameLabel: pulumi.String("string"),
DestinationSubnetId: pulumi.String("string"),
SourceVnicId: pulumi.String("string"),
},
},
},
},
})
var drProtectionGroupResource = new DrProtectionGroup("drProtectionGroupResource", DrProtectionGroupArgs.builder()
.compartmentId("string")
.displayName("string")
.logLocation(DrProtectionGroupLogLocationArgs.builder()
.bucket("string")
.namespace("string")
.object("string")
.build())
.association(DrProtectionGroupAssociationArgs.builder()
.role("string")
.peerId("string")
.peerRegion("string")
.build())
.definedTags(Map.of("string", "string"))
.disassociateTrigger(0)
.freeformTags(Map.of("string", "string"))
.members(DrProtectionGroupMemberArgs.builder()
.memberId("string")
.memberType("string")
.destinationNetworkLoadBalancerId("string")
.exportMappings(DrProtectionGroupMemberExportMappingArgs.builder()
.destinationMountTargetId("string")
.exportId("string")
.build())
.connectionStringType("string")
.destinationAvailabilityDomain("string")
.destinationCapacityReservationId("string")
.destinationCompartmentId("string")
.destinationDedicatedVmHostId("string")
.destinationLoadBalancerId("string")
.autonomousDatabaseStandbyTypeForDrDrills("string")
.bucket("string")
.fileSystemOperations(DrProtectionGroupMemberFileSystemOperationArgs.builder()
.exportPath("string")
.mountDetails(DrProtectionGroupMemberFileSystemOperationMountDetailsArgs.builder()
.mountTargetId("string")
.build())
.mountPoint("string")
.mountTargetId("string")
.unmountDetails(DrProtectionGroupMemberFileSystemOperationUnmountDetailsArgs.builder()
.mountTargetId("string")
.build())
.build())
.isMovable(false)
.isRetainFaultDomain(false)
.isStartStopEnabled(false)
.blockVolumeOperations(DrProtectionGroupMemberBlockVolumeOperationArgs.builder()
.attachmentDetails(DrProtectionGroupMemberBlockVolumeOperationAttachmentDetailsArgs.builder()
.volumeAttachmentReferenceInstanceId("string")
.build())
.blockVolumeId("string")
.mountDetails(DrProtectionGroupMemberBlockVolumeOperationMountDetailsArgs.builder()
.mountPoint("string")
.build())
.build())
.backendSetMappings(DrProtectionGroupMemberBackendSetMappingArgs.builder()
.destinationBackendSetName("string")
.isBackendSetForNonMovable(false)
.sourceBackendSetName("string")
.build())
.namespace("string")
.passwordVaultSecretId("string")
.vnicMapping(DrProtectionGroupMemberVnicMappingArgs.builder()
.destinationNsgIdLists("string")
.destinationPrimaryPrivateIpAddress("string")
.destinationPrimaryPrivateIpHostnameLabel("string")
.destinationSubnetId("string")
.sourceVnicId("string")
.build())
.vnicMappings(DrProtectionGroupMemberVnicMappingArgs.builder()
.destinationNsgIdLists("string")
.destinationPrimaryPrivateIpAddress("string")
.destinationPrimaryPrivateIpHostnameLabel("string")
.destinationSubnetId("string")
.sourceVnicId("string")
.build())
.build())
.build());
dr_protection_group_resource = oci.disaster_recovery.DrProtectionGroup("drProtectionGroupResource",
compartment_id="string",
display_name="string",
log_location={
"bucket": "string",
"namespace": "string",
"object": "string",
},
association={
"role": "string",
"peer_id": "string",
"peer_region": "string",
},
defined_tags={
"string": "string",
},
disassociate_trigger=0,
freeform_tags={
"string": "string",
},
members=[{
"member_id": "string",
"member_type": "string",
"destination_network_load_balancer_id": "string",
"export_mappings": [{
"destination_mount_target_id": "string",
"export_id": "string",
}],
"connection_string_type": "string",
"destination_availability_domain": "string",
"destination_capacity_reservation_id": "string",
"destination_compartment_id": "string",
"destination_dedicated_vm_host_id": "string",
"destination_load_balancer_id": "string",
"autonomous_database_standby_type_for_dr_drills": "string",
"bucket": "string",
"file_system_operations": [{
"export_path": "string",
"mount_details": {
"mount_target_id": "string",
},
"mount_point": "string",
"mount_target_id": "string",
"unmount_details": {
"mount_target_id": "string",
},
}],
"is_movable": False,
"is_retain_fault_domain": False,
"is_start_stop_enabled": False,
"block_volume_operations": [{
"attachment_details": {
"volume_attachment_reference_instance_id": "string",
},
"block_volume_id": "string",
"mount_details": {
"mount_point": "string",
},
}],
"backend_set_mappings": [{
"destination_backend_set_name": "string",
"is_backend_set_for_non_movable": False,
"source_backend_set_name": "string",
}],
"namespace": "string",
"password_vault_secret_id": "string",
"vnic_mapping": [{
"destination_nsg_id_lists": ["string"],
"destination_primary_private_ip_address": "string",
"destination_primary_private_ip_hostname_label": "string",
"destination_subnet_id": "string",
"source_vnic_id": "string",
}],
"vnic_mappings": [{
"destination_nsg_id_lists": ["string"],
"destination_primary_private_ip_address": "string",
"destination_primary_private_ip_hostname_label": "string",
"destination_subnet_id": "string",
"source_vnic_id": "string",
}],
}])
const drProtectionGroupResource = new oci.disasterrecovery.DrProtectionGroup("drProtectionGroupResource", {
compartmentId: "string",
displayName: "string",
logLocation: {
bucket: "string",
namespace: "string",
object: "string",
},
association: {
role: "string",
peerId: "string",
peerRegion: "string",
},
definedTags: {
string: "string",
},
disassociateTrigger: 0,
freeformTags: {
string: "string",
},
members: [{
memberId: "string",
memberType: "string",
destinationNetworkLoadBalancerId: "string",
exportMappings: [{
destinationMountTargetId: "string",
exportId: "string",
}],
connectionStringType: "string",
destinationAvailabilityDomain: "string",
destinationCapacityReservationId: "string",
destinationCompartmentId: "string",
destinationDedicatedVmHostId: "string",
destinationLoadBalancerId: "string",
autonomousDatabaseStandbyTypeForDrDrills: "string",
bucket: "string",
fileSystemOperations: [{
exportPath: "string",
mountDetails: {
mountTargetId: "string",
},
mountPoint: "string",
mountTargetId: "string",
unmountDetails: {
mountTargetId: "string",
},
}],
isMovable: false,
isRetainFaultDomain: false,
isStartStopEnabled: false,
blockVolumeOperations: [{
attachmentDetails: {
volumeAttachmentReferenceInstanceId: "string",
},
blockVolumeId: "string",
mountDetails: {
mountPoint: "string",
},
}],
backendSetMappings: [{
destinationBackendSetName: "string",
isBackendSetForNonMovable: false,
sourceBackendSetName: "string",
}],
namespace: "string",
passwordVaultSecretId: "string",
vnicMapping: [{
destinationNsgIdLists: ["string"],
destinationPrimaryPrivateIpAddress: "string",
destinationPrimaryPrivateIpHostnameLabel: "string",
destinationSubnetId: "string",
sourceVnicId: "string",
}],
vnicMappings: [{
destinationNsgIdLists: ["string"],
destinationPrimaryPrivateIpAddress: "string",
destinationPrimaryPrivateIpHostnameLabel: "string",
destinationSubnetId: "string",
sourceVnicId: "string",
}],
}],
});
type: oci:DisasterRecovery:DrProtectionGroup
properties:
association:
peerId: string
peerRegion: string
role: string
compartmentId: string
definedTags:
string: string
disassociateTrigger: 0
displayName: string
freeformTags:
string: string
logLocation:
bucket: string
namespace: string
object: string
members:
- autonomousDatabaseStandbyTypeForDrDrills: string
backendSetMappings:
- destinationBackendSetName: string
isBackendSetForNonMovable: false
sourceBackendSetName: string
blockVolumeOperations:
- attachmentDetails:
volumeAttachmentReferenceInstanceId: string
blockVolumeId: string
mountDetails:
mountPoint: string
bucket: string
connectionStringType: string
destinationAvailabilityDomain: string
destinationCapacityReservationId: string
destinationCompartmentId: string
destinationDedicatedVmHostId: string
destinationLoadBalancerId: string
destinationNetworkLoadBalancerId: string
exportMappings:
- destinationMountTargetId: string
exportId: string
fileSystemOperations:
- exportPath: string
mountDetails:
mountTargetId: string
mountPoint: string
mountTargetId: string
unmountDetails:
mountTargetId: string
isMovable: false
isRetainFaultDomain: false
isStartStopEnabled: false
memberId: string
memberType: string
namespace: string
passwordVaultSecretId: string
vnicMapping:
- destinationNsgIdLists:
- string
destinationPrimaryPrivateIpAddress: string
destinationPrimaryPrivateIpHostnameLabel: string
destinationSubnetId: string
sourceVnicId: string
vnicMappings:
- destinationNsgIdLists:
- string
destinationPrimaryPrivateIpAddress: string
destinationPrimaryPrivateIpHostnameLabel: string
destinationSubnetId: string
sourceVnicId: string
DrProtectionGroup 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 DrProtectionGroup resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- Display
Name string - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- Log
Location DrProtection Group Log Location - (Updatable) The details for creating an object storage log location for a DR protection group.
- Association
Dr
Protection Group Association - The details for associating a DR protection group with a peer DR protection group.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Disassociate
Trigger int (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- Members
List<Dr
Protection Group Member> - (Updatable) A list of DR protection group members.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- Display
Name string - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- Log
Location DrProtection Group Log Location Args - (Updatable) The details for creating an object storage log location for a DR protection group.
- Association
Dr
Protection Group Association Args - The details for associating a DR protection group with a peer DR protection group.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Disassociate
Trigger int (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- Members
[]Dr
Protection Group Member Args - (Updatable) A list of DR protection group members.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- display
Name String - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- log
Location DrProtection Group Log Location - (Updatable) The details for creating an object storage log location for a DR protection group.
- association
Dr
Protection Group Association - The details for associating a DR protection group with a peer DR protection group.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger Integer (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- members
List<Dr
Protection Group Member> - (Updatable) A list of DR protection group members.
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- display
Name string - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- log
Location DrProtection Group Log Location - (Updatable) The details for creating an object storage log location for a DR protection group.
- association
Dr
Protection Group Association - The details for associating a DR protection group with a peer DR protection group.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger number (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- members
Dr
Protection Group Member[] - (Updatable) A list of DR protection group members.
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- display_
name str - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- log_
location disasterrecovery.Dr Protection Group Log Location Args - (Updatable) The details for creating an object storage log location for a DR protection group.
- association
disasterrecovery.
Dr Protection Group Association Args - The details for associating a DR protection group with a peer DR protection group.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate_
trigger int (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- members
Sequence[disasterrecovery.
Dr Protection Group Member Args] - (Updatable) A list of DR protection group members.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- display
Name String - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- log
Location Property Map - (Updatable) The details for creating an object storage log location for a DR protection group.
- association Property Map
- The details for associating a DR protection group with a peer DR protection group.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger Number (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- members List<Property Map>
- (Updatable) A list of DR protection group members.
Outputs
All input properties are implicitly available as output properties. Additionally, the DrProtectionGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Life
Cycle stringDetails - A message describing the DR protection group's current state in more detail.
- Lifecycle
Sub stringState - The current sub-state of the DR protection group.
- Peer
Id string - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region string - The region of the peer DR protection group. Example:
us-ashburn-1
- Role string
- The role of the DR protection group.
- State string
- The current state of the DR protection group.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated string - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Id string
- The provider-assigned unique ID for this managed resource.
- Life
Cycle stringDetails - A message describing the DR protection group's current state in more detail.
- Lifecycle
Sub stringState - The current sub-state of the DR protection group.
- Peer
Id string - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region string - The region of the peer DR protection group. Example:
us-ashburn-1
- Role string
- The role of the DR protection group.
- State string
- The current state of the DR protection group.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated string - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- id String
- The provider-assigned unique ID for this managed resource.
- life
Cycle StringDetails - A message describing the DR protection group's current state in more detail.
- lifecycle
Sub StringState - The current sub-state of the DR protection group.
- peer
Id String - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region String - The region of the peer DR protection group. Example:
us-ashburn-1
- role String
- The role of the DR protection group.
- state String
- The current state of the DR protection group.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated String - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- id string
- The provider-assigned unique ID for this managed resource.
- life
Cycle stringDetails - A message describing the DR protection group's current state in more detail.
- lifecycle
Sub stringState - The current sub-state of the DR protection group.
- peer
Id string - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region string - The region of the peer DR protection group. Example:
us-ashburn-1
- role string
- The role of the DR protection group.
- state string
- The current state of the DR protection group.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated string - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- id str
- The provider-assigned unique ID for this managed resource.
- life_
cycle_ strdetails - A message describing the DR protection group's current state in more detail.
- lifecycle_
sub_ strstate - The current sub-state of the DR protection group.
- peer_
id str - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer_
region str - The region of the peer DR protection group. Example:
us-ashburn-1
- role str
- The role of the DR protection group.
- state str
- The current state of the DR protection group.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time_
updated str - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- id String
- The provider-assigned unique ID for this managed resource.
- life
Cycle StringDetails - A message describing the DR protection group's current state in more detail.
- lifecycle
Sub StringState - The current sub-state of the DR protection group.
- peer
Id String - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region String - The region of the peer DR protection group. Example:
us-ashburn-1
- role String
- The role of the DR protection group.
- state String
- The current state of the DR protection group.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated String - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
Look up Existing DrProtectionGroup Resource
Get an existing DrProtectionGroup 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?: DrProtectionGroupState, opts?: CustomResourceOptions): DrProtectionGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
association: Optional[_disasterrecovery.DrProtectionGroupAssociationArgs] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
disassociate_trigger: Optional[int] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
life_cycle_details: Optional[str] = None,
lifecycle_sub_state: Optional[str] = None,
log_location: Optional[_disasterrecovery.DrProtectionGroupLogLocationArgs] = None,
members: Optional[Sequence[_disasterrecovery.DrProtectionGroupMemberArgs]] = None,
peer_id: Optional[str] = None,
peer_region: Optional[str] = None,
role: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> DrProtectionGroup
func GetDrProtectionGroup(ctx *Context, name string, id IDInput, state *DrProtectionGroupState, opts ...ResourceOption) (*DrProtectionGroup, error)
public static DrProtectionGroup Get(string name, Input<string> id, DrProtectionGroupState? state, CustomResourceOptions? opts = null)
public static DrProtectionGroup get(String name, Output<String> id, DrProtectionGroupState 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.
- Association
Dr
Protection Group Association - The details for associating a DR protection group with a peer DR protection group.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Disassociate
Trigger int (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- Display
Name string - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- Life
Cycle stringDetails - A message describing the DR protection group's current state in more detail.
- Lifecycle
Sub stringState - The current sub-state of the DR protection group.
- Log
Location DrProtection Group Log Location - (Updatable) The details for creating an object storage log location for a DR protection group.
- Members
List<Dr
Protection Group Member> - (Updatable) A list of DR protection group members.
- Peer
Id string - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region string - The region of the peer DR protection group. Example:
us-ashburn-1
- Role string
- The role of the DR protection group.
- State string
- The current state of the DR protection group.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated string - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Association
Dr
Protection Group Association Args - The details for associating a DR protection group with a peer DR protection group.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Disassociate
Trigger int (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- Display
Name string - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- Life
Cycle stringDetails - A message describing the DR protection group's current state in more detail.
- Lifecycle
Sub stringState - The current sub-state of the DR protection group.
- Log
Location DrProtection Group Log Location Args - (Updatable) The details for creating an object storage log location for a DR protection group.
- Members
[]Dr
Protection Group Member Args - (Updatable) A list of DR protection group members.
- Peer
Id string - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region string - The region of the peer DR protection group. Example:
us-ashburn-1
- Role string
- The role of the DR protection group.
- State string
- The current state of the DR protection group.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated string - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- association
Dr
Protection Group Association - The details for associating a DR protection group with a peer DR protection group.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger Integer (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- display
Name String - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- life
Cycle StringDetails - A message describing the DR protection group's current state in more detail.
- lifecycle
Sub StringState - The current sub-state of the DR protection group.
- log
Location DrProtection Group Log Location - (Updatable) The details for creating an object storage log location for a DR protection group.
- members
List<Dr
Protection Group Member> - (Updatable) A list of DR protection group members.
- peer
Id String - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region String - The region of the peer DR protection group. Example:
us-ashburn-1
- role String
- The role of the DR protection group.
- state String
- The current state of the DR protection group.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated String - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- association
Dr
Protection Group Association - The details for associating a DR protection group with a peer DR protection group.
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger number (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- display
Name string - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- life
Cycle stringDetails - A message describing the DR protection group's current state in more detail.
- lifecycle
Sub stringState - The current sub-state of the DR protection group.
- log
Location DrProtection Group Log Location - (Updatable) The details for creating an object storage log location for a DR protection group.
- members
Dr
Protection Group Member[] - (Updatable) A list of DR protection group members.
- peer
Id string - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region string - The region of the peer DR protection group. Example:
us-ashburn-1
- role string
- The role of the DR protection group.
- state string
- The current state of the DR protection group.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated string - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- association
disasterrecovery.
Dr Protection Group Association Args - The details for associating a DR protection group with a peer DR protection group.
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate_
trigger int (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- display_
name str - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- life_
cycle_ strdetails - A message describing the DR protection group's current state in more detail.
- lifecycle_
sub_ strstate - The current sub-state of the DR protection group.
- log_
location disasterrecovery.Dr Protection Group Log Location Args - (Updatable) The details for creating an object storage log location for a DR protection group.
- members
Sequence[disasterrecovery.
Dr Protection Group Member Args] - (Updatable) A list of DR protection group members.
- peer_
id str - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer_
region str - The region of the peer DR protection group. Example:
us-ashburn-1
- role str
- The role of the DR protection group.
- state str
- The current state of the DR protection group.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time_
updated str - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- association Property Map
- The details for associating a DR protection group with a peer DR protection group.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the DR protection group. Example:
ocid1.compartment.oc1..uniqueID
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger Number (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** 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
- display
Name String - (Updatable) The display name of the DR protection group. Example:
EBS PHX Group
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- life
Cycle StringDetails - A message describing the DR protection group's current state in more detail.
- lifecycle
Sub StringState - The current sub-state of the DR protection group.
- log
Location Property Map - (Updatable) The details for creating an object storage log location for a DR protection group.
- members List<Property Map>
- (Updatable) A list of DR protection group members.
- peer
Id String - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region String - The region of the peer DR protection group. Example:
us-ashburn-1
- role String
- The role of the DR protection group.
- state String
- The current state of the DR protection group.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the DR protection group was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated String - The date and time the DR protection group was updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
Supporting Types
DrProtectionGroupAssociation, DrProtectionGroupAssociationArgs
- Role string
- The role of the DR protection group. Example:
STANDBY
- Peer
Id string - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region string - The region of the peer DR protection group. Example:
us-ashburn-1
- Role string
- The role of the DR protection group. Example:
STANDBY
- Peer
Id string - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region string - The region of the peer DR protection group. Example:
us-ashburn-1
- role String
- The role of the DR protection group. Example:
STANDBY
- peer
Id String - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region String - The region of the peer DR protection group. Example:
us-ashburn-1
- role string
- The role of the DR protection group. Example:
STANDBY
- peer
Id string - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region string - The region of the peer DR protection group. Example:
us-ashburn-1
- role str
- The role of the DR protection group. Example:
STANDBY
- peer_
id str - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer_
region str - The region of the peer DR protection group. Example:
us-ashburn-1
- role String
- The role of the DR protection group. Example:
STANDBY
- peer
Id String - The OCID of the peer DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region String - The region of the peer DR protection group. Example:
us-ashburn-1
DrProtectionGroupLogLocation, DrProtectionGroupLogLocationArgs
- Bucket string
- (Updatable) The bucket name inside the object storage namespace. Example:
operation_logs
- Namespace string
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- Object string
- The object name inside the object storage bucket. Example:
switchover_plan_executions
- Bucket string
- (Updatable) The bucket name inside the object storage namespace. Example:
operation_logs
- Namespace string
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- Object string
- The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket String
- (Updatable) The bucket name inside the object storage namespace. Example:
operation_logs
- namespace String
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object String
- The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket string
- (Updatable) The bucket name inside the object storage namespace. Example:
operation_logs
- namespace string
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object string
- The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket str
- (Updatable) The bucket name inside the object storage namespace. Example:
operation_logs
- namespace str
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object str
- The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket String
- (Updatable) The bucket name inside the object storage namespace. Example:
operation_logs
- namespace String
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object String
- The object name inside the object storage bucket. Example:
switchover_plan_executions
DrProtectionGroupMember, DrProtectionGroupMemberArgs
- Member
Id string - (Updatable) The OCID of the member. Example:
ocid1.instance.oc1..uniqueID
- Member
Type string - (Updatable) The type of the member.
- Autonomous
Database stringStandby Type For Dr Drills - (Updatable) This specifies the mechanism used to create a temporary Autonomous Database instance for DR Drills. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html for information about these clone types. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html for information about snapshot standby.
- Backend
Set List<DrMappings Protection Group Member Backend Set Mapping> - (Updatable) A list of backend set mappings that are used to transfer or update backends during DR.
- Block
Volume List<DrOperations Protection Group Member Block Volume Operation> - (Updatable) A list of operations performed on block volumes used by the compute instance.
- Bucket string
- (Updatable) The bucket name inside the object storage namespace. Example:
bucket_name
- Connection
String stringType - (Updatable) The type of connection strings used to connect to an Autonomous Container Database snapshot standby created during a DR Drill operation. See https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for information about these service types.
- string
- (Updatable) The availability domain of the destination mount target. Example:
BBTh:region-AD
- Destination
Capacity stringReservation Id - (Updatable) The OCID of a capacity reservation in the destination region which will be used to launch the compute instance. Example:
ocid1.capacityreservation.oc1..uniqueID
- Destination
Compartment stringId - (Updatable) The OCID of a compartment in the destination region in which the compute instance should be launched. Example:
ocid1.compartment.oc1..uniqueID
- Destination
Dedicated stringVm Host Id - (Updatable) The OCID of a dedicated VM host in the destination region where the compute instance should be launched. Example:
ocid1.dedicatedvmhost.oc1..uniqueID
- Destination
Load stringBalancer Id - (Updatable) The OCID of the destination load balancer. Example:
ocid1.loadbalancer.oc1..uniqueID
- Destination
Network stringLoad Balancer Id - (Updatable) The OCID of the destination network load balancer. Example:
ocid1.networkloadbalancer.oc1..uniqueID
- Export
Mappings List<DrProtection Group Member Export Mapping> - (Updatable) A list of mappings between file system exports in the primary region and mount targets in the standby region.
- File
System List<DrOperations Protection Group Member File System Operation> - (Updatable) A list of operations performed on file systems used by the compute instance.
- Is
Movable bool - (Updatable) A flag indicating if the compute instance should be moved during DR operations. Example:
false
- Is
Retain boolFault Domain - (Updatable) A flag indicating if the compute instance should be moved to the same fault domain in the destination region. The compute instance launch will fail if this flag is set to true and capacity is not available in the specified fault domain in the destination region. Example:
false
- Is
Start boolStop Enabled - (Updatable) A flag indicating whether the non-movable compute instance should be started and stopped during DR operations. Prechecks cannot be executed on stopped instances that are configured to be started.
- Namespace string
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- Password
Vault stringSecret Id - (Updatable) The OCID of the vault secret where the database SYSDBA password is stored. This password is required and used for performing database DR Drill operations when using full clone. Example:
ocid1.vaultsecret.oc1..uniqueID
- Vnic
Mapping List<DrProtection Group Member Vnic Mapping> - (Updatable) A list of compute instance VNIC mappings.
- Vnic
Mappings List<DrProtection Group Member Vnic Mapping> - (Updatable) A list of compute instance VNIC mappings.
- Member
Id string - (Updatable) The OCID of the member. Example:
ocid1.instance.oc1..uniqueID
- Member
Type string - (Updatable) The type of the member.
- Autonomous
Database stringStandby Type For Dr Drills - (Updatable) This specifies the mechanism used to create a temporary Autonomous Database instance for DR Drills. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html for information about these clone types. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html for information about snapshot standby.
- Backend
Set []DrMappings Protection Group Member Backend Set Mapping - (Updatable) A list of backend set mappings that are used to transfer or update backends during DR.
- Block
Volume []DrOperations Protection Group Member Block Volume Operation - (Updatable) A list of operations performed on block volumes used by the compute instance.
- Bucket string
- (Updatable) The bucket name inside the object storage namespace. Example:
bucket_name
- Connection
String stringType - (Updatable) The type of connection strings used to connect to an Autonomous Container Database snapshot standby created during a DR Drill operation. See https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for information about these service types.
- string
- (Updatable) The availability domain of the destination mount target. Example:
BBTh:region-AD
- Destination
Capacity stringReservation Id - (Updatable) The OCID of a capacity reservation in the destination region which will be used to launch the compute instance. Example:
ocid1.capacityreservation.oc1..uniqueID
- Destination
Compartment stringId - (Updatable) The OCID of a compartment in the destination region in which the compute instance should be launched. Example:
ocid1.compartment.oc1..uniqueID
- Destination
Dedicated stringVm Host Id - (Updatable) The OCID of a dedicated VM host in the destination region where the compute instance should be launched. Example:
ocid1.dedicatedvmhost.oc1..uniqueID
- Destination
Load stringBalancer Id - (Updatable) The OCID of the destination load balancer. Example:
ocid1.loadbalancer.oc1..uniqueID
- Destination
Network stringLoad Balancer Id - (Updatable) The OCID of the destination network load balancer. Example:
ocid1.networkloadbalancer.oc1..uniqueID
- Export
Mappings []DrProtection Group Member Export Mapping - (Updatable) A list of mappings between file system exports in the primary region and mount targets in the standby region.
- File
System []DrOperations Protection Group Member File System Operation - (Updatable) A list of operations performed on file systems used by the compute instance.
- Is
Movable bool - (Updatable) A flag indicating if the compute instance should be moved during DR operations. Example:
false
- Is
Retain boolFault Domain - (Updatable) A flag indicating if the compute instance should be moved to the same fault domain in the destination region. The compute instance launch will fail if this flag is set to true and capacity is not available in the specified fault domain in the destination region. Example:
false
- Is
Start boolStop Enabled - (Updatable) A flag indicating whether the non-movable compute instance should be started and stopped during DR operations. Prechecks cannot be executed on stopped instances that are configured to be started.
- Namespace string
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- Password
Vault stringSecret Id - (Updatable) The OCID of the vault secret where the database SYSDBA password is stored. This password is required and used for performing database DR Drill operations when using full clone. Example:
ocid1.vaultsecret.oc1..uniqueID
- Vnic
Mapping []DrProtection Group Member Vnic Mapping - (Updatable) A list of compute instance VNIC mappings.
- Vnic
Mappings []DrProtection Group Member Vnic Mapping - (Updatable) A list of compute instance VNIC mappings.
- member
Id String - (Updatable) The OCID of the member. Example:
ocid1.instance.oc1..uniqueID
- member
Type String - (Updatable) The type of the member.
- autonomous
Database StringStandby Type For Dr Drills - (Updatable) This specifies the mechanism used to create a temporary Autonomous Database instance for DR Drills. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html for information about these clone types. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html for information about snapshot standby.
- backend
Set List<DrMappings Protection Group Member Backend Set Mapping> - (Updatable) A list of backend set mappings that are used to transfer or update backends during DR.
- block
Volume List<DrOperations Protection Group Member Block Volume Operation> - (Updatable) A list of operations performed on block volumes used by the compute instance.
- bucket String
- (Updatable) The bucket name inside the object storage namespace. Example:
bucket_name
- connection
String StringType - (Updatable) The type of connection strings used to connect to an Autonomous Container Database snapshot standby created during a DR Drill operation. See https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for information about these service types.
- String
- (Updatable) The availability domain of the destination mount target. Example:
BBTh:region-AD
- destination
Capacity StringReservation Id - (Updatable) The OCID of a capacity reservation in the destination region which will be used to launch the compute instance. Example:
ocid1.capacityreservation.oc1..uniqueID
- destination
Compartment StringId - (Updatable) The OCID of a compartment in the destination region in which the compute instance should be launched. Example:
ocid1.compartment.oc1..uniqueID
- destination
Dedicated StringVm Host Id - (Updatable) The OCID of a dedicated VM host in the destination region where the compute instance should be launched. Example:
ocid1.dedicatedvmhost.oc1..uniqueID
- destination
Load StringBalancer Id - (Updatable) The OCID of the destination load balancer. Example:
ocid1.loadbalancer.oc1..uniqueID
- destination
Network StringLoad Balancer Id - (Updatable) The OCID of the destination network load balancer. Example:
ocid1.networkloadbalancer.oc1..uniqueID
- export
Mappings List<DrProtection Group Member Export Mapping> - (Updatable) A list of mappings between file system exports in the primary region and mount targets in the standby region.
- file
System List<DrOperations Protection Group Member File System Operation> - (Updatable) A list of operations performed on file systems used by the compute instance.
- is
Movable Boolean - (Updatable) A flag indicating if the compute instance should be moved during DR operations. Example:
false
- is
Retain BooleanFault Domain - (Updatable) A flag indicating if the compute instance should be moved to the same fault domain in the destination region. The compute instance launch will fail if this flag is set to true and capacity is not available in the specified fault domain in the destination region. Example:
false
- is
Start BooleanStop Enabled - (Updatable) A flag indicating whether the non-movable compute instance should be started and stopped during DR operations. Prechecks cannot be executed on stopped instances that are configured to be started.
- namespace String
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- password
Vault StringSecret Id - (Updatable) The OCID of the vault secret where the database SYSDBA password is stored. This password is required and used for performing database DR Drill operations when using full clone. Example:
ocid1.vaultsecret.oc1..uniqueID
- vnic
Mapping List<DrProtection Group Member Vnic Mapping> - (Updatable) A list of compute instance VNIC mappings.
- vnic
Mappings List<DrProtection Group Member Vnic Mapping> - (Updatable) A list of compute instance VNIC mappings.
- member
Id string - (Updatable) The OCID of the member. Example:
ocid1.instance.oc1..uniqueID
- member
Type string - (Updatable) The type of the member.
- autonomous
Database stringStandby Type For Dr Drills - (Updatable) This specifies the mechanism used to create a temporary Autonomous Database instance for DR Drills. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html for information about these clone types. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html for information about snapshot standby.
- backend
Set DrMappings Protection Group Member Backend Set Mapping[] - (Updatable) A list of backend set mappings that are used to transfer or update backends during DR.
- block
Volume DrOperations Protection Group Member Block Volume Operation[] - (Updatable) A list of operations performed on block volumes used by the compute instance.
- bucket string
- (Updatable) The bucket name inside the object storage namespace. Example:
bucket_name
- connection
String stringType - (Updatable) The type of connection strings used to connect to an Autonomous Container Database snapshot standby created during a DR Drill operation. See https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for information about these service types.
- string
- (Updatable) The availability domain of the destination mount target. Example:
BBTh:region-AD
- destination
Capacity stringReservation Id - (Updatable) The OCID of a capacity reservation in the destination region which will be used to launch the compute instance. Example:
ocid1.capacityreservation.oc1..uniqueID
- destination
Compartment stringId - (Updatable) The OCID of a compartment in the destination region in which the compute instance should be launched. Example:
ocid1.compartment.oc1..uniqueID
- destination
Dedicated stringVm Host Id - (Updatable) The OCID of a dedicated VM host in the destination region where the compute instance should be launched. Example:
ocid1.dedicatedvmhost.oc1..uniqueID
- destination
Load stringBalancer Id - (Updatable) The OCID of the destination load balancer. Example:
ocid1.loadbalancer.oc1..uniqueID
- destination
Network stringLoad Balancer Id - (Updatable) The OCID of the destination network load balancer. Example:
ocid1.networkloadbalancer.oc1..uniqueID
- export
Mappings DrProtection Group Member Export Mapping[] - (Updatable) A list of mappings between file system exports in the primary region and mount targets in the standby region.
- file
System DrOperations Protection Group Member File System Operation[] - (Updatable) A list of operations performed on file systems used by the compute instance.
- is
Movable boolean - (Updatable) A flag indicating if the compute instance should be moved during DR operations. Example:
false
- is
Retain booleanFault Domain - (Updatable) A flag indicating if the compute instance should be moved to the same fault domain in the destination region. The compute instance launch will fail if this flag is set to true and capacity is not available in the specified fault domain in the destination region. Example:
false
- is
Start booleanStop Enabled - (Updatable) A flag indicating whether the non-movable compute instance should be started and stopped during DR operations. Prechecks cannot be executed on stopped instances that are configured to be started.
- namespace string
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- password
Vault stringSecret Id - (Updatable) The OCID of the vault secret where the database SYSDBA password is stored. This password is required and used for performing database DR Drill operations when using full clone. Example:
ocid1.vaultsecret.oc1..uniqueID
- vnic
Mapping DrProtection Group Member Vnic Mapping[] - (Updatable) A list of compute instance VNIC mappings.
- vnic
Mappings DrProtection Group Member Vnic Mapping[] - (Updatable) A list of compute instance VNIC mappings.
- member_
id str - (Updatable) The OCID of the member. Example:
ocid1.instance.oc1..uniqueID
- member_
type str - (Updatable) The type of the member.
- autonomous_
database_ strstandby_ type_ for_ dr_ drills - (Updatable) This specifies the mechanism used to create a temporary Autonomous Database instance for DR Drills. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html for information about these clone types. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html for information about snapshot standby.
- backend_
set_ Sequence[disasterrecovery.mappings Dr Protection Group Member Backend Set Mapping] - (Updatable) A list of backend set mappings that are used to transfer or update backends during DR.
- block_
volume_ Sequence[disasterrecovery.operations Dr Protection Group Member Block Volume Operation] - (Updatable) A list of operations performed on block volumes used by the compute instance.
- bucket str
- (Updatable) The bucket name inside the object storage namespace. Example:
bucket_name
- connection_
string_ strtype - (Updatable) The type of connection strings used to connect to an Autonomous Container Database snapshot standby created during a DR Drill operation. See https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for information about these service types.
- destination_
availability_ strdomain - (Updatable) The availability domain of the destination mount target. Example:
BBTh:region-AD
- destination_
capacity_ strreservation_ id - (Updatable) The OCID of a capacity reservation in the destination region which will be used to launch the compute instance. Example:
ocid1.capacityreservation.oc1..uniqueID
- destination_
compartment_ strid - (Updatable) The OCID of a compartment in the destination region in which the compute instance should be launched. Example:
ocid1.compartment.oc1..uniqueID
- destination_
dedicated_ strvm_ host_ id - (Updatable) The OCID of a dedicated VM host in the destination region where the compute instance should be launched. Example:
ocid1.dedicatedvmhost.oc1..uniqueID
- destination_
load_ strbalancer_ id - (Updatable) The OCID of the destination load balancer. Example:
ocid1.loadbalancer.oc1..uniqueID
- destination_
network_ strload_ balancer_ id - (Updatable) The OCID of the destination network load balancer. Example:
ocid1.networkloadbalancer.oc1..uniqueID
- export_
mappings Sequence[disasterrecovery.Dr Protection Group Member Export Mapping] - (Updatable) A list of mappings between file system exports in the primary region and mount targets in the standby region.
- file_
system_ Sequence[disasterrecovery.operations Dr Protection Group Member File System Operation] - (Updatable) A list of operations performed on file systems used by the compute instance.
- is_
movable bool - (Updatable) A flag indicating if the compute instance should be moved during DR operations. Example:
false
- is_
retain_ boolfault_ domain - (Updatable) A flag indicating if the compute instance should be moved to the same fault domain in the destination region. The compute instance launch will fail if this flag is set to true and capacity is not available in the specified fault domain in the destination region. Example:
false
- is_
start_ boolstop_ enabled - (Updatable) A flag indicating whether the non-movable compute instance should be started and stopped during DR operations. Prechecks cannot be executed on stopped instances that are configured to be started.
- namespace str
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- password_
vault_ strsecret_ id - (Updatable) The OCID of the vault secret where the database SYSDBA password is stored. This password is required and used for performing database DR Drill operations when using full clone. Example:
ocid1.vaultsecret.oc1..uniqueID
- vnic_
mapping Sequence[disasterrecovery.Dr Protection Group Member Vnic Mapping] - (Updatable) A list of compute instance VNIC mappings.
- vnic_
mappings Sequence[disasterrecovery.Dr Protection Group Member Vnic Mapping] - (Updatable) A list of compute instance VNIC mappings.
- member
Id String - (Updatable) The OCID of the member. Example:
ocid1.instance.oc1..uniqueID
- member
Type String - (Updatable) The type of the member.
- autonomous
Database StringStandby Type For Dr Drills - (Updatable) This specifies the mechanism used to create a temporary Autonomous Database instance for DR Drills. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-clone-about.html for information about these clone types. See https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/autonomous-data-guard-snapshot-standby.html for information about snapshot standby.
- backend
Set List<Property Map>Mappings - (Updatable) A list of backend set mappings that are used to transfer or update backends during DR.
- block
Volume List<Property Map>Operations - (Updatable) A list of operations performed on block volumes used by the compute instance.
- bucket String
- (Updatable) The bucket name inside the object storage namespace. Example:
bucket_name
- connection
String StringType - (Updatable) The type of connection strings used to connect to an Autonomous Container Database snapshot standby created during a DR Drill operation. See https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html for information about these service types.
- String
- (Updatable) The availability domain of the destination mount target. Example:
BBTh:region-AD
- destination
Capacity StringReservation Id - (Updatable) The OCID of a capacity reservation in the destination region which will be used to launch the compute instance. Example:
ocid1.capacityreservation.oc1..uniqueID
- destination
Compartment StringId - (Updatable) The OCID of a compartment in the destination region in which the compute instance should be launched. Example:
ocid1.compartment.oc1..uniqueID
- destination
Dedicated StringVm Host Id - (Updatable) The OCID of a dedicated VM host in the destination region where the compute instance should be launched. Example:
ocid1.dedicatedvmhost.oc1..uniqueID
- destination
Load StringBalancer Id - (Updatable) The OCID of the destination load balancer. Example:
ocid1.loadbalancer.oc1..uniqueID
- destination
Network StringLoad Balancer Id - (Updatable) The OCID of the destination network load balancer. Example:
ocid1.networkloadbalancer.oc1..uniqueID
- export
Mappings List<Property Map> - (Updatable) A list of mappings between file system exports in the primary region and mount targets in the standby region.
- file
System List<Property Map>Operations - (Updatable) A list of operations performed on file systems used by the compute instance.
- is
Movable Boolean - (Updatable) A flag indicating if the compute instance should be moved during DR operations. Example:
false
- is
Retain BooleanFault Domain - (Updatable) A flag indicating if the compute instance should be moved to the same fault domain in the destination region. The compute instance launch will fail if this flag is set to true and capacity is not available in the specified fault domain in the destination region. Example:
false
- is
Start BooleanStop Enabled - (Updatable) A flag indicating whether the non-movable compute instance should be started and stopped during DR operations. Prechecks cannot be executed on stopped instances that are configured to be started.
- namespace String
- (Updatable) The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- password
Vault StringSecret Id - (Updatable) The OCID of the vault secret where the database SYSDBA password is stored. This password is required and used for performing database DR Drill operations when using full clone. Example:
ocid1.vaultsecret.oc1..uniqueID
- vnic
Mapping List<Property Map> - (Updatable) A list of compute instance VNIC mappings.
- vnic
Mappings List<Property Map> - (Updatable) A list of compute instance VNIC mappings.
DrProtectionGroupMemberBackendSetMapping, DrProtectionGroupMemberBackendSetMappingArgs
- Destination
Backend stringSet Name - (Updatable) The name of the destination backend set. Example:
Destination-BackendSet-1
- Is
Backend boolSet For Non Movable - (Updatable) This flag specifies if this backend set is used for traffic for non-movable compute instances. Backend sets that point to non-movable instances are only enabled or disabled during DR, their contents are not altered. For non-movable instances this flag should be set to 'true'. Backend sets that point to movable instances are emptied and their contents are transferred to the destination region load balancer. For movable instances this flag should be set to 'false'. Example:
true
- Source
Backend stringSet Name - (Updatable) The name of the source backend set. Example:
Source-BackendSet-1
- Destination
Backend stringSet Name - (Updatable) The name of the destination backend set. Example:
Destination-BackendSet-1
- Is
Backend boolSet For Non Movable - (Updatable) This flag specifies if this backend set is used for traffic for non-movable compute instances. Backend sets that point to non-movable instances are only enabled or disabled during DR, their contents are not altered. For non-movable instances this flag should be set to 'true'. Backend sets that point to movable instances are emptied and their contents are transferred to the destination region load balancer. For movable instances this flag should be set to 'false'. Example:
true
- Source
Backend stringSet Name - (Updatable) The name of the source backend set. Example:
Source-BackendSet-1
- destination
Backend StringSet Name - (Updatable) The name of the destination backend set. Example:
Destination-BackendSet-1
- is
Backend BooleanSet For Non Movable - (Updatable) This flag specifies if this backend set is used for traffic for non-movable compute instances. Backend sets that point to non-movable instances are only enabled or disabled during DR, their contents are not altered. For non-movable instances this flag should be set to 'true'. Backend sets that point to movable instances are emptied and their contents are transferred to the destination region load balancer. For movable instances this flag should be set to 'false'. Example:
true
- source
Backend StringSet Name - (Updatable) The name of the source backend set. Example:
Source-BackendSet-1
- destination
Backend stringSet Name - (Updatable) The name of the destination backend set. Example:
Destination-BackendSet-1
- is
Backend booleanSet For Non Movable - (Updatable) This flag specifies if this backend set is used for traffic for non-movable compute instances. Backend sets that point to non-movable instances are only enabled or disabled during DR, their contents are not altered. For non-movable instances this flag should be set to 'true'. Backend sets that point to movable instances are emptied and their contents are transferred to the destination region load balancer. For movable instances this flag should be set to 'false'. Example:
true
- source
Backend stringSet Name - (Updatable) The name of the source backend set. Example:
Source-BackendSet-1
- destination_
backend_ strset_ name - (Updatable) The name of the destination backend set. Example:
Destination-BackendSet-1
- is_
backend_ boolset_ for_ non_ movable - (Updatable) This flag specifies if this backend set is used for traffic for non-movable compute instances. Backend sets that point to non-movable instances are only enabled or disabled during DR, their contents are not altered. For non-movable instances this flag should be set to 'true'. Backend sets that point to movable instances are emptied and their contents are transferred to the destination region load balancer. For movable instances this flag should be set to 'false'. Example:
true
- source_
backend_ strset_ name - (Updatable) The name of the source backend set. Example:
Source-BackendSet-1
- destination
Backend StringSet Name - (Updatable) The name of the destination backend set. Example:
Destination-BackendSet-1
- is
Backend BooleanSet For Non Movable - (Updatable) This flag specifies if this backend set is used for traffic for non-movable compute instances. Backend sets that point to non-movable instances are only enabled or disabled during DR, their contents are not altered. For non-movable instances this flag should be set to 'true'. Backend sets that point to movable instances are emptied and their contents are transferred to the destination region load balancer. For movable instances this flag should be set to 'false'. Example:
true
- source
Backend StringSet Name - (Updatable) The name of the source backend set. Example:
Source-BackendSet-1
DrProtectionGroupMemberBlockVolumeOperation, DrProtectionGroupMemberBlockVolumeOperationArgs
- Attachment
Details DrProtection Group Member Block Volume Operation Attachment Details - (Updatable) The details for creating a block volume attachment.
- Block
Volume stringId - (Updatable) The OCID of the block volume. Example:
ocid1.volume.oc1..uniqueID
- Mount
Details DrProtection Group Member Block Volume Operation Mount Details - (Updatable) The details for creating a mount for a file system on a block volume.
- Attachment
Details DrProtection Group Member Block Volume Operation Attachment Details - (Updatable) The details for creating a block volume attachment.
- Block
Volume stringId - (Updatable) The OCID of the block volume. Example:
ocid1.volume.oc1..uniqueID
- Mount
Details DrProtection Group Member Block Volume Operation Mount Details - (Updatable) The details for creating a mount for a file system on a block volume.
- attachment
Details DrProtection Group Member Block Volume Operation Attachment Details - (Updatable) The details for creating a block volume attachment.
- block
Volume StringId - (Updatable) The OCID of the block volume. Example:
ocid1.volume.oc1..uniqueID
- mount
Details DrProtection Group Member Block Volume Operation Mount Details - (Updatable) The details for creating a mount for a file system on a block volume.
- attachment
Details DrProtection Group Member Block Volume Operation Attachment Details - (Updatable) The details for creating a block volume attachment.
- block
Volume stringId - (Updatable) The OCID of the block volume. Example:
ocid1.volume.oc1..uniqueID
- mount
Details DrProtection Group Member Block Volume Operation Mount Details - (Updatable) The details for creating a mount for a file system on a block volume.
- attachment_
details disasterrecovery.Dr Protection Group Member Block Volume Operation Attachment Details - (Updatable) The details for creating a block volume attachment.
- block_
volume_ strid - (Updatable) The OCID of the block volume. Example:
ocid1.volume.oc1..uniqueID
- mount_
details disasterrecovery.Dr Protection Group Member Block Volume Operation Mount Details - (Updatable) The details for creating a mount for a file system on a block volume.
- attachment
Details Property Map - (Updatable) The details for creating a block volume attachment.
- block
Volume StringId - (Updatable) The OCID of the block volume. Example:
ocid1.volume.oc1..uniqueID
- mount
Details Property Map - (Updatable) The details for creating a mount for a file system on a block volume.
DrProtectionGroupMemberBlockVolumeOperationAttachmentDetails, DrProtectionGroupMemberBlockVolumeOperationAttachmentDetailsArgs
- Volume
Attachment stringReference Instance Id - (Updatable) The OCID of the reference compute instance from which to obtain the attachment details for the volume. This reference compute instance is from the peer DR protection group. Example:
ocid1.instance.oc1..uniqueID
- Volume
Attachment stringReference Instance Id - (Updatable) The OCID of the reference compute instance from which to obtain the attachment details for the volume. This reference compute instance is from the peer DR protection group. Example:
ocid1.instance.oc1..uniqueID
- volume
Attachment StringReference Instance Id - (Updatable) The OCID of the reference compute instance from which to obtain the attachment details for the volume. This reference compute instance is from the peer DR protection group. Example:
ocid1.instance.oc1..uniqueID
- volume
Attachment stringReference Instance Id - (Updatable) The OCID of the reference compute instance from which to obtain the attachment details for the volume. This reference compute instance is from the peer DR protection group. Example:
ocid1.instance.oc1..uniqueID
- volume_
attachment_ strreference_ instance_ id - (Updatable) The OCID of the reference compute instance from which to obtain the attachment details for the volume. This reference compute instance is from the peer DR protection group. Example:
ocid1.instance.oc1..uniqueID
- volume
Attachment StringReference Instance Id - (Updatable) The OCID of the reference compute instance from which to obtain the attachment details for the volume. This reference compute instance is from the peer DR protection group. Example:
ocid1.instance.oc1..uniqueID
DrProtectionGroupMemberBlockVolumeOperationMountDetails, DrProtectionGroupMemberBlockVolumeOperationMountDetailsArgs
- Mount
Point string - (Updatable) The physical mount point used for mounting the file system on the block volume. Example:
/mnt/yourmountpoint
- Mount
Point string - (Updatable) The physical mount point used for mounting the file system on the block volume. Example:
/mnt/yourmountpoint
- mount
Point String - (Updatable) The physical mount point used for mounting the file system on the block volume. Example:
/mnt/yourmountpoint
- mount
Point string - (Updatable) The physical mount point used for mounting the file system on the block volume. Example:
/mnt/yourmountpoint
- mount_
point str - (Updatable) The physical mount point used for mounting the file system on the block volume. Example:
/mnt/yourmountpoint
- mount
Point String - (Updatable) The physical mount point used for mounting the file system on the block volume. Example:
/mnt/yourmountpoint
DrProtectionGroupMemberExportMapping, DrProtectionGroupMemberExportMappingArgs
- Destination
Mount stringTarget Id - (Updatable) The OCID of the destination mount target in the destination region which is used to export the file system. Example:
ocid1.mounttarget.oc1..uniqueID
- Export
Id string - (Updatable) The OCID of the export path in the primary region used to mount or unmount the file system. Example:
ocid1.export.oc1..uniqueID
- Destination
Mount stringTarget Id - (Updatable) The OCID of the destination mount target in the destination region which is used to export the file system. Example:
ocid1.mounttarget.oc1..uniqueID
- Export
Id string - (Updatable) The OCID of the export path in the primary region used to mount or unmount the file system. Example:
ocid1.export.oc1..uniqueID
- destination
Mount StringTarget Id - (Updatable) The OCID of the destination mount target in the destination region which is used to export the file system. Example:
ocid1.mounttarget.oc1..uniqueID
- export
Id String - (Updatable) The OCID of the export path in the primary region used to mount or unmount the file system. Example:
ocid1.export.oc1..uniqueID
- destination
Mount stringTarget Id - (Updatable) The OCID of the destination mount target in the destination region which is used to export the file system. Example:
ocid1.mounttarget.oc1..uniqueID
- export
Id string - (Updatable) The OCID of the export path in the primary region used to mount or unmount the file system. Example:
ocid1.export.oc1..uniqueID
- destination_
mount_ strtarget_ id - (Updatable) The OCID of the destination mount target in the destination region which is used to export the file system. Example:
ocid1.mounttarget.oc1..uniqueID
- export_
id str - (Updatable) The OCID of the export path in the primary region used to mount or unmount the file system. Example:
ocid1.export.oc1..uniqueID
- destination
Mount StringTarget Id - (Updatable) The OCID of the destination mount target in the destination region which is used to export the file system. Example:
ocid1.mounttarget.oc1..uniqueID
- export
Id String - (Updatable) The OCID of the export path in the primary region used to mount or unmount the file system. Example:
ocid1.export.oc1..uniqueID
DrProtectionGroupMemberFileSystemOperation, DrProtectionGroupMemberFileSystemOperationArgs
- Export
Path string - (Updatable) The export path of the file system. Example:
/fs-export-path
- Mount
Details DrProtection Group Member File System Operation Mount Details - (Updatable) The details for creating a file system mount.
- Mount
Point string - (Updatable) The physical mount point of the file system on a host. Example:
/mnt/yourmountpoint
- Mount
Target stringId - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- Unmount
Details DrProtection Group Member File System Operation Unmount Details - (Updatable) The details for creating a file system unmount.
- Export
Path string - (Updatable) The export path of the file system. Example:
/fs-export-path
- Mount
Details DrProtection Group Member File System Operation Mount Details - (Updatable) The details for creating a file system mount.
- Mount
Point string - (Updatable) The physical mount point of the file system on a host. Example:
/mnt/yourmountpoint
- Mount
Target stringId - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- Unmount
Details DrProtection Group Member File System Operation Unmount Details - (Updatable) The details for creating a file system unmount.
- export
Path String - (Updatable) The export path of the file system. Example:
/fs-export-path
- mount
Details DrProtection Group Member File System Operation Mount Details - (Updatable) The details for creating a file system mount.
- mount
Point String - (Updatable) The physical mount point of the file system on a host. Example:
/mnt/yourmountpoint
- mount
Target StringId - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- unmount
Details DrProtection Group Member File System Operation Unmount Details - (Updatable) The details for creating a file system unmount.
- export
Path string - (Updatable) The export path of the file system. Example:
/fs-export-path
- mount
Details DrProtection Group Member File System Operation Mount Details - (Updatable) The details for creating a file system mount.
- mount
Point string - (Updatable) The physical mount point of the file system on a host. Example:
/mnt/yourmountpoint
- mount
Target stringId - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- unmount
Details DrProtection Group Member File System Operation Unmount Details - (Updatable) The details for creating a file system unmount.
- export_
path str - (Updatable) The export path of the file system. Example:
/fs-export-path
- mount_
details disasterrecovery.Dr Protection Group Member File System Operation Mount Details - (Updatable) The details for creating a file system mount.
- mount_
point str - (Updatable) The physical mount point of the file system on a host. Example:
/mnt/yourmountpoint
- mount_
target_ strid - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- unmount_
details disasterrecovery.Dr Protection Group Member File System Operation Unmount Details - (Updatable) The details for creating a file system unmount.
- export
Path String - (Updatable) The export path of the file system. Example:
/fs-export-path
- mount
Details Property Map - (Updatable) The details for creating a file system mount.
- mount
Point String - (Updatable) The physical mount point of the file system on a host. Example:
/mnt/yourmountpoint
- mount
Target StringId - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- unmount
Details Property Map - (Updatable) The details for creating a file system unmount.
DrProtectionGroupMemberFileSystemOperationMountDetails, DrProtectionGroupMemberFileSystemOperationMountDetailsArgs
- Mount
Target stringId - (Updatable) The OCID of the mount target for this file system. Example:
ocid1.mounttarget.oc1..uniqueID
- Mount
Target stringId - (Updatable) The OCID of the mount target for this file system. Example:
ocid1.mounttarget.oc1..uniqueID
- mount
Target StringId - (Updatable) The OCID of the mount target for this file system. Example:
ocid1.mounttarget.oc1..uniqueID
- mount
Target stringId - (Updatable) The OCID of the mount target for this file system. Example:
ocid1.mounttarget.oc1..uniqueID
- mount_
target_ strid - (Updatable) The OCID of the mount target for this file system. Example:
ocid1.mounttarget.oc1..uniqueID
- mount
Target StringId - (Updatable) The OCID of the mount target for this file system. Example:
ocid1.mounttarget.oc1..uniqueID
DrProtectionGroupMemberFileSystemOperationUnmountDetails, DrProtectionGroupMemberFileSystemOperationUnmountDetailsArgs
- Mount
Target stringId - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- Mount
Target stringId - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- mount
Target StringId - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- mount
Target stringId - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- mount_
target_ strid - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
- mount
Target StringId - (Updatable) The OCID of the mount target. Example:
ocid1.mounttarget.oc1..uniqueID
DrProtectionGroupMemberVnicMapping, DrProtectionGroupMemberVnicMappingArgs
- Destination
Nsg List<string>Id Lists - (Updatable) A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to the source VNIC. Example:
[ ocid1.networksecuritygroup.oc1..uniqueID, ocid1.networksecuritygroup.oc1..uniqueID ]
- Destination
Primary stringPrivate Ip Address - (Updatable) The primary private IP address to be assigned to the source VNIC in the destination subnet. This IP address must belong to the destination subnet. Example:
10.0.3.3
- Destination
Primary stringPrivate Ip Hostname Label - (Updatable) The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC. This label is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, 'myhost1' in the FQDN 'myhost1.subnet123.vcn1.oraclevcn.com'). Example:
myhost1
- Destination
Subnet stringId - (Updatable) The OCID of the destination subnet to which the source VNIC should connect. Example:
ocid1.subnet.oc1..uniqueID
- Source
Vnic stringId - (Updatable) The OCID of the source VNIC. Example:
ocid1.vnic.oc1..uniqueID
- Destination
Nsg []stringId Lists - (Updatable) A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to the source VNIC. Example:
[ ocid1.networksecuritygroup.oc1..uniqueID, ocid1.networksecuritygroup.oc1..uniqueID ]
- Destination
Primary stringPrivate Ip Address - (Updatable) The primary private IP address to be assigned to the source VNIC in the destination subnet. This IP address must belong to the destination subnet. Example:
10.0.3.3
- Destination
Primary stringPrivate Ip Hostname Label - (Updatable) The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC. This label is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, 'myhost1' in the FQDN 'myhost1.subnet123.vcn1.oraclevcn.com'). Example:
myhost1
- Destination
Subnet stringId - (Updatable) The OCID of the destination subnet to which the source VNIC should connect. Example:
ocid1.subnet.oc1..uniqueID
- Source
Vnic stringId - (Updatable) The OCID of the source VNIC. Example:
ocid1.vnic.oc1..uniqueID
- destination
Nsg List<String>Id Lists - (Updatable) A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to the source VNIC. Example:
[ ocid1.networksecuritygroup.oc1..uniqueID, ocid1.networksecuritygroup.oc1..uniqueID ]
- destination
Primary StringPrivate Ip Address - (Updatable) The primary private IP address to be assigned to the source VNIC in the destination subnet. This IP address must belong to the destination subnet. Example:
10.0.3.3
- destination
Primary StringPrivate Ip Hostname Label - (Updatable) The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC. This label is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, 'myhost1' in the FQDN 'myhost1.subnet123.vcn1.oraclevcn.com'). Example:
myhost1
- destination
Subnet StringId - (Updatable) The OCID of the destination subnet to which the source VNIC should connect. Example:
ocid1.subnet.oc1..uniqueID
- source
Vnic StringId - (Updatable) The OCID of the source VNIC. Example:
ocid1.vnic.oc1..uniqueID
- destination
Nsg string[]Id Lists - (Updatable) A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to the source VNIC. Example:
[ ocid1.networksecuritygroup.oc1..uniqueID, ocid1.networksecuritygroup.oc1..uniqueID ]
- destination
Primary stringPrivate Ip Address - (Updatable) The primary private IP address to be assigned to the source VNIC in the destination subnet. This IP address must belong to the destination subnet. Example:
10.0.3.3
- destination
Primary stringPrivate Ip Hostname Label - (Updatable) The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC. This label is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, 'myhost1' in the FQDN 'myhost1.subnet123.vcn1.oraclevcn.com'). Example:
myhost1
- destination
Subnet stringId - (Updatable) The OCID of the destination subnet to which the source VNIC should connect. Example:
ocid1.subnet.oc1..uniqueID
- source
Vnic stringId - (Updatable) The OCID of the source VNIC. Example:
ocid1.vnic.oc1..uniqueID
- destination_
nsg_ Sequence[str]id_ lists - (Updatable) A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to the source VNIC. Example:
[ ocid1.networksecuritygroup.oc1..uniqueID, ocid1.networksecuritygroup.oc1..uniqueID ]
- destination_
primary_ strprivate_ ip_ address - (Updatable) The primary private IP address to be assigned to the source VNIC in the destination subnet. This IP address must belong to the destination subnet. Example:
10.0.3.3
- destination_
primary_ strprivate_ ip_ hostname_ label - (Updatable) The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC. This label is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, 'myhost1' in the FQDN 'myhost1.subnet123.vcn1.oraclevcn.com'). Example:
myhost1
- destination_
subnet_ strid - (Updatable) The OCID of the destination subnet to which the source VNIC should connect. Example:
ocid1.subnet.oc1..uniqueID
- source_
vnic_ strid - (Updatable) The OCID of the source VNIC. Example:
ocid1.vnic.oc1..uniqueID
- destination
Nsg List<String>Id Lists - (Updatable) A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to the source VNIC. Example:
[ ocid1.networksecuritygroup.oc1..uniqueID, ocid1.networksecuritygroup.oc1..uniqueID ]
- destination
Primary StringPrivate Ip Address - (Updatable) The primary private IP address to be assigned to the source VNIC in the destination subnet. This IP address must belong to the destination subnet. Example:
10.0.3.3
- destination
Primary StringPrivate Ip Hostname Label - (Updatable) The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC. This label is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, 'myhost1' in the FQDN 'myhost1.subnet123.vcn1.oraclevcn.com'). Example:
myhost1
- destination
Subnet StringId - (Updatable) The OCID of the destination subnet to which the source VNIC should connect. Example:
ocid1.subnet.oc1..uniqueID
- source
Vnic StringId - (Updatable) The OCID of the source VNIC. Example:
ocid1.vnic.oc1..uniqueID
Import
DrProtectionGroups can be imported using the id
, e.g.
$ pulumi import oci:DisasterRecovery/drProtectionGroup:DrProtectionGroup test_dr_protection_group "id"
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.