import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Gets information about an organizational unit. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getOrganizationalUnit({ * id: "foo", * }); * ``` */ export declare function getOrganizationalUnit(args?: GetOrganizationalUnitArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOrganizationalUnit. */ export interface GetOrganizationalUnitArgs { /** * The ID of this resource. Exactly one of the fields must be specified: `id` or `name`. */ id?: string; /** * The name of the organizational unit. Exactly one of the fields must be specified: `id` or `name`. */ name?: string; timeouts?: inputs.GetOrganizationalUnitTimeouts; } /** * A collection of values returned by getOrganizationalUnit. */ export interface GetOrganizationalUnitResult { /** * Timestamp in ISO 8601 format, always in UTC. */ readonly createTime: string; /** * The ID of this resource. Exactly one of the fields must be specified: `id` or `name`. */ readonly id: string; /** * The name of the organizational unit. Exactly one of the fields must be specified: `id` or `name`. */ readonly name: string; /** * The ID of the organization that the unit is created in. */ readonly parentId: string; /** * Tenant identifier. */ readonly tenantId: string; readonly timeouts?: outputs.GetOrganizationalUnitTimeouts; /** * Timestamp in ISO 8601 format, always in UTC. */ readonly updateTime: string; } /** * Gets information about an organizational unit. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getOrganizationalUnit({ * id: "foo", * }); * ``` */ export declare function getOrganizationalUnitOutput(args?: GetOrganizationalUnitOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOrganizationalUnit. */ export interface GetOrganizationalUnitOutputArgs { /** * The ID of this resource. Exactly one of the fields must be specified: `id` or `name`. */ id?: pulumi.Input; /** * The name of the organizational unit. Exactly one of the fields must be specified: `id` or `name`. */ name?: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=getOrganizationalUnit.d.ts.map