import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleOrganizations = cloudflare.getOrganizations({ * ids: ["a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8"], * containing: { * account: "account", * organization: "organization", * user: "user", * }, * name: { * contains: "contains", * endsWith: "endsWith", * startsWith: "startsWith", * }, * pageSize: 0, * pageToken: "page_token", * parent: { * id: "a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8", * }, * }); * ``` */ export declare function getOrganizations(args?: GetOrganizationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOrganizations. */ export interface GetOrganizationsArgs { containing?: inputs.GetOrganizationsContaining; /** * Only return organizations with the specified IDs (ex. id=foo&id=bar). Send multiple elements * by repeating the query value. */ ids?: string[]; /** * Max items to fetch, default: 1000 */ maxItems?: number; name?: inputs.GetOrganizationsName; /** * The amount of items to return. Defaults to 10. */ pageSize?: number; /** * An opaque token returned from the last list response that when * provided will retrieve the next page. */ pageToken?: string; parent?: inputs.GetOrganizationsParent; } /** * A collection of values returned by getOrganizations. */ export interface GetOrganizationsResult { readonly containing?: outputs.GetOrganizationsContaining; /** * Only return organizations with the specified IDs (ex. id=foo&id=bar). Send multiple elements * by repeating the query value. */ readonly ids?: string[]; /** * Max items to fetch, default: 1000 */ readonly maxItems?: number; readonly name?: outputs.GetOrganizationsName; /** * The amount of items to return. Defaults to 10. */ readonly pageSize?: number; /** * An opaque token returned from the last list response that when * provided will retrieve the next page. */ readonly pageToken?: string; readonly parent?: outputs.GetOrganizationsParent; readonly results: outputs.GetOrganizationsResult[]; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleOrganizations = cloudflare.getOrganizations({ * ids: ["a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8"], * containing: { * account: "account", * organization: "organization", * user: "user", * }, * name: { * contains: "contains", * endsWith: "endsWith", * startsWith: "startsWith", * }, * pageSize: 0, * pageToken: "page_token", * parent: { * id: "a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8", * }, * }); * ``` */ export declare function getOrganizationsOutput(args?: GetOrganizationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOrganizations. */ export interface GetOrganizationsOutputArgs { containing?: pulumi.Input; /** * Only return organizations with the specified IDs (ex. id=foo&id=bar). Send multiple elements * by repeating the query value. */ ids?: pulumi.Input[]>; /** * Max items to fetch, default: 1000 */ maxItems?: pulumi.Input; name?: pulumi.Input; /** * The amount of items to return. Defaults to 10. */ pageSize?: pulumi.Input; /** * An opaque token returned from the last list response that when * provided will retrieve the next page. */ pageToken?: pulumi.Input; parent?: pulumi.Input; }