@pulumi/tls
Version:
A Pulumi package to create TLS resources in Pulumi programs.
28 lines • 1.19 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCertificateOutput = exports.getCertificate = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
function getCertificate(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("tls:index/getCertificate:getCertificate", {
"content": args.content,
"url": args.url,
"verifyChain": args.verifyChain,
}, opts);
}
exports.getCertificate = getCertificate;
function getCertificateOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tls:index/getCertificate:getCertificate", {
"content": args.content,
"url": args.url,
"verifyChain": args.verifyChain,
}, opts);
}
exports.getCertificateOutput = getCertificateOutput;
//# sourceMappingURL=getCertificate.js.map