1. Packages
  2. Google Cloud Native
  3. API Docs
  4. sqladmin
  5. sqladmin/v1beta4
  6. getSslCert

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.sqladmin/v1beta4.getSslCert

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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)
    }
    public static CompletableFuture<GetSslCertResult> getSslCert(GetSslCertArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:sqladmin/v1beta4:getSslCert
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Instance string
    Sha1Fingerprint string
    Project string
    Instance string
    Sha1Fingerprint string
    Project string
    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 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.
    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.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi