Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Google Native

v0.9.0 published on Wednesday, Nov 24, 2021 by Pulumi

getSslCert

Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation.

Using getSslCert

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 getSslCert(args: GetSslCertArgs, opts?: InvokeOptions): Promise<GetSslCertResult>
function getSslCertOutput(args: GetSslCertOutputArgs, opts?: InvokeOptions): Output<GetSslCertResult>
def get_ssl_cert(instance: Optional[str] = None,
                 project: Optional[str] = None,
                 sha1_fingerprint: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetSslCertResult
def get_ssl_cert_output(instance: Optional[pulumi.Input[str]] = None,
                 project: Optional[pulumi.Input[str]] = None,
                 sha1_fingerprint: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetSslCertResult]
func LookupSslCert(ctx *Context, args *LookupSslCertArgs, opts ...InvokeOption) (*LookupSslCertResult, error)
func LookupSslCertOutput(ctx *Context, args *LookupSslCertOutputArgs, opts ...InvokeOption) LookupSslCertResultOutput

> Note: This function is named LookupSslCert in the Go SDK.

public static class GetSslCert 
{
    public static Task<GetSslCertResult> InvokeAsync(GetSslCertArgs args, InvokeOptions? opts = null)
    public static Output<GetSslCertResult> Invoke(GetSslCertInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Instance string
Sha1Fingerprint string
Project string
Instance string
Sha1Fingerprint string
Project string
instance string
sha1Fingerprint string
project string

getSslCert Result

The following output properties are available:

Cert string
PEM representation.
CertSerialNumber string
Serial number, as extracted from the certificate.
CommonName string
User supplied name. Constrained to [a-zA-Z.-_ ]+.
CreateTime string
The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
ExpirationTime string
The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
Instance string
Name of the database instance.
Kind string
This is always sql#sslCert.
SelfLink string
The URI of this resource.
Sha1Fingerprint string
Sha1 Fingerprint.
Cert string
PEM representation.
CertSerialNumber string
Serial number, as extracted from the certificate.
CommonName string
User supplied name. Constrained to [a-zA-Z.-_ ]+.
CreateTime string
The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
ExpirationTime string
The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
Instance string
Name of the database instance.
Kind string
This is always sql#sslCert.
SelfLink string
The URI of this resource.
Sha1Fingerprint string
Sha1 Fingerprint.
cert string
PEM representation.
certSerialNumber string
Serial number, as extracted from the certificate.
commonName string
User supplied name. Constrained to [a-zA-Z.-_ ]+.
createTime string
The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
expirationTime string
The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
instance string
Name of the database instance.
kind string
This is always sql#sslCert.
selfLink string
The URI of this resource.
sha1Fingerprint string
Sha1 Fingerprint.
cert str
PEM representation.
cert_serial_number str
Serial number, as extracted from the certificate.
common_name str
User supplied name. Constrained to [a-zA-Z.-_ ]+.
create_time str
The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
expiration_time str
The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
instance str
Name of the database instance.
kind str
This is always sql#sslCert.
self_link str
The URI of this resource.
sha1_fingerprint str
Sha1 Fingerprint.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0