aiven.OrganizationBillingGroup
Explore with Pulumi AI
Creates and manages an organization billing group.
Create OrganizationBillingGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrganizationBillingGroup(name: string, args: OrganizationBillingGroupArgs, opts?: CustomResourceOptions);@overload
def OrganizationBillingGroup(resource_name: str,
                             args: OrganizationBillingGroupArgs,
                             opts: Optional[ResourceOptions] = None)
@overload
def OrganizationBillingGroup(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             billing_address_id: Optional[str] = None,
                             billing_contact_emails: Optional[Sequence[str]] = None,
                             billing_emails: Optional[Sequence[str]] = None,
                             billing_group_name: Optional[str] = None,
                             organization_id: Optional[str] = None,
                             payment_method_id: Optional[str] = None,
                             shipping_address_id: Optional[str] = None,
                             billing_currency: Optional[str] = None,
                             custom_invoice_text: Optional[str] = None,
                             timeouts: Optional[OrganizationBillingGroupTimeoutsArgs] = None,
                             vat_id: Optional[str] = None)func NewOrganizationBillingGroup(ctx *Context, name string, args OrganizationBillingGroupArgs, opts ...ResourceOption) (*OrganizationBillingGroup, error)public OrganizationBillingGroup(string name, OrganizationBillingGroupArgs args, CustomResourceOptions? opts = null)
