import * as pulumi from "@pulumi/pulumi"; /** * Data source for retrieving roles * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getRoles({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ export declare function getRoles(args: GetRolesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRoles. */ export interface GetRolesArgs { /** * The scope levels at which this role can be used */ allowedScopeLevels?: string[]; /** * Unique identifier of the resource. */ identifier: string; /** * Name of the resource. */ name?: string; /** * Unique identifier of the organization. */ orgId?: string; /** * List of the permission identifiers */ permissions?: string[]; /** * Unique identifier of the project. */ projectId?: string; } /** * A collection of values returned by getRoles. */ export interface GetRolesResult { /** * The scope levels at which this role can be used */ readonly allowedScopeLevels: string[]; /** * Description of the resource. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the resource. */ readonly identifier: string; /** * Name of the resource. */ readonly name?: string; /** * Unique identifier of the organization. */ readonly orgId?: string; /** * List of the permission identifiers */ readonly permissions?: string[]; /** * Unique identifier of the project. */ readonly projectId?: string; /** * Tags to associate with the resource. */ readonly tags: string[]; } /** * Data source for retrieving roles * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getRoles({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ export declare function getRolesOutput(args: GetRolesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRoles. */ export interface GetRolesOutputArgs { /** * The scope levels at which this role can be used */ allowedScopeLevels?: pulumi.Input[] | undefined>; /** * Unique identifier of the resource. */ identifier: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Unique identifier of the organization. */ orgId?: pulumi.Input; /** * List of the permission identifiers */ permissions?: pulumi.Input[] | undefined>; /** * Unique identifier of the project. */ projectId?: pulumi.Input; } //# sourceMappingURL=getRoles.d.ts.map