linode.getChildAccount
Explore with Pulumi AI
Provides information about a Linode Child Account. For more information, see the Linode APIv4 docs.
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 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.
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const account = linode.getChildAccount({
euuid: "FFFFFFFF-FFFF-FFFF-FFFFFFFFFFFFFFFF",
});
import pulumi
import pulumi_linode as linode
account = linode.get_child_account(euuid="FFFFFFFF-FFFF-FFFF-FFFFFFFFFFFFFFFF")
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.GetChildAccount(ctx, &linode.GetChildAccountArgs{
Euuid: "FFFFFFFF-FFFF-FFFF-FFFFFFFFFFFFFFFF",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var account = Linode.GetChildAccount.Invoke(new()
{
Euuid = "FFFFFFFF-FFFF-FFFF-FFFFFFFFFFFFFFFF",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetChildAccountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var account = LinodeFunctions.getChildAccount(GetChildAccountArgs.builder()
.euuid("FFFFFFFF-FFFF-FFFF-FFFFFFFFFFFFFFFF")
.build());
}
}
variables:
account:
fn::invoke:
Function: linode:getChildAccount
Arguments:
euuid: FFFFFFFF-FFFF-FFFF-FFFFFFFFFFFFFFFF
Using getChildAccount
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getChildAccount(args: GetChildAccountArgs, opts?: InvokeOptions): Promise<GetChildAccountResult>
function getChildAccountOutput(args: GetChildAccountOutputArgs, opts?: InvokeOptions): Output<GetChildAccountResult>
def get_child_account(euuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetChildAccountResult
def get_child_account_output(euuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetChildAccountResult]
func GetChildAccount(ctx *Context, args *GetChildAccountArgs, opts ...InvokeOption) (*GetChildAccountResult, error)
func GetChildAccountOutput(ctx *Context, args *GetChildAccountOutputArgs, opts ...InvokeOption) GetChildAccountResultOutput
> Note: This function is named GetChildAccount
in the Go SDK.
public static class GetChildAccount
{
public static Task<GetChildAccountResult> InvokeAsync(GetChildAccountArgs args, InvokeOptions? opts = null)
public static Output<GetChildAccountResult> Invoke(GetChildAccountInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetChildAccountResult> getChildAccount(GetChildAccountArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: linode:index/getChildAccount:getChildAccount
arguments:
# arguments dictionary
The following arguments are supported:
- Euuid string
- The unique EUUID of this Child Account.
- Euuid string
- The unique EUUID of this Child Account.
- euuid String
- The unique EUUID of this Child Account.
- euuid string
- The unique EUUID of this Child Account.
- euuid str
- The unique EUUID of this Child Account.
- euuid String
- The unique EUUID of this Child Account.
getChildAccount Result
The following output properties are available:
- Active
Since string - When this account was first activated.
- Address1 string
- First line of this Account's billing address.
- Address2 string
- Second line of this Account's billing address.
- Balance double
- This Account's balance, in US dollars.
- Capabilities List<string>
- A set containing all the capabilities of this Account.
- City string
- The city for this Account's billing address.
- Company string
- The company name associated with this Account.
- Country string
- The two-letter country code of this Account's billing address.
- Email string
- The email address for this Account, for account management communications, and may be used for other communications as configured.
- Euuid string
- First
Name string - The first name of the person associated with this Account.
- Id string
- Last
Name string - The last name of the person associated with this Account.
- Phone string
- The phone number associated with this Account.
- State 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.
- Zip string
- The zip code of this Account's billing address.
- Active
Since string - When this account was first activated.
- Address1 string
- First line of this Account's billing address.
- Address2 string
- Second line of this Account's billing address.
- Balance float64
- This Account's balance, in US dollars.
- Capabilities []string
- A set containing all the capabilities of this Account.
- City string
- The city for this Account's billing address.
- Company string
- The company name associated with this Account.
- Country string
- The two-letter country code of this Account's billing address.
- Email string
- The email address for this Account, for account management communications, and may be used for other communications as configured.
- Euuid string
- First
Name string - The first name of the person associated with this Account.
- Id string
- Last
Name string - The last name of the person associated with this Account.
- Phone string
- The phone number associated with this Account.
- State 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.
- Zip string
- The zip code of this Account's billing address.
- active
Since String - When this account was first activated.
- address1 String
- First line of this Account's billing address.
- address2 String
- Second line of this Account's billing address.
- balance Double
- This Account's balance, in US dollars.
- capabilities List<String>
- A set containing all the capabilities of this Account.
- city String
- The city for this Account's billing address.
- company String
- The company name associated with this Account.
- country String
- The two-letter country code of this Account's billing address.
- email String
- The email address for this Account, for account management communications, and may be used for other communications as configured.
- euuid String
- first
Name String - The first name of the person associated with this Account.
- id String
- last
Name String - The last name of the person associated with this Account.
- phone String
- The phone number associated with this Account.
- state 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.
- zip String
- The zip code of this Account's billing address.
- active
Since string - When this account was first activated.
- address1 string
- First line of this Account's billing address.
- address2 string
- Second line of this Account's billing address.
- balance number
- This Account's balance, in US dollars.
- capabilities string[]
- A set containing all the capabilities of this Account.
- city string
- The city for this Account's billing address.
- company string
- The company name associated with this Account.
- country string
- The two-letter country code of this Account's billing address.
- email string
- The email address for this Account, for account management communications, and may be used for other communications as configured.
- euuid string
- first
Name string - The first name of the person associated with this Account.
- id string
- last
Name string - The last name of the person associated with this Account.
- phone string
- The phone number associated with this Account.
- state 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.
- zip string
- The zip code of this Account's billing address.
- active_
since str - When this account was first activated.
- address1 str
- First line of this Account's billing address.
- address2 str
- Second line of this Account's billing address.
- balance float
- This Account's balance, in US dollars.
- capabilities Sequence[str]
- A set containing all the capabilities of this Account.
- city str
- The city for this Account's billing address.
- company str
- The company name associated with this Account.
- country str
- The two-letter country code of this Account's billing address.
- email str
- The email address for this Account, for account management communications, and may be used for other communications as configured.
- euuid str
- first_
name str - The first name of the person associated with this Account.
- id str
- last_
name str - The last name of the person associated with this Account.
- phone str
- The phone number associated with this Account.
- state str
- 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.
- zip str
- The zip code of this Account's billing address.
- active
Since String - When this account was first activated.
- address1 String
- First line of this Account's billing address.
- address2 String
- Second line of this Account's billing address.
- balance Number
- This Account's balance, in US dollars.
- capabilities List<String>
- A set containing all the capabilities of this Account.
- city String
- The city for this Account's billing address.
- company String
- The company name associated with this Account.
- country String
- The two-letter country code of this Account's billing address.
- email String
- The email address for this Account, for account management communications, and may be used for other communications as configured.
- euuid String
- first
Name String - The first name of the person associated with this Account.
- id String
- last
Name String - The last name of the person associated with this Account.
- phone String
- The phone number associated with this Account.
- state 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.
- zip String
- The zip code of this Account's billing address.
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linode
Terraform Provider.