oci logo
Oracle Cloud Infrastructure v0.19.0, May 26 23

oci.DisasterRecovery.getDrProtectionGroups

Explore with Pulumi AI

This data source provides the list of Dr Protection Groups in Oracle Cloud Infrastructure Disaster Recovery service.

Gets a summary list of all DR Protection Groups in a compartment.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testDrProtectionGroups = Oci.DisasterRecovery.GetDrProtectionGroups.Invoke(new()
    {
        CompartmentId = @var.Compartment_id,
        DisplayName = @var.Dr_protection_group_display_name,
        DrProtectionGroupId = oci_disaster_recovery_dr_protection_group.Test_dr_protection_group.Id,
        State = @var.Dr_protection_group_state,
    });

});
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.GetDrProtectionGroups(ctx, &disasterrecovery.GetDrProtectionGroupsArgs{
			CompartmentId:       _var.Compartment_id,
			DisplayName:         pulumi.StringRef(_var.Dr_protection_group_display_name),
			DrProtectionGroupId: pulumi.StringRef(oci_disaster_recovery_dr_protection_group.Test_dr_protection_group.Id),
			State:               pulumi.StringRef(_var.Dr_protection_group_state),
		}, nil)
		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.DisasterRecoveryFunctions;
import com.pulumi.oci.DisasterRecovery.inputs.GetDrProtectionGroupsArgs;
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 testDrProtectionGroups = DisasterRecoveryFunctions.getDrProtectionGroups(GetDrProtectionGroupsArgs.builder()
            .compartmentId(var_.compartment_id())
            .displayName(var_.dr_protection_group_display_name())
            .drProtectionGroupId(oci_disaster_recovery_dr_protection_group.test_dr_protection_group().id())
            .state(var_.dr_protection_group_state())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_dr_protection_groups = oci.DisasterRecovery.get_dr_protection_groups(compartment_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    display_name=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    dr_protection_group_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    state=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDrProtectionGroups = oci.DisasterRecovery.getDrProtectionGroups({
    compartmentId: _var.compartment_id,
    displayName: _var.dr_protection_group_display_name,
    drProtectionGroupId: oci_disaster_recovery_dr_protection_group.test_dr_protection_group.id,
    state: _var.dr_protection_group_state,
});
variables:
  testDrProtectionGroups:
    fn::invoke:
      Function: oci:DisasterRecovery:getDrProtectionGroups
      Arguments:
        compartmentId: ${var.compartment_id}
        displayName: ${var.dr_protection_group_display_name}
        drProtectionGroupId: ${oci_disaster_recovery_dr_protection_group.test_dr_protection_group.id}
        state: ${var.dr_protection_group_state}

Using getDrProtectionGroups

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

function getDrProtectionGroups(args: GetDrProtectionGroupsArgs, opts?: InvokeOptions): Promise<GetDrProtectionGroupsResult>
function getDrProtectionGroupsOutput(args: GetDrProtectionGroupsOutputArgs, opts?: InvokeOptions): Output<GetDrProtectionGroupsResult>
def get_dr_protection_groups(compartment_id: Optional[str] = None,
                             display_name: Optional[str] = None,
                             dr_protection_group_id: Optional[str] = None,
                             filters: Optional[Sequence[_disasterrecovery.GetDrProtectionGroupsFilter]] = None,
                             state: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetDrProtectionGroupsResult
def get_dr_protection_groups_output(compartment_id: Optional[pulumi.Input[str]] = None,
                             display_name: Optional[pulumi.Input[str]] = None,
                             dr_protection_group_id: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_disasterrecovery.GetDrProtectionGroupsFilterArgs]]]] = None,
                             state: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetDrProtectionGroupsResult]
func GetDrProtectionGroups(ctx *Context, args *GetDrProtectionGroupsArgs, opts ...InvokeOption) (*GetDrProtectionGroupsResult, error)
func GetDrProtectionGroupsOutput(ctx *Context, args *GetDrProtectionGroupsOutputArgs, opts ...InvokeOption) GetDrProtectionGroupsResultOutput

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

