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.

NameRegex string

A regex string of SSL-VPN client certificate name.

OutputFile string

Save the result to the file.

SslVpnServerId string

Use the SSL-VPN server ID as the search key.

Ids []string

IDs of the SSL-VPN client certificates.

NameRegex string

A regex string of SSL-VPN client certificate name.

OutputFile string

Save the result to the file.

SslVpnServerId string

Use the SSL-VPN server ID as the search key.

ids string[]

IDs of the SSL-VPN client certificates.

nameRegex string

A regex string of SSL-VPN client certificate name.

outputFile string

Save the result to the file.

sslVpnServerId string

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_server_id str

Use the SSL-VPN server ID as the search key.

GetSslVpnClientCerts Result

The following output properties are available:

Certs List<Pulumi.AliCloud.Vpc.Outputs.GetSslVpnClientCertsCert>
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.

NameRegex string
OutputFile string
SslVpnServerId string

ID of the SSL-VPN Server.

Certs []GetSslVpnClientCertsCert
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.

NameRegex string
OutputFile string
SslVpnServerId string

ID of the SSL-VPN Server.

certs GetSslVpnClientCertsCert[]
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.

nameRegex string
outputFile string
sslVpnServerId string

ID of the SSL-VPN Server.

certs List[GetSslVpnClientCertsCert]
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_server_id str

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.

CreateTime string

The time of creation.

EndTime 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.

SslVpnServerId string

Use the SSL-VPN server ID as the search key.

Status string

The status of the client certificate. valid value:expiring-soon, normal, expired.

CreateTime string

The time of creation.

EndTime 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.

SslVpnServerId string

Use the SSL-VPN server ID as the search key.

Status string

The status of the client certificate. valid value:expiring-soon, normal, expired.

createTime string

The time of creation.

endTime 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.

sslVpnServerId string

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_server_id str

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 alicloud Terraform Provider.