» alicloud_ssl_vpn_servers

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

» Example Usage

data "alicloud_ssl_vpn_servers" "foo" {
  ids            = ["fake-server-id"]
  vpn_gateway_id = "fake-vpn-id"
  output_file    = "/tmp/sslserver"
  name_regex     = "^foo"
}

» Argument Reference

The following arguments are supported:

  • ids - (Optional) IDs of the SSL-VPN servers.
  • vpn_gateway_id - (Optional) Use the VPN gateway ID as the search key.
  • name_regex - (Optional) A regex string of SSL-VPN server name.
  • output_file - (Optional) Save the result to the file.

» Attributes Reference

The following attributes are exported:

  • ids - A list of SSL-VPN server IDs.
  • names - A list of SSL-VPN server names.
  • servers - A list of SSL-VPN servers. Each element contains the following attributes: