proxmoxve

package
v6.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certifi

type Certifi struct {
	pulumi.CustomResourceState

	// The PEM encoded certificate.
	Certificate pulumi.StringOutput `pulumi:"certificate"`
	// The PEM encoded certificate chain.
	CertificateChain pulumi.StringPtrOutput `pulumi:"certificateChain"`
	// The expiration date (RFC 3339).
	ExpirationDate pulumi.StringOutput `pulumi:"expirationDate"`
	// The file name.
	FileName pulumi.StringOutput `pulumi:"fileName"`
	// The issuer.
	Issuer pulumi.StringOutput `pulumi:"issuer"`
	// A node name.
	NodeName pulumi.StringOutput `pulumi:"nodeName"`
	// Whether to overwrite an existing certificate
	Overwrite pulumi.BoolPtrOutput `pulumi:"overwrite"`
	// The PEM encoded private key.
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
	// The public key size.
	PublicKeySize pulumi.IntOutput `pulumi:"publicKeySize"`
	// The public key type.
	PublicKeyType pulumi.StringOutput `pulumi:"publicKeyType"`
	// The SSL fingerprint.
	SslFingerprint pulumi.StringOutput `pulumi:"sslFingerprint"`
	// The start date (RFC 3339).
	StartDate pulumi.StringOutput `pulumi:"startDate"`
	// The subject.
	Subject pulumi.StringOutput `pulumi:"subject"`
	// The subject alternative names.
	SubjectAlternativeNames pulumi.StringArrayOutput `pulumi:"subjectAlternativeNames"`
}

Manages the custom SSL/TLS certificate for a specific node.

func GetCertifi

func GetCertifi(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertifiState, opts ...pulumi.ResourceOption) (*Certifi, error)

GetCertifi gets an existing Certifi resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCertifi

func NewCertifi(ctx *pulumi.Context,
	name string, args *CertifiArgs, opts ...pulumi.ResourceOption) (*Certifi, error)

NewCertifi registers a new resource with the given unique name, arguments, and options.

func (*Certifi) ElementType

func (*Certifi) ElementType() reflect.Type

func (*Certifi) ToCertifiOutput

func (i *Certifi) ToCertifiOutput() CertifiOutput

func (*Certifi) ToCertifiOutputWithContext

func (i *Certifi) ToCertifiOutputWithContext(ctx context.Context) CertifiOutput

type CertifiArgs

type CertifiArgs struct {
	// The PEM encoded certificate.
	Certificate pulumi.StringInput
	// The PEM encoded certificate chain.
	CertificateChain pulumi.StringPtrInput
	// A node name.
	NodeName pulumi.StringInput
	// Whether to overwrite an existing certificate
	Overwrite pulumi.BoolPtrInput
	// The PEM encoded private key.
	PrivateKey pulumi.StringInput
}

The set of arguments for constructing a Certifi resource.

func (CertifiArgs) ElementType

func (CertifiArgs) ElementType() reflect.Type

type CertifiArray

type CertifiArray []CertifiInput

func (CertifiArray) ElementType

func (CertifiArray) ElementType() reflect.Type

func (CertifiArray) ToCertifiArrayOutput

func (i CertifiArray) ToCertifiArrayOutput() CertifiArrayOutput

func (CertifiArray) ToCertifiArrayOutputWithContext

func (i CertifiArray) ToCertifiArrayOutputWithContext(ctx context.Context) CertifiArrayOutput

type CertifiArrayInput

type CertifiArrayInput interface {
	pulumi.Input

	ToCertifiArrayOutput() CertifiArrayOutput
	ToCertifiArrayOutputWithContext(context.Context) CertifiArrayOutput
}

CertifiArrayInput is an input type that accepts CertifiArray and CertifiArrayOutput values. You can construct a concrete instance of `CertifiArrayInput` via:

CertifiArray{ CertifiArgs{...} }

type CertifiArrayOutput

type CertifiArrayOutput struct{ *pulumi.OutputState }

func (CertifiArrayOutput) ElementType

func (CertifiArrayOutput) ElementType() reflect.Type

func (CertifiArrayOutput) Index

func (CertifiArrayOutput) ToCertifiArrayOutput

func (o CertifiArrayOutput) ToCertifiArrayOutput() CertifiArrayOutput

func (CertifiArrayOutput) ToCertifiArrayOutputWithContext

func (o CertifiArrayOutput) ToCertifiArrayOutputWithContext(ctx context.Context) CertifiArrayOutput

type CertifiInput

type CertifiInput interface {
	pulumi.Input

	ToCertifiOutput() CertifiOutput
	ToCertifiOutputWithContext(ctx context.Context) CertifiOutput
}

type CertifiMap

type CertifiMap map[string]CertifiInput

func (CertifiMap) ElementType

func (CertifiMap) ElementType() reflect.Type

func (CertifiMap) ToCertifiMapOutput

func (i CertifiMap) ToCertifiMapOutput() CertifiMapOutput

func (CertifiMap) ToCertifiMapOutputWithContext

func (i CertifiMap) ToCertifiMapOutputWithContext(ctx context.Context) CertifiMapOutput

type CertifiMapInput

type CertifiMapInput interface {
	pulumi.Input

	ToCertifiMapOutput() CertifiMapOutput
	ToCertifiMapOutputWithContext(context.Context) CertifiMapOutput
}

CertifiMapInput is an input type that accepts CertifiMap and CertifiMapOutput values. You can construct a concrete instance of `CertifiMapInput` via:

CertifiMap{ "key": CertifiArgs{...} }

type CertifiMapOutput

type CertifiMapOutput struct{ *pulumi.OutputState }

func (CertifiMapOutput) ElementType

func (CertifiMapOutput) ElementType() reflect.Type

func (CertifiMapOutput) MapIndex

func (CertifiMapOutput) ToCertifiMapOutput

func (o CertifiMapOutput) ToCertifiMapOutput() CertifiMapOutput

func (CertifiMapOutput) ToCertifiMapOutputWithContext

func (o CertifiMapOutput) ToCertifiMapOutputWithContext(ctx context.Context) CertifiMapOutput

type CertifiOutput

type CertifiOutput struct{ *pulumi.OutputState }

func (CertifiOutput) Certificate

func (o CertifiOutput) Certificate() pulumi.StringOutput

The PEM encoded certificate.

func (CertifiOutput) CertificateChain

func (o CertifiOutput) CertificateChain() pulumi.StringPtrOutput

The PEM encoded certificate chain.

func (CertifiOutput) ElementType

func (CertifiOutput) ElementType() reflect.Type

func (CertifiOutput) ExpirationDate

func (o CertifiOutput) ExpirationDate() pulumi.StringOutput

The expiration date (RFC 3339).

func (CertifiOutput) FileName

func (o CertifiOutput) FileName() pulumi.StringOutput

The file name.

func (CertifiOutput) Issuer

func (o CertifiOutput) Issuer() pulumi.StringOutput

The issuer.

func (CertifiOutput) NodeName

func (o CertifiOutput) NodeName() pulumi.StringOutput

A node name.

func (CertifiOutput) Overwrite

func (o CertifiOutput) Overwrite() pulumi.BoolPtrOutput

Whether to overwrite an existing certificate

func (CertifiOutput) PrivateKey

func (o CertifiOutput) PrivateKey() pulumi.StringOutput

The PEM encoded private key.

func (CertifiOutput) PublicKeySize

func (o CertifiOutput) PublicKeySize() pulumi.IntOutput

The public key size.

func (CertifiOutput) PublicKeyType

