import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to list the existing IAM policies of an account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myGroups = ovh.Iam.getResourceGroups({}); * ``` */ export declare function getResourceGroups(opts?: pulumi.InvokeOptions): Promise; /** * A collection of values returned by getResourceGroups. */ export interface GetResourceGroupsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of the resource groups IDs. */ readonly resourceGroups: string[]; } /** * Use this data source to list the existing IAM policies of an account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myGroups = ovh.Iam.getResourceGroups({}); * ``` */ export declare function getResourceGroupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output;