getCertificate

Get info about a Google Compute SSL Certificate from its name.

Example Usage

data "google_compute_ssl_certificate" "my_cert" {
name = "my-cert"
}
output "certificate" {
value = data.google_compute_ssl_certificate.my_cert.certificate
}
output "certificate_id" {
value = data.google_compute_ssl_certificate.my_cert.certificate_id
}
output "self_link" {
value = data.google_compute_ssl_certificate.my_cert.self_link
}

Return

A collection of values returned by getCertificate.

Parameters

argument

A collection of arguments for invoking getCertificate.


suspend fun getCertificate(name: String, project: String? = null): GetCertificateResult

Return

A collection of values returned by getCertificate.

Parameters

name

The name of the certificate.

project

The project in which the resource belongs. If it is not provided, the provider project is used.

See also


Return

A collection of values returned by getCertificate.

Parameters

argument

Builder for com.pulumi.gcp.compute.kotlin.inputs.GetCertificatePlainArgs.

See also