func (o CertifiOutput) PublicKeyType() pulumi.StringOutput

The public key type.

func (CertifiOutput) SslFingerprint

func (o CertifiOutput) SslFingerprint() pulumi.StringOutput

The SSL fingerprint.

func (CertifiOutput) StartDate

func (o CertifiOutput) StartDate() pulumi.StringOutput

The start date (RFC 3339).

func (CertifiOutput) Subject

func (o CertifiOutput) Subject() pulumi.StringOutput

The subject.

func (CertifiOutput) SubjectAlternativeNames

func (o CertifiOutput) SubjectAlternativeNames() pulumi.StringArrayOutput

The subject alternative names.

func (CertifiOutput) ToCertifiOutput

func (o CertifiOutput) ToCertifiOutput() CertifiOutput

func (CertifiOutput) ToCertifiOutputWithContext

func (o CertifiOutput) ToCertifiOutputWithContext(ctx context.Context) CertifiOutput

type CertifiState

type CertifiState struct {
	// The PEM encoded certificate.
	Certificate pulumi.StringPtrInput
	// The PEM encoded certificate chain.
	CertificateChain pulumi.StringPtrInput
	// The expiration date (RFC 3339).
	ExpirationDate pulumi.StringPtrInput
	// The file name.
	FileName pulumi.StringPtrInput
	// The issuer.
	Issuer pulumi.StringPtrInput
	// A node name.
	NodeName pulumi.StringPtrInput
	// Whether to overwrite an existing certificate
	Overwrite pulumi.BoolPtrInput
	// The PEM encoded private key.
	PrivateKey pulumi.StringPtrInput
	// The public key size.
	PublicKeySize pulumi.IntPtrInput
	// The public key type.
	PublicKeyType pulumi.StringPtrInput
	// The SSL fingerprint.
	SslFingerprint pulumi.StringPtrInput
	// The start date (RFC 3339).
	StartDate pulumi.StringPtrInput
	// The subject.
	Subject pulumi.StringPtrInput
	// The subject alternative names.
	SubjectAlternativeNames pulumi.StringArrayInput
}

func (CertifiState) ElementType

func (CertifiState) ElementType() reflect.Type

type DNS

type DNS struct {
	pulumi.CustomResourceState

	// The DNS search domain.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// A node name.
	NodeName pulumi.StringOutput `pulumi:"nodeName"`
	// The DNS servers.
	Servers pulumi.StringArrayOutput `pulumi:"servers"`
}

Manages the DNS configuration for a specific node.

## Import

Instances can be imported using the `node_name`, e.g.,

bash

```sh $ pulumi import proxmoxve:index/dNS:DNS first_node first-node ```

func GetDNS

func GetDNS(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DNSState, opts ...pulumi.ResourceOption) (*DNS, error)

GetDNS gets an existing DNS resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDNS

func NewDNS(ctx *pulumi.Context,
	name string, args *DNSArgs, opts ...pulumi.ResourceOption) (*DNS, error)

NewDNS registers a new resource with the given unique name, arguments, and options.

func (*DNS) ElementType

func (*DNS) ElementType() reflect.Type

func (*DNS) ToDNSOutput

func (i *DNS) ToDNSOutput() DNSOutput

func (*DNS) ToDNSOutputWithContext

func (i *DNS) ToDNSOutputWithContext(ctx context.Context) DNSOutput

type DNSArgs

type DNSArgs struct {
	// The DNS search domain.
	Domain pulumi.StringInput
	// A node name.
	NodeName pulumi.StringInput
	// The DNS servers.
	Servers pulumi.StringArrayInput
}

The set of arguments for constructing a DNS resource.

func (DNSArgs) ElementType

func (DNSArgs) ElementType() reflect.Type

type DNSArray

type DNSArray []DNSInput

func (DNSArray) ElementType

func (DNSArray) ElementType() reflect.Type

func (DNSArray) ToDNSArrayOutput

func (i DNSArray) ToDNSArrayOutput() DNSArrayOutput

func (DNSArray) ToDNSArrayOutputWithContext

func (i DNSArray) ToDNSArrayOutputWithContext(ctx context.Context) DNSArrayOutput

type DNSArrayInput

type DNSArrayInput interface {
	pulumi.Input

	ToDNSArrayOutput() DNSArrayOutput
	ToDNSArrayOutputWithContext(context.Context) DNSArrayOutput
}

DNSArrayInput is an input type that accepts DNSArray and DNSArrayOutput values. You can construct a concrete instance of `DNSArrayInput` via:

DNSArray{ DNSArgs{...} }

type DNSArrayOutput

type DNSArrayOutput struct{ *pulumi.OutputState }

func (DNSArrayOutput) ElementType

func (DNSArrayOutput) ElementType() reflect.Type

func (DNSArrayOutput) Index

func (DNSArrayOutput) ToDNSArrayOutput

func (o DNSArrayOutput) ToDNSArrayOutput() DNSArrayOutput

func (DNSArrayOutput) ToDNSArrayOutputWithContext

func (o DNSArrayOutput) ToDNSArrayOutputWithContext(ctx context.Context) DNSArrayOutput

type DNSInput

type DNSInput interface {
	pulumi.Input

	ToDNSOutput() DNSOutput
	ToDNSOutputWithContext(ctx context.Context) DNSOutput
}

type DNSMap

type DNSMap map[string]DNSInput

func (DNSMap) ElementType

func (DNSMap) ElementType() reflect.Type

func (DNSMap) ToDNSMapOutput

func (i DNSMap) ToDNSMapOutput() DNSMapOutput

func (DNSMap) ToDNSMapOutputWithContext

func (i DNSMap) ToDNSMapOutputWithContext(ctx context.Context) DNSMapOutput

type DNSMapInput

type DNSMapInput interface {
	pulumi.Input

	ToDNSMapOutput() DNSMapOutput
	ToDNSMapOutputWithContext(context.Context) DNSMapOutput
}

DNSMapInput is an input type that accepts DNSMap and DNSMapOutput values. You can construct a concrete instance of `DNSMapInput` via:

DNSMap{ "key": DNSArgs{...} }

type DNSMapOutput

type DNSMapOutput struct{ *pulumi.OutputState }

func (DNSMapOutput) ElementType

func (DNSMapOutput) ElementType() reflect.Type

func (DNSMapOutput) MapIndex

func (o DNSMapOutput) MapIndex(k pulumi.StringInput) DNSOutput

func (DNSMapOutput) ToDNSMapOutput

func (o DNSMapOutput) ToDNSMapOutput() DNSMapOutput

func (DNSMapOutput) ToDNSMapOutputWithContext

func (o DNSMapOutput) ToDNSMapOutputWithContext(ctx context.Context) DNSMapOutput

type DNSOutput

type DNSOutput struct{ *pulumi.OutputState }

func (DNSOutput) Domain

func (o DNSOutput) Domain() pulumi.StringOutput

The DNS search domain.

func (DNSOutput) ElementType

func (DNSOutput) ElementType() reflect.Type

func (DNSOutput) NodeName

func (o DNSOutput) NodeName() pulumi.StringOutput

A node name.

func (DNSOutput) Servers

func (o DNSOutput) Servers() pulumi.StringArrayOutput

The DNS servers.

func (DNSOutput) ToDNSOutput

func (o DNSOutput) ToDNSOutput() DNSOutput

func (DNSOutput) ToDNSOutputWithContext

func (o DNSOutput) ToDNSOutputWithContext(ctx context.Context) DNSOutput

type DNSState

