aiven.Account
Explore with Pulumi AI
The Account resource allows the creation and management of an Aiven Account.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var account1 = new Aiven.Account("account1");
});
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 {
_, err := aiven.NewAccount(ctx, "account1", nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.Account;
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 account1 = new Account("account1");
}
}
import pulumi
import pulumi_aiven as aiven
account1 = aiven.Account("account1")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const account1 = new aiven.Account("account1", {});
resources:
account1:
type: aiven:Account
Create Account Resource
new Account(name: string, args?: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
primary_billing_group_id: Optional[str] = None)
@overload
def Account(resource_name: str,
args: Optional[AccountArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewAccount(ctx *Context, name string, args *AccountArgs, opts ...ResourceOption) (*Account, error)
public Account(string name, AccountArgs? args = null, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: aiven:Account
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountArgs
- 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 AccountArgs
- 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 AccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Account Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Account resource accepts the following input properties:
- Name string
Account name
- Primary
Billing stringGroup Id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- Name string
Account name
- Primary
Billing stringGroup Id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- name String
Account name
- primary
Billing StringGroup Id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- name string
Account name
- primary
Billing stringGroup Id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- name str
Account name
- primary_
billing_ strgroup_ id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- name String
Account name
- primary
Billing StringGroup Id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
Outputs
All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:
- Account
Id string Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- Create
Time string Time of creation
- Id string
The provider-assigned unique ID for this managed resource.
- Is
Account boolOwner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- Owner
Team stringId Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- Tenant
Id string Tenant id
- Update
Time string Time of last update
- Account
Id string Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- Create
Time string Time of creation
- Id string
The provider-assigned unique ID for this managed resource.
- Is
Account boolOwner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- Owner
Team stringId Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- Tenant
Id string Tenant id
- Update
Time string Time of last update
- account
Id String Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- create
Time String Time of creation
- id String
The provider-assigned unique ID for this managed resource.
- is
Account BooleanOwner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- owner
Team StringId Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- tenant
Id String Tenant id
- update
Time String Time of last update
- account
Id string Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- create
Time string Time of creation
- id string
The provider-assigned unique ID for this managed resource.
- is
Account booleanOwner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- owner
Team stringId Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- tenant
Id string Tenant id
- update
Time string Time of last update
- account_
id str Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- create_
time str Time of creation
- id str
The provider-assigned unique ID for this managed resource.
- is_
account_ boolowner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- owner_
team_ strid Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- tenant_
id str Tenant id
- update_
time str Time of last update
- account
Id String Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- create
Time String Time of creation
- id String
The provider-assigned unique ID for this managed resource.
- is
Account BooleanOwner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- owner
Team StringId Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- tenant
Id String Tenant id
- update
Time String Time of last update
Look up Existing Account Resource
Get an existing Account 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?: AccountState, opts?: CustomResourceOptions): Account
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
create_time: Optional[str] = None,
is_account_owner: Optional[bool] = None,
name: Optional[str] = None,
owner_team_id: Optional[str] = None,
primary_billing_group_id: Optional[str] = None,
tenant_id: Optional[str] = None,
update_time: Optional[str] = None) -> Account
func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)
public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)
public static Account get(String name, Output<String> id, AccountState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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
The new aiven_organization resource won't have it, use the built-in ID field instead.
- Create
Time string Time of creation
- Is
Account boolOwner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- Name string
Account name
- Owner
Team stringId Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- Primary
Billing stringGroup Id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- Tenant
Id string Tenant id
- Update
Time string Time of last update
- Account
Id string Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- Create
Time string Time of creation
- Is
Account boolOwner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- Name string
Account name
- Owner
Team stringId Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- Primary
Billing stringGroup Id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- Tenant
Id string Tenant id
- Update
Time string Time of last update
- account
Id String Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- create
Time String Time of creation
- is
Account BooleanOwner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- name String
Account name
- owner
Team StringId Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- primary
Billing StringGroup Id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- tenant
Id String Tenant id
- update
Time String Time of last update
- account
Id string Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- create
Time string Time of creation
- is
Account booleanOwner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- name string
Account name
- owner
Team stringId Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- primary
Billing stringGroup Id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- tenant
Id string Tenant id
- update
Time string Time of last update
- account_
id str Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- create_
time str Time of creation
- is_
account_ boolowner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- name str
Account name
- owner_
team_ strid Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- primary_
billing_ strgroup_ id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- tenant_
id str Tenant id
- update_
time str Time of last update
- account
Id String Account id
The new aiven_organization resource won't have it, use the built-in ID field instead.
- create
Time String Time of creation
- is
Account BooleanOwner If true, user is part of the owners team for this account
The new aiven_organization resource won't have it, and will not have a replacement.
- name String
Account name
- owner
Team StringId Owner team id
The new aiven_organization resource won't have it, and will not have a replacement.
- primary
Billing StringGroup Id Billing group id
The new aiven_organization resource won't have it, and will not have a replacement.
- tenant
Id String Tenant id
- update
Time String Time of last update
Import
$ pulumi import aiven:index/account:Account account1 account_id
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aiven
Terraform Provider.