Aiven v6.36.0 published on Thursday, Mar 13, 2025 by Pulumi
aiven.getBillingGroup
Explore with Pulumi AI
Gets information about a billing group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const exampleBillingGroup = aiven.getBillingGroup({
    billingGroupId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
});
import pulumi
import pulumi_aiven as aiven
example_billing_group = aiven.get_billing_group(billing_group_id="1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d")
package main
import (
	"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aiven.LookupBillingGroup(ctx, &aiven.LookupBillingGroupArgs{
			BillingGroupId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() => 
{
    var exampleBillingGroup = Aiven.GetBillingGroup.Invoke(new()
    {
        BillingGroupId = "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetBillingGroupArgs;
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 exampleBillingGroup = AivenFunctions.getBillingGroup(GetBillingGroupArgs.builder()
            .billingGroupId("1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d")
            .build());
    }
}
variables:
  exampleBillingGroup:
    fn::invoke:
      function: aiven:getBillingGroup
      arguments:
        billingGroupId: 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
Using getBillingGroup
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 getBillingGroup(args: GetBillingGroupArgs, opts?: InvokeOptions): Promise<GetBillingGroupResult>
function getBillingGroupOutput(args: GetBillingGroupOutputArgs, opts?: InvokeOptions): Output<GetBillingGroupResult>def get_billing_group(billing_group_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetBillingGroupResult
def get_billing_group_output(billing_group_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetBillingGroupResult]func LookupBillingGroup(ctx *Context, args *LookupBillingGroupArgs, opts ...InvokeOption) (*LookupBillingGroupResult, error)
func LookupBillingGroupOutput(ctx *Context, args *LookupBillingGroupOutputArgs, opts ...InvokeOption) LookupBillingGroupResultOutput> Note: This function is named LookupBillingGroup in the Go SDK.
public static class GetBillingGroup 
{
    public static Task<GetBillingGroupResult> InvokeAsync(GetBillingGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetBillingGroupResult> Invoke(GetBillingGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBillingGroupResult> getBillingGroup(GetBillingGroupArgs args, InvokeOptions options)
public static Output<GetBillingGroupResult> getBillingGroup(GetBillingGroupArgs args, InvokeOptions options)
fn::invoke:
  function: aiven:index/getBillingGroup:getBillingGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BillingGroup stringId 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- BillingGroup stringId 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- billingGroup StringId 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- billingGroup stringId 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- billing_group_ strid 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- billingGroup StringId 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
getBillingGroup Result
The following output properties are available:
- AccountId string
- Account ID.
- AddressLines List<string>
- Address lines 1 and 2. For example, street, PO box, or building.
- BillingCurrency string
- Billing currency for the billing group. Supported currencies are: AUD, CAD, CHF, DKK, EUR, GBP, JPY, NOK, NZD, SEK, SGD, and USD.
- BillingEmails List<string>
- Email address of billing contacts. Invoices and other payment notifications are emailed to all billing contacts.
- BillingExtra stringText 
- Additional information to include on your invoice (for example, a reference number).
- BillingGroup stringId 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- CardId string
- Credit card ID.
- City string
- City, district, suburb, town, or village.
- Company string
- Your company name.
- CopyFrom stringBilling Group 
- ID of the billing group to copy the company name, address, currency, billing contacts, and extra text from.
- CountryCode string
- Two-letter country code.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the billing group.
- ParentId string
- Link a billing group to an existing organization by using its ID. To set up proper dependencies please refer to this variable as a reference.
- State string
- Address state.
- VatId string
- The VAT identification number for your company.
- ZipCode string
- Zip or postal code.
- AccountId string
- Account ID.
- AddressLines []string
- Address lines 1 and 2. For example, street, PO box, or building.
- BillingCurrency string
- Billing currency for the billing group. Supported currencies are: AUD, CAD, CHF, DKK, EUR, GBP, JPY, NOK, NZD, SEK, SGD, and USD.
- BillingEmails []string
- Email address of billing contacts. Invoices and other payment notifications are emailed to all billing contacts.
- BillingExtra stringText 
- Additional information to include on your invoice (for example, a reference number).
- BillingGroup stringId 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- CardId string
- Credit card ID.
- City string
- City, district, suburb, town, or village.
- Company string
- Your company name.
- CopyFrom stringBilling Group 
- ID of the billing group to copy the company name, address, currency, billing contacts, and extra text from.
- CountryCode string
- Two-letter country code.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the billing group.
- ParentId string
- Link a billing group to an existing organization by using its ID. To set up proper dependencies please refer to this variable as a reference.
- State string
- Address state.
- VatId string
- The VAT identification number for your company.
- ZipCode string
- Zip or postal code.
- accountId String
- Account ID.
- addressLines List<String>
- Address lines 1 and 2. For example, street, PO box, or building.
- billingCurrency String
- Billing currency for the billing group. Supported currencies are: AUD, CAD, CHF, DKK, EUR, GBP, JPY, NOK, NZD, SEK, SGD, and USD.
- billingEmails List<String>
- Email address of billing contacts. Invoices and other payment notifications are emailed to all billing contacts.
- billingExtra StringText 
- Additional information to include on your invoice (for example, a reference number).
- billingGroup StringId 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- cardId String
- Credit card ID.
- city String
- City, district, suburb, town, or village.
- company String
- Your company name.
- copyFrom StringBilling Group 
- ID of the billing group to copy the company name, address, currency, billing contacts, and extra text from.
- countryCode String
- Two-letter country code.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the billing group.
- parentId String
- Link a billing group to an existing organization by using its ID. To set up proper dependencies please refer to this variable as a reference.
- state String
- Address state.
- vatId String
- The VAT identification number for your company.
- zipCode String
- Zip or postal code.
- accountId string
- Account ID.
- addressLines string[]
- Address lines 1 and 2. For example, street, PO box, or building.
- billingCurrency string
- Billing currency for the billing group. Supported currencies are: AUD, CAD, CHF, DKK, EUR, GBP, JPY, NOK, NZD, SEK, SGD, and USD.
- billingEmails string[]
- Email address of billing contacts. Invoices and other payment notifications are emailed to all billing contacts.
- billingExtra stringText 
- Additional information to include on your invoice (for example, a reference number).
- billingGroup stringId 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- cardId string
- Credit card ID.
- city string
- City, district, suburb, town, or village.
- company string
- Your company name.
- copyFrom stringBilling Group 
- ID of the billing group to copy the company name, address, currency, billing contacts, and extra text from.
- countryCode string
- Two-letter country code.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the billing group.
- parentId string
- Link a billing group to an existing organization by using its ID. To set up proper dependencies please refer to this variable as a reference.
- state string
- Address state.
- vatId string
- The VAT identification number for your company.
- zipCode string
- Zip or postal code.
- account_id str
- Account ID.
- address_lines Sequence[str]
- Address lines 1 and 2. For example, street, PO box, or building.
- billing_currency str
- Billing currency for the billing group. Supported currencies are: AUD, CAD, CHF, DKK, EUR, GBP, JPY, NOK, NZD, SEK, SGD, and USD.
- billing_emails Sequence[str]
- Email address of billing contacts. Invoices and other payment notifications are emailed to all billing contacts.
- billing_extra_ strtext 
- Additional information to include on your invoice (for example, a reference number).
- billing_group_ strid 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- card_id str
- Credit card ID.
- city str
- City, district, suburb, town, or village.
- company str
- Your company name.
- copy_from_ strbilling_ group 
- ID of the billing group to copy the company name, address, currency, billing contacts, and extra text from.
- country_code str
- Two-letter country code.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the billing group.
- parent_id str
- Link a billing group to an existing organization by using its ID. To set up proper dependencies please refer to this variable as a reference.
- state str
- Address state.
- vat_id str
- The VAT identification number for your company.
- zip_code str
- Zip or postal code.
- accountId String
- Account ID.
- addressLines List<String>
- Address lines 1 and 2. For example, street, PO box, or building.
- billingCurrency String
- Billing currency for the billing group. Supported currencies are: AUD, CAD, CHF, DKK, EUR, GBP, JPY, NOK, NZD, SEK, SGD, and USD.
- billingEmails List<String>
- Email address of billing contacts. Invoices and other payment notifications are emailed to all billing contacts.
- billingExtra StringText 
- Additional information to include on your invoice (for example, a reference number).
- billingGroup StringId 
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- cardId String
- Credit card ID.
- city String
- City, district, suburb, town, or village.
- company String
- Your company name.
- copyFrom StringBilling Group 
- ID of the billing group to copy the company name, address, currency, billing contacts, and extra text from.
- countryCode String
- Two-letter country code.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the billing group.
- parentId String
- Link a billing group to an existing organization by using its ID. To set up proper dependencies please refer to this variable as a reference.
- state String
- Address state.
- vatId String
- The VAT identification number for your company.
- zipCode String
- Zip or postal code.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the aivenTerraform Provider.