proxmoxve

package
v6.8.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 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 Acl added in v6.6.0

type Acl struct {
	pulumi.CustomResourceState

	// The group the ACL should apply to (mutually exclusive with `tokenId` and `userId`)
	GroupId pulumi.StringPtrOutput `pulumi:"groupId"`
	// Access control path
	Path pulumi.StringOutput `pulumi:"path"`
	// Allow to propagate (inherit) permissions.
	Propagate pulumi.BoolOutput `pulumi:"propagate"`
	// The role to apply
	RoleId pulumi.StringOutput `pulumi:"roleId"`
	// The token the ACL should apply to (mutually exclusive with `groupId` and `userId`)
	TokenId pulumi.StringPtrOutput `pulumi:"tokenId"`
	// The user the ACL should apply to (mutually exclusive with `groupId` and `tokenId`)
	UserId pulumi.StringPtrOutput `pulumi:"userId"`
}

Manages ACLs on the Proxmox cluster.

ACLs are used to control access to resources in the Proxmox cluster. Each ACL consists of a path, a user, group or token, a role, and a flag to allow propagation of permissions.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		operationsAutomation, err := Permission.NewUser(ctx, "operationsAutomation", &Permission.UserArgs{
			Comment:  pulumi.String("Managed by Terraform"),
			Password: pulumi.String("a-strong-password"),
			UserId:   pulumi.String("operations-automation@pve"),
		})
		if err != nil {
			return err
		}
		operationsMonitoring, err := Permission.NewRole(ctx, "operationsMonitoring", &Permission.RoleArgs{
			RoleId: pulumi.String("operations-monitoring"),
			Privileges: pulumi.StringArray{
				pulumi.String("VM.Monitor"),
			},
		})
		if err != nil {
			return err
		}
		_, err = proxmoxve.NewAcl(ctx, "operationsAutomationMonitoring", &proxmoxve.AclArgs{
			UserId:    operationsAutomation.UserId,
			RoleId:    operationsMonitoring.RoleId,
			Path:      pulumi.String("/vms/1234"),
			Propagate: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

#!/usr/bin/env sh

ACL can be imported using its unique identifier, e.g.: {path}?{group|user@realm|user@realm!token}?{role}

```sh $ pulumi import proxmoxve:index/acl:Acl operations_automation_monitoring /?monitor@pve?operations-monitoring ```

func GetAcl added in v6.6.0

func GetAcl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclState, opts ...pulumi.ResourceOption) (*Acl, error)

GetAcl gets an existing Acl 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 NewAcl added in v6.6.0

func NewAcl(ctx *pulumi.Context,
	name string, args *AclArgs, opts ...pulumi.ResourceOption) (*Acl, error)

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

func (*Acl) ElementType added in v6.6.0

func (*Acl) ElementType() reflect.Type

func (*Acl) ToAclOutput added in v6.6.0

func (i *Acl) ToAclOutput() AclOutput

func (*Acl) ToAclOutputWithContext added in v6.6.0

func (i *Acl) ToAclOutputWithContext(ctx context.Context) AclOutput

type AclArgs added in v6.6.0

type AclArgs struct {
	// The group the ACL should apply to (mutually exclusive with `tokenId` and `userId`)
	GroupId pulumi.StringPtrInput
	// Access control path
	Path pulumi.StringInput
	// Allow to propagate (inherit) permissions.
	Propagate pulumi.BoolPtrInput
	// The role to apply
	RoleId pulumi.StringInput
	// The token the ACL should apply to (mutually exclusive with `groupId` and `userId`)
	TokenId pulumi.StringPtrInput
	// The user the ACL should apply to (mutually exclusive with `groupId` and `tokenId`)
	UserId pulumi.StringPtrInput
}

The set of arguments for constructing a Acl resource.

func (AclArgs) ElementType added in v6.6.0

func (AclArgs) ElementType() reflect.Type

type AclArray added in v6.6.0

type AclArray []AclInput

func (AclArray) ElementType added in v6.6.0

func (AclArray) ElementType() reflect.Type

func (AclArray) ToAclArrayOutput added in v6.6.0

func (i AclArray) ToAclArrayOutput() AclArrayOutput

func (AclArray) ToAclArrayOutputWithContext added in v6.6.0

func (i AclArray) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput

type AclArrayInput added in v6.6.0

type AclArrayInput interface {
	pulumi.Input

	ToAclArrayOutput() AclArrayOutput
	ToAclArrayOutputWithContext(context.Context) AclArrayOutput
}

AclArrayInput is an input type that accepts AclArray and AclArrayOutput values. You can construct a concrete instance of `AclArrayInput` via:

AclArray{ AclArgs{...} }

type AclArrayOutput added in v6.6.0

type AclArrayOutput struct{ *pulumi.OutputState }

func (AclArrayOutput) ElementType added in v6.6.0

func (AclArrayOutput) ElementType() reflect.Type

func (AclArrayOutput) Index added in v6.6.0

func (AclArrayOutput) ToAclArrayOutput added in v6.6.0

func (o AclArrayOutput) ToAclArrayOutput() AclArrayOutput

func (AclArrayOutput) ToAclArrayOutputWithContext added in v6.6.0

func (o AclArrayOutput) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput

type AclInput added in v6.6.0

type AclInput interface {
	pulumi.Input

	ToAclOutput() AclOutput
	ToAclOutputWithContext(ctx context.Context) AclOutput
}

type AclMap added in v6.6.0

type AclMap map[string]AclInput

func (AclMap) ElementType added in v6.6.0

func (AclMap) ElementType() reflect.Type

func (AclMap) ToAclMapOutput added in v6.6.0

func (i AclMap) ToAclMapOutput() AclMapOutput

func (AclMap) ToAclMapOutputWithContext added in v6.6.0

func (i AclMap) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput

type AclMapInput added in v6.6.0

type AclMapInput interface {
	pulumi.Input

	ToAclMapOutput() AclMapOutput
	ToAclMapOutputWithContext(context.Context) AclMapOutput
}

AclMapInput is an input type that accepts AclMap and AclMapOutput values. You can construct a concrete instance of `AclMapInput` via:

AclMap{ "key": AclArgs{...} }

type AclMapOutput added in v6.6.0

type AclMapOutput struct{ *pulumi.OutputState }

func (AclMapOutput) ElementType added in v6.6.0

func (AclMapOutput) ElementType() reflect.Type

func (AclMapOutput) MapIndex added in v6.6.0

func (o AclMapOutput) MapIndex(k pulumi.StringInput) AclOutput

func (AclMapOutput) ToAclMapOutput added in v6.6.0

func (o AclMapOutput) ToAclMapOutput() AclMapOutput

func (AclMapOutput) ToAclMapOutputWithContext added in v6.6.0

func (o AclMapOutput) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput

type AclOutput added in v6.6.0

type AclOutput struct{ *pulumi.OutputState }

func (AclOutput) ElementType added in v6.6.0

func (AclOutput) ElementType() reflect.Type

func (AclOutput) GroupId added in v6.6.0

func (o AclOutput) GroupId() pulumi.StringPtrOutput

The group the ACL should apply to (mutually exclusive with `tokenId` and `userId`)

func (AclOutput) Path added in v6.6.0

func (o AclOutput) Path() pulumi.StringOutput

Access control path

func (AclOutput) Propagate added in v6.6.0

func (o AclOutput) Propagate() pulumi.BoolOutput

Allow to propagate (inherit) permissions.

func (AclOutput) RoleId added in v6.6.0

func (o AclOutput) RoleId() pulumi.StringOutput

The role to apply

func (AclOutput) ToAclOutput added in v6.6.0

func (o AclOutput) ToAclOutput() AclOutput

func (AclOutput) ToAclOutputWithContext added in v6.6.0

func (o AclOutput) ToAclOutputWithContext(ctx context.Context) AclOutput

func (AclOutput) TokenId added in v6.6.0

func (o AclOutput) TokenId() pulumi.StringPtrOutput

The token the ACL should apply to (mutually exclusive with `groupId` and `userId`)

func (AclOutput) UserId added in v6.6.0

func (o AclOutput) UserId() pulumi.StringPtrOutput

The user the ACL should apply to (mutually exclusive with `groupId` and `tokenId`)

type AclState added in v6.6.0

type AclState struct {
	// The group the ACL should apply to (mutually exclusive with `tokenId` and `userId`)
	GroupId pulumi.StringPtrInput
	// Access control path
	Path pulumi.StringPtrInput
	// Allow to propagate (inherit) permissions.
	Propagate pulumi.BoolPtrInput
	// The role to apply
	RoleId pulumi.StringPtrInput
	// The token the ACL should apply to (mutually exclusive with `groupId` and `userId`)
	TokenId pulumi.StringPtrInput
	// The user the ACL should apply to (mutually exclusive with `groupId` and `tokenId`)
	UserId pulumi.StringPtrInput
}

func (AclState) ElementType added in v6.6.0

func (AclState) ElementType() reflect.Type

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

```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
	})
}

```

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 GetVm2Clone added in v6.7.1

type GetVm2Clone struct {
	// The ID of the VM to clone.
	Id int `pulumi:"id"`
	// The number of retries to perform when cloning the VM (default: 3).
	Retries int `pulumi:"retries"`
}

type GetVm2CloneArgs added in v6.7.1

type GetVm2CloneArgs struct {
	// The ID of the VM to clone.
	Id pulumi.IntInput `pulumi:"id"`
	// The number of retries to perform when cloning the VM (default: 3).
	Retries pulumi.IntInput `pulumi:"retries"`
}

func (GetVm2CloneArgs) ElementType added in v6.7.1

func (GetVm2CloneArgs) ElementType() reflect.Type

func (GetVm2CloneArgs) ToGetVm2CloneOutput added in v6.7.1

func (i GetVm2CloneArgs) ToGetVm2CloneOutput() GetVm2CloneOutput

func (GetVm2CloneArgs) ToGetVm2CloneOutputWithContext added in v6.7.1

func (i GetVm2CloneArgs) ToGetVm2CloneOutputWithContext(ctx context.Context) GetVm2CloneOutput

func (GetVm2CloneArgs) ToGetVm2ClonePtrOutput added in v6.7.1

func (i GetVm2CloneArgs) ToGetVm2ClonePtrOutput() GetVm2ClonePtrOutput

func (GetVm2CloneArgs) ToGetVm2ClonePtrOutputWithContext added in v6.7.1

func (i GetVm2CloneArgs) ToGetVm2ClonePtrOutputWithContext(ctx context.Context) GetVm2ClonePtrOutput

type GetVm2CloneInput added in v6.7.1

type GetVm2CloneInput interface {
	pulumi.Input

	ToGetVm2CloneOutput() GetVm2CloneOutput
	ToGetVm2CloneOutputWithContext(context.Context) GetVm2CloneOutput
}

GetVm2CloneInput is an input type that accepts GetVm2CloneArgs and GetVm2CloneOutput values. You can construct a concrete instance of `GetVm2CloneInput` via:

GetVm2CloneArgs{...}

type GetVm2CloneOutput added in v6.7.1

type GetVm2CloneOutput struct{ *pulumi.OutputState }

func (GetVm2CloneOutput) ElementType added in v6.7.1

func (GetVm2CloneOutput) ElementType() reflect.Type

func (GetVm2CloneOutput) Id added in v6.7.1

The ID of the VM to clone.

func (GetVm2CloneOutput) Retries added in v6.7.1

func (o GetVm2CloneOutput) Retries() pulumi.IntOutput

The number of retries to perform when cloning the VM (default: 3).

func (GetVm2CloneOutput) ToGetVm2CloneOutput added in v6.7.1

func (o GetVm2CloneOutput) ToGetVm2CloneOutput() GetVm2CloneOutput

func (GetVm2CloneOutput) ToGetVm2CloneOutputWithContext added in v6.7.1

func (o GetVm2CloneOutput) ToGetVm2CloneOutputWithContext(ctx context.Context) GetVm2CloneOutput

func (GetVm2CloneOutput) ToGetVm2ClonePtrOutput added in v6.7.1

func (o GetVm2CloneOutput) ToGetVm2ClonePtrOutput() GetVm2ClonePtrOutput

func (GetVm2CloneOutput) ToGetVm2ClonePtrOutputWithContext added in v6.7.1

func (o GetVm2CloneOutput) ToGetVm2ClonePtrOutputWithContext(ctx context.Context) GetVm2ClonePtrOutput

type GetVm2ClonePtrInput added in v6.7.1

type GetVm2ClonePtrInput interface {
	pulumi.Input

	ToGetVm2ClonePtrOutput() GetVm2ClonePtrOutput
	ToGetVm2ClonePtrOutputWithContext(context.Context) GetVm2ClonePtrOutput
}

GetVm2ClonePtrInput is an input type that accepts GetVm2CloneArgs, GetVm2ClonePtr and GetVm2ClonePtrOutput values. You can construct a concrete instance of `GetVm2ClonePtrInput` via:

        GetVm2CloneArgs{...}

or:

        nil

func GetVm2ClonePtr added in v6.7.1

func GetVm2ClonePtr(v *GetVm2CloneArgs) GetVm2ClonePtrInput

type GetVm2ClonePtrOutput added in v6.7.1

type GetVm2ClonePtrOutput struct{ *pulumi.OutputState }

func (GetVm2ClonePtrOutput) Elem added in v6.7.1

func (GetVm2ClonePtrOutput) ElementType added in v6.7.1

func (GetVm2ClonePtrOutput) ElementType() reflect.Type

func (GetVm2ClonePtrOutput) Id added in v6.7.1

The ID of the VM to clone.

func (GetVm2ClonePtrOutput) Retries added in v6.7.1

The number of retries to perform when cloning the VM (default: 3).

func (GetVm2ClonePtrOutput) ToGetVm2ClonePtrOutput added in v6.7.1

func (o GetVm2ClonePtrOutput) ToGetVm2ClonePtrOutput() GetVm2ClonePtrOutput

func (GetVm2ClonePtrOutput) ToGetVm2ClonePtrOutputWithContext added in v6.7.1

func (o GetVm2ClonePtrOutput) ToGetVm2ClonePtrOutputWithContext(ctx context.Context) GetVm2ClonePtrOutput

type GetVm2Cpu added in v6.7.1

type GetVm2Cpu struct {
	// List of host cores used to execute guest processes, for example: '0,5,8-11'
	Affinity string `pulumi:"affinity"`
	// The CPU architecture.
	Architecture string `pulumi:"architecture"`
	// The number of CPU cores per socket.
	Cores int `pulumi:"cores"`
	// Set of additional CPU flags.
	Flags []string `pulumi:"flags"`
	// The number of hotplugged vCPUs.
	Hotplugged int `pulumi:"hotplugged"`
	// Limit of CPU usage.
	Limit int `pulumi:"limit"`
	// Enable NUMA.
	Numa bool `pulumi:"numa"`
	// The number of CPU sockets.
	Sockets int `pulumi:"sockets"`
	// Emulated CPU type.
	Type string `pulumi:"type"`
	// CPU weight for a VM
	Units int `pulumi:"units"`
}

type GetVm2CpuArgs added in v6.7.1

type GetVm2CpuArgs struct {
	// List of host cores used to execute guest processes, for example: '0,5,8-11'
	Affinity pulumi.StringInput `pulumi:"affinity"`
	// The CPU architecture.
	Architecture pulumi.StringInput `pulumi:"architecture"`
	// The number of CPU cores per socket.
	Cores pulumi.IntInput `pulumi:"cores"`
	// Set of additional CPU flags.
	Flags pulumi.StringArrayInput `pulumi:"flags"`
	// The number of hotplugged vCPUs.
	Hotplugged pulumi.IntInput `pulumi:"hotplugged"`
	// Limit of CPU usage.
	Limit pulumi.IntInput `pulumi:"limit"`
	// Enable NUMA.
	Numa pulumi.BoolInput `pulumi:"numa"`
	// The number of CPU sockets.
	Sockets pulumi.IntInput `pulumi:"sockets"`
	// Emulated CPU type.
	Type pulumi.StringInput `pulumi:"type"`
	// CPU weight for a VM
	Units pulumi.IntInput `pulumi:"units"`
}

func (GetVm2CpuArgs) ElementType added in v6.7.1

func (GetVm2CpuArgs) ElementType() reflect.Type

func (GetVm2CpuArgs) ToGetVm2CpuOutput added in v6.7.1

func (i GetVm2CpuArgs) ToGetVm2CpuOutput() GetVm2CpuOutput

func (GetVm2CpuArgs) ToGetVm2CpuOutputWithContext added in v6.7.1

func (i GetVm2CpuArgs) ToGetVm2CpuOutputWithContext(ctx context.Context) GetVm2CpuOutput

func (GetVm2CpuArgs) ToGetVm2CpuPtrOutput added in v6.7.1

func (i GetVm2CpuArgs) ToGetVm2CpuPtrOutput() GetVm2CpuPtrOutput

func (GetVm2CpuArgs) ToGetVm2CpuPtrOutputWithContext added in v6.7.1

func (i GetVm2CpuArgs) ToGetVm2CpuPtrOutputWithContext(ctx context.Context) GetVm2CpuPtrOutput

type GetVm2CpuInput added in v6.7.1

type GetVm2CpuInput interface {
	pulumi.Input

	ToGetVm2CpuOutput() GetVm2CpuOutput
	ToGetVm2CpuOutputWithContext(context.Context) GetVm2CpuOutput
}

GetVm2CpuInput is an input type that accepts GetVm2CpuArgs and GetVm2CpuOutput values. You can construct a concrete instance of `GetVm2CpuInput` via:

GetVm2CpuArgs{...}

type GetVm2CpuOutput added in v6.7.1

type GetVm2CpuOutput struct{ *pulumi.OutputState }

func (GetVm2CpuOutput) Affinity added in v6.7.1

func (o GetVm2CpuOutput) Affinity() pulumi.StringOutput

List of host cores used to execute guest processes, for example: '0,5,8-11'

func (GetVm2CpuOutput) Architecture added in v6.7.1

func (o GetVm2CpuOutput) Architecture() pulumi.StringOutput

The CPU architecture.

func (GetVm2CpuOutput) Cores added in v6.7.1

func (o GetVm2CpuOutput) Cores() pulumi.IntOutput

The number of CPU cores per socket.

func (GetVm2CpuOutput) ElementType added in v6.7.1

func (GetVm2CpuOutput) ElementType() reflect.Type

func (GetVm2CpuOutput) Flags added in v6.7.1

Set of additional CPU flags.

func (GetVm2CpuOutput) Hotplugged added in v6.7.1

func (o GetVm2CpuOutput) Hotplugged() pulumi.IntOutput

The number of hotplugged vCPUs.

func (GetVm2CpuOutput) Limit added in v6.7.1

func (o GetVm2CpuOutput) Limit() pulumi.IntOutput

Limit of CPU usage.

func (GetVm2CpuOutput) Numa added in v6.7.1

Enable NUMA.

func (GetVm2CpuOutput) Sockets added in v6.7.1

func (o GetVm2CpuOutput) Sockets() pulumi.IntOutput

The number of CPU sockets.

func (GetVm2CpuOutput) ToGetVm2CpuOutput added in v6.7.1

func (o GetVm2CpuOutput) ToGetVm2CpuOutput() GetVm2CpuOutput

func (GetVm2CpuOutput) ToGetVm2CpuOutputWithContext added in v6.7.1

func (o GetVm2CpuOutput) ToGetVm2CpuOutputWithContext(ctx context.Context) GetVm2CpuOutput

func (GetVm2CpuOutput) ToGetVm2CpuPtrOutput added in v6.7.1

func (o GetVm2CpuOutput) ToGetVm2CpuPtrOutput() GetVm2CpuPtrOutput

func (GetVm2CpuOutput) ToGetVm2CpuPtrOutputWithContext added in v6.7.1

func (o GetVm2CpuOutput) ToGetVm2CpuPtrOutputWithContext(ctx context.Context) GetVm2CpuPtrOutput

func (GetVm2CpuOutput) Type added in v6.7.1

Emulated CPU type.

func (GetVm2CpuOutput) Units added in v6.7.1

func (o GetVm2CpuOutput) Units() pulumi.IntOutput

CPU weight for a VM

type GetVm2CpuPtrInput added in v6.7.1

type GetVm2CpuPtrInput interface {
	pulumi.Input

	ToGetVm2CpuPtrOutput() GetVm2CpuPtrOutput
	ToGetVm2CpuPtrOutputWithContext(context.Context) GetVm2CpuPtrOutput
}

GetVm2CpuPtrInput is an input type that accepts GetVm2CpuArgs, GetVm2CpuPtr and GetVm2CpuPtrOutput values. You can construct a concrete instance of `GetVm2CpuPtrInput` via:

        GetVm2CpuArgs{...}

or:

        nil

func GetVm2CpuPtr added in v6.7.1

func GetVm2CpuPtr(v *GetVm2CpuArgs) GetVm2CpuPtrInput

type GetVm2CpuPtrOutput added in v6.7.1

type GetVm2CpuPtrOutput struct{ *pulumi.OutputState }

func (GetVm2CpuPtrOutput) Affinity added in v6.7.1

List of host cores used to execute guest processes, for example: '0,5,8-11'

func (GetVm2CpuPtrOutput) Architecture added in v6.7.1

func (o GetVm2CpuPtrOutput) Architecture() pulumi.StringPtrOutput

The CPU architecture.

func (GetVm2CpuPtrOutput) Cores added in v6.7.1

The number of CPU cores per socket.

func (GetVm2CpuPtrOutput) Elem added in v6.7.1

func (GetVm2CpuPtrOutput) ElementType added in v6.7.1

func (GetVm2CpuPtrOutput) ElementType() reflect.Type

func (GetVm2CpuPtrOutput) Flags added in v6.7.1

Set of additional CPU flags.

func (GetVm2CpuPtrOutput) Hotplugged added in v6.7.1

func (o GetVm2CpuPtrOutput) Hotplugged() pulumi.IntPtrOutput

The number of hotplugged vCPUs.

func (GetVm2CpuPtrOutput) Limit added in v6.7.1

Limit of CPU usage.

func (GetVm2CpuPtrOutput) Numa added in v6.7.1

Enable NUMA.

func (GetVm2CpuPtrOutput) Sockets added in v6.7.1

The number of CPU sockets.

func (GetVm2CpuPtrOutput) ToGetVm2CpuPtrOutput added in v6.7.1

func (o GetVm2CpuPtrOutput) ToGetVm2CpuPtrOutput() GetVm2CpuPtrOutput

func (GetVm2CpuPtrOutput) ToGetVm2CpuPtrOutputWithContext added in v6.7.1

func (o GetVm2CpuPtrOutput) ToGetVm2CpuPtrOutputWithContext(ctx context.Context) GetVm2CpuPtrOutput

func (GetVm2CpuPtrOutput) Type added in v6.7.1

Emulated CPU type.

func (GetVm2CpuPtrOutput) Units added in v6.7.1

CPU weight for a VM

type GetVm2Timeouts added in v6.7.1

type GetVm2Timeouts 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). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read *string `pulumi:"read"`
}

