UNPKG

@muhlba91/pulumi-proxmoxve

Version:

A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.

120 lines 4.77 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Manages a user group. * * > **Deprecation:** the inline `acl` block is deprecated. Manage group ACLs via the dedicated * `proxmoxve.Acl` resource instead. The `acl` block is no longer auto-populated from a * cluster-wide fetch on refresh or import; existing configurations using `acl` blocks continue * to work, but new code should use `proxmoxve.Acl`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const operationsTeam = new proxmoxve.GroupLegacy("operations_team", { * comment: "Managed by Pulumi", * groupId: "operations-team", * }); * ``` * * ## Import * * Instances can be imported using the `groupId`, e.g., * * ```sh * $ pulumi import proxmoxve:index/groupLegacy:GroupLegacy operations_team operations-team * ``` */ export declare class GroupLegacy extends pulumi.CustomResource { /** * Get an existing GroupLegacy 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<pulumi.ID>, state?: GroupLegacyState, opts?: pulumi.CustomResourceOptions): GroupLegacy; /** * Returns true if the given object is an instance of GroupLegacy. 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 GroupLegacy; /** * The access control list (multiple blocks supported). Use * `proxmoxve.Acl` instead. * * @deprecated Manage ACLs via the dedicated `proxmoxve.Acl` resource instead. The inline `acl` block is no longer auto-populated from the cluster on refresh or import; existing groups with `acl` blocks continue to work, but new code should use `proxmoxve.Acl`. */ readonly acls: pulumi.Output<outputs.GroupLegacyAcl[] | undefined>; /** * The group comment. */ readonly comment: pulumi.Output<string | undefined>; /** * The group identifier. */ readonly groupId: pulumi.Output<string>; /** * The group members as a list of `username@realm` entries */ readonly members: pulumi.Output<string[]>; /** * Create a GroupLegacy 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: GroupLegacyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GroupLegacy resources. */ export interface GroupLegacyState { /** * The access control list (multiple blocks supported). Use * `proxmoxve.Acl` instead. * * @deprecated Manage ACLs via the dedicated `proxmoxve.Acl` resource instead. The inline `acl` block is no longer auto-populated from the cluster on refresh or import; existing groups with `acl` blocks continue to work, but new code should use `proxmoxve.Acl`. */ acls?: pulumi.Input<pulumi.Input<inputs.GroupLegacyAcl>[] | undefined>; /** * The group comment. */ comment?: pulumi.Input<string | undefined>; /** * The group identifier. */ groupId?: pulumi.Input<string | undefined>; /** * The group members as a list of `username@realm` entries */ members?: pulumi.Input<pulumi.Input<string>[] | undefined>; } /** * The set of arguments for constructing a GroupLegacy resource. */ export interface GroupLegacyArgs { /** * The access control list (multiple blocks supported). Use * `proxmoxve.Acl` instead. * * @deprecated Manage ACLs via the dedicated `proxmoxve.Acl` resource instead. The inline `acl` block is no longer auto-populated from the cluster on refresh or import; existing groups with `acl` blocks continue to work, but new code should use `proxmoxve.Acl`. */ acls?: pulumi.Input<pulumi.Input<inputs.GroupLegacyAcl>[] | undefined>; /** * The group comment. */ comment?: pulumi.Input<string | undefined>; /** * The group identifier. */ groupId: pulumi.Input<string>; } //# sourceMappingURL=groupLegacy.d.ts.map