Viewing docs for Aiven v6.51.0
published on Tuesday, Mar 17, 2026 by Pulumi
published on Tuesday, Mar 17, 2026 by Pulumi
Viewing docs for Aiven v6.51.0
published on Tuesday, Mar 17, 2026 by Pulumi
published on Tuesday, Mar 17, 2026 by Pulumi
Gets information about an organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const main = aiven.getOrganization({
name: "Example organization",
});
import pulumi
import pulumi_aiven as aiven
main = aiven.get_organization(name="Example organization")
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.LookupOrganization(ctx, &aiven.LookupOrganizationArgs{
Name: pulumi.StringRef("Example organization"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var main = Aiven.GetOrganization.Invoke(new()
{
Name = "Example organization",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetOrganizationArgs;
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) {
final var main = AivenFunctions.getOrganization(GetOrganizationArgs.builder()
.name("Example organization")
.build());
}
}
variables:
main:
fn::invoke:
function: aiven:getOrganization
arguments:
name: Example organization
Using getOrganization
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOrganization(args: GetOrganizationArgs, opts?: InvokeOptions): Promise<GetOrganizationResult>
function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: InvokeOptions): Output<GetOrganizationResult>def get_organization(id: Optional[str] = None,
name: Optional[str] = None,
timeouts: Optional[GetOrganizationTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationResult
def get_organization_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetOrganizationTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationResult]func LookupOrganization(ctx *Context, args *LookupOrganizationArgs, opts ...InvokeOption) (*LookupOrganizationResult, error)
func LookupOrganizationOutput(ctx *Context, args *LookupOrganizationOutputArgs, opts ...InvokeOption) LookupOrganizationResultOutput> Note: This function is named LookupOrganization in the Go SDK.
public static class GetOrganization
{
public static Task<GetOrganizationResult> InvokeAsync(GetOrganizationArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationResult> Invoke(GetOrganizationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrganizationResult> getOrganization(GetOrganizationArgs args, InvokeOptions options)
public static Output<GetOrganizationResult> getOrganization(GetOrganizationArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getOrganization:getOrganization
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Organization ID. Exactly one of the fields must be specified:
idorname. - Name string
- Name of the organization. Exactly one of the fields must be specified:
idorname. - Timeouts
Get
Organization Timeouts
- Id string
- Organization ID. Exactly one of the fields must be specified:
idorname. - Name string
- Name of the organization. Exactly one of the fields must be specified:
idorname. - Timeouts
Get
Organization Timeouts
- id String
- Organization ID. Exactly one of the fields must be specified:
idorname. - name String
- Name of the organization. Exactly one of the fields must be specified:
idorname. - timeouts
Get
Organization Timeouts
- id string
- Organization ID. Exactly one of the fields must be specified:
idorname. - name string
- Name of the organization. Exactly one of the fields must be specified:
idorname. - timeouts
Get
Organization Timeouts
- id str
- Organization ID. Exactly one of the fields must be specified:
idorname. - name str
- Name of the organization. Exactly one of the fields must be specified:
idorname. - timeouts
Get
Organization Timeouts
- id String
- Organization ID. Exactly one of the fields must be specified:
idorname. - name String
- Name of the organization. Exactly one of the fields must be specified:
idorname. - timeouts Property Map
getOrganization Result
The following output properties are available:
- Create
Time string - Timestamp in ISO 8601 format, always in UTC.
- Id string
- Organization ID. Exactly one of the fields must be specified:
idorname. - Name string
- Name of the organization. Exactly one of the fields must be specified:
idorname. - Tenant
Id string - Tenant identifier. Deprecated: This field is deprecated and will be removed in the next major release.
- Update
Time string - Timestamp in ISO 8601 format, always in UTC.
- Timeouts
Get
Organization Timeouts
- Create
Time string - Timestamp in ISO 8601 format, always in UTC.
- Id string
- Organization ID. Exactly one of the fields must be specified:
idorname. - Name string
- Name of the organization. Exactly one of the fields must be specified:
idorname. - Tenant
Id string - Tenant identifier. Deprecated: This field is deprecated and will be removed in the next major release.
- Update
Time string - Timestamp in ISO 8601 format, always in UTC.
- Timeouts
Get
Organization Timeouts
- create
Time String - Timestamp in ISO 8601 format, always in UTC.
- id String
- Organization ID. Exactly one of the fields must be specified:
idorname. - name String
- Name of the organization. Exactly one of the fields must be specified:
idorname. - tenant
Id String - Tenant identifier. Deprecated: This field is deprecated and will be removed in the next major release.
- update
Time String - Timestamp in ISO 8601 format, always in UTC.
- timeouts
Get
Organization Timeouts
- create
Time string - Timestamp in ISO 8601 format, always in UTC.
- id string
- Organization ID. Exactly one of the fields must be specified:
idorname. - name string
- Name of the organization. Exactly one of the fields must be specified:
idorname. - tenant
Id string - Tenant identifier. Deprecated: This field is deprecated and will be removed in the next major release.
- update
Time string - Timestamp in ISO 8601 format, always in UTC.
- timeouts
Get
Organization Timeouts
- create_
time str - Timestamp in ISO 8601 format, always in UTC.
- id str
- Organization ID. Exactly one of the fields must be specified:
idorname. - name str
- Name of the organization. Exactly one of the fields must be specified:
idorname. - tenant_
id str - Tenant identifier. Deprecated: This field is deprecated and will be removed in the next major release.
- update_
time str - Timestamp in ISO 8601 format, always in UTC.
- timeouts
Get
Organization Timeouts
- create
Time String - Timestamp in ISO 8601 format, always in UTC.
- id String
- Organization ID. Exactly one of the fields must be specified:
idorname. - name String
- Name of the organization. Exactly one of the fields must be specified:
idorname. - tenant
Id String - Tenant identifier. Deprecated: This field is deprecated and will be removed in the next major release.
- update
Time String - Timestamp in ISO 8601 format, always in UTC.
- timeouts Property Map
Supporting Types
GetOrganizationTimeouts
- 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 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 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 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 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 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
aivenTerraform Provider.
Viewing docs for Aiven v6.51.0
published on Tuesday, Mar 17, 2026 by Pulumi
published on Tuesday, Mar 17, 2026 by Pulumi
