import * as pulumi from "@pulumi/pulumi"; /** * > **Deprecated:** Use `proxmoxve.Haresource` instead. This resource will be removed in v1.0. * * Manages Proxmox HA resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = new proxmoxve.HaresourceLegacy("example", { * resourceId: "vm:123", * state: "started", * group: "example", * comment: "Managed by Pulumi", * }, { * dependsOn: [exampleProxmoxVirtualEnvironmentHagroup], * }); * ``` * * ## Import * * !/usr/bin/env sh * HA resources can be imported using their identifiers, e.g.: * * ```sh * $ pulumi import proxmoxve:index/haresourceLegacy:HaresourceLegacy example vm:123 * ``` */ export declare class HaresourceLegacy extends pulumi.CustomResource { /** * Get an existing HaresourceLegacy 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?: HaresourceLegacyState, opts?: pulumi.CustomResourceOptions): HaresourceLegacy; /** * Returns true if the given object is an instance of HaresourceLegacy. 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 HaresourceLegacy; /** * The comment associated with this resource. */ readonly comment: pulumi.Output; /** * The identifier of the High Availability group this resource is a member of. */ readonly group: pulumi.Output; /** * The maximal number of relocation attempts. */ readonly maxRelocate: pulumi.Output; /** * The maximal number of restart attempts. */ readonly maxRestart: pulumi.Output; /** * The Proxmox HA resource identifier */ readonly resourceId: pulumi.Output; /** * The desired state of the resource. */ readonly state: pulumi.Output; /** * The type of HA resources to create. If unset, it will be deduced from the `resourceId`. */ readonly type: pulumi.Output; /** * Create a HaresourceLegacy 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: HaresourceLegacyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering HaresourceLegacy resources. */ export interface HaresourceLegacyState { /** * The comment associated with this resource. */ comment?: pulumi.Input; /** * The identifier of the High Availability group this resource is a member of. */ group?: pulumi.Input; /** * The maximal number of relocation attempts. */ maxRelocate?: pulumi.Input; /** * The maximal number of restart attempts. */ maxRestart?: pulumi.Input; /** * The Proxmox HA resource identifier */ resourceId?: pulumi.Input; /** * The desired state of the resource. */ state?: pulumi.Input; /** * The type of HA resources to create. If unset, it will be deduced from the `resourceId`. */ type?: pulumi.Input; } /** * The set of arguments for constructing a HaresourceLegacy resource. */ export interface HaresourceLegacyArgs { /** * The comment associated with this resource. */ comment?: pulumi.Input; /** * The identifier of the High Availability group this resource is a member of. */ group?: pulumi.Input; /** * The maximal number of relocation attempts. */ maxRelocate?: pulumi.Input; /** * The maximal number of restart attempts. */ maxRestart?: pulumi.Input; /** * The Proxmox HA resource identifier */ resourceId: pulumi.Input; /** * The desired state of the resource. */ state?: pulumi.Input; /** * The type of HA resources to create. If unset, it will be deduced from the `resourceId`. */ type?: pulumi.Input; } //# sourceMappingURL=haresourceLegacy.d.ts.map