proxmoxve.Provider
Explore with Pulumi AI
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 for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_token: Optional[str] = None,
auth_ticket: Optional[str] = None,
csrf_prevention_token: Optional[str] = None,
endpoint: Optional[str] = None,
insecure: Optional[bool] = None,
min_tls: Optional[str] = None,
otp: Optional[str] = None,
password: Optional[str] = None,
random_vm_id_end: Optional[int] = None,
random_vm_id_start: Optional[int] = None,
random_vm_ids: Optional[bool] = None,
ssh: Optional[ProviderSshArgs] = None,
tmp_dir: Optional[str] = None,
username: Optional[str] = None)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:proxmoxve
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Api
Token string - The API token for the Proxmox VE API.
- Auth
Ticket string - The pre-authenticated Ticket for the Proxmox VE API.
- Csrf
Prevention stringToken - The pre-authenticated CSRF Prevention Token for the Proxmox VE API.
- Endpoint string
- The endpoint for the Proxmox VE API.
- Insecure bool
- Whether to skip the TLS verification step.
- Min
Tls string - The minimum required TLS version for API calls.Supported values:
1.0|1.1|1.2|1.3
. Defaults to1.3
. - Otp string
- The one-time password for the Proxmox VE API.
- Password string
- The password for the Proxmox VE API.
- Random
Vm intId End - The ending number for random VM / Container IDs.
- Random
Vm intId Start - The starting number for random VM / Container IDs.
- Random
Vm boolIds - Whether to generate random VM / Container IDs.
- Ssh
Pulumi.
Proxmox VE. Inputs. Provider Ssh - The SSH configuration for the Proxmox nodes.
- Tmp
Dir string - The alternative temporary directory.
- Username string
- The username for the Proxmox VE API.
- Api
Token string - The API token for the Proxmox VE API.
- Auth
Ticket string - The pre-authenticated Ticket for the Proxmox VE API.
- Csrf
Prevention stringToken - The pre-authenticated CSRF Prevention Token for the Proxmox VE API.
- Endpoint string
- The endpoint for the Proxmox VE API.
- Insecure bool
- Whether to skip the TLS verification step.
- Min
Tls string - The minimum required TLS version for API calls.Supported values:
1.0|1.1|1.2|1.3
. Defaults to1.3
. - Otp string
- The one-time password for the Proxmox VE API.
- Password string
- The password for the Proxmox VE API.
- Random
Vm intId End - The ending number for random VM / Container IDs.
- Random
Vm intId Start - The starting number for random VM / Container IDs.
- Random
Vm boolIds - Whether to generate random VM / Container IDs.
- Ssh
Provider
Ssh Args - The SSH configuration for the Proxmox nodes.
- Tmp
Dir string - The alternative temporary directory.
- Username string
- The username for the Proxmox VE API.
- api
Token String - The API token for the Proxmox VE API.
- auth
Ticket String - The pre-authenticated Ticket for the Proxmox VE API.
- csrf
Prevention StringToken - The pre-authenticated CSRF Prevention Token for the Proxmox VE API.
- endpoint String
- The endpoint for the Proxmox VE API.
- insecure Boolean
- Whether to skip the TLS verification step.
- min
Tls String - The minimum required TLS version for API calls.Supported values:
1.0|1.1|1.2|1.3
. Defaults to1.3
. - otp String
- The one-time password for the Proxmox VE API.
- password String
- The password for the Proxmox VE API.
- random
Vm IntegerId End - The ending number for random VM / Container IDs.
- random
Vm IntegerId Start - The starting number for random VM / Container IDs.
- random
Vm BooleanIds - Whether to generate random VM / Container IDs.
- ssh
Provider
Ssh - The SSH configuration for the Proxmox nodes.
- tmp
Dir String - The alternative temporary directory.
- username String
- The username for the Proxmox VE API.
- api
Token string - The API token for the Proxmox VE API.
- auth
Ticket string - The pre-authenticated Ticket for the Proxmox VE API.
- csrf
Prevention stringToken - The pre-authenticated CSRF Prevention Token for the Proxmox VE API.
- endpoint string
- The endpoint for the Proxmox VE API.
- insecure boolean
- Whether to skip the TLS verification step.
- min
Tls string - The minimum required TLS version for API calls.Supported values:
1.0|1.1|1.2|1.3
. Defaults to1.3
. - otp string
- The one-time password for the Proxmox VE API.
- password string
- The password for the Proxmox VE API.
- random
Vm numberId End - The ending number for random VM / Container IDs.
- random
Vm numberId Start - The starting number for random VM / Container IDs.
- random
Vm booleanIds - Whether to generate random VM / Container IDs.
- ssh
Provider
Ssh - The SSH configuration for the Proxmox nodes.
- tmp
Dir string - The alternative temporary directory.
- username string
- The username for the Proxmox VE API.
- api_
token str - The API token for the Proxmox VE API.
- auth_
ticket str - The pre-authenticated Ticket for the Proxmox VE API.
- csrf_
prevention_ strtoken - The pre-authenticated CSRF Prevention Token for the Proxmox VE API.
- endpoint str
- The endpoint for the Proxmox VE API.
- insecure bool
- Whether to skip the TLS verification step.
- min_
tls str - The minimum required TLS version for API calls.Supported values:
1.0|1.1|1.2|1.3
. Defaults to1.3
. - otp str
- The one-time password for the Proxmox VE API.
- password str
- The password for the Proxmox VE API.
- random_
vm_ intid_ end - The ending number for random VM / Container IDs.
- random_
vm_ intid_ start - The starting number for random VM / Container IDs.
- random_
vm_ boolids - Whether to generate random VM / Container IDs.
- ssh
Provider
Ssh Args - The SSH configuration for the Proxmox nodes.
- tmp_
dir str - The alternative temporary directory.
- username str
- The username for the Proxmox VE API.
- api
Token String - The API token for the Proxmox VE API.
- auth
Ticket String - The pre-authenticated Ticket for the Proxmox VE API.
- csrf
Prevention StringToken - The pre-authenticated CSRF Prevention Token for the Proxmox VE API.
- endpoint String
- The endpoint for the Proxmox VE API.
- insecure Boolean
- Whether to skip the TLS verification step.
- min
Tls String - The minimum required TLS version for API calls.Supported values:
1.0|1.1|1.2|1.3
. Defaults to1.3
. - otp String
- The one-time password for the Proxmox VE API.
- password String
- The password for the Proxmox VE API.
- random
Vm NumberId End - The ending number for random VM / Container IDs.
- random
Vm NumberId Start - The starting number for random VM / Container IDs.
- random
Vm BooleanIds - Whether to generate random VM / Container IDs.
- ssh Property Map
- The SSH configuration for the Proxmox nodes.
- tmp
Dir String - The alternative temporary directory.
- username String
- The username for the Proxmox VE API.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ProviderSsh, ProviderSshArgs
- Agent bool
- Whether to use the SSH agent for authentication. Takes precedence over the
private_key
andpassword
fields. Defaults to the value of thePROXMOX_VE_SSH_AGENT
environment variable, orfalse
if not set. - Agent
Socket string - The path to the SSH agent socket. Defaults to the value of the
SSH_AUTH_SOCK
environment variable. - Nodes
List<Pulumi.
Proxmox VE. Inputs. Provider Ssh Node> - Overrides for SSH connection configuration for a Proxmox VE node.
- Password string
- The password used for the SSH connection. Defaults to the value of the
password
field of theprovider
block. - Private
Key string - The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the
PROXMOX_VE_SSH_PRIVATE_KEY
environment variable. - Socks5Password string
- The password for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_PASSWORD
environment variable. - Socks5Server string
- The address:port of the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_SERVER
environment variable. - Socks5Username string
- The username for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_USERNAME
environment variable. - Username string
- The username used for the SSH connection. Defaults to the value of the
username
field of theprovider
block.
- Agent bool
- Whether to use the SSH agent for authentication. Takes precedence over the
private_key
andpassword
fields. Defaults to the value of thePROXMOX_VE_SSH_AGENT
environment variable, orfalse
if not set. - Agent
Socket string - The path to the SSH agent socket. Defaults to the value of the
SSH_AUTH_SOCK
environment variable. - Nodes
[]Provider
Ssh Node - Overrides for SSH connection configuration for a Proxmox VE node.
- Password string
- The password used for the SSH connection. Defaults to the value of the
password
field of theprovider
block. - Private
Key string - The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the
PROXMOX_VE_SSH_PRIVATE_KEY
environment variable. - Socks5Password string
- The password for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_PASSWORD
environment variable. - Socks5Server string
- The address:port of the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_SERVER
environment variable. - Socks5Username string
- The username for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_USERNAME
environment variable. - Username string
- The username used for the SSH connection. Defaults to the value of the
username
field of theprovider
block.
- agent Boolean
- Whether to use the SSH agent for authentication. Takes precedence over the
private_key
andpassword
fields. Defaults to the value of thePROXMOX_VE_SSH_AGENT
environment variable, orfalse
if not set. - agent
Socket String - The path to the SSH agent socket. Defaults to the value of the
SSH_AUTH_SOCK
environment variable. - nodes
List<Provider
Ssh Node> - Overrides for SSH connection configuration for a Proxmox VE node.
- password String
- The password used for the SSH connection. Defaults to the value of the
password
field of theprovider
block. - private
Key String - The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the
PROXMOX_VE_SSH_PRIVATE_KEY
environment variable. - socks5Password String
- The password for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_PASSWORD
environment variable. - socks5Server String
- The address:port of the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_SERVER
environment variable. - socks5Username String
- The username for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_USERNAME
environment variable. - username String
- The username used for the SSH connection. Defaults to the value of the
username
field of theprovider
block.
- agent boolean
- Whether to use the SSH agent for authentication. Takes precedence over the
private_key
andpassword
fields. Defaults to the value of thePROXMOX_VE_SSH_AGENT
environment variable, orfalse
if not set. - agent
Socket string - The path to the SSH agent socket. Defaults to the value of the
SSH_AUTH_SOCK
environment variable. - nodes
Provider
Ssh Node[] - Overrides for SSH connection configuration for a Proxmox VE node.
- password string
- The password used for the SSH connection. Defaults to the value of the
password
field of theprovider
block. - private
Key string - The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the
PROXMOX_VE_SSH_PRIVATE_KEY
environment variable. - socks5Password string
- The password for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_PASSWORD
environment variable. - socks5Server string
- The address:port of the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_SERVER
environment variable. - socks5Username string
- The username for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_USERNAME
environment variable. - username string
- The username used for the SSH connection. Defaults to the value of the
username
field of theprovider
block.
- agent bool
- Whether to use the SSH agent for authentication. Takes precedence over the
private_key
andpassword
fields. Defaults to the value of thePROXMOX_VE_SSH_AGENT
environment variable, orfalse
if not set. - agent_
socket str - The path to the SSH agent socket. Defaults to the value of the
SSH_AUTH_SOCK
environment variable. - nodes
Sequence[Provider
Ssh Node] - Overrides for SSH connection configuration for a Proxmox VE node.
- password str
- The password used for the SSH connection. Defaults to the value of the
password
field of theprovider
block. - private_
key str - The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the
PROXMOX_VE_SSH_PRIVATE_KEY
environment variable. - socks5_
password str - The password for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_PASSWORD
environment variable. - socks5_
server str - The address:port of the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_SERVER
environment variable. - socks5_
username str - The username for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_USERNAME
environment variable. - username str
- The username used for the SSH connection. Defaults to the value of the
username
field of theprovider
block.
- agent Boolean
- Whether to use the SSH agent for authentication. Takes precedence over the
private_key
andpassword
fields. Defaults to the value of thePROXMOX_VE_SSH_AGENT
environment variable, orfalse
if not set. - agent
Socket String - The path to the SSH agent socket. Defaults to the value of the
SSH_AUTH_SOCK
environment variable. - nodes List<Property Map>
- Overrides for SSH connection configuration for a Proxmox VE node.
- password String
- The password used for the SSH connection. Defaults to the value of the
password
field of theprovider
block. - private
Key String - The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the
PROXMOX_VE_SSH_PRIVATE_KEY
environment variable. - socks5Password String
- The password for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_PASSWORD
environment variable. - socks5Server String
- The address:port of the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_SERVER
environment variable. - socks5Username String
- The username for the SOCKS5 proxy server. Defaults to the value of the
PROXMOX_VE_SSH_SOCKS5_USERNAME
environment variable. - username String
- The username used for the SSH connection. Defaults to the value of the
username
field of theprovider
block.
ProviderSshNode, ProviderSshNodeArgs
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmox
Terraform Provider.