GetCertificate
Provides details about a specific Hetzner Cloud Certificate.
Using GetCertificate
function getCertificate(args: GetCertificateArgs, opts?: InvokeOptions): Promise<GetCertificateResult>
def get_certificate(id: Optional[int] = None, name: Optional[str] = None, with_selector: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetCertificateResult
func LookupCertificate(ctx *Context, args *LookupCertificateArgs, opts ...InvokeOption) (*LookupCertificateResult, error)
Note: This function is named
LookupCertificate
in the Go SDK.
public static class GetCertificate {
public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- Id int
ID of the certificate.
- Name string
Name of the certificate.
- With
Selector string
- Id int
ID of the certificate.
- Name string
Name of the certificate.
- With
Selector string
- id number
ID of the certificate.
- name string
Name of the certificate.
- with
Selector string
- id int
ID of the certificate.
- name str
Name of the certificate.
- with_
selector str
GetCertificate Result
The following output properties are available:
- Certificate string
(string) PEM encoded TLS certificate.
- Created string
(string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format).
- Domain
Names List<string> (list) Domains and subdomains covered by the certificate.
- Fingerprint string
(string) Fingerprint of the certificate.
- Id int
(int) Unique ID of the certificate.
- Labels Dictionary<string, object>
(map) User-defined labels (key-value pairs) assigned to the certificate.
- Not
Valid stringAfter (string) Point in time when the Certificate stops being valid (in ISO-8601 format).
- Not
Valid stringBefore (string) Point in time when the Certificate becomes valid (in ISO-8601 format).
- Name string
(string) Name of the Certificate.
- With
Selector string
- Certificate string
(string) PEM encoded TLS certificate.
- Created string
(string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format).
- Domain
Names []string (list) Domains and subdomains covered by the certificate.
- Fingerprint string
(string) Fingerprint of the certificate.
- Id int
(int) Unique ID of the certificate.
- Labels map[string]interface{}
(map) User-defined labels (key-value pairs) assigned to the certificate.
- Not
Valid stringAfter (string) Point in time when the Certificate stops being valid (in ISO-8601 format).
- Not
Valid stringBefore (string) Point in time when the Certificate becomes valid (in ISO-8601 format).
- Name string
(string) Name of the Certificate.
- With
Selector string
- certificate string
(string) PEM encoded TLS certificate.
- created string
(string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format).
- domain
Names string[] (list) Domains and subdomains covered by the certificate.
- fingerprint string
(string) Fingerprint of the certificate.
- id number
(int) Unique ID of the certificate.
- labels {[key: string]: any}
(map) User-defined labels (key-value pairs) assigned to the certificate.
- not
Valid stringAfter (string) Point in time when the Certificate stops being valid (in ISO-8601 format).
- not
Valid stringBefore (string) Point in time when the Certificate becomes valid (in ISO-8601 format).
- name string
(string) Name of the Certificate.
- with
Selector string
- certificate str
(string) PEM encoded TLS certificate.
- created str
(string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format).
- domain_
names Sequence[str] (list) Domains and subdomains covered by the certificate.
- fingerprint str
(string) Fingerprint of the certificate.
- id int
(int) Unique ID of the certificate.
- labels Mapping[str, Any]
(map) User-defined labels (key-value pairs) assigned to the certificate.
- not_
valid_ strafter (string) Point in time when the Certificate stops being valid (in ISO-8601 format).
- not_
valid_ strbefore (string) Point in time when the Certificate becomes valid (in ISO-8601 format).
- name str
(string) Name of the Certificate.
- with_
selector str
Package Details
- Repository
- https://github.com/pulumi/pulumi-hcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
hcloud
Terraform Provider.