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:
- Compartment
Id string The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- Display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- Dr
Protection stringGroup Id The OCID of the DR Protection Group. Optional query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- Filters
List<Get
Dr Protection Groups Filter> - State string
A filter to return only DR Protection Groups that match the given lifecycleState.
- Compartment
Id string The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- Display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- Dr
Protection stringGroup Id The OCID of the DR Protection Group. Optional query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- Filters
[]Get
Dr Protection Groups Filter - State string
A filter to return only DR Protection Groups that match the given lifecycleState.
- compartment
Id String The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr
Protection StringGroup Id The OCID of the DR Protection Group. Optional query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- filters
List<Get
Dr Protection Groups Filter> - state String
A filter to return only DR Protection Groups that match the given lifecycleState.
- compartment
Id string The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr
Protection stringGroup Id The OCID of the DR Protection Group. Optional query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- filters
Get
Dr Protection Groups Filter[] - 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_ strgroup_ id The OCID of the DR Protection Group. Optional query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- filters
Get
Dr Protection Groups Filter] - state str
A filter to return only DR Protection Groups that match the given lifecycleState.
- compartment
Id String The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr
Protection StringGroup Id 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:
- Compartment
Id string The OCID of the compartment containing the DR Protection Group. Example:
ocid1.compartment.oc1..exampleocid1
- Dr
Protection List<GetGroup Collections Dr Protection Groups Dr Protection Group Collection> The list of dr_protection_group_collection.
- Id string
The provider-assigned unique ID for this managed resource.
- Display
Name string The display name of the DR Protection Group. Example:
EBS PHX DRPG
- Dr
Protection stringGroup Id - Filters
List<Get
Dr Protection Groups Filter> - State string
The current state of the DR Protection Group.
- Compartment
Id string The OCID of the compartment containing the DR Protection Group. Example:
ocid1.compartment.oc1..exampleocid1
- Dr
Protection []GetGroup Collections Dr Protection Groups Dr Protection Group Collection The list of dr_protection_group_collection.
- Id string
The provider-assigned unique ID for this managed resource.
- Display
Name string The display name of the DR Protection Group. Example:
EBS PHX DRPG
- Dr
Protection stringGroup Id - Filters
[]Get
Dr Protection Groups Filter - State string
The current state of the DR Protection Group.
- compartment
Id String The OCID of the compartment containing the DR Protection Group. Example:
ocid1.compartment.oc1..exampleocid1
- dr
Protection List<GetGroup Collections Dr Protection Groups Dr Protection Group Collection> The list of dr_protection_group_collection.
- id String
The provider-assigned unique ID for this managed resource.
- display
Name String The display name of the DR Protection Group. Example:
EBS PHX DRPG
- dr
Protection StringGroup Id - filters
List<Get
Dr Protection Groups Filter> - state String
The current state of the DR Protection Group.
- compartment
Id string The OCID of the compartment containing the DR Protection Group. Example:
ocid1.compartment.oc1..exampleocid1
- dr
Protection GetGroup Collections Dr Protection Groups Dr Protection Group Collection[] The list of dr_protection_group_collection.
- id string
The provider-assigned unique ID for this managed resource.
- display
Name string The display name of the DR Protection Group. Example:
EBS PHX DRPG
- dr
Protection stringGroup Id - filters
Get
Dr Protection Groups Filter[] - 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_ Getgroup_ collections Dr Protection Groups Dr Protection Group Collection] 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_ strgroup_ id - filters
Get
Dr Protection Groups Filter] - state str
The current state of the DR Protection Group.
- compartment
Id String The OCID of the compartment containing the DR Protection Group. Example:
ocid1.compartment.oc1..exampleocid1
- dr
Protection List<Property Map>Group Collections The list of dr_protection_group_collection.
- id String
The provider-assigned unique ID for this managed resource.
- display
Name String The display name of the DR Protection Group. Example:
EBS PHX DRPG
- dr
Protection StringGroup Id - filters List<Property Map>
- state String
The current state of the DR Protection Group.
Supporting Types
GetDrProtectionGroupsDrProtectionGroupCollection
GetDrProtectionGroupsDrProtectionGroupCollectionItem
- Associations
List<Get
Dr Protection Groups Dr Protection Group Collection Item Association> - Compartment
Id string The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- Dictionary<string, object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Disassociate
Trigger int - Display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- 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
- Life
Cycle stringDetails A message describing the DR Protection Group's current state in more detail.
- Log
Locations List<GetDr Protection Groups Dr Protection Group Collection Item Log Location> Information about an Object Storage log location for a DR Protection Group.
- Members
List<Get
Dr Protection Groups Dr Protection Group Collection Item Member> A list of DR Protection Group members.
- Peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- Peer
Region 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.
- Dictionary<string, object>
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
- Associations
[]Get
Dr Protection Groups Dr Protection Group Collection Item Association - Compartment
Id string The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- map[string]interface{}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Disassociate
Trigger int - Display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- 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
- Life
Cycle stringDetails A message describing the DR Protection Group's current state in more detail.
- Log
Locations []GetDr Protection Groups Dr Protection Group Collection Item Log Location Information about an Object Storage log location for a DR Protection Group.
- Members
[]Get
Dr Protection Groups Dr Protection Group Collection Item Member A list of DR Protection Group members.
- Peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- Peer
Region 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.
- map[string]interface{}
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
- associations
List<Get
Dr Protection Groups Dr Protection Group Collection Item Association> - compartment
Id String The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- Map<String,Object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger Integer - display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- 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
- life
Cycle StringDetails A message describing the DR Protection Group's current state in more detail.
- log
Locations List<GetDr Protection Groups Dr Protection Group Collection Item Log Location> Information about an Object Storage log location for a DR Protection Group.
- members
List<Get
Dr Protection Groups Dr Protection Group Collection Item Member> A list of DR Protection Group members.
- peer
Id String The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- peer
Region 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.
- Map<String,Object>
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
- associations
Get
Dr Protection Groups Dr Protection Group Collection Item Association[] - compartment
Id string The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- {[key: string]: any}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger number - display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- {[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
- life
Cycle stringDetails A message describing the DR Protection Group's current state in more detail.
- log
Locations GetDr Protection Groups Dr Protection Group Collection Item Log Location[] Information about an Object Storage log location for a DR Protection Group.
- members
Get
Dr Protection Groups Dr Protection Group Collection Item Member[] A list of DR Protection Group members.
- peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- peer
Region 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.
- {[key: string]: any}
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
- associations
Get
Dr Protection Groups Dr Protection Group Collection Item Association] - compartment_
id str The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- 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
- 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_ strdetails A message describing the DR Protection Group's current state in more detail.
- log_
locations GetDr Protection Groups Dr Protection Group Collection Item Log Location] Information about an Object Storage log location for a DR Protection Group.
- members
Get
Dr Protection Groups Dr Protection Group Collection Item Member] 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.
- 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>
- compartment
Id String The ID (OCID) of the compartment in which to list resources. Example:
ocid1.compartment.oc1..exampleocid1
- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger Number - display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- 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
- life
Cycle StringDetails A message describing the DR Protection Group's current state in more detail.
- log
Locations 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.
- peer
Id String The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- peer
Region 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.
- Map<Any>
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
GetDrProtectionGroupsDrProtectionGroupCollectionItemAssociation
- Peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- Peer
Region 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 string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- Peer
Region 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 String The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- peer
Region 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 string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- peer
Region 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.
- peer
Id String The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- peer
Region String The region of the peer (remote) DR Protection Group. Example:
us-ashburn-1
- role String
The role of the DR Protection Group.
GetDrProtectionGroupsDrProtectionGroupCollectionItemLogLocation
GetDrProtectionGroupsDrProtectionGroupCollectionItemMember
- Destination
Compartment stringId The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..exampleocid
- Destination
Dedicated stringVm Host Id 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 string The OCID of the member. Example:
ocid1.instance.oc1.phx.exampleocid1
- Member
Type string The type of the member.
- Password
Vault stringSecret Id The ID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.exampleocid1
- Vnic
Mappings List<GetDr Protection Groups Dr Protection Group Collection Item Member Vnic Mapping> A list of compute instance VNIC mappings.
- Destination
Compartment stringId The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..exampleocid
- Destination
Dedicated stringVm Host Id 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 string The OCID of the member. Example:
ocid1.instance.oc1.phx.exampleocid1
- Member
Type string The type of the member.
- Password
Vault stringSecret Id The ID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.exampleocid1
- Vnic
Mappings []GetDr Protection Groups Dr Protection Group Collection Item Member Vnic Mapping A list of compute instance VNIC mappings.
- destination
Compartment StringId The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..exampleocid
- destination
Dedicated StringVm Host Id The OCID of the dedicated VM Host for this compute instance in the destination region. Example:
ocid1.dedicatedvmhost.oc1.iad.exampleocid
- is
Movable Boolean A flag indicating if this compute instance should be moved during DR operations. Example:
false
- member
Id String The OCID of the member. Example:
ocid1.instance.oc1.phx.exampleocid1
- member
Type String The type of the member.
- password
Vault StringSecret Id The ID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.exampleocid1
- vnic
Mappings List<GetDr Protection Groups Dr Protection Group Collection Item Member Vnic Mapping> A list of compute instance VNIC mappings.
- destination
Compartment stringId The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..exampleocid
- destination
Dedicated stringVm Host Id The OCID of the dedicated VM Host for this compute instance in the destination region. Example:
ocid1.dedicatedvmhost.oc1.iad.exampleocid
- is
Movable boolean A flag indicating if this compute instance should be moved during DR operations. Example:
false
- member
Id string The OCID of the member. Example:
ocid1.instance.oc1.phx.exampleocid1
- member
Type string The type of the member.
- password
Vault stringSecret Id The ID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.exampleocid1
- vnic
Mappings GetDr Protection Groups Dr Protection Group Collection Item Member Vnic Mapping[] A list of compute instance VNIC mappings.
- destination_
compartment_ strid The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..exampleocid
- destination_
dedicated_ strvm_ host_ id 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_ strsecret_ id The ID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.exampleocid1
- vnic_
mappings GetDr Protection Groups Dr Protection Group Collection Item Member Vnic Mapping] A list of compute instance VNIC mappings.
- destination
Compartment StringId The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..exampleocid
- destination
Dedicated StringVm Host Id The OCID of the dedicated VM Host for this compute instance in the destination region. Example:
ocid1.dedicatedvmhost.oc1.iad.exampleocid
- is
Movable Boolean A flag indicating if this compute instance should be moved during DR operations. Example:
false
- member
Id String The OCID of the member. Example:
ocid1.instance.oc1.phx.exampleocid1
- member
Type String The type of the member.
- password
Vault StringSecret Id The ID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.exampleocid1
- vnic
Mappings List<Property Map> A list of compute instance VNIC mappings.
GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMapping
- Destination
Nsg List<string>Id Lists 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 stringId The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1.iad.exampleocid
- Source
Vnic stringId The OCID of the VNIC. Example:
ocid1.vnic.oc1.phx.exampleocid
- Destination
Nsg []stringId Lists 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 stringId The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1.iad.exampleocid
- Source
Vnic stringId The OCID of the VNIC. Example:
ocid1.vnic.oc1.phx.exampleocid
- destination
Nsg List<String>Id Lists 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 StringId The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1.iad.exampleocid
- source
Vnic StringId The OCID of the VNIC. Example:
ocid1.vnic.oc1.phx.exampleocid
- destination
Nsg string[]Id Lists 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 stringId The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1.iad.exampleocid
- source
Vnic stringId The OCID of the VNIC. Example:
ocid1.vnic.oc1.phx.exampleocid
- destination_
nsg_ Sequence[str]id_ lists 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_ strid The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1.iad.exampleocid
- source_
vnic_ strid The OCID of the VNIC. Example:
ocid1.vnic.oc1.phx.exampleocid
- destination
Nsg List<String>Id Lists 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 StringId The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1.iad.exampleocid
- source
Vnic StringId The OCID of the VNIC. Example:
ocid1.vnic.oc1.phx.exampleocid
GetDrProtectionGroupsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.