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:
- Billing
Group stringId The id of the billing group. To set up proper dependencies please refer to this variable as a reference.
- Billing
Group stringId The id of the billing group. To set up proper dependencies please refer to this variable as a reference.
- billing
Group StringId The id of the billing group. To set up proper dependencies please refer to this variable as a reference.
- billing
Group 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.
- billing
Group 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:
- Account
Id string Account id
- Address
Lines List<string> Address lines
- Billing
Currency string Billing currency
- Billing
Emails List<string> Billing contact emails
- Billing
Extra stringText Billing extra text
- Billing
Group stringId The id of the billing group. To set up proper dependencies please refer to this variable as a reference.
- Card
Id string Credit card id
- City string
City
- Company string
Company name
- Copy
From stringBilling Group ID of the billing group to copy from
- Country
Code string Country code
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Billing Group name
- Parent
Id string An optional property to link a billing group to an already existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
- State string
State
- Vat
Id string VAT id
- Zip
Code string Zip Code
- Account
Id string Account id
- Address
Lines []string Address lines
- Billing
Currency string Billing currency
- Billing
Emails []string Billing contact emails
- Billing
Extra stringText Billing extra text
- Billing
Group stringId The id of the billing group. To set up proper dependencies please refer to this variable as a reference.
- Card
Id string Credit card id
- City string
City
- Company string
Company name
- Copy
From stringBilling Group ID of the billing group to copy from
- Country
Code string Country code
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Billing Group name
- Parent
Id string An optional property to link a billing group to an already existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
- State string
State
- Vat
Id string VAT id
- Zip
Code string Zip Code
- account
Id String Account id
- address
Lines List<String> Address lines
- billing
Currency String Billing currency
- billing
Emails List<String> Billing contact emails
- billing
Extra StringText Billing extra text
- billing
Group StringId The id of the billing group. To set up proper dependencies please refer to this variable as a reference.
- card
Id String Credit card id
- city String
City
- company String
Company name
- copy
From StringBilling Group ID of the billing group to copy from
- country
Code String Country code
- id String
The provider-assigned unique ID for this managed resource.
- name String
Billing Group name
- parent
Id String An optional property to link a billing group to an already existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
- state String
State
- vat
Id String VAT id
- zip
Code String Zip Code
- account
Id string Account id
- address
Lines string[] Address lines
- billing
Currency string Billing currency
- billing
Emails string[] Billing contact emails
- billing
Extra stringText Billing extra text
- billing
Group stringId The id of the billing group. To set up proper dependencies please refer to this variable as a reference.
- card
Id string Credit card id
- city string
City
- company string
Company name
- copy
From stringBilling Group ID of the billing group to copy from
- country
Code string Country code
- id string
The provider-assigned unique ID for this managed resource.
- name string
Billing Group name
- parent
Id string An optional property to link a billing group to an already existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
- state string
State
- vat
Id string VAT id
- zip
Code 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_ strtext Billing extra text
- 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
- company str
Company name
- copy_
from_ strbilling_ group 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
- parent_
id str An optional property to link a billing group to an already existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
- state str
State
- vat_
id str VAT id
- zip_
code str Zip Code
- account
Id String Account id
- address
Lines List<String> Address lines
- billing
Currency String Billing currency
- billing
Emails List<String> Billing contact emails
- billing
Extra StringText Billing extra text
- billing
Group StringId The id of the billing group. To set up proper dependencies please refer to this variable as a reference.
- card
Id String Credit card id
- city String
City
- company String
Company name
- copy
From StringBilling Group ID of the billing group to copy from
- country
Code String Country code
- id String
The provider-assigned unique ID for this managed resource.
- name String
Billing Group name
- parent
Id String An optional property to link a billing group to an already existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
- state String
State
- vat
Id String VAT id
- zip
Code 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.