import * as pulumi from "@pulumi/pulumi"; /** * > **Deprecated:** Use `proxmoxve.Acl` instead. This resource will be removed in v1.0. * * Manages ACLs on the Proxmox cluster. * * ACLs are used to control access to resources in the Proxmox cluster. * Each ACL consists of a path, a user, group or token, a role, and a flag to allow propagation of permissions. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const operationsAutomation = new proxmoxve.UserLegacy("operations_automation", { * comment: "Managed by Pulumi", * password: "a-strong-password", * userId: "operations-automation@pve", * }); * const operationsMonitoring = new proxmoxve.RoleLegacy("operations_monitoring", { * roleId: "operations-monitoring", * privileges: ["VM.GuestAgent.Audit"], * }); * const operationsAutomationMonitoring = new proxmoxve.AclLegacy("operations_automation_monitoring", { * userId: operationsAutomation.userId, * roleId: operationsMonitoring.roleId, * path: "/vms/1234", * propagate: true, * }); * ``` * * ## Import * * !/usr/bin/env sh * ACL can be imported using its unique identifier, e.g.: {path}?{group|user@realm|user@realm!token}?{role} * * ```sh * $ pulumi import proxmoxve:index/aclLegacy:AclLegacy operations_automation_monitoring /?monitor@pve?operations-monitoring * ``` */ export declare class AclLegacy extends pulumi.CustomResource { /** * Get an existing AclLegacy 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?: AclLegacyState, opts?: pulumi.CustomResourceOptions): AclLegacy; /** * Returns true if the given object is an instance of AclLegacy. 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 AclLegacy; /** * The group the ACL should apply to (mutually exclusive with `tokenId` and `userId`) */ readonly groupId: pulumi.Output; /** * Access control path */ readonly path: pulumi.Output; /** * Allow to propagate (inherit) permissions. */ readonly propagate: pulumi.Output; /** * The role to apply */ readonly roleId: pulumi.Output; /** * The token the ACL should apply to (mutually exclusive with `groupId` and `userId`) */ readonly tokenId: pulumi.Output; /** * The user the ACL should apply to (mutually exclusive with `groupId` and `tokenId`) */ readonly userId: pulumi.Output; /** * Create a AclLegacy 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: AclLegacyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AclLegacy resources. */ export interface AclLegacyState { /** * The group the ACL should apply to (mutually exclusive with `tokenId` and `userId`) */ groupId?: pulumi.Input; /** * Access control path */ path?: pulumi.Input; /** * Allow to propagate (inherit) permissions. */ propagate?: pulumi.Input; /** * The role to apply */ roleId?: pulumi.Input; /** * The token the ACL should apply to (mutually exclusive with `groupId` and `userId`) */ tokenId?: pulumi.Input; /** * The user the ACL should apply to (mutually exclusive with `groupId` and `tokenId`) */ userId?: pulumi.Input; } /** * The set of arguments for constructing a AclLegacy resource. */ export interface AclLegacyArgs { /** * The group the ACL should apply to (mutually exclusive with `tokenId` and `userId`) */ groupId?: pulumi.Input; /** * Access control path */ path: pulumi.Input; /** * Allow to propagate (inherit) permissions. */ propagate?: pulumi.Input; /** * The role to apply */ roleId: pulumi.Input; /** * The token the ACL should apply to (mutually exclusive with `groupId` and `userId`) */ tokenId?: pulumi.Input; /** * The user the ACL should apply to (mutually exclusive with `groupId` and `tokenId`) */ userId?: pulumi.Input; } //# sourceMappingURL=aclLegacy.d.ts.map