aiven logo
Aiven v6.3.0, May 23 23

aiven.getBillingGroup

Explore with Pulumi AI

The Billing Group data source provides information about the existing Aiven Account.

Example Usage

Coming soon!

Coming soon!

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 foo = AivenFunctions.getBillingGroup(GetBillingGroupArgs.builder()
            .name("<BILLING_GROUP_NAME>")
            .build());

    }
}

Coming soon!

Coming soon!

variables:
  foo:
    fn::invoke:
      Function: aiven:getBillingGroup
      Arguments:
        name: <BILLING_GROUP_NAME>

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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aiven:index/getBillingGroup:getBillingGroup
  arguments:
    # arguments dictionary

The following arguments are supported:

BillingGroupId string

The id of the billing group. To set up proper dependencies please refer to this variable as a reference.

BillingGroupId string

The id of the billing group. To set up proper dependencies please refer to this variable as a reference.

billingGroupId String

The id of the billing group. To set up proper dependencies please refer to this variable as a reference.

billingGroupId string

The id of the billing group. To set up proper dependencies please refer to this variable as a reference.

billing_group_id str

The id of the billing group. To set up proper dependencies please refer to this variable as a reference.

billingGroupId String

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

BillingCurrency string

Billing currency

BillingEmails List<string>

Billing contact emails

BillingExtraText string

Billing extra text

BillingGroupId string

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

Company string

Company name

CopyFromBillingGroup string

ID of the billing group to copy from

CountryCode string

Country code

Id string

The provider-assigned unique ID for this managed resource.

Name string

Billing Group name

State string

State

VatId string

VAT id

ZipCode string

Zip Code

AccountId string

Account id

AddressLines []string

Address lines

BillingCurrency string

Billing currency

BillingEmails []string

Billing contact emails

BillingExtraText string

Billing extra text

BillingGroupId string

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

Company string

Company name

CopyFromBillingGroup string

ID of the billing group to copy from

CountryCode string

Country code

Id string

The provider-assigned unique ID for this managed resource.

Name string

Billing Group name

State string

State

VatId string

VAT id

ZipCode string

Zip Code

accountId String

Account id

addressLines List<String>

Address lines

billingCurrency String

Billing currency

billingEmails List<String>

Billing contact emails

billingExtraText String

Billing extra text

billingGroupId String

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

company String

Company name

copyFromBillingGroup String

ID of the billing group to copy from

countryCode String

Country code

id String

The provider-assigned unique ID for this managed resource.

name String

Billing Group name

state String

State

vatId String

VAT id

zipCode String

Zip Code

accountId string

Account id

addressLines string[]

Address lines

billingCurrency string

Billing currency

billingEmails string[]

Billing contact emails

billingExtraText string

Billing extra text

billingGroupId string

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

company string

Company name

copyFromBillingGroup string

ID of the billing group to copy from

countryCode string

Country code

id string

The provider-assigned unique ID for this managed resource.

name string

Billing Group name

state string

State

vatId string

VAT id

zipCode string

Zip Code

account_id str

Account id

address_lines Sequence[str]

Address lines

billing_currency str

Billing currency

billing_emails Sequence[str]

Billing contact emails

billing_extra_text str

Billing extra text

billing_group_id str

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

company str

Company name

copy_from_billing_group str

ID of the billing group to copy from

country_code str

Country code

id str

The provider-assigned unique ID for this managed resource.

name str

Billing Group name

state str

State

vat_id str

VAT id

zip_code str

Zip Code

accountId String

Account id

addressLines List<String>

Address lines

billingCurrency String

Billing currency

billingEmails List<String>

Billing contact emails

billingExtraText String

Billing extra text

billingGroupId String

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

company String

Company name

copyFromBillingGroup String

ID of the billing group to copy from

countryCode String

Country code

id String

The provider-assigned unique ID for this managed resource.

name String

Billing Group name

state String

State

vatId String

VAT id

zipCode String

Zip Code

Package Details

Repository
Aiven pulumi/pulumi-aiven
License
Apache-2.0
Notes

This Pulumi package is based on the aiven Terraform Provider.