GetBillingAccount

Use this data source to get information about a Google Billing Account.

Using GetBillingAccount

function getBillingAccount(args: GetBillingAccountArgs, opts?: InvokeOptions): Promise<GetBillingAccountResult>
function  get_billing_account(billing_account=None, display_name=None, open=None, opts=None)
func GetBillingAccount(ctx *Context, args *GetBillingAccountArgs, opts ...InvokeOption) (*GetBillingAccountResult, error)
public static class GetBillingAccount {
    public static Task<GetBillingAccountResult> InvokeAsync(GetBillingAccountArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

BillingAccount string

The name of the billing account in the form {billing_account_id} or billingAccounts/{billing_account_id}.

DisplayName string

The display name of the billing account.

Open bool

true if the billing account is open, false if the billing account is closed.

BillingAccount string

The name of the billing account in the form {billing_account_id} or billingAccounts/{billing_account_id}.

DisplayName string

The display name of the billing account.

Open bool

true if the billing account is open, false if the billing account is closed.

billingAccount string

The name of the billing account in the form {billing_account_id} or billingAccounts/{billing_account_id}.

displayName string

The display name of the billing account.

open boolean

true if the billing account is open, false if the billing account is closed.

billing_account str

The name of the billing account in the form {billing_account_id} or billingAccounts/{billing_account_id}.

display_name str

The display name of the billing account.

open bool

true if the billing account is open, false if the billing account is closed.

GetBillingAccount Result

The following output properties are available:

DisplayName string
Id string

The provider-assigned unique ID for this managed resource.

Name string

The resource name of the billing account in the form billingAccounts/{billing_account_id}.

Open bool
ProjectIds List<string>

The IDs of any projects associated with the billing account.

BillingAccount string
DisplayName string
Id string

The provider-assigned unique ID for this managed resource.

Name string

The resource name of the billing account in the form billingAccounts/{billing_account_id}.

Open bool
ProjectIds []string

The IDs of any projects associated with the billing account.

BillingAccount string
displayName string
id string

The provider-assigned unique ID for this managed resource.

name string

The resource name of the billing account in the form billingAccounts/{billing_account_id}.

open boolean
projectIds string[]

The IDs of any projects associated with the billing account.

billingAccount string
display_name str
id str

The provider-assigned unique ID for this managed resource.

name str

The resource name of the billing account in the form billingAccounts/{billing_account_id}.

open bool
project_ids List[str]

The IDs of any projects associated with the billing account.

billing_account str

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.