type DNSState struct {
	// The DNS search domain.
	Domain pulumi.StringPtrInput
	// A node name.
	NodeName pulumi.StringPtrInput
	// The DNS servers.
	Servers pulumi.StringArrayInput
}

func (DNSState) ElementType

func (DNSState) ElementType() reflect.Type

type GetNodeArgs added in v6.2.0

type GetNodeArgs struct {
	// The node name.
	NodeName string `pulumi:"nodeName"`
}

A collection of arguments for invoking getNode.

type GetNodeOutputArgs added in v6.2.0

type GetNodeOutputArgs struct {
	// The node name.
	NodeName pulumi.StringInput `pulumi:"nodeName"`
}

A collection of arguments for invoking getNode.

func (GetNodeOutputArgs) ElementType added in v6.2.0

func (GetNodeOutputArgs) ElementType() reflect.Type

type GetNodeResult added in v6.2.0

type GetNodeResult struct {
	// The CPU count on the node.
	CpuCount int `pulumi:"cpuCount"`
	// The CPU model on the node.
	CpuModel string `pulumi:"cpuModel"`
	// The CPU utilization on the node.
	CpuSockets int `pulumi:"cpuSockets"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The memory available on the node.
	MemoryAvailable int `pulumi:"memoryAvailable"`
	// The total memory on the node.
	MemoryTotal int `pulumi:"memoryTotal"`
	// The memory used on the node.
	MemoryUsed int    `pulumi:"memoryUsed"`
	NodeName   string `pulumi:"nodeName"`
	// The uptime in seconds on the node.
	Uptime int `pulumi:"uptime"`
}

A collection of values returned by getNode.

func GetNode added in v6.2.0

func GetNode(ctx *pulumi.Context, args *GetNodeArgs, opts ...pulumi.InvokeOption) (*GetNodeResult, error)

Retrieves information about node.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/muhlba91/pulumi-proxmoxve/sdk/v6/go/proxmoxve"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := proxmoxve.GetNode(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetNodeResultOutput added in v6.2.0

type GetNodeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNode.

func GetNodeOutput added in v6.2.0

func GetNodeOutput(ctx *pulumi.Context, args GetNodeOutputArgs, opts ...pulumi.InvokeOption) GetNodeResultOutput

func (GetNodeResultOutput) CpuCount added in v6.2.0

func (o GetNodeResultOutput) CpuCount() pulumi.IntOutput

The CPU count on the node.

func (GetNodeResultOutput) CpuModel added in v6.2.0

The CPU model on the node.

func (GetNodeResultOutput) CpuSockets added in v6.2.0

func (o GetNodeResultOutput) CpuSockets() pulumi.IntOutput

The CPU utilization on the node.

func (GetNodeResultOutput) ElementType added in v6.2.0

func (GetNodeResultOutput) ElementType() reflect.Type

func (GetNodeResultOutput) Id added in v6.2.0

The provider-assigned unique ID for this managed resource.

func (GetNodeResultOutput) MemoryAvailable added in v6.2.0

func (o GetNodeResultOutput) MemoryAvailable() pulumi.IntOutput

The memory available on the node.

func (GetNodeResultOutput) MemoryTotal added in v6.2.0

func (o GetNodeResultOutput) MemoryTotal() pulumi.IntOutput

The total memory on the node.

func (GetNodeResultOutput) MemoryUsed added in v6.2.0

func (o GetNodeResultOutput) MemoryUsed() pulumi.IntOutput

The memory used on the node.

func (GetNodeResultOutput) NodeName added in v6.2.0

func (GetNodeResultOutput) ToGetNodeResultOutput added in v6.2.0

func (o GetNodeResultOutput) ToGetNodeResultOutput() GetNodeResultOutput

func (GetNodeResultOutput) ToGetNodeResultOutputWithContext added in v6.2.0

func (o GetNodeResultOutput) ToGetNodeResultOutputWithContext(ctx context.Context) GetNodeResultOutput

func (GetNodeResultOutput) Uptime added in v6.2.0

The uptime in seconds on the node.

type Hosts

type Hosts struct {
	pulumi.CustomResourceState

	// The IP addresses.
	Addresses pulumi.StringArrayOutput `pulumi:"addresses"`
	// The SHA1 digest.
	Digest pulumi.StringOutput `pulumi:"digest"`
	// The host entries (conversion of `addresses` and `hostnames` into
	// objects).
	Entries HostsEntryArrayOutput `pulumi:"entries"`
	// A host entry (multiple blocks supported).
	Entry HostsEntryArrayOutput `pulumi:"entry"`
	// The hostnames.
	Hostnames pulumi.StringArrayArrayOutput `pulumi:"hostnames"`
	// A node name.
	NodeName pulumi.StringOutput `pulumi:"nodeName"`
}

Manages the host entries on a specific node.

## Import

Instances can be imported using the `node_name`, e.g.,

bash

```sh $ pulumi import proxmoxve:index/hosts:Hosts first_node_host_entries first-node ```

func GetHosts

func GetHosts(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostsState, opts ...pulumi.ResourceOption) (*Hosts, error)

GetHosts gets an existing Hosts resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHosts

func NewHosts(ctx *pulumi.Context,
	name string, args *HostsArgs, opts ...pulumi.ResourceOption) (*Hosts, error)

NewHosts registers a new resource with the given unique name, arguments, and options.

func (*Hosts) ElementType

func (*Hosts) ElementType() reflect.Type

func (*Hosts) ToHostsOutput

func (i *Hosts) ToHostsOutput() HostsOutput

func (*Hosts) ToHostsOutputWithContext

func (i *Hosts) ToHostsOutputWithContext(ctx context.Context) HostsOutput

type HostsArgs

type HostsArgs struct {
	// A host entry (multiple blocks supported).
	Entry HostsEntryArrayInput
	// A node name.
	NodeName pulumi.StringInput
}

The set of arguments for constructing a Hosts resource.

func (HostsArgs) ElementType

func (HostsArgs) ElementType() reflect.Type

type HostsArray

type HostsArray []HostsInput

func (HostsArray) ElementType

func (HostsArray) ElementType() reflect.Type

func (HostsArray) ToHostsArrayOutput

func (i HostsArray) ToHostsArrayOutput() HostsArrayOutput

func (HostsArray) ToHostsArrayOutputWithContext

func (i HostsArray) ToHostsArrayOutputWithContext(ctx context.Context) HostsArrayOutput

type HostsArrayInput

type HostsArrayInput interface {
	pulumi.Input

	ToHostsArrayOutput() HostsArrayOutput
	ToHostsArrayOutputWithContext(context.Context) HostsArrayOutput
}

HostsArrayInput is an input type that accepts HostsArray and HostsArrayOutput values. You can construct a concrete instance of `HostsArrayInput` via:

HostsArray{ HostsArgs{...} }

type HostsArrayOutput

type HostsArrayOutput struct{ *pulumi.OutputState }

func (HostsArrayOutput) ElementType

func (HostsArrayOutput) ElementType() reflect.Type

func (HostsArrayOutput) Index

func (HostsArrayOutput) ToHostsArrayOutput

func (o HostsArrayOutput) ToHostsArrayOutput() HostsArrayOutput

func (HostsArrayOutput) ToHostsArrayOutputWithContext

func (o HostsArrayOutput) ToHostsArrayOutputWithContext(ctx context.Context) HostsArrayOutput

type HostsEntry

type HostsEntry struct {
	// The IP address.
	Address string `pulumi:"address"`
	// The hostnames.
	Hostnames []string `pulumi:"hostnames"`
}

type HostsEntryArgs

type HostsEntryArgs struct {
	// The IP address.
	Address pulumi.StringInput `pulumi:"address"`
	// The hostnames.
	Hostnames pulumi.StringArrayInput `pulumi:"hostnames"`
}

func (HostsEntryArgs) ElementType

func (HostsEntryArgs) ElementType() reflect.Type

func (HostsEntryArgs) ToHostsEntryOutput

func (i HostsEntryArgs) ToHostsEntryOutput() HostsEntryOutput

func (HostsEntryArgs) ToHostsEntryOutputWithContext

func (i HostsEntryArgs) ToHostsEntryOutputWithContext(ctx context.Context) HostsEntryOutput

type HostsEntryArray

type HostsEntryArray []HostsEntryInput

func (HostsEntryArray) ElementType

func (HostsEntryArray) ElementType() reflect.Type

func (HostsEntryArray) ToHostsEntryArrayOutput

func (i HostsEntryArray) ToHostsEntryArrayOutput() HostsEntryArrayOutput

func (HostsEntryArray) ToHostsEntryArrayOutputWithContext

func (i HostsEntryArray) ToHostsEntryArrayOutputWithContext(ctx context.Context) HostsEntryArrayOutput

type HostsEntryArrayInput

type HostsEntryArrayInput interface {
	pulumi.Input

	ToHostsEntryArrayOutput() HostsEntryArrayOutput
	ToHostsEntryArrayOutputWithContext(context.Context) HostsEntryArrayOutput
}

HostsEntryArrayInput is an input type that accepts HostsEntryArray and HostsEntryArrayOutput values. You can construct a concrete instance of `HostsEntryArrayInput` via:

HostsEntryArray{ HostsEntryArgs{...} }

type HostsEntryArrayOutput

type HostsEntryArrayOutput struct{ *pulumi.OutputState }

func (HostsEntryArrayOutput) ElementType

func (HostsEntryArrayOutput) ElementType() reflect.Type

func (HostsEntryArrayOutput) Index

func (HostsEntryArrayOutput) ToHostsEntryArrayOutput

func (o HostsEntryArrayOutput) ToHostsEntryArrayOutput() HostsEntryArrayOutput

func (HostsEntryArrayOutput) ToHostsEntryArrayOutputWithContext

func (o HostsEntryArrayOutput) ToHostsEntryArrayOutputWithContext(ctx context.Context) HostsEntryArrayOutput

type HostsEntryInput

type HostsEntryInput interface {
	pulumi.Input

	ToHostsEntryOutput() HostsEntryOutput
	ToHostsEntryOutputWithContext(context.Context) HostsEntryOutput
}

HostsEntryInput is an input type that accepts HostsEntryArgs and HostsEntryOutput values. You can construct a concrete instance of `HostsEntryInput` via:

HostsEntryArgs{...}

type HostsEntryOutput

type HostsEntryOutput struct{ *pulumi.OutputState }

func (HostsEntryOutput) Address

func (o HostsEntryOutput) Address() pulumi.StringOutput

The IP address.

func (HostsEntryOutput) ElementType

func (HostsEntryOutput) ElementType() reflect.Type

func (HostsEntryOutput) Hostnames

The hostnames.

func (HostsEntryOutput) ToHostsEntryOutput

func (o HostsEntryOutput) ToHostsEntryOutput() HostsEntryOutput

func (HostsEntryOutput) ToHostsEntryOutputWithContext

func (o HostsEntryOutput) ToHostsEntryOutputWithContext(ctx context.Context) HostsEntryOutput

type HostsInput

type HostsInput interface {
	pulumi.Input

	ToHostsOutput() HostsOutput
	ToHostsOutputWithContext(ctx context.Context) HostsOutput
}

type HostsMap

type HostsMap map[string]HostsInput

func (HostsMap) ElementType

func (HostsMap) ElementType() reflect.Type

func (HostsMap) ToHostsMapOutput

func (i HostsMap) ToHostsMapOutput() HostsMapOutput

func (HostsMap) ToHostsMapOutputWithContext

func (i HostsMap) ToHostsMapOutputWithContext(ctx context.Context) HostsMapOutput

type HostsMapInput

type HostsMapInput interface {
	pulumi.Input

	ToHostsMapOutput() HostsMapOutput
	ToHostsMapOutputWithContext(context.Context) HostsMapOutput
}

HostsMapInput is an input type that accepts HostsMap and HostsMapOutput values. You can construct a concrete instance of `HostsMapInput` via:

HostsMap{ "key": HostsArgs{...} }

type HostsMapOutput

type HostsMapOutput struct{ *pulumi.OutputState }

func (HostsMapOutput) ElementType

func (HostsMapOutput) ElementType() reflect.Type

func (HostsMapOutput) MapIndex

func (HostsMapOutput) ToHostsMapOutput

func (o HostsMapOutput) ToHostsMapOutput() HostsMapOutput

func (HostsMapOutput) ToHostsMapOutputWithContext

func (o HostsMapOutput) ToHostsMapOutputWithContext(ctx context.Context) HostsMapOutput

type HostsOutput

type HostsOutput struct{ *pulumi.OutputState }

func (HostsOutput) Addresses

func (o HostsOutput) Addresses() pulumi.StringArrayOutput

The IP addresses.

func (HostsOutput) Digest

func (o HostsOutput) Digest() pulumi.StringOutput

The SHA1 digest.

func (HostsOutput) ElementType

func (HostsOutput) ElementType() reflect.Type

func (HostsOutput) Entries

func (o HostsOutput) Entries() HostsEntryArrayOutput

The host entries (conversion of `addresses` and `hostnames` into objects).

func (HostsOutput) Entry

A host entry (multiple blocks supported).

func (HostsOutput) Hostnames

The hostnames.

func (HostsOutput) NodeName

func (o HostsOutput) NodeName() pulumi.StringOutput

A node name.

func (HostsOutput) ToHostsOutput

func (o HostsOutput) ToHostsOutput() HostsOutput

func (HostsOutput) ToHostsOutputWithContext

func (o HostsOutput) ToHostsOutputWithContext(ctx context.Context) HostsOutput

type HostsState

type HostsState struct {
	// The IP addresses.
	Addresses pulumi.StringArrayInput
	// The SHA1 digest.
	Digest pulumi.StringPtrInput
	// The host entries (conversion of `addresses` and `hostnames` into
	// objects).
	Entries HostsEntryArrayInput
	// A host entry (multiple blocks supported).
	Entry HostsEntryArrayInput
	// The hostnames.
	Hostnames pulumi.StringArrayArrayInput
	// A node name.
	NodeName pulumi.StringPtrInput
}

func (HostsState) ElementType

func (HostsState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The API token for the Proxmox VE API.
	ApiToken pulumi.StringPtrOutput `pulumi:"apiToken"`
	// The endpoint for the Proxmox VE API.
	Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"`
	// The minimum required TLS version for API calls.Supported values: `1.0|1.1|1.2|1.3`. Defaults to `1.3`.
	MinTls pulumi.StringPtrOutput `pulumi:"minTls"`
	// 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.StringPtrOutput `pulumi:"otp"`
	// The password for the Proxmox VE API.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The alternative temporary directory.
	TmpDir pulumi.StringPtrOutput `pulumi:"tmpDir"`
	// The username for the Proxmox VE API.
	Username pulumi.StringPtrOutput `pulumi:"username"`
}

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.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The API token for the Proxmox VE API.
	ApiToken pulumi.StringPtrInput
	// The endpoint for the Proxmox VE API.
	Endpoint pulumi.StringPtrInput
	// Whether to skip the TLS verification step.
	Insecure pulumi.BoolPtrInput
	// The minimum required TLS version for API calls.Supported values: `1.0|1.1|1.2|1.3`. Defaults to `1.3`.
	MinTls pulumi.StringPtrInput
	// 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.StringPtrInput
	// The password for the Proxmox VE API.
	Password pulumi.StringPtrInput
	// The SSH configuration for the Proxmox nodes.
	Ssh ProviderSshPtrInput
	// The alternative temporary directory.
	TmpDir pulumi.StringPtrInput
	// The username for the Proxmox VE API.
	Username pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ApiToken

