proxmoxve

package
v5.25.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certifi

type Certifi struct {
	pulumi.CustomResourceState

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

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

func GetCertifi

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

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

func NewCertifi

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

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

func (*Certifi) ElementType

func (*Certifi) ElementType() reflect.Type

func (*Certifi) ToCertifiOutput

func (i *Certifi) ToCertifiOutput() CertifiOutput

func (*Certifi) ToCertifiOutputWithContext

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

type CertifiArgs

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

The set of arguments for constructing a Certifi resource.

func (CertifiArgs) ElementType

func (CertifiArgs) ElementType() reflect.Type

type CertifiArray

type CertifiArray []CertifiInput

func (CertifiArray) ElementType

func (CertifiArray) ElementType() reflect.Type

func (CertifiArray) ToCertifiArrayOutput

func (i CertifiArray) ToCertifiArrayOutput() CertifiArrayOutput

func (CertifiArray) ToCertifiArrayOutputWithContext

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

type CertifiArrayInput

type CertifiArrayInput interface {
	pulumi.Input

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

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

CertifiArray{ CertifiArgs{...} }

type CertifiArrayOutput

type CertifiArrayOutput struct{ *pulumi.OutputState }

func (CertifiArrayOutput) ElementType

func (CertifiArrayOutput) ElementType() reflect.Type

func (CertifiArrayOutput) Index

func (CertifiArrayOutput) ToCertifiArrayOutput

func (o CertifiArrayOutput) ToCertifiArrayOutput() CertifiArrayOutput

func (CertifiArrayOutput) ToCertifiArrayOutputWithContext

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

type CertifiInput

type CertifiInput interface {
	pulumi.Input

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

type CertifiMap

type CertifiMap map[string]CertifiInput

func (CertifiMap) ElementType

func (CertifiMap) ElementType() reflect.Type

func (CertifiMap) ToCertifiMapOutput

func (i CertifiMap) ToCertifiMapOutput() CertifiMapOutput

func (CertifiMap) ToCertifiMapOutputWithContext

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

type CertifiMapInput

type CertifiMapInput interface {
	pulumi.Input

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

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

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

type CertifiMapOutput

type CertifiMapOutput struct{ *pulumi.OutputState }

func (CertifiMapOutput) ElementType

func (CertifiMapOutput) ElementType() reflect.Type

func (CertifiMapOutput) MapIndex

func (CertifiMapOutput) ToCertifiMapOutput

func (o CertifiMapOutput) ToCertifiMapOutput() CertifiMapOutput

func (CertifiMapOutput) ToCertifiMapOutputWithContext

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

type CertifiOutput

type CertifiOutput struct{ *pulumi.OutputState }

func (CertifiOutput) Certificate

func (o CertifiOutput) Certificate() pulumi.StringOutput

The PEM encoded certificate.

func (CertifiOutput) CertificateChain

func (o CertifiOutput) CertificateChain() pulumi.StringPtrOutput

The PEM encoded certificate chain.

func (CertifiOutput) ElementType

func (CertifiOutput) ElementType() reflect.Type

func (CertifiOutput) ExpirationDate

func (o CertifiOutput) ExpirationDate() pulumi.StringOutput

The expiration date (RFC 3339).

func (CertifiOutput) FileName

func (o CertifiOutput) FileName() pulumi.StringOutput

The file name.

func (CertifiOutput) Issuer

func (o CertifiOutput) Issuer() pulumi.StringOutput

The issuer.

func (CertifiOutput) NodeName

func (o CertifiOutput) NodeName() pulumi.StringOutput

A node name.

func (CertifiOutput) Overwrite

func (o CertifiOutput) Overwrite() pulumi.BoolPtrOutput

Whether to overwrite an existing certificate

func (CertifiOutput) PrivateKey

func (o CertifiOutput) PrivateKey() pulumi.StringOutput

The PEM encoded private key.

func (CertifiOutput) PublicKeySize

func (o CertifiOutput) PublicKeySize() pulumi.IntOutput

The public key size.

func (CertifiOutput) PublicKeyType

func (o CertifiOutput) PublicKeyType() pulumi.StringOutput

The public key type.

func (CertifiOutput) SslFingerprint

func (o CertifiOutput) SslFingerprint() pulumi.StringOutput

The SSL fingerprint.

func (CertifiOutput) StartDate

func (o CertifiOutput) StartDate() pulumi.StringOutput

The start date (RFC 3339).

func (CertifiOutput) Subject

func (o CertifiOutput) Subject() pulumi.StringOutput

The subject.

func (CertifiOutput) SubjectAlternativeNames

func (o CertifiOutput) SubjectAlternativeNames() pulumi.StringArrayOutput

The subject alternative names.

func (CertifiOutput) ToCertifiOutput

func (o CertifiOutput) ToCertifiOutput() CertifiOutput

func (CertifiOutput) ToCertifiOutputWithContext

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

type CertifiState

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

func (CertifiState) ElementType

func (CertifiState) ElementType() reflect.Type

type DNS

type DNS struct {
	pulumi.CustomResourceState

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

Manages the DNS configuration for a specific node.

## Important Notes

Be careful not to use this resource multiple times for the same 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 GetHostsEntry

type GetHostsEntry struct {
	// The address
	Address string `pulumi:"address"`
	// The hostnames associated with each of the IP addresses.
	Hostnames []string `pulumi:"hostnames"`
}

type GetHostsEntryArgs

type GetHostsEntryArgs struct {
	// The address
	Address pulumi.StringInput `pulumi:"address"`
	// The hostnames associated with each of the IP addresses.
	Hostnames pulumi.StringArrayInput `pulumi:"hostnames"`
}

func (GetHostsEntryArgs) ElementType

func (GetHostsEntryArgs) ElementType() reflect.Type

func (GetHostsEntryArgs) ToGetHostsEntryOutput

func (i GetHostsEntryArgs) ToGetHostsEntryOutput() GetHostsEntryOutput

func (GetHostsEntryArgs) ToGetHostsEntryOutputWithContext

func (i GetHostsEntryArgs) ToGetHostsEntryOutputWithContext(ctx context.Context) GetHostsEntryOutput

type GetHostsEntryArray

type GetHostsEntryArray []GetHostsEntryInput

func (GetHostsEntryArray) ElementType

func (GetHostsEntryArray) ElementType() reflect.Type

func (GetHostsEntryArray) ToGetHostsEntryArrayOutput

func (i GetHostsEntryArray) ToGetHostsEntryArrayOutput() GetHostsEntryArrayOutput

func (GetHostsEntryArray) ToGetHostsEntryArrayOutputWithContext

func (i GetHostsEntryArray) ToGetHostsEntryArrayOutputWithContext(ctx context.Context) GetHostsEntryArrayOutput

type GetHostsEntryArrayInput

type GetHostsEntryArrayInput interface {
	pulumi.Input

	ToGetHostsEntryArrayOutput() GetHostsEntryArrayOutput
	ToGetHostsEntryArrayOutputWithContext(context.Context) GetHostsEntryArrayOutput
}

GetHostsEntryArrayInput is an input type that accepts GetHostsEntryArray and GetHostsEntryArrayOutput values. You can construct a concrete instance of `GetHostsEntryArrayInput` via:

GetHostsEntryArray{ GetHostsEntryArgs{...} }

type GetHostsEntryArrayOutput

type GetHostsEntryArrayOutput struct{ *pulumi.OutputState }

func (GetHostsEntryArrayOutput) ElementType

func (GetHostsEntryArrayOutput) ElementType() reflect.Type

func (GetHostsEntryArrayOutput) Index

func (GetHostsEntryArrayOutput) ToGetHostsEntryArrayOutput

func (o GetHostsEntryArrayOutput) ToGetHostsEntryArrayOutput() GetHostsEntryArrayOutput

func (GetHostsEntryArrayOutput) ToGetHostsEntryArrayOutputWithContext

func (o GetHostsEntryArrayOutput) ToGetHostsEntryArrayOutputWithContext(ctx context.Context) GetHostsEntryArrayOutput

type GetHostsEntryInput

type GetHostsEntryInput interface {
	pulumi.Input

	ToGetHostsEntryOutput() GetHostsEntryOutput
	ToGetHostsEntryOutputWithContext(context.Context) GetHostsEntryOutput
}

GetHostsEntryInput is an input type that accepts GetHostsEntryArgs and GetHostsEntryOutput values. You can construct a concrete instance of `GetHostsEntryInput` via:

GetHostsEntryArgs{...}

type GetHostsEntryOutput

type GetHostsEntryOutput struct{ *pulumi.OutputState }

func (GetHostsEntryOutput) Address

The address

func (GetHostsEntryOutput) ElementType

func (GetHostsEntryOutput) ElementType() reflect.Type

func (GetHostsEntryOutput) Hostnames

The hostnames associated with each of the IP addresses.

func (GetHostsEntryOutput) ToGetHostsEntryOutput

func (o GetHostsEntryOutput) ToGetHostsEntryOutput() GetHostsEntryOutput

func (GetHostsEntryOutput) ToGetHostsEntryOutputWithContext

func (o GetHostsEntryOutput) ToGetHostsEntryOutputWithContext(ctx context.Context) GetHostsEntryOutput

type Hosts

type Hosts struct {
	pulumi.CustomResourceState

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

Manages the host entries on a specific node.

## Important Notes

Be careful not to use this resource multiple times for the same node.

## Import

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

bash

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

func GetHosts

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

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

func NewHosts

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

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

func (*Hosts) ElementType

func (*Hosts) ElementType() reflect.Type

func (*Hosts) ToHostsOutput

func (i *Hosts) ToHostsOutput() HostsOutput

func (*Hosts) ToHostsOutputWithContext

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

type HostsArgs

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

The set of arguments for constructing a Hosts resource.

func (HostsArgs) ElementType

func (HostsArgs) ElementType() reflect.Type

type HostsArray

type HostsArray []HostsInput

func (HostsArray) ElementType

func (HostsArray) ElementType() reflect.Type

func (HostsArray) ToHostsArrayOutput

func (i HostsArray) ToHostsArrayOutput() HostsArrayOutput

func (HostsArray) ToHostsArrayOutputWithContext

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

type HostsArrayInput

type HostsArrayInput interface {
	pulumi.Input

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

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

HostsArray{ HostsArgs{...} }

type HostsArrayOutput

type HostsArrayOutput struct{ *pulumi.OutputState }

func (HostsArrayOutput) ElementType

func (HostsArrayOutput) ElementType() reflect.Type

func (HostsArrayOutput) Index

func (HostsArrayOutput) ToHostsArrayOutput

func (o HostsArrayOutput) ToHostsArrayOutput() HostsArrayOutput

func (HostsArrayOutput) ToHostsArrayOutputWithContext

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

type HostsEntry

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

type HostsEntryArgs

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

func (HostsEntryArgs) ElementType

func (HostsEntryArgs) ElementType() reflect.Type

func (HostsEntryArgs) ToHostsEntryOutput

func (i HostsEntryArgs) ToHostsEntryOutput() HostsEntryOutput

func (HostsEntryArgs) ToHostsEntryOutputWithContext

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

type HostsEntryArray

type HostsEntryArray []HostsEntryInput

func (HostsEntryArray) ElementType

func (HostsEntryArray) ElementType() reflect.Type

func (HostsEntryArray) ToHostsEntryArrayOutput

func (i HostsEntryArray) ToHostsEntryArrayOutput() HostsEntryArrayOutput

func (HostsEntryArray) ToHostsEntryArrayOutputWithContext

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

type HostsEntryArrayInput

type HostsEntryArrayInput interface {
	pulumi.Input

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

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

HostsEntryArray{ HostsEntryArgs{...} }

type HostsEntryArrayOutput

type HostsEntryArrayOutput struct{ *pulumi.OutputState }

func (HostsEntryArrayOutput) ElementType

func (HostsEntryArrayOutput) ElementType() reflect.Type

func (HostsEntryArrayOutput) Index

func (HostsEntryArrayOutput) ToHostsEntryArrayOutput

func (o HostsEntryArrayOutput) ToHostsEntryArrayOutput() HostsEntryArrayOutput

func (HostsEntryArrayOutput) ToHostsEntryArrayOutputWithContext

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

type HostsEntryInput

type HostsEntryInput interface {
	pulumi.Input

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

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

HostsEntryArgs{...}

type HostsEntryOutput

type HostsEntryOutput struct{ *pulumi.OutputState }

func (HostsEntryOutput) Address

func (o HostsEntryOutput) Address() pulumi.StringOutput

The IP address.

func (HostsEntryOutput) ElementType

func (HostsEntryOutput) ElementType() reflect.Type

func (HostsEntryOutput) Hostnames

The hostnames.

func (HostsEntryOutput) ToHostsEntryOutput

func (o HostsEntryOutput) ToHostsEntryOutput() HostsEntryOutput

func (HostsEntryOutput) ToHostsEntryOutputWithContext

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

type HostsInput

type HostsInput interface {
	pulumi.Input

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

type HostsMap

type HostsMap map[string]HostsInput

func (HostsMap) ElementType

func (HostsMap) ElementType() reflect.Type

func (HostsMap) ToHostsMapOutput

func (i HostsMap) ToHostsMapOutput() HostsMapOutput

func (HostsMap) ToHostsMapOutputWithContext

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

type HostsMapInput

type HostsMapInput interface {
	pulumi.Input

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

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

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

type HostsMapOutput

type HostsMapOutput struct{ *pulumi.OutputState }

func (HostsMapOutput) ElementType

func (HostsMapOutput) ElementType() reflect.Type

func (HostsMapOutput) MapIndex

func (HostsMapOutput) ToHostsMapOutput

func (o HostsMapOutput) ToHostsMapOutput() HostsMapOutput

func (HostsMapOutput) ToHostsMapOutputWithContext

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

type HostsOutput

type HostsOutput struct{ *pulumi.OutputState }

func (HostsOutput) Addresses

func (o HostsOutput) Addresses() pulumi.StringArrayOutput

The IP addresses.

func (HostsOutput) Digest

func (o HostsOutput) Digest() pulumi.StringOutput

The SHA1 digest.

func (HostsOutput) ElementType

func (HostsOutput) ElementType() reflect.Type

func (HostsOutput) Entries

func (o HostsOutput) Entries() HostsEntryArrayOutput

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

func (HostsOutput) Entry

A host entry (multiple blocks supported).

func (HostsOutput) Hostnames

The hostnames.

func (HostsOutput) NodeName

func (o HostsOutput) NodeName() pulumi.StringOutput

A node name.

func (HostsOutput) ToHostsOutput

func (o HostsOutput) ToHostsOutput() HostsOutput

func (HostsOutput) ToHostsOutputWithContext

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

type HostsState

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

func (HostsState) ElementType

func (HostsState) ElementType() reflect.Type

type LookupDNSArgs

type LookupDNSArgs struct {
	// A node name.
	NodeName string `pulumi:"nodeName"`
}

A collection of arguments for invoking getDNS.

type LookupDNSOutputArgs

type LookupDNSOutputArgs struct {
	// A node name.
	NodeName pulumi.StringInput `pulumi:"nodeName"`
}

A collection of arguments for invoking getDNS.

func (LookupDNSOutputArgs) ElementType

func (LookupDNSOutputArgs) ElementType() reflect.Type

type LookupDNSResult

type LookupDNSResult struct {
	// The DNS search domain.
	Domain string `pulumi:"domain"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	NodeName string `pulumi:"nodeName"`
	// The DNS servers.
	Servers []string `pulumi:"servers"`
}

A collection of values returned by getDNS.

func LookupDNS

func LookupDNS(ctx *pulumi.Context, args *LookupDNSArgs, opts ...pulumi.InvokeOption) (*LookupDNSResult, error)

Retrieves the DNS configuration for a specific node.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := proxmoxve.LookupDNS(ctx, &proxmoxve.LookupDNSArgs{
			NodeName: "first-node",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDNSResultOutput

type LookupDNSResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDNS.

func (LookupDNSResultOutput) Domain

The DNS search domain.

func (LookupDNSResultOutput) ElementType

func (LookupDNSResultOutput) ElementType() reflect.Type

func (LookupDNSResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupDNSResultOutput) NodeName

func (LookupDNSResultOutput) Servers

The DNS servers.

func (LookupDNSResultOutput) ToLookupDNSResultOutput

func (o LookupDNSResultOutput) ToLookupDNSResultOutput() LookupDNSResultOutput

func (LookupDNSResultOutput) ToLookupDNSResultOutputWithContext

func (o LookupDNSResultOutput) ToLookupDNSResultOutputWithContext(ctx context.Context) LookupDNSResultOutput

type LookupHostsArgs

type LookupHostsArgs struct {
	// A node name.
	NodeName string `pulumi:"nodeName"`
}

A collection of arguments for invoking getHosts.

type LookupHostsOutputArgs

type LookupHostsOutputArgs struct {
	// A node name.
	NodeName pulumi.StringInput `pulumi:"nodeName"`
}

A collection of arguments for invoking getHosts.

func (LookupHostsOutputArgs) ElementType

func (LookupHostsOutputArgs) ElementType() reflect.Type

type LookupHostsResult

type LookupHostsResult struct {
	// The IP addresses.
	Addresses []string `pulumi:"addresses"`
	// The SHA1 digest.
	Digest string `pulumi:"digest"`
	// The host entries (conversion of `addresses` and `hostnames` into
	// objects).
	Entries []GetHostsEntry `pulumi:"entries"`
	// The hostnames associated with each of the IP addresses.
	Hostnames [][]string `pulumi:"hostnames"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	NodeName string `pulumi:"nodeName"`
}

A collection of values returned by getHosts.

func LookupHosts

func LookupHosts(ctx *pulumi.Context, args *LookupHostsArgs, opts ...pulumi.InvokeOption) (*LookupHostsResult, error)

Retrieves all the host entries from a specific node.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := proxmoxve.LookupHosts(ctx, &proxmoxve.LookupHostsArgs{
			NodeName: "first-node",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupHostsResultOutput

type LookupHostsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHosts.

func (LookupHostsResultOutput) Addresses

The IP addresses.

func (LookupHostsResultOutput) Digest

The SHA1 digest.

func (LookupHostsResultOutput) ElementType

func (LookupHostsResultOutput) ElementType() reflect.Type

func (LookupHostsResultOutput) Entries

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

func (LookupHostsResultOutput) Hostnames

The hostnames associated with each of the IP addresses.

func (LookupHostsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupHostsResultOutput) NodeName

func (LookupHostsResultOutput) ToLookupHostsResultOutput

func (o LookupHostsResultOutput) ToLookupHostsResultOutput() LookupHostsResultOutput

func (LookupHostsResultOutput) ToLookupHostsResultOutputWithContext

func (o LookupHostsResultOutput) ToLookupHostsResultOutputWithContext(ctx context.Context) LookupHostsResultOutput

type LookupTimeArgs

type LookupTimeArgs struct {
	// A node name.
	NodeName string `pulumi:"nodeName"`
}

A collection of arguments for invoking getTime.

type LookupTimeOutputArgs

type LookupTimeOutputArgs struct {
	// A node name.
	NodeName pulumi.StringInput `pulumi:"nodeName"`
}

A collection of arguments for invoking getTime.

func (LookupTimeOutputArgs) ElementType

func (LookupTimeOutputArgs) ElementType() reflect.Type

type LookupTimeResult

type LookupTimeResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The node's local time.
	LocalTime string `pulumi:"localTime"`
	NodeName  string `pulumi:"nodeName"`
	// The node's time zone.
	TimeZone string `pulumi:"timeZone"`
	// The node's local time formatted as UTC.
	UtcTime string `pulumi:"utcTime"`
}

A collection of values returned by getTime.

func LookupTime

func LookupTime(ctx *pulumi.Context, args *LookupTimeArgs, opts ...pulumi.InvokeOption) (*LookupTimeResult, error)

Retrieves the current time for a specific node.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := proxmoxve.LookupTime(ctx, &proxmoxve.LookupTimeArgs{
			NodeName: "first-node",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTimeResultOutput

type LookupTimeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTime.

func (LookupTimeResultOutput) ElementType

func (LookupTimeResultOutput) ElementType() reflect.Type

func (LookupTimeResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTimeResultOutput) LocalTime

The node's local time.

func (LookupTimeResultOutput) NodeName

func (LookupTimeResultOutput) TimeZone

The node's time zone.

func (LookupTimeResultOutput) ToLookupTimeResultOutput

func (o LookupTimeResultOutput) ToLookupTimeResultOutput() LookupTimeResultOutput

func (LookupTimeResultOutput) ToLookupTimeResultOutputWithContext

func (o LookupTimeResultOutput) ToLookupTimeResultOutputWithContext(ctx context.Context) LookupTimeResultOutput

func (LookupTimeResultOutput) UtcTime

The node's local time formatted as UTC.

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 `api_token` 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 `api_token` 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 added in v5.22.0

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 `api_token` attribute instead.

func (ProviderOutput) Password

func (o ProviderOutput) Password() pulumi.StringPtrOutput

The password for the Proxmox VE API.

func (ProviderOutput) TmpDir added in v5.13.0

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. Defaults to `false`.
	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 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. Defaults to `false`.
	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 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 added in v5.5.0

type ProviderSshNodeArray []ProviderSshNodeInput

func (ProviderSshNodeArray) ElementType added in v5.5.0

func (ProviderSshNodeArray) ElementType() reflect.Type

func (ProviderSshNodeArray) ToProviderSshNodeArrayOutput added in v5.5.0

func (i ProviderSshNodeArray) ToProviderSshNodeArrayOutput() ProviderSshNodeArrayOutput

func (ProviderSshNodeArray) ToProviderSshNodeArrayOutputWithContext added in v5.5.0

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

type ProviderSshNodeArrayInput added in v5.5.0

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

type ProviderSshNodeArrayOutput struct{ *pulumi.OutputState }

func (ProviderSshNodeArrayOutput) ElementType added in v5.5.0

func (ProviderSshNodeArrayOutput) ElementType() reflect.Type

func (ProviderSshNodeArrayOutput) Index added in v5.5.0

func (ProviderSshNodeArrayOutput) ToProviderSshNodeArrayOutput added in v5.5.0

func (o ProviderSshNodeArrayOutput) ToProviderSshNodeArrayOutput() ProviderSshNodeArrayOutput

func (ProviderSshNodeArrayOutput) ToProviderSshNodeArrayOutputWithContext added in v5.5.0

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 added in v5.11.1

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. Defaults to `false`.

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

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) Socks5Password added in v5.23.0

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 added in v5.23.0

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 added in v5.23.0

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. Defaults to `false`.

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

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) Socks5Password added in v5.23.0

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 added in v5.23.0

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 added in v5.23.0

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/v5/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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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