import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of iam roles
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.iam.getRoles({
 *     query: "CustomRoleForOOS",
 * });
 * ```
 */
export declare function getRoles(args?: GetRolesArgs, opts?: pulumi.InvokeOptions): Promise<GetRolesResult>;
/**
 * A collection of arguments for invoking getRoles.
 */
export interface GetRolesArgs {
    /**
     * A Name Regex of Role.
     */
    nameRegex?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * Fuzzy query. Can query by role name, display name or description.
     */
    query?: string;
}
/**
 * A collection of values returned by getRoles.
 */
export interface GetRolesResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly nameRegex?: string;
    readonly outputFile?: string;
    readonly query?: string;
    /**
     * The collection of Role query.
     */
    readonly roles: outputs.iam.GetRolesRole[];
    /**
     * The total count of Role query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of iam roles
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.iam.getRoles({
 *     query: "CustomRoleForOOS",
 * });
 * ```
 */
export declare function getRolesOutput(args?: GetRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRolesResult>;
/**
 * A collection of arguments for invoking getRoles.
 */
export interface GetRolesOutputArgs {
    /**
     * A Name Regex of Role.
     */
    nameRegex?: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * Fuzzy query. Can query by role name, display name or description.
     */
    query?: pulumi.Input<string>;
}
