@pulumi/linode
Version:
A Pulumi package for creating and managing linode cloud resources.
127 lines (126 loc) • 4.3 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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",
* });
* ```
*/
export declare function getChildAccount(args: GetChildAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetChildAccountResult>;
/**
* A collection of arguments for invoking getChildAccount.
*/
export interface GetChildAccountArgs {
/**
* The unique EUUID of this Child Account.
*/
euuid: string;
}
/**
* A collection of values returned by getChildAccount.
*/
export interface GetChildAccountResult {
/**
* When this account was first activated.
*/
readonly activeSince: string;
/**
* First line of this Account's billing address.
*/
readonly address1: string;
/**
* Second line of this Account's billing address.
*/
readonly address2: string;
/**
* This Account's balance, in US dollars.
*/
readonly balance: number;
/**
* A set containing all the capabilities of this Account.
*/
readonly capabilities: string[];
/**
* The city for this Account's billing address.
*/
readonly city: string;
/**
* The company name associated with this Account.
*/
readonly company: string;
/**
* The two-letter country code of this Account's billing address.
*/
readonly country: string;
/**
* The email address for this Account, for account management communications, and may be used for other communications as configured.
*/
readonly email: string;
readonly euuid: string;
/**
* The first name of the person associated with this Account.
*/
readonly firstName: string;
readonly id: string;
/**
* The last name of the person associated with this Account.
*/
readonly lastName: string;
/**
* The phone number associated with this Account.
*/
readonly phone: string;
/**
* If billing address is in the United States, this is the State portion of the Account's billing address. If the address is outside the US, this is the Province associated with the Account's billing address.
*/
readonly state: string;
/**
* The zip code of this Account's billing address.
*/
readonly zip: string;
}
/**
* 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",
* });
* ```
*/
export declare function getChildAccountOutput(args: GetChildAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetChildAccountResult>;
/**
* A collection of arguments for invoking getChildAccount.
*/
export interface GetChildAccountOutputArgs {
/**
* The unique EUUID of this Child Account.
*/
euuid: pulumi.Input<string>;
}