UNPKG

@ediri/vultr

Version:

A Pulumi package for creating and managing Vultr cloud resources.

62 lines 1.97 kB
"use strict"; // *** 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.getApplicationOutput = exports.getApplication = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Get information about applications that can be launched when creating a Vultr VPS. * * ## Example Usage * * Get the information for an application by `deployName`: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vultr from "@ediri/vultr"; * * const docker = vultr.getApplication({ * filters: [{ * name: "deploy_name", * values: ["Docker on CentOS 7 x64"], * }], * }); * ``` */ function getApplication(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("vultr:index/getApplication:getApplication", { "filters": args.filters, }, opts); } exports.getApplication = getApplication; /** * Get information about applications that can be launched when creating a Vultr VPS. * * ## Example Usage * * Get the information for an application by `deployName`: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vultr from "@ediri/vultr"; * * const docker = vultr.getApplication({ * filters: [{ * name: "deploy_name", * values: ["Docker on CentOS 7 x64"], * }], * }); * ``` */ function getApplicationOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("vultr:index/getApplication:getApplication", { "filters": args.filters, }, opts); } exports.getApplicationOutput = getApplicationOutput; //# sourceMappingURL=getApplication.js.map