Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.sqladmin/v1beta4.getSslCert
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 str
- sha1_
fingerprint str - project str
- instance String
- sha1Fingerprint String
- project String
getSslCert Result
The following output properties are available:
- Cert string
- PEM representation.
- Cert
Serial stringNumber - Serial number, as extracted from the certificate.
- Common
Name string - User supplied name. Constrained to [a-zA-Z.-_ ]+.
- Create
Time string - The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. - Expiration
Time 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
. - Self
Link string - The URI of this resource.
- Sha1Fingerprint string
- Sha1 Fingerprint.
- Cert string
- PEM representation.
- Cert
Serial stringNumber - Serial number, as extracted from the certificate.
- Common
Name string - User supplied name. Constrained to [a-zA-Z.-_ ]+.
- Create
Time string - The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. - Expiration
Time 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
. - Self
Link string - The URI of this resource.
- Sha1Fingerprint string
- Sha1 Fingerprint.
- cert String
- PEM representation.
- cert
Serial StringNumber - Serial number, as extracted from the certificate.
- common
Name String - User supplied name. Constrained to [a-zA-Z.-_ ]+.
- create
Time String - The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. - expiration
Time 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
. - self
Link String - The URI of this resource.
- sha1Fingerprint String
- Sha1 Fingerprint.
- cert string
- PEM representation.
- cert
Serial stringNumber - Serial number, as extracted from the certificate.
- common
Name string - User supplied name. Constrained to [a-zA-Z.-_ ]+.
- create
Time string - The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. - expiration
Time 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
. - self
Link string - The URI of this resource.
- sha1Fingerprint string
- Sha1 Fingerprint.
- cert str
- PEM representation.
- cert_
serial_ strnumber - 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.
- cert
Serial StringNumber - Serial number, as extracted from the certificate.
- common
Name String - User supplied name. Constrained to [a-zA-Z.-_ ]+.
- create
Time String - The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. - expiration
Time 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
. - self
Link 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 Cloud Native is in preview. Google Cloud Classic is fully supported.