import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source to retrieve a specific Auth0 organization by `organizationId` or `name`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An Auth0 Organization loaded using its name. * const some_organization_by_name = auth0.getOrganization({ * name: "my-org", * }); * // An Auth0 Organization loaded using its ID. * const some_organization_by_id = auth0.getOrganization({ * organizationId: "org_abcdefghkijklmnopqrstuvwxyz0123456789", * }); * ``` */ export declare function getOrganization(args?: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOrganization. */ export interface GetOrganizationArgs { /** * The name of the organization. If not provided, `organizationId` must be set. For performance, it is advised to use the `organizationId` as a lookup if possible. */ name?: string; /** * The ID of the organization. If not provided, `name` must be set. */ organizationId?: string; } /** * A collection of values returned by getOrganization. */ export interface GetOrganizationResult { /** * Defines how to style the login pages. */ readonly brandings: outputs.GetOrganizationBranding[]; /** * Client Grant ID(s) that are associated to the organization. */ readonly clientGrants: string[]; readonly connections: outputs.GetOrganizationConnection[]; /** * Friendly name of this organization. */ readonly displayName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * User ID(s) that are members of the organization. */ readonly members: string[]; /** * Metadata associated with the organization. Maximum of 10 metadata properties allowed. */ readonly metadata: { [key: string]: string; }; /** * The name of the organization. If not provided, `organizationId` must be set. For performance, it is advised to use the `organizationId` as a lookup if possible. */ readonly name?: string; /** * The ID of the organization. If not provided, `name` must be set. */ readonly organizationId?: string; /** * The token quota configuration. */ readonly tokenQuotas: outputs.GetOrganizationTokenQuota[]; } /** * Data source to retrieve a specific Auth0 organization by `organizationId` or `name`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An Auth0 Organization loaded using its name. * const some_organization_by_name = auth0.getOrganization({ * name: "my-org", * }); * // An Auth0 Organization loaded using its ID. * const some_organization_by_id = auth0.getOrganization({ * organizationId: "org_abcdefghkijklmnopqrstuvwxyz0123456789", * }); * ``` */ export declare function getOrganizationOutput(args?: GetOrganizationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOrganization. */ export interface GetOrganizationOutputArgs { /** * The name of the organization. If not provided, `organizationId` must be set. For performance, it is advised to use the `organizationId` as a lookup if possible. */ name?: pulumi.Input; /** * The ID of the organization. If not provided, `name` must be set. */ organizationId?: pulumi.Input; }