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