GetSslVpnClientCerts
The SSL-VPN client certificates data source lists lots of SSL-VPN client certificates 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.GetSslVpnClientCerts.InvokeAsync(new AliCloud.Vpc.GetSslVpnClientCertsArgs
{
Ids =
{
"fake-cert-id",
},
NameRegex = "^foo",
OutputFile = "/tmp/clientcert",
SslVpnServerId = "fake-server-id",
}));
}
}
Coming soon!
import pulumi
import pulumi_alicloud as alicloud
foo = alicloud.vpc.get_ssl_vpn_client_certs(ids=["fake-cert-id"],
name_regex="^foo",
output_file="/tmp/clientcert",
ssl_vpn_server_id="fake-server-id")import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const foo = pulumi.output(alicloud.vpc.getSslVpnClientCerts({
ids: ["fake-cert-id"],
nameRegex: "^foo",
outputFile: "/tmp/clientcert",
sslVpnServerId: "fake-server-id",
}, { async: true }));Using GetSslVpnClientCerts
function getSslVpnClientCerts(args: GetSslVpnClientCertsArgs, opts?: InvokeOptions): Promise<GetSslVpnClientCertsResult>function get_ssl_vpn_client_certs(ids=None, name_regex=None, output_file=None, ssl_vpn_server_id=None, opts=None)func GetSslVpnClientCerts(ctx *Context, args *GetSslVpnClientCertsArgs, opts ...InvokeOption) (*GetSslVpnClientCertsResult, error)public static class GetSslVpnClientCerts {
public static Task<GetSslVpnClientCertsResult> InvokeAsync(GetSslVpnClientCertsArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Ids List<string>
IDs of the SSL-VPN client certificates.
- Name
Regex string A regex string of SSL-VPN client certificate name.
- Output
File string Save the result to the file.
- Ssl
Vpn stringServer Id Use the SSL-VPN server ID as the search key.
- Ids []string
IDs of the SSL-VPN client certificates.
- Name
Regex string A regex string of SSL-VPN client certificate name.
- Output
File string Save the result to the file.
- Ssl
Vpn stringServer Id Use the SSL-VPN server ID as the search key.
- ids string[]
IDs of the SSL-VPN client certificates.
- name
Regex string A regex string of SSL-VPN client certificate name.
- output
File string Save the result to the file.
- ssl
Vpn stringServer Id Use the SSL-VPN server ID as the search key.
- ids List[str]
IDs of the SSL-VPN client certificates.
- name_
regex str A regex string of SSL-VPN client certificate name.
- output_
file str Save the result to the file.
- ssl_
vpn_ strserver_ id Use the SSL-VPN server ID as the search key.
GetSslVpnClientCerts Result
The following output properties are available:
- Certs
List<Pulumi.
Ali Cloud. Vpc. Outputs. Get Ssl Vpn Client Certs Cert> - Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
A list of SSL-VPN client cert IDs.
- Names List<string>
A list of SSL-VPN client cert names.
- Name
Regex string - Output
File string - Ssl
Vpn stringServer Id ID of the SSL-VPN Server.
- Certs
[]Get
Ssl Vpn Client Certs Cert - Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
A list of SSL-VPN client cert IDs.
- Names []string
A list of SSL-VPN client cert names.
- Name
Regex string - Output
File string - Ssl
Vpn stringServer Id ID of the SSL-VPN Server.
- certs
Get
Ssl Vpn Client Certs Cert[] - id string
The provider-assigned unique ID for this managed resource.
- ids string[]
A list of SSL-VPN client cert IDs.
- names string[]
A list of SSL-VPN client cert names.
- name
Regex string - output
File string - ssl
Vpn stringServer Id ID of the SSL-VPN Server.
- certs
List[Get
Ssl Vpn Client Certs Cert] - id str
The provider-assigned unique ID for this managed resource.
- ids List[str]
A list of SSL-VPN client cert IDs.
- names List[str]
A list of SSL-VPN client cert names.
- name_
regex str - output_
file str - ssl_
vpn_ strserver_ id ID of the SSL-VPN Server.
Supporting Types
GetSslVpnClientCertsCert
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Create
Time string The time of creation.
- End
Time int The expiration time of the client certificate.
- Id string
ID of the SSL-VPN client certificate.
- Name string
The name of the SSL-VPN client certificate.
- Ssl
Vpn stringServer Id Use the SSL-VPN server ID as the search key.
- Status string
The status of the client certificate. valid value:expiring-soon, normal, expired.
- Create
Time string The time of creation.
- End
Time int The expiration time of the client certificate.
- Id string
ID of the SSL-VPN client certificate.
- Name string
The name of the SSL-VPN client certificate.
- Ssl
Vpn stringServer Id Use the SSL-VPN server ID as the search key.
- Status string
The status of the client certificate. valid value:expiring-soon, normal, expired.
- create
Time string The time of creation.
- end
Time number The expiration time of the client certificate.
- id string
ID of the SSL-VPN client certificate.
- name string
The name of the SSL-VPN client certificate.
- ssl
Vpn stringServer Id Use the SSL-VPN server ID as the search key.
- status string
The status of the client certificate. valid value:expiring-soon, normal, expired.
- create_
time str The time of creation.
- end_
time float The expiration time of the client certificate.
- id str
ID of the SSL-VPN client certificate.
- name str
The name of the SSL-VPN client certificate.
- ssl_
vpn_ strserver_ id Use the SSL-VPN server ID as the search key.
- status str
The status of the client certificate. valid value:expiring-soon, normal, expired.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.