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:
- Billing
Address stringId - ID of the billing address.
- Billing
Contact List<string>Emails - List of billing contact emails.
- Billing
Emails List<string> - List of billing emails.
- Billing
Group stringName - Name of the billing group.
- Organization
Id string - ID of the organization.
- Payment
Method stringId - ID of the payment method.
- Shipping
Address stringId - ID of the shipping address.
- Billing
Currency string - Billing currency.
- Custom
Invoice stringText - Custom invoice text.
- Timeouts
Organization
Billing Group Timeouts - Vat
Id string - VAT ID.
- Billing
Address stringId - ID of the billing address.
- Billing
Contact []stringEmails - List of billing contact emails.
- Billing
Emails []string - List of billing emails.
- Billing
Group stringName - Name of the billing group.
- Organization
Id string - ID of the organization.
- Payment
Method stringId - ID of the payment method.
- Shipping
Address stringId - ID of the shipping address.
- Billing
Currency string - Billing currency.
- Custom
Invoice stringText - Custom invoice text.
- Timeouts
Organization
Billing Group Timeouts Args - Vat
Id string - VAT ID.
- billing
Address StringId - ID of the billing address.
- billing
Contact List<String>Emails - List of billing contact emails.
- billing
Emails List<String> - List of billing emails.
- billing
Group StringName - Name of the billing group.
- organization
Id String - ID of the organization.
- payment
Method StringId - ID of the payment method.
- shipping
Address StringId - ID of the shipping address.
- billing
Currency String - Billing currency.
- custom
Invoice StringText - Custom invoice text.
- timeouts
Organization
Billing Group Timeouts - vat
Id String - VAT ID.
- billing
Address stringId - ID of the billing address.
- billing
Contact string[]Emails - List of billing contact emails.
- billing
Emails string[] - List of billing emails.
- billing
Group stringName - Name of the billing group.
- organization
Id string - ID of the organization.
- payment
Method stringId - ID of the payment method.
- shipping
Address stringId - ID of the shipping address.
- billing
Currency string - Billing currency.
- custom
Invoice stringText - Custom invoice text.
- timeouts
Organization
Billing Group Timeouts - vat
Id 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
Organization
Billing Group Timeouts Args - vat_
id str - VAT ID.
- billing
Address StringId - ID of the billing address.
- billing
Contact List<String>Emails - List of billing contact emails.
- billing
Emails List<String> - List of billing emails.
- billing
Group StringName - Name of the billing group.
- organization
Id String - ID of the organization.
- payment
Method StringId - ID of the payment method.
- shipping
Address StringId - ID of the shipping address.
- billing
Currency String - Billing currency.
- custom
Invoice StringText - Custom invoice text.
- timeouts Property Map
- vat
Id String - VAT ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationBillingGroup resource produces the following output properties:
- Billing
Group stringId - ID of the billing group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Billing
Group stringId - ID of the billing group.
- Id string
- The provider-assigned unique ID for this managed resource.
- billing
Group StringId - ID of the billing group.
- id String
- The provider-assigned unique ID for this managed resource.
- billing
Group 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.
- billing
Group 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) -> 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.
- Billing
Address stringId - ID of the billing address.
- Billing
Contact List<string>Emails - List of billing contact emails.
- Billing
Currency string - Billing currency.
- Billing
Emails List<string> - List of billing emails.
- Billing
Group stringId - ID of the billing group.
- Billing
Group stringName - Name of the billing group.
- Custom
Invoice stringText - Custom invoice text.
- Organization
Id string - ID of the organization.
- Payment
Method stringId - ID of the payment method.
- Shipping
Address stringId - ID of the shipping address.
- Timeouts
Organization
Billing Group Timeouts - Vat
Id string - VAT ID.
- Billing
Address stringId - ID of the billing address.
- Billing
Contact []stringEmails - List of billing contact emails.
- Billing
Currency string - Billing currency.
- Billing
Emails []string - List of billing emails.
- Billing
Group stringId - ID of the billing group.
- Billing
Group stringName - Name of the billing group.
- Custom
Invoice stringText - Custom invoice text.
- Organization
Id string - ID of the organization.
- Payment
Method stringId - ID of the payment method.
- Shipping
Address stringId - ID of the shipping address.
- Timeouts
Organization
Billing Group Timeouts Args - Vat
Id string - VAT ID.
- billing
Address StringId - ID of the billing address.
- billing
Contact List<String>Emails - List of billing contact emails.
- billing
Currency String - Billing currency.
- billing
Emails List<String> - List of billing emails.
- billing
Group StringId - ID of the billing group.
- billing
Group StringName - Name of the billing group.
- custom
Invoice StringText - Custom invoice text.
- organization
Id String - ID of the organization.
- payment
Method StringId - ID of the payment method.
- shipping
Address StringId - ID of the shipping address.
- timeouts
Organization
Billing Group Timeouts - vat
Id String - VAT ID.
- billing
Address stringId - ID of the billing address.
- billing
Contact string[]Emails - List of billing contact emails.
- billing
Currency string - Billing currency.
- billing
Emails string[] - List of billing emails.
- billing
Group stringId - ID of the billing group.
- billing
Group stringName - Name of the billing group.
- custom
Invoice stringText - Custom invoice text.
- organization
Id string - ID of the organization.
- payment
Method stringId - ID of the payment method.
- shipping
Address stringId - ID of the shipping address.
- timeouts
Organization
Billing Group Timeouts - vat
Id 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
Organization
Billing Group Timeouts Args - vat_
id str - VAT ID.
- billing
Address StringId - ID of the billing address.
- billing
Contact List<String>Emails - List of billing contact emails.
- billing
Currency String - Billing currency.
- billing
Emails List<String> - List of billing emails.
- billing
Group StringId - ID of the billing group.
- billing
Group StringName - Name of the billing group.
- custom
Invoice StringText - Custom invoice text.
- organization
Id String - ID of the organization.
- payment
Method StringId - ID of the payment method.
- shipping
Address StringId - ID of the shipping address.
- timeouts Property Map
- vat
Id 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.