1. Packages
  2. Aiven Provider
  3. API Docs
  4. OrganizationBillingGroup
Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi

aiven.OrganizationBillingGroup

Explore with Pulumi AI

aiven logo
Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi

    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:

    BillingAddressId string
    ID of the billing address.
    BillingContactEmails List<string>
    List of billing contact emails.
    BillingEmails List<string>
    List of billing emails.
    BillingGroupName string
    Name of the billing group.
    OrganizationId string
    ID of the organization.
    PaymentMethodId string
    ID of the payment method.
    ShippingAddressId string
    ID of the shipping address.
    BillingCurrency string
    Billing currency.
    CustomInvoiceText string
    Custom invoice text.
    Timeouts OrganizationBillingGroupTimeouts
    VatId string
    VAT ID.
    BillingAddressId string
    ID of the billing address.
    BillingContactEmails []string
    List of billing contact emails.
    BillingEmails []string
    List of billing emails.
    BillingGroupName string
    Name of the billing group.
    OrganizationId string
    ID of the organization.
    PaymentMethodId string
    ID of the payment method.
    ShippingAddressId string
    ID of the shipping address.
    BillingCurrency string
    Billing currency.
    CustomInvoiceText string
    Custom invoice text.
    Timeouts OrganizationBillingGroupTimeoutsArgs
    VatId string
    VAT ID.
    billingAddressId String
    ID of the billing address.
    billingContactEmails List<String>
    List of billing contact emails.
    billingEmails List<String>
    List of billing emails.
    billingGroupName String
    Name of the billing group.
    organizationId String
    ID of the organization.
    paymentMethodId String
    ID of the payment method.
    shippingAddressId String
    ID of the shipping address.
    billingCurrency String
    Billing currency.
    customInvoiceText String
    Custom invoice text.
    timeouts OrganizationBillingGroupTimeouts
    vatId String
    VAT ID.
    billingAddressId string
    ID of the billing address.
    billingContactEmails string[]
    List of billing contact emails.
    billingEmails string[]
    List of billing emails.
    billingGroupName string
    Name of the billing group.
    organizationId string
    ID of the organization.
    paymentMethodId string
    ID of the payment method.
    shippingAddressId string
    ID of the shipping address.
    billingCurrency string
    Billing currency.
    customInvoiceText string
    Custom invoice text.
    timeouts OrganizationBillingGroupTimeouts
    vatId string
    VAT ID.
    billing_address_id str
    ID of the billing address.
    billing_contact_emails Sequence[str]
    List of billing contact emails.
    billing_emails Sequence[str]
    List of billing emails.
    billing_group_name str
    Name of the billing group.
    organization_id str
    ID of the organization.
    payment_method_id str
    ID of the payment method.
    shipping_address_id str
    ID of the shipping address.
    billing_currency str
    Billing currency.
    custom_invoice_text str
    Custom invoice text.
    timeouts OrganizationBillingGroupTimeoutsArgs
    vat_id str
    VAT ID.
    billingAddressId String
    ID of the billing address.
    billingContactEmails List<String>
    List of billing contact emails.
    billingEmails List<String>
    List of billing emails.
    billingGroupName String
    Name of the billing group.
    organizationId String
    ID of the organization.
    paymentMethodId String
    ID of the payment method.
    shippingAddressId String
    ID of the shipping address.
    billingCurrency String
    Billing currency.
    customInvoiceText String
    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:

    BillingGroupId string
    ID of the billing group.
    Id string
    The provider-assigned unique ID for this managed resource.
    BillingGroupId string
    ID of the billing group.
    Id string
    The provider-assigned unique ID for this managed resource.
    billingGroupId String
    ID of the billing group.
    id String
    The provider-assigned unique ID for this managed resource.
    billingGroupId string
    ID of the billing group.
    id string
    The provider-assigned unique ID for this managed resource.
    billing_group_id str
    ID of the billing group.
    id str
    The provider-assigned unique ID for this managed resource.
    billingGroupId String
    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) -> OrganizationBillingGroup
    func 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.
    The following state arguments are supported:
    BillingAddressId string
    ID of the billing address.
    BillingContactEmails List<string>
    List of billing contact emails.
    BillingCurrency string
    Billing currency.
    BillingEmails List<string>
    List of billing emails.
    BillingGroupId string
    ID of the billing group.
    BillingGroupName string
    Name of the billing group.
    CustomInvoiceText string
    Custom invoice text.
    OrganizationId string
    ID of the organization.
    PaymentMethodId string
    ID of the payment method.
    ShippingAddressId string
    ID of the shipping address.
    Timeouts OrganizationBillingGroupTimeouts
    VatId string
    VAT ID.
    BillingAddressId string
    ID of the billing address.
    BillingContactEmails []string
    List of billing contact emails.
    BillingCurrency string
    Billing currency.
    BillingEmails []string
    List of billing emails.
    BillingGroupId string
    ID of the billing group.
    BillingGroupName string
    Name of the billing group.
    CustomInvoiceText string
    Custom invoice text.
    OrganizationId string
    ID of the organization.
    PaymentMethodId string
    ID of the payment method.
    ShippingAddressId string
    ID of the shipping address.
    Timeouts OrganizationBillingGroupTimeoutsArgs
    VatId string
    VAT ID.
    billingAddressId String
    ID of the billing address.
    billingContactEmails List<String>
    List of billing contact emails.
    billingCurrency String
    Billing currency.
    billingEmails List<String>
    List of billing emails.
    billingGroupId String
    ID of the billing group.
    billingGroupName String
    Name of the billing group.
    customInvoiceText String
    Custom invoice text.
    organizationId String
    ID of the organization.
    paymentMethodId String
    ID of the payment method.
    shippingAddressId String
    ID of the shipping address.
    timeouts OrganizationBillingGroupTimeouts
    vatId String
    VAT ID.
    billingAddressId string
    ID of the billing address.
    billingContactEmails string[]
    List of billing contact emails.
    billingCurrency string
    Billing currency.
    billingEmails string[]
    List of billing emails.
    billingGroupId string
    ID of the billing group.
    billingGroupName string
    Name of the billing group.
    customInvoiceText string
    Custom invoice text.
    organizationId string
    ID of the organization.
    paymentMethodId string
    ID of the payment method.
    shippingAddressId string
    ID of the shipping address.
    timeouts OrganizationBillingGroupTimeouts
    vatId string
    VAT ID.
    billing_address_id str
    ID of the billing address.
    billing_contact_emails Sequence[str]
    List of billing contact emails.
    billing_currency str
    Billing currency.
    billing_emails Sequence[str]
    List of billing emails.
    billing_group_id str
    ID of the billing group.
    billing_group_name str
    Name of the billing group.
    custom_invoice_text str
    Custom invoice text.
    organization_id str
    ID of the organization.
    payment_method_id str
    ID of the payment method.
    shipping_address_id str
    ID of the shipping address.
    timeouts OrganizationBillingGroupTimeoutsArgs
    vat_id str
    VAT ID.
    billingAddressId String
    ID of the billing address.
    billingContactEmails List<String>
    List of billing contact emails.
    billingCurrency String
    Billing currency.
    billingEmails List<String>
    List of billing emails.
    billingGroupId String
    ID of the billing group.
    billingGroupName String
    Name of the billing group.
    customInvoiceText String
    Custom invoice text.
    organizationId String
    ID of the organization.
    paymentMethodId String
    ID of the payment method.
    shippingAddressId String
    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 aiven Terraform Provider.
    aiven logo
    Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi