1. Packages
  2. Aiven Provider
  3. API Docs
  4. getBillingGroup
Aiven v6.25.0 published on Friday, Sep 27, 2024 by Pulumi

aiven.getBillingGroup

Explore with Pulumi AI

aiven logo
Aiven v6.25.0 published on Friday, Sep 27, 2024 by Pulumi

    Gets information about a billing group.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    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 exampleBillingGroup = AivenFunctions.getBillingGroup(GetBillingGroupArgs.builder()
                .name("example-billing-group")
                .build());
    
        }
    }
    
    variables:
      exampleBillingGroup:
        fn::invoke:
          Function: aiven:getBillingGroup
          Arguments:
            name: example-billing-group
    

    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 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.
    BillingExtraText string
    Additional information to include on your invoice (for example, a reference number).
    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, district, suburb, town, or village.
    Company string
    Your company name.
    CopyFromBillingGroup string
    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 or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
    State string
    State or province.
    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.
    BillingExtraText string
    Additional information to include on your invoice (for example, a reference number).
    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, district, suburb, town, or village.
    Company string
    Your company name.
    CopyFromBillingGroup string
    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 or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
    State string
    State or province.
    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.
    billingExtraText String
    Additional information to include on your invoice (for example, a reference number).
    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, district, suburb, town, or village.
    company String
    Your company name.
    copyFromBillingGroup String
    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 or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
    state String
    State or province.
    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.
    billingExtraText string
    Additional information to include on your invoice (for example, a reference number).
    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, district, suburb, town, or village.
    company string
    Your company name.
    copyFromBillingGroup string
    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 or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
    state string
    State or province.
    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_text str
    Additional information to include on your invoice (for example, a reference number).
    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, district, suburb, town, or village.
    company str
    Your company name.
    copy_from_billing_group str
    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 or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
    state str
    State or province.
    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.
    billingExtraText String
    Additional information to include on your invoice (for example, a reference number).
    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, district, suburb, town, or village.
    company String
    Your company name.
    copyFromBillingGroup String
    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 or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
    state String
    State or province.
    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 aiven Terraform Provider.
    aiven logo
    Aiven v6.25.0 published on Friday, Sep 27, 2024 by Pulumi