Documentation
¶
Index ¶
- func GetApiToken(ctx *pulumi.Context) string
- func GetEndpoint(ctx *pulumi.Context) string
- func GetInsecure(ctx *pulumi.Context) bool
- func GetMinTls(ctx *pulumi.Context) string
- func GetOtp(ctx *pulumi.Context) stringdeprecated
- func GetPassword(ctx *pulumi.Context) string
- func GetSsh(ctx *pulumi.Context) string
- func GetTmpDir(ctx *pulumi.Context) string
- func GetUsername(ctx *pulumi.Context) string
- type Ssh
- type SshArgs
- type SshInput
- type SshNode
- type SshNodeArgs
- type SshNodeArray
- type SshNodeArrayInput
- type SshNodeArrayOutput
- type SshNodeInput
- type SshNodeOutput
- func (o SshNodeOutput) Address() pulumi.StringOutput
- func (SshNodeOutput) ElementType() reflect.Type
- func (o SshNodeOutput) Name() pulumi.StringOutput
- func (o SshNodeOutput) Port() pulumi.IntPtrOutput
- func (o SshNodeOutput) ToSshNodeOutput() SshNodeOutput
- func (o SshNodeOutput) ToSshNodeOutputWithContext(ctx context.Context) SshNodeOutput
- type SshOutput
- func (o SshOutput) Agent() pulumi.BoolPtrOutput
- func (o SshOutput) AgentSocket() pulumi.StringPtrOutput
- func (SshOutput) ElementType() reflect.Type
- func (o SshOutput) Nodes() SshNodeArrayOutput
- func (o SshOutput) Password() pulumi.StringPtrOutput
- func (o SshOutput) PrivateKey() pulumi.StringPtrOutput
- func (o SshOutput) Socks5Password() pulumi.StringPtrOutput
- func (o SshOutput) Socks5Server() pulumi.StringPtrOutput
- func (o SshOutput) Socks5Username() pulumi.StringPtrOutput
- func (o SshOutput) ToSshOutput() SshOutput
- func (o SshOutput) ToSshOutputWithContext(ctx context.Context) SshOutput
- func (o SshOutput) Username() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApiToken ¶
The API token for the Proxmox VE API.
func GetEndpoint ¶
The endpoint for the Proxmox VE API.
func GetInsecure ¶
Whether to skip the TLS verification step.
func GetMinTls ¶
The minimum required TLS version for API calls.Supported values: `1.0|1.1|1.2|1.3`. Defaults to `1.3`.
func GetPassword ¶
The password for the Proxmox VE API.
func GetUsername ¶
The username for the Proxmox VE API.
Types ¶
type Ssh ¶
type Ssh struct { // Whether to use the SSH agent for authentication. Takes precedence over the `privateKey` and `password` fields. Defaults to the value of the `PROXMOX_VE_SSH_AGENT` environment variable, or `false` if not set. Agent *bool `pulumi:"agent"` // The path to the SSH agent socket. Defaults to the value of the `SSH_AUTH_SOCK` environment variable. AgentSocket *string `pulumi:"agentSocket"` // Overrides for SSH connection configuration for a Proxmox VE node. Nodes []SshNode `pulumi:"nodes"` // The password used for the SSH connection. Defaults to the value of the `password` field of the `provider` block. Password *string `pulumi:"password"` // 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. PrivateKey *string `pulumi:"privateKey"` // The password for the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_PASSWORD` environment variable. Socks5Password *string `pulumi:"socks5Password"` // The address:port of the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_SERVER` environment variable. Socks5Server *string `pulumi:"socks5Server"` // The username for the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_USERNAME` environment variable. Socks5Username *string `pulumi:"socks5Username"` // The username used for the SSH connection. Defaults to the value of the `username` field of the `provider` block. Username *string `pulumi:"username"` }
type SshArgs ¶
type SshArgs struct { // Whether to use the SSH agent for authentication. Takes precedence over the `privateKey` and `password` fields. Defaults to the value of the `PROXMOX_VE_SSH_AGENT` environment variable, or `false` if not set. Agent pulumi.BoolPtrInput `pulumi:"agent"` // The path to the SSH agent socket. Defaults to the value of the `SSH_AUTH_SOCK` environment variable. AgentSocket pulumi.StringPtrInput `pulumi:"agentSocket"` // Overrides for SSH connection configuration for a Proxmox VE node. Nodes SshNodeArrayInput `pulumi:"nodes"` // The password used for the SSH connection. Defaults to the value of the `password` field of the `provider` block. Password pulumi.StringPtrInput `pulumi:"password"` // 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. PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` // The password for the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_PASSWORD` environment variable. Socks5Password pulumi.StringPtrInput `pulumi:"socks5Password"` // The address:port of the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_SERVER` environment variable. Socks5Server pulumi.StringPtrInput `pulumi:"socks5Server"` // The username for the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_USERNAME` environment variable. Socks5Username pulumi.StringPtrInput `pulumi:"socks5Username"` // The username used for the SSH connection. Defaults to the value of the `username` field of the `provider` block. Username pulumi.StringPtrInput `pulumi:"username"` }
func (SshArgs) ElementType ¶
func (SshArgs) ToSshOutput ¶
type SshInput ¶
type SshInput interface { pulumi.Input ToSshOutput() SshOutput ToSshOutputWithContext(context.Context) SshOutput }
SshInput is an input type that accepts SshArgs and SshOutput values. You can construct a concrete instance of `SshInput` via:
SshArgs{...}
type SshNodeArgs ¶
type SshNodeArgs struct { // The address of the Proxmox VE node. Address pulumi.StringInput `pulumi:"address"` // The name of the Proxmox VE node. Name pulumi.StringInput `pulumi:"name"` // The port of the Proxmox VE node. Port pulumi.IntPtrInput `pulumi:"port"` }
func (SshNodeArgs) ElementType ¶
func (SshNodeArgs) ElementType() reflect.Type
func (SshNodeArgs) ToSshNodeOutput ¶
func (i SshNodeArgs) ToSshNodeOutput() SshNodeOutput
func (SshNodeArgs) ToSshNodeOutputWithContext ¶
func (i SshNodeArgs) ToSshNodeOutputWithContext(ctx context.Context) SshNodeOutput
type SshNodeArray ¶
type SshNodeArray []SshNodeInput
func (SshNodeArray) ElementType ¶
func (SshNodeArray) ElementType() reflect.Type
func (SshNodeArray) ToSshNodeArrayOutput ¶
func (i SshNodeArray) ToSshNodeArrayOutput() SshNodeArrayOutput
func (SshNodeArray) ToSshNodeArrayOutputWithContext ¶
func (i SshNodeArray) ToSshNodeArrayOutputWithContext(ctx context.Context) SshNodeArrayOutput
type SshNodeArrayInput ¶
type SshNodeArrayInput interface { pulumi.Input ToSshNodeArrayOutput() SshNodeArrayOutput ToSshNodeArrayOutputWithContext(context.Context) SshNodeArrayOutput }
SshNodeArrayInput is an input type that accepts SshNodeArray and SshNodeArrayOutput values. You can construct a concrete instance of `SshNodeArrayInput` via:
SshNodeArray{ SshNodeArgs{...} }
type SshNodeArrayOutput ¶
type SshNodeArrayOutput struct{ *pulumi.OutputState }
func (SshNodeArrayOutput) ElementType ¶
func (SshNodeArrayOutput) ElementType() reflect.Type
func (SshNodeArrayOutput) Index ¶
func (o SshNodeArrayOutput) Index(i pulumi.IntInput) SshNodeOutput
func (SshNodeArrayOutput) ToSshNodeArrayOutput ¶
func (o SshNodeArrayOutput) ToSshNodeArrayOutput() SshNodeArrayOutput
func (SshNodeArrayOutput) ToSshNodeArrayOutputWithContext ¶
func (o SshNodeArrayOutput) ToSshNodeArrayOutputWithContext(ctx context.Context) SshNodeArrayOutput
type SshNodeInput ¶
type SshNodeInput interface { pulumi.Input ToSshNodeOutput() SshNodeOutput ToSshNodeOutputWithContext(context.Context) SshNodeOutput }
SshNodeInput is an input type that accepts SshNodeArgs and SshNodeOutput values. You can construct a concrete instance of `SshNodeInput` via:
SshNodeArgs{...}
type SshNodeOutput ¶
type SshNodeOutput struct{ *pulumi.OutputState }
func (SshNodeOutput) Address ¶
func (o SshNodeOutput) Address() pulumi.StringOutput
The address of the Proxmox VE node.
func (SshNodeOutput) ElementType ¶
func (SshNodeOutput) ElementType() reflect.Type
func (SshNodeOutput) Name ¶
func (o SshNodeOutput) Name() pulumi.StringOutput
The name of the Proxmox VE node.
func (SshNodeOutput) Port ¶
func (o SshNodeOutput) Port() pulumi.IntPtrOutput
The port of the Proxmox VE node.
func (SshNodeOutput) ToSshNodeOutput ¶
func (o SshNodeOutput) ToSshNodeOutput() SshNodeOutput
func (SshNodeOutput) ToSshNodeOutputWithContext ¶
func (o SshNodeOutput) ToSshNodeOutputWithContext(ctx context.Context) SshNodeOutput
type SshOutput ¶
type SshOutput struct{ *pulumi.OutputState }
func (SshOutput) Agent ¶
func (o SshOutput) Agent() pulumi.BoolPtrOutput
Whether to use the SSH agent for authentication. Takes precedence over the `privateKey` and `password` fields. Defaults to the value of the `PROXMOX_VE_SSH_AGENT` environment variable, or `false` if not set.
func (SshOutput) AgentSocket ¶
func (o SshOutput) AgentSocket() pulumi.StringPtrOutput
The path to the SSH agent socket. Defaults to the value of the `SSH_AUTH_SOCK` environment variable.
func (SshOutput) ElementType ¶
func (SshOutput) Nodes ¶
func (o SshOutput) Nodes() SshNodeArrayOutput
Overrides for SSH connection configuration for a Proxmox VE node.
func (SshOutput) Password ¶
func (o SshOutput) Password() pulumi.StringPtrOutput
The password used for the SSH connection. Defaults to the value of the `password` field of the `provider` block.
func (SshOutput) PrivateKey ¶
func (o SshOutput) PrivateKey() pulumi.StringPtrOutput
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.
func (SshOutput) Socks5Password ¶
func (o SshOutput) Socks5Password() pulumi.StringPtrOutput
The password for the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_PASSWORD` environment variable.
func (SshOutput) Socks5Server ¶
func (o SshOutput) Socks5Server() pulumi.StringPtrOutput
The address:port of the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_SERVER` environment variable.
func (SshOutput) Socks5Username ¶
func (o SshOutput) Socks5Username() pulumi.StringPtrOutput
The username for the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_USERNAME` environment variable.
func (SshOutput) ToSshOutput ¶
func (SshOutput) ToSshOutputWithContext ¶
func (SshOutput) Username ¶
func (o SshOutput) Username() pulumi.StringPtrOutput
The username used for the SSH connection. Defaults to the value of the `username` field of the `provider` block.