import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about multiple roles for use in other resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const keyManagementRoles = datadog.getRoles({ * filter: "API Key Manager", * }); * ``` */ export declare function getRoles(args?: GetRolesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRoles. */ export interface GetRolesArgs { /** * Filter all roles by the given string. */ filter?: string; } /** * A collection of values returned by getRoles. */ export interface GetRolesResult { /** * Filter all roles by the given string. */ readonly filter?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of Roles */ readonly roles: outputs.GetRolesRole[]; } /** * Use this data source to retrieve information about multiple roles for use in other resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const keyManagementRoles = datadog.getRoles({ * filter: "API Key Manager", * }); * ``` */ export declare function getRolesOutput(args?: GetRolesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRoles. */ export interface GetRolesOutputArgs { /** * Filter all roles by the given string. */ filter?: pulumi.Input; }