import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This data source provides the list of Groups in Oracle Cloud Infrastructure Identity service.
 *
 * Lists the groups in your tenancy. You must specify your tenancy's OCID as the value for
 * the compartment ID (remember that the tenancy is simply the root compartment).
 * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testGroups = oci.identity.getGroups({
 *     compartmentId: tenancyOcid,
 *     name: groupName,
 *     state: groupState,
 * });
 * ```
 */
export declare function getGroups(args: GetGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupsResult>;
/**
 * A collection of arguments for invoking getGroups.
 */
export interface GetGroupsArgs {
    /**
     * The OCID of the compartment (remember that the tenancy is simply the root compartment).
     */
    compartmentId: string;
    filters?: inputs.Identity.GetGroupsFilter[];
    /**
     * A filter to only return resources that match the given name exactly.
     */
    name?: string;
    /**
     * A filter to only return resources that match the given lifecycle state.  The state value is case-insensitive.
     */
    state?: string;
}
/**
 * A collection of values returned by getGroups.
 */
export interface GetGroupsResult {
    /**
     * The OCID of the tenancy containing the group.
     */
    readonly compartmentId: string;
    readonly filters?: outputs.Identity.GetGroupsFilter[];
    /**
     * The list of groups.
     */
    readonly groups: outputs.Identity.GetGroupsGroup[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The name you assign to the group during creation. The name must be unique across all groups in the tenancy and cannot be changed.
     */
    readonly name?: string;
    /**
     * The group's current state.
     */
    readonly state?: string;
}
/**
 * This data source provides the list of Groups in Oracle Cloud Infrastructure Identity service.
 *
 * Lists the groups in your tenancy. You must specify your tenancy's OCID as the value for
 * the compartment ID (remember that the tenancy is simply the root compartment).
 * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testGroups = oci.identity.getGroups({
 *     compartmentId: tenancyOcid,
 *     name: groupName,
 *     state: groupState,
 * });
 * ```
 */
export declare function getGroupsOutput(args: GetGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupsResult>;
/**
 * A collection of arguments for invoking getGroups.
 */
export interface GetGroupsOutputArgs {
    /**
     * The OCID of the compartment (remember that the tenancy is simply the root compartment).
     */
    compartmentId: pulumi.Input<string>;
    filters?: pulumi.Input<pulumi.Input<inputs.Identity.GetGroupsFilterArgs>[] | undefined>;
    /**
     * A filter to only return resources that match the given name exactly.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * A filter to only return resources that match the given lifecycle state.  The state value is case-insensitive.
     */
    state?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getGroups.d.ts.map