public OrganizationBillingGroup(String name, OrganizationBillingGroupArgs args)
public OrganizationBillingGroup(String name, OrganizationBillingGroupArgs args, CustomResourceOptions options)
type: aiven:OrganizationBillingGroup
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 OrganizationBillingGroupArgs
- 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 OrganizationBillingGroupArgs
- 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 OrganizationBillingGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationBillingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationBillingGroupArgs
- 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 organizationBillingGroupResource = new Aiven.OrganizationBillingGroup("organizationBillingGroupResource", new()
{
    BillingAddressId = "string",
    BillingContactEmails = new[]
    {
        "string",
    },
    BillingEmails = new[]
    {
        "string",
    },
    BillingGroupName = "string",
    OrganizationId = "string",
    PaymentMethodId = "string",
    ShippingAddressId = "string",
    BillingCurrency = "string",
    CustomInvoiceText = "string",
    Timeouts = new Aiven.Inputs.OrganizationBillingGroupTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
    VatId = "string",
});
example, err := aiven.NewOrganizationBillingGroup(ctx, "organizationBillingGroupResource", &aiven.OrganizationBillingGroupArgs{
	BillingAddressId: pulumi.String("string"),
	BillingContactEmails: pulumi.StringArray{
		pulumi.String("string"),
	},
	BillingEmails: pulumi.StringArray{
		pulumi.String("string"),
	},
	BillingGroupName:  pulumi.String("string"),
	OrganizationId:    pulumi.String("string"),
	PaymentMethodId:   pulumi.String("string"),
	ShippingAddressId: pulumi.String("string"),
	BillingCurrency:   pulumi.String("string"),
	CustomInvoiceText: pulumi.String("string"),
	Timeouts: &aiven.OrganizationBillingGroupTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Read:   pulumi.String("string"),
		Update: pulumi.String("string"),
	},
	VatId: pulumi.String("string"),
})
var organizationBillingGroupResource = new OrganizationBillingGroup("organizationBillingGroupResource", OrganizationBillingGroupArgs.builder()
    .billingAddressId("string")
    .billingContactEmails("string")
    .billingEmails("string")
    .billingGroupName("string")
    .organizationId("string")
    .paymentMethodId("string")
    .shippingAddressId("string")
    .billingCurrency("string")
    .customInvoiceText("string")
    .timeouts(OrganizationBillingGroupTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .vatId("string")
    .build());
organization_billing_group_resource = aiven.OrganizationBillingGroup("organizationBillingGroupResource",
    billing_address_id="string",
    billing_contact_emails=["string"],
    billing_emails=["string"],
    billing_group_name="string",
    organization_id="string",
    payment_method_id="string",
    shipping_address_id="string",
    billing_currency="string",
    custom_invoice_text="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    },
    vat_id="string")
const organizationBillingGroupResource = new aiven.OrganizationBillingGroup("organizationBillingGroupResource", {
    billingAddressId: "string",
    billingContactEmails: ["string"],
    billingEmails: ["string"],
    billingGroupName: "string",
    organizationId: "string",
    paymentMethodId: "string",
    shippingAddressId: "string",
    billingCurrency: "string",
    customInvoiceText: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
    vatId: "string",
});
type: aiven:OrganizationBillingGroup
properties:
    billingAddressId: string
    billingContactEmails:
        - string
    billingCurrency: string
    billingEmails:
        - string
    billingGroupName: string
    customInvoiceText: string
    organizationId: string
    paymentMethodId: string
    shippingAddressId: string
    timeouts:
        create: string
        delete: string
        read: string
        update: string
    vatId: string
OrganizationBillingGroup 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 OrganizationBillingGroup resource accepts the following input properties:
- BillingAddress stringId 
- ID of the billing address.
- BillingContact List<string>Emails 
- List of billing contact emails.
- BillingEmails List<string>
- List of billing emails.
- BillingGroup stringName 
- Name of the billing group.
- OrganizationId string
- ID of the organization.
- PaymentMethod stringId 
- ID of the payment method.
- ShippingAddress stringId 
- ID of the shipping address.
- BillingCurrency string
- Billing currency.
- CustomInvoice stringText 
- Custom invoice text.
- Timeouts
OrganizationBilling Group Timeouts 
- VatId string
- VAT ID.
- BillingAddress stringId 
- ID of the billing address.
- BillingContact []stringEmails 
- List of billing contact emails.
- BillingEmails []string
- List of billing emails.
- BillingGroup stringName 
- Name of the billing group.
- OrganizationId string
- ID of the organization.
- PaymentMethod stringId 
- ID of the payment method.
- ShippingAddress stringId 
- ID of the shipping address.
- BillingCurrency string
- Billing currency.
- CustomInvoice stringText 
- Custom invoice text.
- Timeouts
OrganizationBilling Group Timeouts Args 
- VatId string
- VAT ID.
- billingAddress StringId 
- ID of the billing address.
- billingContact List<String>Emails 
- List of billing contact emails.
- billingEmails List<String>
- List of billing emails.
- billingGroup StringName 
- Name of the billing group.
- organizationId String
- ID of the organization.
- paymentMethod StringId 
- ID of the payment method.
- shippingAddress StringId 
- ID of the shipping address.
- billingCurrency String
- Billing currency.
- customInvoice StringText 
- Custom invoice text.
- timeouts
OrganizationBilling Group Timeouts 
- vatId String
- VAT ID.
- billingAddress stringId 
- ID of the billing address.
- billingContact string[]Emails 
- List of billing contact emails.
- billingEmails string[]
- List of billing emails.
- billingGroup stringName 
- Name of the billing group.
- organizationId string
- ID of the organization.
- paymentMethod stringId 
- ID of the payment method.
- shippingAddress stringId 
- ID of the shipping address.
- billingCurrency string
- Billing currency.
- customInvoice stringText 
- Custom invoice text.
- timeouts
OrganizationBilling Group Timeouts 
- vatId string
- VAT ID.
- billing_address_ strid 
- ID of the billing address.
- billing_contact_ Sequence[str]emails 
- List of billing contact emails.
- billing_emails Sequence[str]
- List of billing emails.
- billing_group_ strname 
- Name of the billing group.
- organization_id str
- ID of the organization.
- payment_method_ strid 
- ID of the payment method.
- shipping_address_ strid 
- ID of the shipping address.
- billing_currency str
- Billing currency.
- custom_invoice_ strtext 
- Custom invoice text.
- timeouts
OrganizationBilling Group Timeouts Args 
- vat_id str
- VAT ID.
- billingAddress StringId 
- ID of the billing address.
- billingContact List<String>Emails 
- List of billing contact emails.
- billingEmails List<String>
- List of billing emails.
- billingGroup StringName 
- Name of the billing group.
- organizationId String
- ID of the organization.
- paymentMethod StringId 
- ID of the payment method.
- shippingAddress StringId 
- ID of the shipping address.
- billingCurrency String
- Billing currency.
- customInvoice StringText 
- Custom invoice text.
- timeouts Property Map
- vatId String
- VAT ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationBillingGroup resource produces the following output properties:
- BillingGroup stringId 
- ID of the billing group.
- Id string
- The provider-assigned unique ID for this managed resource.
- BillingGroup stringId 
- ID of the billing group.
- Id string
- The provider-assigned unique ID for this managed resource.
- billingGroup StringId 
- ID of the billing group.
- id String
- The provider-assigned unique ID for this managed resource.
- billingGroup stringId 
- ID of the billing group.
- id string
- The provider-assigned unique ID for this managed resource.
- billing_group_ strid 
- ID of the billing group.
- id str
- The provider-assigned unique ID for this managed resource.
- billingGroup StringId 
- ID of the billing group.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing OrganizationBillingGroup Resource
Get an existing OrganizationBillingGroup 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?: OrganizationBillingGroupState, opts?: CustomResourceOptions): OrganizationBillingGroup@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        billing_address_id: Optional[str] = None,
        billing_contact_emails: Optional[Sequence[str]] = None,
        billing_currency: Optional[str] = None,
        billing_emails: Optional[Sequence[str]] = None,
        billing_group_id: Optional[str] = None,
        billing_group_name: Optional[str] = None,
        custom_invoice_text: Optional[str] = None,
        organization_id: Optional[str] = None,
        payment_method_id: Optional[str] = None,
        shipping_address_id: Optional[str] = None,
        timeouts: Optional[OrganizationBillingGroupTimeoutsArgs] = None,
        vat_id: Optional[str] = None) -> OrganizationBillingGroupfunc GetOrganizationBillingGroup(ctx *Context, name string, id IDInput, state *OrganizationBillingGroupState, opts ...ResourceOption) (*OrganizationBillingGroup, error)public static OrganizationBillingGroup Get(string name, Input<string> id, OrganizationBillingGroupState? state, CustomResourceOptions? opts = null)public static OrganizationBillingGroup get(String name, Output<String> id, OrganizationBillingGroupState state, CustomResourceOptions options)resources:  _:    type: aiven:OrganizationBillingGroup    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.
