Show / Hide Table of Contents

Class GetAccount

Inheritance
System.Object
GetAccount
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public static class GetAccount

Methods

View Source

InvokeAsync(InvokeOptions)

Provides information about a Linode account.

This data source should not be used in conjuction with the LINODE_DEBUG option. See the debugging notes for more details.

{{% examples %}}

Example Usage

{{% example %}}

The following example shows how one might use this data source to access account details.

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
public MyStack()
{
    var account = Output.Create(Linode.GetAccount.InvokeAsync());
}

}

{{% /example %}} {{% /examples %}}

Attributes

The Linode Account resource exports the following attributes:

  • email - The email address for this Account, for account management communications, and may be used for other communications as configured.

  • first_name - The first name of the person associated with this Account.

  • last_name - The last name of the person associated with this Account.

  • company - The company name associated with this Account.

  • address_1 - First line of this Account's billing address.

  • address_2 - Second line of this Account's billing address.

  • phone - The phone number associated with this Account.

  • city - The city for this Account's billing address.

  • state - 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.

  • country - The two-letter country code of this Account's billing address.

  • zip - The zip code of this Account's billing address.

  • balance - This Account's balance, in US dollars.

Declaration
public static Task<GetAccountResult> InvokeAsync(InvokeOptions options = null)
Parameters
Type Name Description
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetAccountResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.