type GetVm2TimeoutsArgs added in v6.7.1

type GetVm2TimeoutsArgs 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). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read pulumi.StringPtrInput `pulumi:"read"`
}

func (GetVm2TimeoutsArgs) ElementType added in v6.7.1

func (GetVm2TimeoutsArgs) ElementType() reflect.Type

func (GetVm2TimeoutsArgs) ToGetVm2TimeoutsOutput added in v6.7.1

func (i GetVm2TimeoutsArgs) ToGetVm2TimeoutsOutput() GetVm2TimeoutsOutput

func (GetVm2TimeoutsArgs) ToGetVm2TimeoutsOutputWithContext added in v6.7.1

func (i GetVm2TimeoutsArgs) ToGetVm2TimeoutsOutputWithContext(ctx context.Context) GetVm2TimeoutsOutput

func (GetVm2TimeoutsArgs) ToGetVm2TimeoutsPtrOutput added in v6.7.1

func (i GetVm2TimeoutsArgs) ToGetVm2TimeoutsPtrOutput() GetVm2TimeoutsPtrOutput

func (GetVm2TimeoutsArgs) ToGetVm2TimeoutsPtrOutputWithContext added in v6.7.1

func (i GetVm2TimeoutsArgs) ToGetVm2TimeoutsPtrOutputWithContext(ctx context.Context) GetVm2TimeoutsPtrOutput