func (o ProviderOutput) ApiToken() pulumi.StringPtrOutput

The API token for the Proxmox VE API.

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Endpoint

func (o ProviderOutput) Endpoint() pulumi.StringPtrOutput

The endpoint for the Proxmox VE API.

func (ProviderOutput) MinTls

The minimum required TLS version for API calls.Supported values: `1.0|1.1|1.2|1.3`. Defaults to `1.3`.

func (ProviderOutput) Otp deprecated

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.

func (ProviderOutput) Password

func (o ProviderOutput) Password() pulumi.StringPtrOutput

The password for the Proxmox VE API.

func (ProviderOutput) TmpDir

The alternative temporary directory.

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) Username

func (o ProviderOutput) Username() pulumi.StringPtrOutput

The username for the Proxmox VE API.

type ProviderSsh

type ProviderSsh 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 []ProviderSshNode `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 ProviderSshArgs

type ProviderSshArgs 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 ProviderSshNodeArrayInput `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 (ProviderSshArgs) ElementType

func (ProviderSshArgs) ElementType() reflect.Type

func (ProviderSshArgs) ToProviderSshOutput

func (i ProviderSshArgs) ToProviderSshOutput() ProviderSshOutput

func (ProviderSshArgs) ToProviderSshOutputWithContext

func (i ProviderSshArgs) ToProviderSshOutputWithContext(ctx context.Context) ProviderSshOutput

