@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
62 lines • 2.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get all of the trusted Certificate Authorities (CAs) for the specified SQL database instance. For more information see the
* [official documentation](https://cloud.google.com/sql/)
* and
* [API](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances/listServerCas).
*/
export declare function getCaCerts(args: GetCaCertsArgs, opts?: pulumi.InvokeOptions): Promise<GetCaCertsResult>;
/**
* A collection of arguments for invoking getCaCerts.
*/
export interface GetCaCertsArgs {
/**
* The name or self link of the instance.
*/
instance: string;
/**
* The ID of the project in which the resource belongs. If `project` is not provided, the provider project is used.
*/
project?: string;
}
/**
* A collection of values returned by getCaCerts.
*/
export interface GetCaCertsResult {
/**
* SHA1 fingerprint of the currently active CA certificate.
*/
readonly activeVersion: string;
/**
* A list of server CA certificates for the instance. Each contains:
*/
readonly certs: outputs.sql.GetCaCertsCert[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly instance: string;
readonly project: string;
}
/**
* Get all of the trusted Certificate Authorities (CAs) for the specified SQL database instance. For more information see the
* [official documentation](https://cloud.google.com/sql/)
* and
* [API](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances/listServerCas).
*/
export declare function getCaCertsOutput(args: GetCaCertsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCaCertsResult>;
/**
* A collection of arguments for invoking getCaCerts.
*/
export interface GetCaCertsOutputArgs {
/**
* The name or self link of the instance.
*/
instance: pulumi.Input<string>;
/**
* The ID of the project in which the resource belongs. If `project` is not provided, the provider project is used.
*/
project?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getCaCerts.d.ts.map