Viewing docs for Alibaba Cloud v3.97.0
published on Saturday, Mar 14, 2026 by Pulumi
published on Saturday, Mar 14, 2026 by Pulumi
Viewing docs for Alibaba Cloud v3.97.0
published on Saturday, Mar 14, 2026 by Pulumi
published on Saturday, Mar 14, 2026 by Pulumi
The SSL-VPN client certificates data source lists lots of SSL-VPN client certificates resource information owned by an Alicloud account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const foo = alicloud.vpc.getSslVpnClientCerts({
ids: ["fake-cert-id"],
sslVpnServerId: "fake-server-id",
outputFile: "/tmp/clientcert",
nameRegex: "^foo",
});
import pulumi
import pulumi_alicloud as alicloud
foo = alicloud.vpc.get_ssl_vpn_client_certs(ids=["fake-cert-id"],
ssl_vpn_server_id="fake-server-id",
output_file="/tmp/clientcert",
name_regex="^foo")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.GetSslVpnClientCerts(ctx, &vpc.GetSslVpnClientCertsArgs{
Ids: []string{
"fake-cert-id",
},
SslVpnServerId: pulumi.StringRef("fake-server-id"),
OutputFile: pulumi.StringRef("/tmp/clientcert"),
NameRegex: pulumi.StringRef("^foo"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var foo = AliCloud.Vpc.GetSslVpnClientCerts.Invoke(new()
{
Ids = new[]
{
"fake-cert-id",
},
SslVpnServerId = "fake-server-id",
OutputFile = "/tmp/clientcert",
NameRegex = "^foo",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetSslVpnClientCertsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = VpcFunctions.getSslVpnClientCerts(GetSslVpnClientCertsArgs.builder()
.ids("fake-cert-id")
.sslVpnServerId("fake-server-id")
.outputFile("/tmp/clientcert")
.nameRegex("^foo")
.build());
}
}
variables:
foo:
fn::invoke:
function: alicloud:vpc:getSslVpnClientCerts
arguments:
ids:
- fake-cert-id
sslVpnServerId: fake-server-id
outputFile: /tmp/clientcert
nameRegex: ^foo
Using getSslVpnClientCerts
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSslVpnClientCerts(args: GetSslVpnClientCertsArgs, opts?: InvokeOptions): Promise<GetSslVpnClientCertsResult>
function getSslVpnClientCertsOutput(args: GetSslVpnClientCertsOutputArgs, opts?: InvokeOptions): Output<GetSslVpnClientCertsResult>def get_ssl_vpn_client_certs(ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
ssl_vpn_server_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSslVpnClientCertsResult
def get_ssl_vpn_client_certs_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
ssl_vpn_server_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSslVpnClientCertsResult]func GetSslVpnClientCerts(ctx *Context, args *GetSslVpnClientCertsArgs, opts ...InvokeOption) (*GetSslVpnClientCertsResult, error)
func GetSslVpnClientCertsOutput(ctx *Context, args *GetSslVpnClientCertsOutputArgs, opts ...InvokeOption) GetSslVpnClientCertsResultOutput> Note: This function is named GetSslVpnClientCerts in the Go SDK.
public static class GetSslVpnClientCerts
{
public static Task<GetSslVpnClientCertsResult> InvokeAsync(GetSslVpnClientCertsArgs args, InvokeOptions? opts = null)
public static Output<GetSslVpnClientCertsResult> Invoke(GetSslVpnClientCertsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSslVpnClientCertsResult> getSslVpnClientCerts(GetSslVpnClientCertsArgs args, InvokeOptions options)
public static Output<GetSslVpnClientCertsResult> getSslVpnClientCerts(GetSslVpnClientCertsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:vpc/getSslVpnClientCerts:getSslVpnClientCerts
arguments:
# arguments dictionaryThe 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 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 Sequence[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.
- 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.
getSslVpnClientCerts Result
The following output properties are available:
- Certs
List<Pulumi.
Ali Cloud. Vpc. Outputs. Get Ssl Vpn Client Certs Cert> - A list of SSL-VPN client certificates. Each element contains the following attributes:
- 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 - A list of SSL-VPN client certificates. Each element contains the following attributes:
- 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> - A list of SSL-VPN client certificates. Each element contains the following attributes:
- 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[] - A list of SSL-VPN client certificates. Each element contains the following attributes:
- 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
Sequence[Get
Ssl Vpn Client Certs Cert] - A list of SSL-VPN client certificates. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of SSL-VPN client cert IDs.
- names Sequence[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.
- certs List<Property Map>
- A list of SSL-VPN client certificates. Each element contains the following attributes:
- 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.
Supporting Types
GetSslVpnClientCertsCert
- 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 Integer - 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 int - 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.
- 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.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
Viewing docs for Alibaba Cloud v3.97.0
published on Saturday, Mar 14, 2026 by Pulumi
published on Saturday, Mar 14, 2026 by Pulumi