func (ProviderSshArgs) ToProviderSshPtrOutput

func (i ProviderSshArgs) ToProviderSshPtrOutput() ProviderSshPtrOutput

func (ProviderSshArgs) ToProviderSshPtrOutputWithContext

func (i ProviderSshArgs) ToProviderSshPtrOutputWithContext(ctx context.Context) ProviderSshPtrOutput

type ProviderSshInput

type ProviderSshInput interface {
	pulumi.Input

	ToProviderSshOutput() ProviderSshOutput
	ToProviderSshOutputWithContext(context.Context) ProviderSshOutput
}

ProviderSshInput is an input type that accepts ProviderSshArgs and ProviderSshOutput values. You can construct a concrete instance of `ProviderSshInput` via:

ProviderSshArgs{...}

type ProviderSshNode

type ProviderSshNode struct {
	// The address of the Proxmox VE node.
	Address string `pulumi:"address"`
	// The name of the Proxmox VE node.
	Name string `pulumi:"name"`
	// The port of the Proxmox VE node.
	Port *int `pulumi:"port"`
}

type ProviderSshNodeArgs

type ProviderSshNodeArgs 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 (ProviderSshNodeArgs) ElementType

func (ProviderSshNodeArgs) ElementType() reflect.Type

func (ProviderSshNodeArgs) ToProviderSshNodeOutput

func (i ProviderSshNodeArgs) ToProviderSshNodeOutput() ProviderSshNodeOutput

func (ProviderSshNodeArgs) ToProviderSshNodeOutputWithContext

func (i ProviderSshNodeArgs) ToProviderSshNodeOutputWithContext(ctx context.Context) ProviderSshNodeOutput

type ProviderSshNodeArray

type ProviderSshNodeArray []ProviderSshNodeInput

func (ProviderSshNodeArray) ElementType

func (ProviderSshNodeArray) ElementType() reflect.Type

func (ProviderSshNodeArray) ToProviderSshNodeArrayOutput

func (i ProviderSshNodeArray) ToProviderSshNodeArrayOutput() ProviderSshNodeArrayOutput

func (ProviderSshNodeArray) ToProviderSshNodeArrayOutputWithContext

func (i ProviderSshNodeArray) ToProviderSshNodeArrayOutputWithContext(ctx context.Context) ProviderSshNodeArrayOutput

type ProviderSshNodeArrayInput

type ProviderSshNodeArrayInput interface {
	pulumi.Input

	ToProviderSshNodeArrayOutput() ProviderSshNodeArrayOutput
	ToProviderSshNodeArrayOutputWithContext(context.Context) ProviderSshNodeArrayOutput
}

ProviderSshNodeArrayInput is an input type that accepts ProviderSshNodeArray and ProviderSshNodeArrayOutput values. You can construct a concrete instance of `ProviderSshNodeArrayInput` via:

ProviderSshNodeArray{ ProviderSshNodeArgs{...} }

type ProviderSshNodeArrayOutput

type ProviderSshNodeArrayOutput struct{ *pulumi.OutputState }

func (ProviderSshNodeArrayOutput) ElementType

func (ProviderSshNodeArrayOutput) ElementType() reflect.Type

func (ProviderSshNodeArrayOutput) Index

func (ProviderSshNodeArrayOutput) ToProviderSshNodeArrayOutput

func (o ProviderSshNodeArrayOutput) ToProviderSshNodeArrayOutput() ProviderSshNodeArrayOutput

func (ProviderSshNodeArrayOutput) ToProviderSshNodeArrayOutputWithContext

func (o ProviderSshNodeArrayOutput) ToProviderSshNodeArrayOutputWithContext(ctx context.Context) ProviderSshNodeArrayOutput

type ProviderSshNodeInput

type ProviderSshNodeInput interface {
	pulumi.Input

	ToProviderSshNodeOutput() ProviderSshNodeOutput
	ToProviderSshNodeOutputWithContext(context.Context) ProviderSshNodeOutput
}

ProviderSshNodeInput is an input type that accepts ProviderSshNodeArgs and ProviderSshNodeOutput values. You can construct a concrete instance of `ProviderSshNodeInput` via:

ProviderSshNodeArgs{...}

type ProviderSshNodeOutput

type ProviderSshNodeOutput struct{ *pulumi.OutputState }

func (ProviderSshNodeOutput) Address

The address of the Proxmox VE node.

func (ProviderSshNodeOutput) ElementType

func (ProviderSshNodeOutput) ElementType() reflect.Type

func (ProviderSshNodeOutput) Name

The name of the Proxmox VE node.

func (ProviderSshNodeOutput) Port

The port of the Proxmox VE node.

func (ProviderSshNodeOutput) ToProviderSshNodeOutput

func (o ProviderSshNodeOutput) ToProviderSshNodeOutput() ProviderSshNodeOutput

func (ProviderSshNodeOutput) ToProviderSshNodeOutputWithContext

func (o ProviderSshNodeOutput) ToProviderSshNodeOutputWithContext(ctx context.Context) ProviderSshNodeOutput

type ProviderSshOutput

type ProviderSshOutput struct{ *pulumi.OutputState }

func (ProviderSshOutput) Agent

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 (ProviderSshOutput) AgentSocket

func (o ProviderSshOutput) AgentSocket() pulumi.StringPtrOutput

The path to the SSH agent socket. Defaults to the value of the `SSH_AUTH_SOCK` environment variable.

func (ProviderSshOutput) ElementType

func (ProviderSshOutput) ElementType() reflect.Type

func (ProviderSshOutput) Nodes

Overrides for SSH connection configuration for a Proxmox VE node.

