Google Cloud Classic v8.10.2 published on Tuesday, Dec 10, 2024 by Pulumi
gcp.sql.getCaCerts
Explore with Pulumi AI
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
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 getCaCerts(args: GetCaCertsArgs, opts?: InvokeOptions): Promise<GetCaCertsResult>
function getCaCertsOutput(args: GetCaCertsOutputArgs, opts?: InvokeOptions): Output<GetCaCertsResult>
def get_ca_certs(instance: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCaCertsResult
def get_ca_certs_output(instance: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCaCertsResult]
func GetCaCerts(ctx *Context, args *GetCaCertsArgs, opts ...InvokeOption) (*GetCaCertsResult, error)
func GetCaCertsOutput(ctx *Context, args *GetCaCertsOutputArgs, opts ...InvokeOption) GetCaCertsResultOutput
> Note: This function is named GetCaCerts
in the Go SDK.
public static class GetCaCerts
{
public static Task<GetCaCertsResult> InvokeAsync(GetCaCertsArgs args, InvokeOptions? opts = null)
public static Output<GetCaCertsResult> Invoke(GetCaCertsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCaCertsResult> getCaCerts(GetCaCertsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:sql/getCaCerts:getCaCerts
arguments:
# arguments dictionary
The following arguments are supported:
getCaCerts Result
The following output properties are available:
- Active
Version string - SHA1 fingerprint of the currently active CA certificate.
- Certs
List<Get
Ca Certs Cert> - 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 string - SHA1 fingerprint of the currently active CA certificate.
- Certs
[]Get
Ca Certs Cert - 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 String - SHA1 fingerprint of the currently active CA certificate.
- certs
List<Get
Ca Certs Cert> - 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 string - SHA1 fingerprint of the currently active CA certificate.
- certs
Get
Ca Certs Cert[] - 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
Sequence[Get
Ca Certs Cert] - 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
- active
Version String - SHA1 fingerprint of the currently active CA certificate.
- certs List<Property Map>
- 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
Supporting Types
GetCaCertsCert
- Cert string
- The CA certificate used to connect to the SQL instance via SSL.
- Common
Name string - The CN valid for the CA cert.
- Create
Time string - Creation time of the CA cert.
- Expiration
Time 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.
- Common
Name string - The CN valid for the CA cert.
- Create
Time string - Creation time of the CA cert.
- Expiration
Time 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.
- common
Name String - The CN valid for the CA cert.
- create
Time String - Creation time of the CA cert.
- expiration
Time 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.
- common
Name string - The CN valid for the CA cert.
- create
Time string - Creation time of the CA cert.
- expiration
Time 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.
- cert String
- The CA certificate used to connect to the SQL instance via SSL.
- common
Name String - The CN valid for the CA cert.
- create
Time String - Creation time of the CA cert.
- expiration
Time String - Expiration time of the CA cert.
- sha1Fingerprint String
- SHA1 fingerprint of the CA cert.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.