import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for creating role assignments in Harness. * * ## Import * * The `pulumi import` command can be used, for example: * * Import account level role assignments * * ```sh * $ pulumi import harness:platform/roleAssignments:RoleAssignments example * ``` * * Import org level role assignments * * ```sh * $ pulumi import harness:platform/roleAssignments:RoleAssignments example / * ``` * * Import project level role assignments * * ```sh * $ pulumi import harness:platform/roleAssignments:RoleAssignments example // * ``` */ export declare class RoleAssignments extends pulumi.CustomResource { /** * Get an existing RoleAssignments resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RoleAssignmentsState, opts?: pulumi.CustomResourceOptions): RoleAssignments; /** * Returns true if the given object is an instance of RoleAssignments. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RoleAssignments; /** * Disabled or not. */ readonly disabled: pulumi.Output; /** * Identifier for role assignment. */ readonly identifier: pulumi.Output; /** * Managed or not. */ readonly managed: pulumi.Output; /** * Org identifier. */ readonly orgId: pulumi.Output; /** * Principal. */ readonly principals: pulumi.Output; /** * Project Identifier */ readonly projectId: pulumi.Output; /** * Resource group identifier. */ readonly resourceGroupIdentifier: pulumi.Output; /** * Role identifier. */ readonly roleIdentifier: pulumi.Output; /** * Role reference. Used to reference roles from a higher scope (e.g., an org-level role in a project-level assignment). When both role*identifier and role*reference are set, they must point to the same role. */ readonly roleReference: pulumi.Output; /** * Create a RoleAssignments resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: RoleAssignmentsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RoleAssignments resources. */ export interface RoleAssignmentsState { /** * Disabled or not. */ disabled?: pulumi.Input; /** * Identifier for role assignment. */ identifier?: pulumi.Input; /** * Managed or not. */ managed?: pulumi.Input; /** * Org identifier. */ orgId?: pulumi.Input; /** * Principal. */ principals?: pulumi.Input[] | undefined>; /** * Project Identifier */ projectId?: pulumi.Input; /** * Resource group identifier. */ resourceGroupIdentifier?: pulumi.Input; /** * Role identifier. */ roleIdentifier?: pulumi.Input; /** * Role reference. Used to reference roles from a higher scope (e.g., an org-level role in a project-level assignment). When both role*identifier and role*reference are set, they must point to the same role. */ roleReference?: pulumi.Input; } /** * The set of arguments for constructing a RoleAssignments resource. */ export interface RoleAssignmentsArgs { /** * Disabled or not. */ disabled?: pulumi.Input; /** * Identifier for role assignment. */ identifier?: pulumi.Input; /** * Managed or not. */ managed?: pulumi.Input; /** * Org identifier. */ orgId?: pulumi.Input; /** * Principal. */ principals?: pulumi.Input[] | undefined>; /** * Project Identifier */ projectId?: pulumi.Input; /** * Resource group identifier. */ resourceGroupIdentifier?: pulumi.Input; /** * Role identifier. */ roleIdentifier?: pulumi.Input; /** * Role reference. Used to reference roles from a higher scope (e.g., an org-level role in a project-level assignment). When both role*identifier and role*reference are set, they must point to the same role. */ roleReference?: pulumi.Input; } //# sourceMappingURL=roleAssignments.d.ts.map