func (ProviderSshOutput) Password

The password used for the SSH connection. Defaults to the value of the `password` field of the `provider` block.

func (ProviderSshOutput) PrivateKey

func (o ProviderSshOutput) 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 (ProviderSshOutput) Socks5Password

func (o ProviderSshOutput) Socks5Password() pulumi.StringPtrOutput

The password for the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_PASSWORD` environment variable.

func (ProviderSshOutput) Socks5Server

func (o ProviderSshOutput) 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 (ProviderSshOutput) Socks5Username

func (o ProviderSshOutput) Socks5Username() pulumi.StringPtrOutput

The username for the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_USERNAME` environment variable.

func (ProviderSshOutput) ToProviderSshOutput

func (o ProviderSshOutput) ToProviderSshOutput() ProviderSshOutput

func (ProviderSshOutput) ToProviderSshOutputWithContext

func (o ProviderSshOutput) ToProviderSshOutputWithContext(ctx context.Context) ProviderSshOutput

func (ProviderSshOutput) ToProviderSshPtrOutput

func (o ProviderSshOutput) ToProviderSshPtrOutput() ProviderSshPtrOutput

func (ProviderSshOutput) ToProviderSshPtrOutputWithContext

func (o ProviderSshOutput) ToProviderSshPtrOutputWithContext(ctx context.Context) ProviderSshPtrOutput

func (ProviderSshOutput) Username

The username used for the SSH connection. Defaults to the value of the `username` field of the `provider` block.

type ProviderSshPtrInput

type ProviderSshPtrInput interface {
	pulumi.Input

	ToProviderSshPtrOutput() ProviderSshPtrOutput
	ToProviderSshPtrOutputWithContext(context.Context) ProviderSshPtrOutput
}

ProviderSshPtrInput is an input type that accepts ProviderSshArgs, ProviderSshPtr and ProviderSshPtrOutput values. You can construct a concrete instance of `ProviderSshPtrInput` via:

        ProviderSshArgs{...}

or:

        nil

func ProviderSshPtr

func ProviderSshPtr(v *ProviderSshArgs) ProviderSshPtrInput

type ProviderSshPtrOutput

type ProviderSshPtrOutput struct{ *pulumi.OutputState }

func (ProviderSshPtrOutput) Agent

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 (ProviderSshPtrOutput) AgentSocket

The path to the SSH agent socket. Defaults to the value of the `SSH_AUTH_SOCK` environment variable.

func (ProviderSshPtrOutput) Elem

func (ProviderSshPtrOutput) ElementType

func (ProviderSshPtrOutput) ElementType() reflect.Type

func (ProviderSshPtrOutput) Nodes

Overrides for SSH connection configuration for a Proxmox VE node.

func (ProviderSshPtrOutput) Password

The password used for the SSH connection. Defaults to the value of the `password` field of the `provider` block.

func (ProviderSshPtrOutput) PrivateKey

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 (ProviderSshPtrOutput) Socks5Password

func (o ProviderSshPtrOutput) Socks5Password() pulumi.StringPtrOutput