type GetVm2TimeoutsInput added in v6.7.1

type GetVm2TimeoutsInput interface {
	pulumi.Input

	ToGetVm2TimeoutsOutput() GetVm2TimeoutsOutput
	ToGetVm2TimeoutsOutputWithContext(context.Context) GetVm2TimeoutsOutput
}

GetVm2TimeoutsInput is an input type that accepts GetVm2TimeoutsArgs and GetVm2TimeoutsOutput values. You can construct a concrete instance of `GetVm2TimeoutsInput` via:

GetVm2TimeoutsArgs{...}

type GetVm2TimeoutsOutput added in v6.7.1

type GetVm2TimeoutsOutput struct{ *pulumi.OutputState }

func (GetVm2TimeoutsOutput) ElementType added in v6.7.1

func (GetVm2TimeoutsOutput) ElementType() reflect.Type

func (GetVm2TimeoutsOutput) Read added in v6.7.1

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 (GetVm2TimeoutsOutput) ToGetVm2TimeoutsOutput added in v6.7.1

func (o GetVm2TimeoutsOutput) ToGetVm2TimeoutsOutput() GetVm2TimeoutsOutput

func (GetVm2TimeoutsOutput) ToGetVm2TimeoutsOutputWithContext added in v6.7.1

func (o GetVm2TimeoutsOutput) ToGetVm2TimeoutsOutputWithContext(ctx context.Context) GetVm2TimeoutsOutput

