Aiven

Pulumi Official
Package maintained by Pulumi
v4.5.1 published on Friday, Apr 22, 2022 by Pulumi

getBillingGroup

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

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = Output.Create(Aiven.GetBillingGroup.InvokeAsync(new Aiven.GetBillingGroupArgs
        {
            Name = "<BILLING_GROUP_NAME>",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-aiven/sdk/v4/go/aiven"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aiven.LookupBillingGroup(ctx, &GetBillingGroupArgs{
			Name: "<BILLING_GROUP_NAME>",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aiven as aiven

foo = aiven.get_billing_group(name="<BILLING_GROUP_NAME>")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const foo = pulumi.output(aiven.getBillingGroup({
    name: "<BILLING_GROUP_NAME>",
}));

Coming soon!

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(name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetBillingGroupResult
def get_billing_group_output(name: 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:

Name string

Billing Group name

Name string

Billing Group name

name String

Billing Group name

name string

Billing Group name

name str

Billing Group name

name String

Billing Group name

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

CardId string

Credit card id

City string

City

Company string

Company name

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

CardId string

Credit card id

City string

City

Company string

Company name

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

Address lines

billingCurrency String

Billing currency

billingEmails List

Billing contact emails

billingExtraText String

Billing extra text

cardId String

Credit card id

city String

City

company String

Company name

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

cardId string

Credit card id

city string

City

company string

Company name

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

card_id str

Credit card id

city str

City

company str

Company name

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

Address lines

billingCurrency String

Billing currency

billingEmails List

Billing contact emails

billingExtraText String

Billing extra text

cardId String

Credit card id

city String

City

company String

Company name

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
https://github.com/pulumi/pulumi-aiven
License
Apache-2.0
Notes

This Pulumi package is based on the aiven Terraform Provider.