Alibaba Cloud v3.64.0 published on Monday, Oct 28, 2024 by Pulumi
alicloud.cas.getCertificates
Explore with Pulumi AI
Deprecated: This resource has been deprecated in favour of getServiceCertificates
DEPRECATED: This datasource has been deprecated from version
1.129.0
. Please use new datasource alicloud_ssl_certificates_service_certificates.
This data source provides a list of CAS Certificates in an Alibaba Cloud account according to the specified filters.
Using getCertificates
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 getCertificates(args: GetCertificatesArgs, opts?: InvokeOptions): Promise<GetCertificatesResult>
function getCertificatesOutput(args: GetCertificatesOutputArgs, opts?: InvokeOptions): Output<GetCertificatesResult>
def get_certificates(enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
keyword: Optional[str] = None,
lang: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCertificatesResult
def get_certificates_output(enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
keyword: Optional[pulumi.Input[str]] = None,
lang: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCertificatesResult]
func GetCertificates(ctx *Context, args *GetCertificatesArgs, opts ...InvokeOption) (*GetCertificatesResult, error)
func GetCertificatesOutput(ctx *Context, args *GetCertificatesOutputArgs, opts ...InvokeOption) GetCertificatesResultOutput
> Note: This function is named GetCertificates
in the Go SDK.
public static class GetCertificates
{
public static Task<GetCertificatesResult> InvokeAsync(GetCertificatesArgs args, InvokeOptions? opts = null)
public static Output<GetCertificatesResult> Invoke(GetCertificatesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCertificatesResult> getCertificates(GetCertificatesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:cas/getCertificates:getCertificates
arguments:
# arguments dictionary
The following arguments are supported:
- Enable
Details bool - Ids List<string>
- A list of cert IDs.
- Keyword string
- Lang string
- Name
Regex string - A regex string to filter results by the certificate name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- Enable
Details bool - Ids []string
- A list of cert IDs.
- Keyword string
- Lang string
- Name
Regex string - A regex string to filter results by the certificate name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- enable
Details Boolean - ids List<String>
- A list of cert IDs.
- keyword String
- lang String
- name
Regex String - A regex string to filter results by the certificate name.
- output
File String - File name where to save data source results (after running
pulumi preview
).
- enable
Details boolean - ids string[]
- A list of cert IDs.
- keyword string
- lang string
- name
Regex string - A regex string to filter results by the certificate name.
- output
File string - File name where to save data source results (after running
pulumi preview
).
- enable_
details bool - ids Sequence[str]
- A list of cert IDs.
- keyword str
- lang str
- name_
regex str - A regex string to filter results by the certificate name.
- output_
file str - File name where to save data source results (after running
pulumi preview
).
- enable
Details Boolean - ids List<String>
- A list of cert IDs.
- keyword String
- lang String
- name
Regex String - A regex string to filter results by the certificate name.
- output
File String - File name where to save data source results (after running
pulumi preview
).
getCertificates Result
The following output properties are available:
- Certificates
List<Pulumi.
Ali Cloud. Cas. Outputs. Get Certificates Certificate> - A list of apis. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of cert IDs.
- Names List<string>
- A list of cert names.
- Enable
Details bool - Keyword string
- Lang string
- Name
Regex string - Output
File string
- Certificates
[]Get
Certificates Certificate - A list of apis. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of cert IDs.
- Names []string
- A list of cert names.
- Enable
Details bool - Keyword string
- Lang string
- Name
Regex string - Output
File string
- certificates
List<Get
Certificates Certificate> - A list of apis. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of cert IDs.
- names List<String>
- A list of cert names.
- enable
Details Boolean - keyword String
- lang String
- name
Regex String - output
File String
- certificates
Get
Certificates Certificate[] - A list of apis. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of cert IDs.
- names string[]
- A list of cert names.
- enable
Details boolean - keyword string
- lang string
- name
Regex string - output
File string
- certificates
Sequence[Get
Certificates Certificate] - A list of apis. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of cert IDs.
- names Sequence[str]
- A list of cert names.
- enable_
details bool - keyword str
- lang str
- name_
regex str - output_
file str
- certificates List<Property Map>
- A list of apis. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of cert IDs.
- names List<String>
- A list of cert names.
- enable
Details Boolean - keyword String
- lang String
- name
Regex String - output
File String
Supporting Types
GetCertificatesCertificate
- Buy
In boolAliyun - The cert is buy from aliyun or not.
- Cert string
- Cert
Id string - Certificate
Name string - City string
- The cert's city.
- Common string
- The cert's common name.
- Country string
- The cert's country.
- End
Date string - The cert's not valid after time.
- Expired bool
- The cert is expired or not.
- Fingerprint string
- Id string
- The cert's id.
- Issuer string
- The cert's .
- Key string
- Name string
- The cert's name.
- Org
Name string - The cert's organization.
- Province string
- The cert's province.
- Sans string
- The cert's subject alternative name.
- Start
Date string - The cert's not valid before time.
- Buy
In boolAliyun - The cert is buy from aliyun or not.
- Cert string
- Cert
Id string - Certificate
Name string - City string
- The cert's city.
- Common string
- The cert's common name.
- Country string
- The cert's country.
- End
Date string - The cert's not valid after time.
- Expired bool
- The cert is expired or not.
- Fingerprint string
- Id string
- The cert's id.
- Issuer string
- The cert's .
- Key string
- Name string
- The cert's name.
- Org
Name string - The cert's organization.
- Province string
- The cert's province.
- Sans string
- The cert's subject alternative name.
- Start
Date string - The cert's not valid before time.
- buy
In BooleanAliyun - The cert is buy from aliyun or not.
- cert String
- cert
Id String - certificate
Name String - city String
- The cert's city.
- common String
- The cert's common name.
- country String
- The cert's country.
- end
Date String - The cert's not valid after time.
- expired Boolean
- The cert is expired or not.
- fingerprint String
- id String
- The cert's id.
- issuer String
- The cert's .
- key String
- name String
- The cert's name.
- org
Name String - The cert's organization.
- province String
- The cert's province.
- sans String
- The cert's subject alternative name.
- start
Date String - The cert's not valid before time.
- buy
In booleanAliyun - The cert is buy from aliyun or not.
- cert string
- cert
Id string - certificate
Name string - city string
- The cert's city.
- common string
- The cert's common name.
- country string
- The cert's country.
- end
Date string - The cert's not valid after time.
- expired boolean
- The cert is expired or not.
- fingerprint string
- id string
- The cert's id.
- issuer string
- The cert's .
- key string
- name string
- The cert's name.
- org
Name string - The cert's organization.
- province string
- The cert's province.
- sans string
- The cert's subject alternative name.
- start
Date string - The cert's not valid before time.
- buy_
in_ boolaliyun - The cert is buy from aliyun or not.
- cert str
- cert_
id str - certificate_
name str - city str
- The cert's city.
- common str
- The cert's common name.
- country str
- The cert's country.
- end_
date str - The cert's not valid after time.
- expired bool
- The cert is expired or not.
- fingerprint str
- id str
- The cert's id.
- issuer str
- The cert's .
- key str
- name str
- The cert's name.
- org_
name str - The cert's organization.
- province str
- The cert's province.
- sans str
- The cert's subject alternative name.
- start_
date str - The cert's not valid before time.
- buy
In BooleanAliyun - The cert is buy from aliyun or not.
- cert String
- cert
Id String - certificate
Name String - city String
- The cert's city.
- common String
- The cert's common name.
- country String
- The cert's country.
- end
Date String - The cert's not valid after time.
- expired Boolean
- The cert is expired or not.
- fingerprint String
- id String
- The cert's id.
- issuer String
- The cert's .
- key String
- name String
- The cert's name.
- org
Name String - The cert's organization.
- province String
- The cert's province.
- sans String
- The cert's subject alternative name.
- start
Date String - The cert's not valid before time.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.