public static class GetDrProtectionGroups 
{
    public static Task<GetDrProtectionGroupsResult> InvokeAsync(GetDrProtectionGroupsArgs args, InvokeOptions? opts = null)
    public static Output<GetDrProtectionGroupsResult> Invoke(GetDrProtectionGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDrProtectionGroupsResult> getDrProtectionGroups(GetDrProtectionGroupsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:DisasterRecovery/getDrProtectionGroups:getDrProtectionGroups
  arguments:
    # arguments dictionary

The following arguments are supported:

CompartmentId string

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

DrProtectionGroupId string

The OCID of the DR Protection Group. Optional query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

Filters List<GetDrProtectionGroupsFilter>
State string

A filter to return only DR Protection Groups that match the given lifecycleState.

CompartmentId string

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

DrProtectionGroupId string

The OCID of the DR Protection Group. Optional query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

Filters []GetDrProtectionGroupsFilter
State string

A filter to return only DR Protection Groups that match the given lifecycleState.

compartmentId String

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

drProtectionGroupId String

The OCID of the DR Protection Group. Optional query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

filters List<GetDrProtectionGroupsFilter>
state String

A filter to return only DR Protection Groups that match the given lifecycleState.

compartmentId string

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

displayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

drProtectionGroupId string

The OCID of the DR Protection Group. Optional query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

filters GetDrProtectionGroupsFilter[]
state string

A filter to return only DR Protection Groups that match the given lifecycleState.

compartment_id str

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

display_name str

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

dr_protection_group_id str

The OCID of the DR Protection Group. Optional query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

filters GetDrProtectionGroupsFilter]
state str

A filter to return only DR Protection Groups that match the given lifecycleState.

compartmentId String

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

drProtectionGroupId String

The OCID of the DR Protection Group. Optional query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

filters List<Property Map>
state String

A filter to return only DR Protection Groups that match the given lifecycleState.

getDrProtectionGroups Result

The following output properties are available:

CompartmentId string

The OCID of the compartment containing the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

DrProtectionGroupCollections List<GetDrProtectionGroupsDrProtectionGroupCollection>

The list of dr_protection_group_collection.

Id string

The provider-assigned unique ID for this managed resource.

DisplayName string

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

DrProtectionGroupId string
Filters List<GetDrProtectionGroupsFilter>
State string

The current state of the DR Protection Group.

CompartmentId string

The OCID of the compartment containing the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

DrProtectionGroupCollections []GetDrProtectionGroupsDrProtectionGroupCollection

The list of dr_protection_group_collection.

Id string

The provider-assigned unique ID for this managed resource.

DisplayName string

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

DrProtectionGroupId string
Filters []GetDrProtectionGroupsFilter
State string

The current state of the DR Protection Group.

compartmentId String

The OCID of the compartment containing the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

drProtectionGroupCollections List<GetDrProtectionGroupsDrProtectionGroupCollection>

The list of dr_protection_group_collection.

id String

The provider-assigned unique ID for this managed resource.

displayName String

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

drProtectionGroupId String
filters List<GetDrProtectionGroupsFilter>
state String

The current state of the DR Protection Group.

compartmentId string

The OCID of the compartment containing the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

drProtectionGroupCollections GetDrProtectionGroupsDrProtectionGroupCollection[]

The list of dr_protection_group_collection.

id string

The provider-assigned unique ID for this managed resource.

displayName string

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

drProtectionGroupId string
filters GetDrProtectionGroupsFilter[]
state string

The current state of the DR Protection Group.

compartment_id str

The OCID of the compartment containing the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

dr_protection_group_collections GetDrProtectionGroupsDrProtectionGroupCollection]

The list of dr_protection_group_collection.

id str

The provider-assigned unique ID for this managed resource.

display_name str

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

dr_protection_group_id str
filters GetDrProtectionGroupsFilter]
state str

The current state of the DR Protection Group.

compartmentId String

The OCID of the compartment containing the DR Protection Group. Example: ocid1.compartment.oc1..exampleocid1

