UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

48 lines 1.8 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.getProfileOutput = exports.getProfile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides information about a Linode profile. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-profile). * * ## Example Usage * * The following example shows how one might use this data source to access profile details. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const profile = linode.getProfile({}); * ``` */ function getProfile(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("linode:index/getProfile:getProfile", {}, opts); } exports.getProfile = getProfile; /** * Provides information about a Linode profile. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-profile). * * ## Example Usage * * The following example shows how one might use this data source to access profile details. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const profile = linode.getProfile({}); * ``` */ function getProfileOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("linode:index/getProfile:getProfile", {}, opts); } exports.getProfileOutput = getProfileOutput; //# sourceMappingURL=getProfile.js.map