published on Wednesday, Mar 25, 2026 by tencentcloudstack
published on Wednesday, Mar 25, 2026 by tencentcloudstack
Provide a resource to create a VPN SSL Server.
Example Usage
Basic Configuration
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpnSslServer("example", {
localAddresses: ["10.0.200.0/24"],
remoteAddress: "192.168.100.0/24",
sslVpnServerName: "helloworld",
vpnGatewayId: "vpngw-6lq9ayur",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpnSslServer("example",
local_addresses=["10.0.200.0/24"],
remote_address="192.168.100.0/24",
ssl_vpn_server_name="helloworld",
vpn_gateway_id="vpngw-6lq9ayur")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewVpnSslServer(ctx, "example", &tencentcloud.VpnSslServerArgs{
LocalAddresses: pulumi.StringArray{
pulumi.String("10.0.200.0/24"),
},
RemoteAddress: pulumi.String("192.168.100.0/24"),
SslVpnServerName: pulumi.String("helloworld"),
VpnGatewayId: pulumi.String("vpngw-6lq9ayur"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpnSslServer("example", new()
{
LocalAddresses = new[]
{
"10.0.200.0/24",
},
RemoteAddress = "192.168.100.0/24",
SslVpnServerName = "helloworld",
VpnGatewayId = "vpngw-6lq9ayur",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpnSslServer;
import com.pulumi.tencentcloud.VpnSslServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VpnSslServer("example", VpnSslServerArgs.builder()
.localAddresses("10.0.200.0/24")
.remoteAddress("192.168.100.0/24")
.sslVpnServerName("helloworld")
.vpnGatewayId("vpngw-6lq9ayur")
.build());
}
}
resources:
example:
type: tencentcloud:VpnSslServer
properties:
localAddresses:
- 10.0.200.0/24
remoteAddress: 192.168.100.0/24
sslVpnServerName: helloworld
vpnGatewayId: vpngw-6lq9ayur
With Tags and DNS Configuration
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpnSslServer("example", {
localAddresses: ["10.0.200.0/24"],
remoteAddress: "192.168.100.0/24",
sslVpnServerName: "helloworld",
vpnGatewayId: "vpngw-6lq9ayur",
tags: {
Environment: "production",
Owner: "team-a",
},
dnsServers: {
primaryDns: "8.8.8.8",
secondaryDns: "8.8.4.4",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpnSslServer("example",
local_addresses=["10.0.200.0/24"],
remote_address="192.168.100.0/24",
ssl_vpn_server_name="helloworld",
vpn_gateway_id="vpngw-6lq9ayur",
tags={
"Environment": "production",
"Owner": "team-a",
},
dns_servers={
"primary_dns": "8.8.8.8",
"secondary_dns": "8.8.4.4",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewVpnSslServer(ctx, "example", &tencentcloud.VpnSslServerArgs{
LocalAddresses: pulumi.StringArray{
pulumi.String("10.0.200.0/24"),
},
RemoteAddress: pulumi.String("192.168.100.0/24"),
SslVpnServerName: pulumi.String("helloworld"),
VpnGatewayId: pulumi.String("vpngw-6lq9ayur"),
Tags: pulumi.StringMap{
"Environment": pulumi.String("production"),
"Owner": pulumi.String("team-a"),
},
DnsServers: &tencentcloud.VpnSslServerDnsServersArgs{
PrimaryDns: pulumi.String("8.8.8.8"),
SecondaryDns: pulumi.String("8.8.4.4"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpnSslServer("example", new()
{
LocalAddresses = new[]
{
"10.0.200.0/24",
},
RemoteAddress = "192.168.100.0/24",
SslVpnServerName = "helloworld",
VpnGatewayId = "vpngw-6lq9ayur",
Tags =
{
{ "Environment", "production" },
{ "Owner", "team-a" },
},
DnsServers = new Tencentcloud.Inputs.VpnSslServerDnsServersArgs
{
PrimaryDns = "8.8.8.8",
SecondaryDns = "8.8.4.4",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpnSslServer;
import com.pulumi.tencentcloud.VpnSslServerArgs;
import com.pulumi.tencentcloud.inputs.VpnSslServerDnsServersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VpnSslServer("example", VpnSslServerArgs.builder()
.localAddresses("10.0.200.0/24")
.remoteAddress("192.168.100.0/24")
.sslVpnServerName("helloworld")
.vpnGatewayId("vpngw-6lq9ayur")
.tags(Map.ofEntries(
Map.entry("Environment", "production"),
Map.entry("Owner", "team-a")
))
.dnsServers(VpnSslServerDnsServersArgs.builder()
.primaryDns("8.8.8.8")
.secondaryDns("8.8.4.4")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:VpnSslServer
properties:
localAddresses:
- 10.0.200.0/24
remoteAddress: 192.168.100.0/24
sslVpnServerName: helloworld
vpnGatewayId: vpngw-6lq9ayur
tags:
Environment: production
Owner: team-a
dnsServers:
primaryDns: 8.8.8.8
secondaryDns: 8.8.4.4
With SSO Authentication (Requires Whitelist)
Note: SSO authentication feature requires whitelist approval from TencentCloud. Please contact TencentCloud support to apply for whitelist access before enabling this feature.
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpnSslServer("example", {
localAddresses: ["10.0.200.0/24"],
remoteAddress: "192.168.100.0/24",
sslVpnServerName: "helloworld",
vpnGatewayId: "vpngw-6lq9ayur",
ssoEnabled: true,
samlData: "<SAML configuration data>",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpnSslServer("example",
local_addresses=["10.0.200.0/24"],
remote_address="192.168.100.0/24",
ssl_vpn_server_name="helloworld",
vpn_gateway_id="vpngw-6lq9ayur",
sso_enabled=True,
saml_data="<SAML configuration data>")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewVpnSslServer(ctx, "example", &tencentcloud.VpnSslServerArgs{
LocalAddresses: pulumi.StringArray{
pulumi.String("10.0.200.0/24"),
},
RemoteAddress: pulumi.String("192.168.100.0/24"),
SslVpnServerName: pulumi.String("helloworld"),
VpnGatewayId: pulumi.String("vpngw-6lq9ayur"),
SsoEnabled: pulumi.Bool(true),
SamlData: pulumi.String("<SAML configuration data>"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpnSslServer("example", new()
{
LocalAddresses = new[]
{
"10.0.200.0/24",
},
RemoteAddress = "192.168.100.0/24",
SslVpnServerName = "helloworld",
VpnGatewayId = "vpngw-6lq9ayur",
SsoEnabled = true,
SamlData = "<SAML configuration data>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpnSslServer;
import com.pulumi.tencentcloud.VpnSslServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VpnSslServer("example", VpnSslServerArgs.builder()
.localAddresses("10.0.200.0/24")
.remoteAddress("192.168.100.0/24")
.sslVpnServerName("helloworld")
.vpnGatewayId("vpngw-6lq9ayur")
.ssoEnabled(true)
.samlData("<SAML configuration data>")
.build());
}
}
resources:
example:
type: tencentcloud:VpnSslServer
properties:
localAddresses:
- 10.0.200.0/24
remoteAddress: 192.168.100.0/24
sslVpnServerName: helloworld
vpnGatewayId: vpngw-6lq9ayur
ssoEnabled: true
samlData: <SAML configuration data>
parameter only controls the feature switch. Detailed access policies must be configured through the TencentCloud console or other resources.
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VpnSslServer("example", {
localAddresses: ["10.0.200.0/24"],
remoteAddress: "192.168.100.0/24",
sslVpnServerName: "helloworld",
vpnGatewayId: "vpngw-6lq9ayur",
accessPolicyEnabled: true,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VpnSslServer("example",
local_addresses=["10.0.200.0/24"],
remote_address="192.168.100.0/24",
ssl_vpn_server_name="helloworld",
vpn_gateway_id="vpngw-6lq9ayur",
access_policy_enabled=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewVpnSslServer(ctx, "example", &tencentcloud.VpnSslServerArgs{
LocalAddresses: pulumi.StringArray{
pulumi.String("10.0.200.0/24"),
},
RemoteAddress: pulumi.String("192.168.100.0/24"),
SslVpnServerName: pulumi.String("helloworld"),
VpnGatewayId: pulumi.String("vpngw-6lq9ayur"),
AccessPolicyEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.VpnSslServer("example", new()
{
LocalAddresses = new[]
{
"10.0.200.0/24",
},
RemoteAddress = "192.168.100.0/24",
SslVpnServerName = "helloworld",
VpnGatewayId = "vpngw-6lq9ayur",
AccessPolicyEnabled = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VpnSslServer;
import com.pulumi.tencentcloud.VpnSslServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VpnSslServer("example", VpnSslServerArgs.builder()
.localAddresses("10.0.200.0/24")
.remoteAddress("192.168.100.0/24")
.sslVpnServerName("helloworld")
.vpnGatewayId("vpngw-6lq9ayur")
.accessPolicyEnabled(true)
.build());
}
}
resources:
example:
type: tencentcloud:VpnSslServer
properties:
localAddresses:
- 10.0.200.0/24
remoteAddress: 192.168.100.0/24
sslVpnServerName: helloworld
vpnGatewayId: vpngw-6lq9ayur
accessPolicyEnabled: true
Create VpnSslServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpnSslServer(name: string, args: VpnSslServerArgs, opts?: CustomResourceOptions);@overload
def VpnSslServer(resource_name: str,
args: VpnSslServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpnSslServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_addresses: Optional[Sequence[str]] = None,
vpn_gateway_id: Optional[str] = None,
ssl_vpn_server_name: Optional[str] = None,
remote_address: Optional[str] = None,
encrypt_algorithm: Optional[str] = None,
integrity_algorithm: Optional[str] = None,
access_policy_enabled: Optional[bool] = None,
saml_data: Optional[str] = None,
ssl_vpn_port: Optional[float] = None,
ssl_vpn_protocol: Optional[str] = None,
dns_servers: Optional[VpnSslServerDnsServersArgs] = None,
sso_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
compress: Optional[bool] = None,
vpn_ssl_server_id: Optional[str] = None)func NewVpnSslServer(ctx *Context, name string, args VpnSslServerArgs, opts ...ResourceOption) (*VpnSslServer, error)public VpnSslServer(string name, VpnSslServerArgs args, CustomResourceOptions? opts = null)
public VpnSslServer(String name, VpnSslServerArgs args)
public VpnSslServer(String name, VpnSslServerArgs args, CustomResourceOptions options)
type: tencentcloud:VpnSslServer
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 VpnSslServerArgs
- 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 VpnSslServerArgs
- 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 VpnSslServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpnSslServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpnSslServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VpnSslServer 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 VpnSslServer resource accepts the following input properties:
- Local
Addresses List<string> - List of local CIDR.
- Remote
Address string - Remote CIDR for client.
- Ssl
Vpn stringServer Name - The name of ssl vpn server to be created.
- Vpn
Gateway stringId - VPN gateway ID.
- Access
Policy boolEnabled - Enable access policy control. Default: false.
- Compress bool
- Need compressed. Currently is not supports compress. Default value: False.
- Dns
Servers VpnSsl Server Dns Servers - DNS server configuration.
- Encrypt
Algorithm string - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- Integrity
Algorithm string - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- Saml
Data string - SAML-DATA. Required when sso_enabled is true.
- Ssl
Vpn doublePort - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- Ssl
Vpn stringProtocol - The protocol of ssl vpn. Default value: UDP.
- Sso
Enabled bool - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- Dictionary<string, string>
- Tags for resource management.
- Vpn
Ssl stringServer Id - ID of the resource.
- Local
Addresses []string - List of local CIDR.
- Remote
Address string - Remote CIDR for client.
- Ssl
Vpn stringServer Name - The name of ssl vpn server to be created.
- Vpn
Gateway stringId - VPN gateway ID.
- Access
Policy boolEnabled - Enable access policy control. Default: false.
- Compress bool
- Need compressed. Currently is not supports compress. Default value: False.
- Dns
Servers VpnSsl Server Dns Servers Args - DNS server configuration.
- Encrypt
Algorithm string - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- Integrity
Algorithm string - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- Saml
Data string - SAML-DATA. Required when sso_enabled is true.
- Ssl
Vpn float64Port - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- Ssl
Vpn stringProtocol - The protocol of ssl vpn. Default value: UDP.
- Sso
Enabled bool - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- map[string]string
- Tags for resource management.
- Vpn
Ssl stringServer Id - ID of the resource.
- local
Addresses List<String> - List of local CIDR.
- remote
Address String - Remote CIDR for client.
- ssl
Vpn StringServer Name - The name of ssl vpn server to be created.
- vpn
Gateway StringId - VPN gateway ID.
- access
Policy BooleanEnabled - Enable access policy control. Default: false.
- compress Boolean
- Need compressed. Currently is not supports compress. Default value: False.
- dns
Servers VpnSsl Server Dns Servers - DNS server configuration.
- encrypt
Algorithm String - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- integrity
Algorithm String - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- saml
Data String - SAML-DATA. Required when sso_enabled is true.
- ssl
Vpn DoublePort - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- ssl
Vpn StringProtocol - The protocol of ssl vpn. Default value: UDP.
- sso
Enabled Boolean - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- Map<String,String>
- Tags for resource management.
- vpn
Ssl StringServer Id - ID of the resource.
- local
Addresses string[] - List of local CIDR.
- remote
Address string - Remote CIDR for client.
- ssl
Vpn stringServer Name - The name of ssl vpn server to be created.
- vpn
Gateway stringId - VPN gateway ID.
- access
Policy booleanEnabled - Enable access policy control. Default: false.
- compress boolean
- Need compressed. Currently is not supports compress. Default value: False.
- dns
Servers VpnSsl Server Dns Servers - DNS server configuration.
- encrypt
Algorithm string - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- integrity
Algorithm string - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- saml
Data string - SAML-DATA. Required when sso_enabled is true.
- ssl
Vpn numberPort - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- ssl
Vpn stringProtocol - The protocol of ssl vpn. Default value: UDP.
- sso
Enabled boolean - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- {[key: string]: string}
- Tags for resource management.
- vpn
Ssl stringServer Id - ID of the resource.
- local_
addresses Sequence[str] - List of local CIDR.
- remote_
address str - Remote CIDR for client.
- ssl_
vpn_ strserver_ name - The name of ssl vpn server to be created.
- vpn_
gateway_ strid - VPN gateway ID.
- access_
policy_ boolenabled - Enable access policy control. Default: false.
- compress bool
- Need compressed. Currently is not supports compress. Default value: False.
- dns_
servers VpnSsl Server Dns Servers Args - DNS server configuration.
- encrypt_
algorithm str - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- integrity_
algorithm str - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- saml_
data str - SAML-DATA. Required when sso_enabled is true.
- ssl_
vpn_ floatport - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- ssl_
vpn_ strprotocol - The protocol of ssl vpn. Default value: UDP.
- sso_
enabled bool - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- Mapping[str, str]
- Tags for resource management.
- vpn_
ssl_ strserver_ id - ID of the resource.
- local
Addresses List<String> - List of local CIDR.
- remote
Address String - Remote CIDR for client.
- ssl
Vpn StringServer Name - The name of ssl vpn server to be created.
- vpn
Gateway StringId - VPN gateway ID.
- access
Policy BooleanEnabled - Enable access policy control. Default: false.
- compress Boolean
- Need compressed. Currently is not supports compress. Default value: False.
- dns
Servers Property Map - DNS server configuration.
- encrypt
Algorithm String - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- integrity
Algorithm String - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- saml
Data String - SAML-DATA. Required when sso_enabled is true.
- ssl
Vpn NumberPort - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- ssl
Vpn StringProtocol - The protocol of ssl vpn. Default value: UDP.
- sso
Enabled Boolean - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- Map<String>
- Tags for resource management.
- vpn
Ssl StringServer Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpnSslServer resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VpnSslServer Resource
Get an existing VpnSslServer 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?: VpnSslServerState, opts?: CustomResourceOptions): VpnSslServer@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_policy_enabled: Optional[bool] = None,
compress: Optional[bool] = None,
dns_servers: Optional[VpnSslServerDnsServersArgs] = None,
encrypt_algorithm: Optional[str] = None,
integrity_algorithm: Optional[str] = None,
local_addresses: Optional[Sequence[str]] = None,
remote_address: Optional[str] = None,
saml_data: Optional[str] = None,
ssl_vpn_port: Optional[float] = None,
ssl_vpn_protocol: Optional[str] = None,
ssl_vpn_server_name: Optional[str] = None,
sso_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
vpn_gateway_id: Optional[str] = None,
vpn_ssl_server_id: Optional[str] = None) -> VpnSslServerfunc GetVpnSslServer(ctx *Context, name string, id IDInput, state *VpnSslServerState, opts ...ResourceOption) (*VpnSslServer, error)public static VpnSslServer Get(string name, Input<string> id, VpnSslServerState? state, CustomResourceOptions? opts = null)public static VpnSslServer get(String name, Output<String> id, VpnSslServerState state, CustomResourceOptions options)resources: _: type: tencentcloud:VpnSslServer 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.
- Access
Policy boolEnabled - Enable access policy control. Default: false.
- Compress bool
- Need compressed. Currently is not supports compress. Default value: False.
- Dns
Servers VpnSsl Server Dns Servers - DNS server configuration.
- Encrypt
Algorithm string - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- Integrity
Algorithm string - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- Local
Addresses List<string> - List of local CIDR.
- Remote
Address string - Remote CIDR for client.
- Saml
Data string - SAML-DATA. Required when sso_enabled is true.
- Ssl
Vpn doublePort - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- Ssl
Vpn stringProtocol - The protocol of ssl vpn. Default value: UDP.
- Ssl
Vpn stringServer Name - The name of ssl vpn server to be created.
- Sso
Enabled bool - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- Dictionary<string, string>
- Tags for resource management.
- Vpn
Gateway stringId - VPN gateway ID.
- Vpn
Ssl stringServer Id - ID of the resource.
- Access
Policy boolEnabled - Enable access policy control. Default: false.
- Compress bool
- Need compressed. Currently is not supports compress. Default value: False.
- Dns
Servers VpnSsl Server Dns Servers Args - DNS server configuration.
- Encrypt
Algorithm string - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- Integrity
Algorithm string - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- Local
Addresses []string - List of local CIDR.
- Remote
Address string - Remote CIDR for client.
- Saml
Data string - SAML-DATA. Required when sso_enabled is true.
- Ssl
Vpn float64Port - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- Ssl
Vpn stringProtocol - The protocol of ssl vpn. Default value: UDP.
- Ssl
Vpn stringServer Name - The name of ssl vpn server to be created.
- Sso
Enabled bool - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- map[string]string
- Tags for resource management.
- Vpn
Gateway stringId - VPN gateway ID.
- Vpn
Ssl stringServer Id - ID of the resource.
- access
Policy BooleanEnabled - Enable access policy control. Default: false.
- compress Boolean
- Need compressed. Currently is not supports compress. Default value: False.
- dns
Servers VpnSsl Server Dns Servers - DNS server configuration.
- encrypt
Algorithm String - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- integrity
Algorithm String - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- local
Addresses List<String> - List of local CIDR.
- remote
Address String - Remote CIDR for client.
- saml
Data String - SAML-DATA. Required when sso_enabled is true.
- ssl
Vpn DoublePort - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- ssl
Vpn StringProtocol - The protocol of ssl vpn. Default value: UDP.
- ssl
Vpn StringServer Name - The name of ssl vpn server to be created.
- sso
Enabled Boolean - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- Map<String,String>
- Tags for resource management.
- vpn
Gateway StringId - VPN gateway ID.
- vpn
Ssl StringServer Id - ID of the resource.
- access
Policy booleanEnabled - Enable access policy control. Default: false.
- compress boolean
- Need compressed. Currently is not supports compress. Default value: False.
- dns
Servers VpnSsl Server Dns Servers - DNS server configuration.
- encrypt
Algorithm string - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- integrity
Algorithm string - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- local
Addresses string[] - List of local CIDR.
- remote
Address string - Remote CIDR for client.
- saml
Data string - SAML-DATA. Required when sso_enabled is true.
- ssl
Vpn numberPort - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- ssl
Vpn stringProtocol - The protocol of ssl vpn. Default value: UDP.
- ssl
Vpn stringServer Name - The name of ssl vpn server to be created.
- sso
Enabled boolean - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- {[key: string]: string}
- Tags for resource management.
- vpn
Gateway stringId - VPN gateway ID.
- vpn
Ssl stringServer Id - ID of the resource.
- access_
policy_ boolenabled - Enable access policy control. Default: false.
- compress bool
- Need compressed. Currently is not supports compress. Default value: False.
- dns_
servers VpnSsl Server Dns Servers Args - DNS server configuration.
- encrypt_
algorithm str - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- integrity_
algorithm str - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- local_
addresses Sequence[str] - List of local CIDR.
- remote_
address str - Remote CIDR for client.
- saml_
data str - SAML-DATA. Required when sso_enabled is true.
- ssl_
vpn_ floatport - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- ssl_
vpn_ strprotocol - The protocol of ssl vpn. Default value: UDP.
- ssl_
vpn_ strserver_ name - The name of ssl vpn server to be created.
- sso_
enabled bool - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- Mapping[str, str]
- Tags for resource management.
- vpn_
gateway_ strid - VPN gateway ID.
- vpn_
ssl_ strserver_ id - ID of the resource.
- access
Policy BooleanEnabled - Enable access policy control. Default: false.
- compress Boolean
- Need compressed. Currently is not supports compress. Default value: False.
- dns
Servers Property Map - DNS server configuration.
- encrypt
Algorithm String - The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC.Default value: AES-128-CBC.
- integrity
Algorithm String - The integrity algorithm. Valid values: SHA1. Default value: SHA1.
- local
Addresses List<String> - List of local CIDR.
- remote
Address String - Remote CIDR for client.
- saml
Data String - SAML-DATA. Required when sso_enabled is true.
- ssl
Vpn NumberPort - The port of ssl vpn. Currently only supports UDP. Default value: 1194.
- ssl
Vpn StringProtocol - The protocol of ssl vpn. Default value: UDP.
- ssl
Vpn StringServer Name - The name of ssl vpn server to be created.
- sso
Enabled Boolean - Enable SSO authentication. Default: false. This feature requires whitelist approval.
- Map<String>
- Tags for resource management.
- vpn
Gateway StringId - VPN gateway ID.
- vpn
Ssl StringServer Id - ID of the resource.
Supporting Types
VpnSslServerDnsServers, VpnSslServerDnsServersArgs
- Primary
Dns string - Primary DNS server address.
- Secondary
Dns string - Secondary DNS server address.
- Primary
Dns string - Primary DNS server address.
- Secondary
Dns string - Secondary DNS server address.
- primary
Dns String - Primary DNS server address.
- secondary
Dns String - Secondary DNS server address.
- primary
Dns string - Primary DNS server address.
- secondary
Dns string - Secondary DNS server address.
- primary_
dns str - Primary DNS server address.
- secondary_
dns str - Secondary DNS server address.
- primary
Dns String - Primary DNS server address.
- secondary
Dns String - Secondary DNS server address.
Import
VPN SSL Server can be imported, e.g.
$ pulumi import tencentcloud:index/vpnSslServer:VpnSslServer example vpns-cik6bjct
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
published on Wednesday, Mar 25, 2026 by tencentcloudstack
