import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Gets information about an organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getOrganization({ * id: "org1a23f456789", * }); * ``` */ export declare function getOrganization(args?: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOrganization. */ export interface GetOrganizationArgs { /** * Organization ID. Exactly one of the fields must be specified: `id` or `name`. */ id?: string; /** * Name of the organization. Exactly one of the fields must be specified: `id` or `name`. */ name?: string; timeouts?: inputs.GetOrganizationTimeouts; } /** * A collection of values returned by getOrganization. */ export interface GetOrganizationResult { /** * Timestamp in ISO 8601 format, always in UTC. */ readonly createTime: string; /** * Organization ID. Exactly one of the fields must be specified: `id` or `name`. */ readonly id: string; /** * Name of the organization. Exactly one of the fields must be specified: `id` or `name`. */ readonly name: string; /** * Tenant identifier. **Deprecated**: This field is deprecated and will be removed in the next major release. * * @deprecated This field is deprecated and will be removed in the next major release. */ readonly tenantId: string; readonly timeouts?: outputs.GetOrganizationTimeouts; /** * Timestamp in ISO 8601 format, always in UTC. */ readonly updateTime: string; } /** * Gets information about an organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getOrganization({ * id: "org1a23f456789", * }); * ``` */ export declare function getOrganizationOutput(args?: GetOrganizationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOrganization. */ export interface GetOrganizationOutputArgs { /** * Organization ID. Exactly one of the fields must be specified: `id` or `name`. */ id?: pulumi.Input; /** * Name of the organization. Exactly one of the fields must be specified: `id` or `name`. */ name?: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=getOrganization.d.ts.map