The password for the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_PASSWORD` environment variable.

func (ProviderSshPtrOutput) Socks5Server

func (o ProviderSshPtrOutput) 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 (ProviderSshPtrOutput) Socks5Username

func (o ProviderSshPtrOutput) Socks5Username() pulumi.StringPtrOutput

The username for the SOCKS5 proxy server. Defaults to the value of the `PROXMOX_VE_SSH_SOCKS5_USERNAME` environment variable.

func (ProviderSshPtrOutput) ToProviderSshPtrOutput

func (o ProviderSshPtrOutput) ToProviderSshPtrOutput() ProviderSshPtrOutput

func (ProviderSshPtrOutput) ToProviderSshPtrOutputWithContext

func (o ProviderSshPtrOutput) ToProviderSshPtrOutputWithContext(ctx context.Context) ProviderSshPtrOutput

func (ProviderSshPtrOutput) Username

The username used for the SSH connection. Defaults to the value of the `username` field of the `provider` block.

type Time

type Time struct {
	pulumi.CustomResourceState

	// The node's local time.
	LocalTime pulumi.StringOutput `pulumi:"localTime"`
	// A node name.
	NodeName pulumi.StringOutput `pulumi:"nodeName"`
	// The node's time zone.
	TimeZone pulumi.StringOutput `pulumi:"timeZone"`
	// The node's local time formatted as UTC.
	UtcTime pulumi.StringOutput `pulumi:"utcTime"`
}

Manages the time for a specific node.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/muhlba91/pulumi-proxmoxve/sdk/v6/go/proxmoxve"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := proxmoxve.NewTime(ctx, "firstNodeTime", &proxmoxve.TimeArgs{
			NodeName: pulumi.String("first-node"),
			TimeZone: pulumi.String("UTC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Instances can be imported using the `node_name`, e.g.,

bash

```sh $ pulumi import proxmoxve:index/time:Time first_node first-node ```

func GetTime

func GetTime(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TimeState, opts ...pulumi.ResourceOption) (*Time, error)

GetTime gets an existing Time resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTime

func NewTime(ctx *pulumi.Context,
	name string, args *TimeArgs, opts ...pulumi.ResourceOption) (*Time, error)

NewTime registers a new resource with the given unique name, arguments, and options.

func (*Time) ElementType

func (*Time) ElementType() reflect.Type

func (*Time) ToTimeOutput

func (i *Time) ToTimeOutput() TimeOutput

func (*Time) ToTimeOutputWithContext

func (i *Time) ToTimeOutputWithContext(ctx context.Context) TimeOutput

type TimeArgs

type TimeArgs struct {
	// A node name.
	NodeName pulumi.StringInput
	// The node's time zone.
	TimeZone pulumi.StringInput
}

The set of arguments for constructing a Time resource.

func (TimeArgs) ElementType

func (TimeArgs) ElementType() reflect.Type

type TimeArray

type TimeArray []TimeInput

func (TimeArray) ElementType

func (TimeArray) ElementType() reflect.Type

func (TimeArray) ToTimeArrayOutput

func (i TimeArray) ToTimeArrayOutput() TimeArrayOutput

func (TimeArray) ToTimeArrayOutputWithContext

func (i TimeArray) ToTimeArrayOutputWithContext(ctx context.Context) TimeArrayOutput

type TimeArrayInput

type TimeArrayInput interface {
	pulumi.Input

	ToTimeArrayOutput() TimeArrayOutput
	ToTimeArrayOutputWithContext(context.Context) TimeArrayOutput
}

TimeArrayInput is an input type that accepts TimeArray and TimeArrayOutput values. You can construct a concrete instance of `TimeArrayInput` via:

TimeArray{ TimeArgs{...} }

type TimeArrayOutput

type TimeArrayOutput struct{ *pulumi.OutputState }

func (TimeArrayOutput) ElementType

func (TimeArrayOutput) ElementType() reflect.Type

func (TimeArrayOutput) Index

func (TimeArrayOutput) ToTimeArrayOutput

func (o TimeArrayOutput) ToTimeArrayOutput() TimeArrayOutput

func (TimeArrayOutput) ToTimeArrayOutputWithContext

func (o TimeArrayOutput) ToTimeArrayOutputWithContext(ctx context.Context) TimeArrayOutput

type TimeInput

type TimeInput interface {
	pulumi.Input

	ToTimeOutput() TimeOutput
	ToTimeOutputWithContext(ctx context.Context) TimeOutput
}

type TimeMap

type TimeMap map[string]TimeInput

func (TimeMap) ElementType

func (TimeMap) ElementType() reflect.Type

func (TimeMap) ToTimeMapOutput

func (i TimeMap) ToTimeMapOutput() TimeMapOutput

func (TimeMap) ToTimeMapOutputWithContext

func (i TimeMap) ToTimeMapOutputWithContext(ctx context.Context) TimeMapOutput

type TimeMapInput

type TimeMapInput interface {
	pulumi.Input

	ToTimeMapOutput() TimeMapOutput
	ToTimeMapOutputWithContext(context.Context) TimeMapOutput
}

TimeMapInput is an input type that accepts TimeMap and TimeMapOutput values. You can construct a concrete instance of `TimeMapInput` via:

TimeMap{ "key": TimeArgs{...} }

type TimeMapOutput

type TimeMapOutput struct{ *pulumi.OutputState }

func (TimeMapOutput) ElementType

func (TimeMapOutput) ElementType() reflect.Type

func (TimeMapOutput) MapIndex

func (TimeMapOutput) ToTimeMapOutput

func (o TimeMapOutput) ToTimeMapOutput() TimeMapOutput

func (TimeMapOutput) ToTimeMapOutputWithContext

func (o TimeMapOutput) ToTimeMapOutputWithContext(ctx context.Context) TimeMapOutput

type TimeOutput

type TimeOutput struct{ *pulumi.OutputState }

func (TimeOutput) ElementType

func (TimeOutput) ElementType() reflect.Type

func (TimeOutput) LocalTime

func (o TimeOutput) LocalTime() pulumi.StringOutput

The node's local time.

func (TimeOutput) NodeName

func (o TimeOutput) NodeName() pulumi.StringOutput

A node name.

func (TimeOutput) TimeZone

func (o TimeOutput) TimeZone() pulumi.StringOutput

The node's time zone.

func (TimeOutput) ToTimeOutput

func (o TimeOutput) ToTimeOutput() TimeOutput

func (TimeOutput) ToTimeOutputWithContext

func (o TimeOutput) ToTimeOutputWithContext(ctx context.Context) TimeOutput

func (TimeOutput) UtcTime

func (o TimeOutput) UtcTime() pulumi.StringOutput

The node's local time formatted as UTC.

type TimeState

type TimeState struct {
	// The node's local time.
	LocalTime pulumi.StringPtrInput
	// A node name.
	NodeName pulumi.StringPtrInput
	// The node's time zone.
	TimeZone pulumi.StringPtrInput
	// The node's local time formatted as UTC.
	UtcTime pulumi.StringPtrInput
}

func (TimeState) ElementType

func (TimeState) ElementType() reflect.Type

type Vm2 added in v6.4.0

type Vm2 struct {
	pulumi.CustomResourceState

	// The description of the VM.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the VM. Doesn't have to be unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the node where the VM is provisioned.
	NodeName pulumi.StringOutput  `pulumi:"nodeName"`
	Timeouts Vm2TimeoutsPtrOutput `pulumi:"timeouts"`
}

> **DO NOT USE** This is an experimental implementation of a Proxmox VM resource using Plugin Framework.<br><br>It is a Proof of Concept, highly experimental and **will** change in future. It does not support all features of the Proxmox API for VMs and **MUST NOT** be used in production.

func GetVm2 added in v6.4.0

func GetVm2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *Vm2State, opts ...pulumi.ResourceOption) (*Vm2, error)

GetVm2 gets an existing Vm2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVm2 added in v6.4.0

func NewVm2(ctx *pulumi.Context,
	name string, args *Vm2Args, opts ...pulumi.ResourceOption) (*Vm2, error)

NewVm2 registers a new resource with the given unique name, arguments, and options.

func (*Vm2) ElementType added in v6.4.0

func (*Vm2) ElementType() reflect.Type

func (*Vm2) ToVm2Output added in v6.4.0

func (i *Vm2) ToVm2Output() Vm2Output

func (*Vm2) ToVm2OutputWithContext added in v6.4.0

func (i *Vm2) ToVm2OutputWithContext(ctx context.Context) Vm2Output

type Vm2Args added in v6.4.0

type Vm2Args struct {
	// The description of the VM.
	Description pulumi.StringPtrInput
	// The name of the VM. Doesn't have to be unique.
	Name pulumi.StringPtrInput
	// The name of the node where the VM is provisioned.
	NodeName pulumi.StringInput
	Timeouts Vm2TimeoutsPtrInput
}

The set of arguments for constructing a Vm2 resource.

func (Vm2Args) ElementType added in v6.4.0

func (Vm2Args) ElementType() reflect.Type

type Vm2Array added in v6.4.0

type Vm2Array []Vm2Input

func (Vm2Array) ElementType added in v6.4.0

func (Vm2Array) ElementType() reflect.Type

func (Vm2Array) ToVm2ArrayOutput added in v6.4.0

func (i Vm2Array) ToVm2ArrayOutput() Vm2ArrayOutput

func (Vm2Array) ToVm2ArrayOutputWithContext added in v6.4.0

func (i Vm2Array) ToVm2ArrayOutputWithContext(ctx context.Context) Vm2ArrayOutput

type Vm2ArrayInput added in v6.4.0

type Vm2ArrayInput interface {
	pulumi.Input

	ToVm2ArrayOutput() Vm2ArrayOutput
	ToVm2ArrayOutputWithContext(context.Context) Vm2ArrayOutput
}

Vm2ArrayInput is an input type that accepts Vm2Array and Vm2ArrayOutput values. You can construct a concrete instance of `Vm2ArrayInput` via:

Vm2Array{ Vm2Args{...} }

type Vm2ArrayOutput added in v6.4.0

type Vm2ArrayOutput struct{ *pulumi.OutputState }

func (Vm2ArrayOutput) ElementType added in v6.4.0

func (Vm2ArrayOutput) ElementType() reflect.Type

func (Vm2ArrayOutput) Index added in v6.4.0

func (Vm2ArrayOutput) ToVm2ArrayOutput added in v6.4.0

func (o Vm2ArrayOutput) ToVm2ArrayOutput() Vm2ArrayOutput

func (Vm2ArrayOutput) ToVm2ArrayOutputWithContext added in v6.4.0

func (o Vm2ArrayOutput) ToVm2ArrayOutputWithContext(ctx context.Context) Vm2ArrayOutput

type Vm2Input added in v6.4.0

type Vm2Input interface {
	pulumi.Input

	ToVm2Output() Vm2Output
	ToVm2OutputWithContext(ctx context.Context) Vm2Output
}

type Vm2Map added in v6.4.0

type Vm2Map map[string]Vm2Input

func (Vm2Map) ElementType added in v6.4.0

func (Vm2Map) ElementType() reflect.Type

func (Vm2Map) ToVm2MapOutput added in v6.4.0

func (i Vm2Map) ToVm2MapOutput() Vm2MapOutput

func (Vm2Map) ToVm2MapOutputWithContext added in v6.4.0

func (i Vm2Map) ToVm2MapOutputWithContext(ctx context.Context) Vm2MapOutput

type Vm2MapInput added in v6.4.0

type Vm2MapInput interface {
	pulumi.Input

	ToVm2MapOutput() Vm2MapOutput
	ToVm2MapOutputWithContext(context.Context) Vm2MapOutput
}

Vm2MapInput is an input type that accepts Vm2Map and Vm2MapOutput values. You can construct a concrete instance of `Vm2MapInput` via:

Vm2Map{ "key": Vm2Args{...} }

type Vm2MapOutput added in v6.4.0

type Vm2MapOutput struct{ *pulumi.OutputState }

func (Vm2MapOutput) ElementType added in v6.4.0

func (Vm2MapOutput) ElementType() reflect.Type

func (Vm2MapOutput) MapIndex added in v6.4.0

func (o Vm2MapOutput) MapIndex(k pulumi.StringInput) Vm2Output

func (Vm2MapOutput) ToVm2MapOutput added in v6.4.0

func (o Vm2MapOutput) ToVm2MapOutput() Vm2MapOutput

func (Vm2MapOutput) ToVm2MapOutputWithContext added in v6.4.0

func (o Vm2MapOutput) ToVm2MapOutputWithContext(ctx context.Context) Vm2MapOutput

type Vm2Output added in v6.4.0

type Vm2Output struct{ *pulumi.OutputState }

func (Vm2Output) Description added in v6.4.0

func (o Vm2Output) Description() pulumi.StringPtrOutput

The description of the VM.

func (Vm2Output) ElementType added in v6.4.0

func (Vm2Output) ElementType() reflect.Type

func (Vm2Output) Name added in v6.4.0

func (o Vm2Output) Name() pulumi.StringOutput

The name of the VM. Doesn't have to be unique.

func (Vm2Output) NodeName added in v6.4.0

func (o Vm2Output) NodeName() pulumi.StringOutput

The name of the node where the VM is provisioned.

func (Vm2Output) Timeouts added in v6.4.0

func (o Vm2Output) Timeouts() Vm2TimeoutsPtrOutput

func (Vm2Output) ToVm2Output added in v6.4.0

func (o Vm2Output) ToVm2Output() Vm2Output

func (Vm2Output) ToVm2OutputWithContext added in v6.4.0

func (o Vm2Output) ToVm2OutputWithContext(ctx context.Context) Vm2Output

type Vm2State added in v6.4.0

type Vm2State struct {
	// The description of the VM.
	Description pulumi.StringPtrInput
	// The name of the VM. Doesn't have to be unique.
	Name pulumi.StringPtrInput
	// The name of the node where the VM is provisioned.
	NodeName pulumi.StringPtrInput
	Timeouts Vm2TimeoutsPtrInput
}

func (Vm2State) ElementType added in v6.4.0

func (Vm2State) ElementType() reflect.Type

type Vm2Timeouts added in v6.4.0

type Vm2Timeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read *string `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type Vm2TimeoutsArgs added in v6.4.0

