UNPKG

@pulumi/hcloud

Version:

A Pulumi package for creating and managing hcloud cloud resources.

42 lines 1.45 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.getServerTypesOutput = exports.getServerTypes = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides a list of available Hetzner Cloud Server Types. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const all = hcloud.getServerTypes({}); * ``` */ function getServerTypes(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("hcloud:index/getServerTypes:getServerTypes", {}, opts); } exports.getServerTypes = getServerTypes; /** * Provides a list of available Hetzner Cloud Server Types. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const all = hcloud.getServerTypes({}); * ``` */ function getServerTypesOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("hcloud:index/getServerTypes:getServerTypes", {}, opts); } exports.getServerTypesOutput = getServerTypesOutput; //# sourceMappingURL=getServerTypes.js.map