Creates and manages billing groups and assigns them to projects.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const exampleBillingGroup = new aiven.BillingGroup("example_billing_group", {
name: "example-billing-group",
billingCurrency: "USD",
vatId: "123ABC",
parentId: main.id,
});
const exampleProject = new aiven.Project("example_project", {
project: "example-project",
billingGroup: exampleBillingGroup.id,
});
import pulumi
import pulumi_aiven as aiven
example_billing_group = aiven.BillingGroup("example_billing_group",
name="example-billing-group",
billing_currency="USD",
vat_id="123ABC",
parent_id=main["id"])
example_project = aiven.Project("example_project",
project="example-project",
billing_group=example_billing_group.id)
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 {
exampleBillingGroup, err := aiven.NewBillingGroup(ctx, "example_billing_group", &aiven.BillingGroupArgs{
Name: pulumi.String("example-billing-group"),
BillingCurrency: pulumi.String("USD"),
VatId: pulumi.String("123ABC"),
ParentId: pulumi.Any(main.Id),
})
if err != nil {
return err
}
_, err = aiven.NewProject(ctx, "example_project", &aiven.ProjectArgs{
Project: pulumi.String("example-project"),
BillingGroup: exampleBillingGroup.ID(),
})
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 = new Aiven.BillingGroup("example_billing_group", new()
{
Name = "example-billing-group",
BillingCurrency = "USD",
VatId = "123ABC",
ParentId = main.Id,
});
var exampleProject = new Aiven.Project("example_project", new()
{
ProjectName = "example-project",
BillingGroup = exampleBillingGroup.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.BillingGroup;
import com.pulumi.aiven.BillingGroupArgs;
import com.pulumi.aiven.Project;
import com.pulumi.aiven.ProjectArgs;
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) {
var exampleBillingGroup = new BillingGroup("exampleBillingGroup", BillingGroupArgs.builder()
.name("example-billing-group")
.billingCurrency("USD")
.vatId("123ABC")
.parentId(main.id())
.build());
var exampleProject = new Project("exampleProject", ProjectArgs.builder()
.project("example-project")
.billingGroup(exampleBillingGroup.id())
.build());
}
}
resources:
exampleBillingGroup:
type: aiven:BillingGroup
name: example_billing_group
properties:
name: example-billing-group
billingCurrency: USD
vatId: 123ABC
parentId: ${main.id}
exampleProject:
type: aiven:Project
name: example_project
properties:
project: example-project
billingGroup: ${exampleBillingGroup.id}
Create BillingGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BillingGroup(name: string, args: BillingGroupArgs, opts?: CustomResourceOptions);@overload
def BillingGroup(resource_name: str,
args: BillingGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BillingGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
parent_id: Optional[str] = None,
billing_emails: Optional[Sequence[str]] = None,
country_code: Optional[str] = None,
billing_currency: Optional[str] = None,
account_id: Optional[str] = None,
billing_extra_text: Optional[str] = None,
card_id: Optional[str] = None,
billing_contact_emails: Optional[Sequence[str]] = None,
city: Optional[str] = None,
copy_from_billing_group: Optional[str] = None,
company: Optional[str] = None,
name: Optional[str] = None,
address_lines: Optional[Sequence[str]] = None,
state: Optional[str] = None,
timeouts: Optional[BillingGroupTimeoutsArgs] = None,
vat_id: Optional[str] = None,
zip_code: Optional[str] = None)func NewBillingGroup(ctx *Context, name string, args BillingGroupArgs, opts ...ResourceOption) (*BillingGroup, error)public BillingGroup(string name, BillingGroupArgs args, CustomResourceOptions? opts = null)
public BillingGroup(String name, BillingGroupArgs args)
public BillingGroup(String name, BillingGroupArgs args, CustomResourceOptions options)
type: aiven:BillingGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BillingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BillingGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BillingGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BillingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BillingGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var billingGroupResource = new Aiven.BillingGroup("billingGroupResource", new()
{
ParentId = "string",
BillingEmails = new[]
{
"string",
},
CountryCode = "string",
BillingCurrency = "string",
BillingExtraText = "string",
CardId = "string",
BillingContactEmails = new[]
{
"string",
},
City = "string",
CopyFromBillingGroup = "string",
Company = "string",
Name = "string",
AddressLines = new[]
{
"string",
},
State = "string",
Timeouts = new Aiven.Inputs.BillingGroupTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
VatId = "string",
ZipCode = "string",
});
example, err := aiven.NewBillingGroup(ctx, "billingGroupResource", &aiven.BillingGroupArgs{
ParentId: pulumi.String("string"),
BillingEmails: pulumi.StringArray{
pulumi.String("string"),
},
CountryCode: pulumi.String("string"),
BillingCurrency: pulumi.String("string"),
BillingExtraText: pulumi.String("string"),
CardId: pulumi.String("string"),
BillingContactEmails: pulumi.StringArray{
pulumi.String("string"),
},
City: pulumi.String("string"),
CopyFromBillingGroup: pulumi.String("string"),
Company: pulumi.String("string"),
Name: pulumi.String("string"),
AddressLines: pulumi.StringArray{
pulumi.String("string"),
},
State: pulumi.String("string"),
Timeouts: &aiven.BillingGroupTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
VatId: pulumi.String("string"),
ZipCode: pulumi.String("string"),
})
var billingGroupResource = new BillingGroup("billingGroupResource", BillingGroupArgs.builder()
.parentId("string")
.billingEmails("string")
.countryCode("string")
.billingCurrency("string")
.billingExtraText("string")
.cardId("string")
.billingContactEmails("string")
.city("string")
.copyFromBillingGroup("string")
.company("string")
.name("string")
.addressLines("string")
.state("string")
.timeouts(BillingGroupTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.vatId("string")
.zipCode("string")
.build());
billing_group_resource = aiven.BillingGroup("billingGroupResource",
parent_id="string",
billing_emails=["string"],
country_code="string",
billing_currency="string",
billing_extra_text="string",
card_id="string",
billing_contact_emails=["string"],
city="string",
copy_from_billing_group="string",
company="string",
name="string",
address_lines=["string"],
state="string",
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
},
vat_id="string",
zip_code="string")
const billingGroupResource = new aiven.BillingGroup("billingGroupResource", {
parentId: "string",
billingEmails: ["string"],
countryCode: "string",
billingCurrency: "string",
billingExtraText: "string",
cardId: "string",
billingContactEmails: ["string"],
city: "string",
copyFromBillingGroup: "string",
company: "string",
name: "string",
addressLines: ["string"],
state: "string",
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
vatId: "string",
zipCode: "string",
});
type: aiven:BillingGroup
properties:
addressLines:
- string
billingContactEmails:
- string
billingCurrency: string
billingEmails:
- string
billingExtraText: string
cardId: string
city: string
company: string
copyFromBillingGroup: string
countryCode: string
name: string
parentId: string
state: string
timeouts:
create: string
delete: string
read: string
update: string
vatId: string
zipCode: string
BillingGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BillingGroup resource accepts the following input properties:
- Parent
Id string - Link a billing group to an existing organization by using its ID.
- Account
Id string - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - Address
Lines List<string> - Address lines 1 and 2. For example, street, PO box, or building.
- Billing
Contact List<string>Emails - List of billing groups contact email addresses.
- Billing
Currency string - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - Billing
Emails List<string> - List of project billing email addresses.
- Billing
Extra stringText - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - Card
Id string - Credit card ID. Maximum length:
64. - City string
- Address city. Maximum length:
512. - Company string
- Name of a company. Maximum length:
128. - Copy
From stringBilling Group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - Country
Code string - Two letter country code for billing country. Maximum length:
2. - Name string
- Billing group name. Maximum length:
128. - State string
- Address state or province. Maximum length:
128. - Timeouts
Billing
Group Timeouts - Vat
Id string - EU VAT Identification Number. Maximum length:
64. - Zip
Code string - Address zip code. Maximum length:
32.
- Parent
Id string - Link a billing group to an existing organization by using its ID.
- Account
Id string - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - Address
Lines []string - Address lines 1 and 2. For example, street, PO box, or building.
- Billing
Contact []stringEmails - List of billing groups contact email addresses.
- Billing
Currency string - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - Billing
Emails []string - List of project billing email addresses.
- Billing
Extra stringText - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - Card
Id string - Credit card ID. Maximum length:
64. - City string
- Address city. Maximum length:
512. - Company string
- Name of a company. Maximum length:
128. - Copy
From stringBilling Group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - Country
Code string - Two letter country code for billing country. Maximum length:
2. - Name string
- Billing group name. Maximum length:
128. - State string
- Address state or province. Maximum length:
128. - Timeouts
Billing
Group Timeouts Args - Vat
Id string - EU VAT Identification Number. Maximum length:
64. - Zip
Code string - Address zip code. Maximum length:
32.
- parent
Id String - Link a billing group to an existing organization by using its ID.
- account
Id String - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - address
Lines List<String> - Address lines 1 and 2. For example, street, PO box, or building.
- billing
Contact List<String>Emails - List of billing groups contact email addresses.
- billing
Currency String - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - billing
Emails List<String> - List of project billing email addresses.
- billing
Extra StringText - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - card
Id String - Credit card ID. Maximum length:
64. - city String
- Address city. Maximum length:
512. - company String
- Name of a company. Maximum length:
128. - copy
From StringBilling Group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - country
Code String - Two letter country code for billing country. Maximum length:
2. - name String
- Billing group name. Maximum length:
128. - state String
- Address state or province. Maximum length:
128. - timeouts
Billing
Group Timeouts - vat
Id String - EU VAT Identification Number. Maximum length:
64. - zip
Code String - Address zip code. Maximum length:
32.
- parent
Id string - Link a billing group to an existing organization by using its ID.
- account
Id string - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - address
Lines string[] - Address lines 1 and 2. For example, street, PO box, or building.
- billing
Contact string[]Emails - List of billing groups contact email addresses.
- billing
Currency string - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - billing
Emails string[] - List of project billing email addresses.
- billing
Extra stringText - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - card
Id string - Credit card ID. Maximum length:
64. - city string
- Address city. Maximum length:
512. - company string
- Name of a company. Maximum length:
128. - copy
From stringBilling Group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - country
Code string - Two letter country code for billing country. Maximum length:
2. - name string
- Billing group name. Maximum length:
128. - state string
- Address state or province. Maximum length:
128. - timeouts
Billing
Group Timeouts - vat
Id string - EU VAT Identification Number. Maximum length:
64. - zip
Code string - Address zip code. Maximum length:
32.
- parent_
id str - Link a billing group to an existing organization by using its ID.
- account_
id str - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - address_
lines Sequence[str] - Address lines 1 and 2. For example, street, PO box, or building.
- billing_
contact_ Sequence[str]emails - List of billing groups contact email addresses.
- billing_
currency str - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - billing_
emails Sequence[str] - List of project billing email addresses.
- billing_
extra_ strtext - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - card_
id str - Credit card ID. Maximum length:
64. - city str
- Address city. Maximum length:
512. - company str
- Name of a company. Maximum length:
128. - copy_
from_ strbilling_ group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - country_
code str - Two letter country code for billing country. Maximum length:
2. - name str
- Billing group name. Maximum length:
128. - state str
- Address state or province. Maximum length:
128. - timeouts
Billing
Group Timeouts Args - vat_
id str - EU VAT Identification Number. Maximum length:
64. - zip_
code str - Address zip code. Maximum length:
32.
- parent
Id String - Link a billing group to an existing organization by using its ID.
- account
Id String - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - address
Lines List<String> - Address lines 1 and 2. For example, street, PO box, or building.
- billing
Contact List<String>Emails - List of billing groups contact email addresses.
- billing
Currency String - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - billing
Emails List<String> - List of project billing email addresses.
- billing
Extra StringText - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - card
Id String - Credit card ID. Maximum length:
64. - city String
- Address city. Maximum length:
512. - company String
- Name of a company. Maximum length:
128. - copy
From StringBilling Group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - country
Code String - Two letter country code for billing country. Maximum length:
2. - name String
- Billing group name. Maximum length:
128. - state String
- Address state or province. Maximum length:
128. - timeouts Property Map
- vat
Id String - EU VAT Identification Number. Maximum length:
64. - zip
Code String - Address zip code. Maximum length:
32.
Outputs
All input properties are implicitly available as output properties. Additionally, the BillingGroup resource produces the following output properties:
- Billing
Group stringId - The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- Id string
- The provider-assigned unique ID for this managed resource.
- Billing
Group stringId - The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- Id string
- The provider-assigned unique ID for this managed resource.
- billing
Group StringId - The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- id String
- The provider-assigned unique ID for this managed resource.
- billing
Group stringId - The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- id string
- The provider-assigned unique ID for this managed resource.
- billing_
group_ strid - The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- id str
- The provider-assigned unique ID for this managed resource.
- billing
Group StringId - The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing BillingGroup Resource
Get an existing BillingGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BillingGroupState, opts?: CustomResourceOptions): BillingGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
address_lines: Optional[Sequence[str]] = None,
billing_contact_emails: Optional[Sequence[str]] = None,
billing_currency: Optional[str] = None,
billing_emails: Optional[Sequence[str]] = None,
billing_extra_text: Optional[str] = None,
billing_group_id: Optional[str] = None,
card_id: Optional[str] = None,
city: Optional[str] = None,
company: Optional[str] = None,
copy_from_billing_group: Optional[str] = None,
country_code: Optional[str] = None,
name: Optional[str] = None,
parent_id: Optional[str] = None,
state: Optional[str] = None,
timeouts: Optional[BillingGroupTimeoutsArgs] = None,
vat_id: Optional[str] = None,
zip_code: Optional[str] = None) -> BillingGroupfunc GetBillingGroup(ctx *Context, name string, id IDInput, state *BillingGroupState, opts ...ResourceOption) (*BillingGroup, error)public static BillingGroup Get(string name, Input<string> id, BillingGroupState? state, CustomResourceOptions? opts = null)public static BillingGroup get(String name, Output<String> id, BillingGroupState state, CustomResourceOptions options)resources: _: type: aiven:BillingGroup get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - Address
Lines List<string> - Address lines 1 and 2. For example, street, PO box, or building.
- Billing
Contact List<string>Emails - List of billing groups contact email addresses.
- Billing
Currency string - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - Billing
Emails List<string> - List of project billing email addresses.
- Billing
Extra stringText - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - 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. Maximum length:
64. - City string
- Address city. Maximum length:
512. - Company string
- Name of a company. Maximum length:
128. - Copy
From stringBilling Group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - Country
Code string - Two letter country code for billing country. Maximum length:
2. - Name string
- Billing group name. Maximum length:
128. - Parent
Id string - Link a billing group to an existing organization by using its ID.
- State string
- Address state or province. Maximum length:
128. - Timeouts
Billing
Group Timeouts - Vat
Id string - EU VAT Identification Number. Maximum length:
64. - Zip
Code string - Address zip code. Maximum length:
32.
- Account
Id string - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - Address
Lines []string - Address lines 1 and 2. For example, street, PO box, or building.
- Billing
Contact []stringEmails - List of billing groups contact email addresses.
- Billing
Currency string - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - Billing
Emails []string - List of project billing email addresses.
- Billing
Extra stringText - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - 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. Maximum length:
64. - City string
- Address city. Maximum length:
512. - Company string
- Name of a company. Maximum length:
128. - Copy
From stringBilling Group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - Country
Code string - Two letter country code for billing country. Maximum length:
2. - Name string
- Billing group name. Maximum length:
128. - Parent
Id string - Link a billing group to an existing organization by using its ID.
- State string
- Address state or province. Maximum length:
128. - Timeouts
Billing
Group Timeouts Args - Vat
Id string - EU VAT Identification Number. Maximum length:
64. - Zip
Code string - Address zip code. Maximum length:
32.
- account
Id String - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - address
Lines List<String> - Address lines 1 and 2. For example, street, PO box, or building.
- billing
Contact List<String>Emails - List of billing groups contact email addresses.
- billing
Currency String - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - billing
Emails List<String> - List of project billing email addresses.
- billing
Extra StringText - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - 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. Maximum length:
64. - city String
- Address city. Maximum length:
512. - company String
- Name of a company. Maximum length:
128. - copy
From StringBilling Group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - country
Code String - Two letter country code for billing country. Maximum length:
2. - name String
- Billing group name. Maximum length:
128. - parent
Id String - Link a billing group to an existing organization by using its ID.
- state String
- Address state or province. Maximum length:
128. - timeouts
Billing
Group Timeouts - vat
Id String - EU VAT Identification Number. Maximum length:
64. - zip
Code String - Address zip code. Maximum length:
32.
- account
Id string - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - address
Lines string[] - Address lines 1 and 2. For example, street, PO box, or building.
- billing
Contact string[]Emails - List of billing groups contact email addresses.
- billing
Currency string - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - billing
Emails string[] - List of project billing email addresses.
- billing
Extra stringText - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - 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. Maximum length:
64. - city string
- Address city. Maximum length:
512. - company string
- Name of a company. Maximum length:
128. - copy
From stringBilling Group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - country
Code string - Two letter country code for billing country. Maximum length:
2. - name string
- Billing group name. Maximum length:
128. - parent
Id string - Link a billing group to an existing organization by using its ID.
- state string
- Address state or province. Maximum length:
128. - timeouts
Billing
Group Timeouts - vat
Id string - EU VAT Identification Number. Maximum length:
64. - zip
Code string - Address zip code. Maximum length:
32.
- account_
id str - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - address_
lines Sequence[str] - Address lines 1 and 2. For example, street, PO box, or building.
- billing_
contact_ Sequence[str]emails - List of billing groups contact email addresses.
- billing_
currency str - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - billing_
emails Sequence[str] - List of project billing email addresses.
- billing_
extra_ strtext - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - 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. Maximum length:
64. - city str
- Address city. Maximum length:
512. - company str
- Name of a company. Maximum length:
128. - copy_
from_ strbilling_ group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - country_
code str - Two letter country code for billing country. Maximum length:
2. - name str
- Billing group name. Maximum length:
128. - parent_
id str - Link a billing group to an existing organization by using its ID.
- state str
- Address state or province. Maximum length:
128. - timeouts
Billing
Group Timeouts Args - vat_
id str - EU VAT Identification Number. Maximum length:
64. - zip_
code str - Address zip code. Maximum length:
32.
- account
Id String - Account ID. Maximum length:
36. Deprecated: Useparent_idinstead. This field will be removed in the next major release. - address
Lines List<String> - Address lines 1 and 2. For example, street, PO box, or building.
- billing
Contact List<String>Emails - List of billing groups contact email addresses.
- billing
Currency String - Billing currency. The possible values are
AUD,CAD,CHF,DKK,EUR,GBP,JPY,NOK,NZD,SEK,SGDandUSD. - billing
Emails List<String> - List of project billing email addresses.
- billing
Extra StringText - Extra text to be included in all project invoices, e.g. purchase order or cost center number. Maximum length:
1000. - 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. Maximum length:
64. - city String
- Address city. Maximum length:
512. - company String
- Name of a company. Maximum length:
128. - copy
From StringBilling Group - Billing group ID. Maximum length:
36. Changing this property forces recreation of the resource. - country
Code String - Two letter country code for billing country. Maximum length:
2. - name String
- Billing group name. Maximum length:
128. - parent
Id String - Link a billing group to an existing organization by using its ID.
- state String
- Address state or province. Maximum length:
128. - timeouts Property Map
- vat
Id String - EU VAT Identification Number. Maximum length:
64. - zip
Code String - Address zip code. Maximum length:
32.
Supporting Types
BillingGroupTimeouts, BillingGroupTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Default string
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Default string
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default_ String
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default string
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default str
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default String
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
$ pulumi import aiven:index/billingGroup:BillingGroup example BILLING_GROUP_ID
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
