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:
- ApiToken string
- The API token for the Proxmox VE API.
- AuthTicket string
- The pre-authenticated Ticket for the Proxmox VE API.
- CsrfPrevention 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.
- MinTls 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.
- RandomVm intId End 
- The ending number for random VM / Container IDs.
- RandomVm intId Start 
- The starting number for random VM / Container IDs.
- RandomVm boolIds 
- Whether to generate random VM / Container IDs.
- Ssh
Pulumi.Proxmox VE. Inputs. Provider Ssh 
- The SSH configuration for the Proxmox nodes.
- TmpDir string
- The alternative temporary directory.
- Username string
- The username for the Proxmox VE API.
- ApiToken string
- The API token for the Proxmox VE API.
- AuthTicket string
- The pre-authenticated Ticket for the Proxmox VE API.
- CsrfPrevention 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.
- MinTls 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.
- RandomVm intId End 
- The ending number for random VM / Container IDs.
- RandomVm intId Start 
- The starting number for random VM / Container IDs.
- RandomVm boolIds 
- Whether to generate random VM / Container IDs.
- Ssh
ProviderSsh Args 
- The SSH configuration for the Proxmox nodes.
- TmpDir string
- The alternative temporary directory.
- Username string
- The username for the Proxmox VE API.
- apiToken String
- The API token for the Proxmox VE API.
- authTicket String
- The pre-authenticated Ticket for the Proxmox VE API.
- csrfPrevention 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.
- minTls 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.
- randomVm IntegerId End 
- The ending number for random VM / Container IDs.
- randomVm IntegerId Start 
- The starting number for random VM / Container IDs.
- randomVm BooleanIds 
- Whether to generate random VM / Container IDs.
- ssh
ProviderSsh 
- The SSH configuration for the Proxmox nodes.
- tmpDir String
- The alternative temporary directory.
- username String
- The username for the Proxmox VE API.
- apiToken string
- The API token for the Proxmox VE API.
- authTicket string
- The pre-authenticated Ticket for the Proxmox VE API.
- csrfPrevention 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.
- minTls 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.
- randomVm numberId End 
- The ending number for random VM / Container IDs.
- randomVm numberId Start 
- The starting number for random VM / Container IDs.
- randomVm booleanIds 
- Whether to generate random VM / Container IDs.
- ssh
ProviderSsh 
- The SSH configuration for the Proxmox nodes.
- tmpDir 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
ProviderSsh Args 
- The SSH configuration for the Proxmox nodes.
- tmp_dir str
- The alternative temporary directory.
- username str
- The username for the Proxmox VE API.
- apiToken String
- The API token for the Proxmox VE API.
- authTicket String
- The pre-authenticated Ticket for the Proxmox VE API.
- csrfPrevention 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.
- minTls 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.
- randomVm NumberId End 
- The ending number for random VM / Container IDs.
- randomVm NumberId Start 
- The starting number for random VM / Container IDs.
- randomVm BooleanIds 
- Whether to generate random VM / Container IDs.
- ssh Property Map
- The SSH configuration for the Proxmox nodes.
- tmpDir 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_keyandpasswordfields. Defaults to the value of thePROXMOX_VE_SSH_AGENTenvironment variable, orfalseif not set.
- AgentSocket string
- The path to the SSH agent socket. Defaults to the value of the SSH_AUTH_SOCKenvironment 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 passwordfield of theproviderblock.
- PrivateKey string
- The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the PROXMOX_VE_SSH_PRIVATE_KEYenvironment variable.
- Socks5Password string
- The password for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_PASSWORDenvironment variable.
- Socks5Server string
- The address:port of the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_SERVERenvironment variable.
- Socks5Username string
- The username for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_USERNAMEenvironment variable.
- Username string
- The username used for the SSH connection. Defaults to the value of the usernamefield of theproviderblock.
- Agent bool
- Whether to use the SSH agent for authentication. Takes precedence over the private_keyandpasswordfields. Defaults to the value of thePROXMOX_VE_SSH_AGENTenvironment variable, orfalseif not set.
- AgentSocket string
- The path to the SSH agent socket. Defaults to the value of the SSH_AUTH_SOCKenvironment variable.
- Nodes
[]ProviderSsh 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 passwordfield of theproviderblock.
- PrivateKey string
- The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the PROXMOX_VE_SSH_PRIVATE_KEYenvironment variable.
- Socks5Password string
- The password for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_PASSWORDenvironment variable.
- Socks5Server string
- The address:port of the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_SERVERenvironment variable.
- Socks5Username string
- The username for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_USERNAMEenvironment variable.
- Username string
- The username used for the SSH connection. Defaults to the value of the usernamefield of theproviderblock.
- agent Boolean
- Whether to use the SSH agent for authentication. Takes precedence over the private_keyandpasswordfields. Defaults to the value of thePROXMOX_VE_SSH_AGENTenvironment variable, orfalseif not set.
- agentSocket String
- The path to the SSH agent socket. Defaults to the value of the SSH_AUTH_SOCKenvironment variable.
- nodes
List<ProviderSsh 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 passwordfield of theproviderblock.
- privateKey String
- The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the PROXMOX_VE_SSH_PRIVATE_KEYenvironment variable.
- socks5Password String
- The password for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_PASSWORDenvironment variable.
- socks5Server String
- The address:port of the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_SERVERenvironment variable.
- socks5Username String
- The username for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_USERNAMEenvironment variable.
- username String
- The username used for the SSH connection. Defaults to the value of the usernamefield of theproviderblock.
- agent boolean
- Whether to use the SSH agent for authentication. Takes precedence over the private_keyandpasswordfields. Defaults to the value of thePROXMOX_VE_SSH_AGENTenvironment variable, orfalseif not set.
- agentSocket string
- The path to the SSH agent socket. Defaults to the value of the SSH_AUTH_SOCKenvironment variable.
- nodes
ProviderSsh 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 passwordfield of theproviderblock.
- privateKey string
- The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the PROXMOX_VE_SSH_PRIVATE_KEYenvironment variable.
- socks5Password string
- The password for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_PASSWORDenvironment variable.
- socks5Server string
- The address:port of the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_SERVERenvironment variable.
- socks5Username string
- The username for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_USERNAMEenvironment variable.
- username string
- The username used for the SSH connection. Defaults to the value of the usernamefield of theproviderblock.
- agent bool
- Whether to use the SSH agent for authentication. Takes precedence over the private_keyandpasswordfields. Defaults to the value of thePROXMOX_VE_SSH_AGENTenvironment variable, orfalseif not set.
- agent_socket str
- The path to the SSH agent socket. Defaults to the value of the SSH_AUTH_SOCKenvironment variable.
- nodes
Sequence[ProviderSsh 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 passwordfield of theproviderblock.
- 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_KEYenvironment variable.
- socks5_password str
- The password for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_PASSWORDenvironment variable.
- socks5_server str
- The address:port of the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_SERVERenvironment variable.
- socks5_username str
- The username for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_USERNAMEenvironment variable.
- username str
- The username used for the SSH connection. Defaults to the value of the usernamefield of theproviderblock.
- agent Boolean
- Whether to use the SSH agent for authentication. Takes precedence over the private_keyandpasswordfields. Defaults to the value of thePROXMOX_VE_SSH_AGENTenvironment variable, orfalseif not set.
- agentSocket String
- The path to the SSH agent socket. Defaults to the value of the SSH_AUTH_SOCKenvironment 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 passwordfield of theproviderblock.
- privateKey String
- The unencrypted private key (in PEM format) used for the SSH connection. Defaults to the value of the PROXMOX_VE_SSH_PRIVATE_KEYenvironment variable.
- socks5Password String
- The password for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_PASSWORDenvironment variable.
- socks5Server String
- The address:port of the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_SERVERenvironment variable.
- socks5Username String
- The username for the SOCKS5 proxy server. Defaults to the value of the PROXMOX_VE_SSH_SOCKS5_USERNAMEenvironment variable.
- username String
- The username used for the SSH connection. Defaults to the value of the usernamefield of theproviderblock.
ProviderSshNode, ProviderSshNodeArgs      
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the proxmoxTerraform Provider.
