UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

64 lines 2.79 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.getChildAccountOutput = exports.getChildAccount = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides information about a Linode Child Account. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-child-account). * * Due to the sensitive nature of the data exposed by this data source, it should not be used in conjunction with the `LINODE_DEBUG` option. See the [debugging notes](https://www.terraform.io/providers/linode/linode/latest/docs#debugging) for more details. * * **NOTE: Parent/Child related features may not be generally available.** * * ## Example Usage * * The following example shows how one might use this data source to access child account details. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const account = linode.getChildAccount({ * euuid: "FFFFFFFF-FFFF-FFFF-FFFFFFFFFFFFFFFF", * }); * ``` */ function getChildAccount(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("linode:index/getChildAccount:getChildAccount", { "euuid": args.euuid, }, opts); } exports.getChildAccount = getChildAccount; /** * Provides information about a Linode Child Account. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-child-account). * * Due to the sensitive nature of the data exposed by this data source, it should not be used in conjunction with the `LINODE_DEBUG` option. See the [debugging notes](https://www.terraform.io/providers/linode/linode/latest/docs#debugging) for more details. * * **NOTE: Parent/Child related features may not be generally available.** * * ## Example Usage * * The following example shows how one might use this data source to access child account details. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const account = linode.getChildAccount({ * euuid: "FFFFFFFF-FFFF-FFFF-FFFFFFFFFFFFFFFF", * }); * ``` */ function getChildAccountOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("linode:index/getChildAccount:getChildAccount", { "euuid": args.euuid, }, opts); } exports.getChildAccountOutput = getChildAccountOutput; //# sourceMappingURL=getChildAccount.js.map