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

flexibleengine.SdrsProtectedinstanceV1

Explore with Pulumi AI

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

    Manages a SDRS protected instance resource within FlexibleEngine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const domain1 = flexibleengine.getSdrsDomainV1({
        name: "SDRS_HypeDomain01",
    });
    const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
    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 instance1 = new flexibleengine.SdrsProtectedinstanceV1("instance1", {
        groupId: group1.sdrsProtectiongroupV1Id,
        serverId: "{{ server_id }}",
        description: "test description",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    domain1 = flexibleengine.get_sdrs_domain_v1(name="SDRS_HypeDomain01")
    example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
    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")
    instance1 = flexibleengine.SdrsProtectedinstanceV1("instance1",
        group_id=group1.sdrs_protectiongroup_v1_id,
        server_id="{{ server_id }}",
        description="test description")
    
    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 {
    		domain1, err := flexibleengine.GetSdrsDomainV1(ctx, &flexibleengine.GetSdrsDomainV1Args{
    			Name: pulumi.StringRef("SDRS_HypeDomain01"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
    			Cidr: pulumi.String("192.168.0.0/16"),
    		})
    		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.NewSdrsProtectedinstanceV1(ctx, "instance1", &flexibleengine.SdrsProtectedinstanceV1Args{
    			GroupId:     group1.SdrsProtectiongroupV1Id,
    			ServerId:    pulumi.String("{{ server_id }}"),
    			Description: pulumi.String("test description"),
    		})
    		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 domain1 = Flexibleengine.GetSdrsDomainV1.Invoke(new()
        {
            Name = "SDRS_HypeDomain01",
        });
    
        var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
        {
            Cidr = "192.168.0.0/16",
        });
    
        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 instance1 = new Flexibleengine.SdrsProtectedinstanceV1("instance1", new()
        {
            GroupId = group1.SdrsProtectiongroupV1Id,
            ServerId = "{{ server_id }}",
            Description = "test description",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.FlexibleengineFunctions;
    import com.pulumi.flexibleengine.inputs.GetSdrsDomainV1Args;
    import com.pulumi.flexibleengine.VpcV1;
    import com.pulumi.flexibleengine.VpcV1Args;
    import com.pulumi.flexibleengine.SdrsProtectiongroupV1;
    import com.pulumi.flexibleengine.SdrsProtectiongroupV1Args;
    import com.pulumi.flexibleengine.SdrsProtectedinstanceV1;
    import com.pulumi.flexibleengine.SdrsProtectedinstanceV1Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var domain1 = FlexibleengineFunctions.getSdrsDomainV1(GetSdrsDomainV1Args.builder()
                .name("SDRS_HypeDomain01")
                .build());
    
            var exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
                .cidr("192.168.0.0/16")
                .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 instance1 = new SdrsProtectedinstanceV1("instance1", SdrsProtectedinstanceV1Args.builder()
                .groupId(group1.sdrsProtectiongroupV1Id())
                .serverId("{{ server_id }}")
                .description("test description")
                .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
      instance1:
        type: flexibleengine:SdrsProtectedinstanceV1
        properties:
          groupId: ${group1.sdrsProtectiongroupV1Id}
          serverId: '{{ server_id }}'
          description: test description
    variables:
      domain1:
        fn::invoke:
          function: flexibleengine:getSdrsDomainV1
          arguments:
            name: SDRS_HypeDomain01
    

    Create SdrsProtectedinstanceV1 Resource

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

    Constructor syntax

    new SdrsProtectedinstanceV1(name: string, args: SdrsProtectedinstanceV1Args, opts?: CustomResourceOptions);
    @overload
    def SdrsProtectedinstanceV1(resource_name: str,
                                args: SdrsProtectedinstanceV1Args,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def SdrsProtectedinstanceV1(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                group_id: Optional[str] = None,
                                server_id: Optional[str] = None,
                                cluster_id: Optional[str] = None,
                                delete_target_eip: Optional[bool] = None,
                                delete_target_server: Optional[bool] = None,
                                description: Optional[str] = None,
                                name: Optional[str] = None,
                                primary_ip_address: Optional[str] = None,
                                primary_subnet_id: Optional[str] = None,
                                sdrs_protectedinstance_v1_id: Optional[str] = None,
                                timeouts: Optional[SdrsProtectedinstanceV1TimeoutsArgs] = None)
    func NewSdrsProtectedinstanceV1(ctx *Context, name string, args SdrsProtectedinstanceV1Args, opts ...ResourceOption) (*SdrsProtectedinstanceV1, error)
    public SdrsProtectedinstanceV1(string name, SdrsProtectedinstanceV1Args args, CustomResourceOptions? opts = null)
    public SdrsProtectedinstanceV1(String name, SdrsProtectedinstanceV1Args args)
    public SdrsProtectedinstanceV1(String name, SdrsProtectedinstanceV1Args args, CustomResourceOptions options)
    
    type: flexibleengine:SdrsProtectedinstanceV1
    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 SdrsProtectedinstanceV1Args
    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 SdrsProtectedinstanceV1Args
    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 SdrsProtectedinstanceV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SdrsProtectedinstanceV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SdrsProtectedinstanceV1Args
    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 sdrsProtectedinstanceV1Resource = new Flexibleengine.SdrsProtectedinstanceV1("sdrsProtectedinstanceV1Resource", new()
    {
        GroupId = "string",
        ServerId = "string",
        ClusterId = "string",
        DeleteTargetEip = false,
        DeleteTargetServer = false,
        Description = "string",
        Name = "string",
        PrimaryIpAddress = "string",
        PrimarySubnetId = "string",
        SdrsProtectedinstanceV1Id = "string",
        Timeouts = new Flexibleengine.Inputs.SdrsProtectedinstanceV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := flexibleengine.NewSdrsProtectedinstanceV1(ctx, "sdrsProtectedinstanceV1Resource", &flexibleengine.SdrsProtectedinstanceV1Args{
    	GroupId:                   pulumi.String("string"),
    	ServerId:                  pulumi.String("string"),
    	ClusterId:                 pulumi.String("string"),
    	DeleteTargetEip:           pulumi.Bool(false),
    	DeleteTargetServer:        pulumi.Bool(false),
    	Description:               pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	PrimaryIpAddress:          pulumi.String("string"),
    	PrimarySubnetId:           pulumi.String("string"),
    	SdrsProtectedinstanceV1Id: pulumi.String("string"),
    	Timeouts: &flexibleengine.SdrsProtectedinstanceV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var sdrsProtectedinstanceV1Resource = new SdrsProtectedinstanceV1("sdrsProtectedinstanceV1Resource", SdrsProtectedinstanceV1Args.builder()
        .groupId("string")
        .serverId("string")
        .clusterId("string")
        .deleteTargetEip(false)
        .deleteTargetServer(false)
        .description("string")
        .name("string")
        .primaryIpAddress("string")
        .primarySubnetId("string")
        .sdrsProtectedinstanceV1Id("string")
        .timeouts(SdrsProtectedinstanceV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    sdrs_protectedinstance_v1_resource = flexibleengine.SdrsProtectedinstanceV1("sdrsProtectedinstanceV1Resource",
        group_id="string",
        server_id="string",
        cluster_id="string",
        delete_target_eip=False,
        delete_target_server=False,
        description="string",
        name="string",
        primary_ip_address="string",
        primary_subnet_id="string",
        sdrs_protectedinstance_v1_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const sdrsProtectedinstanceV1Resource = new flexibleengine.SdrsProtectedinstanceV1("sdrsProtectedinstanceV1Resource", {
        groupId: "string",
        serverId: "string",
        clusterId: "string",
        deleteTargetEip: false,
        deleteTargetServer: false,
        description: "string",
        name: "string",
        primaryIpAddress: "string",
        primarySubnetId: "string",
        sdrsProtectedinstanceV1Id: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: flexibleengine:SdrsProtectedinstanceV1
    properties:
        clusterId: string
        deleteTargetEip: false
        deleteTargetServer: false
        description: string
        groupId: string
        name: string
        primaryIpAddress: string
        primarySubnetId: string
        sdrsProtectedinstanceV1Id: string
        serverId: string
        timeouts:
            create: string
            delete: string
    

    SdrsProtectedinstanceV1 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 SdrsProtectedinstanceV1 resource accepts the following input properties:

    GroupId string
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    ServerId string
    Specifies the ID of the source server. Changing this creates a new instance.
    ClusterId string
    Specifies the ID of a storage pool. Changing this creates a new instance.
    DeleteTargetEip bool
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    DeleteTargetServer bool
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    Description string
    The description of a protected instance. Changing this creates a new instance.
    Name string
    The name of a protected instance.
    PrimaryIpAddress string
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    PrimarySubnetId string
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    SdrsProtectedinstanceV1Id string
    ID of the protected instance.
    Timeouts SdrsProtectedinstanceV1Timeouts
    GroupId string
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    ServerId string
    Specifies the ID of the source server. Changing this creates a new instance.
    ClusterId string
    Specifies the ID of a storage pool. Changing this creates a new instance.
    DeleteTargetEip bool
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    DeleteTargetServer bool
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    Description string
    The description of a protected instance. Changing this creates a new instance.
    Name string
    The name of a protected instance.
    PrimaryIpAddress string
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    PrimarySubnetId string
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    SdrsProtectedinstanceV1Id string
    ID of the protected instance.
    Timeouts SdrsProtectedinstanceV1TimeoutsArgs
    groupId String
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    serverId String
    Specifies the ID of the source server. Changing this creates a new instance.
    clusterId String
    Specifies the ID of a storage pool. Changing this creates a new instance.
    deleteTargetEip Boolean
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    deleteTargetServer Boolean
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    description String
    The description of a protected instance. Changing this creates a new instance.
    name String
    The name of a protected instance.
    primaryIpAddress String
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    primarySubnetId String
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    sdrsProtectedinstanceV1Id String
    ID of the protected instance.
    timeouts SdrsProtectedinstanceV1Timeouts
    groupId string
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    serverId string
    Specifies the ID of the source server. Changing this creates a new instance.
    clusterId string
    Specifies the ID of a storage pool. Changing this creates a new instance.
    deleteTargetEip boolean
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    deleteTargetServer boolean
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    description string
    The description of a protected instance. Changing this creates a new instance.
    name string
    The name of a protected instance.
    primaryIpAddress string
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    primarySubnetId string
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    sdrsProtectedinstanceV1Id string
    ID of the protected instance.
    timeouts SdrsProtectedinstanceV1Timeouts
    group_id str
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    server_id str
    Specifies the ID of the source server. Changing this creates a new instance.
    cluster_id str
    Specifies the ID of a storage pool. Changing this creates a new instance.
    delete_target_eip bool
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    delete_target_server bool
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    description str
    The description of a protected instance. Changing this creates a new instance.
    name str
    The name of a protected instance.
    primary_ip_address str
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    primary_subnet_id str
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    sdrs_protectedinstance_v1_id str
    ID of the protected instance.
    timeouts SdrsProtectedinstanceV1TimeoutsArgs
    groupId String
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    serverId String
    Specifies the ID of the source server. Changing this creates a new instance.
    clusterId String
    Specifies the ID of a storage pool. Changing this creates a new instance.
    deleteTargetEip Boolean
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    deleteTargetServer Boolean
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    description String
    The description of a protected instance. Changing this creates a new instance.
    name String
    The name of a protected instance.
    primaryIpAddress String
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    primarySubnetId String
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    sdrsProtectedinstanceV1Id String
    ID of the protected instance.
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    TargetServer string
    ID of the target server.
    Id string
    The provider-assigned unique ID for this managed resource.
    TargetServer string
    ID of the target server.
    id String
    The provider-assigned unique ID for this managed resource.
    targetServer String
    ID of the target server.
    id string
    The provider-assigned unique ID for this managed resource.
    targetServer string
    ID of the target server.
    id str
    The provider-assigned unique ID for this managed resource.
    target_server str
    ID of the target server.
    id String
    The provider-assigned unique ID for this managed resource.
    targetServer String
    ID of the target server.

    Look up Existing SdrsProtectedinstanceV1 Resource

    Get an existing SdrsProtectedinstanceV1 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?: SdrsProtectedinstanceV1State, opts?: CustomResourceOptions): SdrsProtectedinstanceV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            delete_target_eip: Optional[bool] = None,
            delete_target_server: Optional[bool] = None,
            description: Optional[str] = None,
            group_id: Optional[str] = None,
            name: Optional[str] = None,
            primary_ip_address: Optional[str] = None,
            primary_subnet_id: Optional[str] = None,
            sdrs_protectedinstance_v1_id: Optional[str] = None,
            server_id: Optional[str] = None,
            target_server: Optional[str] = None,
            timeouts: Optional[SdrsProtectedinstanceV1TimeoutsArgs] = None) -> SdrsProtectedinstanceV1
    func GetSdrsProtectedinstanceV1(ctx *Context, name string, id IDInput, state *SdrsProtectedinstanceV1State, opts ...ResourceOption) (*SdrsProtectedinstanceV1, error)
    public static SdrsProtectedinstanceV1 Get(string name, Input<string> id, SdrsProtectedinstanceV1State? state, CustomResourceOptions? opts = null)
    public static SdrsProtectedinstanceV1 get(String name, Output<String> id, SdrsProtectedinstanceV1State state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:SdrsProtectedinstanceV1    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:
    ClusterId string
    Specifies the ID of a storage pool. Changing this creates a new instance.
    DeleteTargetEip bool
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    DeleteTargetServer bool
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    Description string
    The description of a protected instance. Changing this creates a new instance.
    GroupId string
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    Name string
    The name of a protected instance.
    PrimaryIpAddress string
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    PrimarySubnetId string
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    SdrsProtectedinstanceV1Id string
    ID of the protected instance.
    ServerId string
    Specifies the ID of the source server. Changing this creates a new instance.
    TargetServer string
    ID of the target server.
    Timeouts SdrsProtectedinstanceV1Timeouts
    ClusterId string
    Specifies the ID of a storage pool. Changing this creates a new instance.
    DeleteTargetEip bool
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    DeleteTargetServer bool
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    Description string
    The description of a protected instance. Changing this creates a new instance.
    GroupId string
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    Name string
    The name of a protected instance.
    PrimaryIpAddress string
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    PrimarySubnetId string
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    SdrsProtectedinstanceV1Id string
    ID of the protected instance.
    ServerId string
    Specifies the ID of the source server. Changing this creates a new instance.
    TargetServer string
    ID of the target server.
    Timeouts SdrsProtectedinstanceV1TimeoutsArgs
    clusterId String
    Specifies the ID of a storage pool. Changing this creates a new instance.
    deleteTargetEip Boolean
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    deleteTargetServer Boolean
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    description String
    The description of a protected instance. Changing this creates a new instance.
    groupId String
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    name String
    The name of a protected instance.
    primaryIpAddress String
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    primarySubnetId String
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    sdrsProtectedinstanceV1Id String
    ID of the protected instance.
    serverId String
    Specifies the ID of the source server. Changing this creates a new instance.
    targetServer String
    ID of the target server.
    timeouts SdrsProtectedinstanceV1Timeouts
    clusterId string
    Specifies the ID of a storage pool. Changing this creates a new instance.
    deleteTargetEip boolean
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    deleteTargetServer boolean
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    description string
    The description of a protected instance. Changing this creates a new instance.
    groupId string
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    name string
    The name of a protected instance.
    primaryIpAddress string
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    primarySubnetId string
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    sdrsProtectedinstanceV1Id string
    ID of the protected instance.
    serverId string
    Specifies the ID of the source server. Changing this creates a new instance.
    targetServer string
    ID of the target server.
    timeouts SdrsProtectedinstanceV1Timeouts
    cluster_id str
    Specifies the ID of a storage pool. Changing this creates a new instance.
    delete_target_eip bool
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    delete_target_server bool
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    description str
    The description of a protected instance. Changing this creates a new instance.
    group_id str
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    name str
    The name of a protected instance.
    primary_ip_address str
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    primary_subnet_id str
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    sdrs_protectedinstance_v1_id str
    ID of the protected instance.
    server_id str
    Specifies the ID of the source server. Changing this creates a new instance.
    target_server str
    ID of the target server.
    timeouts SdrsProtectedinstanceV1TimeoutsArgs
    clusterId String
    Specifies the ID of a storage pool. Changing this creates a new instance.
    deleteTargetEip Boolean
    Specifies whether to delete the EIP of the target server. The default value is false. Changing this creates a new instance.
    deleteTargetServer Boolean
    Specifies whether to delete the target server. The default value is false. Changing this creates a new instance.
    description String
    The description of a protected instance. Changing this creates a new instance.
    groupId String
    Specifies the ID of the protection group where a protected instance is added. Changing this creates a new instance.
    name String
    The name of a protected instance.
    primaryIpAddress String
    Specifies the IP address of the primary NIC on the target server. Changing this creates a new instance.
    primarySubnetId String
    Specifies the ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet of the primary NIC on the target server. Changing this creates a new instance.
    sdrsProtectedinstanceV1Id String
    ID of the protected instance.
    serverId String
    Specifies the ID of the source server. Changing this creates a new instance.
    targetServer String
    ID of the target server.
    timeouts Property Map

    Supporting Types

    SdrsProtectedinstanceV1Timeouts, SdrsProtectedinstanceV1TimeoutsArgs

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

    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