import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to create a role based on the input parameters. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const test = new nutanix.Role("test", { * name: "NAME", * description: "DESCRIPTION", * permissionReferenceLists: [ * { * kind: "permission", * uuid: "ID OF PERMISSION", * }, * { * kind: "permission", * uuid: "ID OF PERMISSION", * }, * { * kind: "permission", * uuid: "ID OF PERMISSION", * }, * ], * }); * ``` * */ export declare class Role extends pulumi.CustomResource { /** * Get an existing Role 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?: RoleState, opts?: pulumi.CustomResourceOptions): Role; /** * Returns true if the given object is an instance of Role. 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 Role; /** * The version of the API. */ readonly apiVersion: pulumi.Output; /** * - (Optional) Categories for the role. */ readonly categories: pulumi.Output; /** * - (Optional) The description of the role. */ readonly description: pulumi.Output; /** * - The role kind metadata. */ readonly metadata: pulumi.Output<{ [key: string]: string; }>; /** * - (Optional) Name of the role. */ readonly name: pulumi.Output; /** * - (Optional) The reference to a user. */ readonly ownerReference: pulumi.Output; /** * - (Required) List of permission references. */ readonly permissionReferenceLists: pulumi.Output; /** * - (Optional) The reference to a project. */ readonly projectReference: pulumi.Output; /** * - The state of the role. */ readonly state: pulumi.Output; /** * Create a Role 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: RoleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Role resources. */ export interface RoleState { /** * The version of the API. */ apiVersion?: pulumi.Input; /** * - (Optional) Categories for the role. */ categories?: pulumi.Input[] | undefined>; /** * - (Optional) The description of the role. */ description?: pulumi.Input; /** * - The role kind metadata. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) Name of the role. */ name?: pulumi.Input; /** * - (Optional) The reference to a user. */ ownerReference?: pulumi.Input; /** * - (Required) List of permission references. */ permissionReferenceLists?: pulumi.Input[] | undefined>; /** * - (Optional) The reference to a project. */ projectReference?: pulumi.Input; /** * - The state of the role. */ state?: pulumi.Input; } /** * The set of arguments for constructing a Role resource. */ export interface RoleArgs { /** * - (Optional) Categories for the role. */ categories?: pulumi.Input[] | undefined>; /** * - (Optional) The description of the role. */ description?: pulumi.Input; /** * - (Optional) Name of the role. */ name?: pulumi.Input; /** * - (Optional) The reference to a user. */ ownerReference?: pulumi.Input; /** * - (Required) List of permission references. */ permissionReferenceLists: pulumi.Input[]>; /** * - (Optional) The reference to a project. */ projectReference?: pulumi.Input; } //# sourceMappingURL=role.d.ts.map