drProtectionGroupCollections List<Property Map>

The list of dr_protection_group_collection.

id String

The provider-assigned unique ID for this managed resource.

displayName String

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

drProtectionGroupId String
filters List<Property Map>
state String

The current state of the DR Protection Group.

Supporting Types

GetDrProtectionGroupsDrProtectionGroupCollection

GetDrProtectionGroupsDrProtectionGroupCollectionItem

Associations List<GetDrProtectionGroupsDrProtectionGroupCollectionItemAssociation>
CompartmentId string

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

DefinedTags Dictionary<string, object>

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

DisassociateTrigger int
DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

FreeformTags Dictionary<string, object>

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

Id string

The OCID of the DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

LifeCycleDetails string

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

LogLocations List<GetDrProtectionGroupsDrProtectionGroupCollectionItemLogLocation>

Information about an Object Storage log location for a DR Protection Group.

Members List<GetDrProtectionGroupsDrProtectionGroupCollectionItemMember>

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 the DR Protection Group.

State string

A filter to return only DR Protection Groups that match the given lifecycleState.

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

Associations []GetDrProtectionGroupsDrProtectionGroupCollectionItemAssociation
CompartmentId string

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

DefinedTags map[string]interface{}

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

DisassociateTrigger int
DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

FreeformTags map[string]interface{}

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

Id string

The OCID of the DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

LifeCycleDetails string

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

LogLocations []GetDrProtectionGroupsDrProtectionGroupCollectionItemLogLocation

Information about an Object Storage log location for a DR Protection Group.

Members []GetDrProtectionGroupsDrProtectionGroupCollectionItemMember

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 the DR Protection Group.

State string

A filter to return only DR Protection Groups that match the given lifecycleState.

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

associations List<GetDrProtectionGroupsDrProtectionGroupCollectionItemAssociation>
compartmentId String

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

definedTags Map<String,Object>

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

disassociateTrigger Integer
displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

freeformTags Map<String,Object>

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

id String

The OCID of the DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

lifeCycleDetails String

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

logLocations List<GetDrProtectionGroupsDrProtectionGroupCollectionItemLogLocation>

Information about an Object Storage log location for a DR Protection Group.

members List<GetDrProtectionGroupsDrProtectionGroupCollectionItemMember>

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 the DR Protection Group.

state String

A filter to return only DR Protection Groups that match the given lifecycleState.

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

associations GetDrProtectionGroupsDrProtectionGroupCollectionItemAssociation[]
compartmentId string

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

definedTags {[key: string]: any}

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

disassociateTrigger number
displayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

freeformTags {[key: string]: any}

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

id string

The OCID of the DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

lifeCycleDetails string

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

logLocations GetDrProtectionGroupsDrProtectionGroupCollectionItemLogLocation[]

Information about an Object Storage log location for a DR Protection Group.

members GetDrProtectionGroupsDrProtectionGroupCollectionItemMember[]

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 the DR Protection Group.

state string

A filter to return only DR Protection Groups that match the given lifecycleState.

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

associations GetDrProtectionGroupsDrProtectionGroupCollectionItemAssociation]
compartment_id str

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

defined_tags Mapping[str, Any]

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

disassociate_trigger int
display_name str

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

freeform_tags Mapping[str, Any]

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

id str

The OCID of the DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

life_cycle_details str

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

log_locations GetDrProtectionGroupsDrProtectionGroupCollectionItemLogLocation]

Information about an Object Storage log location for a DR Protection Group.

members GetDrProtectionGroupsDrProtectionGroupCollectionItemMember]

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 the DR Protection Group.

state str

A filter to return only DR Protection Groups that match the given lifecycleState.

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

associations List<Property Map>
compartmentId String

The ID (OCID) of the compartment in which to list resources. Example: ocid1.compartment.oc1..exampleocid1

definedTags Map<Any>

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

disassociateTrigger Number
displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

freeformTags Map<Any>

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

id String

The OCID of the DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

lifeCycleDetails String

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