- BillingAddress stringId 
- ID of the billing address.
- BillingContact List<string>Emails 
- List of billing contact emails.
- BillingCurrency string
- Billing currency.
- BillingEmails List<string>
- List of billing emails.
- BillingGroup stringId 
- ID of the billing group.
- BillingGroup stringName 
- Name of the billing group.
- CustomInvoice stringText 
- Custom invoice text.
- OrganizationId string
- ID of the organization.
- PaymentMethod stringId 
- ID of the payment method.
- ShippingAddress stringId 
- ID of the shipping address.
- Timeouts
OrganizationBilling Group Timeouts 
- VatId string
- VAT ID.
- BillingAddress stringId 
- ID of the billing address.
- BillingContact []stringEmails 
- List of billing contact emails.
- BillingCurrency string
- Billing currency.
- BillingEmails []string
- List of billing emails.
- BillingGroup stringId 
- ID of the billing group.
- BillingGroup stringName 
- Name of the billing group.
- CustomInvoice stringText 
- Custom invoice text.
- OrganizationId string
- ID of the organization.
- PaymentMethod stringId 
- ID of the payment method.
- ShippingAddress stringId 
- ID of the shipping address.
- Timeouts
OrganizationBilling Group Timeouts Args 
- VatId string
- VAT ID.
- billingAddress StringId 
- ID of the billing address.
- billingContact List<String>Emails 
- List of billing contact emails.
- billingCurrency String
- Billing currency.
- billingEmails List<String>
- List of billing emails.
- billingGroup StringId 
- ID of the billing group.
- billingGroup StringName 
- Name of the billing group.
- customInvoice StringText 
- Custom invoice text.
- organizationId String
- ID of the organization.
- paymentMethod StringId 
- ID of the payment method.
- shippingAddress StringId 
- ID of the shipping address.
- timeouts
OrganizationBilling Group Timeouts 
- vatId String
- VAT ID.
- billingAddress stringId 
- ID of the billing address.
- billingContact string[]Emails 
- List of billing contact emails.
- billingCurrency string
- Billing currency.
- billingEmails string[]
- List of billing emails.
- billingGroup stringId 
- ID of the billing group.
- billingGroup stringName 
- Name of the billing group.
- customInvoice stringText 
- Custom invoice text.
- organizationId string
- ID of the organization.
- paymentMethod stringId 
- ID of the payment method.
- shippingAddress stringId 
- ID of the shipping address.
- timeouts
OrganizationBilling Group Timeouts 
- vatId string
- VAT ID.
- billing_address_ strid 
- ID of the billing address.
- billing_contact_ Sequence[str]emails 
- List of billing contact emails.
- billing_currency str
- Billing currency.
- billing_emails Sequence[str]
- List of billing emails.
- billing_group_ strid 
- ID of the billing group.
- billing_group_ strname 
- Name of the billing group.
- custom_invoice_ strtext 
- Custom invoice text.
- organization_id str
- ID of the organization.
- payment_method_ strid 
- ID of the payment method.
- shipping_address_ strid 
- ID of the shipping address.
- timeouts
OrganizationBilling Group Timeouts Args 
- vat_id str
- VAT ID.
- billingAddress StringId 
- ID of the billing address.
- billingContact List<String>Emails 
- List of billing contact emails.
- billingCurrency String
- Billing currency.
- billingEmails List<String>
- List of billing emails.
- billingGroup StringId 
- ID of the billing group.
- billingGroup StringName 
- Name of the billing group.
- customInvoice StringText 
- Custom invoice text.
- organizationId String
- ID of the organization.
- paymentMethod StringId 
- ID of the payment method.
- shippingAddress StringId 
- ID of the shipping address.
- timeouts Property Map
- vatId String
- VAT ID.
Supporting Types
OrganizationBillingGroupTimeouts, OrganizationBillingGroupTimeoutsArgs        
- 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).
- 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).
- 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).
- 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).
- 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).
- 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).
- 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).
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the aivenTerraform Provider.