UNPKG

@pulumi/hcloud

Version:

A Pulumi package for creating and managing hcloud cloud resources.

28 lines 1.32 kB
"use strict"; // *** 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.getDatacentersOutput = exports.getDatacenters = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides a list of available Hetzner Cloud Datacenters. * * This resource may be useful to create highly available infrastructure, distributed across several Datacenters. */ function getDatacenters(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("hcloud:index/getDatacenters:getDatacenters", {}, opts); } exports.getDatacenters = getDatacenters; /** * Provides a list of available Hetzner Cloud Datacenters. * * This resource may be useful to create highly available infrastructure, distributed across several Datacenters. */ function getDatacentersOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("hcloud:index/getDatacenters:getDatacenters", {}, opts); } exports.getDatacentersOutput = getDatacentersOutput; //# sourceMappingURL=getDatacenters.js.map