import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source to retrieve all organizations of the tenant. Optionally set `includeClientAssociationFor` to also return each organization's entitlement to a given client (application). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An empty function block retrieves every organization of the tenant. * const myOrganizations = auth0.getOrganizations({}); * // Setting include_client_association_for additionally returns, for every organization * // associated with that client (application), the details of the association. * const myOrganizationsWithClientAssociation = auth0.getOrganizations({ * includeClientAssociationFor: "AaiyAPdpYdesoKnqjj8HJqRn4T5titww", * }); * ``` */ export declare function getOrganizations(args?: GetOrganizationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOrganizations. */ export interface GetOrganizationsArgs { /** * The ID of a client (application). When set, every returned organization that is associated with this client gains a `client` block describing that association (EA only). */ includeClientAssociationFor?: string; } /** * A collection of values returned by getOrganizations. */ export interface GetOrganizationsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The ID of a client (application). When set, every returned organization that is associated with this client gains a `client` block describing that association (EA only). */ readonly includeClientAssociationFor?: string; /** * The list of organizations of the tenant. */ readonly organizations: outputs.GetOrganizationsOrganization[]; } /** * Data source to retrieve all organizations of the tenant. Optionally set `includeClientAssociationFor` to also return each organization's entitlement to a given client (application). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An empty function block retrieves every organization of the tenant. * const myOrganizations = auth0.getOrganizations({}); * // Setting include_client_association_for additionally returns, for every organization * // associated with that client (application), the details of the association. * const myOrganizationsWithClientAssociation = auth0.getOrganizations({ * includeClientAssociationFor: "AaiyAPdpYdesoKnqjj8HJqRn4T5titww", * }); * ``` */ export declare function getOrganizationsOutput(args?: GetOrganizationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOrganizations. */ export interface GetOrganizationsOutputArgs { /** * The ID of a client (application). When set, every returned organization that is associated with this client gains a `client` block describing that association (EA only). */ includeClientAssociationFor?: pulumi.Input; } //# sourceMappingURL=getOrganizations.d.ts.map