func (GetVm2TimeoutsOutput) ToGetVm2TimeoutsPtrOutput added in v6.7.1

func (o GetVm2TimeoutsOutput) ToGetVm2TimeoutsPtrOutput() GetVm2TimeoutsPtrOutput

func (GetVm2TimeoutsOutput) ToGetVm2TimeoutsPtrOutputWithContext added in v6.7.1

func (o GetVm2TimeoutsOutput) ToGetVm2TimeoutsPtrOutputWithContext(ctx context.Context) GetVm2TimeoutsPtrOutput

type GetVm2TimeoutsPtrInput added in v6.7.1

type GetVm2TimeoutsPtrInput interface {
	pulumi.Input

	ToGetVm2TimeoutsPtrOutput() GetVm2TimeoutsPtrOutput
	ToGetVm2TimeoutsPtrOutputWithContext(context.Context) GetVm2TimeoutsPtrOutput
}

GetVm2TimeoutsPtrInput is an input type that accepts GetVm2TimeoutsArgs, GetVm2TimeoutsPtr and GetVm2TimeoutsPtrOutput values. You can construct a concrete instance of `GetVm2TimeoutsPtrInput` via:

        GetVm2TimeoutsArgs{...}

or:

        nil

func GetVm2TimeoutsPtr added in v6.7.1

func GetVm2TimeoutsPtr(v *GetVm2TimeoutsArgs) GetVm2TimeoutsPtrInput

type GetVm2TimeoutsPtrOutput added in v6.7.1

type GetVm2TimeoutsPtrOutput struct{ *pulumi.OutputState }

func (GetVm2TimeoutsPtrOutput) Elem added in v6.7.1

func (GetVm2TimeoutsPtrOutput) ElementType added in v6.7.1

func (GetVm2TimeoutsPtrOutput) ElementType() reflect.Type

func (GetVm2TimeoutsPtrOutput) Read added in v6.7.1

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 (GetVm2TimeoutsPtrOutput) ToGetVm2TimeoutsPtrOutput added in v6.7.1

func (o GetVm2TimeoutsPtrOutput) ToGetVm2TimeoutsPtrOutput() GetVm2TimeoutsPtrOutput

func (GetVm2TimeoutsPtrOutput) ToGetVm2TimeoutsPtrOutputWithContext added in v6.7.1

func (o GetVm2TimeoutsPtrOutput) ToGetVm2TimeoutsPtrOutputWithContext(ctx context.Context) GetVm2TimeoutsPtrOutput

type GetVm2Vga added in v6.8.0

type GetVm2Vga struct {
	// Enable a specific clipboard.
	Clipboard string `pulumi:"clipboard"`
	// The VGA memory in megabytes (4-512 MB). Has no effect with serial display.
	Memory int `pulumi:"memory"`
	// The VGA type.
	Type string `pulumi:"type"`
}

type GetVm2VgaArgs added in v6.8.0

type GetVm2VgaArgs struct {
	// Enable a specific clipboard.
	Clipboard pulumi.StringInput `pulumi:"clipboard"`
	// The VGA memory in megabytes (4-512 MB). Has no effect with serial display.
	Memory pulumi.IntInput `pulumi:"memory"`
	// The VGA type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetVm2VgaArgs) ElementType added in v6.8.0

func (GetVm2VgaArgs) ElementType() reflect.Type

func (GetVm2VgaArgs) ToGetVm2VgaOutput added in v6.8.0

func (i GetVm2VgaArgs) ToGetVm2VgaOutput() GetVm2VgaOutput

func (GetVm2VgaArgs) ToGetVm2VgaOutputWithContext added in v6.8.0

func (i GetVm2VgaArgs) ToGetVm2VgaOutputWithContext(ctx context.Context) GetVm2VgaOutput

func (GetVm2VgaArgs) ToGetVm2VgaPtrOutput added in v6.8.0

func (i GetVm2VgaArgs) ToGetVm2VgaPtrOutput() GetVm2VgaPtrOutput

func (GetVm2VgaArgs) ToGetVm2VgaPtrOutputWithContext added in v6.8.0

func (i GetVm2VgaArgs) ToGetVm2VgaPtrOutputWithContext(ctx context.Context) GetVm2VgaPtrOutput

type GetVm2VgaInput added in v6.8.0

type GetVm2VgaInput interface {
	pulumi.Input

	ToGetVm2VgaOutput() GetVm2VgaOutput
	ToGetVm2VgaOutputWithContext(context.Context) GetVm2VgaOutput
}

GetVm2VgaInput is an input type that accepts GetVm2VgaArgs and GetVm2VgaOutput values. You can construct a concrete instance of `GetVm2VgaInput` via:

GetVm2VgaArgs{...}

type GetVm2VgaOutput added in v6.8.0

type GetVm2VgaOutput struct{ *pulumi.OutputState }

func (GetVm2VgaOutput) Clipboard added in v6.8.0

func (o GetVm2VgaOutput) Clipboard() pulumi.StringOutput

Enable a specific clipboard.

func (GetVm2VgaOutput) ElementType added in v6.8.0

func (GetVm2VgaOutput) ElementType() reflect.Type

func (GetVm2VgaOutput) Memory added in v6.8.0

func (o GetVm2VgaOutput) Memory() pulumi.IntOutput

The VGA memory in megabytes (4-512 MB). Has no effect with serial display.

func (GetVm2VgaOutput) ToGetVm2VgaOutput added in v6.8.0

func (o GetVm2VgaOutput) ToGetVm2VgaOutput() GetVm2VgaOutput

func (GetVm2VgaOutput) ToGetVm2VgaOutputWithContext added in v6.8.0

func (o GetVm2VgaOutput) ToGetVm2VgaOutputWithContext(ctx context.Context) GetVm2VgaOutput

func (GetVm2VgaOutput) ToGetVm2VgaPtrOutput added in v6.8.0

func (o GetVm2VgaOutput) ToGetVm2VgaPtrOutput() GetVm2VgaPtrOutput

func (GetVm2VgaOutput) ToGetVm2VgaPtrOutputWithContext added in v6.8.0

func (o GetVm2VgaOutput) ToGetVm2VgaPtrOutputWithContext(ctx context.Context) GetVm2VgaPtrOutput

func (GetVm2VgaOutput) Type added in v6.8.0

The VGA type.

type GetVm2VgaPtrInput added in v6.8.0

type GetVm2VgaPtrInput interface {
	pulumi.Input

	ToGetVm2VgaPtrOutput() GetVm2VgaPtrOutput
	ToGetVm2VgaPtrOutputWithContext(context.Context) GetVm2VgaPtrOutput
}

GetVm2VgaPtrInput is an input type that accepts GetVm2VgaArgs, GetVm2VgaPtr and GetVm2VgaPtrOutput values. You can construct a concrete instance of `GetVm2VgaPtrInput` via:

        GetVm2VgaArgs{...}

or:

        nil

func GetVm2VgaPtr added in v6.8.0

func GetVm2VgaPtr(v *GetVm2VgaArgs) GetVm2VgaPtrInput

type GetVm2VgaPtrOutput added in v6.8.0

type GetVm2VgaPtrOutput struct{ *pulumi.OutputState }

func (GetVm2VgaPtrOutput) Clipboard added in v6.8.0

Enable a specific clipboard.

func (GetVm2VgaPtrOutput) Elem added in v6.8.0

func (GetVm2VgaPtrOutput) ElementType added in v6.8.0

func (GetVm2VgaPtrOutput) ElementType() reflect.Type

func (GetVm2VgaPtrOutput) Memory added in v6.8.0

The VGA memory in megabytes (4-512 MB). Has no effect with serial display.

func (GetVm2VgaPtrOutput) ToGetVm2VgaPtrOutput added in v6.8.0

func (o GetVm2VgaPtrOutput) ToGetVm2VgaPtrOutput() GetVm2VgaPtrOutput

func (GetVm2VgaPtrOutput) ToGetVm2VgaPtrOutputWithContext added in v6.8.0

func (o GetVm2VgaPtrOutput) ToGetVm2VgaPtrOutputWithContext(ctx context.Context) GetVm2VgaPtrOutput

func (GetVm2VgaPtrOutput) Type added in v6.8.0

The VGA type.

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 associated with each of the IP addresses.
	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 associated with each of the IP addresses.

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 associated with each of the IP addresses.
	Hostnames pulumi.StringArrayArrayInput
	// A node name.
	NodeName pulumi.StringPtrInput
}

func (HostsState) ElementType

func (HostsState) ElementType() reflect.Type

type LookupVm2Args added in v6.7.1

type LookupVm2Args struct {
	// The cloning configuration.
	Clone *GetVm2Clone `pulumi:"clone"`
	// The CPU configuration.
	Cpu *GetVm2Cpu `pulumi:"cpu"`
	// The description of the VM.
	Description *string `pulumi:"description"`
	// The unique identifier of the VM in the Proxmox cluster.
	Id int `pulumi:"id"`
	// The name of the VM.
	Name *string `pulumi:"name"`
	// The name of the node where the VM is provisioned.
	NodeName string `pulumi:"nodeName"`
	// The tags assigned to the VM.
	Tags []string `pulumi:"tags"`
	// Whether the VM is a template.
	Template *bool           `pulumi:"template"`
	Timeouts *GetVm2Timeouts `pulumi:"timeouts"`
	// The VGA configuration.
	Vga *GetVm2Vga `pulumi:"vga"`
}

A collection of arguments for invoking getVm2.

type LookupVm2OutputArgs added in v6.7.1

type LookupVm2OutputArgs struct {
	// The cloning configuration.
	Clone GetVm2ClonePtrInput `pulumi:"clone"`
	// The CPU configuration.
	Cpu GetVm2CpuPtrInput `pulumi:"cpu"`
	// The description of the VM.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The unique identifier of the VM in the Proxmox cluster.
	Id pulumi.IntInput `pulumi:"id"`
	// The name of the VM.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The name of the node where the VM is provisioned.
	NodeName pulumi.StringInput `pulumi:"nodeName"`
	// The tags assigned to the VM.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// Whether the VM is a template.
	Template pulumi.BoolPtrInput    `pulumi:"template"`
	Timeouts GetVm2TimeoutsPtrInput `pulumi:"timeouts"`
	// The VGA configuration.
	Vga GetVm2VgaPtrInput `pulumi:"vga"`
}

A collection of arguments for invoking getVm2.

func (LookupVm2OutputArgs) ElementType added in v6.7.1

func (LookupVm2OutputArgs) ElementType() reflect.Type

type LookupVm2Result added in v6.7.1

type LookupVm2Result struct {
	// The cloning configuration.
	Clone *GetVm2Clone `pulumi:"clone"`
	// The CPU configuration.
	Cpu GetVm2Cpu `pulumi:"cpu"`
	// The description of the VM.
	Description *string `pulumi:"description"`
	// The unique identifier of the VM in the Proxmox cluster.
	Id int `pulumi:"id"`
	// The name of the VM.
	Name *string `pulumi:"name"`
	// The name of the node where the VM is provisioned.
	NodeName string `pulumi:"nodeName"`
	// The tags assigned to the VM.
	Tags []string `pulumi:"tags"`
	// Whether the VM is a template.
	Template *bool           `pulumi:"template"`
	Timeouts *GetVm2Timeouts `pulumi:"timeouts"`
	// The VGA configuration.
	Vga GetVm2Vga `pulumi:"vga"`
}

A collection of values returned by getVm2.

func LookupVm2 added in v6.7.1

func LookupVm2(ctx *pulumi.Context, args *LookupVm2Args, opts ...pulumi.InvokeOption) (*LookupVm2Result, error)

!> **DO NOT USE** This is an experimental implementation of a Proxmox VM datasource using Plugin Framework.

type LookupVm2ResultOutput added in v6.7.1

type LookupVm2ResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVm2.

func LookupVm2Output added in v6.7.1

func LookupVm2Output(ctx *pulumi.Context, args LookupVm2OutputArgs, opts ...pulumi.InvokeOption) LookupVm2ResultOutput

func (LookupVm2ResultOutput) Clone added in v6.7.1

The cloning configuration.

func (LookupVm2ResultOutput) Cpu added in v6.7.1

The CPU configuration.

func (LookupVm2ResultOutput) Description added in v6.7.1

The description of the VM.

func (LookupVm2ResultOutput) ElementType added in v6.7.1

func (LookupVm2ResultOutput) ElementType() reflect.Type

func (LookupVm2ResultOutput) Id added in v6.7.1

The unique identifier of the VM in the Proxmox cluster.

func (LookupVm2ResultOutput) Name added in v6.7.1

The name of the VM.

func (LookupVm2ResultOutput) NodeName added in v6.7.1

The name of the node where the VM is provisioned.

func (LookupVm2ResultOutput) Tags added in v6.7.1

The tags assigned to the VM.

func (LookupVm2ResultOutput) Template added in v6.7.1

Whether the VM is a template.

func (LookupVm2ResultOutput) Timeouts added in v6.7.1

func (LookupVm2ResultOutput) ToLookupVm2ResultOutput added in v6.7.1

func (o LookupVm2ResultOutput) ToLookupVm2ResultOutput() LookupVm2ResultOutput

func (LookupVm2ResultOutput) ToLookupVm2ResultOutputWithContext added in v6.7.1

func (o LookupVm2ResultOutput) ToLookupVm2ResultOutputWithContext(ctx context.Context) LookupVm2ResultOutput

func (LookupVm2ResultOutput) Vga added in v6.8.0

The VGA configuration.

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

```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
	})
}

```

## 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 cloning configuration.
	Clone Vm2ClonePtrOutput `pulumi:"clone"`
	// The CPU configuration.
	Cpu Vm2CpuOutput `pulumi:"cpu"`
	// 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"`
	// The tags assigned to the VM.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// Set to true to create a VM template.
	Template pulumi.BoolPtrOutput `pulumi:"template"`
	Timeouts Vm2TimeoutsPtrOutput `pulumi:"timeouts"`
	// Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is `std` for all OS types besides some Windows versions (XP and older) which use `cirrus`. The `qxl` option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays themself. You can also run without any graphic card, using a serial device as terminal. See the [Proxmox documentation](https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_virtual_machines_settings) section 10.2.8 for more information and available configuration parameters.
	Vga Vm2VgaOutput `pulumi:"vga"`
}

!> **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.

> Many attributes are marked as **optional** _and_ **computed** in the schema, hence you may seem added to the plan with "(known after apply)" status, even if they are not set in the configuration. This is done to support the `clone` operation, when a VM is created from an existing VM or template, and the source attributes are copied to the clone.<br><br> Computed attributes allow the provider to set those attributes without user input. The attributes are also marked as optional to allow the practitioner to set (or overwrite) them if needed.

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 cloning configuration.
	Clone Vm2ClonePtrInput
	// The CPU configuration.
	Cpu Vm2CpuPtrInput
	// 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
	// The tags assigned to the VM.
	Tags pulumi.StringArrayInput
	// Set to true to create a VM template.
	Template pulumi.BoolPtrInput
	Timeouts Vm2TimeoutsPtrInput
	// Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is `std` for all OS types besides some Windows versions (XP and older) which use `cirrus`. The `qxl` option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays themself. You can also run without any graphic card, using a serial device as terminal. See the [Proxmox documentation](https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_virtual_machines_settings) section 10.2.8 for more information and available configuration parameters.
	Vga Vm2VgaPtrInput
}

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 Vm2Clone added in v6.5.0

type Vm2Clone struct {
	// The ID of the VM to clone.
	Id int `pulumi:"id"`
	// The number of retries to perform when cloning the VM (default: 3).
	Retries *int `pulumi:"retries"`
}

type Vm2CloneArgs added in v6.5.0

type Vm2CloneArgs struct {
	// The ID of the VM to clone.
	Id pulumi.IntInput `pulumi:"id"`
	// The number of retries to perform when cloning the VM (default: 3).
	Retries pulumi.IntPtrInput `pulumi:"retries"`
}

func (Vm2CloneArgs) ElementType added in v6.5.0

func (Vm2CloneArgs) ElementType() reflect.Type

func (Vm2CloneArgs) ToVm2CloneOutput added in v6.5.0

func (i Vm2CloneArgs) ToVm2CloneOutput() Vm2CloneOutput

func (Vm2CloneArgs) ToVm2CloneOutputWithContext added in v6.5.0

func (i Vm2CloneArgs) ToVm2CloneOutputWithContext(ctx context.Context) Vm2CloneOutput

func (Vm2CloneArgs) ToVm2ClonePtrOutput added in v6.5.0

func (i Vm2CloneArgs) ToVm2ClonePtrOutput() Vm2ClonePtrOutput

func (Vm2CloneArgs) ToVm2ClonePtrOutputWithContext added in v6.5.0

func (i Vm2CloneArgs) ToVm2ClonePtrOutputWithContext(ctx context.Context) Vm2ClonePtrOutput

type Vm2CloneInput added in v6.5.0

type Vm2CloneInput interface {
	pulumi.Input

	ToVm2CloneOutput() Vm2CloneOutput
	ToVm2CloneOutputWithContext(context.Context) Vm2CloneOutput
}

Vm2CloneInput is an input type that accepts Vm2CloneArgs and Vm2CloneOutput values. You can construct a concrete instance of `Vm2CloneInput` via:

Vm2CloneArgs{...}

type Vm2CloneOutput added in v6.5.0

type Vm2CloneOutput struct{ *pulumi.OutputState }

func (Vm2CloneOutput) ElementType added in v6.5.0

func (Vm2CloneOutput) ElementType() reflect.Type

func (Vm2CloneOutput) Id added in v6.5.0

The ID of the VM to clone.

func (Vm2CloneOutput) Retries added in v6.5.0

func (o Vm2CloneOutput) Retries() pulumi.IntPtrOutput

The number of retries to perform when cloning the VM (default: 3).

func (Vm2CloneOutput) ToVm2CloneOutput added in v6.5.0

func (o Vm2CloneOutput) ToVm2CloneOutput() Vm2CloneOutput

func (Vm2CloneOutput) ToVm2CloneOutputWithContext added in v6.5.0

func (o Vm2CloneOutput) ToVm2CloneOutputWithContext(ctx context.Context) Vm2CloneOutput

func (Vm2CloneOutput) ToVm2ClonePtrOutput added in v6.5.0

func (o Vm2CloneOutput) ToVm2ClonePtrOutput() Vm2ClonePtrOutput

func (Vm2CloneOutput) ToVm2ClonePtrOutputWithContext added in v6.5.0

func (o Vm2CloneOutput) ToVm2ClonePtrOutputWithContext(ctx context.Context) Vm2ClonePtrOutput

type Vm2ClonePtrInput added in v6.5.0

type Vm2ClonePtrInput interface {
	pulumi.Input

	ToVm2ClonePtrOutput() Vm2ClonePtrOutput
	ToVm2ClonePtrOutputWithContext(context.Context) Vm2ClonePtrOutput
}

Vm2ClonePtrInput is an input type that accepts Vm2CloneArgs, Vm2ClonePtr and Vm2ClonePtrOutput values. You can construct a concrete instance of `Vm2ClonePtrInput` via:

        Vm2CloneArgs{...}

or:

        nil

func Vm2ClonePtr added in v6.5.0

func Vm2ClonePtr(v *Vm2CloneArgs) Vm2ClonePtrInput

type Vm2ClonePtrOutput added in v6.5.0

type Vm2ClonePtrOutput struct{ *pulumi.OutputState }

func (Vm2ClonePtrOutput) Elem added in v6.5.0

func (Vm2ClonePtrOutput) ElementType added in v6.5.0

func (Vm2ClonePtrOutput) ElementType() reflect.Type

func (Vm2ClonePtrOutput) Id added in v6.5.0

The ID of the VM to clone.

func (Vm2ClonePtrOutput) Retries added in v6.5.0

The number of retries to perform when cloning the VM (default: 3).

func (Vm2ClonePtrOutput) ToVm2ClonePtrOutput added in v6.5.0

func (o Vm2ClonePtrOutput) ToVm2ClonePtrOutput() Vm2ClonePtrOutput

func (Vm2ClonePtrOutput) ToVm2ClonePtrOutputWithContext added in v6.5.0

func (o Vm2ClonePtrOutput) ToVm2ClonePtrOutputWithContext(ctx context.Context) Vm2ClonePtrOutput

type Vm2Cpu added in v6.7.1

type Vm2Cpu struct {
	// The CPU cores that are used to run the VM’s vCPU. The value is a list of CPU IDs, separated by commas. The CPU IDs are zero-based.  For example, `0,1,2,3` (which also can be shortened to `0-3`) means that the VM’s vCPUs are run on the first four CPU cores. Setting `affinity` is only allowed for `root@pam` authenticated user.
	Affinity *string `pulumi:"affinity"`
	// The CPU architecture `<aarch64 | x86_64>` (defaults to the host). Setting `affinity` is only allowed for `root@pam` authenticated user.
	Architecture *string `pulumi:"architecture"`
	// The number of CPU cores per socket (defaults to `1`).
	Cores *int `pulumi:"cores"`
	// Set of additional CPU flags. Use `+FLAG` to enable, `-FLAG` to disable a flag. Custom CPU models can specify any flag supported by QEMU/KVM, VM-specific flags must be from the following set for security reasons: `pcid`, `spec-ctrl`, `ibpb`, `ssbd`, `virt-ssbd`, `amd-ssbd`, `amd-no-ssb`, `pdpe1gb`, `md-clear`, `hv-tlbflush`, `hv-evmcs`, `aes`.
	Flags []string `pulumi:"flags"`
	// The number of hotplugged vCPUs (defaults to `0`).
	Hotplugged *int `pulumi:"hotplugged"`
	// Limit of CPU usage (defaults to `0` which means no limit).
	Limit *int `pulumi:"limit"`
	// Enable NUMA (defaults to `false`).
	Numa *bool `pulumi:"numa"`
	// The number of CPU sockets (defaults to `1`).
	Sockets *int `pulumi:"sockets"`
	// Emulated CPU type, it's recommended to use `x86-64-v2-AES` or higher (defaults to `kvm64`). See https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm*virtual*machines_settings for more information.
	Type *string `pulumi:"type"`
	// CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs.
	Units *int `pulumi:"units"`
}

type Vm2CpuArgs added in v6.7.1

type Vm2CpuArgs struct {
	// The CPU cores that are used to run the VM’s vCPU. The value is a list of CPU IDs, separated by commas. The CPU IDs are zero-based.  For example, `0,1,2,3` (which also can be shortened to `0-3`) means that the VM’s vCPUs are run on the first four CPU cores. Setting `affinity` is only allowed for `root@pam` authenticated user.
	Affinity pulumi.StringPtrInput `pulumi:"affinity"`
	// The CPU architecture `<aarch64 | x86_64>` (defaults to the host). Setting `affinity` is only allowed for `root@pam` authenticated user.
	Architecture pulumi.StringPtrInput `pulumi:"architecture"`
	// The number of CPU cores per socket (defaults to `1`).
	Cores pulumi.IntPtrInput `pulumi:"cores"`
	// Set of additional CPU flags. Use `+FLAG` to enable, `-FLAG` to disable a flag. Custom CPU models can specify any flag supported by QEMU/KVM, VM-specific flags must be from the following set for security reasons: `pcid`, `spec-ctrl`, `ibpb`, `ssbd`, `virt-ssbd`, `amd-ssbd`, `amd-no-ssb`, `pdpe1gb`, `md-clear`, `hv-tlbflush`, `hv-evmcs`, `aes`.
	Flags pulumi.StringArrayInput `pulumi:"flags"`
	// The number of hotplugged vCPUs (defaults to `0`).
	Hotplugged pulumi.IntPtrInput `pulumi:"hotplugged"`
	// Limit of CPU usage (defaults to `0` which means no limit).
	Limit pulumi.IntPtrInput `pulumi:"limit"`
	// Enable NUMA (defaults to `false`).
	Numa pulumi.BoolPtrInput `pulumi:"numa"`
	// The number of CPU sockets (defaults to `1`).
	Sockets pulumi.IntPtrInput `pulumi:"sockets"`
	// Emulated CPU type, it's recommended to use `x86-64-v2-AES` or higher (defaults to `kvm64`). See https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm*virtual*machines_settings for more information.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs.
	Units pulumi.IntPtrInput `pulumi:"units"`
}

func (Vm2CpuArgs) ElementType added in v6.7.1

func (Vm2CpuArgs) ElementType() reflect.Type

func (Vm2CpuArgs) ToVm2CpuOutput added in v6.7.1

func (i Vm2CpuArgs) ToVm2CpuOutput() Vm2CpuOutput

func (Vm2CpuArgs) ToVm2CpuOutputWithContext added in v6.7.1

func (i Vm2CpuArgs) ToVm2CpuOutputWithContext(ctx context.Context) Vm2CpuOutput

func (Vm2CpuArgs) ToVm2CpuPtrOutput added in v6.7.1

func (i Vm2CpuArgs) ToVm2CpuPtrOutput() Vm2CpuPtrOutput

func (Vm2CpuArgs) ToVm2CpuPtrOutputWithContext added in v6.7.1

func (i Vm2CpuArgs) ToVm2CpuPtrOutputWithContext(ctx context.Context) Vm2CpuPtrOutput

type Vm2CpuInput added in v6.7.1

type Vm2CpuInput interface {
	pulumi.Input

	ToVm2CpuOutput() Vm2CpuOutput
	ToVm2CpuOutputWithContext(context.Context) Vm2CpuOutput
}

Vm2CpuInput is an input type that accepts Vm2CpuArgs and Vm2CpuOutput values. You can construct a concrete instance of `Vm2CpuInput` via:

Vm2CpuArgs{...}

type Vm2CpuOutput added in v6.7.1

type Vm2CpuOutput struct{ *pulumi.OutputState }

func (Vm2CpuOutput) Affinity added in v6.7.1

func (o Vm2CpuOutput) Affinity() pulumi.StringPtrOutput

The CPU cores that are used to run the VM’s vCPU. The value is a list of CPU IDs, separated by commas. The CPU IDs are zero-based. For example, `0,1,2,3` (which also can be shortened to `0-3`) means that the VM’s vCPUs are run on the first four CPU cores. Setting `affinity` is only allowed for `root@pam` authenticated user.

func (Vm2CpuOutput) Architecture added in v6.7.1

func (o Vm2CpuOutput) Architecture() pulumi.StringPtrOutput

The CPU architecture `<aarch64 | x86_64>` (defaults to the host). Setting `affinity` is only allowed for `root@pam` authenticated user.

func (Vm2CpuOutput) Cores added in v6.7.1

func (o Vm2CpuOutput) Cores() pulumi.IntPtrOutput

The number of CPU cores per socket (defaults to `1`).

func (Vm2CpuOutput) ElementType added in v6.7.1

func (Vm2CpuOutput) ElementType() reflect.Type

func (Vm2CpuOutput) Flags added in v6.7.1

Set of additional CPU flags. Use `+FLAG` to enable, `-FLAG` to disable a flag. Custom CPU models can specify any flag supported by QEMU/KVM, VM-specific flags must be from the following set for security reasons: `pcid`, `spec-ctrl`, `ibpb`, `ssbd`, `virt-ssbd`, `amd-ssbd`, `amd-no-ssb`, `pdpe1gb`, `md-clear`, `hv-tlbflush`, `hv-evmcs`, `aes`.

func (Vm2CpuOutput) Hotplugged added in v6.7.1

func (o Vm2CpuOutput) Hotplugged() pulumi.IntPtrOutput

The number of hotplugged vCPUs (defaults to `0`).

func (Vm2CpuOutput) Limit added in v6.7.1

func (o Vm2CpuOutput) Limit() pulumi.IntPtrOutput

Limit of CPU usage (defaults to `0` which means no limit).

func (Vm2CpuOutput) Numa added in v6.7.1

Enable NUMA (defaults to `false`).

func (Vm2CpuOutput) Sockets added in v6.7.1

func (o Vm2CpuOutput) Sockets() pulumi.IntPtrOutput

The number of CPU sockets (defaults to `1`).

func (Vm2CpuOutput) ToVm2CpuOutput added in v6.7.1

func (o Vm2CpuOutput) ToVm2CpuOutput() Vm2CpuOutput

func (Vm2CpuOutput) ToVm2CpuOutputWithContext added in v6.7.1

func (o Vm2CpuOutput) ToVm2CpuOutputWithContext(ctx context.Context) Vm2CpuOutput

func (Vm2CpuOutput) ToVm2CpuPtrOutput added in v6.7.1

func (o Vm2CpuOutput) ToVm2CpuPtrOutput() Vm2CpuPtrOutput

func (Vm2CpuOutput) ToVm2CpuPtrOutputWithContext added in v6.7.1

func (o Vm2CpuOutput) ToVm2CpuPtrOutputWithContext(ctx context.Context) Vm2CpuPtrOutput

func (Vm2CpuOutput) Type added in v6.7.1

Emulated CPU type, it's recommended to use `x86-64-v2-AES` or higher (defaults to `kvm64`). See https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm*virtual*machines_settings for more information.

func (Vm2CpuOutput) Units added in v6.7.1

func (o Vm2CpuOutput) Units() pulumi.IntPtrOutput

CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs.

type Vm2CpuPtrInput added in v6.7.1

type Vm2CpuPtrInput interface {
	pulumi.Input

	ToVm2CpuPtrOutput() Vm2CpuPtrOutput
	ToVm2CpuPtrOutputWithContext(context.Context) Vm2CpuPtrOutput
}

Vm2CpuPtrInput is an input type that accepts Vm2CpuArgs, Vm2CpuPtr and Vm2CpuPtrOutput values. You can construct a concrete instance of `Vm2CpuPtrInput` via:

        Vm2CpuArgs{...}

or:

        nil

func Vm2CpuPtr added in v6.7.1

func Vm2CpuPtr(v *Vm2CpuArgs) Vm2CpuPtrInput

type Vm2CpuPtrOutput added in v6.7.1

type Vm2CpuPtrOutput struct{ *pulumi.OutputState }

func (Vm2CpuPtrOutput) Affinity added in v6.7.1

func (o Vm2CpuPtrOutput) Affinity() pulumi.StringPtrOutput

The CPU cores that are used to run the VM’s vCPU. The value is a list of CPU IDs, separated by commas. The CPU IDs are zero-based. For example, `0,1,2,3` (which also can be shortened to `0-3`) means that the VM’s vCPUs are run on the first four CPU cores. Setting `affinity` is only allowed for `root@pam` authenticated user.

func (Vm2CpuPtrOutput) Architecture added in v6.7.1

func (o Vm2CpuPtrOutput) Architecture() pulumi.StringPtrOutput

The CPU architecture `<aarch64 | x86_64>` (defaults to the host). Setting `affinity` is only allowed for `root@pam` authenticated user.

func (Vm2CpuPtrOutput) Cores added in v6.7.1

The number of CPU cores per socket (defaults to `1`).

func (Vm2CpuPtrOutput) Elem added in v6.7.1

func (o Vm2CpuPtrOutput) Elem() Vm2CpuOutput

func (Vm2CpuPtrOutput) ElementType added in v6.7.1

func (Vm2CpuPtrOutput) ElementType() reflect.Type

func (Vm2CpuPtrOutput) Flags added in v6.7.1

Set of additional CPU flags. Use `+FLAG` to enable, `-FLAG` to disable a flag. Custom CPU models can specify any flag supported by QEMU/KVM, VM-specific flags must be from the following set for security reasons: `pcid`, `spec-ctrl`, `ibpb`, `ssbd`, `virt-ssbd`, `amd-ssbd`, `amd-no-ssb`, `pdpe1gb`, `md-clear`, `hv-tlbflush`, `hv-evmcs`, `aes`.

func (Vm2CpuPtrOutput) Hotplugged added in v6.7.1

func (o Vm2CpuPtrOutput) Hotplugged() pulumi.IntPtrOutput

The number of hotplugged vCPUs (defaults to `0`).

func (Vm2CpuPtrOutput) Limit added in v6.7.1

Limit of CPU usage (defaults to `0` which means no limit).

func (Vm2CpuPtrOutput) Numa added in v6.7.1

Enable NUMA (defaults to `false`).

func (Vm2CpuPtrOutput) Sockets added in v6.7.1

func (o Vm2CpuPtrOutput) Sockets() pulumi.IntPtrOutput

The number of CPU sockets (defaults to `1`).

func (Vm2CpuPtrOutput) ToVm2CpuPtrOutput added in v6.7.1

func (o Vm2CpuPtrOutput) ToVm2CpuPtrOutput() Vm2CpuPtrOutput

func (Vm2CpuPtrOutput) ToVm2CpuPtrOutputWithContext added in v6.7.1

func (o Vm2CpuPtrOutput) ToVm2CpuPtrOutputWithContext(ctx context.Context) Vm2CpuPtrOutput

func (Vm2CpuPtrOutput) Type added in v6.7.1

Emulated CPU type, it's recommended to use `x86-64-v2-AES` or higher (defaults to `kvm64`). See https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm*virtual*machines_settings for more information.

func (Vm2CpuPtrOutput) Units added in v6.7.1

CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs.

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) Clone added in v6.5.0

func (o Vm2Output) Clone() Vm2ClonePtrOutput

The cloning configuration.

func (Vm2Output) Cpu added in v6.7.1

func (o Vm2Output) Cpu() Vm2CpuOutput

The CPU configuration.

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) Tags added in v6.5.0

The tags assigned to the VM.

func (Vm2Output) Template added in v6.5.0

func (o Vm2Output) Template() pulumi.BoolPtrOutput

Set to true to create a VM template.

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

func (Vm2Output) Vga added in v6.8.0

func (o Vm2Output) Vga() Vm2VgaOutput

Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is `std` for all OS types besides some Windows versions (XP and older) which use `cirrus`. The `qxl` option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays themself. You can also run without any graphic card, using a serial device as terminal. See the [Proxmox documentation](https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_virtual_machines_settings) section 10.2.8 for more information and available configuration parameters.

type Vm2State added in v6.4.0

type Vm2State struct {
	// The cloning configuration.
	Clone Vm2ClonePtrInput
	// The CPU configuration.
	Cpu Vm2CpuPtrInput
	// 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
	// The tags assigned to the VM.
	Tags pulumi.StringArrayInput
	// Set to true to create a VM template.
	Template pulumi.BoolPtrInput
	Timeouts Vm2TimeoutsPtrInput
	// Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is `std` for all OS types besides some Windows versions (XP and older) which use `cirrus`. The `qxl` option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays themself. You can also run without any graphic card, using a serial device as terminal. See the [Proxmox documentation](https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_virtual_machines_settings) section 10.2.8 for more information and available configuration parameters.
	Vga Vm2VgaPtrInput
}

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).

type Vm2Vga added in v6.8.0

type Vm2Vga struct {
	// Enable a specific clipboard. If not set, depending on the display type the SPICE one will be added. Currently only `vnc` is available. Migration with VNC clipboard is not supported by Proxmox.
	Clipboard *string `pulumi:"clipboard"`
	// The VGA memory in megabytes (4-512 MB). Has no effect with serial display.
	Memory *int `pulumi:"memory"`
	// The VGA type (defaults to `std`).
	Type *string `pulumi:"type"`
}

type Vm2VgaArgs added in v6.8.0

type Vm2VgaArgs struct {
	// Enable a specific clipboard. If not set, depending on the display type the SPICE one will be added. Currently only `vnc` is available. Migration with VNC clipboard is not supported by Proxmox.
	Clipboard pulumi.StringPtrInput `pulumi:"clipboard"`
	// The VGA memory in megabytes (4-512 MB). Has no effect with serial display.
	Memory pulumi.IntPtrInput `pulumi:"memory"`
	// The VGA type (defaults to `std`).
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (Vm2VgaArgs) ElementType added in v6.8.0

func (Vm2VgaArgs) ElementType() reflect.Type

func (Vm2VgaArgs) ToVm2VgaOutput added in v6.8.0

func (i Vm2VgaArgs) ToVm2VgaOutput() Vm2VgaOutput

func (Vm2VgaArgs) ToVm2VgaOutputWithContext added in v6.8.0

func (i Vm2VgaArgs) ToVm2VgaOutputWithContext(ctx context.Context) Vm2VgaOutput

func (Vm2VgaArgs) ToVm2VgaPtrOutput added in v6.8.0

func (i Vm2VgaArgs) ToVm2VgaPtrOutput() Vm2VgaPtrOutput

func (Vm2VgaArgs) ToVm2VgaPtrOutputWithContext added in v6.8.0

func (i Vm2VgaArgs) ToVm2VgaPtrOutputWithContext(ctx context.Context) Vm2VgaPtrOutput

type Vm2VgaInput added in v6.8.0

type Vm2VgaInput interface {
	pulumi.Input

	ToVm2VgaOutput() Vm2VgaOutput
	ToVm2VgaOutputWithContext(context.Context) Vm2VgaOutput
}

Vm2VgaInput is an input type that accepts Vm2VgaArgs and Vm2VgaOutput values. You can construct a concrete instance of `Vm2VgaInput` via:

Vm2VgaArgs{...}

type Vm2VgaOutput added in v6.8.0

type Vm2VgaOutput struct{ *pulumi.OutputState }

func (Vm2VgaOutput) Clipboard added in v6.8.0

func (o Vm2VgaOutput) Clipboard() pulumi.StringPtrOutput

Enable a specific clipboard. If not set, depending on the display type the SPICE one will be added. Currently only `vnc` is available. Migration with VNC clipboard is not supported by Proxmox.

func (Vm2VgaOutput) ElementType added in v6.8.0

func (Vm2VgaOutput) ElementType() reflect.Type

func (Vm2VgaOutput) Memory added in v6.8.0

func (o Vm2VgaOutput) Memory() pulumi.IntPtrOutput

The VGA memory in megabytes (4-512 MB). Has no effect with serial display.

func (Vm2VgaOutput) ToVm2VgaOutput added in v6.8.0

func (o Vm2VgaOutput) ToVm2VgaOutput() Vm2VgaOutput

func (Vm2VgaOutput) ToVm2VgaOutputWithContext added in v6.8.0

func (o Vm2VgaOutput) ToVm2VgaOutputWithContext(ctx context.Context) Vm2VgaOutput

func (Vm2VgaOutput) ToVm2VgaPtrOutput added in v6.8.0

func (o Vm2VgaOutput) ToVm2VgaPtrOutput() Vm2VgaPtrOutput

func (Vm2VgaOutput) ToVm2VgaPtrOutputWithContext added in v6.8.0

func (o Vm2VgaOutput) ToVm2VgaPtrOutputWithContext(ctx context.Context) Vm2VgaPtrOutput

func (Vm2VgaOutput) Type added in v6.8.0

The VGA type (defaults to `std`).

type Vm2VgaPtrInput added in v6.8.0

type Vm2VgaPtrInput interface {
	pulumi.Input

	ToVm2VgaPtrOutput() Vm2VgaPtrOutput
	ToVm2VgaPtrOutputWithContext(context.Context) Vm2VgaPtrOutput
}

Vm2VgaPtrInput is an input type that accepts Vm2VgaArgs, Vm2VgaPtr and Vm2VgaPtrOutput values. You can construct a concrete instance of `Vm2VgaPtrInput` via:

        Vm2VgaArgs{...}

or:

        nil

func Vm2VgaPtr added in v6.8.0

func Vm2VgaPtr(v *Vm2VgaArgs) Vm2VgaPtrInput

type Vm2VgaPtrOutput added in v6.8.0

type Vm2VgaPtrOutput struct{ *pulumi.OutputState }

func (Vm2VgaPtrOutput) Clipboard added in v6.8.0

func (o Vm2VgaPtrOutput) Clipboard() pulumi.StringPtrOutput

Enable a specific clipboard. If not set, depending on the display type the SPICE one will be added. Currently only `vnc` is available. Migration with VNC clipboard is not supported by Proxmox.

func (Vm2VgaPtrOutput) Elem added in v6.8.0

func (o Vm2VgaPtrOutput) Elem() Vm2VgaOutput

func (Vm2VgaPtrOutput) ElementType added in v6.8.0

func (Vm2VgaPtrOutput) ElementType() reflect.Type

func (Vm2VgaPtrOutput) Memory added in v6.8.0

func (o Vm2VgaPtrOutput) Memory() pulumi.IntPtrOutput

The VGA memory in megabytes (4-512 MB). Has no effect with serial display.

func (Vm2VgaPtrOutput) ToVm2VgaPtrOutput added in v6.8.0

func (o Vm2VgaPtrOutput) ToVm2VgaPtrOutput() Vm2VgaPtrOutput

func (Vm2VgaPtrOutput) ToVm2VgaPtrOutputWithContext added in v6.8.0

func (o Vm2VgaPtrOutput) ToVm2VgaPtrOutputWithContext(ctx context.Context) Vm2VgaPtrOutput

func (Vm2VgaPtrOutput) Type added in v6.8.0

The VGA type (defaults to `std`).

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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