logLocations List<Property Map>

Information about an Object Storage log location for a DR Protection Group.

members List<Property Map>

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 the DR Protection Group.

state String

A filter to return only DR Protection Groups that match the given lifecycleState.

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

GetDrProtectionGroupsDrProtectionGroupCollectionItemAssociation

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 the 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 the 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 the 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 the 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 str

The role of the 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 the DR Protection Group.

GetDrProtectionGroupsDrProtectionGroupCollectionItemLogLocation

Bucket string

The bucket name inside the Object Storage namespace. Example: operation_logs

Namespace string

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

The bucket name inside the Object Storage namespace. Example: operation_logs

Namespace string

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

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace String

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

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace string

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

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace str

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

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace String

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

GetDrProtectionGroupsDrProtectionGroupCollectionItemMember

DestinationCompartmentId string

The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid

DestinationDedicatedVmHostId string

The OCID of the dedicated VM Host for this compute instance in the destination region. Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid

IsMovable bool

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

MemberId string

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

MemberType string

The type of the member.

PasswordVaultSecretId string

The ID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

VnicMappings List<GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMapping>

A list of compute instance VNIC mappings.

DestinationCompartmentId string

The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid

DestinationDedicatedVmHostId string

The OCID of the dedicated VM Host for this compute instance in the destination region. Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid

IsMovable bool

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

MemberId string

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

MemberType string

The type of the member.

PasswordVaultSecretId string

The ID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

VnicMappings []GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMapping

A list of compute instance VNIC mappings.

destinationCompartmentId String

The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid

destinationDedicatedVmHostId String

The OCID of the dedicated VM Host for this compute instance in the destination region. Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid

isMovable Boolean

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

memberId String

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

memberType String

The type of the member.

passwordVaultSecretId String

The ID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

vnicMappings List<GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMapping>

A list of compute instance VNIC mappings.

destinationCompartmentId string

The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid

destinationDedicatedVmHostId string

The OCID of the dedicated VM Host for this compute instance in the destination region. Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid

isMovable boolean

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

memberId string

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

memberType string

The type of the member.

passwordVaultSecretId string

The ID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

vnicMappings GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMapping[]

A list of compute instance VNIC mappings.

destination_compartment_id str

The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid

destination_dedicated_vm_host_id str

The OCID of the dedicated VM Host for this compute instance in the destination region. Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid

is_movable bool

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

member_id str

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

member_type str

The type of the member.

password_vault_secret_id str

The ID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

vnic_mappings GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMapping]

A list of compute instance VNIC mappings.

destinationCompartmentId String

The OCID of the compartment for this compute instance in the destination region. Example: ocid1.compartment.oc1..exampleocid

destinationDedicatedVmHostId String

The OCID of the dedicated VM Host for this compute instance in the destination region. Example: ocid1.dedicatedvmhost.oc1.iad.exampleocid

isMovable Boolean

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

memberId String

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

memberType String

The type of the member.

passwordVaultSecretId String

The ID of the vault secret where the database password is stored. Example: ocid1.vaultsecret.oc1.phx.exampleocid1

vnicMappings List<Property Map>

A list of compute instance VNIC mappings.

GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMapping

DestinationNsgIdLists List<string>

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

DestinationSubnetId string

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

SourceVnicId string

The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid

DestinationNsgIdLists []string

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

DestinationSubnetId string

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

SourceVnicId string

The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid

destinationNsgIdLists List<String>

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

destinationSubnetId String

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

sourceVnicId String

The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid

destinationNsgIdLists string[]

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

destinationSubnetId string

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

sourceVnicId string

The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid

destination_nsg_id_lists Sequence[str]

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

destination_subnet_id str

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

source_vnic_id str

The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid

destinationNsgIdLists List<String>

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

destinationSubnetId String

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

sourceVnicId String

The OCID of the VNIC. Example: ocid1.vnic.oc1.phx.exampleocid

GetDrProtectionGroupsFilter

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

Package Details

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

This Pulumi package is based on the oci Terraform Provider.