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.
- Name
Regex string A regex string of SSL-VPN server name.
- Output
File string Save the result to the file.
- Vpn
Gateway stringId Use the VPN gateway ID as the search key.
- Ids []string
IDs of the SSL-VPN servers.
- Name
Regex string A regex string of SSL-VPN server name.
- Output
File string Save the result to the file.
- Vpn
Gateway stringId Use the VPN gateway ID as the search key.
- ids string[]
IDs of the SSL-VPN servers.
- name
Regex string A regex string of SSL-VPN server name.
- output
File string Save the result to the file.
- vpn
Gateway stringId 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_ strid 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.
Ali Cloud. Vpc. Outputs. Get Ssl Vpn Servers Server> A list of SSL-VPN servers. Each element contains the following attributes:
- Name
Regex string - Output
File string - Vpn
Gateway stringId 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
[]Get
Ssl Vpn Servers Server A list of SSL-VPN servers. Each element contains the following attributes:
- Name
Regex string - Output
File string - Vpn
Gateway stringId 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
Get
Ssl Vpn Servers Server[] A list of SSL-VPN servers. Each element contains the following attributes:
- name
Regex string - output
File string - vpn
Gateway stringId 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[Get
Ssl Vpn Servers Server] A list of SSL-VPN servers. Each element contains the following attributes:
- name_
regex str - output_
file str - vpn_
gateway_ strid 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.
- Client
Ip stringPool The IP address pool of the client.
- Compress bool
Whether to compress.
- Connections int
The number of current connections.
- Create
Time string The time of creation.
- Id string
The ID of the SSL-VPN server.
- Internet
Ip string The public IP.
- Local
Subnet string The local subnet of the VPN connection.
- Max
Connections 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.
- Vpn
Gateway stringId Use the VPN gateway ID as the search key.
- Cipher string
The encryption algorithm used.
- Client
Ip stringPool The IP address pool of the client.
- Compress bool
Whether to compress.
- Connections int
The number of current connections.
- Create
Time string The time of creation.
- Id string
The ID of the SSL-VPN server.
- Internet
Ip string The public IP.
- Local
Subnet string The local subnet of the VPN connection.
- Max
Connections 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.
- Vpn
Gateway stringId Use the VPN gateway ID as the search key.
- cipher string
The encryption algorithm used.
- client
Ip stringPool The IP address pool of the client.
- compress boolean
Whether to compress.
- connections number
The number of current connections.
- create
Time string The time of creation.
- id string
The ID of the SSL-VPN server.
- internet
Ip string The public IP.
- local
Subnet string The local subnet of the VPN connection.
- max
Connections 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.
- vpn
Gateway stringId Use the VPN gateway ID as the search key.
- cipher str
The encryption algorithm used.
- client_
ip_ strpool 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_ strid 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
alicloudTerraform Provider.