oci.DisasterRecovery.DrProtectionGroup
Explore with Pulumi AI
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 System.Linq;
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,
DestinationCapacityReservationId = oci_disaster_recovery_destination_capacity_reservation.Test_destination_capacity_reservation.Id,
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,
IsRetainFaultDomain = @var.Dr_protection_group_members_is_retain_fault_domain,
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,
DestinationPrimaryPrivateIpAddress = @var.Dr_protection_group_members_vnic_mapping_destination_primary_private_ip_address,
DestinationPrimaryPrivateIpHostnameLabel = @var.Dr_protection_group_members_vnic_mapping_destination_primary_private_ip_hostname_label,
DestinationSubnetId = oci_core_subnet.Test_subnet.Id,
SourceVnicId = oci_core_vnic.Test_vnic.Id,
},
},
VnicMappings = new[]
{
new Oci.DisasterRecovery.Inputs.DrProtectionGroupMemberVnicMappingArgs
{
DestinationNsgIdLists = @var.Dr_protection_group_members_vnic_mappings_destination_nsg_id_list,
DestinationPrimaryPrivateIpAddress = @var.Dr_protection_group_members_vnic_mappings_destination_primary_private_ip_address,
DestinationPrimaryPrivateIpHostnameLabel = @var.Dr_protection_group_members_vnic_mappings_destination_primary_private_ip_hostname_label,
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),
DestinationCapacityReservationId: pulumi.Any(oci_disaster_recovery_destination_capacity_reservation.Test_destination_capacity_reservation.Id),
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),
IsRetainFaultDomain: pulumi.Any(_var.Dr_protection_group_members_is_retain_fault_domain),
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),
DestinationPrimaryPrivateIpAddress: pulumi.Any(_var.Dr_protection_group_members_vnic_mapping_destination_primary_private_ip_address),
DestinationPrimaryPrivateIpHostnameLabel: pulumi.Any(_var.Dr_protection_group_members_vnic_mapping_destination_primary_private_ip_hostname_label),
DestinationSubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),
SourceVnicId: pulumi.Any(oci_core_vnic.Test_vnic.Id),
},
},
VnicMappings: disasterrecovery.DrProtectionGroupMemberVnicMappingArray{
&disasterrecovery.DrProtectionGroupMemberVnicMappingArgs{
DestinationNsgIdLists: pulumi.Any(_var.Dr_protection_group_members_vnic_mappings_destination_nsg_id_list),
DestinationPrimaryPrivateIpAddress: pulumi.Any(_var.Dr_protection_group_members_vnic_mappings_destination_primary_private_ip_address),
DestinationPrimaryPrivateIpHostnameLabel: pulumi.Any(_var.Dr_protection_group_members_vnic_mappings_destination_primary_private_ip_hostname_label),
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())
.destinationCapacityReservationId(oci_disaster_recovery_destination_capacity_reservation.test_destination_capacity_reservation().id())
.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())
.isRetainFaultDomain(var_.dr_protection_group_members_is_retain_fault_domain())
.passwordVaultSecretId(oci_vault_secret.test_secret().id())
.vnicMappings(DrProtectionGroupMemberVnicMappingArgs.builder()
.destinationNsgIdLists(var_.dr_protection_group_members_vnic_mapping_destination_nsg_id_list())
.destinationPrimaryPrivateIpAddress(var_.dr_protection_group_members_vnic_mapping_destination_primary_private_ip_address())
.destinationPrimaryPrivateIpHostnameLabel(var_.dr_protection_group_members_vnic_mapping_destination_primary_private_ip_hostname_label())
.destinationSubnetId(oci_core_subnet.test_subnet().id())
.sourceVnicId(oci_core_vnic.test_vnic().id())
.build())
.vnicMappings(DrProtectionGroupMemberVnicMappingArgs.builder()
.destinationNsgIdLists(var_.dr_protection_group_members_vnic_mappings_destination_nsg_id_list())
.destinationPrimaryPrivateIpAddress(var_.dr_protection_group_members_vnic_mappings_destination_primary_private_ip_address())
.destinationPrimaryPrivateIpHostnameLabel(var_.dr_protection_group_members_vnic_mappings_destination_primary_private_ip_hostname_label())
.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_capacity_reservation_id=oci_disaster_recovery_destination_capacity_reservation["test_destination_capacity_reservation"]["id"],
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"],
is_retain_fault_domain=var["dr_protection_group_members_is_retain_fault_domain"],
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_primary_private_ip_address=var["dr_protection_group_members_vnic_mapping_destination_primary_private_ip_address"],
destination_primary_private_ip_hostname_label=var["dr_protection_group_members_vnic_mapping_destination_primary_private_ip_hostname_label"],
destination_subnet_id=oci_core_subnet["test_subnet"]["id"],
source_vnic_id=oci_core_vnic["test_vnic"]["id"],
)],
vnic_mappings=[oci.disaster_recovery.DrProtectionGroupMemberVnicMappingArgs(
destination_nsg_id_lists=var["dr_protection_group_members_vnic_mappings_destination_nsg_id_list"],
destination_primary_private_ip_address=var["dr_protection_group_members_vnic_mappings_destination_primary_private_ip_address"],
destination_primary_private_ip_hostname_label=var["dr_protection_group_members_vnic_mappings_destination_primary_private_ip_hostname_label"],
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,
destinationCapacityReservationId: oci_disaster_recovery_destination_capacity_reservation.test_destination_capacity_reservation.id,
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,
isRetainFaultDomain: _var.dr_protection_group_members_is_retain_fault_domain,
passwordVaultSecretId: oci_vault_secret.test_secret.id,
vnicMappings: [{
destinationNsgIdLists: _var.dr_protection_group_members_vnic_mapping_destination_nsg_id_list,
destinationPrimaryPrivateIpAddress: _var.dr_protection_group_members_vnic_mapping_destination_primary_private_ip_address,
destinationPrimaryPrivateIpHostnameLabel: _var.dr_protection_group_members_vnic_mapping_destination_primary_private_ip_hostname_label,
destinationSubnetId: oci_core_subnet.test_subnet.id,
sourceVnicId: oci_core_vnic.test_vnic.id,
}],
vnicMappings: [{
destinationNsgIdLists: _var.dr_protection_group_members_vnic_mappings_destination_nsg_id_list,
destinationPrimaryPrivateIpAddress: _var.dr_protection_group_members_vnic_mappings_destination_primary_private_ip_address,
destinationPrimaryPrivateIpHostnameLabel: _var.dr_protection_group_members_vnic_mappings_destination_primary_private_ip_hostname_label,
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}
destinationCapacityReservationId: ${oci_disaster_recovery_destination_capacity_reservation.test_destination_capacity_reservation.id}
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}
isRetainFaultDomain: ${var.dr_protection_group_members_is_retain_fault_domain}
passwordVaultSecretId: ${oci_vault_secret.test_secret.id}
vnicMappings:
- destinationNsgIdLists: ${var.dr_protection_group_members_vnic_mapping_destination_nsg_id_list}
destinationPrimaryPrivateIpAddress: ${var.dr_protection_group_members_vnic_mapping_destination_primary_private_ip_address}
destinationPrimaryPrivateIpHostnameLabel: ${var.dr_protection_group_members_vnic_mapping_destination_primary_private_ip_hostname_label}
destinationSubnetId: ${oci_core_subnet.test_subnet.id}
sourceVnicId: ${oci_core_vnic.test_vnic.id}
vnicMappings:
- destinationNsgIdLists: ${var.dr_protection_group_members_vnic_mappings_destination_nsg_id_list}
destinationPrimaryPrivateIpAddress: ${var.dr_protection_group_members_vnic_mappings_destination_primary_private_ip_address}
destinationPrimaryPrivateIpHostnameLabel: ${var.dr_protection_group_members_vnic_mappings_destination_primary_private_ip_hostname_label}
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:
- Compartment
Id string (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- Display
Name string (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- Log
Location DrProtection Group Log Location (Updatable) Information about creating an Object Storage log location for a DR Protection Group.
- Association
Dr
Protection Group Association The details for associating this DR Protection Group with a peer (remote) DR Protection Group.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Disassociate
Trigger int (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, 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<Dr
Protection Group Member> (Updatable) A list of DR Protection Group members.
- Compartment
Id string (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- Display
Name string (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- Log
Location DrProtection Group Log Location Args (Updatable) Information about creating an Object Storage log location for a DR Protection Group.
- Association
Dr
Protection Group Association Args The details for associating this DR Protection Group with a peer (remote) DR Protection Group.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Disassociate
Trigger int (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]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
[]Dr
Protection Group Member Args (Updatable) A list of DR Protection Group members.
- compartment
Id String (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- display
Name String (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- log
Location DrProtection Group Log Location (Updatable) Information about creating an Object Storage log location for a DR Protection Group.
- association
Dr
Protection Group Association The details for associating this DR Protection Group with a peer (remote) DR Protection Group.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger Integer (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,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<Dr
Protection Group Member> (Updatable) A list of DR Protection Group members.
- compartment
Id string (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- display
Name string (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- log
Location DrProtection Group Log Location (Updatable) Information about creating an Object Storage log location for a DR Protection Group.
- association
Dr
Protection Group Association The details for associating this DR Protection Group with a peer (remote) DR Protection Group.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger number (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: 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
Dr
Protection Group Member[] (Updatable) A list of DR Protection Group members.
- compartment_
id str (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- display_
name str (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- log_
location DrProtection Group Log Location Args (Updatable) Information about creating an Object Storage log location for a DR Protection Group.
- association
Dr
Protection Group Association Args The details for associating this DR Protection Group with a peer (remote) DR Protection Group.
- 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, 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
Dr
Protection Group Member Args] (Updatable) A list of DR Protection Group members.
- compartment
Id String (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- display
Name String (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- log
Location 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.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger Number (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<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.
- Life
Cycle stringDetails A message describing the DR Protection Group's current state in more detail.
- Peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- Peer
Region 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.
- 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
- Id string
The provider-assigned unique ID for this managed resource.
- Life
Cycle stringDetails A message describing the DR Protection Group's current state in more detail.
- Peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- Peer
Region 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.
- 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
- id String
The provider-assigned unique ID for this managed resource.
- life
Cycle StringDetails A message describing the DR Protection Group's current state in more detail.
- peer
Id String The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- peer
Region 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.
- 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
- id string
The provider-assigned unique ID for this managed resource.
- life
Cycle stringDetails A message describing the DR Protection Group's current state in more detail.
- peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- peer
Region 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.
- {[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
- id str
The provider-assigned unique ID for this managed resource.
- life_
cycle_ strdetails A message describing the DR Protection Group's current state in more detail.
- peer_
id str The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- 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.
- 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.
- life
Cycle StringDetails A message describing the DR Protection Group's current state in more detail.
- peer
Id String The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- peer
Region 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.
- 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
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.
- Association
Dr
Protection Group Association The details for associating this DR Protection Group with a peer (remote) DR Protection Group.
- Compartment
Id string (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Disassociate
Trigger int (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Display
Name string (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- 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"}
- Life
Cycle stringDetails A message describing the DR Protection Group's current state in more detail.
- Log
Location DrProtection Group Log Location (Updatable) Information about creating an Object Storage log location for a DR Protection Group.
- Members
List<Dr
Protection Group Member> (Updatable) A list of DR Protection Group members.
- Peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- Peer
Region 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.
- 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
- Association
Dr
Protection Group Association Args The details for associating this DR Protection Group with a peer (remote) DR Protection Group.
- Compartment
Id string (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Disassociate
Trigger int (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Display
Name string (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- 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"}
- Life
Cycle stringDetails A message describing the DR Protection Group's current state in more detail.
- Log
Location DrProtection Group Log Location Args (Updatable) Information about creating an Object Storage log location for a DR Protection Group.
- Members
[]Dr
Protection Group Member Args (Updatable) A list of DR Protection Group members.
- Peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- Peer
Region 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.
- 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
- association
Dr
Protection Group Association The details for associating this DR Protection Group with a peer (remote) DR Protection Group.
- compartment
Id String (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger Integer (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display
Name String (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- 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"}
- life
Cycle StringDetails A message describing the DR Protection Group's current state in more detail.
- log
Location DrProtection Group Log Location (Updatable) Information about creating an Object Storage log location for a DR Protection Group.
- members
List<Dr
Protection Group Member> (Updatable) A list of DR Protection Group members.
- peer
Id String The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- peer
Region 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.
- 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
- association
Dr
Protection Group Association The details for associating this DR Protection Group with a peer (remote) DR Protection Group.
- compartment
Id string (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger number (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display
Name string (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- {[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"}
- life
Cycle stringDetails A message describing the DR Protection Group's current state in more detail.
- log
Location DrProtection Group Log Location (Updatable) Information about creating an Object Storage log location for a DR Protection Group.
- members
Dr
Protection Group Member[] (Updatable) A list of DR Protection Group members.
- peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- peer
Region 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.
- {[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
- association
Dr
Protection Group Association Args 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..<unique_id>
- 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display_
name str (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- 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_ strdetails A message describing the DR Protection Group's current state in more detail.
- log_
location DrProtection Group Log Location Args (Updatable) Information about creating an Object Storage log location for a DR Protection Group.
- members
Dr
Protection Group Member Args] (Updatable) A list of DR Protection Group members.
- peer_
id str The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- 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.
- 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.
- compartment
Id String (Updatable) The OCID of the compartment in which to create the DR Protection Group. Example:
ocid1.compartment.oc1..<unique_id>
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- disassociate
Trigger Number (Updatable) An optional property when incremented triggers Disassociate. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display
Name String (Updatable) The display name of the DR Protection Group. Example:
EBS PHX DRPG
- 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"}
- life
Cycle StringDetails A message describing the DR Protection Group's current state in more detail.
- log
Location 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.
- peer
Id String The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- peer
Region 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.
- 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
Supporting Types
DrProtectionGroupAssociation, DrProtectionGroupAssociationArgs
- Role string
The role of this DR Protection Group.
- Peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- Peer
Region string The region of the peer (remote) DR Protection Group. Example:
us-ashburn-1
- Role string
The role of this DR Protection Group.
- Peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- Peer
Region string The region of the peer (remote) DR Protection Group. Example:
us-ashburn-1
- role String
The role of this DR Protection Group.
- peer
Id String The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- peer
Region String The region of the peer (remote) DR Protection Group. Example:
us-ashburn-1
- role string
The role of this DR Protection Group.
- peer
Id string The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- peer
Region 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.<unique_id>
- 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.
- peer
Id String The OCID of the peer (remote) DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.iad.<unique_id>
- peer
Region String The region of the peer (remote) DR Protection Group. Example:
us-ashburn-1
DrProtectionGroupLogLocation, DrProtectionGroupLogLocationArgs
- Bucket string
(Updatable) The bucket name inside the Object Storage namespace. Example:
operation_logs
- Namespace string
(Updatable) The namespace in Object Storage (Note - this is usually the tenancy name). Example:
myocitenancy
- Object string
The object name inside the Object Storage bucket. Example:
switchover_plan_executions
- Bucket string
(Updatable) The bucket name inside the Object Storage namespace. Example:
operation_logs
- Namespace string
(Updatable) The namespace in Object Storage (Note - this is usually the tenancy name). Example:
myocitenancy
- Object string
The object name inside the Object Storage bucket. Example:
switchover_plan_executions
- bucket String
(Updatable) The bucket name inside the Object Storage namespace. Example:
operation_logs
- namespace String
(Updatable) The namespace in Object Storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object String
The object name inside the Object Storage bucket. Example:
switchover_plan_executions
- bucket string
(Updatable) The bucket name inside the Object Storage namespace. Example:
operation_logs
- namespace string
(Updatable) The namespace in Object Storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object string
The object name inside the Object Storage bucket. Example:
switchover_plan_executions
- bucket str
(Updatable) The bucket name inside the Object Storage namespace. Example:
operation_logs
- namespace str
(Updatable) The namespace in Object Storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object str
The object name inside the Object Storage bucket. Example:
switchover_plan_executions
- bucket String
(Updatable) The bucket name inside the Object Storage namespace. Example:
operation_logs
- namespace String
(Updatable) The namespace in Object Storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object String
The object name inside the Object Storage bucket. Example:
switchover_plan_executions
DrProtectionGroupMember, DrProtectionGroupMemberArgs
- Member
Id string (Updatable) The OCID of the member. Example:
ocid1.instance.oc1.phx.<unique_id>
- Member
Type string (Updatable) The type of the member.
- Destination
Capacity stringReservation Id (Updatable) The OCID of the capacity reservation in the destination region using which this compute instance should be launched. Example:
ocid1.capacityreservation.oc1..<unique_id>
- Destination
Compartment stringId (Updatable) The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..<unique_id>
- Destination
Dedicated stringVm Host Id (Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example:
ocid1.dedicatedvmhost.oc1.iad.<unique_id>
- Is
Movable bool (Updatable) A flag indicating if this compute instance should be moved during DR operations. Example:
false
- Is
Retain boolFault Domain (Updatable) A flag indicating if this compute instance should be moved to the same fault domain. Compute instance launch will fail if this flag is set to true and capacity is not available in that specific fault domain in the destination region. Example:
false
- Password
Vault stringSecret Id (Updatable) The OCID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.<unique_id>
- Vnic
Mapping List<DrProtection Group Member Vnic Mapping> (Updatable) A list of Compute Instance VNIC mappings.
- Vnic
Mappings List<DrProtection Group Member Vnic Mapping> (Updatable) A list of Compute Instance VNIC mappings.
- Member
Id string (Updatable) The OCID of the member. Example:
ocid1.instance.oc1.phx.<unique_id>
- Member
Type string (Updatable) The type of the member.
- Destination
Capacity stringReservation Id (Updatable) The OCID of the capacity reservation in the destination region using which this compute instance should be launched. Example:
ocid1.capacityreservation.oc1..<unique_id>
- Destination
Compartment stringId (Updatable) The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..<unique_id>
- Destination
Dedicated stringVm Host Id (Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example:
ocid1.dedicatedvmhost.oc1.iad.<unique_id>
- Is
Movable bool (Updatable) A flag indicating if this compute instance should be moved during DR operations. Example:
false
- Is
Retain boolFault Domain (Updatable) A flag indicating if this compute instance should be moved to the same fault domain. Compute instance launch will fail if this flag is set to true and capacity is not available in that specific fault domain in the destination region. Example:
false
- Password
Vault stringSecret Id (Updatable) The OCID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.<unique_id>
- Vnic
Mapping []DrProtection Group Member Vnic Mapping (Updatable) A list of Compute Instance VNIC mappings.
- Vnic
Mappings []DrProtection Group Member Vnic Mapping (Updatable) A list of Compute Instance VNIC mappings.
- member
Id String (Updatable) The OCID of the member. Example:
ocid1.instance.oc1.phx.<unique_id>
- member
Type String (Updatable) The type of the member.
- destination
Capacity StringReservation Id (Updatable) The OCID of the capacity reservation in the destination region using which this compute instance should be launched. Example:
ocid1.capacityreservation.oc1..<unique_id>
- destination
Compartment StringId (Updatable) The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..<unique_id>
- destination
Dedicated StringVm Host Id (Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example:
ocid1.dedicatedvmhost.oc1.iad.<unique_id>
- is
Movable Boolean (Updatable) A flag indicating if this compute instance should be moved during DR operations. Example:
false
- is
Retain BooleanFault Domain (Updatable) A flag indicating if this compute instance should be moved to the same fault domain. Compute instance launch will fail if this flag is set to true and capacity is not available in that specific fault domain in the destination region. Example:
false
- password
Vault StringSecret Id (Updatable) The OCID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.<unique_id>
- vnic
Mapping List<DrProtection Group Member Vnic Mapping> (Updatable) A list of Compute Instance VNIC mappings.
- vnic
Mappings List<DrProtection Group Member Vnic Mapping> (Updatable) A list of Compute Instance VNIC mappings.
- member
Id string (Updatable) The OCID of the member. Example:
ocid1.instance.oc1.phx.<unique_id>
- member
Type string (Updatable) The type of the member.
- destination
Capacity stringReservation Id (Updatable) The OCID of the capacity reservation in the destination region using which this compute instance should be launched. Example:
ocid1.capacityreservation.oc1..<unique_id>
- destination
Compartment stringId (Updatable) The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..<unique_id>
- destination
Dedicated stringVm Host Id (Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example:
ocid1.dedicatedvmhost.oc1.iad.<unique_id>
- is
Movable boolean (Updatable) A flag indicating if this compute instance should be moved during DR operations. Example:
false
- is
Retain booleanFault Domain (Updatable) A flag indicating if this compute instance should be moved to the same fault domain. Compute instance launch will fail if this flag is set to true and capacity is not available in that specific fault domain in the destination region. Example:
false
- password
Vault stringSecret Id (Updatable) The OCID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.<unique_id>
- vnic
Mapping DrProtection Group Member Vnic Mapping[] (Updatable) A list of Compute Instance VNIC mappings.
- vnic
Mappings DrProtection Group Member Vnic Mapping[] (Updatable) A list of Compute Instance VNIC mappings.
- member_
id str (Updatable) The OCID of the member. Example:
ocid1.instance.oc1.phx.<unique_id>
- member_
type str (Updatable) The type of the member.
- destination_
capacity_ strreservation_ id (Updatable) The OCID of the capacity reservation in the destination region using which this compute instance should be launched. Example:
ocid1.capacityreservation.oc1..<unique_id>
- destination_
compartment_ strid (Updatable) The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..<unique_id>
- destination_
dedicated_ strvm_ host_ id (Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example:
ocid1.dedicatedvmhost.oc1.iad.<unique_id>
- is_
movable bool (Updatable) A flag indicating if this compute instance should be moved during DR operations. Example:
false
- is_
retain_ boolfault_ domain (Updatable) A flag indicating if this compute instance should be moved to the same fault domain. Compute instance launch will fail if this flag is set to true and capacity is not available in that specific fault domain in the destination region. Example:
false
- password_
vault_ strsecret_ id (Updatable) The OCID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.<unique_id>
- vnic_
mapping DrProtection Group Member Vnic Mapping] (Updatable) A list of Compute Instance VNIC mappings.
- vnic_
mappings DrProtection Group Member Vnic Mapping] (Updatable) A list of Compute Instance VNIC mappings.
- member
Id String (Updatable) The OCID of the member. Example:
ocid1.instance.oc1.phx.<unique_id>
- member
Type String (Updatable) The type of the member.
- destination
Capacity StringReservation Id (Updatable) The OCID of the capacity reservation in the destination region using which this compute instance should be launched. Example:
ocid1.capacityreservation.oc1..<unique_id>
- destination
Compartment StringId (Updatable) The OCID of the compartment for this compute instance in the destination region. Example:
ocid1.compartment.oc1..<unique_id>
- destination
Dedicated StringVm Host Id (Updatable) The OCID of the dedicated VM Host in the destination region where this compute instance should be launched Example:
ocid1.dedicatedvmhost.oc1.iad.<unique_id>
- is
Movable Boolean (Updatable) A flag indicating if this compute instance should be moved during DR operations. Example:
false
- is
Retain BooleanFault Domain (Updatable) A flag indicating if this compute instance should be moved to the same fault domain. Compute instance launch will fail if this flag is set to true and capacity is not available in that specific fault domain in the destination region. Example:
false
- password
Vault StringSecret Id (Updatable) The OCID of the vault secret where the database password is stored. Example:
ocid1.vaultsecret.oc1.phx.<unique_id>
- vnic
Mapping List<Property Map> (Updatable) A list of Compute Instance VNIC mappings.
- vnic
Mappings List<Property Map> (Updatable) A list of Compute Instance VNIC mappings.
DrProtectionGroupMemberVnicMapping, DrProtectionGroupMemberVnicMappingArgs
- Destination
Nsg List<string>Id Lists (Updatable) A list of network security group (NSG) IDs in the destination region which this VNIC should use. Example:
[ ocid1.networksecuritygroup.oc1..<unique_id>, ocid1.networksecuritygroup.oc1..<unique_id> ]
- Destination
Primary stringPrivate Ip Address (Updatable) The primary private IP address to assign. This address must belong to the destination subnet. Example:
10.0.3.3
- Destination
Primary stringPrivate Ip Hostname Label (Updatable) The hostname to assign for this primary private IP. The value is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, bminstance1 in FQDN bminstance1.subnet123.vcn1.oraclevcn.com). Example:
bminstance1
- Destination
Subnet stringId (Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1..<unique_id>
- Source
Vnic stringId (Updatable) The OCID of the VNIC. Example:
ocid1.vnic.oc1..<unique_id>
- Destination
Nsg []stringId Lists (Updatable) A list of network security group (NSG) IDs in the destination region which this VNIC should use. Example:
[ ocid1.networksecuritygroup.oc1..<unique_id>, ocid1.networksecuritygroup.oc1..<unique_id> ]
- Destination
Primary stringPrivate Ip Address (Updatable) The primary private IP address to assign. This address must belong to the destination subnet. Example:
10.0.3.3
- Destination
Primary stringPrivate Ip Hostname Label (Updatable) The hostname to assign for this primary private IP. The value is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, bminstance1 in FQDN bminstance1.subnet123.vcn1.oraclevcn.com). Example:
bminstance1
- Destination
Subnet stringId (Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1..<unique_id>
- Source
Vnic stringId (Updatable) The OCID of the VNIC. Example:
ocid1.vnic.oc1..<unique_id>
- destination
Nsg List<String>Id Lists (Updatable) A list of network security group (NSG) IDs in the destination region which this VNIC should use. Example:
[ ocid1.networksecuritygroup.oc1..<unique_id>, ocid1.networksecuritygroup.oc1..<unique_id> ]
- destination
Primary StringPrivate Ip Address (Updatable) The primary private IP address to assign. This address must belong to the destination subnet. Example:
10.0.3.3
- destination
Primary StringPrivate Ip Hostname Label (Updatable) The hostname to assign for this primary private IP. The value is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, bminstance1 in FQDN bminstance1.subnet123.vcn1.oraclevcn.com). Example:
bminstance1
- destination
Subnet StringId (Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1..<unique_id>
- source
Vnic StringId (Updatable) The OCID of the VNIC. Example:
ocid1.vnic.oc1..<unique_id>
- destination
Nsg string[]Id Lists (Updatable) A list of network security group (NSG) IDs in the destination region which this VNIC should use. Example:
[ ocid1.networksecuritygroup.oc1..<unique_id>, ocid1.networksecuritygroup.oc1..<unique_id> ]
- destination
Primary stringPrivate Ip Address (Updatable) The primary private IP address to assign. This address must belong to the destination subnet. Example:
10.0.3.3
- destination
Primary stringPrivate Ip Hostname Label (Updatable) The hostname to assign for this primary private IP. The value is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, bminstance1 in FQDN bminstance1.subnet123.vcn1.oraclevcn.com). Example:
bminstance1
- destination
Subnet stringId (Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1..<unique_id>
- source
Vnic stringId (Updatable) The OCID of the VNIC. Example:
ocid1.vnic.oc1..<unique_id>
- destination_
nsg_ Sequence[str]id_ lists (Updatable) A list of network security group (NSG) IDs in the destination region which this VNIC should use. Example:
[ ocid1.networksecuritygroup.oc1..<unique_id>, ocid1.networksecuritygroup.oc1..<unique_id> ]
- destination_
primary_ strprivate_ ip_ address (Updatable) The primary private IP address to assign. This address must belong to the destination subnet. Example:
10.0.3.3
- destination_
primary_ strprivate_ ip_ hostname_ label (Updatable) The hostname to assign for this primary private IP. The value is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, bminstance1 in FQDN bminstance1.subnet123.vcn1.oraclevcn.com). Example:
bminstance1
- destination_
subnet_ strid (Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1..<unique_id>
- source_
vnic_ strid (Updatable) The OCID of the VNIC. Example:
ocid1.vnic.oc1..<unique_id>
- destination
Nsg List<String>Id Lists (Updatable) A list of network security group (NSG) IDs in the destination region which this VNIC should use. Example:
[ ocid1.networksecuritygroup.oc1..<unique_id>, ocid1.networksecuritygroup.oc1..<unique_id> ]
- destination
Primary StringPrivate Ip Address (Updatable) The primary private IP address to assign. This address must belong to the destination subnet. Example:
10.0.3.3
- destination
Primary StringPrivate Ip Hostname Label (Updatable) The hostname to assign for this primary private IP. The value is the hostname portion of the private IP's fully qualified domain name (FQDN) (for example, bminstance1 in FQDN bminstance1.subnet123.vcn1.oraclevcn.com). Example:
bminstance1
- destination
Subnet StringId (Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example:
ocid1.subnet.oc1..<unique_id>
- source
Vnic StringId (Updatable) The OCID of the VNIC. Example:
ocid1.vnic.oc1..<unique_id>
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.