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:
- Billing
Account string The name of the billing account in the form
{billing_account_id}orbillingAccounts/{billing_account_id}.- Display
Name string The display name of the billing account.
- Open bool
trueif the billing account is open,falseif the billing account is closed.
- Billing
Account string The name of the billing account in the form
{billing_account_id}orbillingAccounts/{billing_account_id}.- Display
Name string The display name of the billing account.
- Open bool
trueif the billing account is open,falseif the billing account is closed.
- billing
Account string The name of the billing account in the form
{billing_account_id}orbillingAccounts/{billing_account_id}.- display
Name string The display name of the billing account.
- open boolean
trueif the billing account is open,falseif the billing account is closed.
- billing_
account str The name of the billing account in the form
{billing_account_id}orbillingAccounts/{billing_account_id}.- display_
name str The display name of the billing account.
- open bool
trueif the billing account is open,falseif the billing account is closed.
GetBillingAccount Result
The following output properties are available:
- Display
Name 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
- Project
Ids List<string> The IDs of any projects associated with the billing account.
- Billing
Account string
- Display
Name 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
- Project
Ids []string The IDs of any projects associated with the billing account.
- Billing
Account string
- display
Name 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
- project
Ids string[] The IDs of any projects associated with the billing account.
- billing
Account 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-betaTerraform Provider.