1. Packages
  2. Aiven Provider
  3. API Docs
  4. getOrganizationalUnit
Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi

aiven.getOrganizationalUnit

Explore with Pulumi AI

Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi

Gets information about an organizational unit.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
variables:
  exampleUnit:
    fn::invoke:
      function: aiven:getOrganizationalUnit
      arguments:
        name: Example organizational unit
        parentId: ${main.id}
Copy

Using getOrganizationalUnit

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 getOrganizationalUnit(args: GetOrganizationalUnitArgs, opts?: InvokeOptions): Promise<GetOrganizationalUnitResult>
function getOrganizationalUnitOutput(args: GetOrganizationalUnitOutputArgs, opts?: InvokeOptions): Output<GetOrganizationalUnitResult>
Copy
def get_organizational_unit(name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetOrganizationalUnitResult
def get_organizational_unit_output(name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationalUnitResult]
Copy
func LookupOrganizationalUnit(ctx *Context, args *LookupOrganizationalUnitArgs, opts ...InvokeOption) (*LookupOrganizationalUnitResult, error)
func LookupOrganizationalUnitOutput(ctx *Context, args *LookupOrganizationalUnitOutputArgs, opts ...InvokeOption) LookupOrganizationalUnitResultOutput
Copy

> Note: This function is named LookupOrganizationalUnit in the Go SDK.

public static class GetOrganizationalUnit 
{
    public static Task<GetOrganizationalUnitResult> InvokeAsync(GetOrganizationalUnitArgs args, InvokeOptions? opts = null)
    public static Output<GetOrganizationalUnitResult> Invoke(GetOrganizationalUnitInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOrganizationalUnitResult> getOrganizationalUnit(GetOrganizationalUnitArgs args, InvokeOptions options)
public static Output<GetOrganizationalUnitResult> getOrganizationalUnit(GetOrganizationalUnitArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aiven:index/getOrganizationalUnit:getOrganizationalUnit
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the organizational unit.
Name This property is required. string
The name of the organizational unit.
name This property is required. String
The name of the organizational unit.
name This property is required. string
The name of the organizational unit.
name This property is required. str
The name of the organizational unit.
name This property is required. String
The name of the organizational unit.

getOrganizationalUnit Result

The following output properties are available:

CreateTime string
Time of creation.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the organizational unit.
ParentId string
The ID of the organization that the unit is created in.
TenantId string
Tenant ID.
UpdateTime string
Time of last update.
CreateTime string
Time of creation.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the organizational unit.
ParentId string
The ID of the organization that the unit is created in.
TenantId string
Tenant ID.
UpdateTime string
Time of last update.
createTime String
Time of creation.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the organizational unit.
parentId String
The ID of the organization that the unit is created in.
tenantId String
Tenant ID.
updateTime String
Time of last update.
createTime string
Time of creation.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the organizational unit.
parentId string
The ID of the organization that the unit is created in.
tenantId string
Tenant ID.
updateTime string
Time of last update.
create_time str
Time of creation.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the organizational unit.
parent_id str
The ID of the organization that the unit is created in.
tenant_id str
Tenant ID.
update_time str
Time of last update.
createTime String
Time of creation.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the organizational unit.
parentId String
The ID of the organization that the unit is created in.
tenantId String
Tenant ID.
updateTime String
Time of last update.

Package Details

Repository
Aiven pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.
Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi