GetCaCerts

Get all of the trusted Certificate Authorities (CAs) for the specified SQL database instance. For more information see the official documentation and API.

Using GetCaCerts

function getCaCerts(args: GetCaCertsArgs, opts?: InvokeOptions): Promise<GetCaCertsResult>
function  get_ca_certs(instance=None, project=None, opts=None)
func GetCaCerts(ctx *Context, args *GetCaCertsArgs, opts ...InvokeOption) (*GetCaCertsResult, error)
public static class GetCaCerts {
    public static Task<GetCaCertsResult> InvokeAsync(GetCaCertsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Instance string

The name or self link of the instance.

Project string

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

Instance string

The name or self link of the instance.

Project string

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

instance string

The name or self link of the instance.

project string

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

instance str

The name or self link of the instance.

project str

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

GetCaCerts Result

The following output properties are available:

ActiveVersion string

SHA1 fingerprint of the currently active CA certificate.

Certs List<GetCaCertsCert>

A list of server CA certificates for the instance. Each contains:

Id string

The provider-assigned unique ID for this managed resource.

Instance string
Project string
ActiveVersion string

SHA1 fingerprint of the currently active CA certificate.

Certs []GetCaCertsCert

A list of server CA certificates for the instance. Each contains:

Id string

The provider-assigned unique ID for this managed resource.

Instance string
Project string
activeVersion string

SHA1 fingerprint of the currently active CA certificate.

certs GetCaCertsCert[]

A list of server CA certificates for the instance. Each contains:

id string

The provider-assigned unique ID for this managed resource.

instance string
project string
active_version str

SHA1 fingerprint of the currently active CA certificate.

certs List[GetCaCertsCert]

A list of server CA certificates for the instance. Each contains:

id str

The provider-assigned unique ID for this managed resource.

instance str
project str

Supporting Types

GetCaCertsCert

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Cert string

The CA certificate used to connect to the SQL instance via SSL.

CommonName string

The CN valid for the CA cert.

CreateTime string

Creation time of the CA cert.

ExpirationTime string

Expiration time of the CA cert.

Sha1Fingerprint string

SHA1 fingerprint of the CA cert.

Cert string

The CA certificate used to connect to the SQL instance via SSL.

CommonName string

The CN valid for the CA cert.

CreateTime string

Creation time of the CA cert.

ExpirationTime string

Expiration time of the CA cert.

Sha1Fingerprint string

SHA1 fingerprint of the CA cert.

cert string

The CA certificate used to connect to the SQL instance via SSL.

commonName string

The CN valid for the CA cert.

createTime string

Creation time of the CA cert.

expirationTime string

Expiration time of the CA cert.

sha1Fingerprint string

SHA1 fingerprint of the CA cert.

cert str

The CA certificate used to connect to the SQL instance via SSL.

common_name str

The CN valid for the CA cert.

create_time str

Creation time of the CA cert.

expiration_time str

Expiration time of the CA cert.

sha1_fingerprint str

SHA1 fingerprint of the CA cert.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.