oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.DisasterRecovery.DrProtectionGroup

This resource provides the Dr Protection Group resource in Oracle Cloud Infrastructure Disaster Recovery service.

Create a new DR Protection Group.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDrProtectionGroup = new Oci.DisasterRecovery.DrProtectionGroup("testDrProtectionGroup", new()
    {
        CompartmentId = @var.Compartment_id,
        DisplayName = @var.Dr_protection_group_display_name,
        LogLocation = new Oci.DisasterRecovery.Inputs.DrProtectionGroupLogLocationArgs
        {
            Bucket = @var.Dr_protection_group_log_location_bucket,
            Namespace = @var.Dr_protection_group_log_location_namespace,
        },
        Association = new Oci.DisasterRecovery.Inputs.DrProtectionGroupAssociationArgs
        {
            Role = @var.Dr_protection_group_association_role,
            PeerId = oci_blockchain_peer.Test_peer.Id,
            PeerRegion = @var.Dr_protection_group_association_peer_region,
        },
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        Members = new[]
        {
            new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberArgs
            {
                MemberId = oci_disaster_recovery_member.Test_member.Id,
                MemberType = @var.Dr_protection_group_members_member_type,
                DestinationCompartmentId = oci_identity_compartment.Test_compartment.Id,
                DestinationDedicatedVmHostId = oci_core_dedicated_vm_host.Test_dedicated_vm_host.Id,
                IsMovable = @var.Dr_protection_group_members_is_movable,
                PasswordVaultSecretId = oci_vault_secret.Test_secret.Id,
                VnicMappings = new[]
                {
                    new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberVnicMappingArgs
                    {
                        DestinationNsgIdLists = @var.Dr_protection_group_members_vnic_mapping_destination_nsg_id_list,
                        DestinationSubnetId = oci_core_subnet.Test_subnet.Id,
                        SourceVnicId = oci_core_vnic.Test_vnic.Id,
                    },
                },
            },
        },
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DisasterRecovery.NewDrProtectionGroup(ctx, "testDrProtectionGroup", &DisasterRecovery.DrProtectionGroupArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			DisplayName:   pulumi.Any(_var.Dr_protection_group_display_name),
			LogLocation: &disasterrecovery.DrProtectionGroupLogLocationArgs{
				Bucket:    pulumi.Any(_var.Dr_protection_group_log_location_bucket),
				Namespace: pulumi.Any(_var.Dr_protection_group_log_location_namespace),
			},
			Association: &disasterrecovery.DrProtectionGroupAssociationArgs{
				Role:       pulumi.Any(_var.Dr_protection_group_association_role),
				PeerId:     pulumi.Any(oci_blockchain_peer.Test_peer.Id),
				PeerRegion: pulumi.Any(_var.Dr_protection_group_association_peer_region),
			},
			DefinedTags: pulumi.AnyMap{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			FreeformTags: pulumi.AnyMap{
				"Department": pulumi.Any("Finance"),
			},
			Members: disasterrecovery.DrProtectionGroupMemberArray{
				&disasterrecovery.DrProtectionGroupMemberArgs{
					MemberId:                     pulumi.Any(oci_disaster_recovery_member.Test_member.Id),
					MemberType:                   pulumi.Any(_var.Dr_protection_group_members_member_type),
					DestinationCompartmentId:     pulumi.Any(oci_identity_compartment.Test_compartment.Id),
					DestinationDedicatedVmHostId: pulumi.Any(oci_core_dedicated_vm_host.Test_dedicated_vm_host.Id),
					IsMovable:                    pulumi.Any(_var.Dr_protection_group_members_is_movable),
					PasswordVaultSecretId:        pulumi.Any(oci_vault_secret.Test_secret.Id),
					VnicMappings: disasterrecovery.DrProtectionGroupMemberVnicMappingArray{
						&disasterrecovery.DrProtectionGroupMemberVnicMappingArgs{
							DestinationNsgIdLists: pulumi.Any(_var.Dr_protection_group_members_vnic_mapping_destination_nsg_id_list),
							DestinationSubnetId:   pulumi.Any(oci_core_subnet.Test_subnet.Id),
							SourceVnicId:          pulumi.Any(oci_core_vnic.Test_vnic.Id),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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) {
        var testDrProtectionGroup = new DrProtectionGroup("testDrProtectionGroup", DrProtectionGroupArgs.builder()        
            .compartmentId(var_.compartment_id())
            .displayName(var_.dr_protection_group_display_name())
            .logLocation(DrProtectionGroupLogLocationArgs.builder()
                .bucket(var_.dr_protection_group_log_location_bucket())
                .namespace(var_.dr_protection_group_log_location_namespace())
                .build())
            .association(DrProtectionGroupAssociationArgs.builder()
                .role(var_.dr_protection_group_association_role())
                .peerId(oci_blockchain_peer.test_peer().id())
                .peerRegion(var_.dr_protection_group_association_peer_region())
                .build())
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .freeformTags(Map.of("Department", "Finance"))
            .members(DrProtectionGroupMemberArgs.builder()
                .memberId(oci_disaster_recovery_member.test_member().id())
                .memberType(var_.dr_protection_group_members_member_type())
                .destinationCompartmentId(oci_identity_compartment.test_compartment().id())
                .destinationDedicatedVmHostId(oci_core_dedicated_vm_host.test_dedicated_vm_host().id())
                .isMovable(var_.dr_protection_group_members_is_movable())
                .passwordVaultSecretId(oci_vault_secret.test_secret().id())
                .vnicMappings(DrProtectionGroupMemberVnicMappingArgs.builder()
                    .destinationNsgIdLists(var_.dr_protection_group_members_vnic_mapping_destination_nsg_id_list())
                    .destinationSubnetId(oci_core_subnet.test_subnet().id())
                    .sourceVnicId(oci_core_vnic.test_vnic().id())
                    .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_dr_protection_group = oci.disaster_recovery.DrProtectionGroup("testDrProtectionGroup",
    compartment_id=var["compartment_id"],
    display_name=var["dr_protection_group_display_name"],
    log_location=oci.disaster_recovery.DrProtectionGroupLogLocationArgs(
        bucket=var["dr_protection_group_log_location_bucket"],
        namespace=var["dr_protection_group_log_location_namespace"],
    ),
    association=oci.disaster_recovery.DrProtectionGroupAssociationArgs(
        role=var["dr_protection_group_association_role"],
        peer_id=oci_blockchain_peer["test_peer"]["id"],
        peer_region=var["dr_protection_group_association_peer_region"],
    ),
    defined_tags={
        "Operations.CostCenter": "42",
    },
    freeform_tags={
        "Department": "Finance",
    },
    members=[oci.disaster_recovery.DrProtectionGroupMemberArgs(
        member_id=oci_disaster_recovery_member["test_member"]["id"],
        member_type=var["dr_protection_group_members_member_type"],
        destination_compartment_id=oci_identity_compartment["test_compartment"]["id"],
        destination_dedicated_vm_host_id=oci_core_dedicated_vm_host["test_dedicated_vm_host"]["id"],
        is_movable=var["dr_protection_group_members_is_movable"],
        password_vault_secret_id=oci_vault_secret["test_secret"]["id"],
        vnic_mappings=[oci.disaster_recovery.DrProtectionGroupMemberVnicMappingArgs(
            destination_nsg_id_lists=var["dr_protection_group_members_vnic_mapping_destination_nsg_id_list"],
            destination_subnet_id=oci_core_subnet["test_subnet"]["id"],
            source_vnic_id=oci_core_vnic["test_vnic"]["id"],
        )],
    )])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDrProtectionGroup = new oci.disasterrecovery.DrProtectionGroup("testDrProtectionGroup", {
    compartmentId: _var.compartment_id,
    displayName: _var.dr_protection_group_display_name,
    logLocation: {
        bucket: _var.dr_protection_group_log_location_bucket,
        namespace: _var.dr_protection_group_log_location_namespace,
    },
    association: {
        role: _var.dr_protection_group_association_role,
        peerId: oci_blockchain_peer.test_peer.id,
        peerRegion: _var.dr_protection_group_association_peer_region,
    },
    definedTags: {
        "Operations.CostCenter": "42",
    },
    freeformTags: {
        Department: "Finance",
    },
    members: [{
        memberId: oci_disaster_recovery_member.test_member.id,
        memberType: _var.dr_protection_group_members_member_type,
        destinationCompartmentId: oci_identity_compartment.test_compartment.id,
        destinationDedicatedVmHostId: oci_core_dedicated_vm_host.test_dedicated_vm_host.id,
        isMovable: _var.dr_protection_group_members_is_movable,
        passwordVaultSecretId: oci_vault_secret.test_secret.id,
        vnicMappings: [{
            destinationNsgIdLists: _var.dr_protection_group_members_vnic_mapping_destination_nsg_id_list,
            destinationSubnetId: oci_core_subnet.test_subnet.id,
            sourceVnicId: oci_core_vnic.test_vnic.id,
        }],
    }],
});
resources:
  testDrProtectionGroup:
    type: oci:DisasterRecovery:DrProtectionGroup
    properties:
      #Required
      compartmentId: ${var.compartment_id}
      displayName: ${var.dr_protection_group_display_name}
      logLocation:
        bucket: ${var.dr_protection_group_log_location_bucket}
        namespace: ${var.dr_protection_group_log_location_namespace}
      association:
        role: ${var.dr_protection_group_association_role}
        peerId: ${oci_blockchain_peer.test_peer.id}
        peerRegion: ${var.dr_protection_group_association_peer_region}
      definedTags:
        Operations.CostCenter: '42'
      freeformTags:
        Department: Finance
      members:
        - memberId: ${oci_disaster_recovery_member.test_member.id}
          memberType: ${var.dr_protection_group_members_member_type}
          destinationCompartmentId: ${oci_identity_compartment.test_compartment.id}
          destinationDedicatedVmHostId: ${oci_core_dedicated_vm_host.test_dedicated_vm_host.id}
          isMovable: ${var.dr_protection_group_members_is_movable}
          passwordVaultSecretId: ${oci_vault_secret.test_secret.id}
          vnicMappings:
            - destinationNsgIdLists: ${var.dr_protection_group_members_vnic_mapping_destination_nsg_id_list}
              destinationSubnetId: ${oci_core_subnet.test_subnet.id}
              sourceVnicId: ${oci_core_vnic.test_vnic.id}

Create DrProtectionGroup Resource

new DrProtectionGroup(name: string, args: DrProtectionGroupArgs, opts?: CustomResourceOptions);
@overload
def DrProtectionGroup(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      association: Optional[_disasterrecovery.DrProtectionGroupAssociationArgs] = None,
                      compartment_id: Optional[str] = None,
                      defined_tags: Optional[Mapping[str, Any]] = None,
                      disassociate_trigger: Optional[int] = None,
                      display_name: Optional[str] = None,
                      freeform_tags: Optional[Mapping[str, Any]] = None,
                      log_location: Optional[_disasterrecovery.DrProtectionGroupLogLocationArgs] = None,
                      members: Optional[Sequence[_disasterrecovery.DrProtectionGroupMemberArgs]] = None)
@overload
def DrProtectionGroup(resource_name: str,
                      args: DrProtectionGroupArgs,
                      opts: Optional[ResourceOptions] = 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.

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.

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

The DrProtectionGroup resource accepts the following input properties:

CompartmentId string

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

DisplayName string

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

LogLocation DrProtectionGroupLogLocationArgs

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

Association DrProtectionGroupAssociationArgs

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

DisassociateTrigger int

(Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.

FreeformTags Dictionary<string, object>

(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<DrProtectionGroupMemberArgs>

(Updatable) A list of DR Protection Group members.

CompartmentId string

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

DisplayName string

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

LogLocation DrProtectionGroupLogLocationArgs

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

Association DrProtectionGroupAssociationArgs

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

DisassociateTrigger int

(Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.

FreeformTags map[string]interface{}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

Members []DrProtectionGroupMemberArgs

(Updatable) A list of DR Protection Group members.

compartmentId String

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

displayName String

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

logLocation DrProtectionGroupLogLocationArgs

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

association DrProtectionGroupAssociationArgs

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

disassociateTrigger Integer

(Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.

freeformTags Map<String,Object>

(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<DrProtectionGroupMemberArgs>

(Updatable) A list of DR Protection Group members.

compartmentId string

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

displayName string

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

logLocation DrProtectionGroupLogLocationArgs

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

association DrProtectionGroupAssociationArgs

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

disassociateTrigger number

(Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.

freeformTags {[key: string]: any}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

members DrProtectionGroupMemberArgs[]

(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..exampleocid1

display_name str

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

log_location DrProtectionGroupLogLocationArgs

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

association DrProtectionGroupAssociationArgs

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

defined_tags Mapping[str, Any]

(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.

freeform_tags Mapping[str, Any]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

members DrProtectionGroupMemberArgs]

(Updatable) A list of DR Protection Group members.

compartmentId String

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

displayName String

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

logLocation Property Map

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

association Property Map

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

disassociateTrigger Number

(Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.

freeformTags Map<Any>

(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.

LifeCycleDetails string

A message describing the DR Protection Group's current state in more detail.

PeerId string

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

PeerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

Role string

The role of this DR Protection Group.

State string

The current state of the DR Protection Group.

SystemTags Dictionary<string, object>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

TimeUpdated 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.

LifeCycleDetails string

A message describing the DR Protection Group's current state in more detail.

PeerId string

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

PeerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

Role string

The role of this DR Protection Group.

State string

The current state of the DR Protection Group.

SystemTags map[string]interface{}

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

TimeUpdated 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.

lifeCycleDetails String

A message describing the DR Protection Group's current state in more detail.

peerId String

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peerRegion String

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role String

The role of this DR Protection Group.

state String

The current state of the DR Protection Group.

systemTags Map<String,Object>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeUpdated 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.

lifeCycleDetails string

A message describing the DR Protection Group's current state in more detail.

peerId string

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role string

The role of this DR Protection Group.

state string

The current state of the DR Protection Group.

systemTags {[key: string]: any}

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated string

The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeUpdated 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_details str

A message describing the DR Protection Group's current state in more detail.

peer_id str

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peer_region str

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role str

The role of this DR Protection Group.

state str

The current state of the DR Protection Group.

system_tags Mapping[str, Any]

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.

lifeCycleDetails String

A message describing the DR Protection Group's current state in more detail.

peerId String

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peerRegion String

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role String

The role of this DR Protection Group.

state String

The current state of the DR Protection Group.

systemTags Map<Any>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeUpdated 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, Any]] = None,
        disassociate_trigger: Optional[int] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        life_cycle_details: 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, Any]] = 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.
The following state arguments are supported:
Association DrProtectionGroupAssociationArgs

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

CompartmentId string

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

DisassociateTrigger int

(Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.

DisplayName string

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

FreeformTags Dictionary<string, object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

LifeCycleDetails string

A message describing the DR Protection Group's current state in more detail.

LogLocation DrProtectionGroupLogLocationArgs

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

Members List<DrProtectionGroupMemberArgs>

(Updatable) A list of DR Protection Group members.

PeerId string

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

PeerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

Role string

The role of this DR Protection Group.

State string

The current state of the DR Protection Group.

SystemTags Dictionary<string, object>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

TimeUpdated string

The date and time the DR Protection Group was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

Association DrProtectionGroupAssociationArgs

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

CompartmentId string

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

DisassociateTrigger int

(Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.

DisplayName string

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

FreeformTags map[string]interface{}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

LifeCycleDetails string

A message describing the DR Protection Group's current state in more detail.

LogLocation DrProtectionGroupLogLocationArgs

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

Members []DrProtectionGroupMemberArgs

(Updatable) A list of DR Protection Group members.

PeerId string

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

PeerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

Role string

The role of this DR Protection Group.

State string

The current state of the DR Protection Group.

SystemTags map[string]interface{}

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

TimeUpdated string

The date and time the DR Protection Group was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

association DrProtectionGroupAssociationArgs

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

compartmentId String

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

disassociateTrigger Integer

(Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.

displayName String

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

freeformTags Map<String,Object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

lifeCycleDetails String

A message describing the DR Protection Group's current state in more detail.

logLocation DrProtectionGroupLogLocationArgs

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

members List<DrProtectionGroupMemberArgs>

(Updatable) A list of DR Protection Group members.

peerId String

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peerRegion String

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role String

The role of this DR Protection Group.

state String

The current state of the DR Protection Group.

systemTags Map<String,Object>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeUpdated String

The date and time the DR Protection Group was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

association DrProtectionGroupAssociationArgs

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

compartmentId string

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

disassociateTrigger number

(Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.

displayName string

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

freeformTags {[key: string]: any}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

lifeCycleDetails string

A message describing the DR Protection Group's current state in more detail.

logLocation DrProtectionGroupLogLocationArgs

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

members DrProtectionGroupMemberArgs[]

(Updatable) A list of DR Protection Group members.

peerId string

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role string

The role of this DR Protection Group.

state string

The current state of the DR Protection Group.

systemTags {[key: string]: any}

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated string

The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeUpdated string

The date and time the DR Protection Group was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

association DrProtectionGroupAssociationArgs

The details for associating this DR Protection Group with a peer (remote) DR Protection Group.

compartment_id str

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

defined_tags Mapping[str, Any]

(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.

display_name str

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

freeform_tags Mapping[str, Any]

(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_details str

A message describing the DR Protection Group's current state in more detail.

log_location DrProtectionGroupLogLocationArgs

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

members DrProtectionGroupMemberArgs]

(Updatable) A list of DR Protection Group members.

peer_id str

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peer_region str

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role str

The role of this DR Protection Group.

state str

The current state of the DR Protection Group.

system_tags Mapping[str, Any]

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 this DR Protection Group with a peer (remote) DR Protection Group.

compartmentId String

(Updatable) The OCID of the compartment in which to create the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

disassociateTrigger Number

(Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.

displayName String

(Updatable) The display name of the DR Protection Group. Example: EBS PHX DRPG

freeformTags Map<Any>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

lifeCycleDetails String

A message describing the DR Protection Group's current state in more detail.

logLocation Property Map

(Updatable) Information about creating an Object Storage log location for a DR Protection Group.

members List<Property Map>

(Updatable) A list of DR Protection Group members.

peerId String

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peerRegion String

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role String

The role of this DR Protection Group.

state String

The current state of the DR Protection Group.

systemTags Map<Any>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeUpdated 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

Role string

The role of this DR Protection Group.

PeerId string

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

PeerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

Role string

The role of this DR Protection Group.

PeerId string

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

PeerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role String

The role of this DR Protection Group.

peerId String

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peerRegion String

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role string

The role of this DR Protection Group.

peerId string

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role str

The role of this DR Protection Group.

peer_id str

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peer_region str

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

role String

The role of this DR Protection Group.

peerId String

The OCID of the peer (remote) DR Protection Group. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

peerRegion String

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

DrProtectionGroupLogLocation

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

MemberId string

(Updatable) The OCID of the member. Example: ocid1.instance.oc1.phx.exampleocid1

MemberType string

(Updatable) The type of the member.

DestinationCompartmentId string

(Updatable) The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid1

DestinationDedicatedVmHostId string

(Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid2

IsMovable bool

(Updatable) A flag indicating if this compute instance should be moved during DR operations. Example: false

PasswordVaultSecretId string

(Updatable) The OCID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

VnicMappings List<DrProtectionGroupMemberVnicMapping>

(Updatable) A list of Compute Instance VNIC mappings.

MemberId string

(Updatable) The OCID of the member. Example: ocid1.instance.oc1.phx.exampleocid1

MemberType string

(Updatable) The type of the member.

DestinationCompartmentId string

(Updatable) The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid1

DestinationDedicatedVmHostId string

(Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid2

IsMovable bool

(Updatable) A flag indicating if this compute instance should be moved during DR operations. Example: false

PasswordVaultSecretId string

(Updatable) The OCID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

VnicMappings []DrProtectionGroupMemberVnicMapping

(Updatable) A list of Compute Instance VNIC mappings.

memberId String

(Updatable) The OCID of the member. Example: ocid1.instance.oc1.phx.exampleocid1

memberType String

(Updatable) The type of the member.

destinationCompartmentId String

(Updatable) The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid1

destinationDedicatedVmHostId String

(Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid2

isMovable Boolean

(Updatable) A flag indicating if this compute instance should be moved during DR operations. Example: false

passwordVaultSecretId String

(Updatable) The OCID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

vnicMappings List<DrProtectionGroupMemberVnicMapping>

(Updatable) A list of Compute Instance VNIC mappings.

memberId string

(Updatable) The OCID of the member. Example: ocid1.instance.oc1.phx.exampleocid1

memberType string

(Updatable) The type of the member.

destinationCompartmentId string

(Updatable) The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid1

destinationDedicatedVmHostId string

(Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid2

isMovable boolean

(Updatable) A flag indicating if this compute instance should be moved during DR operations. Example: false

passwordVaultSecretId string

(Updatable) The OCID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

vnicMappings DrProtectionGroupMemberVnicMapping[]

(Updatable) A list of Compute Instance VNIC mappings.

member_id str

(Updatable) The OCID of the member. Example: ocid1.instance.oc1.phx.exampleocid1

member_type str

(Updatable) The type of the member.

destination_compartment_id str

(Updatable) The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid1

destination_dedicated_vm_host_id str

(Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid2

is_movable bool

(Updatable) A flag indicating if this compute instance should be moved during DR operations. Example: false

password_vault_secret_id str

(Updatable) The OCID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

vnic_mappings DrProtectionGroupMemberVnicMapping]

(Updatable) A list of Compute Instance VNIC mappings.

memberId String

(Updatable) The OCID of the member. Example: ocid1.instance.oc1.phx.exampleocid1

memberType String

(Updatable) The type of the member.

destinationCompartmentId String

(Updatable) The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid1

destinationDedicatedVmHostId String

(Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid2

isMovable Boolean

(Updatable) A flag indicating if this compute instance should be moved during DR operations. Example: false

passwordVaultSecretId String

(Updatable) The OCID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

vnicMappings List<Property Map>

(Updatable) A list of Compute Instance VNIC mappings.

DrProtectionGroupMemberVnicMapping

DestinationNsgIdLists List<string>

(Updatable) A list of destination region's network security group (NSG) Ids which this VNIC should use. Example: [ ocid1.networksecuritygroup.oc1.iad.abcd1, ocid1.networksecuritygroup.oc1.iad.wxyz2 ]

DestinationSubnetId string

(Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example: ocid1.subnet.oc1.iad.exampleocid2

SourceVnicId string

(Updatable) The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid1

DestinationNsgIdLists []string

(Updatable) A list of destination region's network security group (NSG) Ids which this VNIC should use. Example: [ ocid1.networksecuritygroup.oc1.iad.abcd1, ocid1.networksecuritygroup.oc1.iad.wxyz2 ]

DestinationSubnetId string

(Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example: ocid1.subnet.oc1.iad.exampleocid2

SourceVnicId string

(Updatable) The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid1

destinationNsgIdLists List<String>

(Updatable) A list of destination region's network security group (NSG) Ids which this VNIC should use. Example: [ ocid1.networksecuritygroup.oc1.iad.abcd1, ocid1.networksecuritygroup.oc1.iad.wxyz2 ]

destinationSubnetId String

(Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example: ocid1.subnet.oc1.iad.exampleocid2

sourceVnicId String

(Updatable) The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid1

destinationNsgIdLists string[]

(Updatable) A list of destination region's network security group (NSG) Ids which this VNIC should use. Example: [ ocid1.networksecuritygroup.oc1.iad.abcd1, ocid1.networksecuritygroup.oc1.iad.wxyz2 ]

destinationSubnetId string

(Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example: ocid1.subnet.oc1.iad.exampleocid2

sourceVnicId string

(Updatable) The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid1

destination_nsg_id_lists Sequence[str]

(Updatable) A list of destination region's network security group (NSG) Ids which this VNIC should use. Example: [ ocid1.networksecuritygroup.oc1.iad.abcd1, ocid1.networksecuritygroup.oc1.iad.wxyz2 ]

destination_subnet_id str

(Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example: ocid1.subnet.oc1.iad.exampleocid2

source_vnic_id str

(Updatable) The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid1

destinationNsgIdLists List<String>

(Updatable) A list of destination region's network security group (NSG) Ids which this VNIC should use. Example: [ ocid1.networksecuritygroup.oc1.iad.abcd1, ocid1.networksecuritygroup.oc1.iad.wxyz2 ]

destinationSubnetId String

(Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example: ocid1.subnet.oc1.iad.exampleocid2

sourceVnicId String

(Updatable) The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid1

Import

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

 $ pulumi import oci:DisasterRecovery/drProtectionGroup:DrProtectionGroup test_dr_protection_group "id"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.