GetSslVpnServers

The SSL-VPN servers data source lists lots of SSL-VPN servers resource information owned by an Alicloud account.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = Output.Create(AliCloud.Vpc.GetSslVpnServers.InvokeAsync(new AliCloud.Vpc.GetSslVpnServersArgs
        {
            Ids = 
            {
                "fake-server-id",
            },
            NameRegex = "^foo",
            OutputFile = "/tmp/sslserver",
            VpnGatewayId = "fake-vpn-id",
        }));
    }

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

foo = alicloud.vpc.get_ssl_vpn_servers(ids=["fake-server-id"],
    name_regex="^foo",
    output_file="/tmp/sslserver",
    vpn_gateway_id="fake-vpn-id")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const foo = pulumi.output(alicloud.vpc.getSslVpnServers({
    ids: ["fake-server-id"],
    nameRegex: "^foo",
    outputFile: "/tmp/sslserver",
    vpnGatewayId: "fake-vpn-id",
}, { async: true }));

Using GetSslVpnServers

function getSslVpnServers(args: GetSslVpnServersArgs, opts?: InvokeOptions): Promise<GetSslVpnServersResult>
function  get_ssl_vpn_servers(ids=None, name_regex=None, output_file=None, vpn_gateway_id=None, opts=None)
func GetSslVpnServers(ctx *Context, args *GetSslVpnServersArgs, opts ...InvokeOption) (*GetSslVpnServersResult, error)
public static class GetSslVpnServers {
    public static Task<GetSslVpnServersResult> InvokeAsync(GetSslVpnServersArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Ids List<string>

IDs of the SSL-VPN servers.

NameRegex string

A regex string of SSL-VPN server name.

OutputFile string

Save the result to the file.

VpnGatewayId string

Use the VPN gateway ID as the search key.

Ids []string

IDs of the SSL-VPN servers.

NameRegex string

A regex string of SSL-VPN server name.

OutputFile string

Save the result to the file.

VpnGatewayId string

Use the VPN gateway ID as the search key.

ids string[]

IDs of the SSL-VPN servers.

nameRegex string

A regex string of SSL-VPN server name.

outputFile string

Save the result to the file.

vpnGatewayId string

Use the VPN gateway ID as the search key.

ids List[str]

IDs of the SSL-VPN servers.

name_regex str

A regex string of SSL-VPN server name.

output_file str

Save the result to the file.

vpn_gateway_id str

Use the VPN gateway ID as the search key.

GetSslVpnServers Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of SSL-VPN server IDs.

Names List<string>

A list of SSL-VPN server names.

Servers List<Pulumi.AliCloud.Vpc.Outputs.GetSslVpnServersServer>

A list of SSL-VPN servers. Each element contains the following attributes:

NameRegex string
OutputFile string
VpnGatewayId string

The ID of the VPN gateway instance.

Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of SSL-VPN server IDs.

Names []string

A list of SSL-VPN server names.

Servers []GetSslVpnServersServer

A list of SSL-VPN servers. Each element contains the following attributes:

NameRegex string
OutputFile string
VpnGatewayId string

The ID of the VPN gateway instance.

id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of SSL-VPN server IDs.

names string[]

A list of SSL-VPN server names.

servers GetSslVpnServersServer[]

A list of SSL-VPN servers. Each element contains the following attributes:

nameRegex string
outputFile string
vpnGatewayId string

The ID of the VPN gateway instance.

id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of SSL-VPN server IDs.

names List[str]

A list of SSL-VPN server names.

servers List[GetSslVpnServersServer]

A list of SSL-VPN servers. Each element contains the following attributes:

name_regex str
output_file str
vpn_gateway_id str

The ID of the VPN gateway instance.

Supporting Types

GetSslVpnServersServer

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Cipher string

The encryption algorithm used.

ClientIpPool string

The IP address pool of the client.

Compress bool

Whether to compress.

Connections int

The number of current connections.

CreateTime string

The time of creation.

Id string

The ID of the SSL-VPN server.

InternetIp string

The public IP.

LocalSubnet string

The local subnet of the VPN connection.

MaxConnections int

The maximum number of connections.

Name string

The name of the SSL-VPN server.

Port int

The port used by the SSL-VPN server.

Proto string

The protocol used by the SSL-VPN server.

VpnGatewayId string

Use the VPN gateway ID as the search key.

Cipher string

The encryption algorithm used.

ClientIpPool string

The IP address pool of the client.

Compress bool

Whether to compress.

Connections int

The number of current connections.

CreateTime string

The time of creation.

Id string

The ID of the SSL-VPN server.

InternetIp string

The public IP.

LocalSubnet string

The local subnet of the VPN connection.

MaxConnections int

The maximum number of connections.

Name string

The name of the SSL-VPN server.

Port int

The port used by the SSL-VPN server.

Proto string

The protocol used by the SSL-VPN server.

VpnGatewayId string

Use the VPN gateway ID as the search key.

cipher string

The encryption algorithm used.

clientIpPool string

The IP address pool of the client.

compress boolean

Whether to compress.

connections number

The number of current connections.

createTime string

The time of creation.

id string

The ID of the SSL-VPN server.

internetIp string

The public IP.

localSubnet string

The local subnet of the VPN connection.

maxConnections number

The maximum number of connections.

name string

The name of the SSL-VPN server.

port number

The port used by the SSL-VPN server.

proto string

The protocol used by the SSL-VPN server.

vpnGatewayId string

Use the VPN gateway ID as the search key.

cipher str

The encryption algorithm used.

client_ip_pool str

The IP address pool of the client.

compress bool

Whether to compress.

connections float

The number of current connections.

create_time str

The time of creation.

id str

The ID of the SSL-VPN server.

internet_ip str

The public IP.

local_subnet str

The local subnet of the VPN connection.

max_connections float

The maximum number of connections.

name str

The name of the SSL-VPN server.

port float

The port used by the SSL-VPN server.

proto str

The protocol used by the SSL-VPN server.

vpn_gateway_id str

Use the VPN gateway ID as the search key.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.