1. Packages
  2. Volcengine
  3. API Docs
  4. vpn
  5. SslVpnServer
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.vpn.SslVpnServer

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Provides a resource to manage ssl vpn server

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var fooZones = Volcengine.Ecs.Zones.Invoke();
    
        var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
        {
            VpcName = "acc-test-vpc",
            CidrBlock = "172.16.0.0/16",
        });
    
        var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
        {
            SubnetName = "acc-test-subnet",
            CidrBlock = "172.16.0.0/24",
            ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
            VpcId = fooVpc.Id,
        });
    
        var fooGateway = new Volcengine.Vpn.Gateway("fooGateway", new()
        {
            VpcId = fooVpc.Id,
            SubnetId = fooSubnet.Id,
            Bandwidth = 5,
            VpnGatewayName = "acc-test1",
            Description = "acc-test1",
            Period = 7,
            ProjectName = "default",
            SslEnabled = true,
            SslMaxConnections = 5,
        });
    
        var fooSslVpnServer = new Volcengine.Vpn.SslVpnServer("fooSslVpnServer", new()
        {
            VpnGatewayId = fooGateway.Id,
            LocalSubnets = new[]
            {
                fooSubnet.CidrBlock,
            },
            ClientIpPool = "172.16.2.0/24",
            SslVpnServerName = "acc-test-ssl",
            Description = "acc-test",
            Protocol = "UDP",
            Cipher = "AES-128-CBC",
            Auth = "SHA1",
            Compress = true,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fooZones, err := ecs.Zones(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
    			VpcName:   pulumi.String("acc-test-vpc"),
    			CidrBlock: pulumi.String("172.16.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
    			SubnetName: pulumi.String("acc-test-subnet"),
    			CidrBlock:  pulumi.String("172.16.0.0/24"),
    			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
    			VpcId:      fooVpc.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
    			VpcId:             fooVpc.ID(),
    			SubnetId:          fooSubnet.ID(),
    			Bandwidth:         pulumi.Int(5),
    			VpnGatewayName:    pulumi.String("acc-test1"),
    			Description:       pulumi.String("acc-test1"),
    			Period:            pulumi.Int(7),
    			ProjectName:       pulumi.String("default"),
    			SslEnabled:        pulumi.Bool(true),
    			SslMaxConnections: pulumi.Int(5),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = vpn.NewSslVpnServer(ctx, "fooSslVpnServer", &vpn.SslVpnServerArgs{
    			VpnGatewayId: fooGateway.ID(),
    			LocalSubnets: pulumi.StringArray{
    				fooSubnet.CidrBlock,
    			},
    			ClientIpPool:     pulumi.String("172.16.2.0/24"),
    			SslVpnServerName: pulumi.String("acc-test-ssl"),
    			Description:      pulumi.String("acc-test"),
    			Protocol:         pulumi.String("UDP"),
    			Cipher:           pulumi.String("AES-128-CBC"),
    			Auth:             pulumi.String("SHA1"),
    			Compress:         pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.ecs.EcsFunctions;
    import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
    import com.pulumi.volcengine.vpc.Vpc;
    import com.pulumi.volcengine.vpc.VpcArgs;
    import com.pulumi.volcengine.vpc.Subnet;
    import com.pulumi.volcengine.vpc.SubnetArgs;
    import com.pulumi.volcengine.vpn.Gateway;
    import com.pulumi.volcengine.vpn.GatewayArgs;
    import com.pulumi.volcengine.vpn.SslVpnServer;
    import com.pulumi.volcengine.vpn.SslVpnServerArgs;
    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 fooZones = EcsFunctions.Zones();
    
            var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
                .vpcName("acc-test-vpc")
                .cidrBlock("172.16.0.0/16")
                .build());
    
            var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
                .subnetName("acc-test-subnet")
                .cidrBlock("172.16.0.0/24")
                .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
                .vpcId(fooVpc.id())
                .build());
    
            var fooGateway = new Gateway("fooGateway", GatewayArgs.builder()        
                .vpcId(fooVpc.id())
                .subnetId(fooSubnet.id())
                .bandwidth(5)
                .vpnGatewayName("acc-test1")
                .description("acc-test1")
                .period(7)
                .projectName("default")
                .sslEnabled(true)
                .sslMaxConnections(5)
                .build());
    
            var fooSslVpnServer = new SslVpnServer("fooSslVpnServer", SslVpnServerArgs.builder()        
                .vpnGatewayId(fooGateway.id())
                .localSubnets(fooSubnet.cidrBlock())
                .clientIpPool("172.16.2.0/24")
                .sslVpnServerName("acc-test-ssl")
                .description("acc-test")
                .protocol("UDP")
                .cipher("AES-128-CBC")
                .auth("SHA1")
                .compress(true)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo_zones = volcengine.ecs.zones()
    foo_vpc = volcengine.vpc.Vpc("fooVpc",
        vpc_name="acc-test-vpc",
        cidr_block="172.16.0.0/16")
    foo_subnet = volcengine.vpc.Subnet("fooSubnet",
        subnet_name="acc-test-subnet",
        cidr_block="172.16.0.0/24",
        zone_id=foo_zones.zones[0].id,
        vpc_id=foo_vpc.id)
    foo_gateway = volcengine.vpn.Gateway("fooGateway",
        vpc_id=foo_vpc.id,
        subnet_id=foo_subnet.id,
        bandwidth=5,
        vpn_gateway_name="acc-test1",
        description="acc-test1",
        period=7,
        project_name="default",
        ssl_enabled=True,
        ssl_max_connections=5)
    foo_ssl_vpn_server = volcengine.vpn.SslVpnServer("fooSslVpnServer",
        vpn_gateway_id=foo_gateway.id,
        local_subnets=[foo_subnet.cidr_block],
        client_ip_pool="172.16.2.0/24",
        ssl_vpn_server_name="acc-test-ssl",
        description="acc-test",
        protocol="UDP",
        cipher="AES-128-CBC",
        auth="SHA1",
        compress=True)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    import * as volcengine from "@volcengine/pulumi";
    
    const fooZones = volcengine.ecs.Zones({});
    const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
        vpcName: "acc-test-vpc",
        cidrBlock: "172.16.0.0/16",
    });
    const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
        subnetName: "acc-test-subnet",
        cidrBlock: "172.16.0.0/24",
        zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
        vpcId: fooVpc.id,
    });
    const fooGateway = new volcengine.vpn.Gateway("fooGateway", {
        vpcId: fooVpc.id,
        subnetId: fooSubnet.id,
        bandwidth: 5,
        vpnGatewayName: "acc-test1",
        description: "acc-test1",
        period: 7,
        projectName: "default",
        sslEnabled: true,
        sslMaxConnections: 5,
    });
    const fooSslVpnServer = new volcengine.vpn.SslVpnServer("fooSslVpnServer", {
        vpnGatewayId: fooGateway.id,
        localSubnets: [fooSubnet.cidrBlock],
        clientIpPool: "172.16.2.0/24",
        sslVpnServerName: "acc-test-ssl",
        description: "acc-test",
        protocol: "UDP",
        cipher: "AES-128-CBC",
        auth: "SHA1",
        compress: true,
    });
    
    resources:
      fooVpc:
        type: volcengine:vpc:Vpc
        properties:
          vpcName: acc-test-vpc
          cidrBlock: 172.16.0.0/16
      fooSubnet:
        type: volcengine:vpc:Subnet
        properties:
          subnetName: acc-test-subnet
          cidrBlock: 172.16.0.0/24
          zoneId: ${fooZones.zones[0].id}
          vpcId: ${fooVpc.id}
      fooGateway:
        type: volcengine:vpn:Gateway
        properties:
          vpcId: ${fooVpc.id}
          subnetId: ${fooSubnet.id}
          bandwidth: 5
          vpnGatewayName: acc-test1
          description: acc-test1
          period: 7
          projectName: default
          sslEnabled: true
          sslMaxConnections: 5
      fooSslVpnServer:
        type: volcengine:vpn:SslVpnServer
        properties:
          vpnGatewayId: ${fooGateway.id}
          localSubnets:
            - ${fooSubnet.cidrBlock}
          clientIpPool: 172.16.2.0/24
          sslVpnServerName: acc-test-ssl
          description: acc-test
          protocol: UDP
          cipher: AES-128-CBC
          auth: SHA1
          compress: true
    variables:
      fooZones:
        fn::invoke:
          Function: volcengine:ecs:Zones
          Arguments: {}
    

    Create SslVpnServer Resource

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

    Constructor syntax

    new SslVpnServer(name: string, args: SslVpnServerArgs, opts?: CustomResourceOptions);
    @overload
    def SslVpnServer(resource_name: str,
                     args: SslVpnServerArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def SslVpnServer(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     client_ip_pool: Optional[str] = None,
                     local_subnets: Optional[Sequence[str]] = None,
                     vpn_gateway_id: Optional[str] = None,
                     auth: Optional[str] = None,
                     cipher: Optional[str] = None,
                     compress: Optional[bool] = None,
                     description: Optional[str] = None,
                     protocol: Optional[str] = None,
                     ssl_vpn_server_name: Optional[str] = None)
    func NewSslVpnServer(ctx *Context, name string, args SslVpnServerArgs, opts ...ResourceOption) (*SslVpnServer, error)
    public SslVpnServer(string name, SslVpnServerArgs args, CustomResourceOptions? opts = null)
    public SslVpnServer(String name, SslVpnServerArgs args)
    public SslVpnServer(String name, SslVpnServerArgs args, CustomResourceOptions options)
    
    type: volcengine:vpn:SslVpnServer
    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 SslVpnServerArgs
    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 SslVpnServerArgs
    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 SslVpnServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SslVpnServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SslVpnServerArgs
    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 sslVpnServerResource = new Volcengine.Vpn.SslVpnServer("sslVpnServerResource", new()
    {
        ClientIpPool = "string",
        LocalSubnets = new[]
        {
            "string",
        },
        VpnGatewayId = "string",
        Auth = "string",
        Cipher = "string",
        Compress = false,
        Description = "string",
        Protocol = "string",
        SslVpnServerName = "string",
    });
    
    example, err := vpn.NewSslVpnServer(ctx, "sslVpnServerResource", &vpn.SslVpnServerArgs{
    	ClientIpPool: pulumi.String("string"),
    	LocalSubnets: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	VpnGatewayId:     pulumi.String("string"),
    	Auth:             pulumi.String("string"),
    	Cipher:           pulumi.String("string"),
    	Compress:         pulumi.Bool(false),
    	Description:      pulumi.String("string"),
    	Protocol:         pulumi.String("string"),
    	SslVpnServerName: pulumi.String("string"),
    })
    
    var sslVpnServerResource = new SslVpnServer("sslVpnServerResource", SslVpnServerArgs.builder()
        .clientIpPool("string")
        .localSubnets("string")
        .vpnGatewayId("string")
        .auth("string")
        .cipher("string")
        .compress(false)
        .description("string")
        .protocol("string")
        .sslVpnServerName("string")
        .build());
    
    ssl_vpn_server_resource = volcengine.vpn.SslVpnServer("sslVpnServerResource",
        client_ip_pool="string",
        local_subnets=["string"],
        vpn_gateway_id="string",
        auth="string",
        cipher="string",
        compress=False,
        description="string",
        protocol="string",
        ssl_vpn_server_name="string")
    
    const sslVpnServerResource = new volcengine.vpn.SslVpnServer("sslVpnServerResource", {
        clientIpPool: "string",
        localSubnets: ["string"],
        vpnGatewayId: "string",
        auth: "string",
        cipher: "string",
        compress: false,
        description: "string",
        protocol: "string",
        sslVpnServerName: "string",
    });
    
    type: volcengine:vpn:SslVpnServer
    properties:
        auth: string
        cipher: string
        clientIpPool: string
        compress: false
        description: string
        localSubnets:
            - string
        protocol: string
        sslVpnServerName: string
        vpnGatewayId: string
    

    SslVpnServer Resource Properties

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

    Inputs

    The SslVpnServer resource accepts the following input properties:

    ClientIpPool string
    SSL client network segment.
    LocalSubnets List<string>
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    VpnGatewayId string
    The vpn gateway id.
    Auth string
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    Cipher string
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    Compress bool
    Whether to compress the transmitted data. The default value is false.
    Description string
    The description of the ssl server.
    Protocol string
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    SslVpnServerName string
    The name of the SSL server.
    ClientIpPool string
    SSL client network segment.
    LocalSubnets []string
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    VpnGatewayId string
    The vpn gateway id.
    Auth string
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    Cipher string
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    Compress bool
    Whether to compress the transmitted data. The default value is false.
    Description string
    The description of the ssl server.
    Protocol string
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    SslVpnServerName string
    The name of the SSL server.
    clientIpPool String
    SSL client network segment.
    localSubnets List<String>
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    vpnGatewayId String
    The vpn gateway id.
    auth String
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    cipher String
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    compress Boolean
    Whether to compress the transmitted data. The default value is false.
    description String
    The description of the ssl server.
    protocol String
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    sslVpnServerName String
    The name of the SSL server.
    clientIpPool string
    SSL client network segment.
    localSubnets string[]
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    vpnGatewayId string
    The vpn gateway id.
    auth string
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    cipher string
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    compress boolean
    Whether to compress the transmitted data. The default value is false.
    description string
    The description of the ssl server.
    protocol string
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    sslVpnServerName string
    The name of the SSL server.
    client_ip_pool str
    SSL client network segment.
    local_subnets Sequence[str]
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    vpn_gateway_id str
    The vpn gateway id.
    auth str
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    cipher str
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    compress bool
    Whether to compress the transmitted data. The default value is false.
    description str
    The description of the ssl server.
    protocol str
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    ssl_vpn_server_name str
    The name of the SSL server.
    clientIpPool String
    SSL client network segment.
    localSubnets List<String>
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    vpnGatewayId String
    The vpn gateway id.
    auth String
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    cipher String
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    compress Boolean
    Whether to compress the transmitted data. The default value is false.
    description String
    The description of the ssl server.
    protocol String
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    sslVpnServerName String
    The name of the SSL server.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    SslVpnServerId string
    The id of the ssl vpn server.
    Id string
    The provider-assigned unique ID for this managed resource.
    SslVpnServerId string
    The id of the ssl vpn server.
    id String
    The provider-assigned unique ID for this managed resource.
    sslVpnServerId String
    The id of the ssl vpn server.
    id string
    The provider-assigned unique ID for this managed resource.
    sslVpnServerId string
    The id of the ssl vpn server.
    id str
    The provider-assigned unique ID for this managed resource.
    ssl_vpn_server_id str
    The id of the ssl vpn server.
    id String
    The provider-assigned unique ID for this managed resource.
    sslVpnServerId String
    The id of the ssl vpn server.

    Look up Existing SslVpnServer Resource

    Get an existing SslVpnServer 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?: SslVpnServerState, opts?: CustomResourceOptions): SslVpnServer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth: Optional[str] = None,
            cipher: Optional[str] = None,
            client_ip_pool: Optional[str] = None,
            compress: Optional[bool] = None,
            description: Optional[str] = None,
            local_subnets: Optional[Sequence[str]] = None,
            protocol: Optional[str] = None,
            ssl_vpn_server_id: Optional[str] = None,
            ssl_vpn_server_name: Optional[str] = None,
            vpn_gateway_id: Optional[str] = None) -> SslVpnServer
    func GetSslVpnServer(ctx *Context, name string, id IDInput, state *SslVpnServerState, opts ...ResourceOption) (*SslVpnServer, error)
    public static SslVpnServer Get(string name, Input<string> id, SslVpnServerState? state, CustomResourceOptions? opts = null)
    public static SslVpnServer get(String name, Output<String> id, SslVpnServerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Auth string
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    Cipher string
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    ClientIpPool string
    SSL client network segment.
    Compress bool
    Whether to compress the transmitted data. The default value is false.
    Description string
    The description of the ssl server.
    LocalSubnets List<string>
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    Protocol string
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    SslVpnServerId string
    The id of the ssl vpn server.
    SslVpnServerName string
    The name of the SSL server.
    VpnGatewayId string
    The vpn gateway id.
    Auth string
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    Cipher string
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    ClientIpPool string
    SSL client network segment.
    Compress bool
    Whether to compress the transmitted data. The default value is false.
    Description string
    The description of the ssl server.
    LocalSubnets []string
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    Protocol string
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    SslVpnServerId string
    The id of the ssl vpn server.
    SslVpnServerName string
    The name of the SSL server.
    VpnGatewayId string
    The vpn gateway id.
    auth String
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    cipher String
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    clientIpPool String
    SSL client network segment.
    compress Boolean
    Whether to compress the transmitted data. The default value is false.
    description String
    The description of the ssl server.
    localSubnets List<String>
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    protocol String
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    sslVpnServerId String
    The id of the ssl vpn server.
    sslVpnServerName String
    The name of the SSL server.
    vpnGatewayId String
    The vpn gateway id.
    auth string
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    cipher string
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    clientIpPool string
    SSL client network segment.
    compress boolean
    Whether to compress the transmitted data. The default value is false.
    description string
    The description of the ssl server.
    localSubnets string[]
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    protocol string
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    sslVpnServerId string
    The id of the ssl vpn server.
    sslVpnServerName string
    The name of the SSL server.
    vpnGatewayId string
    The vpn gateway id.
    auth str
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    cipher str
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    client_ip_pool str
    SSL client network segment.
    compress bool
    Whether to compress the transmitted data. The default value is false.
    description str
    The description of the ssl server.
    local_subnets Sequence[str]
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    protocol str
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    ssl_vpn_server_id str
    The id of the ssl vpn server.
    ssl_vpn_server_name str
    The name of the SSL server.
    vpn_gateway_id str
    The vpn gateway id.
    auth String
    The authentication algorithm of the SSL server. Values: SHA1 (default) MD5 None (do not use encryption).
    cipher String
    The encryption algorithm of the SSL server. Values: AES-128-CBC (default) AES-192-CBC AES-256-CBC None (do not use encryption).
    clientIpPool String
    SSL client network segment.
    compress Boolean
    Whether to compress the transmitted data. The default value is false.
    description String
    The description of the ssl server.
    localSubnets List<String>
    The local network segment of the SSL server. The local network segment is the address segment that the client accesses through the SSL VPN connection.
    protocol String
    The protocol used by the SSL server. Valid values are TCP, UDP. Default Value: UDP.
    sslVpnServerId String
    The id of the ssl vpn server.
    sslVpnServerName String
    The name of the SSL server.
    vpnGatewayId String
    The vpn gateway id.

    Import

    SSL VPN server can be imported using the id, e.g.

     $ pulumi import volcengine:vpn/sslVpnServer:SslVpnServer default vss-zm55pqtvk17oq32zd****
    

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

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine