@pulumi/hcloud
Version:
A Pulumi package for creating and managing hcloud cloud resources.
52 lines • 1.74 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.getCertificatesOutput = exports.getCertificates = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Provides details about multiple Hetzner Cloud Certificates.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as hcloud from "@pulumi/hcloud";
*
* const sampleCertificate1 = hcloud.getCertificates({
* withSelector: "key=value",
* });
* ```
*/
function getCertificates(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("hcloud:index/getCertificates:getCertificates", {
"withSelector": args.withSelector,
}, opts);
}
exports.getCertificates = getCertificates;
/**
* Provides details about multiple Hetzner Cloud Certificates.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as hcloud from "@pulumi/hcloud";
*
* const sampleCertificate1 = hcloud.getCertificates({
* withSelector: "key=value",
* });
* ```
*/
function getCertificatesOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("hcloud:index/getCertificates:getCertificates", {
"withSelector": args.withSelector,
}, opts);
}
exports.getCertificatesOutput = getCertificatesOutput;
//# sourceMappingURL=getCertificates.js.map