UNPKG

@muhlba91/pulumi-proxmoxve

Version:

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

139 lines (138 loc) 4.79 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; /** * The provider type for the proxmox package. By default, resources use package-wide configuration * settings, however an explicit `Provider` instance may be created and passed during resource * construction to achieve fine-grained programmatic control over provider settings. See the * [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. */ export declare class Provider extends pulumi.ProviderResource { /** * Returns true if the given object is an instance of Provider. 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 Provider; /** * The API token for the Proxmox VE API. */ readonly apiToken: pulumi.Output<string | undefined>; /** * The pre-authenticated Ticket for the Proxmox VE API. */ readonly authTicket: pulumi.Output<string | undefined>; /** * The pre-authenticated CSRF Prevention Token for the Proxmox VE API. */ readonly csrfPreventionToken: pulumi.Output<string | undefined>; /** * The endpoint for the Proxmox VE API. */ readonly endpoint: pulumi.Output<string | undefined>; /** * The minimum required TLS version for API calls.Supported values: `1.0|1.1|1.2|1.3`. Defaults to `1.3`. */ readonly minTls: pulumi.Output<string | undefined>; /** * The one-time password for the Proxmox VE API. * * @deprecated The `otp` attribute is deprecated and will be removed in a future release. Please use the `apiToken` attribute instead. */ readonly otp: pulumi.Output<string | undefined>; /** * The password for the Proxmox VE API. */ readonly password: pulumi.Output<string | undefined>; /** * The alternative temporary directory. */ readonly tmpDir: pulumi.Output<string | undefined>; /** * The username for the Proxmox VE API. */ readonly username: pulumi.Output<string | undefined>; /** * Create a Provider 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?: ProviderArgs, opts?: pulumi.ResourceOptions); /** * This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider. */ terraformConfig(): pulumi.Output<Provider.TerraformConfigResult>; } /** * The set of arguments for constructing a Provider resource. */ export interface ProviderArgs { /** * The API token for the Proxmox VE API. */ apiToken?: pulumi.Input<string>; /** * The pre-authenticated Ticket for the Proxmox VE API. */ authTicket?: pulumi.Input<string>; /** * The pre-authenticated CSRF Prevention Token for the Proxmox VE API. */ csrfPreventionToken?: pulumi.Input<string>; /** * The endpoint for the Proxmox VE API. */ endpoint?: pulumi.Input<string>; /** * Whether to skip the TLS verification step. */ insecure?: pulumi.Input<boolean>; /** * The minimum required TLS version for API calls.Supported values: `1.0|1.1|1.2|1.3`. Defaults to `1.3`. */ minTls?: pulumi.Input<string>; /** * The one-time password for the Proxmox VE API. * * @deprecated The `otp` attribute is deprecated and will be removed in a future release. Please use the `apiToken` attribute instead. */ otp?: pulumi.Input<string>; /** * The password for the Proxmox VE API. */ password?: pulumi.Input<string>; /** * The ending number for random VM / Container IDs. */ randomVmIdEnd?: pulumi.Input<number>; /** * The starting number for random VM / Container IDs. */ randomVmIdStart?: pulumi.Input<number>; /** * Whether to generate random VM / Container IDs. */ randomVmIds?: pulumi.Input<boolean>; /** * The SSH configuration for the Proxmox nodes. */ ssh?: pulumi.Input<inputs.ProviderSsh>; /** * The alternative temporary directory. */ tmpDir?: pulumi.Input<string>; /** * The username for the Proxmox VE API. */ username?: pulumi.Input<string>; } export declare namespace Provider { /** * The results of the Provider.terraformConfig method. */ interface TerraformConfigResult { readonly result: { [key: string]: any; }; } }