import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages an organization billing group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.OrganizationBillingGroup("example", { * paymentMethod: { * paymentMethodId: "pm4b1ff1ceeaa", * paymentMethodType: "credit_card", * }, * billingContactEmails: [{ * email: "jane@example.com", * }], * billingEmails: [{ * email: "jane@example.com", * }], * organizationId: "org1a23f456789", * billingAddressId: "addr4b1ff1ceeaa", * shippingAddressId: "addr4b1ff1ceeaa", * billingGroupName: "Default billing group for the organization", * vatId: "FI12345678", * customInvoiceText: "Extra billing text", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/organizationBillingGroup:OrganizationBillingGroup example ORGANIZATION_ID/BILLING_GROUP_ID * ``` */ export declare class OrganizationBillingGroup extends pulumi.CustomResource { /** * Get an existing OrganizationBillingGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OrganizationBillingGroupState, opts?: pulumi.CustomResourceOptions): OrganizationBillingGroup; /** * Returns true if the given object is an instance of OrganizationBillingGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OrganizationBillingGroup; /** * Billing address ID. Maximum length: `36`. */ readonly billingAddressId: pulumi.Output; /** * List of billing contact emails. */ readonly billingContactEmails: pulumi.Output; /** * List of billing contact emails. */ readonly billingEmails: pulumi.Output; /** * Billing group ID. */ readonly billingGroupId: pulumi.Output; /** * Billing Group Name. Length must be between `1` and `128`. */ readonly billingGroupName: pulumi.Output; /** * The date when this billing group was created. */ readonly createTime: pulumi.Output; /** * Extra billing text. Maximum length: `256`. */ readonly customInvoiceText: pulumi.Output; /** * ID of an organization. Maximum length: `36`. Changing this property forces recreation of the resource. */ readonly organizationId: pulumi.Output; /** * Payment method. */ readonly paymentMethod: pulumi.Output; /** * Shipping address ID. Maximum length: `36`. */ readonly shippingAddressId: pulumi.Output; readonly timeouts: pulumi.Output; /** * VAT ID. */ readonly vatId: pulumi.Output; /** * Create a OrganizationBillingGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OrganizationBillingGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationBillingGroup resources. */ export interface OrganizationBillingGroupState { /** * Billing address ID. Maximum length: `36`. */ billingAddressId?: pulumi.Input; /** * List of billing contact emails. */ billingContactEmails?: pulumi.Input[] | undefined>; /** * List of billing contact emails. */ billingEmails?: pulumi.Input[] | undefined>; /** * Billing group ID. */ billingGroupId?: pulumi.Input; /** * Billing Group Name. Length must be between `1` and `128`. */ billingGroupName?: pulumi.Input; /** * The date when this billing group was created. */ createTime?: pulumi.Input; /** * Extra billing text. Maximum length: `256`. */ customInvoiceText?: pulumi.Input; /** * ID of an organization. Maximum length: `36`. Changing this property forces recreation of the resource. */ organizationId?: pulumi.Input; /** * Payment method. */ paymentMethod?: pulumi.Input; /** * Shipping address ID. Maximum length: `36`. */ shippingAddressId?: pulumi.Input; timeouts?: pulumi.Input; /** * VAT ID. */ vatId?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationBillingGroup resource. */ export interface OrganizationBillingGroupArgs { /** * Billing address ID. Maximum length: `36`. */ billingAddressId: pulumi.Input; /** * List of billing contact emails. */ billingContactEmails: pulumi.Input[]>; /** * List of billing contact emails. */ billingEmails: pulumi.Input[]>; /** * Billing Group Name. Length must be between `1` and `128`. */ billingGroupName: pulumi.Input; /** * Extra billing text. Maximum length: `256`. */ customInvoiceText?: pulumi.Input; /** * ID of an organization. Maximum length: `36`. Changing this property forces recreation of the resource. */ organizationId: pulumi.Input; /** * Payment method. */ paymentMethod: pulumi.Input; /** * Shipping address ID. Maximum length: `36`. */ shippingAddressId: pulumi.Input; timeouts?: pulumi.Input; /** * VAT ID. */ vatId?: pulumi.Input; } //# sourceMappingURL=organizationBillingGroup.d.ts.map