GetAccount
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var account1 = Output.Create(Aiven.GetAccount.InvokeAsync(new Aiven.GetAccountArgs
{
Name = "<ACCOUNT_NAME>",
}));
}
}
Coming soon!
import pulumi
import pulumi_aiven as aiven
account1 = aiven.get_account(name="<ACCOUNT_NAME>")import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const account1 = pulumi.output(aiven.getAccount({
name: "<ACCOUNT_NAME>",
}, { async: true }));Using GetAccount
function getAccount(args: GetAccountArgs, opts?: InvokeOptions): Promise<GetAccountResult>function get_account(account_id=None, create_time=None, name=None, owner_team_id=None, tenant_id=None, update_time=None, opts=None)func LookupAccount(ctx *Context, args *LookupAccountArgs, opts ...InvokeOption) (*LookupAccountResult, error)Note: This function is named
LookupAccountin the Go SDK.
public static class GetAccount {
public static Task<GetAccountResult> InvokeAsync(GetAccountArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetAccount Result
The following output properties are available:
- Account
Id string - Create
Time string - Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Owner
Team stringId - Tenant
Id string - Update
Time string
- Account
Id string - Create
Time string - Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Owner
Team stringId - Tenant
Id string - Update
Time string
- account
Id string - create
Time string - id string
The provider-assigned unique ID for this managed resource.
- name string
- owner
Team stringId - tenant
Id string - update
Time string
- account_
id str - create_
time str - id str
The provider-assigned unique ID for this managed resource.
- name str
- owner_
team_ strid - tenant_
id str - update_
time str
Package Details
- Repository
- https://github.com/pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.