1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. ErVpcAttachmentV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.ErVpcAttachmentV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for Enterprise Router you can get at documentation portal.

    Manages an ER vpc attachment resource within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const instanceId = config.requireObject("instanceId");
    const vpcId = config.requireObject("vpcId");
    const subnetId = config.requireObject("subnetId");
    const attachmentName = config.requireObject("attachmentName");
    const test = new opentelekomcloud.ErVpcAttachmentV3("test", {
        instanceId: instanceId,
        vpcId: vpcId,
        subnetId: subnetId,
        description: "VPC attachment created by terraform",
        autoCreateVpcRoutes: true,
        tags: {
            foo: "bar",
            key: "value",
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    instance_id = config.require_object("instanceId")
    vpc_id = config.require_object("vpcId")
    subnet_id = config.require_object("subnetId")
    attachment_name = config.require_object("attachmentName")
    test = opentelekomcloud.ErVpcAttachmentV3("test",
        instance_id=instance_id,
        vpc_id=vpc_id,
        subnet_id=subnet_id,
        description="VPC attachment created by terraform",
        auto_create_vpc_routes=True,
        tags={
            "foo": "bar",
            "key": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		instanceId := cfg.RequireObject("instanceId")
    		vpcId := cfg.RequireObject("vpcId")
    		subnetId := cfg.RequireObject("subnetId")
    		attachmentName := cfg.RequireObject("attachmentName")
    		_, err := opentelekomcloud.NewErVpcAttachmentV3(ctx, "test", &opentelekomcloud.ErVpcAttachmentV3Args{
    			InstanceId:          pulumi.Any(instanceId),
    			VpcId:               pulumi.Any(vpcId),
    			SubnetId:            pulumi.Any(subnetId),
    			Description:         pulumi.String("VPC attachment created by terraform"),
    			AutoCreateVpcRoutes: pulumi.Bool(true),
    			Tags: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    				"key": pulumi.String("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var instanceId = config.RequireObject<dynamic>("instanceId");
        var vpcId = config.RequireObject<dynamic>("vpcId");
        var subnetId = config.RequireObject<dynamic>("subnetId");
        var attachmentName = config.RequireObject<dynamic>("attachmentName");
        var test = new Opentelekomcloud.ErVpcAttachmentV3("test", new()
        {
            InstanceId = instanceId,
            VpcId = vpcId,
            SubnetId = subnetId,
            Description = "VPC attachment created by terraform",
            AutoCreateVpcRoutes = true,
            Tags = 
            {
                { "foo", "bar" },
                { "key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.ErVpcAttachmentV3;
    import com.pulumi.opentelekomcloud.ErVpcAttachmentV3Args;
    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 config = ctx.config();
            final var instanceId = config.get("instanceId");
            final var vpcId = config.get("vpcId");
            final var subnetId = config.get("subnetId");
            final var attachmentName = config.get("attachmentName");
            var test = new ErVpcAttachmentV3("test", ErVpcAttachmentV3Args.builder()
                .instanceId(instanceId)
                .vpcId(vpcId)
                .subnetId(subnetId)
                .description("VPC attachment created by terraform")
                .autoCreateVpcRoutes(true)
                .tags(Map.ofEntries(
                    Map.entry("foo", "bar"),
                    Map.entry("key", "value")
                ))
                .build());
    
        }
    }
    
    configuration:
      instanceId:
        type: dynamic
      vpcId:
        type: dynamic
      subnetId:
        type: dynamic
      attachmentName:
        type: dynamic
    resources:
      test:
        type: opentelekomcloud:ErVpcAttachmentV3
        properties:
          instanceId: ${instanceId}
          vpcId: ${vpcId}
          subnetId: ${subnetId}
          description: VPC attachment created by terraform
          autoCreateVpcRoutes: true
          tags:
            foo: bar
            key: value
    

    Create ErVpcAttachmentV3 Resource

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

    Constructor syntax

    new ErVpcAttachmentV3(name: string, args: ErVpcAttachmentV3Args, opts?: CustomResourceOptions);
    @overload
    def ErVpcAttachmentV3(resource_name: str,
                          args: ErVpcAttachmentV3Args,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ErVpcAttachmentV3(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          instance_id: Optional[str] = None,
                          subnet_id: Optional[str] = None,
                          vpc_id: Optional[str] = None,
                          auto_create_vpc_routes: Optional[bool] = None,
                          description: Optional[str] = None,
                          er_vpc_attachment_v3_id: Optional[str] = None,
                          name: Optional[str] = None,
                          tags: Optional[Mapping[str, str]] = None,
                          timeouts: Optional[ErVpcAttachmentV3TimeoutsArgs] = None)
    func NewErVpcAttachmentV3(ctx *Context, name string, args ErVpcAttachmentV3Args, opts ...ResourceOption) (*ErVpcAttachmentV3, error)
    public ErVpcAttachmentV3(string name, ErVpcAttachmentV3Args args, CustomResourceOptions? opts = null)
    public ErVpcAttachmentV3(String name, ErVpcAttachmentV3Args args)
    public ErVpcAttachmentV3(String name, ErVpcAttachmentV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:ErVpcAttachmentV3
    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 ErVpcAttachmentV3Args
    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 ErVpcAttachmentV3Args
    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 ErVpcAttachmentV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ErVpcAttachmentV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ErVpcAttachmentV3Args
    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 erVpcAttachmentV3Resource = new Opentelekomcloud.ErVpcAttachmentV3("erVpcAttachmentV3Resource", new()
    {
        InstanceId = "string",
        SubnetId = "string",
        VpcId = "string",
        AutoCreateVpcRoutes = false,
        Description = "string",
        ErVpcAttachmentV3Id = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Opentelekomcloud.Inputs.ErVpcAttachmentV3TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := opentelekomcloud.NewErVpcAttachmentV3(ctx, "erVpcAttachmentV3Resource", &opentelekomcloud.ErVpcAttachmentV3Args{
    	InstanceId:          pulumi.String("string"),
    	SubnetId:            pulumi.String("string"),
    	VpcId:               pulumi.String("string"),
    	AutoCreateVpcRoutes: pulumi.Bool(false),
    	Description:         pulumi.String("string"),
    	ErVpcAttachmentV3Id: pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &opentelekomcloud.ErVpcAttachmentV3TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var erVpcAttachmentV3Resource = new ErVpcAttachmentV3("erVpcAttachmentV3Resource", ErVpcAttachmentV3Args.builder()
        .instanceId("string")
        .subnetId("string")
        .vpcId("string")
        .autoCreateVpcRoutes(false)
        .description("string")
        .erVpcAttachmentV3Id("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .timeouts(ErVpcAttachmentV3TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    er_vpc_attachment_v3_resource = opentelekomcloud.ErVpcAttachmentV3("erVpcAttachmentV3Resource",
        instance_id="string",
        subnet_id="string",
        vpc_id="string",
        auto_create_vpc_routes=False,
        description="string",
        er_vpc_attachment_v3_id="string",
        name="string",
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const erVpcAttachmentV3Resource = new opentelekomcloud.ErVpcAttachmentV3("erVpcAttachmentV3Resource", {
        instanceId: "string",
        subnetId: "string",
        vpcId: "string",
        autoCreateVpcRoutes: false,
        description: "string",
        erVpcAttachmentV3Id: "string",
        name: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: opentelekomcloud:ErVpcAttachmentV3
    properties:
        autoCreateVpcRoutes: false
        description: string
        erVpcAttachmentV3Id: string
        instanceId: string
        name: string
        subnetId: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
            update: string
        vpcId: string
    

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

    InstanceId string
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    SubnetId string
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    VpcId string
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    AutoCreateVpcRoutes bool

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    Description string
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    ErVpcAttachmentV3Id string
    The resource ID.
    Name string
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    Tags Dictionary<string, string>
    Tags key/value pairs to associate with the instance.
    Timeouts ErVpcAttachmentV3Timeouts
    InstanceId string
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    SubnetId string
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    VpcId string
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    AutoCreateVpcRoutes bool

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    Description string
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    ErVpcAttachmentV3Id string
    The resource ID.
    Name string
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    Tags map[string]string
    Tags key/value pairs to associate with the instance.
    Timeouts ErVpcAttachmentV3TimeoutsArgs
    instanceId String
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    subnetId String
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    vpcId String
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    autoCreateVpcRoutes Boolean

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    description String
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    erVpcAttachmentV3Id String
    The resource ID.
    name String
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    tags Map<String,String>
    Tags key/value pairs to associate with the instance.
    timeouts ErVpcAttachmentV3Timeouts
    instanceId string
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    subnetId string
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    vpcId string
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    autoCreateVpcRoutes boolean

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    description string
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    erVpcAttachmentV3Id string
    The resource ID.
    name string
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    tags {[key: string]: string}
    Tags key/value pairs to associate with the instance.
    timeouts ErVpcAttachmentV3Timeouts
    instance_id str
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    subnet_id str
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    vpc_id str
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    auto_create_vpc_routes bool

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    description str
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    er_vpc_attachment_v3_id str
    The resource ID.
    name str
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    tags Mapping[str, str]
    Tags key/value pairs to associate with the instance.
    timeouts ErVpcAttachmentV3TimeoutsArgs
    instanceId String
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    subnetId String
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    vpcId String
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    autoCreateVpcRoutes Boolean

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    description String
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    erVpcAttachmentV3Id String
    The resource ID.
    name String
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    tags Map<String>
    Tags key/value pairs to associate with the instance.
    timeouts Property Map

    Outputs

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

    CreatedAt string
    The creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The region where the ER instance and the VPC attachment are.
    Status string
    The current status of the VPC attachment.
    UpdatedAt string
    The latest update time.
    CreatedAt string
    The creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The region where the ER instance and the VPC attachment are.
    Status string
    The current status of the VPC attachment.
    UpdatedAt string
    The latest update time.
    createdAt String
    The creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The region where the ER instance and the VPC attachment are.
    status String
    The current status of the VPC attachment.
    updatedAt String
    The latest update time.
    createdAt string
    The creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    The region where the ER instance and the VPC attachment are.
    status string
    The current status of the VPC attachment.
    updatedAt string
    The latest update time.
    created_at str
    The creation time.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    The region where the ER instance and the VPC attachment are.
    status str
    The current status of the VPC attachment.
    updated_at str
    The latest update time.
    createdAt String
    The creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The region where the ER instance and the VPC attachment are.
    status String
    The current status of the VPC attachment.
    updatedAt String
    The latest update time.

    Look up Existing ErVpcAttachmentV3 Resource

    Get an existing ErVpcAttachmentV3 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?: ErVpcAttachmentV3State, opts?: CustomResourceOptions): ErVpcAttachmentV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_create_vpc_routes: Optional[bool] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            er_vpc_attachment_v3_id: Optional[str] = None,
            instance_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            status: Optional[str] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            timeouts: Optional[ErVpcAttachmentV3TimeoutsArgs] = None,
            updated_at: Optional[str] = None,
            vpc_id: Optional[str] = None) -> ErVpcAttachmentV3
    func GetErVpcAttachmentV3(ctx *Context, name string, id IDInput, state *ErVpcAttachmentV3State, opts ...ResourceOption) (*ErVpcAttachmentV3, error)
    public static ErVpcAttachmentV3 Get(string name, Input<string> id, ErVpcAttachmentV3State? state, CustomResourceOptions? opts = null)
    public static ErVpcAttachmentV3 get(String name, Output<String> id, ErVpcAttachmentV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:ErVpcAttachmentV3    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:
    AutoCreateVpcRoutes bool

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    CreatedAt string
    The creation time.
    Description string
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    ErVpcAttachmentV3Id string
    The resource ID.
    InstanceId string
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    Name string
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    Region string
    The region where the ER instance and the VPC attachment are.
    Status string
    The current status of the VPC attachment.
    SubnetId string
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    Tags Dictionary<string, string>
    Tags key/value pairs to associate with the instance.
    Timeouts ErVpcAttachmentV3Timeouts
    UpdatedAt string
    The latest update time.
    VpcId string
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    AutoCreateVpcRoutes bool

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    CreatedAt string
    The creation time.
    Description string
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    ErVpcAttachmentV3Id string
    The resource ID.
    InstanceId string
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    Name string
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    Region string
    The region where the ER instance and the VPC attachment are.
    Status string
    The current status of the VPC attachment.
    SubnetId string
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    Tags map[string]string
    Tags key/value pairs to associate with the instance.
    Timeouts ErVpcAttachmentV3TimeoutsArgs
    UpdatedAt string
    The latest update time.
    VpcId string
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    autoCreateVpcRoutes Boolean

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    createdAt String
    The creation time.
    description String
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    erVpcAttachmentV3Id String
    The resource ID.
    instanceId String
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    name String
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    region String
    The region where the ER instance and the VPC attachment are.
    status String
    The current status of the VPC attachment.
    subnetId String
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    tags Map<String,String>
    Tags key/value pairs to associate with the instance.
    timeouts ErVpcAttachmentV3Timeouts
    updatedAt String
    The latest update time.
    vpcId String
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    autoCreateVpcRoutes boolean

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    createdAt string
    The creation time.
    description string
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    erVpcAttachmentV3Id string
    The resource ID.
    instanceId string
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    name string
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    region string
    The region where the ER instance and the VPC attachment are.
    status string
    The current status of the VPC attachment.
    subnetId string
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    tags {[key: string]: string}
    Tags key/value pairs to associate with the instance.
    timeouts ErVpcAttachmentV3Timeouts
    updatedAt string
    The latest update time.
    vpcId string
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    auto_create_vpc_routes bool

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    created_at str
    The creation time.
    description str
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    er_vpc_attachment_v3_id str
    The resource ID.
    instance_id str
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    name str
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    region str
    The region where the ER instance and the VPC attachment are.
    status str
    The current status of the VPC attachment.
    subnet_id str
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    tags Mapping[str, str]
    Tags key/value pairs to associate with the instance.
    timeouts ErVpcAttachmentV3TimeoutsArgs
    updated_at str
    The latest update time.
    vpc_id str
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.
    autoCreateVpcRoutes Boolean

    Specifies whether to automatically configure routes for the VPC which pointing to the ER instance. The destination CIDRs of the routes are fixed as follows:

    • 10.0.0.0/8
    • 172.16.0.0/12
    • 192.168.0.0/16

    The default value is false. Changing this parameter will create a new resource.

    createdAt String
    The creation time.
    description String
    Specifies the description of the VPC attachment. The description contain a maximum of 255 characters, and the angle brackets (< and >) are not allowed.
    erVpcAttachmentV3Id String
    The resource ID.
    instanceId String
    Specifies the ID of the ER instance to which the VPC attachment belongs. Changing this parameter will create a new resource.
    name String
    Specifies the name of the VPC attachment. The name can contain 1 to 64 characters, digits, underscore (_), hyphens (-) and dots (.) allowed.
    region String
    The region where the ER instance and the VPC attachment are.
    status String
    The current status of the VPC attachment.
    subnetId String
    Specifies the ID of the VPC subnet to which the VPC attachment belongs. Changing this parameter will create a new resource.
    tags Map<String>
    Tags key/value pairs to associate with the instance.
    timeouts Property Map
    updatedAt String
    The latest update time.
    vpcId String
    Specifies the ID of the VPC to which the VPC attachment belongs. Changing this parameter will create a new resource.

    Supporting Types

    ErVpcAttachmentV3Timeouts, ErVpcAttachmentV3TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    VPC attachments can be imported using their id and the related instance_id, e.g.

    $ pulumi import opentelekomcloud:index/erVpcAttachmentV3:ErVpcAttachmentV3 test instance_id/id
    

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

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud