@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
36 lines • 1.64 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCaCertsOutput = exports.getCaCerts = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* 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).
*/
function getCaCerts(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("gcp:sql/getCaCerts:getCaCerts", {
"instance": args.instance,
"project": args.project,
}, opts);
}
exports.getCaCerts = getCaCerts;
/**
* 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).
*/
function getCaCertsOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("gcp:sql/getCaCerts:getCaCerts", {
"instance": args.instance,
"project": args.project,
}, opts);
}
exports.getCaCertsOutput = getCaCertsOutput;
//# sourceMappingURL=getCaCerts.js.map