1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. SdrsReplicationPairV1
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.SdrsReplicationPairV1

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages a SDRS replication pair resource within FlexibleEngine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
    const domain1 = flexibleengine.getSdrsDomainV1({
        name: "SDRS_HypeDomain01",
    });
    const group1 = new flexibleengine.SdrsProtectiongroupV1("group1", {
        description: "test description",
        sourceAvailabilityZone: "eu-west-0a",
        targetAvailabilityZone: "eu-west-0b",
        domainId: domain1.then(domain1 => domain1.id),
        sourceVpcId: exampleVpc.vpcV1Id,
        drType: "migration",
    });
    const replication1 = new flexibleengine.SdrsReplicationPairV1("replication1", {
        description: "test description",
        groupId: group1.sdrsProtectiongroupV1Id,
        volumeId: "{{ volume_id }}",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
    domain1 = flexibleengine.get_sdrs_domain_v1(name="SDRS_HypeDomain01")
    group1 = flexibleengine.SdrsProtectiongroupV1("group1",
        description="test description",
        source_availability_zone="eu-west-0a",
        target_availability_zone="eu-west-0b",
        domain_id=domain1.id,
        source_vpc_id=example_vpc.vpc_v1_id,
        dr_type="migration")
    replication1 = flexibleengine.SdrsReplicationPairV1("replication1",
        description="test description",
        group_id=group1.sdrs_protectiongroup_v1_id,
        volume_id="{{ volume_id }}")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
    			Cidr: pulumi.String("192.168.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		domain1, err := flexibleengine.GetSdrsDomainV1(ctx, &flexibleengine.GetSdrsDomainV1Args{
    			Name: pulumi.StringRef("SDRS_HypeDomain01"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		group1, err := flexibleengine.NewSdrsProtectiongroupV1(ctx, "group1", &flexibleengine.SdrsProtectiongroupV1Args{
    			Description:            pulumi.String("test description"),
    			SourceAvailabilityZone: pulumi.String("eu-west-0a"),
    			TargetAvailabilityZone: pulumi.String("eu-west-0b"),
    			DomainId:               pulumi.String(domain1.Id),
    			SourceVpcId:            exampleVpc.VpcV1Id,
    			DrType:                 pulumi.String("migration"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = flexibleengine.NewSdrsReplicationPairV1(ctx, "replication1", &flexibleengine.SdrsReplicationPairV1Args{
    			Description: pulumi.String("test description"),
    			GroupId:     group1.SdrsProtectiongroupV1Id,
    			VolumeId:    pulumi.String("{{ volume_id }}"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
        {
            Cidr = "192.168.0.0/16",
        });
    
        var domain1 = Flexibleengine.GetSdrsDomainV1.Invoke(new()
        {
            Name = "SDRS_HypeDomain01",
        });
    
        var group1 = new Flexibleengine.SdrsProtectiongroupV1("group1", new()
        {
            Description = "test description",
            SourceAvailabilityZone = "eu-west-0a",
            TargetAvailabilityZone = "eu-west-0b",
            DomainId = domain1.Apply(getSdrsDomainV1Result => getSdrsDomainV1Result.Id),
            SourceVpcId = exampleVpc.VpcV1Id,
            DrType = "migration",
        });
    
        var replication1 = new Flexibleengine.SdrsReplicationPairV1("replication1", new()
        {
            Description = "test description",
            GroupId = group1.SdrsProtectiongroupV1Id,
            VolumeId = "{{ volume_id }}",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.VpcV1;
    import com.pulumi.flexibleengine.VpcV1Args;
    import com.pulumi.flexibleengine.FlexibleengineFunctions;
    import com.pulumi.flexibleengine.inputs.GetSdrsDomainV1Args;
    import com.pulumi.flexibleengine.SdrsProtectiongroupV1;
    import com.pulumi.flexibleengine.SdrsProtectiongroupV1Args;
    import com.pulumi.flexibleengine.SdrsReplicationPairV1;
    import com.pulumi.flexibleengine.SdrsReplicationPairV1Args;
    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 exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
                .cidr("192.168.0.0/16")
                .build());
    
            final var domain1 = FlexibleengineFunctions.getSdrsDomainV1(GetSdrsDomainV1Args.builder()
                .name("SDRS_HypeDomain01")
                .build());
    
            var group1 = new SdrsProtectiongroupV1("group1", SdrsProtectiongroupV1Args.builder()
                .description("test description")
                .sourceAvailabilityZone("eu-west-0a")
                .targetAvailabilityZone("eu-west-0b")
                .domainId(domain1.applyValue(getSdrsDomainV1Result -> getSdrsDomainV1Result.id()))
                .sourceVpcId(exampleVpc.vpcV1Id())
                .drType("migration")
                .build());
    
            var replication1 = new SdrsReplicationPairV1("replication1", SdrsReplicationPairV1Args.builder()
                .description("test description")
                .groupId(group1.sdrsProtectiongroupV1Id())
                .volumeId("{{ volume_id }}")
                .build());
    
        }
    }
    
    resources:
      exampleVpc:
        type: flexibleengine:VpcV1
        properties:
          cidr: 192.168.0.0/16
      group1:
        type: flexibleengine:SdrsProtectiongroupV1
        properties:
          description: test description
          sourceAvailabilityZone: eu-west-0a
          targetAvailabilityZone: eu-west-0b
          domainId: ${domain1.id}
          sourceVpcId: ${exampleVpc.vpcV1Id}
          drType: migration
      replication1:
        type: flexibleengine:SdrsReplicationPairV1
        properties:
          description: test description
          groupId: ${group1.sdrsProtectiongroupV1Id}
          volumeId: '{{ volume_id }}'
    variables:
      domain1:
        fn::invoke:
          function: flexibleengine:getSdrsDomainV1
          arguments:
            name: SDRS_HypeDomain01
    

    Create SdrsReplicationPairV1 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SdrsReplicationPairV1(name: string, args: SdrsReplicationPairV1Args, opts?: CustomResourceOptions);
    @overload
    def SdrsReplicationPairV1(resource_name: str,
                              args: SdrsReplicationPairV1Args,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def SdrsReplicationPairV1(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              group_id: Optional[str] = None,
                              volume_id: Optional[str] = None,
                              delete_target_volume: Optional[bool] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None,
                              sdrs_replication_pair_v1_id: Optional[str] = None,
                              timeouts: Optional[SdrsReplicationPairV1TimeoutsArgs] = None)
    func NewSdrsReplicationPairV1(ctx *Context, name string, args SdrsReplicationPairV1Args, opts ...ResourceOption) (*SdrsReplicationPairV1, error)
    public SdrsReplicationPairV1(string name, SdrsReplicationPairV1Args args, CustomResourceOptions? opts = null)
    public SdrsReplicationPairV1(String name, SdrsReplicationPairV1Args args)
    public SdrsReplicationPairV1(String name, SdrsReplicationPairV1Args args, CustomResourceOptions options)
    
    type: flexibleengine:SdrsReplicationPairV1
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SdrsReplicationPairV1Args
    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 SdrsReplicationPairV1Args
    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 SdrsReplicationPairV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SdrsReplicationPairV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SdrsReplicationPairV1Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var sdrsReplicationPairV1Resource = new Flexibleengine.SdrsReplicationPairV1("sdrsReplicationPairV1Resource", new()
    {
        GroupId = "string",
        VolumeId = "string",
        DeleteTargetVolume = false,
        Description = "string",
        Name = "string",
        SdrsReplicationPairV1Id = "string",
        Timeouts = new Flexibleengine.Inputs.SdrsReplicationPairV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := flexibleengine.NewSdrsReplicationPairV1(ctx, "sdrsReplicationPairV1Resource", &flexibleengine.SdrsReplicationPairV1Args{
    	GroupId:                 pulumi.String("string"),
    	VolumeId:                pulumi.String("string"),
    	DeleteTargetVolume:      pulumi.Bool(false),
    	Description:             pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    	SdrsReplicationPairV1Id: pulumi.String("string"),
    	Timeouts: &flexibleengine.SdrsReplicationPairV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var sdrsReplicationPairV1Resource = new SdrsReplicationPairV1("sdrsReplicationPairV1Resource", SdrsReplicationPairV1Args.builder()
        .groupId("string")
        .volumeId("string")
        .deleteTargetVolume(false)
        .description("string")
        .name("string")
        .sdrsReplicationPairV1Id("string")
        .timeouts(SdrsReplicationPairV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    sdrs_replication_pair_v1_resource = flexibleengine.SdrsReplicationPairV1("sdrsReplicationPairV1Resource",
        group_id="string",
        volume_id="string",
        delete_target_volume=False,
        description="string",
        name="string",
        sdrs_replication_pair_v1_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const sdrsReplicationPairV1Resource = new flexibleengine.SdrsReplicationPairV1("sdrsReplicationPairV1Resource", {
        groupId: "string",
        volumeId: "string",
        deleteTargetVolume: false,
        description: "string",
        name: "string",
        sdrsReplicationPairV1Id: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: flexibleengine:SdrsReplicationPairV1
    properties:
        deleteTargetVolume: false
        description: string
        groupId: string
        name: string
        sdrsReplicationPairV1Id: string
        timeouts:
            create: string
            delete: string
        volumeId: string
    

    SdrsReplicationPairV1 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SdrsReplicationPairV1 resource accepts the following input properties:

    GroupId string
    Specifies the ID of a protection group. Changing this creates a new pair.
    VolumeId string
    Specifies the ID of a source disk. Changing this creates a new pair.
    DeleteTargetVolume bool
    Specifies whether to delete the target disk. The default value is false.
    Description string
    The description of a replication pair. Changing this creates a new pair.
    Name string
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    SdrsReplicationPairV1Id string
    ID of the replication pair.
    Timeouts SdrsReplicationPairV1Timeouts
    GroupId string
    Specifies the ID of a protection group. Changing this creates a new pair.
    VolumeId string
    Specifies the ID of a source disk. Changing this creates a new pair.
    DeleteTargetVolume bool
    Specifies whether to delete the target disk. The default value is false.
    Description string
    The description of a replication pair. Changing this creates a new pair.
    Name string
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    SdrsReplicationPairV1Id string
    ID of the replication pair.
    Timeouts SdrsReplicationPairV1TimeoutsArgs
    groupId String
    Specifies the ID of a protection group. Changing this creates a new pair.
    volumeId String
    Specifies the ID of a source disk. Changing this creates a new pair.
    deleteTargetVolume Boolean
    Specifies whether to delete the target disk. The default value is false.
    description String
    The description of a replication pair. Changing this creates a new pair.
    name String
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    sdrsReplicationPairV1Id String
    ID of the replication pair.
    timeouts SdrsReplicationPairV1Timeouts
    groupId string
    Specifies the ID of a protection group. Changing this creates a new pair.
    volumeId string
    Specifies the ID of a source disk. Changing this creates a new pair.
    deleteTargetVolume boolean
    Specifies whether to delete the target disk. The default value is false.
    description string
    The description of a replication pair. Changing this creates a new pair.
    name string
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    sdrsReplicationPairV1Id string
    ID of the replication pair.
    timeouts SdrsReplicationPairV1Timeouts
    group_id str
    Specifies the ID of a protection group. Changing this creates a new pair.
    volume_id str
    Specifies the ID of a source disk. Changing this creates a new pair.
    delete_target_volume bool
    Specifies whether to delete the target disk. The default value is false.
    description str
    The description of a replication pair. Changing this creates a new pair.
    name str
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    sdrs_replication_pair_v1_id str
    ID of the replication pair.
    timeouts SdrsReplicationPairV1TimeoutsArgs
    groupId String
    Specifies the ID of a protection group. Changing this creates a new pair.
    volumeId String
    Specifies the ID of a source disk. Changing this creates a new pair.
    deleteTargetVolume Boolean
    Specifies whether to delete the target disk. The default value is false.
    description String
    The description of a replication pair. Changing this creates a new pair.
    name String
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    sdrsReplicationPairV1Id String
    ID of the replication pair.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SdrsReplicationPairV1 resource produces the following output properties:

    FaultLevel string
    Specifies the fault level of a replication pair.
    Id string
    The provider-assigned unique ID for this managed resource.
    ReplicationModel string
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    Status string
    Specifies the status of a replication pair.
    TargetVolumeId string
    Specifies the ID of the disk in the protection availability zone.
    FaultLevel string
    Specifies the fault level of a replication pair.
    Id string
    The provider-assigned unique ID for this managed resource.
    ReplicationModel string
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    Status string
    Specifies the status of a replication pair.
    TargetVolumeId string
    Specifies the ID of the disk in the protection availability zone.
    faultLevel String
    Specifies the fault level of a replication pair.
    id String
    The provider-assigned unique ID for this managed resource.
    replicationModel String
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    status String
    Specifies the status of a replication pair.
    targetVolumeId String
    Specifies the ID of the disk in the protection availability zone.
    faultLevel string
    Specifies the fault level of a replication pair.
    id string
    The provider-assigned unique ID for this managed resource.
    replicationModel string
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    status string
    Specifies the status of a replication pair.
    targetVolumeId string
    Specifies the ID of the disk in the protection availability zone.
    fault_level str
    Specifies the fault level of a replication pair.
    id str
    The provider-assigned unique ID for this managed resource.
    replication_model str
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    status str
    Specifies the status of a replication pair.
    target_volume_id str
    Specifies the ID of the disk in the protection availability zone.
    faultLevel String
    Specifies the fault level of a replication pair.
    id String
    The provider-assigned unique ID for this managed resource.
    replicationModel String
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    status String
    Specifies the status of a replication pair.
    targetVolumeId String
    Specifies the ID of the disk in the protection availability zone.

    Look up Existing SdrsReplicationPairV1 Resource

    Get an existing SdrsReplicationPairV1 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?: SdrsReplicationPairV1State, opts?: CustomResourceOptions): SdrsReplicationPairV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            delete_target_volume: Optional[bool] = None,
            description: Optional[str] = None,
            fault_level: Optional[str] = None,
            group_id: Optional[str] = None,
            name: Optional[str] = None,
            replication_model: Optional[str] = None,
            sdrs_replication_pair_v1_id: Optional[str] = None,
            status: Optional[str] = None,
            target_volume_id: Optional[str] = None,
            timeouts: Optional[SdrsReplicationPairV1TimeoutsArgs] = None,
            volume_id: Optional[str] = None) -> SdrsReplicationPairV1
    func GetSdrsReplicationPairV1(ctx *Context, name string, id IDInput, state *SdrsReplicationPairV1State, opts ...ResourceOption) (*SdrsReplicationPairV1, error)
    public static SdrsReplicationPairV1 Get(string name, Input<string> id, SdrsReplicationPairV1State? state, CustomResourceOptions? opts = null)
    public static SdrsReplicationPairV1 get(String name, Output<String> id, SdrsReplicationPairV1State state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:SdrsReplicationPairV1    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DeleteTargetVolume bool
    Specifies whether to delete the target disk. The default value is false.
    Description string
    The description of a replication pair. Changing this creates a new pair.
    FaultLevel string
    Specifies the fault level of a replication pair.
    GroupId string
    Specifies the ID of a protection group. Changing this creates a new pair.
    Name string
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    ReplicationModel string
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    SdrsReplicationPairV1Id string
    ID of the replication pair.
    Status string
    Specifies the status of a replication pair.
    TargetVolumeId string
    Specifies the ID of the disk in the protection availability zone.
    Timeouts SdrsReplicationPairV1Timeouts
    VolumeId string
    Specifies the ID of a source disk. Changing this creates a new pair.
    DeleteTargetVolume bool
    Specifies whether to delete the target disk. The default value is false.
    Description string
    The description of a replication pair. Changing this creates a new pair.
    FaultLevel string
    Specifies the fault level of a replication pair.
    GroupId string
    Specifies the ID of a protection group. Changing this creates a new pair.
    Name string
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    ReplicationModel string
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    SdrsReplicationPairV1Id string
    ID of the replication pair.
    Status string
    Specifies the status of a replication pair.
    TargetVolumeId string
    Specifies the ID of the disk in the protection availability zone.
    Timeouts SdrsReplicationPairV1TimeoutsArgs
    VolumeId string
    Specifies the ID of a source disk. Changing this creates a new pair.
    deleteTargetVolume Boolean
    Specifies whether to delete the target disk. The default value is false.
    description String
    The description of a replication pair. Changing this creates a new pair.
    faultLevel String
    Specifies the fault level of a replication pair.
    groupId String
    Specifies the ID of a protection group. Changing this creates a new pair.
    name String
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    replicationModel String
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    sdrsReplicationPairV1Id String
    ID of the replication pair.
    status String
    Specifies the status of a replication pair.
    targetVolumeId String
    Specifies the ID of the disk in the protection availability zone.
    timeouts SdrsReplicationPairV1Timeouts
    volumeId String
    Specifies the ID of a source disk. Changing this creates a new pair.
    deleteTargetVolume boolean
    Specifies whether to delete the target disk. The default value is false.
    description string
    The description of a replication pair. Changing this creates a new pair.
    faultLevel string
    Specifies the fault level of a replication pair.
    groupId string
    Specifies the ID of a protection group. Changing this creates a new pair.
    name string
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    replicationModel string
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    sdrsReplicationPairV1Id string
    ID of the replication pair.
    status string
    Specifies the status of a replication pair.
    targetVolumeId string
    Specifies the ID of the disk in the protection availability zone.
    timeouts SdrsReplicationPairV1Timeouts
    volumeId string
    Specifies the ID of a source disk. Changing this creates a new pair.
    delete_target_volume bool
    Specifies whether to delete the target disk. The default value is false.
    description str
    The description of a replication pair. Changing this creates a new pair.
    fault_level str
    Specifies the fault level of a replication pair.
    group_id str
    Specifies the ID of a protection group. Changing this creates a new pair.
    name str
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    replication_model str
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    sdrs_replication_pair_v1_id str
    ID of the replication pair.
    status str
    Specifies the status of a replication pair.
    target_volume_id str
    Specifies the ID of the disk in the protection availability zone.
    timeouts SdrsReplicationPairV1TimeoutsArgs
    volume_id str
    Specifies the ID of a source disk. Changing this creates a new pair.
    deleteTargetVolume Boolean
    Specifies whether to delete the target disk. The default value is false.
    description String
    The description of a replication pair. Changing this creates a new pair.
    faultLevel String
    Specifies the fault level of a replication pair.
    groupId String
    Specifies the ID of a protection group. Changing this creates a new pair.
    name String
    The name of a replication pair. The name can contain a maximum of 64 bytes. The value can contain only letters (a to z and A to Z), digits (0 to 9), decimal points (.), underscores (_), and hyphens (-).
    replicationModel String
    Specifies the replication mode of a replication pair. The default value is hypermetro.
    sdrsReplicationPairV1Id String
    ID of the replication pair.
    status String
    Specifies the status of a replication pair.
    targetVolumeId String
    Specifies the ID of the disk in the protection availability zone.
    timeouts Property Map
    volumeId String
    Specifies the ID of a source disk. Changing this creates a new pair.

    Supporting Types

    SdrsReplicationPairV1Timeouts, SdrsReplicationPairV1TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    Replication pairs can be imported using the id, e.g.

    $ pulumi import flexibleengine:index/sdrsReplicationPairV1:SdrsReplicationPairV1 replication_1 43b28b66-770b-4e9e-b5c6-cfc43f0593d9
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud