GetCaCertificates

This data source provides the CA certificate list.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var sampleDs = Output.Create(AliCloud.Slb.GetCaCertificates.InvokeAsync());
        this.FirstSlbCaCertificateId = sampleDs.Apply(sampleDs => sampleDs.Certificates[0].Id);
    }

    [Output("firstSlbCaCertificateId")]
    public Output<string> FirstSlbCaCertificateId { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

sample_ds = alicloud.slb.get_ca_certificates()
pulumi.export("firstSlbCaCertificateId", sample_ds.certificates[0]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const sampleDs = pulumi.output(alicloud.slb.getCaCertificates({ async: true }));

export const firstSlbCaCertificateId = sampleDs.certificates[0].id;

Using GetCaCertificates

function getCaCertificates(args: GetCaCertificatesArgs, opts?: InvokeOptions): Promise<GetCaCertificatesResult>
function  get_ca_certificates(ids=None, name_regex=None, output_file=None, resource_group_id=None, tags=None, opts=None)
func GetCaCertificates(ctx *Context, args *GetCaCertificatesArgs, opts ...InvokeOption) (*GetCaCertificatesResult, error)
public static class GetCaCertificates {
    public static Task<GetCaCertificatesResult> InvokeAsync(GetCaCertificatesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Ids List<string>

A list of ca certificates IDs to filter results.

NameRegex string

A regex string to filter results by ca certificate name.

OutputFile string
ResourceGroupId string

The Id of resource group which ca certificates belongs.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

Ids []string

A list of ca certificates IDs to filter results.

NameRegex string

A regex string to filter results by ca certificate name.

OutputFile string
ResourceGroupId string

The Id of resource group which ca certificates belongs.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

ids string[]

A list of ca certificates IDs to filter results.

nameRegex string

A regex string to filter results by ca certificate name.

outputFile string
resourceGroupId string

The Id of resource group which ca certificates belongs.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

ids List[str]

A list of ca certificates IDs to filter results.

name_regex str

A regex string to filter results by ca certificate name.

output_file str
resource_group_id str

The Id of resource group which ca certificates belongs.

tags Dict[str, Any]

A mapping of tags to assign to the resource.

GetCaCertificates Result

The following output properties are available:

Certificates List<Pulumi.AliCloud.Slb.Outputs.GetCaCertificatesCertificate>

A list of SLB ca certificates. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of SLB ca certificates IDs.

Names List<string>

A list of SLB ca certificates names.

NameRegex string
OutputFile string
ResourceGroupId string

The resource group Id of CA certificate.

Tags Dictionary<string, object>

(Available in v1.66.0+) A mapping of tags to assign to the resource.

Certificates []GetCaCertificatesCertificate

A list of SLB ca certificates. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of SLB ca certificates IDs.

Names []string

A list of SLB ca certificates names.

NameRegex string
OutputFile string
ResourceGroupId string

The resource group Id of CA certificate.

Tags map[string]interface{}

(Available in v1.66.0+) A mapping of tags to assign to the resource.

certificates GetCaCertificatesCertificate[]

A list of SLB ca certificates. Each element contains the following attributes:

id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of SLB ca certificates IDs.

names string[]

A list of SLB ca certificates names.

nameRegex string
outputFile string
resourceGroupId string

The resource group Id of CA certificate.

tags {[key: string]: any}

(Available in v1.66.0+) A mapping of tags to assign to the resource.

certificates List[GetCaCertificatesCertificate]

A list of SLB ca certificates. Each element contains the following attributes:

id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of SLB ca certificates IDs.

names List[str]

A list of SLB ca certificates names.

name_regex str
output_file str
resource_group_id str

The resource group Id of CA certificate.

tags Dict[str, Any]

(Available in v1.66.0+) A mapping of tags to assign to the resource.

Supporting Types

GetCaCertificatesCertificate

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

CommonName string

CA certificate common name.

CreatedTime string

CA certificate created time.

CreatedTimestamp int

CA certificate created timestamp.

ExpiredTime string

CA certificate expired time.

ExpiredTimestamp int

CA certificate expired timestamp.

Fingerprint string

CA certificate fingerprint.

Id string

CA certificate ID.

Name string

CA certificate name.

RegionId string

The region Id of CA certificate.

ResourceGroupId string

The Id of resource group which ca certificates belongs.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

CommonName string

CA certificate common name.

CreatedTime string

CA certificate created time.

CreatedTimestamp int

CA certificate created timestamp.

ExpiredTime string

CA certificate expired time.

ExpiredTimestamp int

CA certificate expired timestamp.

Fingerprint string

CA certificate fingerprint.

Id string

CA certificate ID.

Name string

CA certificate name.

RegionId string

The region Id of CA certificate.

ResourceGroupId string

The Id of resource group which ca certificates belongs.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

commonName string

CA certificate common name.

createdTime string

CA certificate created time.

createdTimestamp number

CA certificate created timestamp.

expiredTime string

CA certificate expired time.

expiredTimestamp number

CA certificate expired timestamp.

fingerprint string

CA certificate fingerprint.

id string

CA certificate ID.

name string

CA certificate name.

regionId string

The region Id of CA certificate.

resourceGroupId string

The Id of resource group which ca certificates belongs.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

commonName str

CA certificate common name.

createdTime str

CA certificate created time.

createdTimestamp float

CA certificate created timestamp.

expiredTimestamp float

CA certificate expired timestamp.

expired_time str

CA certificate expired time.

fingerprint str

CA certificate fingerprint.

id str

CA certificate ID.

name str

CA certificate name.

regionId str

The region Id of CA certificate.

resource_group_id str

The Id of resource group which ca certificates belongs.

tags Dict[str, Any]

A mapping of tags to assign to the resource.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.