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

opentelekomcloud.EnterpriseVpnGatewayV5

Explore with Pulumi AI

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

    Create EnterpriseVpnGatewayV5 Resource

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

    Constructor syntax

    new EnterpriseVpnGatewayV5(name: string, args: EnterpriseVpnGatewayV5Args, opts?: CustomResourceOptions);
    @overload
    def EnterpriseVpnGatewayV5(resource_name: str,
                               args: EnterpriseVpnGatewayV5Args,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnterpriseVpnGatewayV5(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               availability_zones: Optional[Sequence[str]] = None,
                               eip2: Optional[EnterpriseVpnGatewayV5Eip2Args] = None,
                               access_subnet_id: Optional[str] = None,
                               access_vpc_id: Optional[str] = None,
                               asn: Optional[float] = None,
                               attachment_type: Optional[str] = None,
                               access_private_ip2: Optional[str] = None,
                               connect_subnet: Optional[str] = None,
                               delete_eip: Optional[bool] = None,
                               access_private_ip1: Optional[str] = None,
                               eip1: Optional[EnterpriseVpnGatewayV5Eip1Args] = None,
                               flavor: Optional[str] = None,
                               er_id: Optional[str] = None,
                               enterprise_vpn_gateway_v5_id: Optional[str] = None,
                               ha_mode: Optional[str] = None,
                               local_subnets: Optional[Sequence[str]] = None,
                               name: Optional[str] = None,
                               network_type: Optional[str] = None,
                               tags: Optional[Mapping[str, str]] = None,
                               timeouts: Optional[EnterpriseVpnGatewayV5TimeoutsArgs] = None,
                               vpc_id: Optional[str] = None)
    func NewEnterpriseVpnGatewayV5(ctx *Context, name string, args EnterpriseVpnGatewayV5Args, opts ...ResourceOption) (*EnterpriseVpnGatewayV5, error)
    public EnterpriseVpnGatewayV5(string name, EnterpriseVpnGatewayV5Args args, CustomResourceOptions? opts = null)
    public EnterpriseVpnGatewayV5(String name, EnterpriseVpnGatewayV5Args args)
    public EnterpriseVpnGatewayV5(String name, EnterpriseVpnGatewayV5Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:EnterpriseVpnGatewayV5
    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 EnterpriseVpnGatewayV5Args
    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 EnterpriseVpnGatewayV5Args
    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 EnterpriseVpnGatewayV5Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnterpriseVpnGatewayV5Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnterpriseVpnGatewayV5Args
    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 enterpriseVpnGatewayV5Resource = new Opentelekomcloud.EnterpriseVpnGatewayV5("enterpriseVpnGatewayV5Resource", new()
    {
        AvailabilityZones = new[]
        {
            "string",
        },
        Eip2 = new Opentelekomcloud.Inputs.EnterpriseVpnGatewayV5Eip2Args
        {
            BandwidthId = "string",
            BandwidthName = "string",
            BandwidthSize = 0,
            ChargeMode = "string",
            Id = "string",
            IpAddress = "string",
            IpVersion = 0,
            Type = "string",
        },
        AccessSubnetId = "string",
        AccessVpcId = "string",
        Asn = 0,
        AttachmentType = "string",
        AccessPrivateIp2 = "string",
        ConnectSubnet = "string",
        DeleteEip = false,
        AccessPrivateIp1 = "string",
        Eip1 = new Opentelekomcloud.Inputs.EnterpriseVpnGatewayV5Eip1Args
        {
            BandwidthId = "string",
            BandwidthName = "string",
            BandwidthSize = 0,
            ChargeMode = "string",
            Id = "string",
            IpAddress = "string",
            IpVersion = 0,
            Type = "string",
        },
        Flavor = "string",
        ErId = "string",
        EnterpriseVpnGatewayV5Id = "string",
        HaMode = "string",
        LocalSubnets = new[]
        {
            "string",
        },
        Name = "string",
        NetworkType = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Opentelekomcloud.Inputs.EnterpriseVpnGatewayV5TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        VpcId = "string",
    });
    
    example, err := opentelekomcloud.NewEnterpriseVpnGatewayV5(ctx, "enterpriseVpnGatewayV5Resource", &opentelekomcloud.EnterpriseVpnGatewayV5Args{
    	AvailabilityZones: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Eip2: &opentelekomcloud.EnterpriseVpnGatewayV5Eip2Args{
    		BandwidthId:   pulumi.String("string"),
    		BandwidthName: pulumi.String("string"),
    		BandwidthSize: pulumi.Float64(0),
    		ChargeMode:    pulumi.String("string"),
    		Id:            pulumi.String("string"),
    		IpAddress:     pulumi.String("string"),
    		IpVersion:     pulumi.Float64(0),
    		Type:          pulumi.String("string"),
    	},
    	AccessSubnetId:   pulumi.String("string"),
    	AccessVpcId:      pulumi.String("string"),
    	Asn:              pulumi.Float64(0),
    	AttachmentType:   pulumi.String("string"),
    	AccessPrivateIp2: pulumi.String("string"),
    	ConnectSubnet:    pulumi.String("string"),
    	DeleteEip:        pulumi.Bool(false),
    	AccessPrivateIp1: pulumi.String("string"),
    	Eip1: &opentelekomcloud.EnterpriseVpnGatewayV5Eip1Args{
    		BandwidthId:   pulumi.String("string"),
    		BandwidthName: pulumi.String("string"),
    		BandwidthSize: pulumi.Float64(0),
    		ChargeMode:    pulumi.String("string"),
    		Id:            pulumi.String("string"),
    		IpAddress:     pulumi.String("string"),
    		IpVersion:     pulumi.Float64(0),
    		Type:          pulumi.String("string"),
    	},
    	Flavor:                   pulumi.String("string"),
    	ErId:                     pulumi.String("string"),
    	EnterpriseVpnGatewayV5Id: pulumi.String("string"),
    	HaMode:                   pulumi.String("string"),
    	LocalSubnets: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:        pulumi.String("string"),
    	NetworkType: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &opentelekomcloud.EnterpriseVpnGatewayV5TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	VpcId: pulumi.String("string"),
    })
    
    var enterpriseVpnGatewayV5Resource = new EnterpriseVpnGatewayV5("enterpriseVpnGatewayV5Resource", EnterpriseVpnGatewayV5Args.builder()
        .availabilityZones("string")
        .eip2(EnterpriseVpnGatewayV5Eip2Args.builder()
            .bandwidthId("string")
            .bandwidthName("string")
            .bandwidthSize(0)
            .chargeMode("string")
            .id("string")
            .ipAddress("string")
            .ipVersion(0)
            .type("string")
            .build())
        .accessSubnetId("string")
        .accessVpcId("string")
        .asn(0)
        .attachmentType("string")
        .accessPrivateIp2("string")
        .connectSubnet("string")
        .deleteEip(false)
        .accessPrivateIp1("string")
        .eip1(EnterpriseVpnGatewayV5Eip1Args.builder()
            .bandwidthId("string")
            .bandwidthName("string")
            .bandwidthSize(0)
            .chargeMode("string")
            .id("string")
            .ipAddress("string")
            .ipVersion(0)
            .type("string")
            .build())
        .flavor("string")
        .erId("string")
        .enterpriseVpnGatewayV5Id("string")
        .haMode("string")
        .localSubnets("string")
        .name("string")
        .networkType("string")
        .tags(Map.of("string", "string"))
        .timeouts(EnterpriseVpnGatewayV5TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .vpcId("string")
        .build());
    
    enterprise_vpn_gateway_v5_resource = opentelekomcloud.EnterpriseVpnGatewayV5("enterpriseVpnGatewayV5Resource",
        availability_zones=["string"],
        eip2={
            "bandwidth_id": "string",
            "bandwidth_name": "string",
            "bandwidth_size": 0,
            "charge_mode": "string",
            "id": "string",
            "ip_address": "string",
            "ip_version": 0,
            "type": "string",
        },
        access_subnet_id="string",
        access_vpc_id="string",
        asn=0,
        attachment_type="string",
        access_private_ip2="string",
        connect_subnet="string",
        delete_eip=False,
        access_private_ip1="string",
        eip1={
            "bandwidth_id": "string",
            "bandwidth_name": "string",
            "bandwidth_size": 0,
            "charge_mode": "string",
            "id": "string",
            "ip_address": "string",
            "ip_version": 0,
            "type": "string",
        },
        flavor="string",
        er_id="string",
        enterprise_vpn_gateway_v5_id="string",
        ha_mode="string",
        local_subnets=["string"],
        name="string",
        network_type="string",
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        vpc_id="string")
    
    const enterpriseVpnGatewayV5Resource = new opentelekomcloud.EnterpriseVpnGatewayV5("enterpriseVpnGatewayV5Resource", {
        availabilityZones: ["string"],
        eip2: {
            bandwidthId: "string",
            bandwidthName: "string",
            bandwidthSize: 0,
            chargeMode: "string",
            id: "string",
            ipAddress: "string",
            ipVersion: 0,
            type: "string",
        },
        accessSubnetId: "string",
        accessVpcId: "string",
        asn: 0,
        attachmentType: "string",
        accessPrivateIp2: "string",
        connectSubnet: "string",
        deleteEip: false,
        accessPrivateIp1: "string",
        eip1: {
            bandwidthId: "string",
            bandwidthName: "string",
            bandwidthSize: 0,
            chargeMode: "string",
            id: "string",
            ipAddress: "string",
            ipVersion: 0,
            type: "string",
        },
        flavor: "string",
        erId: "string",
        enterpriseVpnGatewayV5Id: "string",
        haMode: "string",
        localSubnets: ["string"],
        name: "string",
        networkType: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        vpcId: "string",
    });
    
    type: opentelekomcloud:EnterpriseVpnGatewayV5
    properties:
        accessPrivateIp1: string
        accessPrivateIp2: string
        accessSubnetId: string
        accessVpcId: string
        asn: 0
        attachmentType: string
        availabilityZones:
            - string
        connectSubnet: string
        deleteEip: false
        eip1:
            bandwidthId: string
            bandwidthName: string
            bandwidthSize: 0
            chargeMode: string
            id: string
            ipAddress: string
            ipVersion: 0
            type: string
        eip2:
            bandwidthId: string
            bandwidthName: string
            bandwidthSize: 0
            chargeMode: string
            id: string
            ipAddress: string
            ipVersion: 0
            type: string
        enterpriseVpnGatewayV5Id: string
        erId: string
        flavor: string
        haMode: string
        localSubnets:
            - string
        name: string
        networkType: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
            update: string
        vpcId: string
    

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

    Outputs

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

    CreatedAt string
    ErAttachmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    Status string
    UpdatedAt string
    UsedConnectionGroup double
    UsedConnectionNumber double
    CreatedAt string
    ErAttachmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    Status string
    UpdatedAt string
    UsedConnectionGroup float64
    UsedConnectionNumber float64
    createdAt String
    erAttachmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    status String
    updatedAt String
    usedConnectionGroup Double
    usedConnectionNumber Double
    createdAt string
    erAttachmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    status string
    updatedAt string
    usedConnectionGroup number
    usedConnectionNumber number
    created_at str
    er_attachment_id str
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    status str
    updated_at str
    used_connection_group float
    used_connection_number float
    createdAt String
    erAttachmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    status String
    updatedAt String
    usedConnectionGroup Number
    usedConnectionNumber Number

    Look up Existing EnterpriseVpnGatewayV5 Resource

    Get an existing EnterpriseVpnGatewayV5 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?: EnterpriseVpnGatewayV5State, opts?: CustomResourceOptions): EnterpriseVpnGatewayV5
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_private_ip1: Optional[str] = None,
            access_private_ip2: Optional[str] = None,
            access_subnet_id: Optional[str] = None,
            access_vpc_id: Optional[str] = None,
            asn: Optional[float] = None,
            attachment_type: Optional[str] = None,
            availability_zones: Optional[Sequence[str]] = None,
            connect_subnet: Optional[str] = None,
            created_at: Optional[str] = None,
            delete_eip: Optional[bool] = None,
            eip1: Optional[EnterpriseVpnGatewayV5Eip1Args] = None,
            eip2: Optional[EnterpriseVpnGatewayV5Eip2Args] = None,
            enterprise_vpn_gateway_v5_id: Optional[str] = None,
            er_attachment_id: Optional[str] = None,
            er_id: Optional[str] = None,
            flavor: Optional[str] = None,
            ha_mode: Optional[str] = None,
            local_subnets: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            network_type: Optional[str] = None,
            region: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            timeouts: Optional[EnterpriseVpnGatewayV5TimeoutsArgs] = None,
            updated_at: Optional[str] = None,
            used_connection_group: Optional[float] = None,
            used_connection_number: Optional[float] = None,
            vpc_id: Optional[str] = None) -> EnterpriseVpnGatewayV5
    func GetEnterpriseVpnGatewayV5(ctx *Context, name string, id IDInput, state *EnterpriseVpnGatewayV5State, opts ...ResourceOption) (*EnterpriseVpnGatewayV5, error)
    public static EnterpriseVpnGatewayV5 Get(string name, Input<string> id, EnterpriseVpnGatewayV5State? state, CustomResourceOptions? opts = null)
    public static EnterpriseVpnGatewayV5 get(String name, Output<String> id, EnterpriseVpnGatewayV5State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:EnterpriseVpnGatewayV5    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:

    Supporting Types

    EnterpriseVpnGatewayV5Eip1, EnterpriseVpnGatewayV5Eip1Args

    BandwidthId string
    BandwidthName string
    BandwidthSize double
    ChargeMode string
    Id string
    IpAddress string
    IpVersion double
    Type string
    BandwidthId string
    BandwidthName string
    BandwidthSize float64
    ChargeMode string
    Id string
    IpAddress string
    IpVersion float64
    Type string
    bandwidthId String
    bandwidthName String
    bandwidthSize Double
    chargeMode String
    id String
    ipAddress String
    ipVersion Double
    type String
    bandwidthId string
    bandwidthName string
    bandwidthSize number
    chargeMode string
    id string
    ipAddress string
    ipVersion number
    type string
    bandwidthId String
    bandwidthName String
    bandwidthSize Number
    chargeMode String
    id String
    ipAddress String
    ipVersion Number
    type String

    EnterpriseVpnGatewayV5Eip2, EnterpriseVpnGatewayV5Eip2Args

    BandwidthId string
    BandwidthName string
    BandwidthSize double
    ChargeMode string
    Id string
    IpAddress string
    IpVersion double
    Type string
    BandwidthId string
    BandwidthName string
    BandwidthSize float64
    ChargeMode string
    Id string
    IpAddress string
    IpVersion float64
    Type string
    bandwidthId String
    bandwidthName String
    bandwidthSize Double
    chargeMode String
    id String
    ipAddress String
    ipVersion Double
    type String
    bandwidthId string
    bandwidthName string
    bandwidthSize number
    chargeMode string
    id string
    ipAddress string
    ipVersion number
    type string
    bandwidthId String
    bandwidthName String
    bandwidthSize Number
    chargeMode String
    id String
    ipAddress String
    ipVersion Number
    type String

    EnterpriseVpnGatewayV5Timeouts, EnterpriseVpnGatewayV5TimeoutsArgs

    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

    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