type Vm2TimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read pulumi.StringPtrInput `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (Vm2TimeoutsArgs) ElementType added in v6.4.0

func (Vm2TimeoutsArgs) ElementType() reflect.Type

func (Vm2TimeoutsArgs) ToVm2TimeoutsOutput added in v6.4.0

func (i Vm2TimeoutsArgs) ToVm2TimeoutsOutput() Vm2TimeoutsOutput

func (Vm2TimeoutsArgs) ToVm2TimeoutsOutputWithContext added in v6.4.0

func (i Vm2TimeoutsArgs) ToVm2TimeoutsOutputWithContext(ctx context.Context) Vm2TimeoutsOutput

func (Vm2TimeoutsArgs) ToVm2TimeoutsPtrOutput added in v6.4.0

func (i Vm2TimeoutsArgs) ToVm2TimeoutsPtrOutput() Vm2TimeoutsPtrOutput

func (Vm2TimeoutsArgs) ToVm2TimeoutsPtrOutputWithContext added in v6.4.0

func (i Vm2TimeoutsArgs) ToVm2TimeoutsPtrOutputWithContext(ctx context.Context) Vm2TimeoutsPtrOutput

type Vm2TimeoutsInput added in v6.4.0

type Vm2TimeoutsInput interface {
	pulumi.Input

	ToVm2TimeoutsOutput() Vm2TimeoutsOutput
	ToVm2TimeoutsOutputWithContext(context.Context) Vm2TimeoutsOutput
}

Vm2TimeoutsInput is an input type that accepts Vm2TimeoutsArgs and Vm2TimeoutsOutput values. You can construct a concrete instance of `Vm2TimeoutsInput` via:

Vm2TimeoutsArgs{...}

type Vm2TimeoutsOutput added in v6.4.0

type Vm2TimeoutsOutput struct{ *pulumi.OutputState }

func (Vm2TimeoutsOutput) Create added in v6.4.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (Vm2TimeoutsOutput) Delete added in v6.4.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (Vm2TimeoutsOutput) ElementType added in v6.4.0

func (Vm2TimeoutsOutput) ElementType() reflect.Type

func (Vm2TimeoutsOutput) Read added in v6.4.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (Vm2TimeoutsOutput) ToVm2TimeoutsOutput added in v6.4.0

func (o Vm2TimeoutsOutput) ToVm2TimeoutsOutput() Vm2TimeoutsOutput

func (Vm2TimeoutsOutput) ToVm2TimeoutsOutputWithContext added in v6.4.0

func (o Vm2TimeoutsOutput) ToVm2TimeoutsOutputWithContext(ctx context.Context) Vm2TimeoutsOutput

func (Vm2TimeoutsOutput) ToVm2TimeoutsPtrOutput added in v6.4.0

func (o Vm2TimeoutsOutput) ToVm2TimeoutsPtrOutput() Vm2TimeoutsPtrOutput

func (Vm2TimeoutsOutput) ToVm2TimeoutsPtrOutputWithContext added in v6.4.0

func (o Vm2TimeoutsOutput) ToVm2TimeoutsPtrOutputWithContext(ctx context.Context) Vm2TimeoutsPtrOutput

func (Vm2TimeoutsOutput) Update added in v6.4.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type Vm2TimeoutsPtrInput added in v6.4.0

type Vm2TimeoutsPtrInput interface {
	pulumi.Input

	ToVm2TimeoutsPtrOutput() Vm2TimeoutsPtrOutput
	ToVm2TimeoutsPtrOutputWithContext(context.Context) Vm2TimeoutsPtrOutput
}

Vm2TimeoutsPtrInput is an input type that accepts Vm2TimeoutsArgs, Vm2TimeoutsPtr and Vm2TimeoutsPtrOutput values. You can construct a concrete instance of `Vm2TimeoutsPtrInput` via:

        Vm2TimeoutsArgs{...}

or:

        nil

func Vm2TimeoutsPtr added in v6.4.0

func Vm2TimeoutsPtr(v *Vm2TimeoutsArgs) Vm2TimeoutsPtrInput

type Vm2TimeoutsPtrOutput added in v6.4.0

type Vm2TimeoutsPtrOutput struct{ *pulumi.OutputState }

func (Vm2TimeoutsPtrOutput) Create added in v6.4.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (Vm2TimeoutsPtrOutput) Delete added in v6.4.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (Vm2TimeoutsPtrOutput) Elem added in v6.4.0

func (Vm2TimeoutsPtrOutput) ElementType added in v6.4.0

func (Vm2TimeoutsPtrOutput) ElementType() reflect.Type

func (Vm2TimeoutsPtrOutput) Read added in v6.4.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (Vm2TimeoutsPtrOutput) ToVm2TimeoutsPtrOutput added in v6.4.0

func (o Vm2TimeoutsPtrOutput) ToVm2TimeoutsPtrOutput() Vm2TimeoutsPtrOutput

func (Vm2TimeoutsPtrOutput) ToVm2TimeoutsPtrOutputWithContext added in v6.4.0

func (o Vm2TimeoutsPtrOutput) ToVm2TimeoutsPtrOutputWithContext(ctx context.Context) Vm2TimeoutsPtrOutput

func (Vm2TimeoutsPtrOutput) Update added in v6.4.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL