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.
- Name
Regex string A regex string to filter results by ca certificate name.
- Output
File string - Resource
Group stringId The Id of resource group which ca certificates belongs.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Ids []string
A list of ca certificates IDs to filter results.
- Name
Regex string A regex string to filter results by ca certificate name.
- Output
File string - Resource
Group stringId The Id of resource group which ca certificates belongs.
- map[string]interface{}
A mapping of tags to assign to the resource.
- ids string[]
A list of ca certificates IDs to filter results.
- name
Regex string A regex string to filter results by ca certificate name.
- output
File string - resource
Group stringId The Id of resource group which ca certificates belongs.
- {[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_ strid The Id of resource group which ca certificates belongs.
- Dict[str, Any]
A mapping of tags to assign to the resource.
GetCaCertificates Result
The following output properties are available:
- Certificates
List<Pulumi.
Ali Cloud. Slb. Outputs. Get Ca Certificates Certificate> 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.
- Name
Regex string - Output
File string - Resource
Group stringId The resource group Id of CA certificate.
- Dictionary<string, object>
(Available in v1.66.0+) A mapping of tags to assign to the resource.
- Certificates
[]Get
Ca Certificates Certificate 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.
- Name
Regex string - Output
File string - Resource
Group stringId The resource group Id of CA certificate.
- map[string]interface{}
(Available in v1.66.0+) A mapping of tags to assign to the resource.
- certificates
Get
Ca Certificates Certificate[] 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.
- name
Regex string - output
File string - resource
Group stringId The resource group Id of CA certificate.
- {[key: string]: any}
(Available in v1.66.0+) A mapping of tags to assign to the resource.
- certificates
List[Get
Ca Certificates Certificate] 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_ strid The resource group Id of CA certificate.
- 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.
- Common
Name string CA certificate common name.
- Created
Time string CA certificate created time.
- Created
Timestamp int CA certificate created timestamp.
- Expired
Time string CA certificate expired time.
- Expired
Timestamp int CA certificate expired timestamp.
- Fingerprint string
CA certificate fingerprint.
- Id string
CA certificate ID.
- Name string
CA certificate name.
- Region
Id string The region Id of CA certificate.
- Resource
Group stringId The Id of resource group which ca certificates belongs.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Common
Name string CA certificate common name.
- Created
Time string CA certificate created time.
- Created
Timestamp int CA certificate created timestamp.
- Expired
Time string CA certificate expired time.
- Expired
Timestamp int CA certificate expired timestamp.
- Fingerprint string
CA certificate fingerprint.
- Id string
CA certificate ID.
- Name string
CA certificate name.
- Region
Id string The region Id of CA certificate.
- Resource
Group stringId The Id of resource group which ca certificates belongs.
- map[string]interface{}
A mapping of tags to assign to the resource.
- common
Name string CA certificate common name.
- created
Time string CA certificate created time.
- created
Timestamp number CA certificate created timestamp.
- expired
Time string CA certificate expired time.
- expired
Timestamp number CA certificate expired timestamp.
- fingerprint string
CA certificate fingerprint.
- id string
CA certificate ID.
- name string
CA certificate name.
- region
Id string The region Id of CA certificate.
- resource
Group stringId The Id of resource group which ca certificates belongs.
- {[key: string]: any}
A mapping of tags to assign to the resource.
- common
Name str CA certificate common name.
- created
Time str CA certificate created time.
- created
Timestamp float CA certificate created timestamp.
- expired
Timestamp 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.
- region
Id str The region Id of CA certificate.
- resource_
group_ strid The Id of resource group which ca certificates belongs.
- 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
alicloudTerraform Provider.