vultr

package
v2.19.0 Latest Latest
Warning

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

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

Documentation

Overview

A Pulumi package for creating and managing Vultr cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BareMetalServer

type BareMetalServer struct {
	pulumi.CustomResourceState

	// Whether an activation email will be sent when the server is ready.
	ActivationEmail pulumi.BoolPtrOutput `pulumi:"activationEmail"`
	// The ID of the Vultr application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications)
	AppId pulumi.IntOutput `pulumi:"appId"`
	// A map of user-supplied variable keys and values for Vultr Marketplace apps. [See List Marketplace App Variables](https://www.vultr.com/api/#tag/marketplace/operation/list-marketplace-app-variables)
	AppVariables pulumi.StringMapOutput `pulumi:"appVariables"`
	// The number of CPUs available on the server.
	CpuCount pulumi.IntOutput `pulumi:"cpuCount"`
	// The date the server was added to your Vultr account.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The server's default password.
	DefaultPassword pulumi.StringOutput `pulumi:"defaultPassword"`
	// The description of the disk(s) on the server.
	Disk pulumi.StringOutput `pulumi:"disk"`
	// Whether the server has IPv6 networking activated.
	EnableIpv6 pulumi.BoolPtrOutput `pulumi:"enableIpv6"`
	// The server's IPv4 gateway.
	GatewayV4 pulumi.StringOutput `pulumi:"gatewayV4"`
	// The hostname to assign to the server.
	Hostname pulumi.StringPtrOutput `pulumi:"hostname"`
	// The ID of the Vultr marketplace application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications) Note marketplace applications are denoted by type: `marketplace` and you must use the `imageId` not the id.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// A label for the server.
	Label pulumi.StringPtrOutput `pulumi:"label"`
	// The MAC address associated with the server.
	MacAddress pulumi.IntOutput `pulumi:"macAddress"`
	// The server's main IP address.
	MainIp pulumi.StringOutput `pulumi:"mainIp"`
	// The server's IPv4 netmask.
	NetmaskV4 pulumi.StringOutput `pulumi:"netmaskV4"`
	// The string description of the operating system installed on the server.
	Os pulumi.StringOutput `pulumi:"os"`
	// The ID of the operating system to be installed on the server. [See List OS](https://www.vultr.com/api/#operation/list-os)
	OsId          pulumi.IntOutput     `pulumi:"osId"`
	PersistentPxe pulumi.BoolPtrOutput `pulumi:"persistentPxe"`
	// The ID of the plan that you want the server to subscribe to. [See List Plans](https://www.vultr.com/api/#tag/plans)
	Plan pulumi.StringOutput `pulumi:"plan"`
	// The amount of memory available on the server in MB.
	Ram pulumi.StringOutput `pulumi:"ram"`
	// The ID of the region that the server is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringOutput `pulumi:"region"`
	// The ID of the floating IP to use as the main IP of this server. [See Reserved IPs](https://www.vultr.com/api/#operation/list-reserved-ips)
	ReservedIpv4 pulumi.StringOutput `pulumi:"reservedIpv4"`
	// The ID of the startup script you want added to the server.
	ScriptId pulumi.StringPtrOutput `pulumi:"scriptId"`
	// The ID of the Vultr snapshot that the server will restore for the initial installation. [See List Snapshots](https://www.vultr.com/api/#operation/list-snapshots)
	SnapshotId pulumi.StringPtrOutput `pulumi:"snapshotId"`
	// A list of SSH key IDs to apply to the server on install (only valid for Linux/FreeBSD).
	SshKeyIds pulumi.StringArrayOutput `pulumi:"sshKeyIds"`
	// The status of the server's subscription.
	Status pulumi.StringOutput `pulumi:"status"`
	// A list of tags to apply to the servier.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// Generic data store, which some provisioning tools and cloud operating systems use as a configuration file. It is generally consumed only once after an instance has been launched, but individual needs may vary.
	UserData pulumi.StringOutput `pulumi:"userData"`
	// The main IPv6 network address.
	V6MainIp pulumi.StringOutput `pulumi:"v6MainIp"`
	// The IPv6 subnet.
	V6Network pulumi.StringOutput `pulumi:"v6Network"`
	// The IPv6 network size in bits.
	V6NetworkSize pulumi.IntOutput `pulumi:"v6NetworkSize"`
	// A list of VPC 2.0 IDs to be attached to the server.
	Vpc2Ids pulumi.StringArrayOutput `pulumi:"vpc2Ids"`
}

Provides a Vultr bare metal server resource. This can be used to create, read, modify, and delete bare metal servers on your Vultr account.

## Example Usage

Create a new bare metal server:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewBareMetalServer(ctx, "myServer", &vultr.BareMetalServerArgs{
			OsId:   pulumi.Int(1743),
			Plan:   pulumi.String("vbm-4c-32gb"),
			Region: pulumi.String("ewr"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a new bare metal server with options:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewBareMetalServer(ctx, "myServer", &vultr.BareMetalServerArgs{
			ActivationEmail: pulumi.Bool(false),
			EnableIpv6:      pulumi.Bool(true),
			Hostname:        pulumi.String("my-server-hostname"),
			Label:           pulumi.String("my-server-label"),
			OsId:            pulumi.Int(1743),
			Plan:            pulumi.String("vbm-4c-32gb"),
			Region:          pulumi.String("ewr"),
			Tags: pulumi.StringArray{
				pulumi.String("my-server-tag"),
			},
			UserData: pulumi.String("this is my user data"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Bare Metal Servers can be imported using the server `ID`, e.g.

```sh

$ pulumi import vultr:index/bareMetalServer:BareMetalServer my_server b6a859c5-b299-49dd-8888-b1abbc517d08

```

func GetBareMetalServer

func GetBareMetalServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BareMetalServerState, opts ...pulumi.ResourceOption) (*BareMetalServer, error)

GetBareMetalServer gets an existing BareMetalServer 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 NewBareMetalServer

func NewBareMetalServer(ctx *pulumi.Context,
	name string, args *BareMetalServerArgs, opts ...pulumi.ResourceOption) (*BareMetalServer, error)

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

func (*BareMetalServer) ElementType

func (*BareMetalServer) ElementType() reflect.Type

func (*BareMetalServer) ToBareMetalServerOutput

func (i *BareMetalServer) ToBareMetalServerOutput() BareMetalServerOutput

func (*BareMetalServer) ToBareMetalServerOutputWithContext

func (i *BareMetalServer) ToBareMetalServerOutputWithContext(ctx context.Context) BareMetalServerOutput

type BareMetalServerArgs

type BareMetalServerArgs struct {
	// Whether an activation email will be sent when the server is ready.
	ActivationEmail pulumi.BoolPtrInput
	// The ID of the Vultr application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications)
	AppId pulumi.IntPtrInput
	// A map of user-supplied variable keys and values for Vultr Marketplace apps. [See List Marketplace App Variables](https://www.vultr.com/api/#tag/marketplace/operation/list-marketplace-app-variables)
	AppVariables pulumi.StringMapInput
	// Whether the server has IPv6 networking activated.
	EnableIpv6 pulumi.BoolPtrInput
	// The hostname to assign to the server.
	Hostname pulumi.StringPtrInput
	// The ID of the Vultr marketplace application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications) Note marketplace applications are denoted by type: `marketplace` and you must use the `imageId` not the id.
	ImageId pulumi.StringPtrInput
	// A label for the server.
	Label pulumi.StringPtrInput
	// The ID of the operating system to be installed on the server. [See List OS](https://www.vultr.com/api/#operation/list-os)
	OsId          pulumi.IntPtrInput
	PersistentPxe pulumi.BoolPtrInput
	// The ID of the plan that you want the server to subscribe to. [See List Plans](https://www.vultr.com/api/#tag/plans)
	Plan pulumi.StringInput
	// The ID of the region that the server is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringInput
	// The ID of the floating IP to use as the main IP of this server. [See Reserved IPs](https://www.vultr.com/api/#operation/list-reserved-ips)
	ReservedIpv4 pulumi.StringPtrInput
	// The ID of the startup script you want added to the server.
	ScriptId pulumi.StringPtrInput
	// The ID of the Vultr snapshot that the server will restore for the initial installation. [See List Snapshots](https://www.vultr.com/api/#operation/list-snapshots)
	SnapshotId pulumi.StringPtrInput
	// A list of SSH key IDs to apply to the server on install (only valid for Linux/FreeBSD).
	SshKeyIds pulumi.StringArrayInput
	// A list of tags to apply to the servier.
	Tags pulumi.StringArrayInput
	// Generic data store, which some provisioning tools and cloud operating systems use as a configuration file. It is generally consumed only once after an instance has been launched, but individual needs may vary.
	UserData pulumi.StringPtrInput
	// A list of VPC 2.0 IDs to be attached to the server.
	Vpc2Ids pulumi.StringArrayInput
}

The set of arguments for constructing a BareMetalServer resource.

func (BareMetalServerArgs) ElementType

func (BareMetalServerArgs) ElementType() reflect.Type

type BareMetalServerArray

type BareMetalServerArray []BareMetalServerInput

func (BareMetalServerArray) ElementType

func (BareMetalServerArray) ElementType() reflect.Type

func (BareMetalServerArray) ToBareMetalServerArrayOutput

func (i BareMetalServerArray) ToBareMetalServerArrayOutput() BareMetalServerArrayOutput

func (BareMetalServerArray) ToBareMetalServerArrayOutputWithContext

func (i BareMetalServerArray) ToBareMetalServerArrayOutputWithContext(ctx context.Context) BareMetalServerArrayOutput

type BareMetalServerArrayInput

type BareMetalServerArrayInput interface {
	pulumi.Input

	ToBareMetalServerArrayOutput() BareMetalServerArrayOutput
	ToBareMetalServerArrayOutputWithContext(context.Context) BareMetalServerArrayOutput
}

BareMetalServerArrayInput is an input type that accepts BareMetalServerArray and BareMetalServerArrayOutput values. You can construct a concrete instance of `BareMetalServerArrayInput` via:

BareMetalServerArray{ BareMetalServerArgs{...} }

type BareMetalServerArrayOutput

type BareMetalServerArrayOutput struct{ *pulumi.OutputState }

func (BareMetalServerArrayOutput) ElementType

func (BareMetalServerArrayOutput) ElementType() reflect.Type

func (BareMetalServerArrayOutput) Index

func (BareMetalServerArrayOutput) ToBareMetalServerArrayOutput

func (o BareMetalServerArrayOutput) ToBareMetalServerArrayOutput() BareMetalServerArrayOutput

func (BareMetalServerArrayOutput) ToBareMetalServerArrayOutputWithContext

func (o BareMetalServerArrayOutput) ToBareMetalServerArrayOutputWithContext(ctx context.Context) BareMetalServerArrayOutput

type BareMetalServerInput

type BareMetalServerInput interface {
	pulumi.Input

	ToBareMetalServerOutput() BareMetalServerOutput
	ToBareMetalServerOutputWithContext(ctx context.Context) BareMetalServerOutput
}

type BareMetalServerMap

type BareMetalServerMap map[string]BareMetalServerInput

func (BareMetalServerMap) ElementType

func (BareMetalServerMap) ElementType() reflect.Type

func (BareMetalServerMap) ToBareMetalServerMapOutput

func (i BareMetalServerMap) ToBareMetalServerMapOutput() BareMetalServerMapOutput

func (BareMetalServerMap) ToBareMetalServerMapOutputWithContext

func (i BareMetalServerMap) ToBareMetalServerMapOutputWithContext(ctx context.Context) BareMetalServerMapOutput

type BareMetalServerMapInput

type BareMetalServerMapInput interface {
	pulumi.Input

	ToBareMetalServerMapOutput() BareMetalServerMapOutput
	ToBareMetalServerMapOutputWithContext(context.Context) BareMetalServerMapOutput
}

BareMetalServerMapInput is an input type that accepts BareMetalServerMap and BareMetalServerMapOutput values. You can construct a concrete instance of `BareMetalServerMapInput` via:

BareMetalServerMap{ "key": BareMetalServerArgs{...} }

type BareMetalServerMapOutput

type BareMetalServerMapOutput struct{ *pulumi.OutputState }

func (BareMetalServerMapOutput) ElementType

func (BareMetalServerMapOutput) ElementType() reflect.Type

func (BareMetalServerMapOutput) MapIndex

func (BareMetalServerMapOutput) ToBareMetalServerMapOutput

func (o BareMetalServerMapOutput) ToBareMetalServerMapOutput() BareMetalServerMapOutput

func (BareMetalServerMapOutput) ToBareMetalServerMapOutputWithContext

func (o BareMetalServerMapOutput) ToBareMetalServerMapOutputWithContext(ctx context.Context) BareMetalServerMapOutput

type BareMetalServerOutput

type BareMetalServerOutput struct{ *pulumi.OutputState }

func (BareMetalServerOutput) ActivationEmail

func (o BareMetalServerOutput) ActivationEmail() pulumi.BoolPtrOutput

Whether an activation email will be sent when the server is ready.

func (BareMetalServerOutput) AppId

The ID of the Vultr application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications)

func (BareMetalServerOutput) AppVariables added in v2.19.0

func (o BareMetalServerOutput) AppVariables() pulumi.StringMapOutput

A map of user-supplied variable keys and values for Vultr Marketplace apps. [See List Marketplace App Variables](https://www.vultr.com/api/#tag/marketplace/operation/list-marketplace-app-variables)

func (BareMetalServerOutput) CpuCount

func (o BareMetalServerOutput) CpuCount() pulumi.IntOutput

The number of CPUs available on the server.

func (BareMetalServerOutput) DateCreated

func (o BareMetalServerOutput) DateCreated() pulumi.StringOutput

The date the server was added to your Vultr account.

func (BareMetalServerOutput) DefaultPassword

func (o BareMetalServerOutput) DefaultPassword() pulumi.StringOutput

The server's default password.

func (BareMetalServerOutput) Disk

The description of the disk(s) on the server.

func (BareMetalServerOutput) ElementType

func (BareMetalServerOutput) ElementType() reflect.Type

func (BareMetalServerOutput) EnableIpv6

Whether the server has IPv6 networking activated.

func (BareMetalServerOutput) GatewayV4

The server's IPv4 gateway.

func (BareMetalServerOutput) Hostname

The hostname to assign to the server.

func (BareMetalServerOutput) ImageId

The ID of the Vultr marketplace application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications) Note marketplace applications are denoted by type: `marketplace` and you must use the `imageId` not the id.

func (BareMetalServerOutput) Label

A label for the server.

func (BareMetalServerOutput) MacAddress

func (o BareMetalServerOutput) MacAddress() pulumi.IntOutput

The MAC address associated with the server.

func (BareMetalServerOutput) MainIp

The server's main IP address.

func (BareMetalServerOutput) NetmaskV4

The server's IPv4 netmask.

func (BareMetalServerOutput) Os

The string description of the operating system installed on the server.

func (BareMetalServerOutput) OsId

The ID of the operating system to be installed on the server. [See List OS](https://www.vultr.com/api/#operation/list-os)

func (BareMetalServerOutput) PersistentPxe added in v2.18.0

func (o BareMetalServerOutput) PersistentPxe() pulumi.BoolPtrOutput

func (BareMetalServerOutput) Plan

The ID of the plan that you want the server to subscribe to. [See List Plans](https://www.vultr.com/api/#tag/plans)

func (BareMetalServerOutput) Ram

The amount of memory available on the server in MB.

func (BareMetalServerOutput) Region

The ID of the region that the server is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)

func (BareMetalServerOutput) ReservedIpv4

func (o BareMetalServerOutput) ReservedIpv4() pulumi.StringOutput

The ID of the floating IP to use as the main IP of this server. [See Reserved IPs](https://www.vultr.com/api/#operation/list-reserved-ips)

func (BareMetalServerOutput) ScriptId

The ID of the startup script you want added to the server.

func (BareMetalServerOutput) SnapshotId

The ID of the Vultr snapshot that the server will restore for the initial installation. [See List Snapshots](https://www.vultr.com/api/#operation/list-snapshots)

func (BareMetalServerOutput) SshKeyIds

A list of SSH key IDs to apply to the server on install (only valid for Linux/FreeBSD).

func (BareMetalServerOutput) Status

The status of the server's subscription.

func (BareMetalServerOutput) Tags

A list of tags to apply to the servier.

func (BareMetalServerOutput) ToBareMetalServerOutput

func (o BareMetalServerOutput) ToBareMetalServerOutput() BareMetalServerOutput

func (BareMetalServerOutput) ToBareMetalServerOutputWithContext

func (o BareMetalServerOutput) ToBareMetalServerOutputWithContext(ctx context.Context) BareMetalServerOutput

func (BareMetalServerOutput) UserData

Generic data store, which some provisioning tools and cloud operating systems use as a configuration file. It is generally consumed only once after an instance has been launched, but individual needs may vary.

func (BareMetalServerOutput) V6MainIp

The main IPv6 network address.

func (BareMetalServerOutput) V6Network

The IPv6 subnet.

func (BareMetalServerOutput) V6NetworkSize

func (o BareMetalServerOutput) V6NetworkSize() pulumi.IntOutput

The IPv6 network size in bits.

func (BareMetalServerOutput) Vpc2Ids added in v2.16.2

A list of VPC 2.0 IDs to be attached to the server.

type BareMetalServerState

type BareMetalServerState struct {
	// Whether an activation email will be sent when the server is ready.
	ActivationEmail pulumi.BoolPtrInput
	// The ID of the Vultr application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications)
	AppId pulumi.IntPtrInput
	// A map of user-supplied variable keys and values for Vultr Marketplace apps. [See List Marketplace App Variables](https://www.vultr.com/api/#tag/marketplace/operation/list-marketplace-app-variables)
	AppVariables pulumi.StringMapInput
	// The number of CPUs available on the server.
	CpuCount pulumi.IntPtrInput
	// The date the server was added to your Vultr account.
	DateCreated pulumi.StringPtrInput
	// The server's default password.
	DefaultPassword pulumi.StringPtrInput
	// The description of the disk(s) on the server.
	Disk pulumi.StringPtrInput
	// Whether the server has IPv6 networking activated.
	EnableIpv6 pulumi.BoolPtrInput
	// The server's IPv4 gateway.
	GatewayV4 pulumi.StringPtrInput
	// The hostname to assign to the server.
	Hostname pulumi.StringPtrInput
	// The ID of the Vultr marketplace application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications) Note marketplace applications are denoted by type: `marketplace` and you must use the `imageId` not the id.
	ImageId pulumi.StringPtrInput
	// A label for the server.
	Label pulumi.StringPtrInput
	// The MAC address associated with the server.
	MacAddress pulumi.IntPtrInput
	// The server's main IP address.
	MainIp pulumi.StringPtrInput
	// The server's IPv4 netmask.
	NetmaskV4 pulumi.StringPtrInput
	// The string description of the operating system installed on the server.
	Os pulumi.StringPtrInput
	// The ID of the operating system to be installed on the server. [See List OS](https://www.vultr.com/api/#operation/list-os)
	OsId          pulumi.IntPtrInput
	PersistentPxe pulumi.BoolPtrInput
	// The ID of the plan that you want the server to subscribe to. [See List Plans](https://www.vultr.com/api/#tag/plans)
	Plan pulumi.StringPtrInput
	// The amount of memory available on the server in MB.
	Ram pulumi.StringPtrInput
	// The ID of the region that the server is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringPtrInput
	// The ID of the floating IP to use as the main IP of this server. [See Reserved IPs](https://www.vultr.com/api/#operation/list-reserved-ips)
	ReservedIpv4 pulumi.StringPtrInput
	// The ID of the startup script you want added to the server.
	ScriptId pulumi.StringPtrInput
	// The ID of the Vultr snapshot that the server will restore for the initial installation. [See List Snapshots](https://www.vultr.com/api/#operation/list-snapshots)
	SnapshotId pulumi.StringPtrInput
	// A list of SSH key IDs to apply to the server on install (only valid for Linux/FreeBSD).
	SshKeyIds pulumi.StringArrayInput
	// The status of the server's subscription.
	Status pulumi.StringPtrInput
	// A list of tags to apply to the servier.
	Tags pulumi.StringArrayInput
	// Generic data store, which some provisioning tools and cloud operating systems use as a configuration file. It is generally consumed only once after an instance has been launched, but individual needs may vary.
	UserData pulumi.StringPtrInput
	// The main IPv6 network address.
	V6MainIp pulumi.StringPtrInput
	// The IPv6 subnet.
	V6Network pulumi.StringPtrInput
	// The IPv6 network size in bits.
	V6NetworkSize pulumi.IntPtrInput
	// A list of VPC 2.0 IDs to be attached to the server.
	Vpc2Ids pulumi.StringArrayInput
}

func (BareMetalServerState) ElementType

func (BareMetalServerState) ElementType() reflect.Type

type BlockStorage

type BlockStorage struct {
	pulumi.CustomResourceState

	// VPS ID that you want to have this block storage attached to.
	AttachedToInstance pulumi.StringPtrOutput `pulumi:"attachedToInstance"`
	// Determines on the type of block storage volume that will be created. Soon to become a required parameter. Options are `highPerf` or `storageOpt`.
	BlockType pulumi.StringOutput `pulumi:"blockType"`
	// The monthly cost of this block storage.
	Cost pulumi.Float64Output `pulumi:"cost"`
	// The date this block storage was created.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// Label that is given to your block storage.
	Label pulumi.StringPtrOutput `pulumi:"label"`
	// Boolean value that will allow attachment of the volume to an instance without a restart. Default is false.
	Live pulumi.BoolPtrOutput `pulumi:"live"`
	// An ID associated with the instance, when mounted the ID can be found in /dev/disk/by-id prefixed with virtio.
	MountId pulumi.StringOutput `pulumi:"mountId"`
	// Region in which this block storage will reside in. (Currently only NJ/NY supported region "ewr")
	Region pulumi.StringOutput `pulumi:"region"`
	// The size of the given block storage.
	SizeGb pulumi.IntOutput `pulumi:"sizeGb"`
	// Current status of your block storage.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Vultr Block Storage resource. This can be used to create, read, modify, and delete Block Storage.

## Example Usage

Create a new Block Storage

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewBlockStorage(ctx, "myBlockstorage", &vultr.BlockStorageArgs{
			Label:  pulumi.String("vultr-block-storage"),
			Region: pulumi.String("ewr"),
			SizeGb: pulumi.Int(10),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Block Storage can be imported using the Block Storage `ID`, e.g.

```sh

$ pulumi import vultr:index/blockStorage:BlockStorage my_blockstorage e315835e-d466-4e89-9b4c-dfd8788d7685

```

func GetBlockStorage

func GetBlockStorage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BlockStorageState, opts ...pulumi.ResourceOption) (*BlockStorage, error)

GetBlockStorage gets an existing BlockStorage 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 NewBlockStorage

func NewBlockStorage(ctx *pulumi.Context,
	name string, args *BlockStorageArgs, opts ...pulumi.ResourceOption) (*BlockStorage, error)

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

func (*BlockStorage) ElementType

func (*BlockStorage) ElementType() reflect.Type

func (*BlockStorage) ToBlockStorageOutput

func (i *BlockStorage) ToBlockStorageOutput() BlockStorageOutput

func (*BlockStorage) ToBlockStorageOutputWithContext

func (i *BlockStorage) ToBlockStorageOutputWithContext(ctx context.Context) BlockStorageOutput

type BlockStorageArgs

type BlockStorageArgs struct {
	// VPS ID that you want to have this block storage attached to.
	AttachedToInstance pulumi.StringPtrInput
	// Determines on the type of block storage volume that will be created. Soon to become a required parameter. Options are `highPerf` or `storageOpt`.
	BlockType pulumi.StringPtrInput
	// Label that is given to your block storage.
	Label pulumi.StringPtrInput
	// Boolean value that will allow attachment of the volume to an instance without a restart. Default is false.
	Live pulumi.BoolPtrInput
	// Region in which this block storage will reside in. (Currently only NJ/NY supported region "ewr")
	Region pulumi.StringInput
	// The size of the given block storage.
	SizeGb pulumi.IntInput
}

The set of arguments for constructing a BlockStorage resource.

func (BlockStorageArgs) ElementType

func (BlockStorageArgs) ElementType() reflect.Type

type BlockStorageArray

type BlockStorageArray []BlockStorageInput

func (BlockStorageArray) ElementType

func (BlockStorageArray) ElementType() reflect.Type

func (BlockStorageArray) ToBlockStorageArrayOutput

func (i BlockStorageArray) ToBlockStorageArrayOutput() BlockStorageArrayOutput

func (BlockStorageArray) ToBlockStorageArrayOutputWithContext

func (i BlockStorageArray) ToBlockStorageArrayOutputWithContext(ctx context.Context) BlockStorageArrayOutput

type BlockStorageArrayInput

type BlockStorageArrayInput interface {
	pulumi.Input

	ToBlockStorageArrayOutput() BlockStorageArrayOutput
	ToBlockStorageArrayOutputWithContext(context.Context) BlockStorageArrayOutput
}

BlockStorageArrayInput is an input type that accepts BlockStorageArray and BlockStorageArrayOutput values. You can construct a concrete instance of `BlockStorageArrayInput` via:

BlockStorageArray{ BlockStorageArgs{...} }

type BlockStorageArrayOutput

type BlockStorageArrayOutput struct{ *pulumi.OutputState }

func (BlockStorageArrayOutput) ElementType

func (BlockStorageArrayOutput) ElementType() reflect.Type

func (BlockStorageArrayOutput) Index

func (BlockStorageArrayOutput) ToBlockStorageArrayOutput

func (o BlockStorageArrayOutput) ToBlockStorageArrayOutput() BlockStorageArrayOutput

func (BlockStorageArrayOutput) ToBlockStorageArrayOutputWithContext

func (o BlockStorageArrayOutput) ToBlockStorageArrayOutputWithContext(ctx context.Context) BlockStorageArrayOutput

type BlockStorageInput

type BlockStorageInput interface {
	pulumi.Input

	ToBlockStorageOutput() BlockStorageOutput
	ToBlockStorageOutputWithContext(ctx context.Context) BlockStorageOutput
}

type BlockStorageMap

type BlockStorageMap map[string]BlockStorageInput

func (BlockStorageMap) ElementType

func (BlockStorageMap) ElementType() reflect.Type

func (BlockStorageMap) ToBlockStorageMapOutput

func (i BlockStorageMap) ToBlockStorageMapOutput() BlockStorageMapOutput

func (BlockStorageMap) ToBlockStorageMapOutputWithContext

func (i BlockStorageMap) ToBlockStorageMapOutputWithContext(ctx context.Context) BlockStorageMapOutput

type BlockStorageMapInput

type BlockStorageMapInput interface {
	pulumi.Input

	ToBlockStorageMapOutput() BlockStorageMapOutput
	ToBlockStorageMapOutputWithContext(context.Context) BlockStorageMapOutput
}

BlockStorageMapInput is an input type that accepts BlockStorageMap and BlockStorageMapOutput values. You can construct a concrete instance of `BlockStorageMapInput` via:

BlockStorageMap{ "key": BlockStorageArgs{...} }

type BlockStorageMapOutput

type BlockStorageMapOutput struct{ *pulumi.OutputState }

func (BlockStorageMapOutput) ElementType

func (BlockStorageMapOutput) ElementType() reflect.Type

func (BlockStorageMapOutput) MapIndex

func (BlockStorageMapOutput) ToBlockStorageMapOutput

func (o BlockStorageMapOutput) ToBlockStorageMapOutput() BlockStorageMapOutput

func (BlockStorageMapOutput) ToBlockStorageMapOutputWithContext

func (o BlockStorageMapOutput) ToBlockStorageMapOutputWithContext(ctx context.Context) BlockStorageMapOutput

type BlockStorageOutput

type BlockStorageOutput struct{ *pulumi.OutputState }

func (BlockStorageOutput) AttachedToInstance

func (o BlockStorageOutput) AttachedToInstance() pulumi.StringPtrOutput

VPS ID that you want to have this block storage attached to.

func (BlockStorageOutput) BlockType

func (o BlockStorageOutput) BlockType() pulumi.StringOutput

Determines on the type of block storage volume that will be created. Soon to become a required parameter. Options are `highPerf` or `storageOpt`.

func (BlockStorageOutput) Cost

The monthly cost of this block storage.

func (BlockStorageOutput) DateCreated

func (o BlockStorageOutput) DateCreated() pulumi.StringOutput

The date this block storage was created.

func (BlockStorageOutput) ElementType

func (BlockStorageOutput) ElementType() reflect.Type

func (BlockStorageOutput) Label

Label that is given to your block storage.

func (BlockStorageOutput) Live

Boolean value that will allow attachment of the volume to an instance without a restart. Default is false.

func (BlockStorageOutput) MountId

An ID associated with the instance, when mounted the ID can be found in /dev/disk/by-id prefixed with virtio.

func (BlockStorageOutput) Region

Region in which this block storage will reside in. (Currently only NJ/NY supported region "ewr")

func (BlockStorageOutput) SizeGb

func (o BlockStorageOutput) SizeGb() pulumi.IntOutput

The size of the given block storage.

func (BlockStorageOutput) Status

Current status of your block storage.

func (BlockStorageOutput) ToBlockStorageOutput

func (o BlockStorageOutput) ToBlockStorageOutput() BlockStorageOutput

func (BlockStorageOutput) ToBlockStorageOutputWithContext

func (o BlockStorageOutput) ToBlockStorageOutputWithContext(ctx context.Context) BlockStorageOutput

type BlockStorageState

type BlockStorageState struct {
	// VPS ID that you want to have this block storage attached to.
	AttachedToInstance pulumi.StringPtrInput
	// Determines on the type of block storage volume that will be created. Soon to become a required parameter. Options are `highPerf` or `storageOpt`.
	BlockType pulumi.StringPtrInput
	// The monthly cost of this block storage.
	Cost pulumi.Float64PtrInput
	// The date this block storage was created.
	DateCreated pulumi.StringPtrInput
	// Label that is given to your block storage.
	Label pulumi.StringPtrInput
	// Boolean value that will allow attachment of the volume to an instance without a restart. Default is false.
	Live pulumi.BoolPtrInput
	// An ID associated with the instance, when mounted the ID can be found in /dev/disk/by-id prefixed with virtio.
	MountId pulumi.StringPtrInput
	// Region in which this block storage will reside in. (Currently only NJ/NY supported region "ewr")
	Region pulumi.StringPtrInput
	// The size of the given block storage.
	SizeGb pulumi.IntPtrInput
	// Current status of your block storage.
	Status pulumi.StringPtrInput
}

func (BlockStorageState) ElementType

func (BlockStorageState) ElementType() reflect.Type

type Database added in v2.15.0

type Database struct {
	pulumi.CustomResourceState

	// The configured time zone for the Managed Database in TZ database format (e.g. `UTC`, `America/New_York`, `Europe/London`).
	ClusterTimeZone pulumi.StringOutput `pulumi:"clusterTimeZone"`
	// The database engine of the new managed database.
	DatabaseEngine pulumi.StringOutput `pulumi:"databaseEngine"`
	// The database engine version of the new managed database.
	DatabaseEngineVersion pulumi.StringOutput `pulumi:"databaseEngineVersion"`
	// The date the managed database was added to your Vultr account.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The managed database's default logical database.
	Dbname pulumi.StringOutput `pulumi:"dbname"`
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials pulumi.MapOutput `pulumi:"ferretdbCredentials"`
	// The hostname assigned to the managed database.
	Host pulumi.StringOutput `pulumi:"host"`
	// A label for the managed database.
	Label pulumi.StringOutput `pulumi:"label"`
	// The date of the latest backup available on the managed database.
	LatestBackup pulumi.StringOutput `pulumi:"latestBackup"`
	// The preferred maintenance day of week for the managed database.
	MaintenanceDow pulumi.StringOutput `pulumi:"maintenanceDow"`
	// The preferred maintenance time for the managed database in 24-hour HH:00 format (e.g. `01:00`, `13:00`, `23:00`).
	MaintenanceTime pulumi.StringOutput `pulumi:"maintenanceTime"`
	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	MysqlLongQueryTime pulumi.IntPtrOutput `pulumi:"mysqlLongQueryTime"`
	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	MysqlRequirePrimaryKey pulumi.BoolPtrOutput `pulumi:"mysqlRequirePrimaryKey"`
	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	MysqlSlowQueryLog pulumi.BoolPtrOutput `pulumi:"mysqlSlowQueryLog"`
	// A list of SQL modes to configure for the managed database (MySQL engine types only - `ALLOW_INVALID_DATES`, `ANSI`, `ANSI_QUOTES`, `ERROR_FOR_DIVISION_BY_ZERO`, `HIGH_NOT_PRECEDENCE`, `IGNORE_SPACE`, `NO_AUTO_VALUE_ON_ZERO`, `NO_DIR_IN_CREATE`, `NO_ENGINE_SUBSTITUTION`, `NO_UNSIGNED_SUBTRACTION`, `NO_ZERO_DATE`, `NO_ZERO_IN_DATE`, `ONLY_FULL_GROUP_BY`, `PIPES_AS_CONCAT`, `REAL_AS_FLOAT`, `STRICT_ALL_TABLES`, `STRICT_TRANS_TABLES`, `TIME_TRUNCATE_FRACTIONAL`, `TRADITIONAL`).
	MysqlSqlModes pulumi.StringArrayOutput `pulumi:"mysqlSqlModes"`
	// The password for the managed database's primary admin user.
	Password pulumi.StringOutput `pulumi:"password"`
	// The ID of the plan that you want the managed database to subscribe to. [See List Managed Database Plans](https://www.vultr.com/api/#tag/managed-databases/operation/list-database-plans)
	Plan pulumi.StringOutput `pulumi:"plan"`
	// The description of the disk(s) on the managed database.
	PlanDisk pulumi.IntOutput `pulumi:"planDisk"`
	// The amount of memory available on the managed database in MB.
	PlanRam pulumi.IntOutput `pulumi:"planRam"`
	// The number of standby nodes available on the managed database.
	PlanReplicas pulumi.IntOutput `pulumi:"planReplicas"`
	// The number of virtual CPUs available on the managed database.
	PlanVcpus pulumi.IntOutput `pulumi:"planVcpus"`
	// The connection port for the managed database.
	Port pulumi.StringOutput `pulumi:"port"`
	// The public hostname assigned to the managed database (VPC-attached only).
	PublicHost pulumi.StringOutput `pulumi:"publicHost"`
	// A list of read replicas attached to the managed database.
	ReadReplicas DatabaseReadReplicaArrayOutput `pulumi:"readReplicas"`
	// The configuration value for the data eviction policy on the managed database (Redis engine types only - `noeviction`, `allkeys-lru`, `volatile-lru`, `allkeys-random`, `volatile-random`, `volatile-ttl`, `volatile-lfu`, `allkeys-lfu`).
	RedisEvictionPolicy pulumi.StringOutput `pulumi:"redisEvictionPolicy"`
	// The ID of the region that the managed database is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringOutput `pulumi:"region"`
	// The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
	Status pulumi.StringOutput `pulumi:"status"`
	// The tag to assign to the managed database.
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
	// A list of allowed IP addresses for the managed database.
	TrustedIps pulumi.StringArrayOutput `pulumi:"trustedIps"`
	// The primary admin user for the managed database.
	User pulumi.StringOutput `pulumi:"user"`
	// The ID of the VPC Network to attach to the Managed Database.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
}

Provides a Vultr database resource. This can be used to create, read, modify, and delete managed databases on your Vultr account.

## Example Usage

Create a new database:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewDatabase(ctx, "myDatabase", &vultr.DatabaseArgs{
			DatabaseEngine:        pulumi.String("pg"),
			DatabaseEngineVersion: pulumi.String("15"),
			Label:                 pulumi.String("my_database_label"),
			Plan:                  pulumi.String("vultr-dbaas-startup-cc-1-55-2"),
			Region:                pulumi.String("ewr"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a new database with options:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewDatabase(ctx, "myDatabase", &vultr.DatabaseArgs{
			ClusterTimeZone:       pulumi.String("America/New_York"),
			DatabaseEngine:        pulumi.String("pg"),
			DatabaseEngineVersion: pulumi.String("15"),
			Label:                 pulumi.String("my_database_label"),
			MaintenanceDow:        pulumi.String("sunday"),
			MaintenanceTime:       pulumi.String("01:00"),
			Plan:                  pulumi.String("vultr-dbaas-startup-cc-1-55-2"),
			Region:                pulumi.String("ewr"),
			Tag:                   pulumi.String("some tag"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database can be imported using the database `ID`, e.g.

```sh

$ pulumi import vultr:index/database:Database my_database b6a859c5-b299-49dd-8888-b1abbc517d08

```

func GetDatabase added in v2.15.0

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)

GetDatabase gets an existing Database 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 NewDatabase added in v2.15.0

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)

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

func (*Database) ElementType added in v2.15.0

func (*Database) ElementType() reflect.Type

func (*Database) ToDatabaseOutput added in v2.15.0

func (i *Database) ToDatabaseOutput() DatabaseOutput

func (*Database) ToDatabaseOutputWithContext added in v2.15.0

func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseArgs added in v2.15.0

type DatabaseArgs struct {
	// The configured time zone for the Managed Database in TZ database format (e.g. `UTC`, `America/New_York`, `Europe/London`).
	ClusterTimeZone pulumi.StringPtrInput
	// The database engine of the new managed database.
	DatabaseEngine pulumi.StringInput
	// The database engine version of the new managed database.
	DatabaseEngineVersion pulumi.StringInput
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials pulumi.MapInput
	// A label for the managed database.
	Label pulumi.StringInput
	// The preferred maintenance day of week for the managed database.
	MaintenanceDow pulumi.StringPtrInput
	// The preferred maintenance time for the managed database in 24-hour HH:00 format (e.g. `01:00`, `13:00`, `23:00`).
	MaintenanceTime pulumi.StringPtrInput
	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	MysqlLongQueryTime pulumi.IntPtrInput
	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	MysqlRequirePrimaryKey pulumi.BoolPtrInput
	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	MysqlSlowQueryLog pulumi.BoolPtrInput
	// A list of SQL modes to configure for the managed database (MySQL engine types only - `ALLOW_INVALID_DATES`, `ANSI`, `ANSI_QUOTES`, `ERROR_FOR_DIVISION_BY_ZERO`, `HIGH_NOT_PRECEDENCE`, `IGNORE_SPACE`, `NO_AUTO_VALUE_ON_ZERO`, `NO_DIR_IN_CREATE`, `NO_ENGINE_SUBSTITUTION`, `NO_UNSIGNED_SUBTRACTION`, `NO_ZERO_DATE`, `NO_ZERO_IN_DATE`, `ONLY_FULL_GROUP_BY`, `PIPES_AS_CONCAT`, `REAL_AS_FLOAT`, `STRICT_ALL_TABLES`, `STRICT_TRANS_TABLES`, `TIME_TRUNCATE_FRACTIONAL`, `TRADITIONAL`).
	MysqlSqlModes pulumi.StringArrayInput
	// The password for the managed database's primary admin user.
	Password pulumi.StringPtrInput
	// The ID of the plan that you want the managed database to subscribe to. [See List Managed Database Plans](https://www.vultr.com/api/#tag/managed-databases/operation/list-database-plans)
	Plan pulumi.StringInput
	// The description of the disk(s) on the managed database.
	PlanDisk pulumi.IntPtrInput
	// The public hostname assigned to the managed database (VPC-attached only).
	PublicHost pulumi.StringPtrInput
	// A list of read replicas attached to the managed database.
	ReadReplicas DatabaseReadReplicaArrayInput
	// The configuration value for the data eviction policy on the managed database (Redis engine types only - `noeviction`, `allkeys-lru`, `volatile-lru`, `allkeys-random`, `volatile-random`, `volatile-ttl`, `volatile-lfu`, `allkeys-lfu`).
	RedisEvictionPolicy pulumi.StringPtrInput
	// The ID of the region that the managed database is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringInput
	// The tag to assign to the managed database.
	Tag pulumi.StringPtrInput
	// A list of allowed IP addresses for the managed database.
	TrustedIps pulumi.StringArrayInput
	// The ID of the VPC Network to attach to the Managed Database.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType added in v2.15.0

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseArray added in v2.15.0

type DatabaseArray []DatabaseInput

func (DatabaseArray) ElementType added in v2.15.0

func (DatabaseArray) ElementType() reflect.Type

func (DatabaseArray) ToDatabaseArrayOutput added in v2.15.0

func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArray) ToDatabaseArrayOutputWithContext added in v2.15.0

func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

type DatabaseArrayInput added in v2.15.0

type DatabaseArrayInput interface {
	pulumi.Input

	ToDatabaseArrayOutput() DatabaseArrayOutput
	ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput
}

DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:

DatabaseArray{ DatabaseArgs{...} }

type DatabaseArrayOutput added in v2.15.0

type DatabaseArrayOutput struct{ *pulumi.OutputState }

func (DatabaseArrayOutput) ElementType added in v2.15.0

func (DatabaseArrayOutput) ElementType() reflect.Type

func (DatabaseArrayOutput) Index added in v2.15.0

func (DatabaseArrayOutput) ToDatabaseArrayOutput added in v2.15.0

func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext added in v2.15.0

func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

type DatabaseConnectionPool added in v2.15.0

type DatabaseConnectionPool struct {
	pulumi.CustomResourceState

	// The logical database to use for the new managed database connection pool.
	Database pulumi.StringOutput `pulumi:"database"`
	// The managed database ID you want to attach this connection pool to.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// The mode to configure for the new managed database connection pool (`session`, `transaction`, `statement`).
	Mode pulumi.StringOutput `pulumi:"mode"`
	// The name of the new managed database connection pool.
	Name pulumi.StringOutput `pulumi:"name"`
	// The size of the new managed database connection pool.
	Size pulumi.IntOutput `pulumi:"size"`
	// The database user to use for the new managed database connection pool.
	Username pulumi.StringOutput `pulumi:"username"`
}

Provides a Vultr database connection pool resource. This can be used to create, read, modify, and delete connection pools for a PostgreSQL managed database on your Vultr account.

## Example Usage

Create a new database connection pool:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewDatabaseConnectionPool(ctx, "myDatabaseConnectionPool", &vultr.DatabaseConnectionPoolArgs{
			DatabaseId: pulumi.Any(vultr_database.My_database.Id),
			Database:   pulumi.String("defaultdb"),
			Username:   pulumi.String("vultradmin"),
			Mode:       pulumi.String("transaction"),
			Size:       pulumi.Int(3),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetDatabaseConnectionPool added in v2.15.0

func GetDatabaseConnectionPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseConnectionPoolState, opts ...pulumi.ResourceOption) (*DatabaseConnectionPool, error)

GetDatabaseConnectionPool gets an existing DatabaseConnectionPool 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 NewDatabaseConnectionPool added in v2.15.0

func NewDatabaseConnectionPool(ctx *pulumi.Context,
	name string, args *DatabaseConnectionPoolArgs, opts ...pulumi.ResourceOption) (*DatabaseConnectionPool, error)

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

func (*DatabaseConnectionPool) ElementType added in v2.15.0

func (*DatabaseConnectionPool) ElementType() reflect.Type

func (*DatabaseConnectionPool) ToDatabaseConnectionPoolOutput added in v2.15.0

func (i *DatabaseConnectionPool) ToDatabaseConnectionPoolOutput() DatabaseConnectionPoolOutput

func (*DatabaseConnectionPool) ToDatabaseConnectionPoolOutputWithContext added in v2.15.0

func (i *DatabaseConnectionPool) ToDatabaseConnectionPoolOutputWithContext(ctx context.Context) DatabaseConnectionPoolOutput

type DatabaseConnectionPoolArgs added in v2.15.0

type DatabaseConnectionPoolArgs struct {
	// The logical database to use for the new managed database connection pool.
	Database pulumi.StringInput
	// The managed database ID you want to attach this connection pool to.
	DatabaseId pulumi.StringInput
	// The mode to configure for the new managed database connection pool (`session`, `transaction`, `statement`).
	Mode pulumi.StringInput
	// The name of the new managed database connection pool.
	Name pulumi.StringPtrInput
	// The size of the new managed database connection pool.
	Size pulumi.IntInput
	// The database user to use for the new managed database connection pool.
	Username pulumi.StringInput
}

The set of arguments for constructing a DatabaseConnectionPool resource.

func (DatabaseConnectionPoolArgs) ElementType added in v2.15.0

func (DatabaseConnectionPoolArgs) ElementType() reflect.Type

type DatabaseConnectionPoolArray added in v2.15.0

type DatabaseConnectionPoolArray []DatabaseConnectionPoolInput

func (DatabaseConnectionPoolArray) ElementType added in v2.15.0

func (DatabaseConnectionPoolArray) ToDatabaseConnectionPoolArrayOutput added in v2.15.0

func (i DatabaseConnectionPoolArray) ToDatabaseConnectionPoolArrayOutput() DatabaseConnectionPoolArrayOutput

func (DatabaseConnectionPoolArray) ToDatabaseConnectionPoolArrayOutputWithContext added in v2.15.0

func (i DatabaseConnectionPoolArray) ToDatabaseConnectionPoolArrayOutputWithContext(ctx context.Context) DatabaseConnectionPoolArrayOutput

type DatabaseConnectionPoolArrayInput added in v2.15.0

type DatabaseConnectionPoolArrayInput interface {
	pulumi.Input

	ToDatabaseConnectionPoolArrayOutput() DatabaseConnectionPoolArrayOutput
	ToDatabaseConnectionPoolArrayOutputWithContext(context.Context) DatabaseConnectionPoolArrayOutput
}

DatabaseConnectionPoolArrayInput is an input type that accepts DatabaseConnectionPoolArray and DatabaseConnectionPoolArrayOutput values. You can construct a concrete instance of `DatabaseConnectionPoolArrayInput` via:

DatabaseConnectionPoolArray{ DatabaseConnectionPoolArgs{...} }

type DatabaseConnectionPoolArrayOutput added in v2.15.0

type DatabaseConnectionPoolArrayOutput struct{ *pulumi.OutputState }

func (DatabaseConnectionPoolArrayOutput) ElementType added in v2.15.0

func (DatabaseConnectionPoolArrayOutput) Index added in v2.15.0

func (DatabaseConnectionPoolArrayOutput) ToDatabaseConnectionPoolArrayOutput added in v2.15.0

func (o DatabaseConnectionPoolArrayOutput) ToDatabaseConnectionPoolArrayOutput() DatabaseConnectionPoolArrayOutput

func (DatabaseConnectionPoolArrayOutput) ToDatabaseConnectionPoolArrayOutputWithContext added in v2.15.0

func (o DatabaseConnectionPoolArrayOutput) ToDatabaseConnectionPoolArrayOutputWithContext(ctx context.Context) DatabaseConnectionPoolArrayOutput

type DatabaseConnectionPoolInput added in v2.15.0

type DatabaseConnectionPoolInput interface {
	pulumi.Input

	ToDatabaseConnectionPoolOutput() DatabaseConnectionPoolOutput
	ToDatabaseConnectionPoolOutputWithContext(ctx context.Context) DatabaseConnectionPoolOutput
}

type DatabaseConnectionPoolMap added in v2.15.0

type DatabaseConnectionPoolMap map[string]DatabaseConnectionPoolInput

func (DatabaseConnectionPoolMap) ElementType added in v2.15.0

func (DatabaseConnectionPoolMap) ElementType() reflect.Type

func (DatabaseConnectionPoolMap) ToDatabaseConnectionPoolMapOutput added in v2.15.0

func (i DatabaseConnectionPoolMap) ToDatabaseConnectionPoolMapOutput() DatabaseConnectionPoolMapOutput

func (DatabaseConnectionPoolMap) ToDatabaseConnectionPoolMapOutputWithContext added in v2.15.0

func (i DatabaseConnectionPoolMap) ToDatabaseConnectionPoolMapOutputWithContext(ctx context.Context) DatabaseConnectionPoolMapOutput

type DatabaseConnectionPoolMapInput added in v2.15.0

type DatabaseConnectionPoolMapInput interface {
	pulumi.Input

	ToDatabaseConnectionPoolMapOutput() DatabaseConnectionPoolMapOutput
	ToDatabaseConnectionPoolMapOutputWithContext(context.Context) DatabaseConnectionPoolMapOutput
}

DatabaseConnectionPoolMapInput is an input type that accepts DatabaseConnectionPoolMap and DatabaseConnectionPoolMapOutput values. You can construct a concrete instance of `DatabaseConnectionPoolMapInput` via:

DatabaseConnectionPoolMap{ "key": DatabaseConnectionPoolArgs{...} }

type DatabaseConnectionPoolMapOutput added in v2.15.0

type DatabaseConnectionPoolMapOutput struct{ *pulumi.OutputState }

func (DatabaseConnectionPoolMapOutput) ElementType added in v2.15.0

func (DatabaseConnectionPoolMapOutput) MapIndex added in v2.15.0

func (DatabaseConnectionPoolMapOutput) ToDatabaseConnectionPoolMapOutput added in v2.15.0

func (o DatabaseConnectionPoolMapOutput) ToDatabaseConnectionPoolMapOutput() DatabaseConnectionPoolMapOutput

func (DatabaseConnectionPoolMapOutput) ToDatabaseConnectionPoolMapOutputWithContext added in v2.15.0

func (o DatabaseConnectionPoolMapOutput) ToDatabaseConnectionPoolMapOutputWithContext(ctx context.Context) DatabaseConnectionPoolMapOutput

type DatabaseConnectionPoolOutput added in v2.15.0

type DatabaseConnectionPoolOutput struct{ *pulumi.OutputState }

func (DatabaseConnectionPoolOutput) Database added in v2.15.0

The logical database to use for the new managed database connection pool.

func (DatabaseConnectionPoolOutput) DatabaseId added in v2.15.0

The managed database ID you want to attach this connection pool to.

func (DatabaseConnectionPoolOutput) ElementType added in v2.15.0

func (DatabaseConnectionPoolOutput) Mode added in v2.15.0

The mode to configure for the new managed database connection pool (`session`, `transaction`, `statement`).

func (DatabaseConnectionPoolOutput) Name added in v2.15.0

The name of the new managed database connection pool.

func (DatabaseConnectionPoolOutput) Size added in v2.15.0

The size of the new managed database connection pool.

func (DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutput added in v2.15.0

func (o DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutput() DatabaseConnectionPoolOutput

func (DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutputWithContext added in v2.15.0

func (o DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutputWithContext(ctx context.Context) DatabaseConnectionPoolOutput

func (DatabaseConnectionPoolOutput) Username added in v2.15.0

The database user to use for the new managed database connection pool.

type DatabaseConnectionPoolState added in v2.15.0

type DatabaseConnectionPoolState struct {
	// The logical database to use for the new managed database connection pool.
	Database pulumi.StringPtrInput
	// The managed database ID you want to attach this connection pool to.
	DatabaseId pulumi.StringPtrInput
	// The mode to configure for the new managed database connection pool (`session`, `transaction`, `statement`).
	Mode pulumi.StringPtrInput
	// The name of the new managed database connection pool.
	Name pulumi.StringPtrInput
	// The size of the new managed database connection pool.
	Size pulumi.IntPtrInput
	// The database user to use for the new managed database connection pool.
	Username pulumi.StringPtrInput
}

func (DatabaseConnectionPoolState) ElementType added in v2.15.0

type DatabaseDb added in v2.15.0

type DatabaseDb struct {
	pulumi.CustomResourceState

	// The managed database ID you want to attach this logical DB to.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// The name of the new managed database logical DB.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides a Vultr database DB resource. This can be used to create, read, and delete logical DBs for a managed database on your Vultr account.

## Example Usage

Create a new database DB:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewDatabaseDb(ctx, "myDatabaseDb", &vultr.DatabaseDbArgs{
			DatabaseId: pulumi.Any(vultr_database.My_database.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetDatabaseDb added in v2.15.0

func GetDatabaseDb(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseDbState, opts ...pulumi.ResourceOption) (*DatabaseDb, error)

GetDatabaseDb gets an existing DatabaseDb 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 NewDatabaseDb added in v2.15.0

func NewDatabaseDb(ctx *pulumi.Context,
	name string, args *DatabaseDbArgs, opts ...pulumi.ResourceOption) (*DatabaseDb, error)

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

func (*DatabaseDb) ElementType added in v2.15.0

func (*DatabaseDb) ElementType() reflect.Type

func (*DatabaseDb) ToDatabaseDbOutput added in v2.15.0

func (i *DatabaseDb) ToDatabaseDbOutput() DatabaseDbOutput

func (*DatabaseDb) ToDatabaseDbOutputWithContext added in v2.15.0

func (i *DatabaseDb) ToDatabaseDbOutputWithContext(ctx context.Context) DatabaseDbOutput

type DatabaseDbArgs added in v2.15.0

type DatabaseDbArgs struct {
	// The managed database ID you want to attach this logical DB to.
	DatabaseId pulumi.StringInput
	// The name of the new managed database logical DB.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a DatabaseDb resource.

func (DatabaseDbArgs) ElementType added in v2.15.0

func (DatabaseDbArgs) ElementType() reflect.Type

type DatabaseDbArray added in v2.15.0

type DatabaseDbArray []DatabaseDbInput

func (DatabaseDbArray) ElementType added in v2.15.0

func (DatabaseDbArray) ElementType() reflect.Type

func (DatabaseDbArray) ToDatabaseDbArrayOutput added in v2.15.0

func (i DatabaseDbArray) ToDatabaseDbArrayOutput() DatabaseDbArrayOutput

func (DatabaseDbArray) ToDatabaseDbArrayOutputWithContext added in v2.15.0

func (i DatabaseDbArray) ToDatabaseDbArrayOutputWithContext(ctx context.Context) DatabaseDbArrayOutput

type DatabaseDbArrayInput added in v2.15.0

type DatabaseDbArrayInput interface {
	pulumi.Input

	ToDatabaseDbArrayOutput() DatabaseDbArrayOutput
	ToDatabaseDbArrayOutputWithContext(context.Context) DatabaseDbArrayOutput
}

DatabaseDbArrayInput is an input type that accepts DatabaseDbArray and DatabaseDbArrayOutput values. You can construct a concrete instance of `DatabaseDbArrayInput` via:

DatabaseDbArray{ DatabaseDbArgs{...} }

type DatabaseDbArrayOutput added in v2.15.0

type DatabaseDbArrayOutput struct{ *pulumi.OutputState }

func (DatabaseDbArrayOutput) ElementType added in v2.15.0

func (DatabaseDbArrayOutput) ElementType() reflect.Type

func (DatabaseDbArrayOutput) Index added in v2.15.0

func (DatabaseDbArrayOutput) ToDatabaseDbArrayOutput added in v2.15.0

func (o DatabaseDbArrayOutput) ToDatabaseDbArrayOutput() DatabaseDbArrayOutput

func (DatabaseDbArrayOutput) ToDatabaseDbArrayOutputWithContext added in v2.15.0

func (o DatabaseDbArrayOutput) ToDatabaseDbArrayOutputWithContext(ctx context.Context) DatabaseDbArrayOutput

type DatabaseDbInput added in v2.15.0

type DatabaseDbInput interface {
	pulumi.Input

	ToDatabaseDbOutput() DatabaseDbOutput
	ToDatabaseDbOutputWithContext(ctx context.Context) DatabaseDbOutput
}

type DatabaseDbMap added in v2.15.0

type DatabaseDbMap map[string]DatabaseDbInput

func (DatabaseDbMap) ElementType added in v2.15.0

func (DatabaseDbMap) ElementType() reflect.Type

func (DatabaseDbMap) ToDatabaseDbMapOutput added in v2.15.0

func (i DatabaseDbMap) ToDatabaseDbMapOutput() DatabaseDbMapOutput

func (DatabaseDbMap) ToDatabaseDbMapOutputWithContext added in v2.15.0

func (i DatabaseDbMap) ToDatabaseDbMapOutputWithContext(ctx context.Context) DatabaseDbMapOutput

type DatabaseDbMapInput added in v2.15.0

type DatabaseDbMapInput interface {
	pulumi.Input

	ToDatabaseDbMapOutput() DatabaseDbMapOutput
	ToDatabaseDbMapOutputWithContext(context.Context) DatabaseDbMapOutput
}

DatabaseDbMapInput is an input type that accepts DatabaseDbMap and DatabaseDbMapOutput values. You can construct a concrete instance of `DatabaseDbMapInput` via:

DatabaseDbMap{ "key": DatabaseDbArgs{...} }

type DatabaseDbMapOutput added in v2.15.0

type DatabaseDbMapOutput struct{ *pulumi.OutputState }

func (DatabaseDbMapOutput) ElementType added in v2.15.0

func (DatabaseDbMapOutput) ElementType() reflect.Type

func (DatabaseDbMapOutput) MapIndex added in v2.15.0

func (DatabaseDbMapOutput) ToDatabaseDbMapOutput added in v2.15.0

func (o DatabaseDbMapOutput) ToDatabaseDbMapOutput() DatabaseDbMapOutput

func (DatabaseDbMapOutput) ToDatabaseDbMapOutputWithContext added in v2.15.0

func (o DatabaseDbMapOutput) ToDatabaseDbMapOutputWithContext(ctx context.Context) DatabaseDbMapOutput

type DatabaseDbOutput added in v2.15.0

type DatabaseDbOutput struct{ *pulumi.OutputState }

func (DatabaseDbOutput) DatabaseId added in v2.15.0

func (o DatabaseDbOutput) DatabaseId() pulumi.StringOutput

The managed database ID you want to attach this logical DB to.

func (DatabaseDbOutput) ElementType added in v2.15.0

func (DatabaseDbOutput) ElementType() reflect.Type

func (DatabaseDbOutput) Name added in v2.15.0

The name of the new managed database logical DB.

func (DatabaseDbOutput) ToDatabaseDbOutput added in v2.15.0

func (o DatabaseDbOutput) ToDatabaseDbOutput() DatabaseDbOutput

func (DatabaseDbOutput) ToDatabaseDbOutputWithContext added in v2.15.0

func (o DatabaseDbOutput) ToDatabaseDbOutputWithContext(ctx context.Context) DatabaseDbOutput

type DatabaseDbState added in v2.15.0

type DatabaseDbState struct {
	// The managed database ID you want to attach this logical DB to.
	DatabaseId pulumi.StringPtrInput
	// The name of the new managed database logical DB.
	Name pulumi.StringPtrInput
}

func (DatabaseDbState) ElementType added in v2.15.0

func (DatabaseDbState) ElementType() reflect.Type

type DatabaseInput added in v2.15.0

type DatabaseInput interface {
	pulumi.Input

	ToDatabaseOutput() DatabaseOutput
	ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
}

type DatabaseMap added in v2.15.0

type DatabaseMap map[string]DatabaseInput

func (DatabaseMap) ElementType added in v2.15.0

func (DatabaseMap) ElementType() reflect.Type

func (DatabaseMap) ToDatabaseMapOutput added in v2.15.0

func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMap) ToDatabaseMapOutputWithContext added in v2.15.0

func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

type DatabaseMapInput added in v2.15.0

type DatabaseMapInput interface {
	pulumi.Input

	ToDatabaseMapOutput() DatabaseMapOutput
	ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput
}

DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:

DatabaseMap{ "key": DatabaseArgs{...} }

type DatabaseMapOutput added in v2.15.0

type DatabaseMapOutput struct{ *pulumi.OutputState }

func (DatabaseMapOutput) ElementType added in v2.15.0

func (DatabaseMapOutput) ElementType() reflect.Type

func (DatabaseMapOutput) MapIndex added in v2.15.0

func (DatabaseMapOutput) ToDatabaseMapOutput added in v2.15.0

func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMapOutput) ToDatabaseMapOutputWithContext added in v2.15.0

func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

type DatabaseOutput added in v2.15.0

type DatabaseOutput struct{ *pulumi.OutputState }

func (DatabaseOutput) ClusterTimeZone added in v2.15.0

func (o DatabaseOutput) ClusterTimeZone() pulumi.StringOutput

The configured time zone for the Managed Database in TZ database format (e.g. `UTC`, `America/New_York`, `Europe/London`).

func (DatabaseOutput) DatabaseEngine added in v2.15.0

func (o DatabaseOutput) DatabaseEngine() pulumi.StringOutput

The database engine of the new managed database.

func (DatabaseOutput) DatabaseEngineVersion added in v2.15.0

func (o DatabaseOutput) DatabaseEngineVersion() pulumi.StringOutput

The database engine version of the new managed database.

func (DatabaseOutput) DateCreated added in v2.15.0

func (o DatabaseOutput) DateCreated() pulumi.StringOutput

The date the managed database was added to your Vultr account.

func (DatabaseOutput) Dbname added in v2.15.0

func (o DatabaseOutput) Dbname() pulumi.StringOutput

The managed database's default logical database.

func (DatabaseOutput) ElementType added in v2.15.0

func (DatabaseOutput) ElementType() reflect.Type

func (DatabaseOutput) FerretdbCredentials added in v2.17.1

func (o DatabaseOutput) FerretdbCredentials() pulumi.MapOutput

An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).

func (DatabaseOutput) Host added in v2.15.0

The hostname assigned to the managed database.

func (DatabaseOutput) Label added in v2.15.0

A label for the managed database.

func (DatabaseOutput) LatestBackup added in v2.15.0

func (o DatabaseOutput) LatestBackup() pulumi.StringOutput

The date of the latest backup available on the managed database.

func (DatabaseOutput) MaintenanceDow added in v2.15.0

func (o DatabaseOutput) MaintenanceDow() pulumi.StringOutput

The preferred maintenance day of week for the managed database.

func (DatabaseOutput) MaintenanceTime added in v2.15.0

func (o DatabaseOutput) MaintenanceTime() pulumi.StringOutput

The preferred maintenance time for the managed database in 24-hour HH:00 format (e.g. `01:00`, `13:00`, `23:00`).

func (DatabaseOutput) MysqlLongQueryTime added in v2.15.0

func (o DatabaseOutput) MysqlLongQueryTime() pulumi.IntPtrOutput

The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).

func (DatabaseOutput) MysqlRequirePrimaryKey added in v2.15.0

func (o DatabaseOutput) MysqlRequirePrimaryKey() pulumi.BoolPtrOutput

The configuration value for whether primary keys are required on the managed database (MySQL engine types only).

func (DatabaseOutput) MysqlSlowQueryLog added in v2.15.0

func (o DatabaseOutput) MysqlSlowQueryLog() pulumi.BoolPtrOutput

The configuration value for slow query logging on the managed database (MySQL engine types only).

func (DatabaseOutput) MysqlSqlModes added in v2.15.0

func (o DatabaseOutput) MysqlSqlModes() pulumi.StringArrayOutput

A list of SQL modes to configure for the managed database (MySQL engine types only - `ALLOW_INVALID_DATES`, `ANSI`, `ANSI_QUOTES`, `ERROR_FOR_DIVISION_BY_ZERO`, `HIGH_NOT_PRECEDENCE`, `IGNORE_SPACE`, `NO_AUTO_VALUE_ON_ZERO`, `NO_DIR_IN_CREATE`, `NO_ENGINE_SUBSTITUTION`, `NO_UNSIGNED_SUBTRACTION`, `NO_ZERO_DATE`, `NO_ZERO_IN_DATE`, `ONLY_FULL_GROUP_BY`, `PIPES_AS_CONCAT`, `REAL_AS_FLOAT`, `STRICT_ALL_TABLES`, `STRICT_TRANS_TABLES`, `TIME_TRUNCATE_FRACTIONAL`, `TRADITIONAL`).

func (DatabaseOutput) Password added in v2.15.0

func (o DatabaseOutput) Password() pulumi.StringOutput

The password for the managed database's primary admin user.

func (DatabaseOutput) Plan added in v2.15.0

The ID of the plan that you want the managed database to subscribe to. [See List Managed Database Plans](https://www.vultr.com/api/#tag/managed-databases/operation/list-database-plans)

func (DatabaseOutput) PlanDisk added in v2.15.0

func (o DatabaseOutput) PlanDisk() pulumi.IntOutput

The description of the disk(s) on the managed database.

func (DatabaseOutput) PlanRam added in v2.15.0

func (o DatabaseOutput) PlanRam() pulumi.IntOutput

The amount of memory available on the managed database in MB.

func (DatabaseOutput) PlanReplicas added in v2.15.0

func (o DatabaseOutput) PlanReplicas() pulumi.IntOutput

The number of standby nodes available on the managed database.

func (DatabaseOutput) PlanVcpus added in v2.15.0

func (o DatabaseOutput) PlanVcpus() pulumi.IntOutput

The number of virtual CPUs available on the managed database.

func (DatabaseOutput) Port added in v2.15.0

The connection port for the managed database.

func (DatabaseOutput) PublicHost added in v2.17.0

func (o DatabaseOutput) PublicHost() pulumi.StringOutput

The public hostname assigned to the managed database (VPC-attached only).

func (DatabaseOutput) ReadReplicas added in v2.15.0

A list of read replicas attached to the managed database.

func (DatabaseOutput) RedisEvictionPolicy added in v2.15.0

func (o DatabaseOutput) RedisEvictionPolicy() pulumi.StringOutput

The configuration value for the data eviction policy on the managed database (Redis engine types only - `noeviction`, `allkeys-lru`, `volatile-lru`, `allkeys-random`, `volatile-random`, `volatile-ttl`, `volatile-lfu`, `allkeys-lfu`).

func (DatabaseOutput) Region added in v2.15.0

func (o DatabaseOutput) Region() pulumi.StringOutput

The ID of the region that the managed database is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)

func (DatabaseOutput) Status added in v2.15.0

func (o DatabaseOutput) Status() pulumi.StringOutput

The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).

func (DatabaseOutput) Tag added in v2.15.0

The tag to assign to the managed database.

func (DatabaseOutput) ToDatabaseOutput added in v2.15.0

func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput

func (DatabaseOutput) ToDatabaseOutputWithContext added in v2.15.0

func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

func (DatabaseOutput) TrustedIps added in v2.15.0

func (o DatabaseOutput) TrustedIps() pulumi.StringArrayOutput

A list of allowed IP addresses for the managed database.

func (DatabaseOutput) User added in v2.15.0

The primary admin user for the managed database.

func (DatabaseOutput) VpcId added in v2.16.2

The ID of the VPC Network to attach to the Managed Database.

type DatabaseReadReplica added in v2.15.0

type DatabaseReadReplica struct {
	// The configured time zone for the Managed Database in TZ database format (e.g. `UTC`, `America/New_York`, `Europe/London`).
	ClusterTimeZone *string `pulumi:"clusterTimeZone"`
	// The database engine of the new managed database.
	DatabaseEngine *string `pulumi:"databaseEngine"`
	// The database engine version of the new managed database.
	DatabaseEngineVersion *string `pulumi:"databaseEngineVersion"`
	// The date the managed database was added to your Vultr account.
	DateCreated *string `pulumi:"dateCreated"`
	// The managed database's default logical database.
	Dbname *string `pulumi:"dbname"`
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials map[string]interface{} `pulumi:"ferretdbCredentials"`
	// The hostname assigned to the managed database.
	Host *string `pulumi:"host"`
	// The ID of the managed database.
	Id *string `pulumi:"id"`
	// A label for the managed database.
	Label string `pulumi:"label"`
	// The date of the latest backup available on the managed database.
	LatestBackup *string `pulumi:"latestBackup"`
	// The preferred maintenance day of week for the managed database.
	MaintenanceDow *string `pulumi:"maintenanceDow"`
	// The preferred maintenance time for the managed database in 24-hour HH:00 format (e.g. `01:00`, `13:00`, `23:00`).
	MaintenanceTime *string `pulumi:"maintenanceTime"`
	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	MysqlLongQueryTime *int `pulumi:"mysqlLongQueryTime"`
	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	MysqlRequirePrimaryKey *bool `pulumi:"mysqlRequirePrimaryKey"`
	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	MysqlSlowQueryLog *bool `pulumi:"mysqlSlowQueryLog"`
	// A list of SQL modes to configure for the managed database (MySQL engine types only - `ALLOW_INVALID_DATES`, `ANSI`, `ANSI_QUOTES`, `ERROR_FOR_DIVISION_BY_ZERO`, `HIGH_NOT_PRECEDENCE`, `IGNORE_SPACE`, `NO_AUTO_VALUE_ON_ZERO`, `NO_DIR_IN_CREATE`, `NO_ENGINE_SUBSTITUTION`, `NO_UNSIGNED_SUBTRACTION`, `NO_ZERO_DATE`, `NO_ZERO_IN_DATE`, `ONLY_FULL_GROUP_BY`, `PIPES_AS_CONCAT`, `REAL_AS_FLOAT`, `STRICT_ALL_TABLES`, `STRICT_TRANS_TABLES`, `TIME_TRUNCATE_FRACTIONAL`, `TRADITIONAL`).
	MysqlSqlModes []string `pulumi:"mysqlSqlModes"`
	// The password for the managed database's primary admin user.
	Password *string `pulumi:"password"`
	// The ID of the plan that you want the managed database to subscribe to. [See List Managed Database Plans](https://www.vultr.com/api/#tag/managed-databases/operation/list-database-plans)
	Plan *string `pulumi:"plan"`
	// The description of the disk(s) on the managed database.
	PlanDisk *int `pulumi:"planDisk"`
	// The amount of memory available on the managed database in MB.
	PlanRam *int `pulumi:"planRam"`
	// The number of standby nodes available on the managed database.
	PlanReplicas *int `pulumi:"planReplicas"`
	// The number of virtual CPUs available on the managed database.
	PlanVcpus *int `pulumi:"planVcpus"`
	// The connection port for the managed database.
	Port *string `pulumi:"port"`
	// The public hostname assigned to the managed database (VPC-attached only).
	PublicHost *string `pulumi:"publicHost"`
	// The configuration value for the data eviction policy on the managed database (Redis engine types only - `noeviction`, `allkeys-lru`, `volatile-lru`, `allkeys-random`, `volatile-random`, `volatile-ttl`, `volatile-lfu`, `allkeys-lfu`).
	RedisEvictionPolicy *string `pulumi:"redisEvictionPolicy"`
	// The ID of the region that the managed database is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region string `pulumi:"region"`
	// The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
	Status *string `pulumi:"status"`
	// The tag to assign to the managed database.
	Tag *string `pulumi:"tag"`
	// A list of allowed IP addresses for the managed database.
	TrustedIps []string `pulumi:"trustedIps"`
	// The primary admin user for the managed database.
	User *string `pulumi:"user"`
	// The ID of the VPC Network to attach to the Managed Database.
	VpcId *string `pulumi:"vpcId"`
}

type DatabaseReadReplicaArgs added in v2.15.0

type DatabaseReadReplicaArgs struct {
	// The configured time zone for the Managed Database in TZ database format (e.g. `UTC`, `America/New_York`, `Europe/London`).
	ClusterTimeZone pulumi.StringPtrInput `pulumi:"clusterTimeZone"`
	// The database engine of the new managed database.
	DatabaseEngine pulumi.StringPtrInput `pulumi:"databaseEngine"`
	// The database engine version of the new managed database.
	DatabaseEngineVersion pulumi.StringPtrInput `pulumi:"databaseEngineVersion"`
	// The date the managed database was added to your Vultr account.
	DateCreated pulumi.StringPtrInput `pulumi:"dateCreated"`
	// The managed database's default logical database.
	Dbname pulumi.StringPtrInput `pulumi:"dbname"`
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials pulumi.MapInput `pulumi:"ferretdbCredentials"`
	// The hostname assigned to the managed database.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// The ID of the managed database.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A label for the managed database.
	Label pulumi.StringInput `pulumi:"label"`
	// The date of the latest backup available on the managed database.
	LatestBackup pulumi.StringPtrInput `pulumi:"latestBackup"`
	// The preferred maintenance day of week for the managed database.
	MaintenanceDow pulumi.StringPtrInput `pulumi:"maintenanceDow"`
	// The preferred maintenance time for the managed database in 24-hour HH:00 format (e.g. `01:00`, `13:00`, `23:00`).
	MaintenanceTime pulumi.StringPtrInput `pulumi:"maintenanceTime"`
	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	MysqlLongQueryTime pulumi.IntPtrInput `pulumi:"mysqlLongQueryTime"`
	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	MysqlRequirePrimaryKey pulumi.BoolPtrInput `pulumi:"mysqlRequirePrimaryKey"`
	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	MysqlSlowQueryLog pulumi.BoolPtrInput `pulumi:"mysqlSlowQueryLog"`
	// A list of SQL modes to configure for the managed database (MySQL engine types only - `ALLOW_INVALID_DATES`, `ANSI`, `ANSI_QUOTES`, `ERROR_FOR_DIVISION_BY_ZERO`, `HIGH_NOT_PRECEDENCE`, `IGNORE_SPACE`, `NO_AUTO_VALUE_ON_ZERO`, `NO_DIR_IN_CREATE`, `NO_ENGINE_SUBSTITUTION`, `NO_UNSIGNED_SUBTRACTION`, `NO_ZERO_DATE`, `NO_ZERO_IN_DATE`, `ONLY_FULL_GROUP_BY`, `PIPES_AS_CONCAT`, `REAL_AS_FLOAT`, `STRICT_ALL_TABLES`, `STRICT_TRANS_TABLES`, `TIME_TRUNCATE_FRACTIONAL`, `TRADITIONAL`).
	MysqlSqlModes pulumi.StringArrayInput `pulumi:"mysqlSqlModes"`
	// The password for the managed database's primary admin user.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// The ID of the plan that you want the managed database to subscribe to. [See List Managed Database Plans](https://www.vultr.com/api/#tag/managed-databases/operation/list-database-plans)
	Plan pulumi.StringPtrInput `pulumi:"plan"`
	// The description of the disk(s) on the managed database.
	PlanDisk pulumi.IntPtrInput `pulumi:"planDisk"`
	// The amount of memory available on the managed database in MB.
	PlanRam pulumi.IntPtrInput `pulumi:"planRam"`
	// The number of standby nodes available on the managed database.
	PlanReplicas pulumi.IntPtrInput `pulumi:"planReplicas"`
	// The number of virtual CPUs available on the managed database.
	PlanVcpus pulumi.IntPtrInput `pulumi:"planVcpus"`
	// The connection port for the managed database.
	Port pulumi.StringPtrInput `pulumi:"port"`
	// The public hostname assigned to the managed database (VPC-attached only).
	PublicHost pulumi.StringPtrInput `pulumi:"publicHost"`
	// The configuration value for the data eviction policy on the managed database (Redis engine types only - `noeviction`, `allkeys-lru`, `volatile-lru`, `allkeys-random`, `volatile-random`, `volatile-ttl`, `volatile-lfu`, `allkeys-lfu`).
	RedisEvictionPolicy pulumi.StringPtrInput `pulumi:"redisEvictionPolicy"`
	// The ID of the region that the managed database is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringInput `pulumi:"region"`
	// The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The tag to assign to the managed database.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
	// A list of allowed IP addresses for the managed database.
	TrustedIps pulumi.StringArrayInput `pulumi:"trustedIps"`
	// The primary admin user for the managed database.
	User pulumi.StringPtrInput `pulumi:"user"`
	// The ID of the VPC Network to attach to the Managed Database.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

func (DatabaseReadReplicaArgs) ElementType added in v2.15.0

func (DatabaseReadReplicaArgs) ElementType() reflect.Type

func (DatabaseReadReplicaArgs) ToDatabaseReadReplicaOutput added in v2.15.0

func (i DatabaseReadReplicaArgs) ToDatabaseReadReplicaOutput() DatabaseReadReplicaOutput

func (DatabaseReadReplicaArgs) ToDatabaseReadReplicaOutputWithContext added in v2.15.0

func (i DatabaseReadReplicaArgs) ToDatabaseReadReplicaOutputWithContext(ctx context.Context) DatabaseReadReplicaOutput

type DatabaseReadReplicaArray added in v2.15.0

type DatabaseReadReplicaArray []DatabaseReadReplicaInput

func (DatabaseReadReplicaArray) ElementType added in v2.15.0

func (DatabaseReadReplicaArray) ElementType() reflect.Type

func (DatabaseReadReplicaArray) ToDatabaseReadReplicaArrayOutput added in v2.15.0

func (i DatabaseReadReplicaArray) ToDatabaseReadReplicaArrayOutput() DatabaseReadReplicaArrayOutput

func (DatabaseReadReplicaArray) ToDatabaseReadReplicaArrayOutputWithContext added in v2.15.0

func (i DatabaseReadReplicaArray) ToDatabaseReadReplicaArrayOutputWithContext(ctx context.Context) DatabaseReadReplicaArrayOutput

type DatabaseReadReplicaArrayInput added in v2.15.0

type DatabaseReadReplicaArrayInput interface {
	pulumi.Input

	ToDatabaseReadReplicaArrayOutput() DatabaseReadReplicaArrayOutput
	ToDatabaseReadReplicaArrayOutputWithContext(context.Context) DatabaseReadReplicaArrayOutput
}

DatabaseReadReplicaArrayInput is an input type that accepts DatabaseReadReplicaArray and DatabaseReadReplicaArrayOutput values. You can construct a concrete instance of `DatabaseReadReplicaArrayInput` via:

DatabaseReadReplicaArray{ DatabaseReadReplicaArgs{...} }

type DatabaseReadReplicaArrayOutput added in v2.15.0

type DatabaseReadReplicaArrayOutput struct{ *pulumi.OutputState }

func (DatabaseReadReplicaArrayOutput) ElementType added in v2.15.0

func (DatabaseReadReplicaArrayOutput) Index added in v2.15.0

func (DatabaseReadReplicaArrayOutput) ToDatabaseReadReplicaArrayOutput added in v2.15.0

func (o DatabaseReadReplicaArrayOutput) ToDatabaseReadReplicaArrayOutput() DatabaseReadReplicaArrayOutput

func (DatabaseReadReplicaArrayOutput) ToDatabaseReadReplicaArrayOutputWithContext added in v2.15.0

func (o DatabaseReadReplicaArrayOutput) ToDatabaseReadReplicaArrayOutputWithContext(ctx context.Context) DatabaseReadReplicaArrayOutput

type DatabaseReadReplicaInput added in v2.15.0

type DatabaseReadReplicaInput interface {
	pulumi.Input

	ToDatabaseReadReplicaOutput() DatabaseReadReplicaOutput
	ToDatabaseReadReplicaOutputWithContext(context.Context) DatabaseReadReplicaOutput
}

DatabaseReadReplicaInput is an input type that accepts DatabaseReadReplicaArgs and DatabaseReadReplicaOutput values. You can construct a concrete instance of `DatabaseReadReplicaInput` via:

DatabaseReadReplicaArgs{...}

type DatabaseReadReplicaOutput added in v2.15.0

type DatabaseReadReplicaOutput struct{ *pulumi.OutputState }

func (DatabaseReadReplicaOutput) ClusterTimeZone added in v2.15.0

func (o DatabaseReadReplicaOutput) ClusterTimeZone() pulumi.StringPtrOutput

The configured time zone for the Managed Database in TZ database format (e.g. `UTC`, `America/New_York`, `Europe/London`).

func (DatabaseReadReplicaOutput) DatabaseEngine added in v2.15.0

The database engine of the new managed database.

func (DatabaseReadReplicaOutput) DatabaseEngineVersion added in v2.15.0

func (o DatabaseReadReplicaOutput) DatabaseEngineVersion() pulumi.StringPtrOutput

The database engine version of the new managed database.

func (DatabaseReadReplicaOutput) DateCreated added in v2.15.0

The date the managed database was added to your Vultr account.

func (DatabaseReadReplicaOutput) Dbname added in v2.15.0

The managed database's default logical database.

func (DatabaseReadReplicaOutput) ElementType added in v2.15.0

func (DatabaseReadReplicaOutput) ElementType() reflect.Type

func (DatabaseReadReplicaOutput) FerretdbCredentials added in v2.17.1

func (o DatabaseReadReplicaOutput) FerretdbCredentials() pulumi.MapOutput

An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).

func (DatabaseReadReplicaOutput) Host added in v2.15.0

The hostname assigned to the managed database.

func (DatabaseReadReplicaOutput) Id added in v2.15.0

The ID of the managed database.

func (DatabaseReadReplicaOutput) Label added in v2.15.0

A label for the managed database.

func (DatabaseReadReplicaOutput) LatestBackup added in v2.15.0

The date of the latest backup available on the managed database.

func (DatabaseReadReplicaOutput) MaintenanceDow added in v2.15.0

The preferred maintenance day of week for the managed database.

func (DatabaseReadReplicaOutput) MaintenanceTime added in v2.15.0

func (o DatabaseReadReplicaOutput) MaintenanceTime() pulumi.StringPtrOutput

The preferred maintenance time for the managed database in 24-hour HH:00 format (e.g. `01:00`, `13:00`, `23:00`).

func (DatabaseReadReplicaOutput) MysqlLongQueryTime added in v2.15.0

func (o DatabaseReadReplicaOutput) MysqlLongQueryTime() pulumi.IntPtrOutput

The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).

func (DatabaseReadReplicaOutput) MysqlRequirePrimaryKey added in v2.15.0

func (o DatabaseReadReplicaOutput) MysqlRequirePrimaryKey() pulumi.BoolPtrOutput

The configuration value for whether primary keys are required on the managed database (MySQL engine types only).

func (DatabaseReadReplicaOutput) MysqlSlowQueryLog added in v2.15.0

func (o DatabaseReadReplicaOutput) MysqlSlowQueryLog() pulumi.BoolPtrOutput

The configuration value for slow query logging on the managed database (MySQL engine types only).

func (DatabaseReadReplicaOutput) MysqlSqlModes added in v2.15.0

A list of SQL modes to configure for the managed database (MySQL engine types only - `ALLOW_INVALID_DATES`, `ANSI`, `ANSI_QUOTES`, `ERROR_FOR_DIVISION_BY_ZERO`, `HIGH_NOT_PRECEDENCE`, `IGNORE_SPACE`, `NO_AUTO_VALUE_ON_ZERO`, `NO_DIR_IN_CREATE`, `NO_ENGINE_SUBSTITUTION`, `NO_UNSIGNED_SUBTRACTION`, `NO_ZERO_DATE`, `NO_ZERO_IN_DATE`, `ONLY_FULL_GROUP_BY`, `PIPES_AS_CONCAT`, `REAL_AS_FLOAT`, `STRICT_ALL_TABLES`, `STRICT_TRANS_TABLES`, `TIME_TRUNCATE_FRACTIONAL`, `TRADITIONAL`).

func (DatabaseReadReplicaOutput) Password added in v2.15.0

The password for the managed database's primary admin user.

func (DatabaseReadReplicaOutput) Plan added in v2.15.0

The ID of the plan that you want the managed database to subscribe to. [See List Managed Database Plans](https://www.vultr.com/api/#tag/managed-databases/operation/list-database-plans)

func (DatabaseReadReplicaOutput) PlanDisk added in v2.15.0

The description of the disk(s) on the managed database.

func (DatabaseReadReplicaOutput) PlanRam added in v2.15.0

The amount of memory available on the managed database in MB.

func (DatabaseReadReplicaOutput) PlanReplicas added in v2.15.0

The number of standby nodes available on the managed database.

func (DatabaseReadReplicaOutput) PlanVcpus added in v2.15.0

The number of virtual CPUs available on the managed database.

func (DatabaseReadReplicaOutput) Port added in v2.15.0

The connection port for the managed database.

func (DatabaseReadReplicaOutput) PublicHost added in v2.17.1

The public hostname assigned to the managed database (VPC-attached only).

func (DatabaseReadReplicaOutput) RedisEvictionPolicy added in v2.15.0

func (o DatabaseReadReplicaOutput) RedisEvictionPolicy() pulumi.StringPtrOutput

The configuration value for the data eviction policy on the managed database (Redis engine types only - `noeviction`, `allkeys-lru`, `volatile-lru`, `allkeys-random`, `volatile-random`, `volatile-ttl`, `volatile-lfu`, `allkeys-lfu`).

func (DatabaseReadReplicaOutput) Region added in v2.15.0

The ID of the region that the managed database is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)

func (DatabaseReadReplicaOutput) Status added in v2.15.0

The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).

func (DatabaseReadReplicaOutput) Tag added in v2.15.0

The tag to assign to the managed database.

func (DatabaseReadReplicaOutput) ToDatabaseReadReplicaOutput added in v2.15.0

func (o DatabaseReadReplicaOutput) ToDatabaseReadReplicaOutput() DatabaseReadReplicaOutput

func (DatabaseReadReplicaOutput) ToDatabaseReadReplicaOutputWithContext added in v2.15.0

func (o DatabaseReadReplicaOutput) ToDatabaseReadReplicaOutputWithContext(ctx context.Context) DatabaseReadReplicaOutput

func (DatabaseReadReplicaOutput) TrustedIps added in v2.15.0

A list of allowed IP addresses for the managed database.

func (DatabaseReadReplicaOutput) User added in v2.15.0

The primary admin user for the managed database.

func (DatabaseReadReplicaOutput) VpcId added in v2.16.2

The ID of the VPC Network to attach to the Managed Database.

type DatabaseReplica added in v2.15.0

type DatabaseReplica struct {
	pulumi.CustomResourceState

	// The configured time zone for the managed database read replica in TZ database format.
	ClusterTimeZone pulumi.StringOutput `pulumi:"clusterTimeZone"`
	// The database engine of the managed database read replica.
	DatabaseEngine pulumi.StringOutput `pulumi:"databaseEngine"`
	// The database engine version of the managed database read replica.
	DatabaseEngineVersion pulumi.StringOutput `pulumi:"databaseEngineVersion"`
	// The managed database ID you want to attach this replica to.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// The date the managed database read replica was added to your Vultr account.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The managed database read replica's default logical database.
	Dbname pulumi.StringOutput `pulumi:"dbname"`
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials pulumi.MapOutput `pulumi:"ferretdbCredentials"`
	// The hostname assigned to the managed database read replica.
	Host pulumi.StringOutput `pulumi:"host"`
	// A label for the managed database read replica.
	Label pulumi.StringOutput `pulumi:"label"`
	// The date of the latest backup available on the managed database read replica.
	LatestBackup pulumi.StringOutput `pulumi:"latestBackup"`
	// The preferred maintenance day of week for the managed database read replica.
	MaintenanceDow pulumi.StringOutput `pulumi:"maintenanceDow"`
	// The preferred maintenance time for the managed database read replica.
	MaintenanceTime pulumi.StringOutput `pulumi:"maintenanceTime"`
	// The configuration value for the long query time (in seconds) on the managed database read replica (MySQL engine types only).
	MysqlLongQueryTime pulumi.IntOutput `pulumi:"mysqlLongQueryTime"`
	// The configuration value for whether primary keys are required on the managed database read replica (MySQL engine types only).
	MysqlRequirePrimaryKey pulumi.BoolOutput `pulumi:"mysqlRequirePrimaryKey"`
	// The configuration value for slow query logging on the managed database read replica (MySQL engine types only).
	MysqlSlowQueryLog pulumi.BoolOutput `pulumi:"mysqlSlowQueryLog"`
	// A list of SQL modes currently configured for the managed database read replica (MySQL engine types only).
	MysqlSqlModes pulumi.StringArrayOutput `pulumi:"mysqlSqlModes"`
	// The password for the managed database read replica's primary admin user.
	Password pulumi.StringOutput `pulumi:"password"`
	// The managed database read replica's plan ID.
	Plan pulumi.StringOutput `pulumi:"plan"`
	// The description of the disk(s) on the managed database read replica.
	PlanDisk pulumi.IntOutput `pulumi:"planDisk"`
	// The amount of memory available on the managed database read replica in MB.
	PlanRam pulumi.IntOutput `pulumi:"planRam"`
	// The number of standby nodes available on the managed database read replica.
	PlanReplicas pulumi.IntOutput `pulumi:"planReplicas"`
	// The number of virtual CPUs available on the managed database read replica.
	PlanVcpus pulumi.IntOutput `pulumi:"planVcpus"`
	// The connection port for the managed database read replica.
	Port pulumi.StringOutput `pulumi:"port"`
	// The public hostname assigned to the managed database read replica (VPC-attached only).
	PublicHost pulumi.StringOutput `pulumi:"publicHost"`
	// The configuration value for the data eviction policy on the managed database read replica (Redis engine types only).
	RedisEvictionPolicy pulumi.StringOutput `pulumi:"redisEvictionPolicy"`
	// The ID of the region that the managed database read replica is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringOutput `pulumi:"region"`
	// The current status of the managed database read replica (poweroff, rebuilding, rebalancing, configuring, running).
	Status pulumi.StringOutput `pulumi:"status"`
	// The tag to assign to the managed database read replica.
	Tag pulumi.StringOutput `pulumi:"tag"`
	// A list of allowed IP addresses for the managed database read replica.
	TrustedIps pulumi.StringArrayOutput `pulumi:"trustedIps"`
	// The primary admin user for the managed database read replica.
	User pulumi.StringOutput `pulumi:"user"`
	// The ID of the VPC Network attached to the managed database read replica.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a Vultr database replica resource. This can be used to create, read, modify, and delete managed database read replicas on your Vultr account.

## Example Usage

Create a new database replica:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewDatabaseReplica(ctx, "myDatabaseReplica", &vultr.DatabaseReplicaArgs{
			DatabaseId: pulumi.Any(vultr_database.My_database.Id),
			Region:     pulumi.String("sea"),
			Label:      pulumi.String("my_database_replica_label"),
			Tag:        pulumi.String("test tag"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetDatabaseReplica added in v2.15.0

func GetDatabaseReplica(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseReplicaState, opts ...pulumi.ResourceOption) (*DatabaseReplica, error)

GetDatabaseReplica gets an existing DatabaseReplica 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 NewDatabaseReplica added in v2.15.0

func NewDatabaseReplica(ctx *pulumi.Context,
	name string, args *DatabaseReplicaArgs, opts ...pulumi.ResourceOption) (*DatabaseReplica, error)

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

func (*DatabaseReplica) ElementType added in v2.15.0

func (*DatabaseReplica) ElementType() reflect.Type

func (*DatabaseReplica) ToDatabaseReplicaOutput added in v2.15.0

func (i *DatabaseReplica) ToDatabaseReplicaOutput() DatabaseReplicaOutput

func (*DatabaseReplica) ToDatabaseReplicaOutputWithContext added in v2.15.0

func (i *DatabaseReplica) ToDatabaseReplicaOutputWithContext(ctx context.Context) DatabaseReplicaOutput

type DatabaseReplicaArgs added in v2.15.0

type DatabaseReplicaArgs struct {
	// The managed database ID you want to attach this replica to.
	DatabaseId pulumi.StringInput
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials pulumi.MapInput
	// A label for the managed database read replica.
	Label pulumi.StringInput
	// The configuration value for the long query time (in seconds) on the managed database read replica (MySQL engine types only).
	MysqlLongQueryTime pulumi.IntPtrInput
	// The configuration value for whether primary keys are required on the managed database read replica (MySQL engine types only).
	MysqlRequirePrimaryKey pulumi.BoolPtrInput
	// The configuration value for slow query logging on the managed database read replica (MySQL engine types only).
	MysqlSlowQueryLog pulumi.BoolPtrInput
	// A list of SQL modes currently configured for the managed database read replica (MySQL engine types only).
	MysqlSqlModes pulumi.StringArrayInput
	// The description of the disk(s) on the managed database read replica.
	PlanDisk pulumi.IntPtrInput
	// The public hostname assigned to the managed database read replica (VPC-attached only).
	PublicHost pulumi.StringPtrInput
	// The configuration value for the data eviction policy on the managed database read replica (Redis engine types only).
	RedisEvictionPolicy pulumi.StringPtrInput
	// The ID of the region that the managed database read replica is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringInput
	// The tag to assign to the managed database read replica.
	Tag pulumi.StringPtrInput
	// A list of allowed IP addresses for the managed database read replica.
	TrustedIps pulumi.StringArrayInput
}

The set of arguments for constructing a DatabaseReplica resource.

func (DatabaseReplicaArgs) ElementType added in v2.15.0

func (DatabaseReplicaArgs) ElementType() reflect.Type

type DatabaseReplicaArray added in v2.15.0

type DatabaseReplicaArray []DatabaseReplicaInput

func (DatabaseReplicaArray) ElementType added in v2.15.0

func (DatabaseReplicaArray) ElementType() reflect.Type

func (DatabaseReplicaArray) ToDatabaseReplicaArrayOutput added in v2.15.0

func (i DatabaseReplicaArray) ToDatabaseReplicaArrayOutput() DatabaseReplicaArrayOutput

func (DatabaseReplicaArray) ToDatabaseReplicaArrayOutputWithContext added in v2.15.0

func (i DatabaseReplicaArray) ToDatabaseReplicaArrayOutputWithContext(ctx context.Context) DatabaseReplicaArrayOutput

type DatabaseReplicaArrayInput added in v2.15.0

type DatabaseReplicaArrayInput interface {
	pulumi.Input

	ToDatabaseReplicaArrayOutput() DatabaseReplicaArrayOutput
	ToDatabaseReplicaArrayOutputWithContext(context.Context) DatabaseReplicaArrayOutput
}

DatabaseReplicaArrayInput is an input type that accepts DatabaseReplicaArray and DatabaseReplicaArrayOutput values. You can construct a concrete instance of `DatabaseReplicaArrayInput` via:

DatabaseReplicaArray{ DatabaseReplicaArgs{...} }

type DatabaseReplicaArrayOutput added in v2.15.0

type DatabaseReplicaArrayOutput struct{ *pulumi.OutputState }

func (DatabaseReplicaArrayOutput) ElementType added in v2.15.0

func (DatabaseReplicaArrayOutput) ElementType() reflect.Type

func (DatabaseReplicaArrayOutput) Index added in v2.15.0

func (DatabaseReplicaArrayOutput) ToDatabaseReplicaArrayOutput added in v2.15.0

func (o DatabaseReplicaArrayOutput) ToDatabaseReplicaArrayOutput() DatabaseReplicaArrayOutput

func (DatabaseReplicaArrayOutput) ToDatabaseReplicaArrayOutputWithContext added in v2.15.0

func (o DatabaseReplicaArrayOutput) ToDatabaseReplicaArrayOutputWithContext(ctx context.Context) DatabaseReplicaArrayOutput

type DatabaseReplicaInput added in v2.15.0

type DatabaseReplicaInput interface {
	pulumi.Input

	ToDatabaseReplicaOutput() DatabaseReplicaOutput
	ToDatabaseReplicaOutputWithContext(ctx context.Context) DatabaseReplicaOutput
}

type DatabaseReplicaMap added in v2.15.0

type DatabaseReplicaMap map[string]DatabaseReplicaInput

func (DatabaseReplicaMap) ElementType added in v2.15.0

func (DatabaseReplicaMap) ElementType() reflect.Type

func (DatabaseReplicaMap) ToDatabaseReplicaMapOutput added in v2.15.0

func (i DatabaseReplicaMap) ToDatabaseReplicaMapOutput() DatabaseReplicaMapOutput

func (DatabaseReplicaMap) ToDatabaseReplicaMapOutputWithContext added in v2.15.0

func (i DatabaseReplicaMap) ToDatabaseReplicaMapOutputWithContext(ctx context.Context) DatabaseReplicaMapOutput

type DatabaseReplicaMapInput added in v2.15.0

type DatabaseReplicaMapInput interface {
	pulumi.Input

	ToDatabaseReplicaMapOutput() DatabaseReplicaMapOutput
	ToDatabaseReplicaMapOutputWithContext(context.Context) DatabaseReplicaMapOutput
}

DatabaseReplicaMapInput is an input type that accepts DatabaseReplicaMap and DatabaseReplicaMapOutput values. You can construct a concrete instance of `DatabaseReplicaMapInput` via:

DatabaseReplicaMap{ "key": DatabaseReplicaArgs{...} }

type DatabaseReplicaMapOutput added in v2.15.0

type DatabaseReplicaMapOutput struct{ *pulumi.OutputState }

func (DatabaseReplicaMapOutput) ElementType added in v2.15.0

func (DatabaseReplicaMapOutput) ElementType() reflect.Type

func (DatabaseReplicaMapOutput) MapIndex added in v2.15.0

func (DatabaseReplicaMapOutput) ToDatabaseReplicaMapOutput added in v2.15.0

func (o DatabaseReplicaMapOutput) ToDatabaseReplicaMapOutput() DatabaseReplicaMapOutput

func (DatabaseReplicaMapOutput) ToDatabaseReplicaMapOutputWithContext added in v2.15.0

func (o DatabaseReplicaMapOutput) ToDatabaseReplicaMapOutputWithContext(ctx context.Context) DatabaseReplicaMapOutput

type DatabaseReplicaOutput added in v2.15.0

type DatabaseReplicaOutput struct{ *pulumi.OutputState }

func (DatabaseReplicaOutput) ClusterTimeZone added in v2.15.0

func (o DatabaseReplicaOutput) ClusterTimeZone() pulumi.StringOutput

The configured time zone for the managed database read replica in TZ database format.

func (DatabaseReplicaOutput) DatabaseEngine added in v2.15.0

func (o DatabaseReplicaOutput) DatabaseEngine() pulumi.StringOutput

The database engine of the managed database read replica.

func (DatabaseReplicaOutput) DatabaseEngineVersion added in v2.15.0

func (o DatabaseReplicaOutput) DatabaseEngineVersion() pulumi.StringOutput

The database engine version of the managed database read replica.

func (DatabaseReplicaOutput) DatabaseId added in v2.15.0

func (o DatabaseReplicaOutput) DatabaseId() pulumi.StringOutput

The managed database ID you want to attach this replica to.

func (DatabaseReplicaOutput) DateCreated added in v2.15.0

func (o DatabaseReplicaOutput) DateCreated() pulumi.StringOutput

The date the managed database read replica was added to your Vultr account.

func (DatabaseReplicaOutput) Dbname added in v2.15.0

The managed database read replica's default logical database.

func (DatabaseReplicaOutput) ElementType added in v2.15.0

func (DatabaseReplicaOutput) ElementType() reflect.Type

func (DatabaseReplicaOutput) FerretdbCredentials added in v2.17.1

func (o DatabaseReplicaOutput) FerretdbCredentials() pulumi.MapOutput

An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).

func (DatabaseReplicaOutput) Host added in v2.15.0

The hostname assigned to the managed database read replica.

func (DatabaseReplicaOutput) Label added in v2.15.0

A label for the managed database read replica.

func (DatabaseReplicaOutput) LatestBackup added in v2.15.0

func (o DatabaseReplicaOutput) LatestBackup() pulumi.StringOutput

The date of the latest backup available on the managed database read replica.

func (DatabaseReplicaOutput) MaintenanceDow added in v2.15.0

func (o DatabaseReplicaOutput) MaintenanceDow() pulumi.StringOutput

The preferred maintenance day of week for the managed database read replica.

func (DatabaseReplicaOutput) MaintenanceTime added in v2.15.0

func (o DatabaseReplicaOutput) MaintenanceTime() pulumi.StringOutput

The preferred maintenance time for the managed database read replica.

func (DatabaseReplicaOutput) MysqlLongQueryTime added in v2.15.0

func (o DatabaseReplicaOutput) MysqlLongQueryTime() pulumi.IntOutput

The configuration value for the long query time (in seconds) on the managed database read replica (MySQL engine types only).

func (DatabaseReplicaOutput) MysqlRequirePrimaryKey added in v2.15.0

func (o DatabaseReplicaOutput) MysqlRequirePrimaryKey() pulumi.BoolOutput

The configuration value for whether primary keys are required on the managed database read replica (MySQL engine types only).

func (DatabaseReplicaOutput) MysqlSlowQueryLog added in v2.15.0

func (o DatabaseReplicaOutput) MysqlSlowQueryLog() pulumi.BoolOutput

The configuration value for slow query logging on the managed database read replica (MySQL engine types only).

func (DatabaseReplicaOutput) MysqlSqlModes added in v2.15.0

A list of SQL modes currently configured for the managed database read replica (MySQL engine types only).

func (DatabaseReplicaOutput) Password added in v2.15.0

The password for the managed database read replica's primary admin user.

func (DatabaseReplicaOutput) Plan added in v2.15.0

The managed database read replica's plan ID.

func (DatabaseReplicaOutput) PlanDisk added in v2.15.0

func (o DatabaseReplicaOutput) PlanDisk() pulumi.IntOutput

The description of the disk(s) on the managed database read replica.

func (DatabaseReplicaOutput) PlanRam added in v2.15.0

The amount of memory available on the managed database read replica in MB.

func (DatabaseReplicaOutput) PlanReplicas added in v2.15.0

func (o DatabaseReplicaOutput) PlanReplicas() pulumi.IntOutput

The number of standby nodes available on the managed database read replica.

func (DatabaseReplicaOutput) PlanVcpus added in v2.15.0

func (o DatabaseReplicaOutput) PlanVcpus() pulumi.IntOutput

The number of virtual CPUs available on the managed database read replica.

func (DatabaseReplicaOutput) Port added in v2.15.0

The connection port for the managed database read replica.

func (DatabaseReplicaOutput) PublicHost added in v2.17.1

func (o DatabaseReplicaOutput) PublicHost() pulumi.StringOutput

The public hostname assigned to the managed database read replica (VPC-attached only).

func (DatabaseReplicaOutput) RedisEvictionPolicy added in v2.15.0

func (o DatabaseReplicaOutput) RedisEvictionPolicy() pulumi.StringOutput

The configuration value for the data eviction policy on the managed database read replica (Redis engine types only).

func (DatabaseReplicaOutput) Region added in v2.15.0

The ID of the region that the managed database read replica is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)

func (DatabaseReplicaOutput) Status added in v2.15.0

The current status of the managed database read replica (poweroff, rebuilding, rebalancing, configuring, running).

func (DatabaseReplicaOutput) Tag added in v2.15.0

The tag to assign to the managed database read replica.

func (DatabaseReplicaOutput) ToDatabaseReplicaOutput added in v2.15.0

func (o DatabaseReplicaOutput) ToDatabaseReplicaOutput() DatabaseReplicaOutput

func (DatabaseReplicaOutput) ToDatabaseReplicaOutputWithContext added in v2.15.0

func (o DatabaseReplicaOutput) ToDatabaseReplicaOutputWithContext(ctx context.Context) DatabaseReplicaOutput

func (DatabaseReplicaOutput) TrustedIps added in v2.15.0

A list of allowed IP addresses for the managed database read replica.

func (DatabaseReplicaOutput) User added in v2.15.0

The primary admin user for the managed database read replica.

func (DatabaseReplicaOutput) VpcId added in v2.16.2

The ID of the VPC Network attached to the managed database read replica.

type DatabaseReplicaState added in v2.15.0

type DatabaseReplicaState struct {
	// The configured time zone for the managed database read replica in TZ database format.
	ClusterTimeZone pulumi.StringPtrInput
	// The database engine of the managed database read replica.
	DatabaseEngine pulumi.StringPtrInput
	// The database engine version of the managed database read replica.
	DatabaseEngineVersion pulumi.StringPtrInput
	// The managed database ID you want to attach this replica to.
	DatabaseId pulumi.StringPtrInput
	// The date the managed database read replica was added to your Vultr account.
	DateCreated pulumi.StringPtrInput
	// The managed database read replica's default logical database.
	Dbname pulumi.StringPtrInput
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials pulumi.MapInput
	// The hostname assigned to the managed database read replica.
	Host pulumi.StringPtrInput
	// A label for the managed database read replica.
	Label pulumi.StringPtrInput
	// The date of the latest backup available on the managed database read replica.
	LatestBackup pulumi.StringPtrInput
	// The preferred maintenance day of week for the managed database read replica.
	MaintenanceDow pulumi.StringPtrInput
	// The preferred maintenance time for the managed database read replica.
	MaintenanceTime pulumi.StringPtrInput
	// The configuration value for the long query time (in seconds) on the managed database read replica (MySQL engine types only).
	MysqlLongQueryTime pulumi.IntPtrInput
	// The configuration value for whether primary keys are required on the managed database read replica (MySQL engine types only).
	MysqlRequirePrimaryKey pulumi.BoolPtrInput
	// The configuration value for slow query logging on the managed database read replica (MySQL engine types only).
	MysqlSlowQueryLog pulumi.BoolPtrInput
	// A list of SQL modes currently configured for the managed database read replica (MySQL engine types only).
	MysqlSqlModes pulumi.StringArrayInput
	// The password for the managed database read replica's primary admin user.
	Password pulumi.StringPtrInput
	// The managed database read replica's plan ID.
	Plan pulumi.StringPtrInput
	// The description of the disk(s) on the managed database read replica.
	PlanDisk pulumi.IntPtrInput
	// The amount of memory available on the managed database read replica in MB.
	PlanRam pulumi.IntPtrInput
	// The number of standby nodes available on the managed database read replica.
	PlanReplicas pulumi.IntPtrInput
	// The number of virtual CPUs available on the managed database read replica.
	PlanVcpus pulumi.IntPtrInput
	// The connection port for the managed database read replica.
	Port pulumi.StringPtrInput
	// The public hostname assigned to the managed database read replica (VPC-attached only).
	PublicHost pulumi.StringPtrInput
	// The configuration value for the data eviction policy on the managed database read replica (Redis engine types only).
	RedisEvictionPolicy pulumi.StringPtrInput
	// The ID of the region that the managed database read replica is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringPtrInput
	// The current status of the managed database read replica (poweroff, rebuilding, rebalancing, configuring, running).
	Status pulumi.StringPtrInput
	// The tag to assign to the managed database read replica.
	Tag pulumi.StringPtrInput
	// A list of allowed IP addresses for the managed database read replica.
	TrustedIps pulumi.StringArrayInput
	// The primary admin user for the managed database read replica.
	User pulumi.StringPtrInput
	// The ID of the VPC Network attached to the managed database read replica.
	VpcId pulumi.StringPtrInput
}

func (DatabaseReplicaState) ElementType added in v2.15.0

func (DatabaseReplicaState) ElementType() reflect.Type

type DatabaseState added in v2.15.0

type DatabaseState struct {
	// The configured time zone for the Managed Database in TZ database format (e.g. `UTC`, `America/New_York`, `Europe/London`).
	ClusterTimeZone pulumi.StringPtrInput
	// The database engine of the new managed database.
	DatabaseEngine pulumi.StringPtrInput
	// The database engine version of the new managed database.
	DatabaseEngineVersion pulumi.StringPtrInput
	// The date the managed database was added to your Vultr account.
	DateCreated pulumi.StringPtrInput
	// The managed database's default logical database.
	Dbname pulumi.StringPtrInput
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials pulumi.MapInput
	// The hostname assigned to the managed database.
	Host pulumi.StringPtrInput
	// A label for the managed database.
	Label pulumi.StringPtrInput
	// The date of the latest backup available on the managed database.
	LatestBackup pulumi.StringPtrInput
	// The preferred maintenance day of week for the managed database.
	MaintenanceDow pulumi.StringPtrInput
	// The preferred maintenance time for the managed database in 24-hour HH:00 format (e.g. `01:00`, `13:00`, `23:00`).
	MaintenanceTime pulumi.StringPtrInput
	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	MysqlLongQueryTime pulumi.IntPtrInput
	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	MysqlRequirePrimaryKey pulumi.BoolPtrInput
	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	MysqlSlowQueryLog pulumi.BoolPtrInput
	// A list of SQL modes to configure for the managed database (MySQL engine types only - `ALLOW_INVALID_DATES`, `ANSI`, `ANSI_QUOTES`, `ERROR_FOR_DIVISION_BY_ZERO`, `HIGH_NOT_PRECEDENCE`, `IGNORE_SPACE`, `NO_AUTO_VALUE_ON_ZERO`, `NO_DIR_IN_CREATE`, `NO_ENGINE_SUBSTITUTION`, `NO_UNSIGNED_SUBTRACTION`, `NO_ZERO_DATE`, `NO_ZERO_IN_DATE`, `ONLY_FULL_GROUP_BY`, `PIPES_AS_CONCAT`, `REAL_AS_FLOAT`, `STRICT_ALL_TABLES`, `STRICT_TRANS_TABLES`, `TIME_TRUNCATE_FRACTIONAL`, `TRADITIONAL`).
	MysqlSqlModes pulumi.StringArrayInput
	// The password for the managed database's primary admin user.
	Password pulumi.StringPtrInput
	// The ID of the plan that you want the managed database to subscribe to. [See List Managed Database Plans](https://www.vultr.com/api/#tag/managed-databases/operation/list-database-plans)
	Plan pulumi.StringPtrInput
	// The description of the disk(s) on the managed database.
	PlanDisk pulumi.IntPtrInput
	// The amount of memory available on the managed database in MB.
	PlanRam pulumi.IntPtrInput
	// The number of standby nodes available on the managed database.
	PlanReplicas pulumi.IntPtrInput
	// The number of virtual CPUs available on the managed database.
	PlanVcpus pulumi.IntPtrInput
	// The connection port for the managed database.
	Port pulumi.StringPtrInput
	// The public hostname assigned to the managed database (VPC-attached only).
	PublicHost pulumi.StringPtrInput
	// A list of read replicas attached to the managed database.
	ReadReplicas DatabaseReadReplicaArrayInput
	// The configuration value for the data eviction policy on the managed database (Redis engine types only - `noeviction`, `allkeys-lru`, `volatile-lru`, `allkeys-random`, `volatile-random`, `volatile-ttl`, `volatile-lfu`, `allkeys-lfu`).
	RedisEvictionPolicy pulumi.StringPtrInput
	// The ID of the region that the managed database is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringPtrInput
	// The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
	Status pulumi.StringPtrInput
	// The tag to assign to the managed database.
	Tag pulumi.StringPtrInput
	// A list of allowed IP addresses for the managed database.
	TrustedIps pulumi.StringArrayInput
	// The primary admin user for the managed database.
	User pulumi.StringPtrInput
	// The ID of the VPC Network to attach to the Managed Database.
	VpcId pulumi.StringPtrInput
}

func (DatabaseState) ElementType added in v2.15.0

func (DatabaseState) ElementType() reflect.Type

type DatabaseUser added in v2.15.0

type DatabaseUser struct {
	pulumi.CustomResourceState

	AccessControl DatabaseUserAccessControlOutput `pulumi:"accessControl"`
	// The managed database ID you want to attach this user to.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// The encryption type of the new managed database user's password (MySQL engine types only - `cachingSha2Password`, `mysqlNativePassword`).
	Encryption pulumi.StringOutput `pulumi:"encryption"`
	// The password of the new managed database user.
	Password pulumi.StringOutput `pulumi:"password"`
	// The username of the new managed database user.
	Username pulumi.StringOutput `pulumi:"username"`
}

Provides a Vultr database user resource. This can be used to create, read, modify, and delete users for a managed database on your Vultr account.

## Example Usage

Create a new database user:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewDatabaseUser(ctx, "myDatabaseUser", &vultr.DatabaseUserArgs{
			DatabaseId: pulumi.Any(vultr_database.My_database.Id),
			Username:   pulumi.String("my_database_user"),
			Password:   pulumi.String("randomTestPW40298"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetDatabaseUser added in v2.15.0

func GetDatabaseUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseUserState, opts ...pulumi.ResourceOption) (*DatabaseUser, error)

GetDatabaseUser gets an existing DatabaseUser 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 NewDatabaseUser added in v2.15.0

func NewDatabaseUser(ctx *pulumi.Context,
	name string, args *DatabaseUserArgs, opts ...pulumi.ResourceOption) (*DatabaseUser, error)

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

func (*DatabaseUser) ElementType added in v2.15.0

func (*DatabaseUser) ElementType() reflect.Type

func (*DatabaseUser) ToDatabaseUserOutput added in v2.15.0

func (i *DatabaseUser) ToDatabaseUserOutput() DatabaseUserOutput

func (*DatabaseUser) ToDatabaseUserOutputWithContext added in v2.15.0

func (i *DatabaseUser) ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput

type DatabaseUserAccessControl added in v2.18.0

type DatabaseUserAccessControl struct {
	// The list of command category rules for this managed database user.
	RedisAclCategories []string `pulumi:"redisAclCategories"`
	// The list of publish/subscribe channel patterns for this managed database user.
	RedisAclChannels []string `pulumi:"redisAclChannels"`
	// The list of individual command rules for this managed database user.
	RedisAclCommands []string `pulumi:"redisAclCommands"`
	// The list of access rules for this managed database user.
	RedisAclKeys []string `pulumi:"redisAclKeys"`
}

type DatabaseUserAccessControlArgs added in v2.18.0

type DatabaseUserAccessControlArgs struct {
	// The list of command category rules for this managed database user.
	RedisAclCategories pulumi.StringArrayInput `pulumi:"redisAclCategories"`
	// The list of publish/subscribe channel patterns for this managed database user.
	RedisAclChannels pulumi.StringArrayInput `pulumi:"redisAclChannels"`
	// The list of individual command rules for this managed database user.
	RedisAclCommands pulumi.StringArrayInput `pulumi:"redisAclCommands"`
	// The list of access rules for this managed database user.
	RedisAclKeys pulumi.StringArrayInput `pulumi:"redisAclKeys"`
}

func (DatabaseUserAccessControlArgs) ElementType added in v2.18.0

func (DatabaseUserAccessControlArgs) ToDatabaseUserAccessControlOutput added in v2.18.0

func (i DatabaseUserAccessControlArgs) ToDatabaseUserAccessControlOutput() DatabaseUserAccessControlOutput

func (DatabaseUserAccessControlArgs) ToDatabaseUserAccessControlOutputWithContext added in v2.18.0

func (i DatabaseUserAccessControlArgs) ToDatabaseUserAccessControlOutputWithContext(ctx context.Context) DatabaseUserAccessControlOutput

func (DatabaseUserAccessControlArgs) ToDatabaseUserAccessControlPtrOutput added in v2.18.0

func (i DatabaseUserAccessControlArgs) ToDatabaseUserAccessControlPtrOutput() DatabaseUserAccessControlPtrOutput

func (DatabaseUserAccessControlArgs) ToDatabaseUserAccessControlPtrOutputWithContext added in v2.18.0

func (i DatabaseUserAccessControlArgs) ToDatabaseUserAccessControlPtrOutputWithContext(ctx context.Context) DatabaseUserAccessControlPtrOutput

type DatabaseUserAccessControlInput added in v2.18.0

type DatabaseUserAccessControlInput interface {
	pulumi.Input

	ToDatabaseUserAccessControlOutput() DatabaseUserAccessControlOutput
	ToDatabaseUserAccessControlOutputWithContext(context.Context) DatabaseUserAccessControlOutput
}

DatabaseUserAccessControlInput is an input type that accepts DatabaseUserAccessControlArgs and DatabaseUserAccessControlOutput values. You can construct a concrete instance of `DatabaseUserAccessControlInput` via:

DatabaseUserAccessControlArgs{...}

type DatabaseUserAccessControlOutput added in v2.18.0

type DatabaseUserAccessControlOutput struct{ *pulumi.OutputState }

func (DatabaseUserAccessControlOutput) ElementType added in v2.18.0

func (DatabaseUserAccessControlOutput) RedisAclCategories added in v2.18.0

The list of command category rules for this managed database user.

func (DatabaseUserAccessControlOutput) RedisAclChannels added in v2.18.0

The list of publish/subscribe channel patterns for this managed database user.

func (DatabaseUserAccessControlOutput) RedisAclCommands added in v2.18.0

The list of individual command rules for this managed database user.

func (DatabaseUserAccessControlOutput) RedisAclKeys added in v2.18.0

The list of access rules for this managed database user.

func (DatabaseUserAccessControlOutput) ToDatabaseUserAccessControlOutput added in v2.18.0

func (o DatabaseUserAccessControlOutput) ToDatabaseUserAccessControlOutput() DatabaseUserAccessControlOutput

func (DatabaseUserAccessControlOutput) ToDatabaseUserAccessControlOutputWithContext added in v2.18.0

func (o DatabaseUserAccessControlOutput) ToDatabaseUserAccessControlOutputWithContext(ctx context.Context) DatabaseUserAccessControlOutput

func (DatabaseUserAccessControlOutput) ToDatabaseUserAccessControlPtrOutput added in v2.18.0

func (o DatabaseUserAccessControlOutput) ToDatabaseUserAccessControlPtrOutput() DatabaseUserAccessControlPtrOutput

func (DatabaseUserAccessControlOutput) ToDatabaseUserAccessControlPtrOutputWithContext added in v2.18.0

func (o DatabaseUserAccessControlOutput) ToDatabaseUserAccessControlPtrOutputWithContext(ctx context.Context) DatabaseUserAccessControlPtrOutput

type DatabaseUserAccessControlPtrInput added in v2.18.0

type DatabaseUserAccessControlPtrInput interface {
	pulumi.Input

	ToDatabaseUserAccessControlPtrOutput() DatabaseUserAccessControlPtrOutput
	ToDatabaseUserAccessControlPtrOutputWithContext(context.Context) DatabaseUserAccessControlPtrOutput
}

DatabaseUserAccessControlPtrInput is an input type that accepts DatabaseUserAccessControlArgs, DatabaseUserAccessControlPtr and DatabaseUserAccessControlPtrOutput values. You can construct a concrete instance of `DatabaseUserAccessControlPtrInput` via:

        DatabaseUserAccessControlArgs{...}

or:

        nil

func DatabaseUserAccessControlPtr added in v2.18.0

type DatabaseUserAccessControlPtrOutput added in v2.18.0

type DatabaseUserAccessControlPtrOutput struct{ *pulumi.OutputState }

func (DatabaseUserAccessControlPtrOutput) Elem added in v2.18.0

func (DatabaseUserAccessControlPtrOutput) ElementType added in v2.18.0

func (DatabaseUserAccessControlPtrOutput) RedisAclCategories added in v2.18.0

The list of command category rules for this managed database user.

func (DatabaseUserAccessControlPtrOutput) RedisAclChannels added in v2.18.0

The list of publish/subscribe channel patterns for this managed database user.

func (DatabaseUserAccessControlPtrOutput) RedisAclCommands added in v2.18.0

The list of individual command rules for this managed database user.

func (DatabaseUserAccessControlPtrOutput) RedisAclKeys added in v2.18.0

The list of access rules for this managed database user.

func (DatabaseUserAccessControlPtrOutput) ToDatabaseUserAccessControlPtrOutput added in v2.18.0

func (o DatabaseUserAccessControlPtrOutput) ToDatabaseUserAccessControlPtrOutput() DatabaseUserAccessControlPtrOutput

func (DatabaseUserAccessControlPtrOutput) ToDatabaseUserAccessControlPtrOutputWithContext added in v2.18.0

func (o DatabaseUserAccessControlPtrOutput) ToDatabaseUserAccessControlPtrOutputWithContext(ctx context.Context) DatabaseUserAccessControlPtrOutput

type DatabaseUserArgs added in v2.15.0

type DatabaseUserArgs struct {
	AccessControl DatabaseUserAccessControlPtrInput
	// The managed database ID you want to attach this user to.
	DatabaseId pulumi.StringInput
	// The encryption type of the new managed database user's password (MySQL engine types only - `cachingSha2Password`, `mysqlNativePassword`).
	Encryption pulumi.StringPtrInput
	// The password of the new managed database user.
	Password pulumi.StringPtrInput
	// The username of the new managed database user.
	Username pulumi.StringInput
}

The set of arguments for constructing a DatabaseUser resource.

func (DatabaseUserArgs) ElementType added in v2.15.0

func (DatabaseUserArgs) ElementType() reflect.Type

type DatabaseUserArray added in v2.15.0

type DatabaseUserArray []DatabaseUserInput

func (DatabaseUserArray) ElementType added in v2.15.0

func (DatabaseUserArray) ElementType() reflect.Type

func (DatabaseUserArray) ToDatabaseUserArrayOutput added in v2.15.0

func (i DatabaseUserArray) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput

func (DatabaseUserArray) ToDatabaseUserArrayOutputWithContext added in v2.15.0

func (i DatabaseUserArray) ToDatabaseUserArrayOutputWithContext(ctx context.Context) DatabaseUserArrayOutput

type DatabaseUserArrayInput added in v2.15.0

type DatabaseUserArrayInput interface {
	pulumi.Input

	ToDatabaseUserArrayOutput() DatabaseUserArrayOutput
	ToDatabaseUserArrayOutputWithContext(context.Context) DatabaseUserArrayOutput
}

DatabaseUserArrayInput is an input type that accepts DatabaseUserArray and DatabaseUserArrayOutput values. You can construct a concrete instance of `DatabaseUserArrayInput` via:

DatabaseUserArray{ DatabaseUserArgs{...} }

type DatabaseUserArrayOutput added in v2.15.0

type DatabaseUserArrayOutput struct{ *pulumi.OutputState }

func (DatabaseUserArrayOutput) ElementType added in v2.15.0

func (DatabaseUserArrayOutput) ElementType() reflect.Type

func (DatabaseUserArrayOutput) Index added in v2.15.0

func (DatabaseUserArrayOutput) ToDatabaseUserArrayOutput added in v2.15.0

func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput

func (DatabaseUserArrayOutput) ToDatabaseUserArrayOutputWithContext added in v2.15.0

func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutputWithContext(ctx context.Context) DatabaseUserArrayOutput

type DatabaseUserInput added in v2.15.0

type DatabaseUserInput interface {
	pulumi.Input

	ToDatabaseUserOutput() DatabaseUserOutput
	ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput
}

type DatabaseUserMap added in v2.15.0

type DatabaseUserMap map[string]DatabaseUserInput

func (DatabaseUserMap) ElementType added in v2.15.0

func (DatabaseUserMap) ElementType() reflect.Type

func (DatabaseUserMap) ToDatabaseUserMapOutput added in v2.15.0

func (i DatabaseUserMap) ToDatabaseUserMapOutput() DatabaseUserMapOutput

func (DatabaseUserMap) ToDatabaseUserMapOutputWithContext added in v2.15.0

func (i DatabaseUserMap) ToDatabaseUserMapOutputWithContext(ctx context.Context) DatabaseUserMapOutput

type DatabaseUserMapInput added in v2.15.0

type DatabaseUserMapInput interface {
	pulumi.Input

	ToDatabaseUserMapOutput() DatabaseUserMapOutput
	ToDatabaseUserMapOutputWithContext(context.Context) DatabaseUserMapOutput
}

DatabaseUserMapInput is an input type that accepts DatabaseUserMap and DatabaseUserMapOutput values. You can construct a concrete instance of `DatabaseUserMapInput` via:

DatabaseUserMap{ "key": DatabaseUserArgs{...} }

type DatabaseUserMapOutput added in v2.15.0

type DatabaseUserMapOutput struct{ *pulumi.OutputState }

func (DatabaseUserMapOutput) ElementType added in v2.15.0

func (DatabaseUserMapOutput) ElementType() reflect.Type

func (DatabaseUserMapOutput) MapIndex added in v2.15.0

func (DatabaseUserMapOutput) ToDatabaseUserMapOutput added in v2.15.0

func (o DatabaseUserMapOutput) ToDatabaseUserMapOutput() DatabaseUserMapOutput

func (DatabaseUserMapOutput) ToDatabaseUserMapOutputWithContext added in v2.15.0

func (o DatabaseUserMapOutput) ToDatabaseUserMapOutputWithContext(ctx context.Context) DatabaseUserMapOutput

type DatabaseUserOutput added in v2.15.0

type DatabaseUserOutput struct{ *pulumi.OutputState }

func (DatabaseUserOutput) AccessControl added in v2.18.0

func (DatabaseUserOutput) DatabaseId added in v2.15.0

func (o DatabaseUserOutput) DatabaseId() pulumi.StringOutput

The managed database ID you want to attach this user to.

func (DatabaseUserOutput) ElementType added in v2.15.0

func (DatabaseUserOutput) ElementType() reflect.Type

func (DatabaseUserOutput) Encryption added in v2.15.0

func (o DatabaseUserOutput) Encryption() pulumi.StringOutput

The encryption type of the new managed database user's password (MySQL engine types only - `cachingSha2Password`, `mysqlNativePassword`).

func (DatabaseUserOutput) Password added in v2.15.0

func (o DatabaseUserOutput) Password() pulumi.StringOutput

The password of the new managed database user.

func (DatabaseUserOutput) ToDatabaseUserOutput added in v2.15.0

func (o DatabaseUserOutput) ToDatabaseUserOutput() DatabaseUserOutput

func (DatabaseUserOutput) ToDatabaseUserOutputWithContext added in v2.15.0

func (o DatabaseUserOutput) ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput

func (DatabaseUserOutput) Username added in v2.15.0

func (o DatabaseUserOutput) Username() pulumi.StringOutput

The username of the new managed database user.

type DatabaseUserState added in v2.15.0

type DatabaseUserState struct {
	AccessControl DatabaseUserAccessControlPtrInput
	// The managed database ID you want to attach this user to.
	DatabaseId pulumi.StringPtrInput
	// The encryption type of the new managed database user's password (MySQL engine types only - `cachingSha2Password`, `mysqlNativePassword`).
	Encryption pulumi.StringPtrInput
	// The password of the new managed database user.
	Password pulumi.StringPtrInput
	// The username of the new managed database user.
	Username pulumi.StringPtrInput
}

func (DatabaseUserState) ElementType added in v2.15.0

func (DatabaseUserState) ElementType() reflect.Type

type DnsDomain

type DnsDomain struct {
	pulumi.CustomResourceState

	// The date the domain was added to your account.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The Domain's DNSSEC status. Valid options are `enabled` or `disabled`. Note `disabled` is default
	DnsSec pulumi.StringPtrOutput `pulumi:"dnsSec"`
	// Name of domain.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// Instance IP you want associated to domain. If omitted this will create a domain with no records.
	Ip pulumi.StringPtrOutput `pulumi:"ip"`
}

Provides a Vultr DNS Domain resource. This can be used to create, read, modify, and delete DNS Domains.

## Example Usage

Create a new DNS Domain

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewDnsDomain(ctx, "myDomain", &vultr.DnsDomainArgs{
			Domain: pulumi.String("domain.com"),
			Ip:     pulumi.String("66.42.94.227"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DNS Domains can be imported using the Dns Domain `domain`, e.g.

```sh

$ pulumi import vultr:index/dnsDomain:DnsDomain name domain.com

```

func GetDnsDomain

func GetDnsDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DnsDomainState, opts ...pulumi.ResourceOption) (*DnsDomain, error)

GetDnsDomain gets an existing DnsDomain 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 NewDnsDomain

func NewDnsDomain(ctx *pulumi.Context,
	name string, args *DnsDomainArgs, opts ...pulumi.ResourceOption) (*DnsDomain, error)

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

func (*DnsDomain) ElementType

func (*DnsDomain) ElementType() reflect.Type

func (*DnsDomain) ToDnsDomainOutput

func (i *DnsDomain) ToDnsDomainOutput() DnsDomainOutput

func (*DnsDomain) ToDnsDomainOutputWithContext

func (i *DnsDomain) ToDnsDomainOutputWithContext(ctx context.Context) DnsDomainOutput

type DnsDomainArgs

type DnsDomainArgs struct {
	// The Domain's DNSSEC status. Valid options are `enabled` or `disabled`. Note `disabled` is default
	DnsSec pulumi.StringPtrInput
	// Name of domain.
	Domain pulumi.StringInput
	// Instance IP you want associated to domain. If omitted this will create a domain with no records.
	Ip pulumi.StringPtrInput
}

The set of arguments for constructing a DnsDomain resource.

func (DnsDomainArgs) ElementType

func (DnsDomainArgs) ElementType() reflect.Type

type DnsDomainArray

type DnsDomainArray []DnsDomainInput

func (DnsDomainArray) ElementType

func (DnsDomainArray) ElementType() reflect.Type

func (DnsDomainArray) ToDnsDomainArrayOutput

func (i DnsDomainArray) ToDnsDomainArrayOutput() DnsDomainArrayOutput

func (DnsDomainArray) ToDnsDomainArrayOutputWithContext

func (i DnsDomainArray) ToDnsDomainArrayOutputWithContext(ctx context.Context) DnsDomainArrayOutput

type DnsDomainArrayInput

type DnsDomainArrayInput interface {
	pulumi.Input

	ToDnsDomainArrayOutput() DnsDomainArrayOutput
	ToDnsDomainArrayOutputWithContext(context.Context) DnsDomainArrayOutput
}

DnsDomainArrayInput is an input type that accepts DnsDomainArray and DnsDomainArrayOutput values. You can construct a concrete instance of `DnsDomainArrayInput` via:

DnsDomainArray{ DnsDomainArgs{...} }

type DnsDomainArrayOutput

type DnsDomainArrayOutput struct{ *pulumi.OutputState }

func (DnsDomainArrayOutput) ElementType

func (DnsDomainArrayOutput) ElementType() reflect.Type

func (DnsDomainArrayOutput) Index

func (DnsDomainArrayOutput) ToDnsDomainArrayOutput

func (o DnsDomainArrayOutput) ToDnsDomainArrayOutput() DnsDomainArrayOutput

func (DnsDomainArrayOutput) ToDnsDomainArrayOutputWithContext

func (o DnsDomainArrayOutput) ToDnsDomainArrayOutputWithContext(ctx context.Context) DnsDomainArrayOutput

type DnsDomainInput

type DnsDomainInput interface {
	pulumi.Input

	ToDnsDomainOutput() DnsDomainOutput
	ToDnsDomainOutputWithContext(ctx context.Context) DnsDomainOutput
}

type DnsDomainMap

type DnsDomainMap map[string]DnsDomainInput

func (DnsDomainMap) ElementType

func (DnsDomainMap) ElementType() reflect.Type

func (DnsDomainMap) ToDnsDomainMapOutput

func (i DnsDomainMap) ToDnsDomainMapOutput() DnsDomainMapOutput

func (DnsDomainMap) ToDnsDomainMapOutputWithContext

func (i DnsDomainMap) ToDnsDomainMapOutputWithContext(ctx context.Context) DnsDomainMapOutput

type DnsDomainMapInput

type DnsDomainMapInput interface {
	pulumi.Input

	ToDnsDomainMapOutput() DnsDomainMapOutput
	ToDnsDomainMapOutputWithContext(context.Context) DnsDomainMapOutput
}

DnsDomainMapInput is an input type that accepts DnsDomainMap and DnsDomainMapOutput values. You can construct a concrete instance of `DnsDomainMapInput` via:

DnsDomainMap{ "key": DnsDomainArgs{...} }

type DnsDomainMapOutput

type DnsDomainMapOutput struct{ *pulumi.OutputState }

func (DnsDomainMapOutput) ElementType

func (DnsDomainMapOutput) ElementType() reflect.Type

func (DnsDomainMapOutput) MapIndex

func (DnsDomainMapOutput) ToDnsDomainMapOutput

func (o DnsDomainMapOutput) ToDnsDomainMapOutput() DnsDomainMapOutput

func (DnsDomainMapOutput) ToDnsDomainMapOutputWithContext

func (o DnsDomainMapOutput) ToDnsDomainMapOutputWithContext(ctx context.Context) DnsDomainMapOutput

type DnsDomainOutput

type DnsDomainOutput struct{ *pulumi.OutputState }

func (DnsDomainOutput) DateCreated

func (o DnsDomainOutput) DateCreated() pulumi.StringOutput

The date the domain was added to your account.

func (DnsDomainOutput) DnsSec

The Domain's DNSSEC status. Valid options are `enabled` or `disabled`. Note `disabled` is default

func (DnsDomainOutput) Domain

func (o DnsDomainOutput) Domain() pulumi.StringOutput

Name of domain.

func (DnsDomainOutput) ElementType

func (DnsDomainOutput) ElementType() reflect.Type

func (DnsDomainOutput) Ip

Instance IP you want associated to domain. If omitted this will create a domain with no records.

func (DnsDomainOutput) ToDnsDomainOutput

func (o DnsDomainOutput) ToDnsDomainOutput() DnsDomainOutput

func (DnsDomainOutput) ToDnsDomainOutputWithContext

func (o DnsDomainOutput) ToDnsDomainOutputWithContext(ctx context.Context) DnsDomainOutput

type DnsDomainState

type DnsDomainState struct {
	// The date the domain was added to your account.
	DateCreated pulumi.StringPtrInput
	// The Domain's DNSSEC status. Valid options are `enabled` or `disabled`. Note `disabled` is default
	DnsSec pulumi.StringPtrInput
	// Name of domain.
	Domain pulumi.StringPtrInput
	// Instance IP you want associated to domain. If omitted this will create a domain with no records.
	Ip pulumi.StringPtrInput
}

func (DnsDomainState) ElementType

func (DnsDomainState) ElementType() reflect.Type

type DnsRecord

type DnsRecord struct {
	pulumi.CustomResourceState

	// IP Address of the instance the domain is associated with.
	Data pulumi.StringOutput `pulumi:"data"`
	// Name of the DNS Domain this record will belong to.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// Name (subdomain) for this record.
	Name pulumi.StringOutput `pulumi:"name"`
	// Priority of this record (only required for MX and SRV).
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The time to live of this record.
	Ttl pulumi.IntPtrOutput `pulumi:"ttl"`
	// Type of record.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a Vultr DNS Record resource. This can be used to create, read, modify, and delete DNS Records.

## Example Usage

Create a new DNS Record

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myDomain, err := vultr.NewDnsDomain(ctx, "myDomain", &vultr.DnsDomainArgs{
			Domain: pulumi.String("domain.com"),
			Ip:     pulumi.String("66.42.94.227"),
		})
		if err != nil {
			return err
		}
		_, err = vultr.NewDnsRecord(ctx, "myRecord", &vultr.DnsRecordArgs{
			Data:   pulumi.String("66.42.94.227"),
			Domain: myDomain.ID(),
			Type:   pulumi.String("A"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DNS Records can be imported using the Dns Domain `domain` and DNS Record `ID` e.g.

```sh

$ pulumi import vultr:index/dnsRecord:DnsRecord rec domain.com,1a0019bd-7645-4310-81bd-03bc5906940f

```

func GetDnsRecord

func GetDnsRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DnsRecordState, opts ...pulumi.ResourceOption) (*DnsRecord, error)

GetDnsRecord gets an existing DnsRecord 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 NewDnsRecord

func NewDnsRecord(ctx *pulumi.Context,
	name string, args *DnsRecordArgs, opts ...pulumi.ResourceOption) (*DnsRecord, error)

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

func (*DnsRecord) ElementType

func (*DnsRecord) ElementType() reflect.Type

func (*DnsRecord) ToDnsRecordOutput

func (i *DnsRecord) ToDnsRecordOutput() DnsRecordOutput

func (*DnsRecord) ToDnsRecordOutputWithContext

func (i *DnsRecord) ToDnsRecordOutputWithContext(ctx context.Context) DnsRecordOutput

type DnsRecordArgs

type DnsRecordArgs struct {
	// IP Address of the instance the domain is associated with.
	Data pulumi.StringInput
	// Name of the DNS Domain this record will belong to.
	Domain pulumi.StringInput
	// Name (subdomain) for this record.
	Name pulumi.StringPtrInput
	// Priority of this record (only required for MX and SRV).
	Priority pulumi.IntPtrInput
	// The time to live of this record.
	Ttl pulumi.IntPtrInput
	// Type of record.
	Type pulumi.StringInput
}

The set of arguments for constructing a DnsRecord resource.

func (DnsRecordArgs) ElementType

func (DnsRecordArgs) ElementType() reflect.Type

type DnsRecordArray

type DnsRecordArray []DnsRecordInput

func (DnsRecordArray) ElementType

func (DnsRecordArray) ElementType() reflect.Type

func (DnsRecordArray) ToDnsRecordArrayOutput

func (i DnsRecordArray) ToDnsRecordArrayOutput() DnsRecordArrayOutput

func (DnsRecordArray) ToDnsRecordArrayOutputWithContext

func (i DnsRecordArray) ToDnsRecordArrayOutputWithContext(ctx context.Context) DnsRecordArrayOutput

type DnsRecordArrayInput

type DnsRecordArrayInput interface {
	pulumi.Input

	ToDnsRecordArrayOutput() DnsRecordArrayOutput
	ToDnsRecordArrayOutputWithContext(context.Context) DnsRecordArrayOutput
}

DnsRecordArrayInput is an input type that accepts DnsRecordArray and DnsRecordArrayOutput values. You can construct a concrete instance of `DnsRecordArrayInput` via:

DnsRecordArray{ DnsRecordArgs{...} }

type DnsRecordArrayOutput

type DnsRecordArrayOutput struct{ *pulumi.OutputState }

func (DnsRecordArrayOutput) ElementType

func (DnsRecordArrayOutput) ElementType() reflect.Type

func (DnsRecordArrayOutput) Index

func (DnsRecordArrayOutput) ToDnsRecordArrayOutput

func (o DnsRecordArrayOutput) ToDnsRecordArrayOutput() DnsRecordArrayOutput

func (DnsRecordArrayOutput) ToDnsRecordArrayOutputWithContext

func (o DnsRecordArrayOutput) ToDnsRecordArrayOutputWithContext(ctx context.Context) DnsRecordArrayOutput

type DnsRecordInput

type DnsRecordInput interface {
	pulumi.Input

	ToDnsRecordOutput() DnsRecordOutput
	ToDnsRecordOutputWithContext(ctx context.Context) DnsRecordOutput
}

type DnsRecordMap

type DnsRecordMap map[string]DnsRecordInput

func (DnsRecordMap) ElementType

func (DnsRecordMap) ElementType() reflect.Type

func (DnsRecordMap) ToDnsRecordMapOutput

func (i DnsRecordMap) ToDnsRecordMapOutput() DnsRecordMapOutput

func (DnsRecordMap) ToDnsRecordMapOutputWithContext

func (i DnsRecordMap) ToDnsRecordMapOutputWithContext(ctx context.Context) DnsRecordMapOutput

type DnsRecordMapInput

type DnsRecordMapInput interface {
	pulumi.Input

	ToDnsRecordMapOutput() DnsRecordMapOutput
	ToDnsRecordMapOutputWithContext(context.Context) DnsRecordMapOutput
}

DnsRecordMapInput is an input type that accepts DnsRecordMap and DnsRecordMapOutput values. You can construct a concrete instance of `DnsRecordMapInput` via:

DnsRecordMap{ "key": DnsRecordArgs{...} }

type DnsRecordMapOutput

type DnsRecordMapOutput struct{ *pulumi.OutputState }

func (DnsRecordMapOutput) ElementType

func (DnsRecordMapOutput) ElementType() reflect.Type

func (DnsRecordMapOutput) MapIndex

func (DnsRecordMapOutput) ToDnsRecordMapOutput

func (o DnsRecordMapOutput) ToDnsRecordMapOutput() DnsRecordMapOutput

func (DnsRecordMapOutput) ToDnsRecordMapOutputWithContext

func (o DnsRecordMapOutput) ToDnsRecordMapOutputWithContext(ctx context.Context) DnsRecordMapOutput

type DnsRecordOutput

type DnsRecordOutput struct{ *pulumi.OutputState }

func (DnsRecordOutput) Data

IP Address of the instance the domain is associated with.

func (DnsRecordOutput) Domain

func (o DnsRecordOutput) Domain() pulumi.StringOutput

Name of the DNS Domain this record will belong to.

func (DnsRecordOutput) ElementType

func (DnsRecordOutput) ElementType() reflect.Type

func (DnsRecordOutput) Name

Name (subdomain) for this record.

func (DnsRecordOutput) Priority

func (o DnsRecordOutput) Priority() pulumi.IntPtrOutput

Priority of this record (only required for MX and SRV).

func (DnsRecordOutput) ToDnsRecordOutput

func (o DnsRecordOutput) ToDnsRecordOutput() DnsRecordOutput

func (DnsRecordOutput) ToDnsRecordOutputWithContext

func (o DnsRecordOutput) ToDnsRecordOutputWithContext(ctx context.Context) DnsRecordOutput

func (DnsRecordOutput) Ttl

The time to live of this record.

func (DnsRecordOutput) Type

Type of record.

type DnsRecordState

type DnsRecordState struct {
	// IP Address of the instance the domain is associated with.
	Data pulumi.StringPtrInput
	// Name of the DNS Domain this record will belong to.
	Domain pulumi.StringPtrInput
	// Name (subdomain) for this record.
	Name pulumi.StringPtrInput
	// Priority of this record (only required for MX and SRV).
	Priority pulumi.IntPtrInput
	// The time to live of this record.
	Ttl pulumi.IntPtrInput
	// Type of record.
	Type pulumi.StringPtrInput
}

func (DnsRecordState) ElementType

func (DnsRecordState) ElementType() reflect.Type

type FirewallGroup

type FirewallGroup struct {
	pulumi.CustomResourceState

	// The date the firewall group was created.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The date the firewall group was modified.
	DateModified pulumi.StringOutput `pulumi:"dateModified"`
	// Description of the firewall group.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The number of instances that are currently using this firewall group.
	InstanceCount pulumi.IntOutput `pulumi:"instanceCount"`
	// The number of max firewall rules this group can have.
	MaxRuleCount pulumi.IntOutput `pulumi:"maxRuleCount"`
	// The number of firewall rules this group currently has.
	RuleCount pulumi.IntOutput `pulumi:"ruleCount"`
}

Provides a Vultr Firewall Group resource. This can be used to create, read, modify, and delete Firewall Group.

## Example Usage

Create a new Firewall group

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewFirewallGroup(ctx, "myFirewallgroup", &vultr.FirewallGroupArgs{
			Description: pulumi.String("base firewall"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Firewall Groups can be imported using the Firewall Group `FIREWALLGROUPID`, e.g.

```sh

$ pulumi import vultr:index/firewallGroup:FirewallGroup my_firewallgroup c342f929

```

func GetFirewallGroup

func GetFirewallGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FirewallGroupState, opts ...pulumi.ResourceOption) (*FirewallGroup, error)

GetFirewallGroup gets an existing FirewallGroup 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 NewFirewallGroup

func NewFirewallGroup(ctx *pulumi.Context,
	name string, args *FirewallGroupArgs, opts ...pulumi.ResourceOption) (*FirewallGroup, error)

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

func (*FirewallGroup) ElementType

func (*FirewallGroup) ElementType() reflect.Type

func (*FirewallGroup) ToFirewallGroupOutput

func (i *FirewallGroup) ToFirewallGroupOutput() FirewallGroupOutput

func (*FirewallGroup) ToFirewallGroupOutputWithContext

func (i *FirewallGroup) ToFirewallGroupOutputWithContext(ctx context.Context) FirewallGroupOutput

type FirewallGroupArgs

type FirewallGroupArgs struct {
	// Description of the firewall group.
	Description pulumi.StringPtrInput
}

The set of arguments for constructing a FirewallGroup resource.

func (FirewallGroupArgs) ElementType

func (FirewallGroupArgs) ElementType() reflect.Type

type FirewallGroupArray

type FirewallGroupArray []FirewallGroupInput

func (FirewallGroupArray) ElementType

func (FirewallGroupArray) ElementType() reflect.Type

func (FirewallGroupArray) ToFirewallGroupArrayOutput

func (i FirewallGroupArray) ToFirewallGroupArrayOutput() FirewallGroupArrayOutput

func (FirewallGroupArray) ToFirewallGroupArrayOutputWithContext

func (i FirewallGroupArray) ToFirewallGroupArrayOutputWithContext(ctx context.Context) FirewallGroupArrayOutput

type FirewallGroupArrayInput

type FirewallGroupArrayInput interface {
	pulumi.Input

	ToFirewallGroupArrayOutput() FirewallGroupArrayOutput
	ToFirewallGroupArrayOutputWithContext(context.Context) FirewallGroupArrayOutput
}

FirewallGroupArrayInput is an input type that accepts FirewallGroupArray and FirewallGroupArrayOutput values. You can construct a concrete instance of `FirewallGroupArrayInput` via:

FirewallGroupArray{ FirewallGroupArgs{...} }

type FirewallGroupArrayOutput

type FirewallGroupArrayOutput struct{ *pulumi.OutputState }

func (FirewallGroupArrayOutput) ElementType

func (FirewallGroupArrayOutput) ElementType() reflect.Type

func (FirewallGroupArrayOutput) Index

func (FirewallGroupArrayOutput) ToFirewallGroupArrayOutput

func (o FirewallGroupArrayOutput) ToFirewallGroupArrayOutput() FirewallGroupArrayOutput

func (FirewallGroupArrayOutput) ToFirewallGroupArrayOutputWithContext

func (o FirewallGroupArrayOutput) ToFirewallGroupArrayOutputWithContext(ctx context.Context) FirewallGroupArrayOutput

type FirewallGroupInput

type FirewallGroupInput interface {
	pulumi.Input

	ToFirewallGroupOutput() FirewallGroupOutput
	ToFirewallGroupOutputWithContext(ctx context.Context) FirewallGroupOutput
}

type FirewallGroupMap

type FirewallGroupMap map[string]FirewallGroupInput

func (FirewallGroupMap) ElementType

func (FirewallGroupMap) ElementType() reflect.Type

func (FirewallGroupMap) ToFirewallGroupMapOutput

func (i FirewallGroupMap) ToFirewallGroupMapOutput() FirewallGroupMapOutput

func (FirewallGroupMap) ToFirewallGroupMapOutputWithContext

func (i FirewallGroupMap) ToFirewallGroupMapOutputWithContext(ctx context.Context) FirewallGroupMapOutput

type FirewallGroupMapInput

type FirewallGroupMapInput interface {
	pulumi.Input

	ToFirewallGroupMapOutput() FirewallGroupMapOutput
	ToFirewallGroupMapOutputWithContext(context.Context) FirewallGroupMapOutput
}

FirewallGroupMapInput is an input type that accepts FirewallGroupMap and FirewallGroupMapOutput values. You can construct a concrete instance of `FirewallGroupMapInput` via:

FirewallGroupMap{ "key": FirewallGroupArgs{...} }

type FirewallGroupMapOutput

type FirewallGroupMapOutput struct{ *pulumi.OutputState }

func (FirewallGroupMapOutput) ElementType

func (FirewallGroupMapOutput) ElementType() reflect.Type

func (FirewallGroupMapOutput) MapIndex

func (FirewallGroupMapOutput) ToFirewallGroupMapOutput

func (o FirewallGroupMapOutput) ToFirewallGroupMapOutput() FirewallGroupMapOutput

func (FirewallGroupMapOutput) ToFirewallGroupMapOutputWithContext

func (o FirewallGroupMapOutput) ToFirewallGroupMapOutputWithContext(ctx context.Context) FirewallGroupMapOutput

type FirewallGroupOutput

type FirewallGroupOutput struct{ *pulumi.OutputState }

func (FirewallGroupOutput) DateCreated

func (o FirewallGroupOutput) DateCreated() pulumi.StringOutput

The date the firewall group was created.

func (FirewallGroupOutput) DateModified

func (o FirewallGroupOutput) DateModified() pulumi.StringOutput

The date the firewall group was modified.

func (FirewallGroupOutput) Description

func (o FirewallGroupOutput) Description() pulumi.StringPtrOutput

Description of the firewall group.

func (FirewallGroupOutput) ElementType

func (FirewallGroupOutput) ElementType() reflect.Type

func (FirewallGroupOutput) InstanceCount

func (o FirewallGroupOutput) InstanceCount() pulumi.IntOutput

The number of instances that are currently using this firewall group.

func (FirewallGroupOutput) MaxRuleCount

func (o FirewallGroupOutput) MaxRuleCount() pulumi.IntOutput

The number of max firewall rules this group can have.

func (FirewallGroupOutput) RuleCount

func (o FirewallGroupOutput) RuleCount() pulumi.IntOutput

The number of firewall rules this group currently has.

func (FirewallGroupOutput) ToFirewallGroupOutput

func (o FirewallGroupOutput) ToFirewallGroupOutput() FirewallGroupOutput

func (FirewallGroupOutput) ToFirewallGroupOutputWithContext

func (o FirewallGroupOutput) ToFirewallGroupOutputWithContext(ctx context.Context) FirewallGroupOutput

type FirewallGroupState

type FirewallGroupState struct {
	// The date the firewall group was created.
	DateCreated pulumi.StringPtrInput
	// The date the firewall group was modified.
	DateModified pulumi.StringPtrInput
	// Description of the firewall group.
	Description pulumi.StringPtrInput
	// The number of instances that are currently using this firewall group.
	InstanceCount pulumi.IntPtrInput
	// The number of max firewall rules this group can have.
	MaxRuleCount pulumi.IntPtrInput
	// The number of firewall rules this group currently has.
	RuleCount pulumi.IntPtrInput
}

func (FirewallGroupState) ElementType

func (FirewallGroupState) ElementType() reflect.Type

type FirewallRule

type FirewallRule struct {
	pulumi.CustomResourceState

	// The firewall group that the firewall rule will belong to.
	FirewallGroupId pulumi.StringOutput `pulumi:"firewallGroupId"`
	// The type of ip for this firewall rule. Possible values (v4, v6) **Note** they must be lowercase
	IpType pulumi.StringOutput `pulumi:"ipType"`
	// A simple note for a given firewall rule
	Notes pulumi.StringPtrOutput `pulumi:"notes"`
	// TCP/UDP only. This field can be a specific port or a colon separated port range.
	Port pulumi.StringPtrOutput `pulumi:"port"`
	// The type of protocol for this firewall rule. Possible values (icmp, tcp, udp, gre, esp, ah) **Note** they must be lowercase
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Possible values ("", cloudflare)
	Source pulumi.StringPtrOutput `pulumi:"source"`
	// IP address that you want to define for this firewall rule.
	Subnet pulumi.StringOutput `pulumi:"subnet"`
	// The number of bits for the subnet in CIDR notation. Example: 32.
	SubnetSize pulumi.IntOutput `pulumi:"subnetSize"`
}

Provides a Vultr Firewall Rule resource. This can be used to create, read, modify, and delete Firewall rules.

## Example Usage

Create a Firewall Rule

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myFirewallgroup, err := vultr.NewFirewallGroup(ctx, "myFirewallgroup", &vultr.FirewallGroupArgs{
			Description: pulumi.String("base firewall"),
		})
		if err != nil {
			return err
		}
		_, err = vultr.NewFirewallRule(ctx, "myFirewallrule", &vultr.FirewallRuleArgs{
			FirewallGroupId: myFirewallgroup.ID(),
			Protocol:        pulumi.String("tcp"),
			IpType:          pulumi.String("v4"),
			Subnet:          pulumi.String("0.0.0.0"),
			SubnetSize:      pulumi.Int(0),
			Port:            pulumi.String("8090"),
			Notes:           pulumi.String("my firewall rule"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Firewall Rules can be imported using the Firewall Group `ID` and Firewall Rule `ID`, e.g.

```sh

$ pulumi import vultr:index/firewallRule:FirewallRule my_rule b6a859c5-b299-49dd-8888-b1abbc517d08,1

```

func GetFirewallRule

func GetFirewallRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error)

GetFirewallRule gets an existing FirewallRule 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 NewFirewallRule

func NewFirewallRule(ctx *pulumi.Context,
	name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error)

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

func (*FirewallRule) ElementType

func (*FirewallRule) ElementType() reflect.Type

func (*FirewallRule) ToFirewallRuleOutput

func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput

func (*FirewallRule) ToFirewallRuleOutputWithContext

func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput

type FirewallRuleArgs

type FirewallRuleArgs struct {
	// The firewall group that the firewall rule will belong to.
	FirewallGroupId pulumi.StringInput
	// The type of ip for this firewall rule. Possible values (v4, v6) **Note** they must be lowercase
	IpType pulumi.StringInput
	// A simple note for a given firewall rule
	Notes pulumi.StringPtrInput
	// TCP/UDP only. This field can be a specific port or a colon separated port range.
	Port pulumi.StringPtrInput
	// The type of protocol for this firewall rule. Possible values (icmp, tcp, udp, gre, esp, ah) **Note** they must be lowercase
	Protocol pulumi.StringInput
	// Possible values ("", cloudflare)
	Source pulumi.StringPtrInput
	// IP address that you want to define for this firewall rule.
	Subnet pulumi.StringInput
	// The number of bits for the subnet in CIDR notation. Example: 32.
	SubnetSize pulumi.IntInput
}

The set of arguments for constructing a FirewallRule resource.

func (FirewallRuleArgs) ElementType

func (FirewallRuleArgs) ElementType() reflect.Type

type FirewallRuleArray

type FirewallRuleArray []FirewallRuleInput

func (FirewallRuleArray) ElementType

func (FirewallRuleArray) ElementType() reflect.Type

func (FirewallRuleArray) ToFirewallRuleArrayOutput

func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput

func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext

func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput

type FirewallRuleArrayInput

type FirewallRuleArrayInput interface {
	pulumi.Input

	ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
	ToFirewallRuleArrayOutputWithContext(context.Context) FirewallRuleArrayOutput
}

FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values. You can construct a concrete instance of `FirewallRuleArrayInput` via:

FirewallRuleArray{ FirewallRuleArgs{...} }

type FirewallRuleArrayOutput

type FirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (FirewallRuleArrayOutput) ElementType

func (FirewallRuleArrayOutput) ElementType() reflect.Type

func (FirewallRuleArrayOutput) Index

func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput

func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput

func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext

func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput

type FirewallRuleInput

type FirewallRuleInput interface {
	pulumi.Input

	ToFirewallRuleOutput() FirewallRuleOutput
	ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
}

type FirewallRuleMap

type FirewallRuleMap map[string]FirewallRuleInput

func (FirewallRuleMap) ElementType

func (FirewallRuleMap) ElementType() reflect.Type

func (FirewallRuleMap) ToFirewallRuleMapOutput

func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput

func (FirewallRuleMap) ToFirewallRuleMapOutputWithContext

func (i FirewallRuleMap) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput

type FirewallRuleMapInput

type FirewallRuleMapInput interface {
	pulumi.Input

	ToFirewallRuleMapOutput() FirewallRuleMapOutput
	ToFirewallRuleMapOutputWithContext(context.Context) FirewallRuleMapOutput
}

FirewallRuleMapInput is an input type that accepts FirewallRuleMap and FirewallRuleMapOutput values. You can construct a concrete instance of `FirewallRuleMapInput` via:

FirewallRuleMap{ "key": FirewallRuleArgs{...} }

type FirewallRuleMapOutput

type FirewallRuleMapOutput struct{ *pulumi.OutputState }

func (FirewallRuleMapOutput) ElementType

func (FirewallRuleMapOutput) ElementType() reflect.Type

func (FirewallRuleMapOutput) MapIndex

func (FirewallRuleMapOutput) ToFirewallRuleMapOutput

func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput

func (FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext

func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput

type FirewallRuleOutput

type FirewallRuleOutput struct{ *pulumi.OutputState }

func (FirewallRuleOutput) ElementType

func (FirewallRuleOutput) ElementType() reflect.Type

func (FirewallRuleOutput) FirewallGroupId

func (o FirewallRuleOutput) FirewallGroupId() pulumi.StringOutput

The firewall group that the firewall rule will belong to.

func (FirewallRuleOutput) IpType

The type of ip for this firewall rule. Possible values (v4, v6) **Note** they must be lowercase

func (FirewallRuleOutput) Notes

A simple note for a given firewall rule

func (FirewallRuleOutput) Port

TCP/UDP only. This field can be a specific port or a colon separated port range.

func (FirewallRuleOutput) Protocol

func (o FirewallRuleOutput) Protocol() pulumi.StringOutput

The type of protocol for this firewall rule. Possible values (icmp, tcp, udp, gre, esp, ah) **Note** they must be lowercase

func (FirewallRuleOutput) Source

Possible values ("", cloudflare)

func (FirewallRuleOutput) Subnet

IP address that you want to define for this firewall rule.

func (FirewallRuleOutput) SubnetSize

func (o FirewallRuleOutput) SubnetSize() pulumi.IntOutput

The number of bits for the subnet in CIDR notation. Example: 32.

func (FirewallRuleOutput) ToFirewallRuleOutput

func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput

func (FirewallRuleOutput) ToFirewallRuleOutputWithContext

func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput

type FirewallRuleState

type FirewallRuleState struct {
	// The firewall group that the firewall rule will belong to.
	FirewallGroupId pulumi.StringPtrInput
	// The type of ip for this firewall rule. Possible values (v4, v6) **Note** they must be lowercase
	IpType pulumi.StringPtrInput
	// A simple note for a given firewall rule
	Notes pulumi.StringPtrInput
	// TCP/UDP only. This field can be a specific port or a colon separated port range.
	Port pulumi.StringPtrInput
	// The type of protocol for this firewall rule. Possible values (icmp, tcp, udp, gre, esp, ah) **Note** they must be lowercase
	Protocol pulumi.StringPtrInput
	// Possible values ("", cloudflare)
	Source pulumi.StringPtrInput
	// IP address that you want to define for this firewall rule.
	Subnet pulumi.StringPtrInput
	// The number of bits for the subnet in CIDR notation. Example: 32.
	SubnetSize pulumi.IntPtrInput
}

func (FirewallRuleState) ElementType

func (FirewallRuleState) ElementType() reflect.Type

type GetAccountResult added in v2.12.1

type GetAccountResult struct {
	// The access control list on your Vultr account.
	Acls []string `pulumi:"acls"`
	// The current balance on your Vultr account.
	Balance float64 `pulumi:"balance"`
	// The email address on your Vultr account.
	Email string `pulumi:"email"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The amount of the last payment made on your Vultr account.
	LastPaymentAmount float64 `pulumi:"lastPaymentAmount"`
	// The date of the last payment made on your Vultr account.
	LastPaymentDate string `pulumi:"lastPaymentDate"`
	// The name on your Vultr account.
	Name string `pulumi:"name"`
	// The pending charges on your Vultr account.
	PendingCharges float64 `pulumi:"pendingCharges"`
}

A collection of values returned by getAccount.

func GetAccount added in v2.12.1

func GetAccount(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAccountResult, error)

Get information about your Vultr account. This data source provides the balance, pending charges, last payment date, and last payment amount for your Vultr account.

## Example Usage

Get the information for an account:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

type GetAccountResultOutput added in v2.16.4

type GetAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccount.

func GetAccountOutput added in v2.16.4

func GetAccountOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAccountResultOutput

func (GetAccountResultOutput) Acls added in v2.16.4

The access control list on your Vultr account.

func (GetAccountResultOutput) Balance added in v2.16.4

The current balance on your Vultr account.

func (GetAccountResultOutput) ElementType added in v2.16.4

func (GetAccountResultOutput) ElementType() reflect.Type

func (GetAccountResultOutput) Email added in v2.16.4

The email address on your Vultr account.

func (GetAccountResultOutput) Id added in v2.16.4

The provider-assigned unique ID for this managed resource.

func (GetAccountResultOutput) LastPaymentAmount added in v2.16.4

func (o GetAccountResultOutput) LastPaymentAmount() pulumi.Float64Output

The amount of the last payment made on your Vultr account.

func (GetAccountResultOutput) LastPaymentDate added in v2.16.4

func (o GetAccountResultOutput) LastPaymentDate() pulumi.StringOutput

The date of the last payment made on your Vultr account.

func (GetAccountResultOutput) Name added in v2.16.4

The name on your Vultr account.

func (GetAccountResultOutput) PendingCharges added in v2.16.4

func (o GetAccountResultOutput) PendingCharges() pulumi.Float64Output

The pending charges on your Vultr account.

func (GetAccountResultOutput) ToGetAccountResultOutput added in v2.16.4

func (o GetAccountResultOutput) ToGetAccountResultOutput() GetAccountResultOutput

func (GetAccountResultOutput) ToGetAccountResultOutputWithContext added in v2.16.4

func (o GetAccountResultOutput) ToGetAccountResultOutputWithContext(ctx context.Context) GetAccountResultOutput

type GetApplicationArgs

type GetApplicationArgs struct {
	// Query parameters for finding applications.
	Filters []GetApplicationFilter `pulumi:"filters"`
}

A collection of arguments for invoking getApplication.

type GetApplicationFilter

type GetApplicationFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetApplicationFilterArgs

type GetApplicationFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetApplicationFilterArgs) ElementType

func (GetApplicationFilterArgs) ElementType() reflect.Type

func (GetApplicationFilterArgs) ToGetApplicationFilterOutput

func (i GetApplicationFilterArgs) ToGetApplicationFilterOutput() GetApplicationFilterOutput

func (GetApplicationFilterArgs) ToGetApplicationFilterOutputWithContext

func (i GetApplicationFilterArgs) ToGetApplicationFilterOutputWithContext(ctx context.Context) GetApplicationFilterOutput

type GetApplicationFilterArray

type GetApplicationFilterArray []GetApplicationFilterInput

func (GetApplicationFilterArray) ElementType

func (GetApplicationFilterArray) ElementType() reflect.Type

func (GetApplicationFilterArray) ToGetApplicationFilterArrayOutput

func (i GetApplicationFilterArray) ToGetApplicationFilterArrayOutput() GetApplicationFilterArrayOutput

func (GetApplicationFilterArray) ToGetApplicationFilterArrayOutputWithContext

func (i GetApplicationFilterArray) ToGetApplicationFilterArrayOutputWithContext(ctx context.Context) GetApplicationFilterArrayOutput

type GetApplicationFilterArrayInput

type GetApplicationFilterArrayInput interface {
	pulumi.Input

	ToGetApplicationFilterArrayOutput() GetApplicationFilterArrayOutput
	ToGetApplicationFilterArrayOutputWithContext(context.Context) GetApplicationFilterArrayOutput
}

GetApplicationFilterArrayInput is an input type that accepts GetApplicationFilterArray and GetApplicationFilterArrayOutput values. You can construct a concrete instance of `GetApplicationFilterArrayInput` via:

GetApplicationFilterArray{ GetApplicationFilterArgs{...} }

type GetApplicationFilterArrayOutput

type GetApplicationFilterArrayOutput struct{ *pulumi.OutputState }

func (GetApplicationFilterArrayOutput) ElementType

func (GetApplicationFilterArrayOutput) Index

func (GetApplicationFilterArrayOutput) ToGetApplicationFilterArrayOutput

func (o GetApplicationFilterArrayOutput) ToGetApplicationFilterArrayOutput() GetApplicationFilterArrayOutput

func (GetApplicationFilterArrayOutput) ToGetApplicationFilterArrayOutputWithContext

func (o GetApplicationFilterArrayOutput) ToGetApplicationFilterArrayOutputWithContext(ctx context.Context) GetApplicationFilterArrayOutput

type GetApplicationFilterInput

type GetApplicationFilterInput interface {
	pulumi.Input

	ToGetApplicationFilterOutput() GetApplicationFilterOutput
	ToGetApplicationFilterOutputWithContext(context.Context) GetApplicationFilterOutput
}

GetApplicationFilterInput is an input type that accepts GetApplicationFilterArgs and GetApplicationFilterOutput values. You can construct a concrete instance of `GetApplicationFilterInput` via:

GetApplicationFilterArgs{...}

type GetApplicationFilterOutput

type GetApplicationFilterOutput struct{ *pulumi.OutputState }

func (GetApplicationFilterOutput) ElementType

func (GetApplicationFilterOutput) ElementType() reflect.Type

func (GetApplicationFilterOutput) Name

Attribute name to filter with.

func (GetApplicationFilterOutput) ToGetApplicationFilterOutput

func (o GetApplicationFilterOutput) ToGetApplicationFilterOutput() GetApplicationFilterOutput

func (GetApplicationFilterOutput) ToGetApplicationFilterOutputWithContext

func (o GetApplicationFilterOutput) ToGetApplicationFilterOutputWithContext(ctx context.Context) GetApplicationFilterOutput

func (GetApplicationFilterOutput) Values

One or more values filter with.

type GetApplicationOutputArgs

type GetApplicationOutputArgs struct {
	// Query parameters for finding applications.
	Filters GetApplicationFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getApplication.

func (GetApplicationOutputArgs) ElementType

func (GetApplicationOutputArgs) ElementType() reflect.Type

type GetApplicationResult

type GetApplicationResult struct {
	// The deploy name of the application.
	DeployName string                 `pulumi:"deployName"`
	Filters    []GetApplicationFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Marketplace ID for this application.
	ImageId string `pulumi:"imageId"`
	// The name of the application.
	Name string `pulumi:"name"`
	// The short name of the application.
	ShortName string `pulumi:"shortName"`
	// This defines if an application is `one-click` or `marketplace` .
	Type string `pulumi:"type"`
	// The vendor who authored the application.
	Vendor string `pulumi:"vendor"`
}

A collection of values returned by getApplication.

func GetApplication

func GetApplication(ctx *pulumi.Context, args *GetApplicationArgs, opts ...pulumi.InvokeOption) (*GetApplicationResult, error)

Get information about applications that can be launched when creating a Vultr VPS.

## Example Usage

Get the information for an application by `deployName`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.GetApplication(ctx, &vultr.GetApplicationArgs{
			Filters: []vultr.GetApplicationFilter{
				{
					Name: "deploy_name",
					Values: []string{
						"Docker on CentOS 7 x64",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetApplicationResultOutput

type GetApplicationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApplication.

func (GetApplicationResultOutput) DeployName

The deploy name of the application.

func (GetApplicationResultOutput) ElementType

func (GetApplicationResultOutput) ElementType() reflect.Type

func (GetApplicationResultOutput) Filters

func (GetApplicationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetApplicationResultOutput) ImageId

The Marketplace ID for this application.

func (GetApplicationResultOutput) Name

The name of the application.

func (GetApplicationResultOutput) ShortName

The short name of the application.

func (GetApplicationResultOutput) ToGetApplicationResultOutput

func (o GetApplicationResultOutput) ToGetApplicationResultOutput() GetApplicationResultOutput

func (GetApplicationResultOutput) ToGetApplicationResultOutputWithContext

func (o GetApplicationResultOutput) ToGetApplicationResultOutputWithContext(ctx context.Context) GetApplicationResultOutput

func (GetApplicationResultOutput) Type

This defines if an application is `one-click` or `marketplace` .

func (GetApplicationResultOutput) Vendor

The vendor who authored the application.

type GetBackupArgs added in v2.12.1

type GetBackupArgs struct {
	// Query parameters for finding backups.
	Filters []GetBackupFilter `pulumi:"filters"`
}

A collection of arguments for invoking getBackup.

type GetBackupFilter added in v2.12.1

type GetBackupFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetBackupFilterArgs added in v2.12.1

type GetBackupFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetBackupFilterArgs) ElementType added in v2.12.1

func (GetBackupFilterArgs) ElementType() reflect.Type

func (GetBackupFilterArgs) ToGetBackupFilterOutput added in v2.12.1

func (i GetBackupFilterArgs) ToGetBackupFilterOutput() GetBackupFilterOutput

func (GetBackupFilterArgs) ToGetBackupFilterOutputWithContext added in v2.12.1

func (i GetBackupFilterArgs) ToGetBackupFilterOutputWithContext(ctx context.Context) GetBackupFilterOutput

type GetBackupFilterArray added in v2.12.1

type GetBackupFilterArray []GetBackupFilterInput

func (GetBackupFilterArray) ElementType added in v2.12.1

func (GetBackupFilterArray) ElementType() reflect.Type

func (GetBackupFilterArray) ToGetBackupFilterArrayOutput added in v2.12.1

func (i GetBackupFilterArray) ToGetBackupFilterArrayOutput() GetBackupFilterArrayOutput

func (GetBackupFilterArray) ToGetBackupFilterArrayOutputWithContext added in v2.12.1

func (i GetBackupFilterArray) ToGetBackupFilterArrayOutputWithContext(ctx context.Context) GetBackupFilterArrayOutput

type GetBackupFilterArrayInput added in v2.12.1

type GetBackupFilterArrayInput interface {
	pulumi.Input

	ToGetBackupFilterArrayOutput() GetBackupFilterArrayOutput
	ToGetBackupFilterArrayOutputWithContext(context.Context) GetBackupFilterArrayOutput
}

GetBackupFilterArrayInput is an input type that accepts GetBackupFilterArray and GetBackupFilterArrayOutput values. You can construct a concrete instance of `GetBackupFilterArrayInput` via:

GetBackupFilterArray{ GetBackupFilterArgs{...} }

type GetBackupFilterArrayOutput added in v2.12.1

type GetBackupFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBackupFilterArrayOutput) ElementType added in v2.12.1

func (GetBackupFilterArrayOutput) ElementType() reflect.Type

func (GetBackupFilterArrayOutput) Index added in v2.12.1

func (GetBackupFilterArrayOutput) ToGetBackupFilterArrayOutput added in v2.12.1

func (o GetBackupFilterArrayOutput) ToGetBackupFilterArrayOutput() GetBackupFilterArrayOutput

func (GetBackupFilterArrayOutput) ToGetBackupFilterArrayOutputWithContext added in v2.12.1

func (o GetBackupFilterArrayOutput) ToGetBackupFilterArrayOutputWithContext(ctx context.Context) GetBackupFilterArrayOutput

type GetBackupFilterInput added in v2.12.1

type GetBackupFilterInput interface {
	pulumi.Input

	ToGetBackupFilterOutput() GetBackupFilterOutput
	ToGetBackupFilterOutputWithContext(context.Context) GetBackupFilterOutput
}

GetBackupFilterInput is an input type that accepts GetBackupFilterArgs and GetBackupFilterOutput values. You can construct a concrete instance of `GetBackupFilterInput` via:

GetBackupFilterArgs{...}

type GetBackupFilterOutput added in v2.12.1

type GetBackupFilterOutput struct{ *pulumi.OutputState }

func (GetBackupFilterOutput) ElementType added in v2.12.1

func (GetBackupFilterOutput) ElementType() reflect.Type

func (GetBackupFilterOutput) Name added in v2.12.1

Attribute name to filter with.

func (GetBackupFilterOutput) ToGetBackupFilterOutput added in v2.12.1

func (o GetBackupFilterOutput) ToGetBackupFilterOutput() GetBackupFilterOutput

func (GetBackupFilterOutput) ToGetBackupFilterOutputWithContext added in v2.12.1

func (o GetBackupFilterOutput) ToGetBackupFilterOutputWithContext(ctx context.Context) GetBackupFilterOutput

func (GetBackupFilterOutput) Values added in v2.12.1

One or more values filter with.

type GetBackupOutputArgs added in v2.12.1

type GetBackupOutputArgs struct {
	// Query parameters for finding backups.
	Filters GetBackupFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getBackup.

func (GetBackupOutputArgs) ElementType added in v2.12.1

func (GetBackupOutputArgs) ElementType() reflect.Type

type GetBackupResult added in v2.12.1

type GetBackupResult struct {
	Backups []map[string]interface{} `pulumi:"backups"`
	Filters []GetBackupFilter        `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getBackup.

func GetBackup added in v2.12.1

func GetBackup(ctx *pulumi.Context, args *GetBackupArgs, opts ...pulumi.InvokeOption) (*GetBackupResult, error)

Get information about a Vultr backup. This data source provides a list of backups which contain the description, size, status, and the creation date for your Vultr backup.

## Example Usage

Get the information for a backup by `description`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.GetBackup(ctx, &vultr.GetBackupArgs{
			Filters: []vultr.GetBackupFilter{
				{
					Name: "description",
					Values: []string{
						"my-backup-description",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetBackupResultOutput added in v2.12.1

type GetBackupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBackup.

func GetBackupOutput added in v2.12.1

func GetBackupOutput(ctx *pulumi.Context, args GetBackupOutputArgs, opts ...pulumi.InvokeOption) GetBackupResultOutput

func (GetBackupResultOutput) Backups added in v2.12.1

func (GetBackupResultOutput) ElementType added in v2.12.1

func (GetBackupResultOutput) ElementType() reflect.Type

func (GetBackupResultOutput) Filters added in v2.12.1

func (GetBackupResultOutput) Id added in v2.12.1

The provider-assigned unique ID for this managed resource.

func (GetBackupResultOutput) ToGetBackupResultOutput added in v2.12.1

func (o GetBackupResultOutput) ToGetBackupResultOutput() GetBackupResultOutput

func (GetBackupResultOutput) ToGetBackupResultOutputWithContext added in v2.12.1

func (o GetBackupResultOutput) ToGetBackupResultOutputWithContext(ctx context.Context) GetBackupResultOutput

type GetBareMetalPlanArgs added in v2.12.1

type GetBareMetalPlanArgs struct {
	// Query parameters for finding plans.
	Filters []GetBareMetalPlanFilter `pulumi:"filters"`
}

A collection of arguments for invoking getBareMetalPlan.

type GetBareMetalPlanFilter added in v2.12.1

type GetBareMetalPlanFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetBareMetalPlanFilterArgs added in v2.12.1

type GetBareMetalPlanFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetBareMetalPlanFilterArgs) ElementType added in v2.12.1

func (GetBareMetalPlanFilterArgs) ElementType() reflect.Type

func (GetBareMetalPlanFilterArgs) ToGetBareMetalPlanFilterOutput added in v2.12.1

func (i GetBareMetalPlanFilterArgs) ToGetBareMetalPlanFilterOutput() GetBareMetalPlanFilterOutput

func (GetBareMetalPlanFilterArgs) ToGetBareMetalPlanFilterOutputWithContext added in v2.12.1

func (i GetBareMetalPlanFilterArgs) ToGetBareMetalPlanFilterOutputWithContext(ctx context.Context) GetBareMetalPlanFilterOutput

type GetBareMetalPlanFilterArray added in v2.12.1

type GetBareMetalPlanFilterArray []GetBareMetalPlanFilterInput

func (GetBareMetalPlanFilterArray) ElementType added in v2.12.1

func (GetBareMetalPlanFilterArray) ToGetBareMetalPlanFilterArrayOutput added in v2.12.1

func (i GetBareMetalPlanFilterArray) ToGetBareMetalPlanFilterArrayOutput() GetBareMetalPlanFilterArrayOutput

func (GetBareMetalPlanFilterArray) ToGetBareMetalPlanFilterArrayOutputWithContext added in v2.12.1

func (i GetBareMetalPlanFilterArray) ToGetBareMetalPlanFilterArrayOutputWithContext(ctx context.Context) GetBareMetalPlanFilterArrayOutput

type GetBareMetalPlanFilterArrayInput added in v2.12.1

type GetBareMetalPlanFilterArrayInput interface {
	pulumi.Input

	ToGetBareMetalPlanFilterArrayOutput() GetBareMetalPlanFilterArrayOutput
	ToGetBareMetalPlanFilterArrayOutputWithContext(context.Context) GetBareMetalPlanFilterArrayOutput
}

GetBareMetalPlanFilterArrayInput is an input type that accepts GetBareMetalPlanFilterArray and GetBareMetalPlanFilterArrayOutput values. You can construct a concrete instance of `GetBareMetalPlanFilterArrayInput` via:

GetBareMetalPlanFilterArray{ GetBareMetalPlanFilterArgs{...} }

type GetBareMetalPlanFilterArrayOutput added in v2.12.1

type GetBareMetalPlanFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBareMetalPlanFilterArrayOutput) ElementType added in v2.12.1

func (GetBareMetalPlanFilterArrayOutput) Index added in v2.12.1

func (GetBareMetalPlanFilterArrayOutput) ToGetBareMetalPlanFilterArrayOutput added in v2.12.1

func (o GetBareMetalPlanFilterArrayOutput) ToGetBareMetalPlanFilterArrayOutput() GetBareMetalPlanFilterArrayOutput

func (GetBareMetalPlanFilterArrayOutput) ToGetBareMetalPlanFilterArrayOutputWithContext added in v2.12.1

func (o GetBareMetalPlanFilterArrayOutput) ToGetBareMetalPlanFilterArrayOutputWithContext(ctx context.Context) GetBareMetalPlanFilterArrayOutput

type GetBareMetalPlanFilterInput added in v2.12.1

type GetBareMetalPlanFilterInput interface {
	pulumi.Input

	ToGetBareMetalPlanFilterOutput() GetBareMetalPlanFilterOutput
	ToGetBareMetalPlanFilterOutputWithContext(context.Context) GetBareMetalPlanFilterOutput
}

GetBareMetalPlanFilterInput is an input type that accepts GetBareMetalPlanFilterArgs and GetBareMetalPlanFilterOutput values. You can construct a concrete instance of `GetBareMetalPlanFilterInput` via:

GetBareMetalPlanFilterArgs{...}

type GetBareMetalPlanFilterOutput added in v2.12.1

type GetBareMetalPlanFilterOutput struct{ *pulumi.OutputState }

func (GetBareMetalPlanFilterOutput) ElementType added in v2.12.1

func (GetBareMetalPlanFilterOutput) Name added in v2.12.1

Attribute name to filter with.

func (GetBareMetalPlanFilterOutput) ToGetBareMetalPlanFilterOutput added in v2.12.1

func (o GetBareMetalPlanFilterOutput) ToGetBareMetalPlanFilterOutput() GetBareMetalPlanFilterOutput

func (GetBareMetalPlanFilterOutput) ToGetBareMetalPlanFilterOutputWithContext added in v2.12.1

func (o GetBareMetalPlanFilterOutput) ToGetBareMetalPlanFilterOutputWithContext(ctx context.Context) GetBareMetalPlanFilterOutput

func (GetBareMetalPlanFilterOutput) Values added in v2.12.1

One or more values filter with.

type GetBareMetalPlanOutputArgs added in v2.12.1

type GetBareMetalPlanOutputArgs struct {
	// Query parameters for finding plans.
	Filters GetBareMetalPlanFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getBareMetalPlan.

func (GetBareMetalPlanOutputArgs) ElementType added in v2.12.1

func (GetBareMetalPlanOutputArgs) ElementType() reflect.Type

type GetBareMetalPlanResult added in v2.12.1

type GetBareMetalPlanResult struct {
	// The bandwidth available on the plan.
	Bandwidth int `pulumi:"bandwidth"`
	// The number of CPUs available on the plan.
	CpuCount int `pulumi:"cpuCount"`
	// The CPU model of the plan.
	CpuModel string `pulumi:"cpuModel"`
	// The number of CPU threads.
	CpuThreads int `pulumi:"cpuThreads"`
	// The description of the disk(s) on the plan.
	Disk int `pulumi:"disk"`
	// The number of disks that this plan offers.
	DiskCount int                      `pulumi:"diskCount"`
	Filters   []GetBareMetalPlanFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Locations []string `pulumi:"locations"`
	// The price per month of the plan in USD.
	MonthlyCost int `pulumi:"monthlyCost"`
	// The amount of memory available on the plan in MB.
	Ram int `pulumi:"ram"`
	// The type of plan it is.
	Type string `pulumi:"type"`
}

A collection of values returned by getBareMetalPlan.

func GetBareMetalPlan added in v2.12.1

func GetBareMetalPlan(ctx *pulumi.Context, args *GetBareMetalPlanArgs, opts ...pulumi.InvokeOption) (*GetBareMetalPlanResult, error)

Get information about a Vultr bare metal server plan.

## Example Usage

Get the information for a plan by `id`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.GetBareMetalPlan(ctx, &vultr.GetBareMetalPlanArgs{
			Filters: []vultr.GetBareMetalPlanFilter{
				{
					Name: "id",
					Values: []string{
						"vbm-4c-32gb",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetBareMetalPlanResultOutput added in v2.12.1

type GetBareMetalPlanResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBareMetalPlan.

func GetBareMetalPlanOutput added in v2.12.1

func (GetBareMetalPlanResultOutput) Bandwidth added in v2.12.1

The bandwidth available on the plan.

func (GetBareMetalPlanResultOutput) CpuCount added in v2.12.1

The number of CPUs available on the plan.

func (GetBareMetalPlanResultOutput) CpuModel added in v2.12.1

The CPU model of the plan.

func (GetBareMetalPlanResultOutput) CpuThreads added in v2.12.1

The number of CPU threads.

func (GetBareMetalPlanResultOutput) Disk added in v2.12.1

The description of the disk(s) on the plan.

func (GetBareMetalPlanResultOutput) DiskCount added in v2.12.1

The number of disks that this plan offers.

func (GetBareMetalPlanResultOutput) ElementType added in v2.12.1

func (GetBareMetalPlanResultOutput) Filters added in v2.12.1

func (GetBareMetalPlanResultOutput) Id added in v2.12.1

The provider-assigned unique ID for this managed resource.

func (GetBareMetalPlanResultOutput) Locations added in v2.12.1

func (GetBareMetalPlanResultOutput) MonthlyCost added in v2.12.1

The price per month of the plan in USD.

func (GetBareMetalPlanResultOutput) Ram added in v2.12.1

The amount of memory available on the plan in MB.

func (GetBareMetalPlanResultOutput) ToGetBareMetalPlanResultOutput added in v2.12.1

func (o GetBareMetalPlanResultOutput) ToGetBareMetalPlanResultOutput() GetBareMetalPlanResultOutput

func (GetBareMetalPlanResultOutput) ToGetBareMetalPlanResultOutputWithContext added in v2.12.1

func (o GetBareMetalPlanResultOutput) ToGetBareMetalPlanResultOutputWithContext(ctx context.Context) GetBareMetalPlanResultOutput

func (GetBareMetalPlanResultOutput) Type added in v2.12.1

The type of plan it is.

type GetBareMetalServerFilter added in v2.12.1

type GetBareMetalServerFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetBareMetalServerFilterArgs added in v2.12.1

type GetBareMetalServerFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetBareMetalServerFilterArgs) ElementType added in v2.12.1

func (GetBareMetalServerFilterArgs) ToGetBareMetalServerFilterOutput added in v2.12.1

func (i GetBareMetalServerFilterArgs) ToGetBareMetalServerFilterOutput() GetBareMetalServerFilterOutput

func (GetBareMetalServerFilterArgs) ToGetBareMetalServerFilterOutputWithContext added in v2.12.1

func (i GetBareMetalServerFilterArgs) ToGetBareMetalServerFilterOutputWithContext(ctx context.Context) GetBareMetalServerFilterOutput

type GetBareMetalServerFilterArray added in v2.12.1

type GetBareMetalServerFilterArray []GetBareMetalServerFilterInput

func (GetBareMetalServerFilterArray) ElementType added in v2.12.1

func (GetBareMetalServerFilterArray) ToGetBareMetalServerFilterArrayOutput added in v2.12.1

func (i GetBareMetalServerFilterArray) ToGetBareMetalServerFilterArrayOutput() GetBareMetalServerFilterArrayOutput

func (GetBareMetalServerFilterArray) ToGetBareMetalServerFilterArrayOutputWithContext added in v2.12.1

func (i GetBareMetalServerFilterArray) ToGetBareMetalServerFilterArrayOutputWithContext(ctx context.Context) GetBareMetalServerFilterArrayOutput

type GetBareMetalServerFilterArrayInput added in v2.12.1

type GetBareMetalServerFilterArrayInput interface {
	pulumi.Input

	ToGetBareMetalServerFilterArrayOutput() GetBareMetalServerFilterArrayOutput
	ToGetBareMetalServerFilterArrayOutputWithContext(context.Context) GetBareMetalServerFilterArrayOutput
}

GetBareMetalServerFilterArrayInput is an input type that accepts GetBareMetalServerFilterArray and GetBareMetalServerFilterArrayOutput values. You can construct a concrete instance of `GetBareMetalServerFilterArrayInput` via:

GetBareMetalServerFilterArray{ GetBareMetalServerFilterArgs{...} }

type GetBareMetalServerFilterArrayOutput added in v2.12.1

type GetBareMetalServerFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBareMetalServerFilterArrayOutput) ElementType added in v2.12.1

func (GetBareMetalServerFilterArrayOutput) Index added in v2.12.1

func (GetBareMetalServerFilterArrayOutput) ToGetBareMetalServerFilterArrayOutput added in v2.12.1

func (o GetBareMetalServerFilterArrayOutput) ToGetBareMetalServerFilterArrayOutput() GetBareMetalServerFilterArrayOutput

func (GetBareMetalServerFilterArrayOutput) ToGetBareMetalServerFilterArrayOutputWithContext added in v2.12.1

func (o GetBareMetalServerFilterArrayOutput) ToGetBareMetalServerFilterArrayOutputWithContext(ctx context.Context) GetBareMetalServerFilterArrayOutput

type GetBareMetalServerFilterInput added in v2.12.1

type GetBareMetalServerFilterInput interface {
	pulumi.Input

	ToGetBareMetalServerFilterOutput() GetBareMetalServerFilterOutput
	ToGetBareMetalServerFilterOutputWithContext(context.Context) GetBareMetalServerFilterOutput
}

GetBareMetalServerFilterInput is an input type that accepts GetBareMetalServerFilterArgs and GetBareMetalServerFilterOutput values. You can construct a concrete instance of `GetBareMetalServerFilterInput` via:

GetBareMetalServerFilterArgs{...}

type GetBareMetalServerFilterOutput added in v2.12.1

type GetBareMetalServerFilterOutput struct{ *pulumi.OutputState }

func (GetBareMetalServerFilterOutput) ElementType added in v2.12.1

func (GetBareMetalServerFilterOutput) Name added in v2.12.1

Attribute name to filter with.

func (GetBareMetalServerFilterOutput) ToGetBareMetalServerFilterOutput added in v2.12.1

func (o GetBareMetalServerFilterOutput) ToGetBareMetalServerFilterOutput() GetBareMetalServerFilterOutput

func (GetBareMetalServerFilterOutput) ToGetBareMetalServerFilterOutputWithContext added in v2.12.1

func (o GetBareMetalServerFilterOutput) ToGetBareMetalServerFilterOutputWithContext(ctx context.Context) GetBareMetalServerFilterOutput

func (GetBareMetalServerFilterOutput) Values added in v2.12.1

One or more values filter with.

type GetBlockStorageFilter added in v2.12.1

type GetBlockStorageFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetBlockStorageFilterArgs added in v2.12.1

type GetBlockStorageFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetBlockStorageFilterArgs) ElementType added in v2.12.1

func (GetBlockStorageFilterArgs) ElementType() reflect.Type

func (GetBlockStorageFilterArgs) ToGetBlockStorageFilterOutput added in v2.12.1

func (i GetBlockStorageFilterArgs) ToGetBlockStorageFilterOutput() GetBlockStorageFilterOutput

func (GetBlockStorageFilterArgs) ToGetBlockStorageFilterOutputWithContext added in v2.12.1

func (i GetBlockStorageFilterArgs) ToGetBlockStorageFilterOutputWithContext(ctx context.Context) GetBlockStorageFilterOutput

type GetBlockStorageFilterArray added in v2.12.1

type GetBlockStorageFilterArray []GetBlockStorageFilterInput

func (GetBlockStorageFilterArray) ElementType added in v2.12.1

func (GetBlockStorageFilterArray) ElementType() reflect.Type

func (GetBlockStorageFilterArray) ToGetBlockStorageFilterArrayOutput added in v2.12.1

func (i GetBlockStorageFilterArray) ToGetBlockStorageFilterArrayOutput() GetBlockStorageFilterArrayOutput

func (GetBlockStorageFilterArray) ToGetBlockStorageFilterArrayOutputWithContext added in v2.12.1

func (i GetBlockStorageFilterArray) ToGetBlockStorageFilterArrayOutputWithContext(ctx context.Context) GetBlockStorageFilterArrayOutput

type GetBlockStorageFilterArrayInput added in v2.12.1

type GetBlockStorageFilterArrayInput interface {
	pulumi.Input

	ToGetBlockStorageFilterArrayOutput() GetBlockStorageFilterArrayOutput
	ToGetBlockStorageFilterArrayOutputWithContext(context.Context) GetBlockStorageFilterArrayOutput
}

GetBlockStorageFilterArrayInput is an input type that accepts GetBlockStorageFilterArray and GetBlockStorageFilterArrayOutput values. You can construct a concrete instance of `GetBlockStorageFilterArrayInput` via:

GetBlockStorageFilterArray{ GetBlockStorageFilterArgs{...} }

type GetBlockStorageFilterArrayOutput added in v2.12.1

type GetBlockStorageFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBlockStorageFilterArrayOutput) ElementType added in v2.12.1

func (GetBlockStorageFilterArrayOutput) Index added in v2.12.1

func (GetBlockStorageFilterArrayOutput) ToGetBlockStorageFilterArrayOutput added in v2.12.1

func (o GetBlockStorageFilterArrayOutput) ToGetBlockStorageFilterArrayOutput() GetBlockStorageFilterArrayOutput

func (GetBlockStorageFilterArrayOutput) ToGetBlockStorageFilterArrayOutputWithContext added in v2.12.1

func (o GetBlockStorageFilterArrayOutput) ToGetBlockStorageFilterArrayOutputWithContext(ctx context.Context) GetBlockStorageFilterArrayOutput

type GetBlockStorageFilterInput added in v2.12.1

type GetBlockStorageFilterInput interface {
	pulumi.Input

	ToGetBlockStorageFilterOutput() GetBlockStorageFilterOutput
	ToGetBlockStorageFilterOutputWithContext(context.Context) GetBlockStorageFilterOutput
}

GetBlockStorageFilterInput is an input type that accepts GetBlockStorageFilterArgs and GetBlockStorageFilterOutput values. You can construct a concrete instance of `GetBlockStorageFilterInput` via:

GetBlockStorageFilterArgs{...}

type GetBlockStorageFilterOutput added in v2.12.1

type GetBlockStorageFilterOutput struct{ *pulumi.OutputState }

func (GetBlockStorageFilterOutput) ElementType added in v2.12.1

func (GetBlockStorageFilterOutput) Name added in v2.12.1

Attribute name to filter with.

func (GetBlockStorageFilterOutput) ToGetBlockStorageFilterOutput added in v2.12.1

func (o GetBlockStorageFilterOutput) ToGetBlockStorageFilterOutput() GetBlockStorageFilterOutput

func (GetBlockStorageFilterOutput) ToGetBlockStorageFilterOutputWithContext added in v2.12.1

func (o GetBlockStorageFilterOutput) ToGetBlockStorageFilterOutputWithContext(ctx context.Context) GetBlockStorageFilterOutput

func (GetBlockStorageFilterOutput) Values added in v2.12.1

One or more values filter with.

type GetDatabaseFilter added in v2.15.0

type GetDatabaseFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetDatabaseFilterArgs added in v2.15.0

type GetDatabaseFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetDatabaseFilterArgs) ElementType added in v2.15.0

func (GetDatabaseFilterArgs) ElementType() reflect.Type

func (GetDatabaseFilterArgs) ToGetDatabaseFilterOutput added in v2.15.0

func (i GetDatabaseFilterArgs) ToGetDatabaseFilterOutput() GetDatabaseFilterOutput

func (GetDatabaseFilterArgs) ToGetDatabaseFilterOutputWithContext added in v2.15.0

func (i GetDatabaseFilterArgs) ToGetDatabaseFilterOutputWithContext(ctx context.Context) GetDatabaseFilterOutput

type GetDatabaseFilterArray added in v2.15.0

type GetDatabaseFilterArray []GetDatabaseFilterInput

func (GetDatabaseFilterArray) ElementType added in v2.15.0

func (GetDatabaseFilterArray) ElementType() reflect.Type

func (GetDatabaseFilterArray) ToGetDatabaseFilterArrayOutput added in v2.15.0

func (i GetDatabaseFilterArray) ToGetDatabaseFilterArrayOutput() GetDatabaseFilterArrayOutput

func (GetDatabaseFilterArray) ToGetDatabaseFilterArrayOutputWithContext added in v2.15.0

func (i GetDatabaseFilterArray) ToGetDatabaseFilterArrayOutputWithContext(ctx context.Context) GetDatabaseFilterArrayOutput

type GetDatabaseFilterArrayInput added in v2.15.0

type GetDatabaseFilterArrayInput interface {
	pulumi.Input

	ToGetDatabaseFilterArrayOutput() GetDatabaseFilterArrayOutput
	ToGetDatabaseFilterArrayOutputWithContext(context.Context) GetDatabaseFilterArrayOutput
}

GetDatabaseFilterArrayInput is an input type that accepts GetDatabaseFilterArray and GetDatabaseFilterArrayOutput values. You can construct a concrete instance of `GetDatabaseFilterArrayInput` via:

GetDatabaseFilterArray{ GetDatabaseFilterArgs{...} }

type GetDatabaseFilterArrayOutput added in v2.15.0

type GetDatabaseFilterArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseFilterArrayOutput) ElementType added in v2.15.0

func (GetDatabaseFilterArrayOutput) Index added in v2.15.0

func (GetDatabaseFilterArrayOutput) ToGetDatabaseFilterArrayOutput added in v2.15.0

func (o GetDatabaseFilterArrayOutput) ToGetDatabaseFilterArrayOutput() GetDatabaseFilterArrayOutput

func (GetDatabaseFilterArrayOutput) ToGetDatabaseFilterArrayOutputWithContext added in v2.15.0

func (o GetDatabaseFilterArrayOutput) ToGetDatabaseFilterArrayOutputWithContext(ctx context.Context) GetDatabaseFilterArrayOutput

type GetDatabaseFilterInput added in v2.15.0

type GetDatabaseFilterInput interface {
	pulumi.Input

	ToGetDatabaseFilterOutput() GetDatabaseFilterOutput
	ToGetDatabaseFilterOutputWithContext(context.Context) GetDatabaseFilterOutput
}

GetDatabaseFilterInput is an input type that accepts GetDatabaseFilterArgs and GetDatabaseFilterOutput values. You can construct a concrete instance of `GetDatabaseFilterInput` via:

GetDatabaseFilterArgs{...}

type GetDatabaseFilterOutput added in v2.15.0

type GetDatabaseFilterOutput struct{ *pulumi.OutputState }

func (GetDatabaseFilterOutput) ElementType added in v2.15.0

func (GetDatabaseFilterOutput) ElementType() reflect.Type

func (GetDatabaseFilterOutput) Name added in v2.15.0

Attribute name to filter with.

func (GetDatabaseFilterOutput) ToGetDatabaseFilterOutput added in v2.15.0

func (o GetDatabaseFilterOutput) ToGetDatabaseFilterOutput() GetDatabaseFilterOutput

func (GetDatabaseFilterOutput) ToGetDatabaseFilterOutputWithContext added in v2.15.0

func (o GetDatabaseFilterOutput) ToGetDatabaseFilterOutputWithContext(ctx context.Context) GetDatabaseFilterOutput

func (GetDatabaseFilterOutput) Values added in v2.15.0

One or more values filter with.

type GetDatabaseReadReplica added in v2.15.0

type GetDatabaseReadReplica struct {
	// The configured time zone for the Managed Database in TZ database format.
	ClusterTimeZone string `pulumi:"clusterTimeZone"`
	// The database engine of the managed database.
	DatabaseEngine string `pulumi:"databaseEngine"`
	// The database engine version of the managed database.
	DatabaseEngineVersion string `pulumi:"databaseEngineVersion"`
	// The date the managed database was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The managed database's default logical database.
	Dbname string `pulumi:"dbname"`
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials map[string]interface{} `pulumi:"ferretdbCredentials"`
	// The hostname assigned to the managed database.
	Host string `pulumi:"host"`
	Id   string `pulumi:"id"`
	// The managed database's label.
	Label string `pulumi:"label"`
	// The date of the latest backup available on the managed database.
	LatestBackup string `pulumi:"latestBackup"`
	// The preferred maintenance day of week for the managed database.
	MaintenanceDow string `pulumi:"maintenanceDow"`
	// The preferred maintenance time for the managed database.
	MaintenanceTime string `pulumi:"maintenanceTime"`
	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	MysqlLongQueryTime int `pulumi:"mysqlLongQueryTime"`
	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	MysqlRequirePrimaryKey bool `pulumi:"mysqlRequirePrimaryKey"`
	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	MysqlSlowQueryLog bool `pulumi:"mysqlSlowQueryLog"`
	// A list of SQL modes currently configured for the managed database (MySQL engine types only).
	MysqlSqlModes []string `pulumi:"mysqlSqlModes"`
	// The password for the managed database's primary admin user.
	Password string `pulumi:"password"`
	// The managed database's plan ID.
	Plan string `pulumi:"plan"`
	// The description of the disk(s) on the managed database.
	PlanDisk int `pulumi:"planDisk"`
	// The amount of memory available on the managed database in MB.
	PlanRam int `pulumi:"planRam"`
	// The number of standby nodes available on the managed database.
	PlanReplicas int `pulumi:"planReplicas"`
	// The number of virtual CPUs available on the managed database.
	PlanVcpus int `pulumi:"planVcpus"`
	// The connection port for the managed database.
	Port string `pulumi:"port"`
	// The public hostname assigned to the managed database (VPC-attached only).
	PublicHost string `pulumi:"publicHost"`
	// The configuration value for the data eviction policy on the managed database (Redis engine types only).
	RedisEvictionPolicy string `pulumi:"redisEvictionPolicy"`
	// The region ID of the managed database.
	Region string `pulumi:"region"`
	// The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
	Status string `pulumi:"status"`
	// The managed database's tag.
	Tag string `pulumi:"tag"`
	// A list of allowed IP addresses for the managed database.
	TrustedIps []string `pulumi:"trustedIps"`
	// The primary admin user for the managed database.
	User string `pulumi:"user"`
	// The ID of the VPC Network attached to the Managed Database.
	VpcId string `pulumi:"vpcId"`
}

type GetDatabaseReadReplicaArgs added in v2.15.0

type GetDatabaseReadReplicaArgs struct {
	// The configured time zone for the Managed Database in TZ database format.
	ClusterTimeZone pulumi.StringInput `pulumi:"clusterTimeZone"`
	// The database engine of the managed database.
	DatabaseEngine pulumi.StringInput `pulumi:"databaseEngine"`
	// The database engine version of the managed database.
	DatabaseEngineVersion pulumi.StringInput `pulumi:"databaseEngineVersion"`
	// The date the managed database was added to your Vultr account.
	DateCreated pulumi.StringInput `pulumi:"dateCreated"`
	// The managed database's default logical database.
	Dbname pulumi.StringInput `pulumi:"dbname"`
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials pulumi.MapInput `pulumi:"ferretdbCredentials"`
	// The hostname assigned to the managed database.
	Host pulumi.StringInput `pulumi:"host"`
	Id   pulumi.StringInput `pulumi:"id"`
	// The managed database's label.
	Label pulumi.StringInput `pulumi:"label"`
	// The date of the latest backup available on the managed database.
	LatestBackup pulumi.StringInput `pulumi:"latestBackup"`
	// The preferred maintenance day of week for the managed database.
	MaintenanceDow pulumi.StringInput `pulumi:"maintenanceDow"`
	// The preferred maintenance time for the managed database.
	MaintenanceTime pulumi.StringInput `pulumi:"maintenanceTime"`
	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	MysqlLongQueryTime pulumi.IntInput `pulumi:"mysqlLongQueryTime"`
	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	MysqlRequirePrimaryKey pulumi.BoolInput `pulumi:"mysqlRequirePrimaryKey"`
	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	MysqlSlowQueryLog pulumi.BoolInput `pulumi:"mysqlSlowQueryLog"`
	// A list of SQL modes currently configured for the managed database (MySQL engine types only).
	MysqlSqlModes pulumi.StringArrayInput `pulumi:"mysqlSqlModes"`
	// The password for the managed database's primary admin user.
	Password pulumi.StringInput `pulumi:"password"`
	// The managed database's plan ID.
	Plan pulumi.StringInput `pulumi:"plan"`
	// The description of the disk(s) on the managed database.
	PlanDisk pulumi.IntInput `pulumi:"planDisk"`
	// The amount of memory available on the managed database in MB.
	PlanRam pulumi.IntInput `pulumi:"planRam"`
	// The number of standby nodes available on the managed database.
	PlanReplicas pulumi.IntInput `pulumi:"planReplicas"`
	// The number of virtual CPUs available on the managed database.
	PlanVcpus pulumi.IntInput `pulumi:"planVcpus"`
	// The connection port for the managed database.
	Port pulumi.StringInput `pulumi:"port"`
	// The public hostname assigned to the managed database (VPC-attached only).
	PublicHost pulumi.StringInput `pulumi:"publicHost"`
	// The configuration value for the data eviction policy on the managed database (Redis engine types only).
	RedisEvictionPolicy pulumi.StringInput `pulumi:"redisEvictionPolicy"`
	// The region ID of the managed database.
	Region pulumi.StringInput `pulumi:"region"`
	// The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
	Status pulumi.StringInput `pulumi:"status"`
	// The managed database's tag.
	Tag pulumi.StringInput `pulumi:"tag"`
	// A list of allowed IP addresses for the managed database.
	TrustedIps pulumi.StringArrayInput `pulumi:"trustedIps"`
	// The primary admin user for the managed database.
	User pulumi.StringInput `pulumi:"user"`
	// The ID of the VPC Network attached to the Managed Database.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetDatabaseReadReplicaArgs) ElementType added in v2.15.0

func (GetDatabaseReadReplicaArgs) ElementType() reflect.Type

func (GetDatabaseReadReplicaArgs) ToGetDatabaseReadReplicaOutput added in v2.15.0

func (i GetDatabaseReadReplicaArgs) ToGetDatabaseReadReplicaOutput() GetDatabaseReadReplicaOutput

func (GetDatabaseReadReplicaArgs) ToGetDatabaseReadReplicaOutputWithContext added in v2.15.0

func (i GetDatabaseReadReplicaArgs) ToGetDatabaseReadReplicaOutputWithContext(ctx context.Context) GetDatabaseReadReplicaOutput

type GetDatabaseReadReplicaArray added in v2.15.0

type GetDatabaseReadReplicaArray []GetDatabaseReadReplicaInput

func (GetDatabaseReadReplicaArray) ElementType added in v2.15.0

func (GetDatabaseReadReplicaArray) ToGetDatabaseReadReplicaArrayOutput added in v2.15.0

func (i GetDatabaseReadReplicaArray) ToGetDatabaseReadReplicaArrayOutput() GetDatabaseReadReplicaArrayOutput

func (GetDatabaseReadReplicaArray) ToGetDatabaseReadReplicaArrayOutputWithContext added in v2.15.0

func (i GetDatabaseReadReplicaArray) ToGetDatabaseReadReplicaArrayOutputWithContext(ctx context.Context) GetDatabaseReadReplicaArrayOutput

type GetDatabaseReadReplicaArrayInput added in v2.15.0

type GetDatabaseReadReplicaArrayInput interface {
	pulumi.Input

	ToGetDatabaseReadReplicaArrayOutput() GetDatabaseReadReplicaArrayOutput
	ToGetDatabaseReadReplicaArrayOutputWithContext(context.Context) GetDatabaseReadReplicaArrayOutput
}

GetDatabaseReadReplicaArrayInput is an input type that accepts GetDatabaseReadReplicaArray and GetDatabaseReadReplicaArrayOutput values. You can construct a concrete instance of `GetDatabaseReadReplicaArrayInput` via:

GetDatabaseReadReplicaArray{ GetDatabaseReadReplicaArgs{...} }

type GetDatabaseReadReplicaArrayOutput added in v2.15.0

type GetDatabaseReadReplicaArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseReadReplicaArrayOutput) ElementType added in v2.15.0

func (GetDatabaseReadReplicaArrayOutput) Index added in v2.15.0

func (GetDatabaseReadReplicaArrayOutput) ToGetDatabaseReadReplicaArrayOutput added in v2.15.0

func (o GetDatabaseReadReplicaArrayOutput) ToGetDatabaseReadReplicaArrayOutput() GetDatabaseReadReplicaArrayOutput

func (GetDatabaseReadReplicaArrayOutput) ToGetDatabaseReadReplicaArrayOutputWithContext added in v2.15.0

func (o GetDatabaseReadReplicaArrayOutput) ToGetDatabaseReadReplicaArrayOutputWithContext(ctx context.Context) GetDatabaseReadReplicaArrayOutput

type GetDatabaseReadReplicaInput added in v2.15.0

type GetDatabaseReadReplicaInput interface {
	pulumi.Input

	ToGetDatabaseReadReplicaOutput() GetDatabaseReadReplicaOutput
	ToGetDatabaseReadReplicaOutputWithContext(context.Context) GetDatabaseReadReplicaOutput
}

GetDatabaseReadReplicaInput is an input type that accepts GetDatabaseReadReplicaArgs and GetDatabaseReadReplicaOutput values. You can construct a concrete instance of `GetDatabaseReadReplicaInput` via:

GetDatabaseReadReplicaArgs{...}

type GetDatabaseReadReplicaOutput added in v2.15.0

type GetDatabaseReadReplicaOutput struct{ *pulumi.OutputState }

func (GetDatabaseReadReplicaOutput) ClusterTimeZone added in v2.15.0

func (o GetDatabaseReadReplicaOutput) ClusterTimeZone() pulumi.StringOutput

The configured time zone for the Managed Database in TZ database format.

func (GetDatabaseReadReplicaOutput) DatabaseEngine added in v2.15.0

The database engine of the managed database.

func (GetDatabaseReadReplicaOutput) DatabaseEngineVersion added in v2.15.0

func (o GetDatabaseReadReplicaOutput) DatabaseEngineVersion() pulumi.StringOutput

The database engine version of the managed database.

func (GetDatabaseReadReplicaOutput) DateCreated added in v2.15.0

The date the managed database was added to your Vultr account.

func (GetDatabaseReadReplicaOutput) Dbname added in v2.15.0

The managed database's default logical database.

func (GetDatabaseReadReplicaOutput) ElementType added in v2.15.0

func (GetDatabaseReadReplicaOutput) FerretdbCredentials added in v2.17.1

func (o GetDatabaseReadReplicaOutput) FerretdbCredentials() pulumi.MapOutput

An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).

func (GetDatabaseReadReplicaOutput) Host added in v2.15.0

The hostname assigned to the managed database.

func (GetDatabaseReadReplicaOutput) Id added in v2.15.0

func (GetDatabaseReadReplicaOutput) Label added in v2.15.0

The managed database's label.

func (GetDatabaseReadReplicaOutput) LatestBackup added in v2.15.0

The date of the latest backup available on the managed database.

func (GetDatabaseReadReplicaOutput) MaintenanceDow added in v2.15.0

The preferred maintenance day of week for the managed database.

func (GetDatabaseReadReplicaOutput) MaintenanceTime added in v2.15.0

func (o GetDatabaseReadReplicaOutput) MaintenanceTime() pulumi.StringOutput

The preferred maintenance time for the managed database.

func (GetDatabaseReadReplicaOutput) MysqlLongQueryTime added in v2.15.0

func (o GetDatabaseReadReplicaOutput) MysqlLongQueryTime() pulumi.IntOutput

The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).

func (GetDatabaseReadReplicaOutput) MysqlRequirePrimaryKey added in v2.15.0

func (o GetDatabaseReadReplicaOutput) MysqlRequirePrimaryKey() pulumi.BoolOutput

The configuration value for whether primary keys are required on the managed database (MySQL engine types only).

func (GetDatabaseReadReplicaOutput) MysqlSlowQueryLog added in v2.15.0

func (o GetDatabaseReadReplicaOutput) MysqlSlowQueryLog() pulumi.BoolOutput

The configuration value for slow query logging on the managed database (MySQL engine types only).

func (GetDatabaseReadReplicaOutput) MysqlSqlModes added in v2.15.0

A list of SQL modes currently configured for the managed database (MySQL engine types only).

func (GetDatabaseReadReplicaOutput) Password added in v2.15.0

The password for the managed database's primary admin user.

func (GetDatabaseReadReplicaOutput) Plan added in v2.15.0

The managed database's plan ID.

func (GetDatabaseReadReplicaOutput) PlanDisk added in v2.15.0

The description of the disk(s) on the managed database.

func (GetDatabaseReadReplicaOutput) PlanRam added in v2.15.0

The amount of memory available on the managed database in MB.

func (GetDatabaseReadReplicaOutput) PlanReplicas added in v2.15.0

The number of standby nodes available on the managed database.

func (GetDatabaseReadReplicaOutput) PlanVcpus added in v2.15.0

The number of virtual CPUs available on the managed database.

func (GetDatabaseReadReplicaOutput) Port added in v2.15.0

The connection port for the managed database.

func (GetDatabaseReadReplicaOutput) PublicHost added in v2.17.1

The public hostname assigned to the managed database (VPC-attached only).

func (GetDatabaseReadReplicaOutput) RedisEvictionPolicy added in v2.15.0

func (o GetDatabaseReadReplicaOutput) RedisEvictionPolicy() pulumi.StringOutput

The configuration value for the data eviction policy on the managed database (Redis engine types only).

func (GetDatabaseReadReplicaOutput) Region added in v2.15.0

The region ID of the managed database.

func (GetDatabaseReadReplicaOutput) Status added in v2.15.0

The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).

func (GetDatabaseReadReplicaOutput) Tag added in v2.15.0

The managed database's tag.

func (GetDatabaseReadReplicaOutput) ToGetDatabaseReadReplicaOutput added in v2.15.0

func (o GetDatabaseReadReplicaOutput) ToGetDatabaseReadReplicaOutput() GetDatabaseReadReplicaOutput

func (GetDatabaseReadReplicaOutput) ToGetDatabaseReadReplicaOutputWithContext added in v2.15.0

func (o GetDatabaseReadReplicaOutput) ToGetDatabaseReadReplicaOutputWithContext(ctx context.Context) GetDatabaseReadReplicaOutput

func (GetDatabaseReadReplicaOutput) TrustedIps added in v2.15.0

A list of allowed IP addresses for the managed database.

func (GetDatabaseReadReplicaOutput) User added in v2.15.0

The primary admin user for the managed database.

func (GetDatabaseReadReplicaOutput) VpcId added in v2.16.2

The ID of the VPC Network attached to the Managed Database.

type GetFirewallGroupFilter

type GetFirewallGroupFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetFirewallGroupFilterArgs

type GetFirewallGroupFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetFirewallGroupFilterArgs) ElementType

func (GetFirewallGroupFilterArgs) ElementType() reflect.Type

func (GetFirewallGroupFilterArgs) ToGetFirewallGroupFilterOutput

func (i GetFirewallGroupFilterArgs) ToGetFirewallGroupFilterOutput() GetFirewallGroupFilterOutput

func (GetFirewallGroupFilterArgs) ToGetFirewallGroupFilterOutputWithContext

func (i GetFirewallGroupFilterArgs) ToGetFirewallGroupFilterOutputWithContext(ctx context.Context) GetFirewallGroupFilterOutput

type GetFirewallGroupFilterArray

type GetFirewallGroupFilterArray []GetFirewallGroupFilterInput

func (GetFirewallGroupFilterArray) ElementType

func (GetFirewallGroupFilterArray) ToGetFirewallGroupFilterArrayOutput

func (i GetFirewallGroupFilterArray) ToGetFirewallGroupFilterArrayOutput() GetFirewallGroupFilterArrayOutput

func (GetFirewallGroupFilterArray) ToGetFirewallGroupFilterArrayOutputWithContext

func (i GetFirewallGroupFilterArray) ToGetFirewallGroupFilterArrayOutputWithContext(ctx context.Context) GetFirewallGroupFilterArrayOutput

type GetFirewallGroupFilterArrayInput

type GetFirewallGroupFilterArrayInput interface {
	pulumi.Input

	ToGetFirewallGroupFilterArrayOutput() GetFirewallGroupFilterArrayOutput
	ToGetFirewallGroupFilterArrayOutputWithContext(context.Context) GetFirewallGroupFilterArrayOutput
}

GetFirewallGroupFilterArrayInput is an input type that accepts GetFirewallGroupFilterArray and GetFirewallGroupFilterArrayOutput values. You can construct a concrete instance of `GetFirewallGroupFilterArrayInput` via:

GetFirewallGroupFilterArray{ GetFirewallGroupFilterArgs{...} }

type GetFirewallGroupFilterArrayOutput

type GetFirewallGroupFilterArrayOutput struct{ *pulumi.OutputState }

func (GetFirewallGroupFilterArrayOutput) ElementType

func (GetFirewallGroupFilterArrayOutput) Index

func (GetFirewallGroupFilterArrayOutput) ToGetFirewallGroupFilterArrayOutput

func (o GetFirewallGroupFilterArrayOutput) ToGetFirewallGroupFilterArrayOutput() GetFirewallGroupFilterArrayOutput

func (GetFirewallGroupFilterArrayOutput) ToGetFirewallGroupFilterArrayOutputWithContext

func (o GetFirewallGroupFilterArrayOutput) ToGetFirewallGroupFilterArrayOutputWithContext(ctx context.Context) GetFirewallGroupFilterArrayOutput

type GetFirewallGroupFilterInput

type GetFirewallGroupFilterInput interface {
	pulumi.Input

	ToGetFirewallGroupFilterOutput() GetFirewallGroupFilterOutput
	ToGetFirewallGroupFilterOutputWithContext(context.Context) GetFirewallGroupFilterOutput
}

GetFirewallGroupFilterInput is an input type that accepts GetFirewallGroupFilterArgs and GetFirewallGroupFilterOutput values. You can construct a concrete instance of `GetFirewallGroupFilterInput` via:

GetFirewallGroupFilterArgs{...}

type GetFirewallGroupFilterOutput

type GetFirewallGroupFilterOutput struct{ *pulumi.OutputState }

func (GetFirewallGroupFilterOutput) ElementType

func (GetFirewallGroupFilterOutput) Name

Attribute name to filter with.

func (GetFirewallGroupFilterOutput) ToGetFirewallGroupFilterOutput

func (o GetFirewallGroupFilterOutput) ToGetFirewallGroupFilterOutput() GetFirewallGroupFilterOutput

func (GetFirewallGroupFilterOutput) ToGetFirewallGroupFilterOutputWithContext

func (o GetFirewallGroupFilterOutput) ToGetFirewallGroupFilterOutputWithContext(ctx context.Context) GetFirewallGroupFilterOutput

func (GetFirewallGroupFilterOutput) Values

One or more values filter with.

type GetInstanceFilter

type GetInstanceFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetInstanceFilterArgs

type GetInstanceFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetInstanceFilterArgs) ElementType

func (GetInstanceFilterArgs) ElementType() reflect.Type

func (GetInstanceFilterArgs) ToGetInstanceFilterOutput

func (i GetInstanceFilterArgs) ToGetInstanceFilterOutput() GetInstanceFilterOutput

func (GetInstanceFilterArgs) ToGetInstanceFilterOutputWithContext

func (i GetInstanceFilterArgs) ToGetInstanceFilterOutputWithContext(ctx context.Context) GetInstanceFilterOutput

type GetInstanceFilterArray

type GetInstanceFilterArray []GetInstanceFilterInput

func (GetInstanceFilterArray) ElementType

func (GetInstanceFilterArray) ElementType() reflect.Type

func (GetInstanceFilterArray) ToGetInstanceFilterArrayOutput

func (i GetInstanceFilterArray) ToGetInstanceFilterArrayOutput() GetInstanceFilterArrayOutput

func (GetInstanceFilterArray) ToGetInstanceFilterArrayOutputWithContext

func (i GetInstanceFilterArray) ToGetInstanceFilterArrayOutputWithContext(ctx context.Context) GetInstanceFilterArrayOutput

type GetInstanceFilterArrayInput

type GetInstanceFilterArrayInput interface {
	pulumi.Input

	ToGetInstanceFilterArrayOutput() GetInstanceFilterArrayOutput
	ToGetInstanceFilterArrayOutputWithContext(context.Context) GetInstanceFilterArrayOutput
}

GetInstanceFilterArrayInput is an input type that accepts GetInstanceFilterArray and GetInstanceFilterArrayOutput values. You can construct a concrete instance of `GetInstanceFilterArrayInput` via:

GetInstanceFilterArray{ GetInstanceFilterArgs{...} }

type GetInstanceFilterArrayOutput

type GetInstanceFilterArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceFilterArrayOutput) ElementType

func (GetInstanceFilterArrayOutput) Index

func (GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutput

func (o GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutput() GetInstanceFilterArrayOutput

func (GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutputWithContext

func (o GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutputWithContext(ctx context.Context) GetInstanceFilterArrayOutput

type GetInstanceFilterInput

type GetInstanceFilterInput interface {
	pulumi.Input

	ToGetInstanceFilterOutput() GetInstanceFilterOutput
	ToGetInstanceFilterOutputWithContext(context.Context) GetInstanceFilterOutput
}

GetInstanceFilterInput is an input type that accepts GetInstanceFilterArgs and GetInstanceFilterOutput values. You can construct a concrete instance of `GetInstanceFilterInput` via:

GetInstanceFilterArgs{...}

type GetInstanceFilterOutput

type GetInstanceFilterOutput struct{ *pulumi.OutputState }

func (GetInstanceFilterOutput) ElementType

func (GetInstanceFilterOutput) ElementType() reflect.Type

func (GetInstanceFilterOutput) Name

Attribute name to filter with.

func (GetInstanceFilterOutput) ToGetInstanceFilterOutput

func (o GetInstanceFilterOutput) ToGetInstanceFilterOutput() GetInstanceFilterOutput

func (GetInstanceFilterOutput) ToGetInstanceFilterOutputWithContext

func (o GetInstanceFilterOutput) ToGetInstanceFilterOutputWithContext(ctx context.Context) GetInstanceFilterOutput

func (GetInstanceFilterOutput) Values

One or more values filter with.

type GetInstanceIpv4Filter

type GetInstanceIpv4Filter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values to filter with.
	Values []string `pulumi:"values"`
}

type GetInstanceIpv4FilterArgs

type GetInstanceIpv4FilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values to filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetInstanceIpv4FilterArgs) ElementType

func (GetInstanceIpv4FilterArgs) ElementType() reflect.Type

func (GetInstanceIpv4FilterArgs) ToGetInstanceIpv4FilterOutput

func (i GetInstanceIpv4FilterArgs) ToGetInstanceIpv4FilterOutput() GetInstanceIpv4FilterOutput

func (GetInstanceIpv4FilterArgs) ToGetInstanceIpv4FilterOutputWithContext

func (i GetInstanceIpv4FilterArgs) ToGetInstanceIpv4FilterOutputWithContext(ctx context.Context) GetInstanceIpv4FilterOutput

type GetInstanceIpv4FilterArray

type GetInstanceIpv4FilterArray []GetInstanceIpv4FilterInput

func (GetInstanceIpv4FilterArray) ElementType

func (GetInstanceIpv4FilterArray) ElementType() reflect.Type

func (GetInstanceIpv4FilterArray) ToGetInstanceIpv4FilterArrayOutput

func (i GetInstanceIpv4FilterArray) ToGetInstanceIpv4FilterArrayOutput() GetInstanceIpv4FilterArrayOutput

func (GetInstanceIpv4FilterArray) ToGetInstanceIpv4FilterArrayOutputWithContext

func (i GetInstanceIpv4FilterArray) ToGetInstanceIpv4FilterArrayOutputWithContext(ctx context.Context) GetInstanceIpv4FilterArrayOutput

type GetInstanceIpv4FilterArrayInput

type GetInstanceIpv4FilterArrayInput interface {
	pulumi.Input

	ToGetInstanceIpv4FilterArrayOutput() GetInstanceIpv4FilterArrayOutput
	ToGetInstanceIpv4FilterArrayOutputWithContext(context.Context) GetInstanceIpv4FilterArrayOutput
}

GetInstanceIpv4FilterArrayInput is an input type that accepts GetInstanceIpv4FilterArray and GetInstanceIpv4FilterArrayOutput values. You can construct a concrete instance of `GetInstanceIpv4FilterArrayInput` via:

GetInstanceIpv4FilterArray{ GetInstanceIpv4FilterArgs{...} }

type GetInstanceIpv4FilterArrayOutput

type GetInstanceIpv4FilterArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceIpv4FilterArrayOutput) ElementType

func (GetInstanceIpv4FilterArrayOutput) Index

func (GetInstanceIpv4FilterArrayOutput) ToGetInstanceIpv4FilterArrayOutput

func (o GetInstanceIpv4FilterArrayOutput) ToGetInstanceIpv4FilterArrayOutput() GetInstanceIpv4FilterArrayOutput

func (GetInstanceIpv4FilterArrayOutput) ToGetInstanceIpv4FilterArrayOutputWithContext

func (o GetInstanceIpv4FilterArrayOutput) ToGetInstanceIpv4FilterArrayOutputWithContext(ctx context.Context) GetInstanceIpv4FilterArrayOutput

type GetInstanceIpv4FilterInput

type GetInstanceIpv4FilterInput interface {
	pulumi.Input

	ToGetInstanceIpv4FilterOutput() GetInstanceIpv4FilterOutput
	ToGetInstanceIpv4FilterOutputWithContext(context.Context) GetInstanceIpv4FilterOutput
}

GetInstanceIpv4FilterInput is an input type that accepts GetInstanceIpv4FilterArgs and GetInstanceIpv4FilterOutput values. You can construct a concrete instance of `GetInstanceIpv4FilterInput` via:

GetInstanceIpv4FilterArgs{...}

type GetInstanceIpv4FilterOutput

type GetInstanceIpv4FilterOutput struct{ *pulumi.OutputState }

func (GetInstanceIpv4FilterOutput) ElementType

func (GetInstanceIpv4FilterOutput) Name

Attribute name to filter with.

func (GetInstanceIpv4FilterOutput) ToGetInstanceIpv4FilterOutput

func (o GetInstanceIpv4FilterOutput) ToGetInstanceIpv4FilterOutput() GetInstanceIpv4FilterOutput

func (GetInstanceIpv4FilterOutput) ToGetInstanceIpv4FilterOutputWithContext

func (o GetInstanceIpv4FilterOutput) ToGetInstanceIpv4FilterOutputWithContext(ctx context.Context) GetInstanceIpv4FilterOutput

func (GetInstanceIpv4FilterOutput) Values

One or more values to filter with.

type GetInstancesArgs added in v2.18.0

type GetInstancesArgs struct {
	// Query parameters for finding instances.
	Filters []GetInstancesFilter `pulumi:"filters"`
}

A collection of arguments for invoking getInstances.

type GetInstancesFilter added in v2.18.0

type GetInstancesFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetInstancesFilterArgs added in v2.18.0

type GetInstancesFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetInstancesFilterArgs) ElementType added in v2.18.0

func (GetInstancesFilterArgs) ElementType() reflect.Type

func (GetInstancesFilterArgs) ToGetInstancesFilterOutput added in v2.18.0

func (i GetInstancesFilterArgs) ToGetInstancesFilterOutput() GetInstancesFilterOutput

func (GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext added in v2.18.0

func (i GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput

type GetInstancesFilterArray added in v2.18.0

type GetInstancesFilterArray []GetInstancesFilterInput

func (GetInstancesFilterArray) ElementType added in v2.18.0

func (GetInstancesFilterArray) ElementType() reflect.Type

func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutput added in v2.18.0

func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput

func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext added in v2.18.0

func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput

type GetInstancesFilterArrayInput added in v2.18.0

type GetInstancesFilterArrayInput interface {
	pulumi.Input

	ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
	ToGetInstancesFilterArrayOutputWithContext(context.Context) GetInstancesFilterArrayOutput
}

GetInstancesFilterArrayInput is an input type that accepts GetInstancesFilterArray and GetInstancesFilterArrayOutput values. You can construct a concrete instance of `GetInstancesFilterArrayInput` via:

GetInstancesFilterArray{ GetInstancesFilterArgs{...} }

type GetInstancesFilterArrayOutput added in v2.18.0

type GetInstancesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesFilterArrayOutput) ElementType added in v2.18.0

func (GetInstancesFilterArrayOutput) Index added in v2.18.0

func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput added in v2.18.0

func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput

func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext added in v2.18.0

func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput

type GetInstancesFilterInput added in v2.18.0

type GetInstancesFilterInput interface {
	pulumi.Input

	ToGetInstancesFilterOutput() GetInstancesFilterOutput
	ToGetInstancesFilterOutputWithContext(context.Context) GetInstancesFilterOutput
}

GetInstancesFilterInput is an input type that accepts GetInstancesFilterArgs and GetInstancesFilterOutput values. You can construct a concrete instance of `GetInstancesFilterInput` via:

GetInstancesFilterArgs{...}

type GetInstancesFilterOutput added in v2.18.0

type GetInstancesFilterOutput struct{ *pulumi.OutputState }

func (GetInstancesFilterOutput) ElementType added in v2.18.0

func (GetInstancesFilterOutput) ElementType() reflect.Type

func (GetInstancesFilterOutput) Name added in v2.18.0

Attribute name to filter with.

func (GetInstancesFilterOutput) ToGetInstancesFilterOutput added in v2.18.0

func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput

func (GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext added in v2.18.0

func (o GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput

func (GetInstancesFilterOutput) Values added in v2.18.0

One or more values filter with.

type GetInstancesInstance added in v2.18.0

type GetInstancesInstance struct {
	// The server's allowed bandwidth usage in GB.
	AllowedBandwidth int `pulumi:"allowedBandwidth"`
	// The server's application ID.
	AppId   int    `pulumi:"appId"`
	Backups string `pulumi:"backups"`
	// The current configuration for backups
	BackupsSchedule map[string]interface{} `pulumi:"backupsSchedule"`
	// The date the server was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The description of the disk(s) on the server.
	Disk int `pulumi:"disk"`
	// Array of which features are enabled.
	Features []string `pulumi:"features"`
	// The ID of the firewall group applied to this server.
	FirewallGroupId string `pulumi:"firewallGroupId"`
	// The server's IPv4 gateway.
	GatewayV4 string `pulumi:"gatewayV4"`
	// The hostname assigned to the server.
	Hostname string `pulumi:"hostname"`
	Id       string `pulumi:"id"`
	// The Marketplace ID for this application.
	ImageId string `pulumi:"imageId"`
	// The server's internal IP address.
	InternalIp string `pulumi:"internalIp"`
	// The server's current KVM URL. This URL will change periodically. It is not advised to cache this value.
	Kvm string `pulumi:"kvm"`
	// The server's label.
	Label    string `pulumi:"label"`
	Location string `pulumi:"location"`
	// The server's main IP address.
	MainIp string `pulumi:"mainIp"`
	// The server's IPv4 netmask.
	NetmaskV4 string `pulumi:"netmaskV4"`
	// The operating system of the instance.
	Os string `pulumi:"os"`
	// The server's operating system ID.
	OsId int `pulumi:"osId"`
	// The server's plan ID.
	Plan string `pulumi:"plan"`
	// Whether the server is powered on or not.
	PowerStatus       string   `pulumi:"powerStatus"`
	PrivateNetworkIds []string `pulumi:"privateNetworkIds"`
	// The amount of memory available on the instance in MB.
	Ram int `pulumi:"ram"`
	// The region ID of the server.
	Region string `pulumi:"region"`
	// A more detailed server status (none, locked, installingbooting, isomounting, ok).
	ServerStatus string `pulumi:"serverStatus"`
	// The status of the server's subscription.
	Status string `pulumi:"status"`
	// A list of tags applied to the instance.
	Tags []string `pulumi:"tags"`
	// The main IPv6 network address.
	V6MainIp string `pulumi:"v6MainIp"`
	// The IPv6 subnet.
	V6Network string `pulumi:"v6Network"`
	// The IPv6 network size in bits.
	V6NetworkSize int `pulumi:"v6NetworkSize"`
	// The number of virtual CPUs available on the server.
	VcpuCount int      `pulumi:"vcpuCount"`
	VpcIds    []string `pulumi:"vpcIds"`
}

type GetInstancesInstanceArgs added in v2.18.0

type GetInstancesInstanceArgs struct {
	// The server's allowed bandwidth usage in GB.
	AllowedBandwidth pulumi.IntInput `pulumi:"allowedBandwidth"`
	// The server's application ID.
	AppId   pulumi.IntInput    `pulumi:"appId"`
	Backups pulumi.StringInput `pulumi:"backups"`
	// The current configuration for backups
	BackupsSchedule pulumi.MapInput `pulumi:"backupsSchedule"`
	// The date the server was added to your Vultr account.
	DateCreated pulumi.StringInput `pulumi:"dateCreated"`
	// The description of the disk(s) on the server.
	Disk pulumi.IntInput `pulumi:"disk"`
	// Array of which features are enabled.
	Features pulumi.StringArrayInput `pulumi:"features"`
	// The ID of the firewall group applied to this server.
	FirewallGroupId pulumi.StringInput `pulumi:"firewallGroupId"`
	// The server's IPv4 gateway.
	GatewayV4 pulumi.StringInput `pulumi:"gatewayV4"`
	// The hostname assigned to the server.
	Hostname pulumi.StringInput `pulumi:"hostname"`
	Id       pulumi.StringInput `pulumi:"id"`
	// The Marketplace ID for this application.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// The server's internal IP address.
	InternalIp pulumi.StringInput `pulumi:"internalIp"`
	// The server's current KVM URL. This URL will change periodically. It is not advised to cache this value.
	Kvm pulumi.StringInput `pulumi:"kvm"`
	// The server's label.
	Label    pulumi.StringInput `pulumi:"label"`
	Location pulumi.StringInput `pulumi:"location"`
	// The server's main IP address.
	MainIp pulumi.StringInput `pulumi:"mainIp"`
	// The server's IPv4 netmask.
	NetmaskV4 pulumi.StringInput `pulumi:"netmaskV4"`
	// The operating system of the instance.
	Os pulumi.StringInput `pulumi:"os"`
	// The server's operating system ID.
	OsId pulumi.IntInput `pulumi:"osId"`
	// The server's plan ID.
	Plan pulumi.StringInput `pulumi:"plan"`
	// Whether the server is powered on or not.
	PowerStatus       pulumi.StringInput      `pulumi:"powerStatus"`
	PrivateNetworkIds pulumi.StringArrayInput `pulumi:"privateNetworkIds"`
	// The amount of memory available on the instance in MB.
	Ram pulumi.IntInput `pulumi:"ram"`
	// The region ID of the server.
	Region pulumi.StringInput `pulumi:"region"`
	// A more detailed server status (none, locked, installingbooting, isomounting, ok).
	ServerStatus pulumi.StringInput `pulumi:"serverStatus"`
	// The status of the server's subscription.
	Status pulumi.StringInput `pulumi:"status"`
	// A list of tags applied to the instance.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// The main IPv6 network address.
	V6MainIp pulumi.StringInput `pulumi:"v6MainIp"`
	// The IPv6 subnet.
	V6Network pulumi.StringInput `pulumi:"v6Network"`
	// The IPv6 network size in bits.
	V6NetworkSize pulumi.IntInput `pulumi:"v6NetworkSize"`
	// The number of virtual CPUs available on the server.
	VcpuCount pulumi.IntInput         `pulumi:"vcpuCount"`
	VpcIds    pulumi.StringArrayInput `pulumi:"vpcIds"`
}

func (GetInstancesInstanceArgs) ElementType added in v2.18.0

func (GetInstancesInstanceArgs) ElementType() reflect.Type

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput added in v2.18.0

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext added in v2.18.0

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

type GetInstancesInstanceArray added in v2.18.0

type GetInstancesInstanceArray []GetInstancesInstanceInput

func (GetInstancesInstanceArray) ElementType added in v2.18.0

func (GetInstancesInstanceArray) ElementType() reflect.Type

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput added in v2.18.0

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext added in v2.18.0

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceArrayInput added in v2.18.0

type GetInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
	ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput
}

GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:

GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }

type GetInstancesInstanceArrayOutput added in v2.18.0

type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceArrayOutput) ElementType added in v2.18.0

func (GetInstancesInstanceArrayOutput) Index added in v2.18.0

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput added in v2.18.0

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext added in v2.18.0

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceInput added in v2.18.0

type GetInstancesInstanceInput interface {
	pulumi.Input

	ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
	ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput
}

GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:

GetInstancesInstanceArgs{...}

type GetInstancesInstanceOutput added in v2.18.0

type GetInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceOutput) AllowedBandwidth added in v2.18.0

func (o GetInstancesInstanceOutput) AllowedBandwidth() pulumi.IntOutput

The server's allowed bandwidth usage in GB.

func (GetInstancesInstanceOutput) AppId added in v2.18.0

The server's application ID.

func (GetInstancesInstanceOutput) Backups added in v2.18.0

func (GetInstancesInstanceOutput) BackupsSchedule added in v2.18.0

func (o GetInstancesInstanceOutput) BackupsSchedule() pulumi.MapOutput

The current configuration for backups

func (GetInstancesInstanceOutput) DateCreated added in v2.18.0

The date the server was added to your Vultr account.

func (GetInstancesInstanceOutput) Disk added in v2.18.0

The description of the disk(s) on the server.

func (GetInstancesInstanceOutput) ElementType added in v2.18.0

func (GetInstancesInstanceOutput) ElementType() reflect.Type

func (GetInstancesInstanceOutput) Features added in v2.18.0

Array of which features are enabled.

func (GetInstancesInstanceOutput) FirewallGroupId added in v2.18.0

func (o GetInstancesInstanceOutput) FirewallGroupId() pulumi.StringOutput

The ID of the firewall group applied to this server.

func (GetInstancesInstanceOutput) GatewayV4 added in v2.18.0

The server's IPv4 gateway.

func (GetInstancesInstanceOutput) Hostname added in v2.18.0

The hostname assigned to the server.

func (GetInstancesInstanceOutput) Id added in v2.18.0

func (GetInstancesInstanceOutput) ImageId added in v2.18.0

The Marketplace ID for this application.

func (GetInstancesInstanceOutput) InternalIp added in v2.18.0

The server's internal IP address.

func (GetInstancesInstanceOutput) Kvm added in v2.18.0

The server's current KVM URL. This URL will change periodically. It is not advised to cache this value.

func (GetInstancesInstanceOutput) Label added in v2.18.0

The server's label.

func (GetInstancesInstanceOutput) Location added in v2.18.0

func (GetInstancesInstanceOutput) MainIp added in v2.18.0

The server's main IP address.

func (GetInstancesInstanceOutput) NetmaskV4 added in v2.18.0

The server's IPv4 netmask.

func (GetInstancesInstanceOutput) Os added in v2.18.0

The operating system of the instance.

func (GetInstancesInstanceOutput) OsId added in v2.18.0

The server's operating system ID.

func (GetInstancesInstanceOutput) Plan added in v2.18.0

The server's plan ID.

func (GetInstancesInstanceOutput) PowerStatus added in v2.18.0

Whether the server is powered on or not.

func (GetInstancesInstanceOutput) PrivateNetworkIds added in v2.18.0

func (o GetInstancesInstanceOutput) PrivateNetworkIds() pulumi.StringArrayOutput

func (GetInstancesInstanceOutput) Ram added in v2.18.0

The amount of memory available on the instance in MB.

func (GetInstancesInstanceOutput) Region added in v2.18.0

The region ID of the server.

func (GetInstancesInstanceOutput) ServerStatus added in v2.18.0

A more detailed server status (none, locked, installingbooting, isomounting, ok).

func (GetInstancesInstanceOutput) Status added in v2.18.0

The status of the server's subscription.

func (GetInstancesInstanceOutput) Tags added in v2.18.0

A list of tags applied to the instance.

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput added in v2.18.0

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext added in v2.18.0

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) V6MainIp added in v2.18.0

The main IPv6 network address.

func (GetInstancesInstanceOutput) V6Network added in v2.18.0

The IPv6 subnet.

func (GetInstancesInstanceOutput) V6NetworkSize added in v2.18.0

func (o GetInstancesInstanceOutput) V6NetworkSize() pulumi.IntOutput

The IPv6 network size in bits.

func (GetInstancesInstanceOutput) VcpuCount added in v2.18.0

The number of virtual CPUs available on the server.

func (GetInstancesInstanceOutput) VpcIds added in v2.18.0

type GetInstancesOutputArgs added in v2.18.0

type GetInstancesOutputArgs struct {
	// Query parameters for finding instances.
	Filters GetInstancesFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType added in v2.18.0

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult added in v2.18.0

type GetInstancesResult struct {
	Filters []GetInstancesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of instances which individually include the following:
	Instances []GetInstancesInstance `pulumi:"instances"`
}

A collection of values returned by getInstances.

func GetInstances added in v2.18.0

func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)

List information for Vultr instances.

## Example Usage

Get the information for all instances by `status`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		activeInstances, err := vultr.GetInstances(ctx, &vultr.GetInstancesArgs{
			Filters: []vultr.GetInstancesFilter{
				{
					Name: "status",
					Values: []string{
						"active",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		var splat0 []*string
		for _, val0 := range activeInstances.Instances {
			splat0 = append(splat0, val0.Label)
		}
		ctx.Export("instances", splat0)
		return nil
	})
}

```

type GetInstancesResultOutput added in v2.18.0

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func GetInstancesOutput added in v2.18.0

func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput

func (GetInstancesResultOutput) ElementType added in v2.18.0

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Filters added in v2.18.0

func (GetInstancesResultOutput) Id added in v2.18.0

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) Instances added in v2.18.0

The list of instances which individually include the following:

func (GetInstancesResultOutput) ToGetInstancesResultOutput added in v2.18.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext added in v2.18.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput

type GetIsoPrivateFilter

type GetIsoPrivateFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetIsoPrivateFilterArgs

type GetIsoPrivateFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetIsoPrivateFilterArgs) ElementType

func (GetIsoPrivateFilterArgs) ElementType() reflect.Type

func (GetIsoPrivateFilterArgs) ToGetIsoPrivateFilterOutput

func (i GetIsoPrivateFilterArgs) ToGetIsoPrivateFilterOutput() GetIsoPrivateFilterOutput

func (GetIsoPrivateFilterArgs) ToGetIsoPrivateFilterOutputWithContext

func (i GetIsoPrivateFilterArgs) ToGetIsoPrivateFilterOutputWithContext(ctx context.Context) GetIsoPrivateFilterOutput

type GetIsoPrivateFilterArray

type GetIsoPrivateFilterArray []GetIsoPrivateFilterInput

func (GetIsoPrivateFilterArray) ElementType

func (GetIsoPrivateFilterArray) ElementType() reflect.Type

func (GetIsoPrivateFilterArray) ToGetIsoPrivateFilterArrayOutput

func (i GetIsoPrivateFilterArray) ToGetIsoPrivateFilterArrayOutput() GetIsoPrivateFilterArrayOutput

func (GetIsoPrivateFilterArray) ToGetIsoPrivateFilterArrayOutputWithContext

func (i GetIsoPrivateFilterArray) ToGetIsoPrivateFilterArrayOutputWithContext(ctx context.Context) GetIsoPrivateFilterArrayOutput

type GetIsoPrivateFilterArrayInput

type GetIsoPrivateFilterArrayInput interface {
	pulumi.Input

	ToGetIsoPrivateFilterArrayOutput() GetIsoPrivateFilterArrayOutput
	ToGetIsoPrivateFilterArrayOutputWithContext(context.Context) GetIsoPrivateFilterArrayOutput
}

GetIsoPrivateFilterArrayInput is an input type that accepts GetIsoPrivateFilterArray and GetIsoPrivateFilterArrayOutput values. You can construct a concrete instance of `GetIsoPrivateFilterArrayInput` via:

GetIsoPrivateFilterArray{ GetIsoPrivateFilterArgs{...} }

type GetIsoPrivateFilterArrayOutput

type GetIsoPrivateFilterArrayOutput struct{ *pulumi.OutputState }

func (GetIsoPrivateFilterArrayOutput) ElementType

func (GetIsoPrivateFilterArrayOutput) Index

func (GetIsoPrivateFilterArrayOutput) ToGetIsoPrivateFilterArrayOutput

func (o GetIsoPrivateFilterArrayOutput) ToGetIsoPrivateFilterArrayOutput() GetIsoPrivateFilterArrayOutput

func (GetIsoPrivateFilterArrayOutput) ToGetIsoPrivateFilterArrayOutputWithContext

func (o GetIsoPrivateFilterArrayOutput) ToGetIsoPrivateFilterArrayOutputWithContext(ctx context.Context) GetIsoPrivateFilterArrayOutput

type GetIsoPrivateFilterInput

type GetIsoPrivateFilterInput interface {
	pulumi.Input

	ToGetIsoPrivateFilterOutput() GetIsoPrivateFilterOutput
	ToGetIsoPrivateFilterOutputWithContext(context.Context) GetIsoPrivateFilterOutput
}

GetIsoPrivateFilterInput is an input type that accepts GetIsoPrivateFilterArgs and GetIsoPrivateFilterOutput values. You can construct a concrete instance of `GetIsoPrivateFilterInput` via:

GetIsoPrivateFilterArgs{...}

type GetIsoPrivateFilterOutput

type GetIsoPrivateFilterOutput struct{ *pulumi.OutputState }

func (GetIsoPrivateFilterOutput) ElementType

func (GetIsoPrivateFilterOutput) ElementType() reflect.Type

func (GetIsoPrivateFilterOutput) Name

Attribute name to filter with.

func (GetIsoPrivateFilterOutput) ToGetIsoPrivateFilterOutput

func (o GetIsoPrivateFilterOutput) ToGetIsoPrivateFilterOutput() GetIsoPrivateFilterOutput

func (GetIsoPrivateFilterOutput) ToGetIsoPrivateFilterOutputWithContext

func (o GetIsoPrivateFilterOutput) ToGetIsoPrivateFilterOutputWithContext(ctx context.Context) GetIsoPrivateFilterOutput

func (GetIsoPrivateFilterOutput) Values

One or more values filter with.

type GetIsoPublicArgs

type GetIsoPublicArgs struct {
	// Query parameters for finding ISO files.
	Filters []GetIsoPublicFilter `pulumi:"filters"`
}

A collection of arguments for invoking getIsoPublic.

type GetIsoPublicFilter

type GetIsoPublicFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetIsoPublicFilterArgs

type GetIsoPublicFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetIsoPublicFilterArgs) ElementType

func (GetIsoPublicFilterArgs) ElementType() reflect.Type

func (GetIsoPublicFilterArgs) ToGetIsoPublicFilterOutput

func (i GetIsoPublicFilterArgs) ToGetIsoPublicFilterOutput() GetIsoPublicFilterOutput

func (GetIsoPublicFilterArgs) ToGetIsoPublicFilterOutputWithContext

func (i GetIsoPublicFilterArgs) ToGetIsoPublicFilterOutputWithContext(ctx context.Context) GetIsoPublicFilterOutput

type GetIsoPublicFilterArray

type GetIsoPublicFilterArray []GetIsoPublicFilterInput

func (GetIsoPublicFilterArray) ElementType

func (GetIsoPublicFilterArray) ElementType() reflect.Type

func (GetIsoPublicFilterArray) ToGetIsoPublicFilterArrayOutput

func (i GetIsoPublicFilterArray) ToGetIsoPublicFilterArrayOutput() GetIsoPublicFilterArrayOutput

func (GetIsoPublicFilterArray) ToGetIsoPublicFilterArrayOutputWithContext

func (i GetIsoPublicFilterArray) ToGetIsoPublicFilterArrayOutputWithContext(ctx context.Context) GetIsoPublicFilterArrayOutput

type GetIsoPublicFilterArrayInput

type GetIsoPublicFilterArrayInput interface {
	pulumi.Input

	ToGetIsoPublicFilterArrayOutput() GetIsoPublicFilterArrayOutput
	ToGetIsoPublicFilterArrayOutputWithContext(context.Context) GetIsoPublicFilterArrayOutput
}

GetIsoPublicFilterArrayInput is an input type that accepts GetIsoPublicFilterArray and GetIsoPublicFilterArrayOutput values. You can construct a concrete instance of `GetIsoPublicFilterArrayInput` via:

GetIsoPublicFilterArray{ GetIsoPublicFilterArgs{...} }

type GetIsoPublicFilterArrayOutput

type GetIsoPublicFilterArrayOutput struct{ *pulumi.OutputState }

func (GetIsoPublicFilterArrayOutput) ElementType

func (GetIsoPublicFilterArrayOutput) Index

func (GetIsoPublicFilterArrayOutput) ToGetIsoPublicFilterArrayOutput

func (o GetIsoPublicFilterArrayOutput) ToGetIsoPublicFilterArrayOutput() GetIsoPublicFilterArrayOutput

func (GetIsoPublicFilterArrayOutput) ToGetIsoPublicFilterArrayOutputWithContext

func (o GetIsoPublicFilterArrayOutput) ToGetIsoPublicFilterArrayOutputWithContext(ctx context.Context) GetIsoPublicFilterArrayOutput

type GetIsoPublicFilterInput

type GetIsoPublicFilterInput interface {
	pulumi.Input

	ToGetIsoPublicFilterOutput() GetIsoPublicFilterOutput
	ToGetIsoPublicFilterOutputWithContext(context.Context) GetIsoPublicFilterOutput
}

GetIsoPublicFilterInput is an input type that accepts GetIsoPublicFilterArgs and GetIsoPublicFilterOutput values. You can construct a concrete instance of `GetIsoPublicFilterInput` via:

GetIsoPublicFilterArgs{...}

type GetIsoPublicFilterOutput

type GetIsoPublicFilterOutput struct{ *pulumi.OutputState }

func (GetIsoPublicFilterOutput) ElementType

func (GetIsoPublicFilterOutput) ElementType() reflect.Type

func (GetIsoPublicFilterOutput) Name

Attribute name to filter with.

func (GetIsoPublicFilterOutput) ToGetIsoPublicFilterOutput

func (o GetIsoPublicFilterOutput) ToGetIsoPublicFilterOutput() GetIsoPublicFilterOutput

func (GetIsoPublicFilterOutput) ToGetIsoPublicFilterOutputWithContext

func (o GetIsoPublicFilterOutput) ToGetIsoPublicFilterOutputWithContext(ctx context.Context) GetIsoPublicFilterOutput

func (GetIsoPublicFilterOutput) Values

One or more values filter with.

type GetIsoPublicOutputArgs

type GetIsoPublicOutputArgs struct {
	// Query parameters for finding ISO files.
	Filters GetIsoPublicFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getIsoPublic.

func (GetIsoPublicOutputArgs) ElementType

func (GetIsoPublicOutputArgs) ElementType() reflect.Type

type GetIsoPublicResult

type GetIsoPublicResult struct {
	// The description of the ISO file.
	Description string               `pulumi:"description"`
	Filters     []GetIsoPublicFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The MD5Sum of the ISO file.
	Md5sum string `pulumi:"md5sum"`
	// The ISO file's name.
	Name string `pulumi:"name"`
}

A collection of values returned by getIsoPublic.

func GetIsoPublic

func GetIsoPublic(ctx *pulumi.Context, args *GetIsoPublicArgs, opts ...pulumi.InvokeOption) (*GetIsoPublicResult, error)

Get information about an ISO file offered in the Vultr ISO library.

## Example Usage

Get the information for a ISO file by `description`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.GetIsoPublic(ctx, &vultr.GetIsoPublicArgs{
			Filters: []vultr.GetIsoPublicFilter{
				{
					Name: "description",
					Values: []string{
						"iso-description",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetIsoPublicResultOutput

type GetIsoPublicResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIsoPublic.

func (GetIsoPublicResultOutput) Description

The description of the ISO file.

func (GetIsoPublicResultOutput) ElementType

func (GetIsoPublicResultOutput) ElementType() reflect.Type

func (GetIsoPublicResultOutput) Filters

func (GetIsoPublicResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetIsoPublicResultOutput) Md5sum

The MD5Sum of the ISO file.

func (GetIsoPublicResultOutput) Name

The ISO file's name.

func (GetIsoPublicResultOutput) ToGetIsoPublicResultOutput

func (o GetIsoPublicResultOutput) ToGetIsoPublicResultOutput() GetIsoPublicResultOutput

func (GetIsoPublicResultOutput) ToGetIsoPublicResultOutputWithContext

func (o GetIsoPublicResultOutput) ToGetIsoPublicResultOutputWithContext(ctx context.Context) GetIsoPublicResultOutput

type GetKubernetesFilter

type GetKubernetesFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetKubernetesFilterArgs

type GetKubernetesFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetKubernetesFilterArgs) ElementType

func (GetKubernetesFilterArgs) ElementType() reflect.Type

func (GetKubernetesFilterArgs) ToGetKubernetesFilterOutput

func (i GetKubernetesFilterArgs) ToGetKubernetesFilterOutput() GetKubernetesFilterOutput

func (GetKubernetesFilterArgs) ToGetKubernetesFilterOutputWithContext

func (i GetKubernetesFilterArgs) ToGetKubernetesFilterOutputWithContext(ctx context.Context) GetKubernetesFilterOutput

type GetKubernetesFilterArray

type GetKubernetesFilterArray []GetKubernetesFilterInput

func (GetKubernetesFilterArray) ElementType

func (GetKubernetesFilterArray) ElementType() reflect.Type

func (GetKubernetesFilterArray) ToGetKubernetesFilterArrayOutput

func (i GetKubernetesFilterArray) ToGetKubernetesFilterArrayOutput() GetKubernetesFilterArrayOutput

func (GetKubernetesFilterArray) ToGetKubernetesFilterArrayOutputWithContext

func (i GetKubernetesFilterArray) ToGetKubernetesFilterArrayOutputWithContext(ctx context.Context) GetKubernetesFilterArrayOutput

type GetKubernetesFilterArrayInput

type GetKubernetesFilterArrayInput interface {
	pulumi.Input

	ToGetKubernetesFilterArrayOutput() GetKubernetesFilterArrayOutput
	ToGetKubernetesFilterArrayOutputWithContext(context.Context) GetKubernetesFilterArrayOutput
}

GetKubernetesFilterArrayInput is an input type that accepts GetKubernetesFilterArray and GetKubernetesFilterArrayOutput values. You can construct a concrete instance of `GetKubernetesFilterArrayInput` via:

GetKubernetesFilterArray{ GetKubernetesFilterArgs{...} }

type GetKubernetesFilterArrayOutput

type GetKubernetesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesFilterArrayOutput) ElementType

func (GetKubernetesFilterArrayOutput) Index

func (GetKubernetesFilterArrayOutput) ToGetKubernetesFilterArrayOutput

func (o GetKubernetesFilterArrayOutput) ToGetKubernetesFilterArrayOutput() GetKubernetesFilterArrayOutput

func (GetKubernetesFilterArrayOutput) ToGetKubernetesFilterArrayOutputWithContext

func (o GetKubernetesFilterArrayOutput) ToGetKubernetesFilterArrayOutputWithContext(ctx context.Context) GetKubernetesFilterArrayOutput

type GetKubernetesFilterInput

type GetKubernetesFilterInput interface {
	pulumi.Input

	ToGetKubernetesFilterOutput() GetKubernetesFilterOutput
	ToGetKubernetesFilterOutputWithContext(context.Context) GetKubernetesFilterOutput
}

GetKubernetesFilterInput is an input type that accepts GetKubernetesFilterArgs and GetKubernetesFilterOutput values. You can construct a concrete instance of `GetKubernetesFilterInput` via:

GetKubernetesFilterArgs{...}

type GetKubernetesFilterOutput

type GetKubernetesFilterOutput struct{ *pulumi.OutputState }

func (GetKubernetesFilterOutput) ElementType

func (GetKubernetesFilterOutput) ElementType() reflect.Type

func (GetKubernetesFilterOutput) Name

Attribute name to filter with.

func (GetKubernetesFilterOutput) ToGetKubernetesFilterOutput

func (o GetKubernetesFilterOutput) ToGetKubernetesFilterOutput() GetKubernetesFilterOutput

func (GetKubernetesFilterOutput) ToGetKubernetesFilterOutputWithContext

func (o GetKubernetesFilterOutput) ToGetKubernetesFilterOutputWithContext(ctx context.Context) GetKubernetesFilterOutput

func (GetKubernetesFilterOutput) Values

One or more values filter with.

type GetKubernetesNodePool

type GetKubernetesNodePool struct {
	// Boolean indicating if the auto scaler for the default node pool is active.
	AutoScaler *bool `pulumi:"autoScaler"`
	// Date node was created.
	DateCreated string `pulumi:"dateCreated"`
	// Date of node pool updates.
	DateUpdated string `pulumi:"dateUpdated"`
	// ID of node.
	Id string `pulumi:"id"`
	// Label of node.
	Label string `pulumi:"label"`
	// The maximum number of nodes used by the auto scaler.
	MaxNodes *int `pulumi:"maxNodes"`
	// The minimum number of nodes used by the auto scaler.
	MinNodes *int `pulumi:"minNodes"`
	// Number of nodes within node pool.
	NodeQuantity int `pulumi:"nodeQuantity"`
	// Array that contains information about nodes within this node pool.
	Nodes []GetKubernetesNodePoolNode `pulumi:"nodes"`
	// Node plan that nodes are using within this node pool.
	Plan string `pulumi:"plan"`
	// Status of node.
	Status string `pulumi:"status"`
	// Tag for node pool.
	Tag string `pulumi:"tag"`
}

type GetKubernetesNodePoolArgs

type GetKubernetesNodePoolArgs struct {
	// Boolean indicating if the auto scaler for the default node pool is active.
	AutoScaler pulumi.BoolPtrInput `pulumi:"autoScaler"`
	// Date node was created.
	DateCreated pulumi.StringInput `pulumi:"dateCreated"`
	// Date of node pool updates.
	DateUpdated pulumi.StringInput `pulumi:"dateUpdated"`
	// ID of node.
	Id pulumi.StringInput `pulumi:"id"`
	// Label of node.
	Label pulumi.StringInput `pulumi:"label"`
	// The maximum number of nodes used by the auto scaler.
	MaxNodes pulumi.IntPtrInput `pulumi:"maxNodes"`
	// The minimum number of nodes used by the auto scaler.
	MinNodes pulumi.IntPtrInput `pulumi:"minNodes"`
	// Number of nodes within node pool.
	NodeQuantity pulumi.IntInput `pulumi:"nodeQuantity"`
	// Array that contains information about nodes within this node pool.
	Nodes GetKubernetesNodePoolNodeArrayInput `pulumi:"nodes"`
	// Node plan that nodes are using within this node pool.
	Plan pulumi.StringInput `pulumi:"plan"`
	// Status of node.
	Status pulumi.StringInput `pulumi:"status"`
	// Tag for node pool.
	Tag pulumi.StringInput `pulumi:"tag"`
}

func (GetKubernetesNodePoolArgs) ElementType

func (GetKubernetesNodePoolArgs) ElementType() reflect.Type

func (GetKubernetesNodePoolArgs) ToGetKubernetesNodePoolOutput

func (i GetKubernetesNodePoolArgs) ToGetKubernetesNodePoolOutput() GetKubernetesNodePoolOutput

func (GetKubernetesNodePoolArgs) ToGetKubernetesNodePoolOutputWithContext

func (i GetKubernetesNodePoolArgs) ToGetKubernetesNodePoolOutputWithContext(ctx context.Context) GetKubernetesNodePoolOutput

type GetKubernetesNodePoolArray

type GetKubernetesNodePoolArray []GetKubernetesNodePoolInput

func (GetKubernetesNodePoolArray) ElementType

func (GetKubernetesNodePoolArray) ElementType() reflect.Type

func (GetKubernetesNodePoolArray) ToGetKubernetesNodePoolArrayOutput

func (i GetKubernetesNodePoolArray) ToGetKubernetesNodePoolArrayOutput() GetKubernetesNodePoolArrayOutput

func (GetKubernetesNodePoolArray) ToGetKubernetesNodePoolArrayOutputWithContext

func (i GetKubernetesNodePoolArray) ToGetKubernetesNodePoolArrayOutputWithContext(ctx context.Context) GetKubernetesNodePoolArrayOutput

type GetKubernetesNodePoolArrayInput

type GetKubernetesNodePoolArrayInput interface {
	pulumi.Input

	ToGetKubernetesNodePoolArrayOutput() GetKubernetesNodePoolArrayOutput
	ToGetKubernetesNodePoolArrayOutputWithContext(context.Context) GetKubernetesNodePoolArrayOutput
}

GetKubernetesNodePoolArrayInput is an input type that accepts GetKubernetesNodePoolArray and GetKubernetesNodePoolArrayOutput values. You can construct a concrete instance of `GetKubernetesNodePoolArrayInput` via:

GetKubernetesNodePoolArray{ GetKubernetesNodePoolArgs{...} }

type GetKubernetesNodePoolArrayOutput

type GetKubernetesNodePoolArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesNodePoolArrayOutput) ElementType

func (GetKubernetesNodePoolArrayOutput) Index

func (GetKubernetesNodePoolArrayOutput) ToGetKubernetesNodePoolArrayOutput

func (o GetKubernetesNodePoolArrayOutput) ToGetKubernetesNodePoolArrayOutput() GetKubernetesNodePoolArrayOutput

func (GetKubernetesNodePoolArrayOutput) ToGetKubernetesNodePoolArrayOutputWithContext

func (o GetKubernetesNodePoolArrayOutput) ToGetKubernetesNodePoolArrayOutputWithContext(ctx context.Context) GetKubernetesNodePoolArrayOutput

type GetKubernetesNodePoolInput

type GetKubernetesNodePoolInput interface {
	pulumi.Input

	ToGetKubernetesNodePoolOutput() GetKubernetesNodePoolOutput
	ToGetKubernetesNodePoolOutputWithContext(context.Context) GetKubernetesNodePoolOutput
}

GetKubernetesNodePoolInput is an input type that accepts GetKubernetesNodePoolArgs and GetKubernetesNodePoolOutput values. You can construct a concrete instance of `GetKubernetesNodePoolInput` via:

GetKubernetesNodePoolArgs{...}

type GetKubernetesNodePoolNode

type GetKubernetesNodePoolNode struct {
	// Date node was created.
	DateCreated string `pulumi:"dateCreated"`
	// ID of node.
	Id string `pulumi:"id"`
	// Label of node.
	Label string `pulumi:"label"`
	// Status of node.
	Status string `pulumi:"status"`
}

type GetKubernetesNodePoolNodeArgs

type GetKubernetesNodePoolNodeArgs struct {
	// Date node was created.
	DateCreated pulumi.StringInput `pulumi:"dateCreated"`
	// ID of node.
	Id pulumi.StringInput `pulumi:"id"`
	// Label of node.
	Label pulumi.StringInput `pulumi:"label"`
	// Status of node.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetKubernetesNodePoolNodeArgs) ElementType

func (GetKubernetesNodePoolNodeArgs) ToGetKubernetesNodePoolNodeOutput

func (i GetKubernetesNodePoolNodeArgs) ToGetKubernetesNodePoolNodeOutput() GetKubernetesNodePoolNodeOutput

func (GetKubernetesNodePoolNodeArgs) ToGetKubernetesNodePoolNodeOutputWithContext

func (i GetKubernetesNodePoolNodeArgs) ToGetKubernetesNodePoolNodeOutputWithContext(ctx context.Context) GetKubernetesNodePoolNodeOutput

type GetKubernetesNodePoolNodeArray

type GetKubernetesNodePoolNodeArray []GetKubernetesNodePoolNodeInput

func (GetKubernetesNodePoolNodeArray) ElementType

func (GetKubernetesNodePoolNodeArray) ToGetKubernetesNodePoolNodeArrayOutput

func (i GetKubernetesNodePoolNodeArray) ToGetKubernetesNodePoolNodeArrayOutput() GetKubernetesNodePoolNodeArrayOutput

func (GetKubernetesNodePoolNodeArray) ToGetKubernetesNodePoolNodeArrayOutputWithContext

func (i GetKubernetesNodePoolNodeArray) ToGetKubernetesNodePoolNodeArrayOutputWithContext(ctx context.Context) GetKubernetesNodePoolNodeArrayOutput

type GetKubernetesNodePoolNodeArrayInput

type GetKubernetesNodePoolNodeArrayInput interface {
	pulumi.Input

	ToGetKubernetesNodePoolNodeArrayOutput() GetKubernetesNodePoolNodeArrayOutput
	ToGetKubernetesNodePoolNodeArrayOutputWithContext(context.Context) GetKubernetesNodePoolNodeArrayOutput
}

GetKubernetesNodePoolNodeArrayInput is an input type that accepts GetKubernetesNodePoolNodeArray and GetKubernetesNodePoolNodeArrayOutput values. You can construct a concrete instance of `GetKubernetesNodePoolNodeArrayInput` via:

GetKubernetesNodePoolNodeArray{ GetKubernetesNodePoolNodeArgs{...} }

type GetKubernetesNodePoolNodeArrayOutput

type GetKubernetesNodePoolNodeArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesNodePoolNodeArrayOutput) ElementType

func (GetKubernetesNodePoolNodeArrayOutput) Index

func (GetKubernetesNodePoolNodeArrayOutput) ToGetKubernetesNodePoolNodeArrayOutput

func (o GetKubernetesNodePoolNodeArrayOutput) ToGetKubernetesNodePoolNodeArrayOutput() GetKubernetesNodePoolNodeArrayOutput

func (GetKubernetesNodePoolNodeArrayOutput) ToGetKubernetesNodePoolNodeArrayOutputWithContext

func (o GetKubernetesNodePoolNodeArrayOutput) ToGetKubernetesNodePoolNodeArrayOutputWithContext(ctx context.Context) GetKubernetesNodePoolNodeArrayOutput

type GetKubernetesNodePoolNodeInput

type GetKubernetesNodePoolNodeInput interface {
	pulumi.Input

	ToGetKubernetesNodePoolNodeOutput() GetKubernetesNodePoolNodeOutput
	ToGetKubernetesNodePoolNodeOutputWithContext(context.Context) GetKubernetesNodePoolNodeOutput
}

GetKubernetesNodePoolNodeInput is an input type that accepts GetKubernetesNodePoolNodeArgs and GetKubernetesNodePoolNodeOutput values. You can construct a concrete instance of `GetKubernetesNodePoolNodeInput` via:

GetKubernetesNodePoolNodeArgs{...}

type GetKubernetesNodePoolNodeOutput

type GetKubernetesNodePoolNodeOutput struct{ *pulumi.OutputState }

func (GetKubernetesNodePoolNodeOutput) DateCreated

Date node was created.

func (GetKubernetesNodePoolNodeOutput) ElementType

func (GetKubernetesNodePoolNodeOutput) Id

ID of node.

func (GetKubernetesNodePoolNodeOutput) Label

Label of node.

func (GetKubernetesNodePoolNodeOutput) Status

Status of node.

func (GetKubernetesNodePoolNodeOutput) ToGetKubernetesNodePoolNodeOutput

func (o GetKubernetesNodePoolNodeOutput) ToGetKubernetesNodePoolNodeOutput() GetKubernetesNodePoolNodeOutput

func (GetKubernetesNodePoolNodeOutput) ToGetKubernetesNodePoolNodeOutputWithContext

func (o GetKubernetesNodePoolNodeOutput) ToGetKubernetesNodePoolNodeOutputWithContext(ctx context.Context) GetKubernetesNodePoolNodeOutput

type GetKubernetesNodePoolOutput

type GetKubernetesNodePoolOutput struct{ *pulumi.OutputState }

func (GetKubernetesNodePoolOutput) AutoScaler

Boolean indicating if the auto scaler for the default node pool is active.

func (GetKubernetesNodePoolOutput) DateCreated

Date node was created.

func (GetKubernetesNodePoolOutput) DateUpdated

Date of node pool updates.

func (GetKubernetesNodePoolOutput) ElementType

func (GetKubernetesNodePoolOutput) Id

ID of node.

func (GetKubernetesNodePoolOutput) Label

Label of node.

func (GetKubernetesNodePoolOutput) MaxNodes

The maximum number of nodes used by the auto scaler.

func (GetKubernetesNodePoolOutput) MinNodes

The minimum number of nodes used by the auto scaler.

func (GetKubernetesNodePoolOutput) NodeQuantity

func (o GetKubernetesNodePoolOutput) NodeQuantity() pulumi.IntOutput

Number of nodes within node pool.

func (GetKubernetesNodePoolOutput) Nodes

Array that contains information about nodes within this node pool.

func (GetKubernetesNodePoolOutput) Plan

Node plan that nodes are using within this node pool.

func (GetKubernetesNodePoolOutput) Status

Status of node.

func (GetKubernetesNodePoolOutput) Tag

Tag for node pool.

func (GetKubernetesNodePoolOutput) ToGetKubernetesNodePoolOutput

func (o GetKubernetesNodePoolOutput) ToGetKubernetesNodePoolOutput() GetKubernetesNodePoolOutput

func (GetKubernetesNodePoolOutput) ToGetKubernetesNodePoolOutputWithContext

func (o GetKubernetesNodePoolOutput) ToGetKubernetesNodePoolOutputWithContext(ctx context.Context) GetKubernetesNodePoolOutput

type GetLoadBalancerFilter

type GetLoadBalancerFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetLoadBalancerFilterArgs

type GetLoadBalancerFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetLoadBalancerFilterArgs) ElementType

func (GetLoadBalancerFilterArgs) ElementType() reflect.Type

func (GetLoadBalancerFilterArgs) ToGetLoadBalancerFilterOutput

func (i GetLoadBalancerFilterArgs) ToGetLoadBalancerFilterOutput() GetLoadBalancerFilterOutput

func (GetLoadBalancerFilterArgs) ToGetLoadBalancerFilterOutputWithContext

func (i GetLoadBalancerFilterArgs) ToGetLoadBalancerFilterOutputWithContext(ctx context.Context) GetLoadBalancerFilterOutput

type GetLoadBalancerFilterArray

type GetLoadBalancerFilterArray []GetLoadBalancerFilterInput

func (GetLoadBalancerFilterArray) ElementType

func (GetLoadBalancerFilterArray) ElementType() reflect.Type

func (GetLoadBalancerFilterArray) ToGetLoadBalancerFilterArrayOutput

func (i GetLoadBalancerFilterArray) ToGetLoadBalancerFilterArrayOutput() GetLoadBalancerFilterArrayOutput

func (GetLoadBalancerFilterArray) ToGetLoadBalancerFilterArrayOutputWithContext

func (i GetLoadBalancerFilterArray) ToGetLoadBalancerFilterArrayOutputWithContext(ctx context.Context) GetLoadBalancerFilterArrayOutput

type GetLoadBalancerFilterArrayInput

type GetLoadBalancerFilterArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerFilterArrayOutput() GetLoadBalancerFilterArrayOutput
	ToGetLoadBalancerFilterArrayOutputWithContext(context.Context) GetLoadBalancerFilterArrayOutput
}

GetLoadBalancerFilterArrayInput is an input type that accepts GetLoadBalancerFilterArray and GetLoadBalancerFilterArrayOutput values. You can construct a concrete instance of `GetLoadBalancerFilterArrayInput` via:

GetLoadBalancerFilterArray{ GetLoadBalancerFilterArgs{...} }

type GetLoadBalancerFilterArrayOutput

type GetLoadBalancerFilterArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerFilterArrayOutput) ElementType

func (GetLoadBalancerFilterArrayOutput) Index

func (GetLoadBalancerFilterArrayOutput) ToGetLoadBalancerFilterArrayOutput

func (o GetLoadBalancerFilterArrayOutput) ToGetLoadBalancerFilterArrayOutput() GetLoadBalancerFilterArrayOutput

func (GetLoadBalancerFilterArrayOutput) ToGetLoadBalancerFilterArrayOutputWithContext

func (o GetLoadBalancerFilterArrayOutput) ToGetLoadBalancerFilterArrayOutputWithContext(ctx context.Context) GetLoadBalancerFilterArrayOutput

type GetLoadBalancerFilterInput

type GetLoadBalancerFilterInput interface {
	pulumi.Input

	ToGetLoadBalancerFilterOutput() GetLoadBalancerFilterOutput
	ToGetLoadBalancerFilterOutputWithContext(context.Context) GetLoadBalancerFilterOutput
}

GetLoadBalancerFilterInput is an input type that accepts GetLoadBalancerFilterArgs and GetLoadBalancerFilterOutput values. You can construct a concrete instance of `GetLoadBalancerFilterInput` via:

GetLoadBalancerFilterArgs{...}

type GetLoadBalancerFilterOutput

type GetLoadBalancerFilterOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerFilterOutput) ElementType

func (GetLoadBalancerFilterOutput) Name

Attribute name to filter with.

func (GetLoadBalancerFilterOutput) ToGetLoadBalancerFilterOutput

func (o GetLoadBalancerFilterOutput) ToGetLoadBalancerFilterOutput() GetLoadBalancerFilterOutput

func (GetLoadBalancerFilterOutput) ToGetLoadBalancerFilterOutputWithContext

func (o GetLoadBalancerFilterOutput) ToGetLoadBalancerFilterOutputWithContext(ctx context.Context) GetLoadBalancerFilterOutput

func (GetLoadBalancerFilterOutput) Values

One or more values filter with.

type GetObjectStorageClusterArgs

type GetObjectStorageClusterArgs struct {
	// Query parameters for finding operating systems.
	Filters []GetObjectStorageClusterFilter `pulumi:"filters"`
}

A collection of arguments for invoking getObjectStorageCluster.

type GetObjectStorageClusterFilter

type GetObjectStorageClusterFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetObjectStorageClusterFilterArgs

type GetObjectStorageClusterFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetObjectStorageClusterFilterArgs) ElementType

func (GetObjectStorageClusterFilterArgs) ToGetObjectStorageClusterFilterOutput

func (i GetObjectStorageClusterFilterArgs) ToGetObjectStorageClusterFilterOutput() GetObjectStorageClusterFilterOutput

func (GetObjectStorageClusterFilterArgs) ToGetObjectStorageClusterFilterOutputWithContext

func (i GetObjectStorageClusterFilterArgs) ToGetObjectStorageClusterFilterOutputWithContext(ctx context.Context) GetObjectStorageClusterFilterOutput

type GetObjectStorageClusterFilterArray

type GetObjectStorageClusterFilterArray []GetObjectStorageClusterFilterInput

func (GetObjectStorageClusterFilterArray) ElementType

func (GetObjectStorageClusterFilterArray) ToGetObjectStorageClusterFilterArrayOutput

func (i GetObjectStorageClusterFilterArray) ToGetObjectStorageClusterFilterArrayOutput() GetObjectStorageClusterFilterArrayOutput

func (GetObjectStorageClusterFilterArray) ToGetObjectStorageClusterFilterArrayOutputWithContext

func (i GetObjectStorageClusterFilterArray) ToGetObjectStorageClusterFilterArrayOutputWithContext(ctx context.Context) GetObjectStorageClusterFilterArrayOutput

type GetObjectStorageClusterFilterArrayInput

type GetObjectStorageClusterFilterArrayInput interface {
	pulumi.Input

	ToGetObjectStorageClusterFilterArrayOutput() GetObjectStorageClusterFilterArrayOutput
	ToGetObjectStorageClusterFilterArrayOutputWithContext(context.Context) GetObjectStorageClusterFilterArrayOutput
}

GetObjectStorageClusterFilterArrayInput is an input type that accepts GetObjectStorageClusterFilterArray and GetObjectStorageClusterFilterArrayOutput values. You can construct a concrete instance of `GetObjectStorageClusterFilterArrayInput` via:

GetObjectStorageClusterFilterArray{ GetObjectStorageClusterFilterArgs{...} }

type GetObjectStorageClusterFilterArrayOutput

type GetObjectStorageClusterFilterArrayOutput struct{ *pulumi.OutputState }

func (GetObjectStorageClusterFilterArrayOutput) ElementType

func (GetObjectStorageClusterFilterArrayOutput) Index

func (GetObjectStorageClusterFilterArrayOutput) ToGetObjectStorageClusterFilterArrayOutput

func (o GetObjectStorageClusterFilterArrayOutput) ToGetObjectStorageClusterFilterArrayOutput() GetObjectStorageClusterFilterArrayOutput

func (GetObjectStorageClusterFilterArrayOutput) ToGetObjectStorageClusterFilterArrayOutputWithContext

func (o GetObjectStorageClusterFilterArrayOutput) ToGetObjectStorageClusterFilterArrayOutputWithContext(ctx context.Context) GetObjectStorageClusterFilterArrayOutput

type GetObjectStorageClusterFilterInput

type GetObjectStorageClusterFilterInput interface {
	pulumi.Input

	ToGetObjectStorageClusterFilterOutput() GetObjectStorageClusterFilterOutput
	ToGetObjectStorageClusterFilterOutputWithContext(context.Context) GetObjectStorageClusterFilterOutput
}

GetObjectStorageClusterFilterInput is an input type that accepts GetObjectStorageClusterFilterArgs and GetObjectStorageClusterFilterOutput values. You can construct a concrete instance of `GetObjectStorageClusterFilterInput` via:

GetObjectStorageClusterFilterArgs{...}

type GetObjectStorageClusterFilterOutput

type GetObjectStorageClusterFilterOutput struct{ *pulumi.OutputState }

func (GetObjectStorageClusterFilterOutput) ElementType

func (GetObjectStorageClusterFilterOutput) Name

Attribute name to filter with.

func (GetObjectStorageClusterFilterOutput) ToGetObjectStorageClusterFilterOutput

func (o GetObjectStorageClusterFilterOutput) ToGetObjectStorageClusterFilterOutput() GetObjectStorageClusterFilterOutput

func (GetObjectStorageClusterFilterOutput) ToGetObjectStorageClusterFilterOutputWithContext

func (o GetObjectStorageClusterFilterOutput) ToGetObjectStorageClusterFilterOutputWithContext(ctx context.Context) GetObjectStorageClusterFilterOutput

func (GetObjectStorageClusterFilterOutput) Values

One or more values filter with.

type GetObjectStorageClusterOutputArgs

type GetObjectStorageClusterOutputArgs struct {
	// Query parameters for finding operating systems.
	Filters GetObjectStorageClusterFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getObjectStorageCluster.

func (GetObjectStorageClusterOutputArgs) ElementType

type GetObjectStorageClusterResult

type GetObjectStorageClusterResult struct {
	// The Cluster is eligible for Object Storage deployment. (yes or no)
	Deploy  string                          `pulumi:"deploy"`
	Filters []GetObjectStorageClusterFilter `pulumi:"filters"`
	// The cluster hostname.
	Hostname string `pulumi:"hostname"`
	// The identifying cluster ID.
	Id int `pulumi:"id"`
	// The region ID of the object storage cluster.
	Region string `pulumi:"region"`
}

A collection of values returned by getObjectStorageCluster.

func GetObjectStorageCluster

func GetObjectStorageCluster(ctx *pulumi.Context, args *GetObjectStorageClusterArgs, opts ...pulumi.InvokeOption) (*GetObjectStorageClusterResult, error)

Get information about Object Storage Clusters on Vultr.

## Example Usage

Get the information for an object storage cluster by `region`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.GetObjectStorageCluster(ctx, &vultr.GetObjectStorageClusterArgs{
			Filters: []vultr.GetObjectStorageClusterFilter{
				{
					Name: "region",
					Values: []string{
						"ewr",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetObjectStorageClusterResultOutput

type GetObjectStorageClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getObjectStorageCluster.

func (GetObjectStorageClusterResultOutput) Deploy

The Cluster is eligible for Object Storage deployment. (yes or no)

func (GetObjectStorageClusterResultOutput) ElementType

func (GetObjectStorageClusterResultOutput) Filters

func (GetObjectStorageClusterResultOutput) Hostname

The cluster hostname.

func (GetObjectStorageClusterResultOutput) Id

The identifying cluster ID.

func (GetObjectStorageClusterResultOutput) Region

The region ID of the object storage cluster.

func (GetObjectStorageClusterResultOutput) ToGetObjectStorageClusterResultOutput

func (o GetObjectStorageClusterResultOutput) ToGetObjectStorageClusterResultOutput() GetObjectStorageClusterResultOutput

func (GetObjectStorageClusterResultOutput) ToGetObjectStorageClusterResultOutputWithContext

func (o GetObjectStorageClusterResultOutput) ToGetObjectStorageClusterResultOutputWithContext(ctx context.Context) GetObjectStorageClusterResultOutput

type GetObjectStorageFilter

type GetObjectStorageFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetObjectStorageFilterArgs

type GetObjectStorageFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetObjectStorageFilterArgs) ElementType

func (GetObjectStorageFilterArgs) ElementType() reflect.Type

func (GetObjectStorageFilterArgs) ToGetObjectStorageFilterOutput

func (i GetObjectStorageFilterArgs) ToGetObjectStorageFilterOutput() GetObjectStorageFilterOutput

func (GetObjectStorageFilterArgs) ToGetObjectStorageFilterOutputWithContext

func (i GetObjectStorageFilterArgs) ToGetObjectStorageFilterOutputWithContext(ctx context.Context) GetObjectStorageFilterOutput

type GetObjectStorageFilterArray

type GetObjectStorageFilterArray []GetObjectStorageFilterInput

func (GetObjectStorageFilterArray) ElementType

func (GetObjectStorageFilterArray) ToGetObjectStorageFilterArrayOutput

func (i GetObjectStorageFilterArray) ToGetObjectStorageFilterArrayOutput() GetObjectStorageFilterArrayOutput

func (GetObjectStorageFilterArray) ToGetObjectStorageFilterArrayOutputWithContext

func (i GetObjectStorageFilterArray) ToGetObjectStorageFilterArrayOutputWithContext(ctx context.Context) GetObjectStorageFilterArrayOutput

type GetObjectStorageFilterArrayInput

type GetObjectStorageFilterArrayInput interface {
	pulumi.Input

	ToGetObjectStorageFilterArrayOutput() GetObjectStorageFilterArrayOutput
	ToGetObjectStorageFilterArrayOutputWithContext(context.Context) GetObjectStorageFilterArrayOutput
}

GetObjectStorageFilterArrayInput is an input type that accepts GetObjectStorageFilterArray and GetObjectStorageFilterArrayOutput values. You can construct a concrete instance of `GetObjectStorageFilterArrayInput` via:

GetObjectStorageFilterArray{ GetObjectStorageFilterArgs{...} }

type GetObjectStorageFilterArrayOutput

type GetObjectStorageFilterArrayOutput struct{ *pulumi.OutputState }

func (GetObjectStorageFilterArrayOutput) ElementType

func (GetObjectStorageFilterArrayOutput) Index

func (GetObjectStorageFilterArrayOutput) ToGetObjectStorageFilterArrayOutput

func (o GetObjectStorageFilterArrayOutput) ToGetObjectStorageFilterArrayOutput() GetObjectStorageFilterArrayOutput

func (GetObjectStorageFilterArrayOutput) ToGetObjectStorageFilterArrayOutputWithContext

func (o GetObjectStorageFilterArrayOutput) ToGetObjectStorageFilterArrayOutputWithContext(ctx context.Context) GetObjectStorageFilterArrayOutput

type GetObjectStorageFilterInput

type GetObjectStorageFilterInput interface {
	pulumi.Input

	ToGetObjectStorageFilterOutput() GetObjectStorageFilterOutput
	ToGetObjectStorageFilterOutputWithContext(context.Context) GetObjectStorageFilterOutput
}

GetObjectStorageFilterInput is an input type that accepts GetObjectStorageFilterArgs and GetObjectStorageFilterOutput values. You can construct a concrete instance of `GetObjectStorageFilterInput` via:

GetObjectStorageFilterArgs{...}

type GetObjectStorageFilterOutput

type GetObjectStorageFilterOutput struct{ *pulumi.OutputState }

func (GetObjectStorageFilterOutput) ElementType

func (GetObjectStorageFilterOutput) Name

Attribute name to filter with.

func (GetObjectStorageFilterOutput) ToGetObjectStorageFilterOutput

func (o GetObjectStorageFilterOutput) ToGetObjectStorageFilterOutput() GetObjectStorageFilterOutput

func (GetObjectStorageFilterOutput) ToGetObjectStorageFilterOutputWithContext

func (o GetObjectStorageFilterOutput) ToGetObjectStorageFilterOutputWithContext(ctx context.Context) GetObjectStorageFilterOutput

func (GetObjectStorageFilterOutput) Values

One or more values filter with.

type GetOsArgs

type GetOsArgs struct {
	// Query parameters for finding operating systems.
	Filters []GetOsFilter `pulumi:"filters"`
}

A collection of arguments for invoking getOs.

type GetOsFilter

type GetOsFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetOsFilterArgs

type GetOsFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetOsFilterArgs) ElementType

func (GetOsFilterArgs) ElementType() reflect.Type

func (GetOsFilterArgs) ToGetOsFilterOutput

func (i GetOsFilterArgs) ToGetOsFilterOutput() GetOsFilterOutput

func (GetOsFilterArgs) ToGetOsFilterOutputWithContext

func (i GetOsFilterArgs) ToGetOsFilterOutputWithContext(ctx context.Context) GetOsFilterOutput

type GetOsFilterArray

type GetOsFilterArray []GetOsFilterInput

func (GetOsFilterArray) ElementType

func (GetOsFilterArray) ElementType() reflect.Type

func (GetOsFilterArray) ToGetOsFilterArrayOutput

func (i GetOsFilterArray) ToGetOsFilterArrayOutput() GetOsFilterArrayOutput

func (GetOsFilterArray) ToGetOsFilterArrayOutputWithContext

func (i GetOsFilterArray) ToGetOsFilterArrayOutputWithContext(ctx context.Context) GetOsFilterArrayOutput

type GetOsFilterArrayInput

type GetOsFilterArrayInput interface {
	pulumi.Input

	ToGetOsFilterArrayOutput() GetOsFilterArrayOutput
	ToGetOsFilterArrayOutputWithContext(context.Context) GetOsFilterArrayOutput
}

GetOsFilterArrayInput is an input type that accepts GetOsFilterArray and GetOsFilterArrayOutput values. You can construct a concrete instance of `GetOsFilterArrayInput` via:

GetOsFilterArray{ GetOsFilterArgs{...} }

type GetOsFilterArrayOutput

type GetOsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetOsFilterArrayOutput) ElementType

func (GetOsFilterArrayOutput) ElementType() reflect.Type

func (GetOsFilterArrayOutput) Index

func (GetOsFilterArrayOutput) ToGetOsFilterArrayOutput

func (o GetOsFilterArrayOutput) ToGetOsFilterArrayOutput() GetOsFilterArrayOutput

func (GetOsFilterArrayOutput) ToGetOsFilterArrayOutputWithContext

func (o GetOsFilterArrayOutput) ToGetOsFilterArrayOutputWithContext(ctx context.Context) GetOsFilterArrayOutput

type GetOsFilterInput

type GetOsFilterInput interface {
	pulumi.Input

	ToGetOsFilterOutput() GetOsFilterOutput
	ToGetOsFilterOutputWithContext(context.Context) GetOsFilterOutput
}

GetOsFilterInput is an input type that accepts GetOsFilterArgs and GetOsFilterOutput values. You can construct a concrete instance of `GetOsFilterInput` via:

GetOsFilterArgs{...}

type GetOsFilterOutput

type GetOsFilterOutput struct{ *pulumi.OutputState }

func (GetOsFilterOutput) ElementType

func (GetOsFilterOutput) ElementType() reflect.Type

func (GetOsFilterOutput) Name

Attribute name to filter with.

func (GetOsFilterOutput) ToGetOsFilterOutput

func (o GetOsFilterOutput) ToGetOsFilterOutput() GetOsFilterOutput

func (GetOsFilterOutput) ToGetOsFilterOutputWithContext

func (o GetOsFilterOutput) ToGetOsFilterOutputWithContext(ctx context.Context) GetOsFilterOutput

func (GetOsFilterOutput) Values

One or more values filter with.

type GetOsOutputArgs

type GetOsOutputArgs struct {
	// Query parameters for finding operating systems.
	Filters GetOsFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getOs.

func (GetOsOutputArgs) ElementType

func (GetOsOutputArgs) ElementType() reflect.Type

type GetOsResult

type GetOsResult struct {
	// The architecture of the operating system.
	Arch string `pulumi:"arch"`
	// The family of the operating system.
	Family  string        `pulumi:"family"`
	Filters []GetOsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the operating system.
	Name string `pulumi:"name"`
}

A collection of values returned by getOs.

func GetOs

func GetOs(ctx *pulumi.Context, args *GetOsArgs, opts ...pulumi.InvokeOption) (*GetOsResult, error)

Get information about operating systems that can be launched when creating a Vultr VPS.

## Example Usage

Get the information for an operating system by `name`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.GetOs(ctx, &vultr.GetOsArgs{
			Filters: []vultr.GetOsFilter{
				{
					Name: "name",
					Values: []string{
						"CentOS 7 x64",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetOsResultOutput

type GetOsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOs.

func GetOsOutput

func GetOsOutput(ctx *pulumi.Context, args GetOsOutputArgs, opts ...pulumi.InvokeOption) GetOsResultOutput

func (GetOsResultOutput) Arch

The architecture of the operating system.

func (GetOsResultOutput) ElementType

func (GetOsResultOutput) ElementType() reflect.Type

func (GetOsResultOutput) Family

The family of the operating system.

func (GetOsResultOutput) Filters

func (GetOsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetOsResultOutput) Name

The name of the operating system.

func (GetOsResultOutput) ToGetOsResultOutput

func (o GetOsResultOutput) ToGetOsResultOutput() GetOsResultOutput

func (GetOsResultOutput) ToGetOsResultOutputWithContext

func (o GetOsResultOutput) ToGetOsResultOutputWithContext(ctx context.Context) GetOsResultOutput

type GetPlanArgs

type GetPlanArgs struct {
	// Query parameters for finding plans.
	Filters []GetPlanFilter `pulumi:"filters"`
}

A collection of arguments for invoking getPlan.

type GetPlanFilter

type GetPlanFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetPlanFilterArgs

type GetPlanFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetPlanFilterArgs) ElementType

func (GetPlanFilterArgs) ElementType() reflect.Type

func (GetPlanFilterArgs) ToGetPlanFilterOutput

func (i GetPlanFilterArgs) ToGetPlanFilterOutput() GetPlanFilterOutput

func (GetPlanFilterArgs) ToGetPlanFilterOutputWithContext

func (i GetPlanFilterArgs) ToGetPlanFilterOutputWithContext(ctx context.Context) GetPlanFilterOutput

type GetPlanFilterArray

type GetPlanFilterArray []GetPlanFilterInput

func (GetPlanFilterArray) ElementType

func (GetPlanFilterArray) ElementType() reflect.Type

func (GetPlanFilterArray) ToGetPlanFilterArrayOutput

func (i GetPlanFilterArray) ToGetPlanFilterArrayOutput() GetPlanFilterArrayOutput

func (GetPlanFilterArray) ToGetPlanFilterArrayOutputWithContext

func (i GetPlanFilterArray) ToGetPlanFilterArrayOutputWithContext(ctx context.Context) GetPlanFilterArrayOutput

type GetPlanFilterArrayInput

type GetPlanFilterArrayInput interface {
	pulumi.Input

	ToGetPlanFilterArrayOutput() GetPlanFilterArrayOutput
	ToGetPlanFilterArrayOutputWithContext(context.Context) GetPlanFilterArrayOutput
}

GetPlanFilterArrayInput is an input type that accepts GetPlanFilterArray and GetPlanFilterArrayOutput values. You can construct a concrete instance of `GetPlanFilterArrayInput` via:

GetPlanFilterArray{ GetPlanFilterArgs{...} }

type GetPlanFilterArrayOutput

type GetPlanFilterArrayOutput struct{ *pulumi.OutputState }

func (GetPlanFilterArrayOutput) ElementType

func (GetPlanFilterArrayOutput) ElementType() reflect.Type

func (GetPlanFilterArrayOutput) Index

func (GetPlanFilterArrayOutput) ToGetPlanFilterArrayOutput

func (o GetPlanFilterArrayOutput) ToGetPlanFilterArrayOutput() GetPlanFilterArrayOutput

func (GetPlanFilterArrayOutput) ToGetPlanFilterArrayOutputWithContext

func (o GetPlanFilterArrayOutput) ToGetPlanFilterArrayOutputWithContext(ctx context.Context) GetPlanFilterArrayOutput

type GetPlanFilterInput

type GetPlanFilterInput interface {
	pulumi.Input

	ToGetPlanFilterOutput() GetPlanFilterOutput
	ToGetPlanFilterOutputWithContext(context.Context) GetPlanFilterOutput
}

GetPlanFilterInput is an input type that accepts GetPlanFilterArgs and GetPlanFilterOutput values. You can construct a concrete instance of `GetPlanFilterInput` via:

GetPlanFilterArgs{...}

type GetPlanFilterOutput

type GetPlanFilterOutput struct{ *pulumi.OutputState }

func (GetPlanFilterOutput) ElementType

func (GetPlanFilterOutput) ElementType() reflect.Type

func (GetPlanFilterOutput) Name

Attribute name to filter with.

func (GetPlanFilterOutput) ToGetPlanFilterOutput

func (o GetPlanFilterOutput) ToGetPlanFilterOutput() GetPlanFilterOutput

func (GetPlanFilterOutput) ToGetPlanFilterOutputWithContext

func (o GetPlanFilterOutput) ToGetPlanFilterOutputWithContext(ctx context.Context) GetPlanFilterOutput

func (GetPlanFilterOutput) Values

One or more values filter with.

type GetPlanOutputArgs

type GetPlanOutputArgs struct {
	// Query parameters for finding plans.
	Filters GetPlanFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getPlan.

func (GetPlanOutputArgs) ElementType

func (GetPlanOutputArgs) ElementType() reflect.Type

type GetPlanResult

type GetPlanResult struct {
	// The bandwidth available on the plan in GB.
	Bandwidth int `pulumi:"bandwidth"`
	// The amount of disk space in GB available on the plan.
	Disk int `pulumi:"disk"`
	// The number of disks that this plan offers.
	DiskCount int             `pulumi:"diskCount"`
	Filters   []GetPlanFilter `pulumi:"filters"`
	// For GPU plans, the GPU card type.
	GpuType string `pulumi:"gpuType"`
	// For GPU plans, the VRAM available in the plan.
	GpuVram int `pulumi:"gpuVram"`
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Locations []string `pulumi:"locations"`
	// The price per month of the plan in USD.
	MonthlyCost float64 `pulumi:"monthlyCost"`
	// The amount of memory available on the plan in MB.
	Ram int `pulumi:"ram"`
	// The type of plan it is.
	Type string `pulumi:"type"`
	// The number of virtual CPUs available on the plan.
	VcpuCount int `pulumi:"vcpuCount"`
}

A collection of values returned by getPlan.

func GetPlan

func GetPlan(ctx *pulumi.Context, args *GetPlanArgs, opts ...pulumi.InvokeOption) (*GetPlanResult, error)

Get information about a Vultr plan.

## Example Usage

Get the information for a plan by `id`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.GetPlan(ctx, &vultr.GetPlanArgs{
			Filters: []vultr.GetPlanFilter{
				{
					Name: "id",
					Values: []string{
						"vc2-1c-2gb",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPlanResultOutput

type GetPlanResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPlan.

func (GetPlanResultOutput) Bandwidth

func (o GetPlanResultOutput) Bandwidth() pulumi.IntOutput

The bandwidth available on the plan in GB.

func (GetPlanResultOutput) Disk

The amount of disk space in GB available on the plan.

func (GetPlanResultOutput) DiskCount

func (o GetPlanResultOutput) DiskCount() pulumi.IntOutput

The number of disks that this plan offers.

func (GetPlanResultOutput) ElementType

func (GetPlanResultOutput) ElementType() reflect.Type

func (GetPlanResultOutput) Filters

func (GetPlanResultOutput) GpuType

For GPU plans, the GPU card type.

func (GetPlanResultOutput) GpuVram

func (o GetPlanResultOutput) GpuVram() pulumi.IntOutput

For GPU plans, the VRAM available in the plan.

func (GetPlanResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPlanResultOutput) Locations

func (GetPlanResultOutput) MonthlyCost

func (o GetPlanResultOutput) MonthlyCost() pulumi.Float64Output

The price per month of the plan in USD.

func (GetPlanResultOutput) Ram

The amount of memory available on the plan in MB.

func (GetPlanResultOutput) ToGetPlanResultOutput

func (o GetPlanResultOutput) ToGetPlanResultOutput() GetPlanResultOutput

func (GetPlanResultOutput) ToGetPlanResultOutputWithContext

func (o GetPlanResultOutput) ToGetPlanResultOutputWithContext(ctx context.Context) GetPlanResultOutput

func (GetPlanResultOutput) Type

The type of plan it is.

func (GetPlanResultOutput) VcpuCount

func (o GetPlanResultOutput) VcpuCount() pulumi.IntOutput

The number of virtual CPUs available on the plan.

type GetPrivateNetworkFilter

type GetPrivateNetworkFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetPrivateNetworkFilterArgs

type GetPrivateNetworkFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetPrivateNetworkFilterArgs) ElementType

func (GetPrivateNetworkFilterArgs) ToGetPrivateNetworkFilterOutput

func (i GetPrivateNetworkFilterArgs) ToGetPrivateNetworkFilterOutput() GetPrivateNetworkFilterOutput

func (GetPrivateNetworkFilterArgs) ToGetPrivateNetworkFilterOutputWithContext

func (i GetPrivateNetworkFilterArgs) ToGetPrivateNetworkFilterOutputWithContext(ctx context.Context) GetPrivateNetworkFilterOutput

type GetPrivateNetworkFilterArray

type GetPrivateNetworkFilterArray []GetPrivateNetworkFilterInput

func (GetPrivateNetworkFilterArray) ElementType

func (GetPrivateNetworkFilterArray) ToGetPrivateNetworkFilterArrayOutput

func (i GetPrivateNetworkFilterArray) ToGetPrivateNetworkFilterArrayOutput() GetPrivateNetworkFilterArrayOutput

func (GetPrivateNetworkFilterArray) ToGetPrivateNetworkFilterArrayOutputWithContext

func (i GetPrivateNetworkFilterArray) ToGetPrivateNetworkFilterArrayOutputWithContext(ctx context.Context) GetPrivateNetworkFilterArrayOutput

type GetPrivateNetworkFilterArrayInput

type GetPrivateNetworkFilterArrayInput interface {
	pulumi.Input

	ToGetPrivateNetworkFilterArrayOutput() GetPrivateNetworkFilterArrayOutput
	ToGetPrivateNetworkFilterArrayOutputWithContext(context.Context) GetPrivateNetworkFilterArrayOutput
}

GetPrivateNetworkFilterArrayInput is an input type that accepts GetPrivateNetworkFilterArray and GetPrivateNetworkFilterArrayOutput values. You can construct a concrete instance of `GetPrivateNetworkFilterArrayInput` via:

GetPrivateNetworkFilterArray{ GetPrivateNetworkFilterArgs{...} }

type GetPrivateNetworkFilterArrayOutput

type GetPrivateNetworkFilterArrayOutput struct{ *pulumi.OutputState }

func (GetPrivateNetworkFilterArrayOutput) ElementType

func (GetPrivateNetworkFilterArrayOutput) Index

func (GetPrivateNetworkFilterArrayOutput) ToGetPrivateNetworkFilterArrayOutput

func (o GetPrivateNetworkFilterArrayOutput) ToGetPrivateNetworkFilterArrayOutput() GetPrivateNetworkFilterArrayOutput

func (GetPrivateNetworkFilterArrayOutput) ToGetPrivateNetworkFilterArrayOutputWithContext

func (o GetPrivateNetworkFilterArrayOutput) ToGetPrivateNetworkFilterArrayOutputWithContext(ctx context.Context) GetPrivateNetworkFilterArrayOutput

type GetPrivateNetworkFilterInput

type GetPrivateNetworkFilterInput interface {
	pulumi.Input

	ToGetPrivateNetworkFilterOutput() GetPrivateNetworkFilterOutput
	ToGetPrivateNetworkFilterOutputWithContext(context.Context) GetPrivateNetworkFilterOutput
}

GetPrivateNetworkFilterInput is an input type that accepts GetPrivateNetworkFilterArgs and GetPrivateNetworkFilterOutput values. You can construct a concrete instance of `GetPrivateNetworkFilterInput` via:

GetPrivateNetworkFilterArgs{...}

type GetPrivateNetworkFilterOutput

type GetPrivateNetworkFilterOutput struct{ *pulumi.OutputState }

func (GetPrivateNetworkFilterOutput) ElementType

func (GetPrivateNetworkFilterOutput) Name

Attribute name to filter with.

func (GetPrivateNetworkFilterOutput) ToGetPrivateNetworkFilterOutput

func (o GetPrivateNetworkFilterOutput) ToGetPrivateNetworkFilterOutput() GetPrivateNetworkFilterOutput

func (GetPrivateNetworkFilterOutput) ToGetPrivateNetworkFilterOutputWithContext

func (o GetPrivateNetworkFilterOutput) ToGetPrivateNetworkFilterOutputWithContext(ctx context.Context) GetPrivateNetworkFilterOutput

func (GetPrivateNetworkFilterOutput) Values

One or more values filter with.

type GetRegionArgs

type GetRegionArgs struct {
	// Query parameters for finding regions.
	Filters []GetRegionFilter `pulumi:"filters"`
}

A collection of arguments for invoking getRegion.

type GetRegionFilter

type GetRegionFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetRegionFilterArgs

type GetRegionFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRegionFilterArgs) ElementType

func (GetRegionFilterArgs) ElementType() reflect.Type

func (GetRegionFilterArgs) ToGetRegionFilterOutput

func (i GetRegionFilterArgs) ToGetRegionFilterOutput() GetRegionFilterOutput

func (GetRegionFilterArgs) ToGetRegionFilterOutputWithContext

func (i GetRegionFilterArgs) ToGetRegionFilterOutputWithContext(ctx context.Context) GetRegionFilterOutput

type GetRegionFilterArray

type GetRegionFilterArray []GetRegionFilterInput

func (GetRegionFilterArray) ElementType

func (GetRegionFilterArray) ElementType() reflect.Type

func (GetRegionFilterArray) ToGetRegionFilterArrayOutput

func (i GetRegionFilterArray) ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput

func (GetRegionFilterArray) ToGetRegionFilterArrayOutputWithContext

func (i GetRegionFilterArray) ToGetRegionFilterArrayOutputWithContext(ctx context.Context) GetRegionFilterArrayOutput

type GetRegionFilterArrayInput

type GetRegionFilterArrayInput interface {
	pulumi.Input

	ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput
	ToGetRegionFilterArrayOutputWithContext(context.Context) GetRegionFilterArrayOutput
}

GetRegionFilterArrayInput is an input type that accepts GetRegionFilterArray and GetRegionFilterArrayOutput values. You can construct a concrete instance of `GetRegionFilterArrayInput` via:

GetRegionFilterArray{ GetRegionFilterArgs{...} }

type GetRegionFilterArrayOutput

type GetRegionFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRegionFilterArrayOutput) ElementType

func (GetRegionFilterArrayOutput) ElementType() reflect.Type

func (GetRegionFilterArrayOutput) Index

func (GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutput

func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput

func (GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutputWithContext

func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutputWithContext(ctx context.Context) GetRegionFilterArrayOutput

type GetRegionFilterInput

type GetRegionFilterInput interface {
	pulumi.Input

	ToGetRegionFilterOutput() GetRegionFilterOutput
	ToGetRegionFilterOutputWithContext(context.Context) GetRegionFilterOutput
}

GetRegionFilterInput is an input type that accepts GetRegionFilterArgs and GetRegionFilterOutput values. You can construct a concrete instance of `GetRegionFilterInput` via:

GetRegionFilterArgs{...}

type GetRegionFilterOutput

type GetRegionFilterOutput struct{ *pulumi.OutputState }

func (GetRegionFilterOutput) ElementType

func (GetRegionFilterOutput) ElementType() reflect.Type

func (GetRegionFilterOutput) Name

Attribute name to filter with.

func (GetRegionFilterOutput) ToGetRegionFilterOutput

func (o GetRegionFilterOutput) ToGetRegionFilterOutput() GetRegionFilterOutput

func (GetRegionFilterOutput) ToGetRegionFilterOutputWithContext

func (o GetRegionFilterOutput) ToGetRegionFilterOutputWithContext(ctx context.Context) GetRegionFilterOutput

func (GetRegionFilterOutput) Values

One or more values filter with.

type GetRegionOutputArgs

type GetRegionOutputArgs struct {
	// Query parameters for finding regions.
	Filters GetRegionFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getRegion.

func (GetRegionOutputArgs) ElementType

func (GetRegionOutputArgs) ElementType() reflect.Type

type GetRegionResult

type GetRegionResult struct {
	// The city the region is in.
	City string `pulumi:"city"`
	// The continent the region is in.
	Continent string `pulumi:"continent"`
	// The country the region is in.
	Country string            `pulumi:"country"`
	Filters []GetRegionFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Shows whether options like ddos protection or block storage are available in the region.
	Options []string `pulumi:"options"`
}

A collection of values returned by getRegion.

func GetRegion

func GetRegion(ctx *pulumi.Context, args *GetRegionArgs, opts ...pulumi.InvokeOption) (*GetRegionResult, error)

Get information about a Vultr region.

## Example Usage

Get the information for a region by `id`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.GetRegion(ctx, &vultr.GetRegionArgs{
			Filters: []vultr.GetRegionFilter{
				{
					Name: "id",
					Values: []string{
						"sea",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRegionResultOutput

type GetRegionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegion.

func (GetRegionResultOutput) City

The city the region is in.

func (GetRegionResultOutput) Continent

The continent the region is in.

func (GetRegionResultOutput) Country

The country the region is in.

func (GetRegionResultOutput) ElementType

func (GetRegionResultOutput) ElementType() reflect.Type

func (GetRegionResultOutput) Filters

func (GetRegionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRegionResultOutput) Options

Shows whether options like ddos protection or block storage are available in the region.

func (GetRegionResultOutput) ToGetRegionResultOutput

func (o GetRegionResultOutput) ToGetRegionResultOutput() GetRegionResultOutput

func (GetRegionResultOutput) ToGetRegionResultOutputWithContext

func (o GetRegionResultOutput) ToGetRegionResultOutputWithContext(ctx context.Context) GetRegionResultOutput

type GetReservedIpFilter

type GetReservedIpFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetReservedIpFilterArgs

type GetReservedIpFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetReservedIpFilterArgs) ElementType

func (GetReservedIpFilterArgs) ElementType() reflect.Type

func (GetReservedIpFilterArgs) ToGetReservedIpFilterOutput

func (i GetReservedIpFilterArgs) ToGetReservedIpFilterOutput() GetReservedIpFilterOutput

func (GetReservedIpFilterArgs) ToGetReservedIpFilterOutputWithContext

func (i GetReservedIpFilterArgs) ToGetReservedIpFilterOutputWithContext(ctx context.Context) GetReservedIpFilterOutput

type GetReservedIpFilterArray

type GetReservedIpFilterArray []GetReservedIpFilterInput

func (GetReservedIpFilterArray) ElementType

func (GetReservedIpFilterArray) ElementType() reflect.Type

func (GetReservedIpFilterArray) ToGetReservedIpFilterArrayOutput

func (i GetReservedIpFilterArray) ToGetReservedIpFilterArrayOutput() GetReservedIpFilterArrayOutput

func (GetReservedIpFilterArray) ToGetReservedIpFilterArrayOutputWithContext

func (i GetReservedIpFilterArray) ToGetReservedIpFilterArrayOutputWithContext(ctx context.Context) GetReservedIpFilterArrayOutput

type GetReservedIpFilterArrayInput

type GetReservedIpFilterArrayInput interface {
	pulumi.Input

	ToGetReservedIpFilterArrayOutput() GetReservedIpFilterArrayOutput
	ToGetReservedIpFilterArrayOutputWithContext(context.Context) GetReservedIpFilterArrayOutput
}

GetReservedIpFilterArrayInput is an input type that accepts GetReservedIpFilterArray and GetReservedIpFilterArrayOutput values. You can construct a concrete instance of `GetReservedIpFilterArrayInput` via:

GetReservedIpFilterArray{ GetReservedIpFilterArgs{...} }

type GetReservedIpFilterArrayOutput

type GetReservedIpFilterArrayOutput struct{ *pulumi.OutputState }

func (GetReservedIpFilterArrayOutput) ElementType

func (GetReservedIpFilterArrayOutput) Index

func (GetReservedIpFilterArrayOutput) ToGetReservedIpFilterArrayOutput

func (o GetReservedIpFilterArrayOutput) ToGetReservedIpFilterArrayOutput() GetReservedIpFilterArrayOutput

func (GetReservedIpFilterArrayOutput) ToGetReservedIpFilterArrayOutputWithContext

func (o GetReservedIpFilterArrayOutput) ToGetReservedIpFilterArrayOutputWithContext(ctx context.Context) GetReservedIpFilterArrayOutput

type GetReservedIpFilterInput

type GetReservedIpFilterInput interface {
	pulumi.Input

	ToGetReservedIpFilterOutput() GetReservedIpFilterOutput
	ToGetReservedIpFilterOutputWithContext(context.Context) GetReservedIpFilterOutput
}

GetReservedIpFilterInput is an input type that accepts GetReservedIpFilterArgs and GetReservedIpFilterOutput values. You can construct a concrete instance of `GetReservedIpFilterInput` via:

GetReservedIpFilterArgs{...}

type GetReservedIpFilterOutput

type GetReservedIpFilterOutput struct{ *pulumi.OutputState }

func (GetReservedIpFilterOutput) ElementType

func (GetReservedIpFilterOutput) ElementType() reflect.Type

func (GetReservedIpFilterOutput) Name

Attribute name to filter with.

func (GetReservedIpFilterOutput) ToGetReservedIpFilterOutput

func (o GetReservedIpFilterOutput) ToGetReservedIpFilterOutput() GetReservedIpFilterOutput

func (GetReservedIpFilterOutput) ToGetReservedIpFilterOutputWithContext

func (o GetReservedIpFilterOutput) ToGetReservedIpFilterOutputWithContext(ctx context.Context) GetReservedIpFilterOutput

func (GetReservedIpFilterOutput) Values

One or more values filter with.

type GetReverseIpv4Filter

type GetReverseIpv4Filter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values to filter with.
	Values []string `pulumi:"values"`
}

type GetReverseIpv4FilterArgs

type GetReverseIpv4FilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values to filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetReverseIpv4FilterArgs) ElementType

func (GetReverseIpv4FilterArgs) ElementType() reflect.Type

func (GetReverseIpv4FilterArgs) ToGetReverseIpv4FilterOutput

func (i GetReverseIpv4FilterArgs) ToGetReverseIpv4FilterOutput() GetReverseIpv4FilterOutput

func (GetReverseIpv4FilterArgs) ToGetReverseIpv4FilterOutputWithContext

func (i GetReverseIpv4FilterArgs) ToGetReverseIpv4FilterOutputWithContext(ctx context.Context) GetReverseIpv4FilterOutput

type GetReverseIpv4FilterArray

type GetReverseIpv4FilterArray []GetReverseIpv4FilterInput

func (GetReverseIpv4FilterArray) ElementType

func (GetReverseIpv4FilterArray) ElementType() reflect.Type

func (GetReverseIpv4FilterArray) ToGetReverseIpv4FilterArrayOutput

func (i GetReverseIpv4FilterArray) ToGetReverseIpv4FilterArrayOutput() GetReverseIpv4FilterArrayOutput

func (GetReverseIpv4FilterArray) ToGetReverseIpv4FilterArrayOutputWithContext

func (i GetReverseIpv4FilterArray) ToGetReverseIpv4FilterArrayOutputWithContext(ctx context.Context) GetReverseIpv4FilterArrayOutput

type GetReverseIpv4FilterArrayInput

type GetReverseIpv4FilterArrayInput interface {
	pulumi.Input

	ToGetReverseIpv4FilterArrayOutput() GetReverseIpv4FilterArrayOutput
	ToGetReverseIpv4FilterArrayOutputWithContext(context.Context) GetReverseIpv4FilterArrayOutput
}

GetReverseIpv4FilterArrayInput is an input type that accepts GetReverseIpv4FilterArray and GetReverseIpv4FilterArrayOutput values. You can construct a concrete instance of `GetReverseIpv4FilterArrayInput` via:

GetReverseIpv4FilterArray{ GetReverseIpv4FilterArgs{...} }

type GetReverseIpv4FilterArrayOutput

type GetReverseIpv4FilterArrayOutput struct{ *pulumi.OutputState }

func (GetReverseIpv4FilterArrayOutput) ElementType

func (GetReverseIpv4FilterArrayOutput) Index

func (GetReverseIpv4FilterArrayOutput) ToGetReverseIpv4FilterArrayOutput

func (o GetReverseIpv4FilterArrayOutput) ToGetReverseIpv4FilterArrayOutput() GetReverseIpv4FilterArrayOutput

func (GetReverseIpv4FilterArrayOutput) ToGetReverseIpv4FilterArrayOutputWithContext

func (o GetReverseIpv4FilterArrayOutput) ToGetReverseIpv4FilterArrayOutputWithContext(ctx context.Context) GetReverseIpv4FilterArrayOutput

type GetReverseIpv4FilterInput

type GetReverseIpv4FilterInput interface {
	pulumi.Input

	ToGetReverseIpv4FilterOutput() GetReverseIpv4FilterOutput
	ToGetReverseIpv4FilterOutputWithContext(context.Context) GetReverseIpv4FilterOutput
}

GetReverseIpv4FilterInput is an input type that accepts GetReverseIpv4FilterArgs and GetReverseIpv4FilterOutput values. You can construct a concrete instance of `GetReverseIpv4FilterInput` via:

GetReverseIpv4FilterArgs{...}

type GetReverseIpv4FilterOutput

type GetReverseIpv4FilterOutput struct{ *pulumi.OutputState }

func (GetReverseIpv4FilterOutput) ElementType

func (GetReverseIpv4FilterOutput) ElementType() reflect.Type

func (GetReverseIpv4FilterOutput) Name

Attribute name to filter with.

func (GetReverseIpv4FilterOutput) ToGetReverseIpv4FilterOutput

func (o GetReverseIpv4FilterOutput) ToGetReverseIpv4FilterOutput() GetReverseIpv4FilterOutput

func (GetReverseIpv4FilterOutput) ToGetReverseIpv4FilterOutputWithContext

func (o GetReverseIpv4FilterOutput) ToGetReverseIpv4FilterOutputWithContext(ctx context.Context) GetReverseIpv4FilterOutput

func (GetReverseIpv4FilterOutput) Values

One or more values to filter with.

type GetReverseIpv6Filter

type GetReverseIpv6Filter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values to filter with.
	Values []string `pulumi:"values"`
}

type GetReverseIpv6FilterArgs

type GetReverseIpv6FilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values to filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetReverseIpv6FilterArgs) ElementType

func (GetReverseIpv6FilterArgs) ElementType() reflect.Type

func (GetReverseIpv6FilterArgs) ToGetReverseIpv6FilterOutput

func (i GetReverseIpv6FilterArgs) ToGetReverseIpv6FilterOutput() GetReverseIpv6FilterOutput

func (GetReverseIpv6FilterArgs) ToGetReverseIpv6FilterOutputWithContext

func (i GetReverseIpv6FilterArgs) ToGetReverseIpv6FilterOutputWithContext(ctx context.Context) GetReverseIpv6FilterOutput

type GetReverseIpv6FilterArray

type GetReverseIpv6FilterArray []GetReverseIpv6FilterInput

func (GetReverseIpv6FilterArray) ElementType

func (GetReverseIpv6FilterArray) ElementType() reflect.Type

func (GetReverseIpv6FilterArray) ToGetReverseIpv6FilterArrayOutput

func (i GetReverseIpv6FilterArray) ToGetReverseIpv6FilterArrayOutput() GetReverseIpv6FilterArrayOutput

func (GetReverseIpv6FilterArray) ToGetReverseIpv6FilterArrayOutputWithContext

func (i GetReverseIpv6FilterArray) ToGetReverseIpv6FilterArrayOutputWithContext(ctx context.Context) GetReverseIpv6FilterArrayOutput

type GetReverseIpv6FilterArrayInput

type GetReverseIpv6FilterArrayInput interface {
	pulumi.Input

	ToGetReverseIpv6FilterArrayOutput() GetReverseIpv6FilterArrayOutput
	ToGetReverseIpv6FilterArrayOutputWithContext(context.Context) GetReverseIpv6FilterArrayOutput
}

GetReverseIpv6FilterArrayInput is an input type that accepts GetReverseIpv6FilterArray and GetReverseIpv6FilterArrayOutput values. You can construct a concrete instance of `GetReverseIpv6FilterArrayInput` via:

GetReverseIpv6FilterArray{ GetReverseIpv6FilterArgs{...} }

type GetReverseIpv6FilterArrayOutput

type GetReverseIpv6FilterArrayOutput struct{ *pulumi.OutputState }

func (GetReverseIpv6FilterArrayOutput) ElementType

func (GetReverseIpv6FilterArrayOutput) Index

func (GetReverseIpv6FilterArrayOutput) ToGetReverseIpv6FilterArrayOutput

func (o GetReverseIpv6FilterArrayOutput) ToGetReverseIpv6FilterArrayOutput() GetReverseIpv6FilterArrayOutput

func (GetReverseIpv6FilterArrayOutput) ToGetReverseIpv6FilterArrayOutputWithContext

func (o GetReverseIpv6FilterArrayOutput) ToGetReverseIpv6FilterArrayOutputWithContext(ctx context.Context) GetReverseIpv6FilterArrayOutput

type GetReverseIpv6FilterInput

type GetReverseIpv6FilterInput interface {
	pulumi.Input

	ToGetReverseIpv6FilterOutput() GetReverseIpv6FilterOutput
	ToGetReverseIpv6FilterOutputWithContext(context.Context) GetReverseIpv6FilterOutput
}

GetReverseIpv6FilterInput is an input type that accepts GetReverseIpv6FilterArgs and GetReverseIpv6FilterOutput values. You can construct a concrete instance of `GetReverseIpv6FilterInput` via:

GetReverseIpv6FilterArgs{...}

type GetReverseIpv6FilterOutput

type GetReverseIpv6FilterOutput struct{ *pulumi.OutputState }

func (GetReverseIpv6FilterOutput) ElementType

func (GetReverseIpv6FilterOutput) ElementType() reflect.Type

func (GetReverseIpv6FilterOutput) Name

Attribute name to filter with.

func (GetReverseIpv6FilterOutput) ToGetReverseIpv6FilterOutput

func (o GetReverseIpv6FilterOutput) ToGetReverseIpv6FilterOutput() GetReverseIpv6FilterOutput

func (GetReverseIpv6FilterOutput) ToGetReverseIpv6FilterOutputWithContext

func (o GetReverseIpv6FilterOutput) ToGetReverseIpv6FilterOutputWithContext(ctx context.Context) GetReverseIpv6FilterOutput

func (GetReverseIpv6FilterOutput) Values

One or more values to filter with.

type GetSnapshotFilter

type GetSnapshotFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetSnapshotFilterArgs

type GetSnapshotFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSnapshotFilterArgs) ElementType

func (GetSnapshotFilterArgs) ElementType() reflect.Type

func (GetSnapshotFilterArgs) ToGetSnapshotFilterOutput

func (i GetSnapshotFilterArgs) ToGetSnapshotFilterOutput() GetSnapshotFilterOutput

func (GetSnapshotFilterArgs) ToGetSnapshotFilterOutputWithContext

func (i GetSnapshotFilterArgs) ToGetSnapshotFilterOutputWithContext(ctx context.Context) GetSnapshotFilterOutput

type GetSnapshotFilterArray

type GetSnapshotFilterArray []GetSnapshotFilterInput

func (GetSnapshotFilterArray) ElementType

func (GetSnapshotFilterArray) ElementType() reflect.Type

func (GetSnapshotFilterArray) ToGetSnapshotFilterArrayOutput

func (i GetSnapshotFilterArray) ToGetSnapshotFilterArrayOutput() GetSnapshotFilterArrayOutput

func (GetSnapshotFilterArray) ToGetSnapshotFilterArrayOutputWithContext

func (i GetSnapshotFilterArray) ToGetSnapshotFilterArrayOutputWithContext(ctx context.Context) GetSnapshotFilterArrayOutput

type GetSnapshotFilterArrayInput

type GetSnapshotFilterArrayInput interface {
	pulumi.Input

	ToGetSnapshotFilterArrayOutput() GetSnapshotFilterArrayOutput
	ToGetSnapshotFilterArrayOutputWithContext(context.Context) GetSnapshotFilterArrayOutput
}

GetSnapshotFilterArrayInput is an input type that accepts GetSnapshotFilterArray and GetSnapshotFilterArrayOutput values. You can construct a concrete instance of `GetSnapshotFilterArrayInput` via:

GetSnapshotFilterArray{ GetSnapshotFilterArgs{...} }

type GetSnapshotFilterArrayOutput

type GetSnapshotFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSnapshotFilterArrayOutput) ElementType

func (GetSnapshotFilterArrayOutput) Index

func (GetSnapshotFilterArrayOutput) ToGetSnapshotFilterArrayOutput

func (o GetSnapshotFilterArrayOutput) ToGetSnapshotFilterArrayOutput() GetSnapshotFilterArrayOutput

func (GetSnapshotFilterArrayOutput) ToGetSnapshotFilterArrayOutputWithContext

func (o GetSnapshotFilterArrayOutput) ToGetSnapshotFilterArrayOutputWithContext(ctx context.Context) GetSnapshotFilterArrayOutput

type GetSnapshotFilterInput

type GetSnapshotFilterInput interface {
	pulumi.Input

	ToGetSnapshotFilterOutput() GetSnapshotFilterOutput
	ToGetSnapshotFilterOutputWithContext(context.Context) GetSnapshotFilterOutput
}

GetSnapshotFilterInput is an input type that accepts GetSnapshotFilterArgs and GetSnapshotFilterOutput values. You can construct a concrete instance of `GetSnapshotFilterInput` via:

GetSnapshotFilterArgs{...}

type GetSnapshotFilterOutput

type GetSnapshotFilterOutput struct{ *pulumi.OutputState }

func (GetSnapshotFilterOutput) ElementType

func (GetSnapshotFilterOutput) ElementType() reflect.Type

func (GetSnapshotFilterOutput) Name

Attribute name to filter with.

func (GetSnapshotFilterOutput) ToGetSnapshotFilterOutput

func (o GetSnapshotFilterOutput) ToGetSnapshotFilterOutput() GetSnapshotFilterOutput

func (GetSnapshotFilterOutput) ToGetSnapshotFilterOutputWithContext

func (o GetSnapshotFilterOutput) ToGetSnapshotFilterOutputWithContext(ctx context.Context) GetSnapshotFilterOutput

func (GetSnapshotFilterOutput) Values

One or more values filter with.

type GetSshKeyArgs added in v2.12.1

type GetSshKeyArgs struct {
	// Query parameters for finding SSH keys.
	Filters []GetSshKeyFilter `pulumi:"filters"`
}

A collection of arguments for invoking getSshKey.

type GetSshKeyFilter

type GetSshKeyFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetSshKeyFilterArgs

type GetSshKeyFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSshKeyFilterArgs) ElementType

func (GetSshKeyFilterArgs) ElementType() reflect.Type

func (GetSshKeyFilterArgs) ToGetSshKeyFilterOutput

func (i GetSshKeyFilterArgs) ToGetSshKeyFilterOutput() GetSshKeyFilterOutput

func (GetSshKeyFilterArgs) ToGetSshKeyFilterOutputWithContext

func (i GetSshKeyFilterArgs) ToGetSshKeyFilterOutputWithContext(ctx context.Context) GetSshKeyFilterOutput

type GetSshKeyFilterArray

type GetSshKeyFilterArray []GetSshKeyFilterInput

func (GetSshKeyFilterArray) ElementType

func (GetSshKeyFilterArray) ElementType() reflect.Type

func (GetSshKeyFilterArray) ToGetSshKeyFilterArrayOutput

func (i GetSshKeyFilterArray) ToGetSshKeyFilterArrayOutput() GetSshKeyFilterArrayOutput

func (GetSshKeyFilterArray) ToGetSshKeyFilterArrayOutputWithContext

func (i GetSshKeyFilterArray) ToGetSshKeyFilterArrayOutputWithContext(ctx context.Context) GetSshKeyFilterArrayOutput

type GetSshKeyFilterArrayInput

type GetSshKeyFilterArrayInput interface {
	pulumi.Input

	ToGetSshKeyFilterArrayOutput() GetSshKeyFilterArrayOutput
	ToGetSshKeyFilterArrayOutputWithContext(context.Context) GetSshKeyFilterArrayOutput
}

GetSshKeyFilterArrayInput is an input type that accepts GetSshKeyFilterArray and GetSshKeyFilterArrayOutput values. You can construct a concrete instance of `GetSshKeyFilterArrayInput` via:

GetSshKeyFilterArray{ GetSshKeyFilterArgs{...} }

type GetSshKeyFilterArrayOutput

type GetSshKeyFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSshKeyFilterArrayOutput) ElementType

func (GetSshKeyFilterArrayOutput) ElementType() reflect.Type

func (GetSshKeyFilterArrayOutput) Index

func (GetSshKeyFilterArrayOutput) ToGetSshKeyFilterArrayOutput

func (o GetSshKeyFilterArrayOutput) ToGetSshKeyFilterArrayOutput() GetSshKeyFilterArrayOutput

func (GetSshKeyFilterArrayOutput) ToGetSshKeyFilterArrayOutputWithContext

func (o GetSshKeyFilterArrayOutput) ToGetSshKeyFilterArrayOutputWithContext(ctx context.Context) GetSshKeyFilterArrayOutput

type GetSshKeyFilterInput

type GetSshKeyFilterInput interface {
	pulumi.Input

	ToGetSshKeyFilterOutput() GetSshKeyFilterOutput
	ToGetSshKeyFilterOutputWithContext(context.Context) GetSshKeyFilterOutput
}

GetSshKeyFilterInput is an input type that accepts GetSshKeyFilterArgs and GetSshKeyFilterOutput values. You can construct a concrete instance of `GetSshKeyFilterInput` via:

GetSshKeyFilterArgs{...}

type GetSshKeyFilterOutput

type GetSshKeyFilterOutput struct{ *pulumi.OutputState }

func (GetSshKeyFilterOutput) ElementType

func (GetSshKeyFilterOutput) ElementType() reflect.Type

func (GetSshKeyFilterOutput) Name

Attribute name to filter with.

func (GetSshKeyFilterOutput) ToGetSshKeyFilterOutput

func (o GetSshKeyFilterOutput) ToGetSshKeyFilterOutput() GetSshKeyFilterOutput

func (GetSshKeyFilterOutput) ToGetSshKeyFilterOutputWithContext

func (o GetSshKeyFilterOutput) ToGetSshKeyFilterOutputWithContext(ctx context.Context) GetSshKeyFilterOutput

func (GetSshKeyFilterOutput) Values

One or more values filter with.

type GetSshKeyOutputArgs added in v2.12.1

type GetSshKeyOutputArgs struct {
	// Query parameters for finding SSH keys.
	Filters GetSshKeyFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getSshKey.

func (GetSshKeyOutputArgs) ElementType added in v2.12.1

func (GetSshKeyOutputArgs) ElementType() reflect.Type

type GetSshKeyResult added in v2.12.1

type GetSshKeyResult struct {
	// The date the SSH key was added to your Vultr account.
	DateCreated string            `pulumi:"dateCreated"`
	Filters     []GetSshKeyFilter `pulumi:"filters"`
	// The ID of the SSH key.
	Id string `pulumi:"id"`
	// The name of the SSH key.
	Name string `pulumi:"name"`
	// The public SSH key.
	SshKey string `pulumi:"sshKey"`
}

A collection of values returned by getSshKey.

func GetSshKey

func GetSshKey(ctx *pulumi.Context, args *GetSshKeyArgs, opts ...pulumi.InvokeOption) (*GetSshKeyResult, error)

Get information about a Vultr SSH key. This data source provides the name, public SSH key, and the creation date for your Vultr SSH key.

## Example Usage

Get the information for an SSH key by `name`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.GetSshKey(ctx, &vultr.GetSshKeyArgs{
			Filters: []vultr.GetSshKeyFilter{
				{
					Name: "name",
					Values: []string{
						"my-ssh-key-name",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSshKeyResultOutput added in v2.12.1

type GetSshKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSshKey.

func GetSshKeyOutput added in v2.12.1

func GetSshKeyOutput(ctx *pulumi.Context, args GetSshKeyOutputArgs, opts ...pulumi.InvokeOption) GetSshKeyResultOutput

func (GetSshKeyResultOutput) DateCreated added in v2.12.1

func (o GetSshKeyResultOutput) DateCreated() pulumi.StringOutput

The date the SSH key was added to your Vultr account.

func (GetSshKeyResultOutput) ElementType added in v2.12.1

func (GetSshKeyResultOutput) ElementType() reflect.Type

func (GetSshKeyResultOutput) Filters added in v2.12.1

func (GetSshKeyResultOutput) Id added in v2.12.1

The ID of the SSH key.

func (GetSshKeyResultOutput) Name added in v2.12.1

The name of the SSH key.

func (GetSshKeyResultOutput) SshKey added in v2.12.1

The public SSH key.

func (GetSshKeyResultOutput) ToGetSshKeyResultOutput added in v2.12.1

func (o GetSshKeyResultOutput) ToGetSshKeyResultOutput() GetSshKeyResultOutput

func (GetSshKeyResultOutput) ToGetSshKeyResultOutputWithContext added in v2.12.1

func (o GetSshKeyResultOutput) ToGetSshKeyResultOutputWithContext(ctx context.Context) GetSshKeyResultOutput

type GetStartupScriptFilter

type GetStartupScriptFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetStartupScriptFilterArgs

type GetStartupScriptFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetStartupScriptFilterArgs) ElementType

func (GetStartupScriptFilterArgs) ElementType() reflect.Type

func (GetStartupScriptFilterArgs) ToGetStartupScriptFilterOutput

func (i GetStartupScriptFilterArgs) ToGetStartupScriptFilterOutput() GetStartupScriptFilterOutput

func (GetStartupScriptFilterArgs) ToGetStartupScriptFilterOutputWithContext

func (i GetStartupScriptFilterArgs) ToGetStartupScriptFilterOutputWithContext(ctx context.Context) GetStartupScriptFilterOutput

type GetStartupScriptFilterArray

type GetStartupScriptFilterArray []GetStartupScriptFilterInput

func (GetStartupScriptFilterArray) ElementType

func (GetStartupScriptFilterArray) ToGetStartupScriptFilterArrayOutput

func (i GetStartupScriptFilterArray) ToGetStartupScriptFilterArrayOutput() GetStartupScriptFilterArrayOutput

func (GetStartupScriptFilterArray) ToGetStartupScriptFilterArrayOutputWithContext

func (i GetStartupScriptFilterArray) ToGetStartupScriptFilterArrayOutputWithContext(ctx context.Context) GetStartupScriptFilterArrayOutput

type GetStartupScriptFilterArrayInput

type GetStartupScriptFilterArrayInput interface {
	pulumi.Input

	ToGetStartupScriptFilterArrayOutput() GetStartupScriptFilterArrayOutput
	ToGetStartupScriptFilterArrayOutputWithContext(context.Context) GetStartupScriptFilterArrayOutput
}

GetStartupScriptFilterArrayInput is an input type that accepts GetStartupScriptFilterArray and GetStartupScriptFilterArrayOutput values. You can construct a concrete instance of `GetStartupScriptFilterArrayInput` via:

GetStartupScriptFilterArray{ GetStartupScriptFilterArgs{...} }

type GetStartupScriptFilterArrayOutput

type GetStartupScriptFilterArrayOutput struct{ *pulumi.OutputState }

func (GetStartupScriptFilterArrayOutput) ElementType

func (GetStartupScriptFilterArrayOutput) Index

func (GetStartupScriptFilterArrayOutput) ToGetStartupScriptFilterArrayOutput

func (o GetStartupScriptFilterArrayOutput) ToGetStartupScriptFilterArrayOutput() GetStartupScriptFilterArrayOutput

func (GetStartupScriptFilterArrayOutput) ToGetStartupScriptFilterArrayOutputWithContext

func (o GetStartupScriptFilterArrayOutput) ToGetStartupScriptFilterArrayOutputWithContext(ctx context.Context) GetStartupScriptFilterArrayOutput

type GetStartupScriptFilterInput

type GetStartupScriptFilterInput interface {
	pulumi.Input

	ToGetStartupScriptFilterOutput() GetStartupScriptFilterOutput
	ToGetStartupScriptFilterOutputWithContext(context.Context) GetStartupScriptFilterOutput
}

GetStartupScriptFilterInput is an input type that accepts GetStartupScriptFilterArgs and GetStartupScriptFilterOutput values. You can construct a concrete instance of `GetStartupScriptFilterInput` via:

GetStartupScriptFilterArgs{...}

type GetStartupScriptFilterOutput

type GetStartupScriptFilterOutput struct{ *pulumi.OutputState }

func (GetStartupScriptFilterOutput) ElementType

func (GetStartupScriptFilterOutput) Name

Attribute name to filter with.

func (GetStartupScriptFilterOutput) ToGetStartupScriptFilterOutput

func (o GetStartupScriptFilterOutput) ToGetStartupScriptFilterOutput() GetStartupScriptFilterOutput

func (GetStartupScriptFilterOutput) ToGetStartupScriptFilterOutputWithContext

func (o GetStartupScriptFilterOutput) ToGetStartupScriptFilterOutputWithContext(ctx context.Context) GetStartupScriptFilterOutput

func (GetStartupScriptFilterOutput) Values

One or more values filter with.

type GetUserFilter

type GetUserFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetUserFilterArgs

type GetUserFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetUserFilterArgs) ElementType

func (GetUserFilterArgs) ElementType() reflect.Type

func (GetUserFilterArgs) ToGetUserFilterOutput

func (i GetUserFilterArgs) ToGetUserFilterOutput() GetUserFilterOutput

func (GetUserFilterArgs) ToGetUserFilterOutputWithContext

func (i GetUserFilterArgs) ToGetUserFilterOutputWithContext(ctx context.Context) GetUserFilterOutput

type GetUserFilterArray

type GetUserFilterArray []GetUserFilterInput

func (GetUserFilterArray) ElementType

func (GetUserFilterArray) ElementType() reflect.Type

func (GetUserFilterArray) ToGetUserFilterArrayOutput

func (i GetUserFilterArray) ToGetUserFilterArrayOutput() GetUserFilterArrayOutput

func (GetUserFilterArray) ToGetUserFilterArrayOutputWithContext

func (i GetUserFilterArray) ToGetUserFilterArrayOutputWithContext(ctx context.Context) GetUserFilterArrayOutput

type GetUserFilterArrayInput

type GetUserFilterArrayInput interface {
	pulumi.Input

	ToGetUserFilterArrayOutput() GetUserFilterArrayOutput
	ToGetUserFilterArrayOutputWithContext(context.Context) GetUserFilterArrayOutput
}

GetUserFilterArrayInput is an input type that accepts GetUserFilterArray and GetUserFilterArrayOutput values. You can construct a concrete instance of `GetUserFilterArrayInput` via:

GetUserFilterArray{ GetUserFilterArgs{...} }

type GetUserFilterArrayOutput

type GetUserFilterArrayOutput struct{ *pulumi.OutputState }

func (GetUserFilterArrayOutput) ElementType

func (GetUserFilterArrayOutput) ElementType() reflect.Type

func (GetUserFilterArrayOutput) Index

func (GetUserFilterArrayOutput) ToGetUserFilterArrayOutput

func (o GetUserFilterArrayOutput) ToGetUserFilterArrayOutput() GetUserFilterArrayOutput

func (GetUserFilterArrayOutput) ToGetUserFilterArrayOutputWithContext

func (o GetUserFilterArrayOutput) ToGetUserFilterArrayOutputWithContext(ctx context.Context) GetUserFilterArrayOutput

type GetUserFilterInput

type GetUserFilterInput interface {
	pulumi.Input

	ToGetUserFilterOutput() GetUserFilterOutput
	ToGetUserFilterOutputWithContext(context.Context) GetUserFilterOutput
}

GetUserFilterInput is an input type that accepts GetUserFilterArgs and GetUserFilterOutput values. You can construct a concrete instance of `GetUserFilterInput` via:

GetUserFilterArgs{...}

type GetUserFilterOutput

type GetUserFilterOutput struct{ *pulumi.OutputState }

func (GetUserFilterOutput) ElementType

func (GetUserFilterOutput) ElementType() reflect.Type

func (GetUserFilterOutput) Name

Attribute name to filter with.

func (GetUserFilterOutput) ToGetUserFilterOutput

func (o GetUserFilterOutput) ToGetUserFilterOutput() GetUserFilterOutput

func (GetUserFilterOutput) ToGetUserFilterOutputWithContext

func (o GetUserFilterOutput) ToGetUserFilterOutputWithContext(ctx context.Context) GetUserFilterOutput

func (GetUserFilterOutput) Values

One or more values filter with.

type GetVpc2Filter added in v2.16.2

type GetVpc2Filter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetVpc2FilterArgs added in v2.16.2

type GetVpc2FilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpc2FilterArgs) ElementType added in v2.16.2

func (GetVpc2FilterArgs) ElementType() reflect.Type

func (GetVpc2FilterArgs) ToGetVpc2FilterOutput added in v2.16.2

func (i GetVpc2FilterArgs) ToGetVpc2FilterOutput() GetVpc2FilterOutput

func (GetVpc2FilterArgs) ToGetVpc2FilterOutputWithContext added in v2.16.2

func (i GetVpc2FilterArgs) ToGetVpc2FilterOutputWithContext(ctx context.Context) GetVpc2FilterOutput

type GetVpc2FilterArray added in v2.16.2

type GetVpc2FilterArray []GetVpc2FilterInput

func (GetVpc2FilterArray) ElementType added in v2.16.2

func (GetVpc2FilterArray) ElementType() reflect.Type

func (GetVpc2FilterArray) ToGetVpc2FilterArrayOutput added in v2.16.2

func (i GetVpc2FilterArray) ToGetVpc2FilterArrayOutput() GetVpc2FilterArrayOutput

func (GetVpc2FilterArray) ToGetVpc2FilterArrayOutputWithContext added in v2.16.2

func (i GetVpc2FilterArray) ToGetVpc2FilterArrayOutputWithContext(ctx context.Context) GetVpc2FilterArrayOutput

type GetVpc2FilterArrayInput added in v2.16.2

type GetVpc2FilterArrayInput interface {
	pulumi.Input

	ToGetVpc2FilterArrayOutput() GetVpc2FilterArrayOutput
	ToGetVpc2FilterArrayOutputWithContext(context.Context) GetVpc2FilterArrayOutput
}

GetVpc2FilterArrayInput is an input type that accepts GetVpc2FilterArray and GetVpc2FilterArrayOutput values. You can construct a concrete instance of `GetVpc2FilterArrayInput` via:

GetVpc2FilterArray{ GetVpc2FilterArgs{...} }

type GetVpc2FilterArrayOutput added in v2.16.2

type GetVpc2FilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpc2FilterArrayOutput) ElementType added in v2.16.2

func (GetVpc2FilterArrayOutput) ElementType() reflect.Type

func (GetVpc2FilterArrayOutput) Index added in v2.16.2

func (GetVpc2FilterArrayOutput) ToGetVpc2FilterArrayOutput added in v2.16.2

func (o GetVpc2FilterArrayOutput) ToGetVpc2FilterArrayOutput() GetVpc2FilterArrayOutput

func (GetVpc2FilterArrayOutput) ToGetVpc2FilterArrayOutputWithContext added in v2.16.2

func (o GetVpc2FilterArrayOutput) ToGetVpc2FilterArrayOutputWithContext(ctx context.Context) GetVpc2FilterArrayOutput

type GetVpc2FilterInput added in v2.16.2

type GetVpc2FilterInput interface {
	pulumi.Input

	ToGetVpc2FilterOutput() GetVpc2FilterOutput
	ToGetVpc2FilterOutputWithContext(context.Context) GetVpc2FilterOutput
}

GetVpc2FilterInput is an input type that accepts GetVpc2FilterArgs and GetVpc2FilterOutput values. You can construct a concrete instance of `GetVpc2FilterInput` via:

GetVpc2FilterArgs{...}

type GetVpc2FilterOutput added in v2.16.2

type GetVpc2FilterOutput struct{ *pulumi.OutputState }

func (GetVpc2FilterOutput) ElementType added in v2.16.2

func (GetVpc2FilterOutput) ElementType() reflect.Type

func (GetVpc2FilterOutput) Name added in v2.16.2

Attribute name to filter with.

func (GetVpc2FilterOutput) ToGetVpc2FilterOutput added in v2.16.2

func (o GetVpc2FilterOutput) ToGetVpc2FilterOutput() GetVpc2FilterOutput

func (GetVpc2FilterOutput) ToGetVpc2FilterOutputWithContext added in v2.16.2

func (o GetVpc2FilterOutput) ToGetVpc2FilterOutputWithContext(ctx context.Context) GetVpc2FilterOutput

func (GetVpc2FilterOutput) Values added in v2.16.2

One or more values filter with.

type GetVpcFilter

type GetVpcFilter struct {
	// Attribute name to filter with.
	Name string `pulumi:"name"`
	// One or more values filter with.
	Values []string `pulumi:"values"`
}

type GetVpcFilterArgs

type GetVpcFilterArgs struct {
	// Attribute name to filter with.
	Name pulumi.StringInput `pulumi:"name"`
	// One or more values filter with.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpcFilterArgs) ElementType

func (GetVpcFilterArgs) ElementType() reflect.Type

func (GetVpcFilterArgs) ToGetVpcFilterOutput

func (i GetVpcFilterArgs) ToGetVpcFilterOutput() GetVpcFilterOutput

func (GetVpcFilterArgs) ToGetVpcFilterOutputWithContext

func (i GetVpcFilterArgs) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput

type GetVpcFilterArray

type GetVpcFilterArray []GetVpcFilterInput

func (GetVpcFilterArray) ElementType

func (GetVpcFilterArray) ElementType() reflect.Type

func (GetVpcFilterArray) ToGetVpcFilterArrayOutput

func (i GetVpcFilterArray) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput

func (GetVpcFilterArray) ToGetVpcFilterArrayOutputWithContext

func (i GetVpcFilterArray) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput

type GetVpcFilterArrayInput

type GetVpcFilterArrayInput interface {
	pulumi.Input

	ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput
	ToGetVpcFilterArrayOutputWithContext(context.Context) GetVpcFilterArrayOutput
}

GetVpcFilterArrayInput is an input type that accepts GetVpcFilterArray and GetVpcFilterArrayOutput values. You can construct a concrete instance of `GetVpcFilterArrayInput` via:

GetVpcFilterArray{ GetVpcFilterArgs{...} }

type GetVpcFilterArrayOutput

type GetVpcFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpcFilterArrayOutput) ElementType

func (GetVpcFilterArrayOutput) ElementType() reflect.Type

func (GetVpcFilterArrayOutput) Index

func (GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutput

func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput

func (GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutputWithContext

func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput

type GetVpcFilterInput

type GetVpcFilterInput interface {
	pulumi.Input

	ToGetVpcFilterOutput() GetVpcFilterOutput
	ToGetVpcFilterOutputWithContext(context.Context) GetVpcFilterOutput
}

GetVpcFilterInput is an input type that accepts GetVpcFilterArgs and GetVpcFilterOutput values. You can construct a concrete instance of `GetVpcFilterInput` via:

GetVpcFilterArgs{...}

type GetVpcFilterOutput

type GetVpcFilterOutput struct{ *pulumi.OutputState }

func (GetVpcFilterOutput) ElementType

func (GetVpcFilterOutput) ElementType() reflect.Type

func (GetVpcFilterOutput) Name

Attribute name to filter with.

func (GetVpcFilterOutput) ToGetVpcFilterOutput

func (o GetVpcFilterOutput) ToGetVpcFilterOutput() GetVpcFilterOutput

func (GetVpcFilterOutput) ToGetVpcFilterOutputWithContext

func (o GetVpcFilterOutput) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput

func (GetVpcFilterOutput) Values

One or more values filter with.

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// Whether an activation email will be sent when the server is ready.
	ActivationEmail pulumi.BoolPtrOutput `pulumi:"activationEmail"`
	// The server's allowed bandwidth usage in GB.
	AllowedBandwidth pulumi.IntOutput `pulumi:"allowedBandwidth"`
	// The ID of the Vultr application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications)
	AppId pulumi.IntOutput `pulumi:"appId"`
	// A map of user-supplied variable keys and values for Vultr Marketplace apps. [See List Marketplace App Variables](https://www.vultr.com/api/#tag/marketplace/operation/list-marketplace-app-variables)
	AppVariables pulumi.StringMapOutput `pulumi:"appVariables"`
	// Whether automatic backups will be enabled for this server (these have an extra charge associated with them). Values can be enabled or disabled.
	Backups pulumi.StringPtrOutput `pulumi:"backups"`
	// A block that defines the way backups should be scheduled. While this is an optional field if `backups` are `enabled` this field is mandatory. The configuration of a `backupsSchedule` is listed below.
	BackupsSchedule InstanceBackupsSchedulePtrOutput `pulumi:"backupsSchedule"`
	// The date the server was added to your Vultr account.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// Whether DDOS protection will be enabled on the server (there is an additional charge for this).
	DdosProtection pulumi.BoolPtrOutput `pulumi:"ddosProtection"`
	// The server's default password.
	DefaultPassword pulumi.StringOutput `pulumi:"defaultPassword"`
	// Whether the server has a public IPv4 address assigned (only possible with `enableIpv6` set to `true`)
	DisablePublicIpv4 pulumi.BoolPtrOutput `pulumi:"disablePublicIpv4"`
	// The description of the disk(s) on the server.
	Disk pulumi.IntOutput `pulumi:"disk"`
	// Whether the server has IPv6 networking activated.
	EnableIpv6 pulumi.BoolPtrOutput `pulumi:"enableIpv6"`
	// Array of which features are enabled.
	Features pulumi.StringArrayOutput `pulumi:"features"`
	// The ID of the firewall group to assign to the server.
	FirewallGroupId pulumi.StringOutput `pulumi:"firewallGroupId"`
	// The server's IPv4 gateway.
	GatewayV4 pulumi.StringOutput `pulumi:"gatewayV4"`
	// The hostname to assign to the server.
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// The ID of the Vultr marketplace application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications) Note marketplace applications are denoted by type: `marketplace` and you must use the `imageId` not the id.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// The server's internal IP address.
	InternalIp pulumi.StringOutput `pulumi:"internalIp"`
	// The ID of the ISO file to be installed on the server. [See List ISO](https://www.vultr.com/api/#operation/list-isos)
	IsoId pulumi.StringPtrOutput `pulumi:"isoId"`
	// The server's current KVM URL. This URL will change periodically. It is not advised to cache this value.
	Kvm pulumi.StringOutput `pulumi:"kvm"`
	// A label for the server.
	Label pulumi.StringOutput `pulumi:"label"`
	// The server's main IP address.
	MainIp pulumi.StringOutput `pulumi:"mainIp"`
	// The server's IPv4 netmask.
	NetmaskV4 pulumi.StringOutput `pulumi:"netmaskV4"`
	// The string description of the operating system installed on the server.
	Os pulumi.StringOutput `pulumi:"os"`
	// The ID of the operating system to be installed on the server. [See List OS](https://www.vultr.com/api/#operation/list-os)
	OsId pulumi.IntOutput `pulumi:"osId"`
	// The ID of the plan that you want the instance to subscribe to. [See List Plans](https://www.vultr.com/api/#tag/plans)
	Plan pulumi.StringOutput `pulumi:"plan"`
	// Whether the server is powered on or not.
	PowerStatus pulumi.StringOutput `pulumi:"powerStatus"`
	// (Deprecated: use `vpcIds` instead) A list of private network IDs to be attached to the server.
	//
	// Deprecated: private_network_ids has been deprecated and should no longer be used. Instead, use vpc_ids
	PrivateNetworkIds pulumi.StringArrayOutput `pulumi:"privateNetworkIds"`
	// The amount of memory available on the server in MB.
	Ram pulumi.IntOutput `pulumi:"ram"`
	// The ID of the region that the instance is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringOutput `pulumi:"region"`
	// ID of the floating IP to use as the main IP of this server.
	ReservedIpId pulumi.StringOutput `pulumi:"reservedIpId"`
	// The ID of the startup script you want added to the server.
	ScriptId pulumi.StringOutput `pulumi:"scriptId"`
	// A more detailed server status (none, locked, installingbooting, isomounting, ok).
	ServerStatus pulumi.StringOutput `pulumi:"serverStatus"`
	// The ID of the Vultr snapshot that the server will restore for the initial installation. [See List Snapshots](https://www.vultr.com/api/#operation/list-snapshots)
	SnapshotId pulumi.StringOutput `pulumi:"snapshotId"`
	// A list of SSH key IDs to apply to the server on install (only valid for Linux/FreeBSD).
	SshKeyIds pulumi.StringArrayOutput `pulumi:"sshKeyIds"`
	// The status of the server's subscription.
	Status pulumi.StringOutput `pulumi:"status"`
	// A list of tags to apply to the instance.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// Generic data store, which some provisioning tools and cloud operating systems use as a configuration file. It is generally consumed only once after an instance has been launched, but individual needs may vary.
	UserData pulumi.StringOutput `pulumi:"userData"`
	// The main IPv6 network address.
	V6MainIp pulumi.StringOutput `pulumi:"v6MainIp"`
	// The IPv6 subnet.
	V6Network pulumi.StringOutput `pulumi:"v6Network"`
	// The IPv6 network size in bits.
	V6NetworkSize pulumi.IntOutput `pulumi:"v6NetworkSize"`
	// The number of virtual CPUs available on the server.
	VcpuCount pulumi.IntOutput `pulumi:"vcpuCount"`
	// A list of VPC 2.0 IDs to be attached to the server.
	Vpc2Ids pulumi.StringArrayOutput `pulumi:"vpc2Ids"`
	// A list of VPC IDs to be attached to the server.
	VpcIds pulumi.StringArrayOutput `pulumi:"vpcIds"`
}

Provides a Vultr instance resource. This can be used to create, read, modify, and delete instances on your Vultr account.

## Example Usage

Create a new instance:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewInstance(ctx, "myInstance", &vultr.InstanceArgs{
			OsId:   pulumi.Int(1743),
			Plan:   pulumi.String("vc2-1c-2gb"),
			Region: pulumi.String("sea"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a new instance with options:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewInstance(ctx, "myInstance", &vultr.InstanceArgs{
			ActivationEmail: pulumi.Bool(false),
			Backups:         pulumi.String("enabled"),
			BackupsSchedule: &vultr.InstanceBackupsScheduleArgs{
				Type: pulumi.String("daily"),
			},
			DdosProtection:    pulumi.Bool(true),
			DisablePublicIpv4: pulumi.Bool(true),
			EnableIpv6:        pulumi.Bool(true),
			Hostname:          pulumi.String("my-instance-hostname"),
			Label:             pulumi.String("my-instance-label"),
			OsId:              pulumi.Int(1743),
			Plan:              pulumi.String("vc2-1c-2gb"),
			Region:            pulumi.String("sea"),
			Tags: pulumi.StringArray{
				pulumi.String("my-instance-tag"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instances can be imported using the instance `ID`, e.g.

```sh

$ pulumi import vultr:index/instance:Instance my_instance b6a859c5-b299-49dd-8888-b1abbc517d08

```

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance 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 NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

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

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs

type InstanceArgs struct {
	// Whether an activation email will be sent when the server is ready.
	ActivationEmail pulumi.BoolPtrInput
	// The ID of the Vultr application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications)
	AppId pulumi.IntPtrInput
	// A map of user-supplied variable keys and values for Vultr Marketplace apps. [See List Marketplace App Variables](https://www.vultr.com/api/#tag/marketplace/operation/list-marketplace-app-variables)
	AppVariables pulumi.StringMapInput
	// Whether automatic backups will be enabled for this server (these have an extra charge associated with them). Values can be enabled or disabled.
	Backups pulumi.StringPtrInput
	// A block that defines the way backups should be scheduled. While this is an optional field if `backups` are `enabled` this field is mandatory. The configuration of a `backupsSchedule` is listed below.
	BackupsSchedule InstanceBackupsSchedulePtrInput
	// Whether DDOS protection will be enabled on the server (there is an additional charge for this).
	DdosProtection pulumi.BoolPtrInput
	// Whether the server has a public IPv4 address assigned (only possible with `enableIpv6` set to `true`)
	DisablePublicIpv4 pulumi.BoolPtrInput
	// Whether the server has IPv6 networking activated.
	EnableIpv6 pulumi.BoolPtrInput
	// The ID of the firewall group to assign to the server.
	FirewallGroupId pulumi.StringPtrInput
	// The hostname to assign to the server.
	Hostname pulumi.StringPtrInput
	// The ID of the Vultr marketplace application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications) Note marketplace applications are denoted by type: `marketplace` and you must use the `imageId` not the id.
	ImageId pulumi.StringPtrInput
	// The ID of the ISO file to be installed on the server. [See List ISO](https://www.vultr.com/api/#operation/list-isos)
	IsoId pulumi.StringPtrInput
	// A label for the server.
	Label pulumi.StringPtrInput
	// The ID of the operating system to be installed on the server. [See List OS](https://www.vultr.com/api/#operation/list-os)
	OsId pulumi.IntPtrInput
	// The ID of the plan that you want the instance to subscribe to. [See List Plans](https://www.vultr.com/api/#tag/plans)
	Plan pulumi.StringInput
	// (Deprecated: use `vpcIds` instead) A list of private network IDs to be attached to the server.
	//
	// Deprecated: private_network_ids has been deprecated and should no longer be used. Instead, use vpc_ids
	PrivateNetworkIds pulumi.StringArrayInput
	// The ID of the region that the instance is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringInput
	// ID of the floating IP to use as the main IP of this server.
	ReservedIpId pulumi.StringPtrInput
	// The ID of the startup script you want added to the server.
	ScriptId pulumi.StringPtrInput
	// The ID of the Vultr snapshot that the server will restore for the initial installation. [See List Snapshots](https://www.vultr.com/api/#operation/list-snapshots)
	SnapshotId pulumi.StringPtrInput
	// A list of SSH key IDs to apply to the server on install (only valid for Linux/FreeBSD).
	SshKeyIds pulumi.StringArrayInput
	// A list of tags to apply to the instance.
	Tags pulumi.StringArrayInput
	// Generic data store, which some provisioning tools and cloud operating systems use as a configuration file. It is generally consumed only once after an instance has been launched, but individual needs may vary.
	UserData pulumi.StringPtrInput
	// A list of VPC 2.0 IDs to be attached to the server.
	Vpc2Ids pulumi.StringArrayInput
	// A list of VPC IDs to be attached to the server.
	VpcIds pulumi.StringArrayInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceBackupsSchedule

type InstanceBackupsSchedule struct {
	// Day of month to run. Use values between 1 and 28.
	Dom *int `pulumi:"dom"`
	// Day of week to run. `1 = Sunday`, `2 = Monday`, `3 = Tuesday`, `4 = Wednesday`, `5 = Thursday`, `6 = Friday`, `7 = Saturday`
	Dow *int `pulumi:"dow"`
	// Hour of day to run in UTC.
	Hour *int `pulumi:"hour"`
	// Type of backup schedule Possible values are `daily`, `weekly`, `monthly`, `dailyAltEven`, or `dailyAltOdd`.
	Type string `pulumi:"type"`
}

type InstanceBackupsScheduleArgs

type InstanceBackupsScheduleArgs struct {
	// Day of month to run. Use values between 1 and 28.
	Dom pulumi.IntPtrInput `pulumi:"dom"`
	// Day of week to run. `1 = Sunday`, `2 = Monday`, `3 = Tuesday`, `4 = Wednesday`, `5 = Thursday`, `6 = Friday`, `7 = Saturday`
	Dow pulumi.IntPtrInput `pulumi:"dow"`
	// Hour of day to run in UTC.
	Hour pulumi.IntPtrInput `pulumi:"hour"`
	// Type of backup schedule Possible values are `daily`, `weekly`, `monthly`, `dailyAltEven`, or `dailyAltOdd`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (InstanceBackupsScheduleArgs) ElementType

func (InstanceBackupsScheduleArgs) ToInstanceBackupsScheduleOutput

func (i InstanceBackupsScheduleArgs) ToInstanceBackupsScheduleOutput() InstanceBackupsScheduleOutput

func (InstanceBackupsScheduleArgs) ToInstanceBackupsScheduleOutputWithContext

func (i InstanceBackupsScheduleArgs) ToInstanceBackupsScheduleOutputWithContext(ctx context.Context) InstanceBackupsScheduleOutput

func (InstanceBackupsScheduleArgs) ToInstanceBackupsSchedulePtrOutput

func (i InstanceBackupsScheduleArgs) ToInstanceBackupsSchedulePtrOutput() InstanceBackupsSchedulePtrOutput

func (InstanceBackupsScheduleArgs) ToInstanceBackupsSchedulePtrOutputWithContext

func (i InstanceBackupsScheduleArgs) ToInstanceBackupsSchedulePtrOutputWithContext(ctx context.Context) InstanceBackupsSchedulePtrOutput

type InstanceBackupsScheduleInput

type InstanceBackupsScheduleInput interface {
	pulumi.Input

	ToInstanceBackupsScheduleOutput() InstanceBackupsScheduleOutput
	ToInstanceBackupsScheduleOutputWithContext(context.Context) InstanceBackupsScheduleOutput
}

InstanceBackupsScheduleInput is an input type that accepts InstanceBackupsScheduleArgs and InstanceBackupsScheduleOutput values. You can construct a concrete instance of `InstanceBackupsScheduleInput` via:

InstanceBackupsScheduleArgs{...}

type InstanceBackupsScheduleOutput

type InstanceBackupsScheduleOutput struct{ *pulumi.OutputState }

func (InstanceBackupsScheduleOutput) Dom

Day of month to run. Use values between 1 and 28.

func (InstanceBackupsScheduleOutput) Dow

Day of week to run. `1 = Sunday`, `2 = Monday`, `3 = Tuesday`, `4 = Wednesday`, `5 = Thursday`, `6 = Friday`, `7 = Saturday`

func (InstanceBackupsScheduleOutput) ElementType

func (InstanceBackupsScheduleOutput) Hour

Hour of day to run in UTC.

func (InstanceBackupsScheduleOutput) ToInstanceBackupsScheduleOutput

func (o InstanceBackupsScheduleOutput) ToInstanceBackupsScheduleOutput() InstanceBackupsScheduleOutput

func (InstanceBackupsScheduleOutput) ToInstanceBackupsScheduleOutputWithContext

func (o InstanceBackupsScheduleOutput) ToInstanceBackupsScheduleOutputWithContext(ctx context.Context) InstanceBackupsScheduleOutput

func (InstanceBackupsScheduleOutput) ToInstanceBackupsSchedulePtrOutput

func (o InstanceBackupsScheduleOutput) ToInstanceBackupsSchedulePtrOutput() InstanceBackupsSchedulePtrOutput

func (InstanceBackupsScheduleOutput) ToInstanceBackupsSchedulePtrOutputWithContext

func (o InstanceBackupsScheduleOutput) ToInstanceBackupsSchedulePtrOutputWithContext(ctx context.Context) InstanceBackupsSchedulePtrOutput

func (InstanceBackupsScheduleOutput) Type

Type of backup schedule Possible values are `daily`, `weekly`, `monthly`, `dailyAltEven`, or `dailyAltOdd`.

type InstanceBackupsSchedulePtrInput

type InstanceBackupsSchedulePtrInput interface {
	pulumi.Input

	ToInstanceBackupsSchedulePtrOutput() InstanceBackupsSchedulePtrOutput
	ToInstanceBackupsSchedulePtrOutputWithContext(context.Context) InstanceBackupsSchedulePtrOutput
}

InstanceBackupsSchedulePtrInput is an input type that accepts InstanceBackupsScheduleArgs, InstanceBackupsSchedulePtr and InstanceBackupsSchedulePtrOutput values. You can construct a concrete instance of `InstanceBackupsSchedulePtrInput` via:

        InstanceBackupsScheduleArgs{...}

or:

        nil

type InstanceBackupsSchedulePtrOutput

type InstanceBackupsSchedulePtrOutput struct{ *pulumi.OutputState }

func (InstanceBackupsSchedulePtrOutput) Dom

Day of month to run. Use values between 1 and 28.

func (InstanceBackupsSchedulePtrOutput) Dow

Day of week to run. `1 = Sunday`, `2 = Monday`, `3 = Tuesday`, `4 = Wednesday`, `5 = Thursday`, `6 = Friday`, `7 = Saturday`

func (InstanceBackupsSchedulePtrOutput) Elem

func (InstanceBackupsSchedulePtrOutput) ElementType

func (InstanceBackupsSchedulePtrOutput) Hour

Hour of day to run in UTC.

func (InstanceBackupsSchedulePtrOutput) ToInstanceBackupsSchedulePtrOutput

func (o InstanceBackupsSchedulePtrOutput) ToInstanceBackupsSchedulePtrOutput() InstanceBackupsSchedulePtrOutput

func (InstanceBackupsSchedulePtrOutput) ToInstanceBackupsSchedulePtrOutputWithContext

func (o InstanceBackupsSchedulePtrOutput) ToInstanceBackupsSchedulePtrOutputWithContext(ctx context.Context) InstanceBackupsSchedulePtrOutput

func (InstanceBackupsSchedulePtrOutput) Type

Type of backup schedule Possible values are `daily`, `weekly`, `monthly`, `dailyAltEven`, or `dailyAltOdd`.

type InstanceInput

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceIpv4

type InstanceIpv4 struct {
	pulumi.CustomResourceState

	// The gateway IP address.
	Gateway pulumi.StringOutput `pulumi:"gateway"`
	// The ID of the instance to be assigned the IPv4 address.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The IPv4 address in canonical format.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// The IPv4 netmask in dot-decimal notation.
	Netmask pulumi.StringOutput `pulumi:"netmask"`
	// Default true. Determines whether or not the server is rebooted after adding the IPv4 address.
	Reboot pulumi.BoolPtrOutput `pulumi:"reboot"`
	// The reverse DNS information for this IP address.
	Reverse pulumi.StringOutput `pulumi:"reverse"`
}

Provides a Vultr instance IPv4 resource. This can be used to create, read, and modify a IPv4 address. instance is rebooted by default.

## Example Usage

Create a new IPv4 address for a instance:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myInstance, err := vultr.NewInstance(ctx, "myInstance", &vultr.InstanceArgs{
			EnableIpv6: pulumi.Bool(true),
			OsId:       pulumi.Int(167),
			Plan:       pulumi.String("vc2-1c-1gb"),
			Region:     pulumi.String("ewr"),
		})
		if err != nil {
			return err
		}
		_, err = vultr.NewInstanceIpv4(ctx, "myInstanceIpv4", &vultr.InstanceIpv4Args{
			InstanceId: myInstance.ID(),
			Reboot:     pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetInstanceIpv4

func GetInstanceIpv4(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceIpv4State, opts ...pulumi.ResourceOption) (*InstanceIpv4, error)

GetInstanceIpv4 gets an existing InstanceIpv4 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 NewInstanceIpv4

func NewInstanceIpv4(ctx *pulumi.Context,
	name string, args *InstanceIpv4Args, opts ...pulumi.ResourceOption) (*InstanceIpv4, error)

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

func (*InstanceIpv4) ElementType

func (*InstanceIpv4) ElementType() reflect.Type

func (*InstanceIpv4) ToInstanceIpv4Output

func (i *InstanceIpv4) ToInstanceIpv4Output() InstanceIpv4Output

func (*InstanceIpv4) ToInstanceIpv4OutputWithContext

func (i *InstanceIpv4) ToInstanceIpv4OutputWithContext(ctx context.Context) InstanceIpv4Output

type InstanceIpv4Args

type InstanceIpv4Args struct {
	// The ID of the instance to be assigned the IPv4 address.
	InstanceId pulumi.StringInput
	// Default true. Determines whether or not the server is rebooted after adding the IPv4 address.
	Reboot pulumi.BoolPtrInput
}

The set of arguments for constructing a InstanceIpv4 resource.

func (InstanceIpv4Args) ElementType

func (InstanceIpv4Args) ElementType() reflect.Type

type InstanceIpv4Array

type InstanceIpv4Array []InstanceIpv4Input

func (InstanceIpv4Array) ElementType

func (InstanceIpv4Array) ElementType() reflect.Type

func (InstanceIpv4Array) ToInstanceIpv4ArrayOutput

func (i InstanceIpv4Array) ToInstanceIpv4ArrayOutput() InstanceIpv4ArrayOutput

func (InstanceIpv4Array) ToInstanceIpv4ArrayOutputWithContext

func (i InstanceIpv4Array) ToInstanceIpv4ArrayOutputWithContext(ctx context.Context) InstanceIpv4ArrayOutput

type InstanceIpv4ArrayInput

type InstanceIpv4ArrayInput interface {
	pulumi.Input

	ToInstanceIpv4ArrayOutput() InstanceIpv4ArrayOutput
	ToInstanceIpv4ArrayOutputWithContext(context.Context) InstanceIpv4ArrayOutput
}

InstanceIpv4ArrayInput is an input type that accepts InstanceIpv4Array and InstanceIpv4ArrayOutput values. You can construct a concrete instance of `InstanceIpv4ArrayInput` via:

InstanceIpv4Array{ InstanceIpv4Args{...} }

type InstanceIpv4ArrayOutput

type InstanceIpv4ArrayOutput struct{ *pulumi.OutputState }

func (InstanceIpv4ArrayOutput) ElementType

func (InstanceIpv4ArrayOutput) ElementType() reflect.Type

func (InstanceIpv4ArrayOutput) Index

func (InstanceIpv4ArrayOutput) ToInstanceIpv4ArrayOutput

func (o InstanceIpv4ArrayOutput) ToInstanceIpv4ArrayOutput() InstanceIpv4ArrayOutput

func (InstanceIpv4ArrayOutput) ToInstanceIpv4ArrayOutputWithContext

func (o InstanceIpv4ArrayOutput) ToInstanceIpv4ArrayOutputWithContext(ctx context.Context) InstanceIpv4ArrayOutput

type InstanceIpv4Input

type InstanceIpv4Input interface {
	pulumi.Input

	ToInstanceIpv4Output() InstanceIpv4Output
	ToInstanceIpv4OutputWithContext(ctx context.Context) InstanceIpv4Output
}

type InstanceIpv4Map

type InstanceIpv4Map map[string]InstanceIpv4Input

func (InstanceIpv4Map) ElementType

func (InstanceIpv4Map) ElementType() reflect.Type

func (InstanceIpv4Map) ToInstanceIpv4MapOutput

func (i InstanceIpv4Map) ToInstanceIpv4MapOutput() InstanceIpv4MapOutput

func (InstanceIpv4Map) ToInstanceIpv4MapOutputWithContext

func (i InstanceIpv4Map) ToInstanceIpv4MapOutputWithContext(ctx context.Context) InstanceIpv4MapOutput

type InstanceIpv4MapInput

type InstanceIpv4MapInput interface {
	pulumi.Input

	ToInstanceIpv4MapOutput() InstanceIpv4MapOutput
	ToInstanceIpv4MapOutputWithContext(context.Context) InstanceIpv4MapOutput
}

InstanceIpv4MapInput is an input type that accepts InstanceIpv4Map and InstanceIpv4MapOutput values. You can construct a concrete instance of `InstanceIpv4MapInput` via:

InstanceIpv4Map{ "key": InstanceIpv4Args{...} }

type InstanceIpv4MapOutput

type InstanceIpv4MapOutput struct{ *pulumi.OutputState }

func (InstanceIpv4MapOutput) ElementType

func (InstanceIpv4MapOutput) ElementType() reflect.Type

func (InstanceIpv4MapOutput) MapIndex

func (InstanceIpv4MapOutput) ToInstanceIpv4MapOutput

func (o InstanceIpv4MapOutput) ToInstanceIpv4MapOutput() InstanceIpv4MapOutput

func (InstanceIpv4MapOutput) ToInstanceIpv4MapOutputWithContext

func (o InstanceIpv4MapOutput) ToInstanceIpv4MapOutputWithContext(ctx context.Context) InstanceIpv4MapOutput

type InstanceIpv4Output

type InstanceIpv4Output struct{ *pulumi.OutputState }

func (InstanceIpv4Output) ElementType

func (InstanceIpv4Output) ElementType() reflect.Type

func (InstanceIpv4Output) Gateway

The gateway IP address.

func (InstanceIpv4Output) InstanceId

func (o InstanceIpv4Output) InstanceId() pulumi.StringOutput

The ID of the instance to be assigned the IPv4 address.

func (InstanceIpv4Output) Ip

The IPv4 address in canonical format.

func (InstanceIpv4Output) Netmask

The IPv4 netmask in dot-decimal notation.

func (InstanceIpv4Output) Reboot

Default true. Determines whether or not the server is rebooted after adding the IPv4 address.

func (InstanceIpv4Output) Reverse

The reverse DNS information for this IP address.

func (InstanceIpv4Output) ToInstanceIpv4Output

func (o InstanceIpv4Output) ToInstanceIpv4Output() InstanceIpv4Output

func (InstanceIpv4Output) ToInstanceIpv4OutputWithContext

func (o InstanceIpv4Output) ToInstanceIpv4OutputWithContext(ctx context.Context) InstanceIpv4Output

type InstanceIpv4State

type InstanceIpv4State struct {
	// The gateway IP address.
	Gateway pulumi.StringPtrInput
	// The ID of the instance to be assigned the IPv4 address.
	InstanceId pulumi.StringPtrInput
	// The IPv4 address in canonical format.
	Ip pulumi.StringPtrInput
	// The IPv4 netmask in dot-decimal notation.
	Netmask pulumi.StringPtrInput
	// Default true. Determines whether or not the server is rebooted after adding the IPv4 address.
	Reboot pulumi.BoolPtrInput
	// The reverse DNS information for this IP address.
	Reverse pulumi.StringPtrInput
}

func (InstanceIpv4State) ElementType

func (InstanceIpv4State) ElementType() reflect.Type

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) ActivationEmail

func (o InstanceOutput) ActivationEmail() pulumi.BoolPtrOutput

Whether an activation email will be sent when the server is ready.

func (InstanceOutput) AllowedBandwidth

func (o InstanceOutput) AllowedBandwidth() pulumi.IntOutput

The server's allowed bandwidth usage in GB.

func (InstanceOutput) AppId

func (o InstanceOutput) AppId() pulumi.IntOutput

The ID of the Vultr application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications)

func (InstanceOutput) AppVariables added in v2.19.0

func (o InstanceOutput) AppVariables() pulumi.StringMapOutput

A map of user-supplied variable keys and values for Vultr Marketplace apps. [See List Marketplace App Variables](https://www.vultr.com/api/#tag/marketplace/operation/list-marketplace-app-variables)

func (InstanceOutput) Backups

Whether automatic backups will be enabled for this server (these have an extra charge associated with them). Values can be enabled or disabled.

func (InstanceOutput) BackupsSchedule

A block that defines the way backups should be scheduled. While this is an optional field if `backups` are `enabled` this field is mandatory. The configuration of a `backupsSchedule` is listed below.

func (InstanceOutput) DateCreated

func (o InstanceOutput) DateCreated() pulumi.StringOutput

The date the server was added to your Vultr account.

func (InstanceOutput) DdosProtection

func (o InstanceOutput) DdosProtection() pulumi.BoolPtrOutput

Whether DDOS protection will be enabled on the server (there is an additional charge for this).

func (InstanceOutput) DefaultPassword

func (o InstanceOutput) DefaultPassword() pulumi.StringOutput

The server's default password.

func (InstanceOutput) DisablePublicIpv4 added in v2.19.0

func (o InstanceOutput) DisablePublicIpv4() pulumi.BoolPtrOutput

Whether the server has a public IPv4 address assigned (only possible with `enableIpv6` set to `true`)

func (InstanceOutput) Disk

func (o InstanceOutput) Disk() pulumi.IntOutput

The description of the disk(s) on the server.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) EnableIpv6

func (o InstanceOutput) EnableIpv6() pulumi.BoolPtrOutput

Whether the server has IPv6 networking activated.

func (InstanceOutput) Features

Array of which features are enabled.

func (InstanceOutput) FirewallGroupId

func (o InstanceOutput) FirewallGroupId() pulumi.StringOutput

The ID of the firewall group to assign to the server.

func (InstanceOutput) GatewayV4

func (o InstanceOutput) GatewayV4() pulumi.StringOutput

The server's IPv4 gateway.

func (InstanceOutput) Hostname

func (o InstanceOutput) Hostname() pulumi.StringOutput

The hostname to assign to the server.

func (InstanceOutput) ImageId

func (o InstanceOutput) ImageId() pulumi.StringOutput

The ID of the Vultr marketplace application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications) Note marketplace applications are denoted by type: `marketplace` and you must use the `imageId` not the id.

func (InstanceOutput) InternalIp

func (o InstanceOutput) InternalIp() pulumi.StringOutput

The server's internal IP address.

func (InstanceOutput) IsoId

The ID of the ISO file to be installed on the server. [See List ISO](https://www.vultr.com/api/#operation/list-isos)

func (InstanceOutput) Kvm

The server's current KVM URL. This URL will change periodically. It is not advised to cache this value.

func (InstanceOutput) Label

A label for the server.

func (InstanceOutput) MainIp

func (o InstanceOutput) MainIp() pulumi.StringOutput

The server's main IP address.

func (InstanceOutput) NetmaskV4

func (o InstanceOutput) NetmaskV4() pulumi.StringOutput

The server's IPv4 netmask.

func (InstanceOutput) Os

The string description of the operating system installed on the server.

func (InstanceOutput) OsId

func (o InstanceOutput) OsId() pulumi.IntOutput

The ID of the operating system to be installed on the server. [See List OS](https://www.vultr.com/api/#operation/list-os)

func (InstanceOutput) Plan

The ID of the plan that you want the instance to subscribe to. [See List Plans](https://www.vultr.com/api/#tag/plans)

func (InstanceOutput) PowerStatus

func (o InstanceOutput) PowerStatus() pulumi.StringOutput

Whether the server is powered on or not.

func (InstanceOutput) PrivateNetworkIds deprecated

func (o InstanceOutput) PrivateNetworkIds() pulumi.StringArrayOutput

(Deprecated: use `vpcIds` instead) A list of private network IDs to be attached to the server.

Deprecated: private_network_ids has been deprecated and should no longer be used. Instead, use vpc_ids

func (InstanceOutput) Ram

The amount of memory available on the server in MB.

func (InstanceOutput) Region

func (o InstanceOutput) Region() pulumi.StringOutput

The ID of the region that the instance is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)

func (InstanceOutput) ReservedIpId

func (o InstanceOutput) ReservedIpId() pulumi.StringOutput

ID of the floating IP to use as the main IP of this server.

func (InstanceOutput) ScriptId

func (o InstanceOutput) ScriptId() pulumi.StringOutput

The ID of the startup script you want added to the server.

func (InstanceOutput) ServerStatus

func (o InstanceOutput) ServerStatus() pulumi.StringOutput

A more detailed server status (none, locked, installingbooting, isomounting, ok).

func (InstanceOutput) SnapshotId

func (o InstanceOutput) SnapshotId() pulumi.StringOutput

The ID of the Vultr snapshot that the server will restore for the initial installation. [See List Snapshots](https://www.vultr.com/api/#operation/list-snapshots)

func (InstanceOutput) SshKeyIds

func (o InstanceOutput) SshKeyIds() pulumi.StringArrayOutput

A list of SSH key IDs to apply to the server on install (only valid for Linux/FreeBSD).

func (InstanceOutput) Status

func (o InstanceOutput) Status() pulumi.StringOutput

The status of the server's subscription.

func (InstanceOutput) Tags

A list of tags to apply to the instance.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) UserData

func (o InstanceOutput) UserData() pulumi.StringOutput

Generic data store, which some provisioning tools and cloud operating systems use as a configuration file. It is generally consumed only once after an instance has been launched, but individual needs may vary.

func (InstanceOutput) V6MainIp

func (o InstanceOutput) V6MainIp() pulumi.StringOutput

The main IPv6 network address.

func (InstanceOutput) V6Network

func (o InstanceOutput) V6Network() pulumi.StringOutput

The IPv6 subnet.

func (InstanceOutput) V6NetworkSize

func (o InstanceOutput) V6NetworkSize() pulumi.IntOutput

The IPv6 network size in bits.

func (InstanceOutput) VcpuCount

func (o InstanceOutput) VcpuCount() pulumi.IntOutput

The number of virtual CPUs available on the server.

func (InstanceOutput) Vpc2Ids added in v2.16.2

A list of VPC 2.0 IDs to be attached to the server.

func (InstanceOutput) VpcIds

A list of VPC IDs to be attached to the server.

type InstanceState

type InstanceState struct {
	// Whether an activation email will be sent when the server is ready.
	ActivationEmail pulumi.BoolPtrInput
	// The server's allowed bandwidth usage in GB.
	AllowedBandwidth pulumi.IntPtrInput
	// The ID of the Vultr application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications)
	AppId pulumi.IntPtrInput
	// A map of user-supplied variable keys and values for Vultr Marketplace apps. [See List Marketplace App Variables](https://www.vultr.com/api/#tag/marketplace/operation/list-marketplace-app-variables)
	AppVariables pulumi.StringMapInput
	// Whether automatic backups will be enabled for this server (these have an extra charge associated with them). Values can be enabled or disabled.
	Backups pulumi.StringPtrInput
	// A block that defines the way backups should be scheduled. While this is an optional field if `backups` are `enabled` this field is mandatory. The configuration of a `backupsSchedule` is listed below.
	BackupsSchedule InstanceBackupsSchedulePtrInput
	// The date the server was added to your Vultr account.
	DateCreated pulumi.StringPtrInput
	// Whether DDOS protection will be enabled on the server (there is an additional charge for this).
	DdosProtection pulumi.BoolPtrInput
	// The server's default password.
	DefaultPassword pulumi.StringPtrInput
	// Whether the server has a public IPv4 address assigned (only possible with `enableIpv6` set to `true`)
	DisablePublicIpv4 pulumi.BoolPtrInput
	// The description of the disk(s) on the server.
	Disk pulumi.IntPtrInput
	// Whether the server has IPv6 networking activated.
	EnableIpv6 pulumi.BoolPtrInput
	// Array of which features are enabled.
	Features pulumi.StringArrayInput
	// The ID of the firewall group to assign to the server.
	FirewallGroupId pulumi.StringPtrInput
	// The server's IPv4 gateway.
	GatewayV4 pulumi.StringPtrInput
	// The hostname to assign to the server.
	Hostname pulumi.StringPtrInput
	// The ID of the Vultr marketplace application to be installed on the server. [See List Applications](https://www.vultr.com/api/#operation/list-applications) Note marketplace applications are denoted by type: `marketplace` and you must use the `imageId` not the id.
	ImageId pulumi.StringPtrInput
	// The server's internal IP address.
	InternalIp pulumi.StringPtrInput
	// The ID of the ISO file to be installed on the server. [See List ISO](https://www.vultr.com/api/#operation/list-isos)
	IsoId pulumi.StringPtrInput
	// The server's current KVM URL. This URL will change periodically. It is not advised to cache this value.
	Kvm pulumi.StringPtrInput
	// A label for the server.
	Label pulumi.StringPtrInput
	// The server's main IP address.
	MainIp pulumi.StringPtrInput
	// The server's IPv4 netmask.
	NetmaskV4 pulumi.StringPtrInput
	// The string description of the operating system installed on the server.
	Os pulumi.StringPtrInput
	// The ID of the operating system to be installed on the server. [See List OS](https://www.vultr.com/api/#operation/list-os)
	OsId pulumi.IntPtrInput
	// The ID of the plan that you want the instance to subscribe to. [See List Plans](https://www.vultr.com/api/#tag/plans)
	Plan pulumi.StringPtrInput
	// Whether the server is powered on or not.
	PowerStatus pulumi.StringPtrInput
	// (Deprecated: use `vpcIds` instead) A list of private network IDs to be attached to the server.
	//
	// Deprecated: private_network_ids has been deprecated and should no longer be used. Instead, use vpc_ids
	PrivateNetworkIds pulumi.StringArrayInput
	// The amount of memory available on the server in MB.
	Ram pulumi.IntPtrInput
	// The ID of the region that the instance is to be created in. [See List Regions](https://www.vultr.com/api/#operation/list-regions)
	Region pulumi.StringPtrInput
	// ID of the floating IP to use as the main IP of this server.
	ReservedIpId pulumi.StringPtrInput
	// The ID of the startup script you want added to the server.
	ScriptId pulumi.StringPtrInput
	// A more detailed server status (none, locked, installingbooting, isomounting, ok).
	ServerStatus pulumi.StringPtrInput
	// The ID of the Vultr snapshot that the server will restore for the initial installation. [See List Snapshots](https://www.vultr.com/api/#operation/list-snapshots)
	SnapshotId pulumi.StringPtrInput
	// A list of SSH key IDs to apply to the server on install (only valid for Linux/FreeBSD).
	SshKeyIds pulumi.StringArrayInput
	// The status of the server's subscription.
	Status pulumi.StringPtrInput
	// A list of tags to apply to the instance.
	Tags pulumi.StringArrayInput
	// Generic data store, which some provisioning tools and cloud operating systems use as a configuration file. It is generally consumed only once after an instance has been launched, but individual needs may vary.
	UserData pulumi.StringPtrInput
	// The main IPv6 network address.
	V6MainIp pulumi.StringPtrInput
	// The IPv6 subnet.
	V6Network pulumi.StringPtrInput
	// The IPv6 network size in bits.
	V6NetworkSize pulumi.IntPtrInput
	// The number of virtual CPUs available on the server.
	VcpuCount pulumi.IntPtrInput
	// A list of VPC 2.0 IDs to be attached to the server.
	Vpc2Ids pulumi.StringArrayInput
	// A list of VPC IDs to be attached to the server.
	VpcIds pulumi.StringArrayInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type IsoPrivate

type IsoPrivate struct {
	pulumi.CustomResourceState

	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	Filename    pulumi.StringOutput `pulumi:"filename"`
	Md5sum      pulumi.StringOutput `pulumi:"md5sum"`
	Sha512sum   pulumi.StringOutput `pulumi:"sha512sum"`
	Size        pulumi.IntOutput    `pulumi:"size"`
	Status      pulumi.StringOutput `pulumi:"status"`
	Url         pulumi.StringOutput `pulumi:"url"`
}

func GetIsoPrivate

func GetIsoPrivate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IsoPrivateState, opts ...pulumi.ResourceOption) (*IsoPrivate, error)

GetIsoPrivate gets an existing IsoPrivate 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 NewIsoPrivate

func NewIsoPrivate(ctx *pulumi.Context,
	name string, args *IsoPrivateArgs, opts ...pulumi.ResourceOption) (*IsoPrivate, error)

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

func (*IsoPrivate) ElementType

func (*IsoPrivate) ElementType() reflect.Type

func (*IsoPrivate) ToIsoPrivateOutput

func (i *IsoPrivate) ToIsoPrivateOutput() IsoPrivateOutput

func (*IsoPrivate) ToIsoPrivateOutputWithContext

func (i *IsoPrivate) ToIsoPrivateOutputWithContext(ctx context.Context) IsoPrivateOutput

type IsoPrivateArgs

type IsoPrivateArgs struct {
	Url pulumi.StringInput
}

The set of arguments for constructing a IsoPrivate resource.

func (IsoPrivateArgs) ElementType

func (IsoPrivateArgs) ElementType() reflect.Type

type IsoPrivateArray

type IsoPrivateArray []IsoPrivateInput

func (IsoPrivateArray) ElementType

func (IsoPrivateArray) ElementType() reflect.Type

func (IsoPrivateArray) ToIsoPrivateArrayOutput

func (i IsoPrivateArray) ToIsoPrivateArrayOutput() IsoPrivateArrayOutput

func (IsoPrivateArray) ToIsoPrivateArrayOutputWithContext

func (i IsoPrivateArray) ToIsoPrivateArrayOutputWithContext(ctx context.Context) IsoPrivateArrayOutput

type IsoPrivateArrayInput

type IsoPrivateArrayInput interface {
	pulumi.Input

	ToIsoPrivateArrayOutput() IsoPrivateArrayOutput
	ToIsoPrivateArrayOutputWithContext(context.Context) IsoPrivateArrayOutput
}

IsoPrivateArrayInput is an input type that accepts IsoPrivateArray and IsoPrivateArrayOutput values. You can construct a concrete instance of `IsoPrivateArrayInput` via:

IsoPrivateArray{ IsoPrivateArgs{...} }

type IsoPrivateArrayOutput

type IsoPrivateArrayOutput struct{ *pulumi.OutputState }

func (IsoPrivateArrayOutput) ElementType

func (IsoPrivateArrayOutput) ElementType() reflect.Type

func (IsoPrivateArrayOutput) Index

func (IsoPrivateArrayOutput) ToIsoPrivateArrayOutput

func (o IsoPrivateArrayOutput) ToIsoPrivateArrayOutput() IsoPrivateArrayOutput

func (IsoPrivateArrayOutput) ToIsoPrivateArrayOutputWithContext

func (o IsoPrivateArrayOutput) ToIsoPrivateArrayOutputWithContext(ctx context.Context) IsoPrivateArrayOutput

type IsoPrivateInput

type IsoPrivateInput interface {
	pulumi.Input

	ToIsoPrivateOutput() IsoPrivateOutput
	ToIsoPrivateOutputWithContext(ctx context.Context) IsoPrivateOutput
}

type IsoPrivateMap

type IsoPrivateMap map[string]IsoPrivateInput

func (IsoPrivateMap) ElementType

func (IsoPrivateMap) ElementType() reflect.Type

func (IsoPrivateMap) ToIsoPrivateMapOutput

func (i IsoPrivateMap) ToIsoPrivateMapOutput() IsoPrivateMapOutput

func (IsoPrivateMap) ToIsoPrivateMapOutputWithContext

func (i IsoPrivateMap) ToIsoPrivateMapOutputWithContext(ctx context.Context) IsoPrivateMapOutput

type IsoPrivateMapInput

type IsoPrivateMapInput interface {
	pulumi.Input

	ToIsoPrivateMapOutput() IsoPrivateMapOutput
	ToIsoPrivateMapOutputWithContext(context.Context) IsoPrivateMapOutput
}

IsoPrivateMapInput is an input type that accepts IsoPrivateMap and IsoPrivateMapOutput values. You can construct a concrete instance of `IsoPrivateMapInput` via:

IsoPrivateMap{ "key": IsoPrivateArgs{...} }

type IsoPrivateMapOutput

type IsoPrivateMapOutput struct{ *pulumi.OutputState }

func (IsoPrivateMapOutput) ElementType

func (IsoPrivateMapOutput) ElementType() reflect.Type

func (IsoPrivateMapOutput) MapIndex

func (IsoPrivateMapOutput) ToIsoPrivateMapOutput

func (o IsoPrivateMapOutput) ToIsoPrivateMapOutput() IsoPrivateMapOutput

func (IsoPrivateMapOutput) ToIsoPrivateMapOutputWithContext

func (o IsoPrivateMapOutput) ToIsoPrivateMapOutputWithContext(ctx context.Context) IsoPrivateMapOutput

type IsoPrivateOutput

type IsoPrivateOutput struct{ *pulumi.OutputState }

func (IsoPrivateOutput) DateCreated

func (o IsoPrivateOutput) DateCreated() pulumi.StringOutput

func (IsoPrivateOutput) ElementType

func (IsoPrivateOutput) ElementType() reflect.Type

func (IsoPrivateOutput) Filename

func (o IsoPrivateOutput) Filename() pulumi.StringOutput

func (IsoPrivateOutput) Md5sum

func (IsoPrivateOutput) Sha512sum

func (o IsoPrivateOutput) Sha512sum() pulumi.StringOutput

func (IsoPrivateOutput) Size

func (IsoPrivateOutput) Status

func (IsoPrivateOutput) ToIsoPrivateOutput

func (o IsoPrivateOutput) ToIsoPrivateOutput() IsoPrivateOutput

func (IsoPrivateOutput) ToIsoPrivateOutputWithContext

func (o IsoPrivateOutput) ToIsoPrivateOutputWithContext(ctx context.Context) IsoPrivateOutput

func (IsoPrivateOutput) Url

type IsoPrivateState

type IsoPrivateState struct {
	DateCreated pulumi.StringPtrInput
	Filename    pulumi.StringPtrInput
	Md5sum      pulumi.StringPtrInput
	Sha512sum   pulumi.StringPtrInput
	Size        pulumi.IntPtrInput
	Status      pulumi.StringPtrInput
	Url         pulumi.StringPtrInput
}

func (IsoPrivateState) ElementType

func (IsoPrivateState) ElementType() reflect.Type

type Kubernetes

type Kubernetes struct {
	pulumi.CustomResourceState

	// The base64 encoded public certificate used by clients to access the cluster.
	ClientCertificate pulumi.StringOutput `pulumi:"clientCertificate"`
	// The base64 encoded private key used by clients to access the cluster.
	ClientKey pulumi.StringOutput `pulumi:"clientKey"`
	// The base64 encoded public certificate for the cluster's certificate authority.
	ClusterCaCertificate pulumi.StringOutput `pulumi:"clusterCaCertificate"`
	// IP range that your pods will run on in this cluster.
	ClusterSubnet pulumi.StringOutput `pulumi:"clusterSubnet"`
	// Date node was created.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// Boolean indicating if the cluster should be created with a managed firewall.
	EnableFirewall pulumi.BoolPtrOutput `pulumi:"enableFirewall"`
	// Domain for your Kubernetes clusters control plane.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// The ID of the firewall group managed by this cluster.
	FirewallGroupId pulumi.StringOutput `pulumi:"firewallGroupId"`
	// Boolean indicating if the cluster should be created with multiple, highly available controlplanes.
	HaControlplanes pulumi.BoolPtrOutput `pulumi:"haControlplanes"`
	// IP address of VKE cluster control plane.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// Base64 encoded Kubeconfig for this VKE cluster.
	KubeConfig pulumi.StringOutput `pulumi:"kubeConfig"`
	// The VKE clusters label.
	Label pulumi.StringOutput `pulumi:"label"`
	// Contains the default node pool that was deployed.
	NodePools KubernetesNodePoolsTypePtrOutput `pulumi:"nodePools"`
	// The region your VKE cluster will be deployed in.
	Region pulumi.StringOutput `pulumi:"region"`
	// IP range that services will run on this cluster.
	ServiceSubnet pulumi.StringOutput `pulumi:"serviceSubnet"`
	// Status of node.
	Status pulumi.StringOutput `pulumi:"status"`
	// The version your VKE cluster you want deployed. [See Available Version](https://www.vultr.com/api/#operation/get-kubernetes-versions)
	Version pulumi.StringOutput `pulumi:"version"`
}

## Example Usage

Create a new VKE cluster:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewKubernetes(ctx, "k8", &vultr.KubernetesArgs{
			Label: pulumi.String("vke-test"),
			NodePools: &vultr.KubernetesNodePoolsTypeArgs{
				AutoScaler:   pulumi.Bool(true),
				Label:        pulumi.String("vke-nodepool"),
				MaxNodes:     pulumi.Int(2),
				MinNodes:     pulumi.Int(1),
				NodeQuantity: pulumi.Int(1),
				Plan:         pulumi.String("vc2-1c-2gb"),
			},
			Region:  pulumi.String("ewr"),
			Version: pulumi.String("v1.28.2+1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

A default node pool is required when first creating the resource but it can be removed at a later point so long as there is a separate `KubernetesNodePools` resource attached. For example:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		k8, err := vultr.NewKubernetes(ctx, "k8", &vultr.KubernetesArgs{
			Region:  pulumi.String("ewr"),
			Label:   pulumi.String("vke-test"),
			Version: pulumi.String("v1.28.2+1"),
		})
		if err != nil {
			return err
		}
		_, err = vultr.NewKubernetesNodePools(ctx, "np", &vultr.KubernetesNodePoolsArgs{
			ClusterId:    k8.ID(),
			NodeQuantity: pulumi.Int(1),
			Plan:         pulumi.String("vc2-1c-2gb"),
			Label:        pulumi.String("vke-nodepool"),
			AutoScaler:   pulumi.Bool(true),
			MinNodes:     pulumi.Int(1),
			MaxNodes:     pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

There is still a requirement that there be one node pool attached to the cluster but this should allow more flexibility about which node pool that is.

func GetKubernetes

func GetKubernetes(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KubernetesState, opts ...pulumi.ResourceOption) (*Kubernetes, error)

GetKubernetes gets an existing Kubernetes 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 NewKubernetes

func NewKubernetes(ctx *pulumi.Context,
	name string, args *KubernetesArgs, opts ...pulumi.ResourceOption) (*Kubernetes, error)

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

func (*Kubernetes) ElementType

func (*Kubernetes) ElementType() reflect.Type

func (*Kubernetes) ToKubernetesOutput

func (i *Kubernetes) ToKubernetesOutput() KubernetesOutput

func (*Kubernetes) ToKubernetesOutputWithContext

func (i *Kubernetes) ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput

type KubernetesArgs

type KubernetesArgs struct {
	// Boolean indicating if the cluster should be created with a managed firewall.
	EnableFirewall pulumi.BoolPtrInput
	// Boolean indicating if the cluster should be created with multiple, highly available controlplanes.
	HaControlplanes pulumi.BoolPtrInput
	// The VKE clusters label.
	Label pulumi.StringInput
	// Contains the default node pool that was deployed.
	NodePools KubernetesNodePoolsTypePtrInput
	// The region your VKE cluster will be deployed in.
	Region pulumi.StringInput
	// The version your VKE cluster you want deployed. [See Available Version](https://www.vultr.com/api/#operation/get-kubernetes-versions)
	Version pulumi.StringInput
}

The set of arguments for constructing a Kubernetes resource.

func (KubernetesArgs) ElementType

func (KubernetesArgs) ElementType() reflect.Type

type KubernetesArray

type KubernetesArray []KubernetesInput

func (KubernetesArray) ElementType

func (KubernetesArray) ElementType() reflect.Type

func (KubernetesArray) ToKubernetesArrayOutput

func (i KubernetesArray) ToKubernetesArrayOutput() KubernetesArrayOutput

func (KubernetesArray) ToKubernetesArrayOutputWithContext

func (i KubernetesArray) ToKubernetesArrayOutputWithContext(ctx context.Context) KubernetesArrayOutput

type KubernetesArrayInput

type KubernetesArrayInput interface {
	pulumi.Input

	ToKubernetesArrayOutput() KubernetesArrayOutput
	ToKubernetesArrayOutputWithContext(context.Context) KubernetesArrayOutput
}

KubernetesArrayInput is an input type that accepts KubernetesArray and KubernetesArrayOutput values. You can construct a concrete instance of `KubernetesArrayInput` via:

KubernetesArray{ KubernetesArgs{...} }

type KubernetesArrayOutput

type KubernetesArrayOutput struct{ *pulumi.OutputState }

func (KubernetesArrayOutput) ElementType

func (KubernetesArrayOutput) ElementType() reflect.Type

func (KubernetesArrayOutput) Index

func (KubernetesArrayOutput) ToKubernetesArrayOutput

func (o KubernetesArrayOutput) ToKubernetesArrayOutput() KubernetesArrayOutput

func (KubernetesArrayOutput) ToKubernetesArrayOutputWithContext

func (o KubernetesArrayOutput) ToKubernetesArrayOutputWithContext(ctx context.Context) KubernetesArrayOutput

type KubernetesInput

type KubernetesInput interface {
	pulumi.Input

	ToKubernetesOutput() KubernetesOutput
	ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput
}

type KubernetesMap

type KubernetesMap map[string]KubernetesInput

func (KubernetesMap) ElementType

func (KubernetesMap) ElementType() reflect.Type

func (KubernetesMap) ToKubernetesMapOutput

func (i KubernetesMap) ToKubernetesMapOutput() KubernetesMapOutput

func (KubernetesMap) ToKubernetesMapOutputWithContext

func (i KubernetesMap) ToKubernetesMapOutputWithContext(ctx context.Context) KubernetesMapOutput

type KubernetesMapInput

type KubernetesMapInput interface {
	pulumi.Input

	ToKubernetesMapOutput() KubernetesMapOutput
	ToKubernetesMapOutputWithContext(context.Context) KubernetesMapOutput
}

KubernetesMapInput is an input type that accepts KubernetesMap and KubernetesMapOutput values. You can construct a concrete instance of `KubernetesMapInput` via:

KubernetesMap{ "key": KubernetesArgs{...} }

type KubernetesMapOutput

type KubernetesMapOutput struct{ *pulumi.OutputState }

func (KubernetesMapOutput) ElementType

func (KubernetesMapOutput) ElementType() reflect.Type

func (KubernetesMapOutput) MapIndex

func (KubernetesMapOutput) ToKubernetesMapOutput

func (o KubernetesMapOutput) ToKubernetesMapOutput() KubernetesMapOutput

func (KubernetesMapOutput) ToKubernetesMapOutputWithContext

func (o KubernetesMapOutput) ToKubernetesMapOutputWithContext(ctx context.Context) KubernetesMapOutput

type KubernetesNodePools

type KubernetesNodePools struct {
	pulumi.CustomResourceState

	// Enable the auto scaler for the default node pool.
	AutoScaler pulumi.BoolPtrOutput `pulumi:"autoScaler"`
	// The VKE cluster ID you want to attach this nodepool to.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Date node was created.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// Date of node pool updates.
	DateUpdated pulumi.StringOutput `pulumi:"dateUpdated"`
	// The label to be used as a prefix for nodes in this node pool.
	Label pulumi.StringOutput `pulumi:"label"`
	// The maximum number of nodes to use with the auto scaler.
	MaxNodes pulumi.IntPtrOutput `pulumi:"maxNodes"`
	// The minimum number of nodes to use with the auto scaler.
	MinNodes pulumi.IntPtrOutput `pulumi:"minNodes"`
	// The number of nodes in this node pool.
	NodeQuantity pulumi.IntOutput `pulumi:"nodeQuantity"`
	// Array that contains information about nodes within this node pool.
	Nodes KubernetesNodePoolsNodeArrayOutput `pulumi:"nodes"`
	// The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.
	Plan pulumi.StringOutput `pulumi:"plan"`
	// Status of node.
	Status pulumi.StringOutput `pulumi:"status"`
	// A tag that is assigned to this node pool.
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
}

Deploy additional node pools to an existing Vultr Kubernetes Engine (VKE) cluster.

## Example Usage

Create a new VKE cluster:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewKubernetesNodePools(ctx, "np-1", &vultr.KubernetesNodePoolsArgs{
			ClusterId:    pulumi.Any(vultr_kubernetes.K8.Id),
			NodeQuantity: pulumi.Int(1),
			Plan:         pulumi.String("vc2-2c-4gb"),
			Label:        pulumi.String("my-label"),
			Tag:          pulumi.String("my-tag"),
			AutoScaler:   pulumi.Bool(true),
			MinNodes:     pulumi.Int(1),
			MaxNodes:     pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetKubernetesNodePools

func GetKubernetesNodePools(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KubernetesNodePoolsState, opts ...pulumi.ResourceOption) (*KubernetesNodePools, error)

GetKubernetesNodePools gets an existing KubernetesNodePools 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 NewKubernetesNodePools

func NewKubernetesNodePools(ctx *pulumi.Context,
	name string, args *KubernetesNodePoolsArgs, opts ...pulumi.ResourceOption) (*KubernetesNodePools, error)

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

func (*KubernetesNodePools) ElementType

func (*KubernetesNodePools) ElementType() reflect.Type

func (*KubernetesNodePools) ToKubernetesNodePoolsOutput

func (i *KubernetesNodePools) ToKubernetesNodePoolsOutput() KubernetesNodePoolsOutput

func (*KubernetesNodePools) ToKubernetesNodePoolsOutputWithContext

func (i *KubernetesNodePools) ToKubernetesNodePoolsOutputWithContext(ctx context.Context) KubernetesNodePoolsOutput

type KubernetesNodePoolsArgs

type KubernetesNodePoolsArgs struct {
	// Enable the auto scaler for the default node pool.
	AutoScaler pulumi.BoolPtrInput
	// The VKE cluster ID you want to attach this nodepool to.
	ClusterId pulumi.StringInput
	// The label to be used as a prefix for nodes in this node pool.
	Label pulumi.StringInput
	// The maximum number of nodes to use with the auto scaler.
	MaxNodes pulumi.IntPtrInput
	// The minimum number of nodes to use with the auto scaler.
	MinNodes pulumi.IntPtrInput
	// The number of nodes in this node pool.
	NodeQuantity pulumi.IntInput
	// The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.
	Plan pulumi.StringInput
	// A tag that is assigned to this node pool.
	Tag pulumi.StringPtrInput
}

The set of arguments for constructing a KubernetesNodePools resource.

func (KubernetesNodePoolsArgs) ElementType

func (KubernetesNodePoolsArgs) ElementType() reflect.Type

type KubernetesNodePoolsArray

type KubernetesNodePoolsArray []KubernetesNodePoolsInput

func (KubernetesNodePoolsArray) ElementType

func (KubernetesNodePoolsArray) ElementType() reflect.Type

func (KubernetesNodePoolsArray) ToKubernetesNodePoolsArrayOutput

func (i KubernetesNodePoolsArray) ToKubernetesNodePoolsArrayOutput() KubernetesNodePoolsArrayOutput

func (KubernetesNodePoolsArray) ToKubernetesNodePoolsArrayOutputWithContext

func (i KubernetesNodePoolsArray) ToKubernetesNodePoolsArrayOutputWithContext(ctx context.Context) KubernetesNodePoolsArrayOutput

type KubernetesNodePoolsArrayInput

type KubernetesNodePoolsArrayInput interface {
	pulumi.Input

	ToKubernetesNodePoolsArrayOutput() KubernetesNodePoolsArrayOutput
	ToKubernetesNodePoolsArrayOutputWithContext(context.Context) KubernetesNodePoolsArrayOutput
}

KubernetesNodePoolsArrayInput is an input type that accepts KubernetesNodePoolsArray and KubernetesNodePoolsArrayOutput values. You can construct a concrete instance of `KubernetesNodePoolsArrayInput` via:

KubernetesNodePoolsArray{ KubernetesNodePoolsArgs{...} }

type KubernetesNodePoolsArrayOutput

type KubernetesNodePoolsArrayOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolsArrayOutput) ElementType

func (KubernetesNodePoolsArrayOutput) Index

func (KubernetesNodePoolsArrayOutput) ToKubernetesNodePoolsArrayOutput

func (o KubernetesNodePoolsArrayOutput) ToKubernetesNodePoolsArrayOutput() KubernetesNodePoolsArrayOutput

func (KubernetesNodePoolsArrayOutput) ToKubernetesNodePoolsArrayOutputWithContext

func (o KubernetesNodePoolsArrayOutput) ToKubernetesNodePoolsArrayOutputWithContext(ctx context.Context) KubernetesNodePoolsArrayOutput

type KubernetesNodePoolsInput

type KubernetesNodePoolsInput interface {
	pulumi.Input

	ToKubernetesNodePoolsOutput() KubernetesNodePoolsOutput
	ToKubernetesNodePoolsOutputWithContext(ctx context.Context) KubernetesNodePoolsOutput
}

type KubernetesNodePoolsMap

type KubernetesNodePoolsMap map[string]KubernetesNodePoolsInput

func (KubernetesNodePoolsMap) ElementType

func (KubernetesNodePoolsMap) ElementType() reflect.Type

func (KubernetesNodePoolsMap) ToKubernetesNodePoolsMapOutput

func (i KubernetesNodePoolsMap) ToKubernetesNodePoolsMapOutput() KubernetesNodePoolsMapOutput

func (KubernetesNodePoolsMap) ToKubernetesNodePoolsMapOutputWithContext

func (i KubernetesNodePoolsMap) ToKubernetesNodePoolsMapOutputWithContext(ctx context.Context) KubernetesNodePoolsMapOutput

type KubernetesNodePoolsMapInput

type KubernetesNodePoolsMapInput interface {
	pulumi.Input

	ToKubernetesNodePoolsMapOutput() KubernetesNodePoolsMapOutput
	ToKubernetesNodePoolsMapOutputWithContext(context.Context) KubernetesNodePoolsMapOutput
}

KubernetesNodePoolsMapInput is an input type that accepts KubernetesNodePoolsMap and KubernetesNodePoolsMapOutput values. You can construct a concrete instance of `KubernetesNodePoolsMapInput` via:

KubernetesNodePoolsMap{ "key": KubernetesNodePoolsArgs{...} }

type KubernetesNodePoolsMapOutput

type KubernetesNodePoolsMapOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolsMapOutput) ElementType

func (KubernetesNodePoolsMapOutput) MapIndex

func (KubernetesNodePoolsMapOutput) ToKubernetesNodePoolsMapOutput

func (o KubernetesNodePoolsMapOutput) ToKubernetesNodePoolsMapOutput() KubernetesNodePoolsMapOutput

func (KubernetesNodePoolsMapOutput) ToKubernetesNodePoolsMapOutputWithContext

func (o KubernetesNodePoolsMapOutput) ToKubernetesNodePoolsMapOutputWithContext(ctx context.Context) KubernetesNodePoolsMapOutput

type KubernetesNodePoolsNode

type KubernetesNodePoolsNode struct {
	// Date node was created.
	DateCreated *string `pulumi:"dateCreated"`
	// ID of node.
	Id *string `pulumi:"id"`
	// The VKE clusters label.
	Label *string `pulumi:"label"`
	// Status of node.
	Status *string `pulumi:"status"`
}

type KubernetesNodePoolsNodeArgs

type KubernetesNodePoolsNodeArgs struct {
	// Date node was created.
	DateCreated pulumi.StringPtrInput `pulumi:"dateCreated"`
	// ID of node.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The VKE clusters label.
	Label pulumi.StringPtrInput `pulumi:"label"`
	// Status of node.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (KubernetesNodePoolsNodeArgs) ElementType

func (KubernetesNodePoolsNodeArgs) ToKubernetesNodePoolsNodeOutput

func (i KubernetesNodePoolsNodeArgs) ToKubernetesNodePoolsNodeOutput() KubernetesNodePoolsNodeOutput

func (KubernetesNodePoolsNodeArgs) ToKubernetesNodePoolsNodeOutputWithContext

func (i KubernetesNodePoolsNodeArgs) ToKubernetesNodePoolsNodeOutputWithContext(ctx context.Context) KubernetesNodePoolsNodeOutput

type KubernetesNodePoolsNodeArray

type KubernetesNodePoolsNodeArray []KubernetesNodePoolsNodeInput

func (KubernetesNodePoolsNodeArray) ElementType

func (KubernetesNodePoolsNodeArray) ToKubernetesNodePoolsNodeArrayOutput

func (i KubernetesNodePoolsNodeArray) ToKubernetesNodePoolsNodeArrayOutput() KubernetesNodePoolsNodeArrayOutput

func (KubernetesNodePoolsNodeArray) ToKubernetesNodePoolsNodeArrayOutputWithContext

func (i KubernetesNodePoolsNodeArray) ToKubernetesNodePoolsNodeArrayOutputWithContext(ctx context.Context) KubernetesNodePoolsNodeArrayOutput

type KubernetesNodePoolsNodeArrayInput

type KubernetesNodePoolsNodeArrayInput interface {
	pulumi.Input

	ToKubernetesNodePoolsNodeArrayOutput() KubernetesNodePoolsNodeArrayOutput
	ToKubernetesNodePoolsNodeArrayOutputWithContext(context.Context) KubernetesNodePoolsNodeArrayOutput
}

KubernetesNodePoolsNodeArrayInput is an input type that accepts KubernetesNodePoolsNodeArray and KubernetesNodePoolsNodeArrayOutput values. You can construct a concrete instance of `KubernetesNodePoolsNodeArrayInput` via:

KubernetesNodePoolsNodeArray{ KubernetesNodePoolsNodeArgs{...} }

type KubernetesNodePoolsNodeArrayOutput

type KubernetesNodePoolsNodeArrayOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolsNodeArrayOutput) ElementType

func (KubernetesNodePoolsNodeArrayOutput) Index

func (KubernetesNodePoolsNodeArrayOutput) ToKubernetesNodePoolsNodeArrayOutput

func (o KubernetesNodePoolsNodeArrayOutput) ToKubernetesNodePoolsNodeArrayOutput() KubernetesNodePoolsNodeArrayOutput

func (KubernetesNodePoolsNodeArrayOutput) ToKubernetesNodePoolsNodeArrayOutputWithContext

func (o KubernetesNodePoolsNodeArrayOutput) ToKubernetesNodePoolsNodeArrayOutputWithContext(ctx context.Context) KubernetesNodePoolsNodeArrayOutput

type KubernetesNodePoolsNodeInput

type KubernetesNodePoolsNodeInput interface {
	pulumi.Input

	ToKubernetesNodePoolsNodeOutput() KubernetesNodePoolsNodeOutput
	ToKubernetesNodePoolsNodeOutputWithContext(context.Context) KubernetesNodePoolsNodeOutput
}

KubernetesNodePoolsNodeInput is an input type that accepts KubernetesNodePoolsNodeArgs and KubernetesNodePoolsNodeOutput values. You can construct a concrete instance of `KubernetesNodePoolsNodeInput` via:

KubernetesNodePoolsNodeArgs{...}

type KubernetesNodePoolsNodeOutput

type KubernetesNodePoolsNodeOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolsNodeOutput) DateCreated

Date node was created.

func (KubernetesNodePoolsNodeOutput) ElementType

func (KubernetesNodePoolsNodeOutput) Id

ID of node.

func (KubernetesNodePoolsNodeOutput) Label

The VKE clusters label.

func (KubernetesNodePoolsNodeOutput) Status

Status of node.

func (KubernetesNodePoolsNodeOutput) ToKubernetesNodePoolsNodeOutput

func (o KubernetesNodePoolsNodeOutput) ToKubernetesNodePoolsNodeOutput() KubernetesNodePoolsNodeOutput

func (KubernetesNodePoolsNodeOutput) ToKubernetesNodePoolsNodeOutputWithContext

func (o KubernetesNodePoolsNodeOutput) ToKubernetesNodePoolsNodeOutputWithContext(ctx context.Context) KubernetesNodePoolsNodeOutput

type KubernetesNodePoolsOutput

type KubernetesNodePoolsOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolsOutput) AutoScaler

Enable the auto scaler for the default node pool.

func (KubernetesNodePoolsOutput) ClusterId

The VKE cluster ID you want to attach this nodepool to.

func (KubernetesNodePoolsOutput) DateCreated

Date node was created.

func (KubernetesNodePoolsOutput) DateUpdated

Date of node pool updates.

func (KubernetesNodePoolsOutput) ElementType

func (KubernetesNodePoolsOutput) ElementType() reflect.Type

func (KubernetesNodePoolsOutput) Label

The label to be used as a prefix for nodes in this node pool.

func (KubernetesNodePoolsOutput) MaxNodes

The maximum number of nodes to use with the auto scaler.

func (KubernetesNodePoolsOutput) MinNodes

The minimum number of nodes to use with the auto scaler.

func (KubernetesNodePoolsOutput) NodeQuantity

func (o KubernetesNodePoolsOutput) NodeQuantity() pulumi.IntOutput

The number of nodes in this node pool.

func (KubernetesNodePoolsOutput) Nodes

Array that contains information about nodes within this node pool.

func (KubernetesNodePoolsOutput) Plan

The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.

func (KubernetesNodePoolsOutput) Status

Status of node.

func (KubernetesNodePoolsOutput) Tag

A tag that is assigned to this node pool.

func (KubernetesNodePoolsOutput) ToKubernetesNodePoolsOutput

func (o KubernetesNodePoolsOutput) ToKubernetesNodePoolsOutput() KubernetesNodePoolsOutput

func (KubernetesNodePoolsOutput) ToKubernetesNodePoolsOutputWithContext

func (o KubernetesNodePoolsOutput) ToKubernetesNodePoolsOutputWithContext(ctx context.Context) KubernetesNodePoolsOutput

type KubernetesNodePoolsState

type KubernetesNodePoolsState struct {
	// Enable the auto scaler for the default node pool.
	AutoScaler pulumi.BoolPtrInput
	// The VKE cluster ID you want to attach this nodepool to.
	ClusterId pulumi.StringPtrInput
	// Date node was created.
	DateCreated pulumi.StringPtrInput
	// Date of node pool updates.
	DateUpdated pulumi.StringPtrInput
	// The label to be used as a prefix for nodes in this node pool.
	Label pulumi.StringPtrInput
	// The maximum number of nodes to use with the auto scaler.
	MaxNodes pulumi.IntPtrInput
	// The minimum number of nodes to use with the auto scaler.
	MinNodes pulumi.IntPtrInput
	// The number of nodes in this node pool.
	NodeQuantity pulumi.IntPtrInput
	// Array that contains information about nodes within this node pool.
	Nodes KubernetesNodePoolsNodeArrayInput
	// The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.
	Plan pulumi.StringPtrInput
	// Status of node.
	Status pulumi.StringPtrInput
	// A tag that is assigned to this node pool.
	Tag pulumi.StringPtrInput
}

func (KubernetesNodePoolsState) ElementType

func (KubernetesNodePoolsState) ElementType() reflect.Type

type KubernetesNodePoolsType

type KubernetesNodePoolsType struct {
	// Enable the auto scaler for the default node pool.
	AutoScaler *bool `pulumi:"autoScaler"`
	// Date node was created.
	DateCreated *string `pulumi:"dateCreated"`
	// Date of node pool updates.
	DateUpdated *string `pulumi:"dateUpdated"`
	// ID of node.
	Id *string `pulumi:"id"`
	// The label to be used as a prefix for nodes in this node pool.
	Label string `pulumi:"label"`
	// The maximum number of nodes to use with the auto scaler.
	MaxNodes *int `pulumi:"maxNodes"`
	// The minimum number of nodes to use with the auto scaler.
	MinNodes *int `pulumi:"minNodes"`
	// The number of nodes in this node pool.
	NodeQuantity int `pulumi:"nodeQuantity"`
	// Array that contains information about nodes within this node pool.
	Nodes []KubernetesNodePoolsNode `pulumi:"nodes"`
	// The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.
	Plan string `pulumi:"plan"`
	// Status of node.
	Status *string `pulumi:"status"`
	// Tag for node pool.
	Tag *string `pulumi:"tag"`
}

type KubernetesNodePoolsTypeArgs

type KubernetesNodePoolsTypeArgs struct {
	// Enable the auto scaler for the default node pool.
	AutoScaler pulumi.BoolPtrInput `pulumi:"autoScaler"`
	// Date node was created.
	DateCreated pulumi.StringPtrInput `pulumi:"dateCreated"`
	// Date of node pool updates.
	DateUpdated pulumi.StringPtrInput `pulumi:"dateUpdated"`
	// ID of node.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The label to be used as a prefix for nodes in this node pool.
	Label pulumi.StringInput `pulumi:"label"`
	// The maximum number of nodes to use with the auto scaler.
	MaxNodes pulumi.IntPtrInput `pulumi:"maxNodes"`
	// The minimum number of nodes to use with the auto scaler.
	MinNodes pulumi.IntPtrInput `pulumi:"minNodes"`
	// The number of nodes in this node pool.
	NodeQuantity pulumi.IntInput `pulumi:"nodeQuantity"`
	// Array that contains information about nodes within this node pool.
	Nodes KubernetesNodePoolsNodeArrayInput `pulumi:"nodes"`
	// The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.
	Plan pulumi.StringInput `pulumi:"plan"`
	// Status of node.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Tag for node pool.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (KubernetesNodePoolsTypeArgs) ElementType

func (KubernetesNodePoolsTypeArgs) ToKubernetesNodePoolsTypeOutput

func (i KubernetesNodePoolsTypeArgs) ToKubernetesNodePoolsTypeOutput() KubernetesNodePoolsTypeOutput

func (KubernetesNodePoolsTypeArgs) ToKubernetesNodePoolsTypeOutputWithContext

func (i KubernetesNodePoolsTypeArgs) ToKubernetesNodePoolsTypeOutputWithContext(ctx context.Context) KubernetesNodePoolsTypeOutput

func (KubernetesNodePoolsTypeArgs) ToKubernetesNodePoolsTypePtrOutput

func (i KubernetesNodePoolsTypeArgs) ToKubernetesNodePoolsTypePtrOutput() KubernetesNodePoolsTypePtrOutput

func (KubernetesNodePoolsTypeArgs) ToKubernetesNodePoolsTypePtrOutputWithContext

func (i KubernetesNodePoolsTypeArgs) ToKubernetesNodePoolsTypePtrOutputWithContext(ctx context.Context) KubernetesNodePoolsTypePtrOutput

type KubernetesNodePoolsTypeInput

type KubernetesNodePoolsTypeInput interface {
	pulumi.Input

	ToKubernetesNodePoolsTypeOutput() KubernetesNodePoolsTypeOutput
	ToKubernetesNodePoolsTypeOutputWithContext(context.Context) KubernetesNodePoolsTypeOutput
}

KubernetesNodePoolsTypeInput is an input type that accepts KubernetesNodePoolsTypeArgs and KubernetesNodePoolsTypeOutput values. You can construct a concrete instance of `KubernetesNodePoolsTypeInput` via:

KubernetesNodePoolsTypeArgs{...}

type KubernetesNodePoolsTypeOutput

type KubernetesNodePoolsTypeOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolsTypeOutput) AutoScaler

Enable the auto scaler for the default node pool.

func (KubernetesNodePoolsTypeOutput) DateCreated

Date node was created.

func (KubernetesNodePoolsTypeOutput) DateUpdated

Date of node pool updates.

func (KubernetesNodePoolsTypeOutput) ElementType

func (KubernetesNodePoolsTypeOutput) Id

ID of node.

func (KubernetesNodePoolsTypeOutput) Label

The label to be used as a prefix for nodes in this node pool.

func (KubernetesNodePoolsTypeOutput) MaxNodes

The maximum number of nodes to use with the auto scaler.

func (KubernetesNodePoolsTypeOutput) MinNodes

The minimum number of nodes to use with the auto scaler.

func (KubernetesNodePoolsTypeOutput) NodeQuantity

The number of nodes in this node pool.

func (KubernetesNodePoolsTypeOutput) Nodes

Array that contains information about nodes within this node pool.

func (KubernetesNodePoolsTypeOutput) Plan

The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.

func (KubernetesNodePoolsTypeOutput) Status

Status of node.

func (KubernetesNodePoolsTypeOutput) Tag

Tag for node pool.

func (KubernetesNodePoolsTypeOutput) ToKubernetesNodePoolsTypeOutput

func (o KubernetesNodePoolsTypeOutput) ToKubernetesNodePoolsTypeOutput() KubernetesNodePoolsTypeOutput

func (KubernetesNodePoolsTypeOutput) ToKubernetesNodePoolsTypeOutputWithContext

func (o KubernetesNodePoolsTypeOutput) ToKubernetesNodePoolsTypeOutputWithContext(ctx context.Context) KubernetesNodePoolsTypeOutput

func (KubernetesNodePoolsTypeOutput) ToKubernetesNodePoolsTypePtrOutput

func (o KubernetesNodePoolsTypeOutput) ToKubernetesNodePoolsTypePtrOutput() KubernetesNodePoolsTypePtrOutput

func (KubernetesNodePoolsTypeOutput) ToKubernetesNodePoolsTypePtrOutputWithContext

func (o KubernetesNodePoolsTypeOutput) ToKubernetesNodePoolsTypePtrOutputWithContext(ctx context.Context) KubernetesNodePoolsTypePtrOutput

type KubernetesNodePoolsTypePtrInput

type KubernetesNodePoolsTypePtrInput interface {
	pulumi.Input

	ToKubernetesNodePoolsTypePtrOutput() KubernetesNodePoolsTypePtrOutput
	ToKubernetesNodePoolsTypePtrOutputWithContext(context.Context) KubernetesNodePoolsTypePtrOutput
}

KubernetesNodePoolsTypePtrInput is an input type that accepts KubernetesNodePoolsTypeArgs, KubernetesNodePoolsTypePtr and KubernetesNodePoolsTypePtrOutput values. You can construct a concrete instance of `KubernetesNodePoolsTypePtrInput` via:

        KubernetesNodePoolsTypeArgs{...}

or:

        nil

type KubernetesNodePoolsTypePtrOutput

type KubernetesNodePoolsTypePtrOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolsTypePtrOutput) AutoScaler

Enable the auto scaler for the default node pool.

func (KubernetesNodePoolsTypePtrOutput) DateCreated

Date node was created.

func (KubernetesNodePoolsTypePtrOutput) DateUpdated

Date of node pool updates.

func (KubernetesNodePoolsTypePtrOutput) Elem

func (KubernetesNodePoolsTypePtrOutput) ElementType

func (KubernetesNodePoolsTypePtrOutput) Id

ID of node.

func (KubernetesNodePoolsTypePtrOutput) Label

The label to be used as a prefix for nodes in this node pool.

func (KubernetesNodePoolsTypePtrOutput) MaxNodes

The maximum number of nodes to use with the auto scaler.

func (KubernetesNodePoolsTypePtrOutput) MinNodes

The minimum number of nodes to use with the auto scaler.

func (KubernetesNodePoolsTypePtrOutput) NodeQuantity

The number of nodes in this node pool.

func (KubernetesNodePoolsTypePtrOutput) Nodes

Array that contains information about nodes within this node pool.

func (KubernetesNodePoolsTypePtrOutput) Plan

The plan to be used in this node pool. [See Plans List](https://www.vultr.com/api/#operation/list-plans) Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.

func (KubernetesNodePoolsTypePtrOutput) Status

Status of node.

func (KubernetesNodePoolsTypePtrOutput) Tag

Tag for node pool.

func (KubernetesNodePoolsTypePtrOutput) ToKubernetesNodePoolsTypePtrOutput

func (o KubernetesNodePoolsTypePtrOutput) ToKubernetesNodePoolsTypePtrOutput() KubernetesNodePoolsTypePtrOutput

func (KubernetesNodePoolsTypePtrOutput) ToKubernetesNodePoolsTypePtrOutputWithContext

func (o KubernetesNodePoolsTypePtrOutput) ToKubernetesNodePoolsTypePtrOutputWithContext(ctx context.Context) KubernetesNodePoolsTypePtrOutput

type KubernetesOutput

type KubernetesOutput struct{ *pulumi.OutputState }

func (KubernetesOutput) ClientCertificate added in v2.14.1

func (o KubernetesOutput) ClientCertificate() pulumi.StringOutput

The base64 encoded public certificate used by clients to access the cluster.

func (KubernetesOutput) ClientKey added in v2.14.1

func (o KubernetesOutput) ClientKey() pulumi.StringOutput

The base64 encoded private key used by clients to access the cluster.

func (KubernetesOutput) ClusterCaCertificate added in v2.14.1

func (o KubernetesOutput) ClusterCaCertificate() pulumi.StringOutput

The base64 encoded public certificate for the cluster's certificate authority.

func (KubernetesOutput) ClusterSubnet

func (o KubernetesOutput) ClusterSubnet() pulumi.StringOutput

IP range that your pods will run on in this cluster.

func (KubernetesOutput) DateCreated

func (o KubernetesOutput) DateCreated() pulumi.StringOutput

Date node was created.

func (KubernetesOutput) ElementType

func (KubernetesOutput) ElementType() reflect.Type

func (KubernetesOutput) EnableFirewall added in v2.18.0

func (o KubernetesOutput) EnableFirewall() pulumi.BoolPtrOutput

Boolean indicating if the cluster should be created with a managed firewall.

func (KubernetesOutput) Endpoint

func (o KubernetesOutput) Endpoint() pulumi.StringOutput

Domain for your Kubernetes clusters control plane.

func (KubernetesOutput) FirewallGroupId added in v2.18.0

func (o KubernetesOutput) FirewallGroupId() pulumi.StringOutput

The ID of the firewall group managed by this cluster.

func (KubernetesOutput) HaControlplanes added in v2.17.1

func (o KubernetesOutput) HaControlplanes() pulumi.BoolPtrOutput

Boolean indicating if the cluster should be created with multiple, highly available controlplanes.

func (KubernetesOutput) Ip

IP address of VKE cluster control plane.

func (KubernetesOutput) KubeConfig

func (o KubernetesOutput) KubeConfig() pulumi.StringOutput

Base64 encoded Kubeconfig for this VKE cluster.

func (KubernetesOutput) Label

The VKE clusters label.

func (KubernetesOutput) NodePools

Contains the default node pool that was deployed.

func (KubernetesOutput) Region

The region your VKE cluster will be deployed in.

func (KubernetesOutput) ServiceSubnet

func (o KubernetesOutput) ServiceSubnet() pulumi.StringOutput

IP range that services will run on this cluster.

func (KubernetesOutput) Status

Status of node.

func (KubernetesOutput) ToKubernetesOutput

func (o KubernetesOutput) ToKubernetesOutput() KubernetesOutput

func (KubernetesOutput) ToKubernetesOutputWithContext

func (o KubernetesOutput) ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput

func (KubernetesOutput) Version

func (o KubernetesOutput) Version() pulumi.StringOutput

The version your VKE cluster you want deployed. [See Available Version](https://www.vultr.com/api/#operation/get-kubernetes-versions)

type KubernetesState

type KubernetesState struct {
	// The base64 encoded public certificate used by clients to access the cluster.
	ClientCertificate pulumi.StringPtrInput
	// The base64 encoded private key used by clients to access the cluster.
	ClientKey pulumi.StringPtrInput
	// The base64 encoded public certificate for the cluster's certificate authority.
	ClusterCaCertificate pulumi.StringPtrInput
	// IP range that your pods will run on in this cluster.
	ClusterSubnet pulumi.StringPtrInput
	// Date node was created.
	DateCreated pulumi.StringPtrInput
	// Boolean indicating if the cluster should be created with a managed firewall.
	EnableFirewall pulumi.BoolPtrInput
	// Domain for your Kubernetes clusters control plane.
	Endpoint pulumi.StringPtrInput
	// The ID of the firewall group managed by this cluster.
	FirewallGroupId pulumi.StringPtrInput
	// Boolean indicating if the cluster should be created with multiple, highly available controlplanes.
	HaControlplanes pulumi.BoolPtrInput
	// IP address of VKE cluster control plane.
	Ip pulumi.StringPtrInput
	// Base64 encoded Kubeconfig for this VKE cluster.
	KubeConfig pulumi.StringPtrInput
	// The VKE clusters label.
	Label pulumi.StringPtrInput
	// Contains the default node pool that was deployed.
	NodePools KubernetesNodePoolsTypePtrInput
	// The region your VKE cluster will be deployed in.
	Region pulumi.StringPtrInput
	// IP range that services will run on this cluster.
	ServiceSubnet pulumi.StringPtrInput
	// Status of node.
	Status pulumi.StringPtrInput
	// The version your VKE cluster you want deployed. [See Available Version](https://www.vultr.com/api/#operation/get-kubernetes-versions)
	Version pulumi.StringPtrInput
}

func (KubernetesState) ElementType

func (KubernetesState) ElementType() reflect.Type

type LoadBalancer

type LoadBalancer struct {
	pulumi.CustomResourceState

	// Array of instances that are currently attached to the load balancer.
	AttachedInstances pulumi.StringArrayOutput `pulumi:"attachedInstances"`
	// The balancing algorithm for your load balancer. Options are `roundrobin` or `leastconn`. Default value is `roundrobin`
	BalancingAlgorithm pulumi.StringOutput `pulumi:"balancingAlgorithm"`
	// Name for your given sticky session.
	CookieName pulumi.StringPtrOutput `pulumi:"cookieName"`
	// Defines the firewall rules for a load balancer.
	FirewallRules LoadBalancerFirewallRuleArrayOutput `pulumi:"firewallRules"`
	// List of forwarding rules for a load balancer. The configuration of a `forwardingRules` is listened below.
	ForwardingRules LoadBalancerForwardingRuleArrayOutput `pulumi:"forwardingRules"`
	// Boolean value that indicates if SSL is enabled.
	HasSsl pulumi.BoolOutput `pulumi:"hasSsl"`
	// A block that defines the way load balancers should check for health. The configuration of a `healthCheck` is listed below.
	HealthCheck LoadBalancerHealthCheckOutput `pulumi:"healthCheck"`
	// IPv4 address for your load balancer.
	Ipv4 pulumi.StringOutput `pulumi:"ipv4"`
	// IPv6 address for your load balancer.
	Ipv6 pulumi.StringOutput `pulumi:"ipv6"`
	// The load balancer's label.
	Label pulumi.StringPtrOutput `pulumi:"label"`
	// A private network ID that the load balancer should be attached to.
	//
	// Deprecated: private_network is deprecated and should no longer be used. Instead, use vpc
	PrivateNetwork pulumi.StringPtrOutput `pulumi:"privateNetwork"`
	// Boolean value that indicates if Proxy Protocol is enabled.
	ProxyProtocol pulumi.BoolPtrOutput `pulumi:"proxyProtocol"`
	// The region your load balancer is deployed in.
	Region pulumi.StringOutput `pulumi:"region"`
	// A block that supplies your ssl configuration to be used with HTTPS. The configuration of a `ssl` is listed below.
	Ssl LoadBalancerSslPtrOutput `pulumi:"ssl"`
	// Boolean value that indicates if HTTP calls will be redirected to HTTPS.
	SslRedirect pulumi.BoolPtrOutput `pulumi:"sslRedirect"`
	// Current status for the load balancer
	Status pulumi.StringOutput `pulumi:"status"`
	// A VPC ID that the load balancer should be attached to.
	Vpc pulumi.StringPtrOutput `pulumi:"vpc"`
}

Get information about a Vultr load balancer.

## Example Usage

Create a new load balancer:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewLoadBalancer(ctx, "lb", &vultr.LoadBalancerArgs{
			BalancingAlgorithm: pulumi.String("roundrobin"),
			ForwardingRules: vultr.LoadBalancerForwardingRuleArray{
				&vultr.LoadBalancerForwardingRuleArgs{
					BackendPort:      pulumi.Int(81),
					BackendProtocol:  pulumi.String("http"),
					FrontendPort:     pulumi.Int(82),
					FrontendProtocol: pulumi.String("http"),
				},
			},
			HealthCheck: &vultr.LoadBalancerHealthCheckArgs{
				CheckInterval:      pulumi.Int(3),
				HealthyThreshold:   pulumi.Int(4),
				Path:               pulumi.String("/test"),
				Port:               pulumi.Int(8080),
				Protocol:           pulumi.String("http"),
				ResponseTimeout:    pulumi.Int(1),
				UnhealthyThreshold: pulumi.Int(2),
			},
			Label:  pulumi.String("vultr-load-balancer"),
			Region: pulumi.String("ewr"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Load Balancers can be imported using the load balancer `ID`, e.g.

```sh

$ pulumi import vultr:index/loadBalancer:LoadBalancer lb b6a859c5-b299-49dd-8888-b1abbc517d08

```

func GetLoadBalancer

func GetLoadBalancer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LoadBalancerState, opts ...pulumi.ResourceOption) (*LoadBalancer, error)

GetLoadBalancer gets an existing LoadBalancer 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 NewLoadBalancer

func NewLoadBalancer(ctx *pulumi.Context,
	name string, args *LoadBalancerArgs, opts ...pulumi.ResourceOption) (*LoadBalancer, error)

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

func (*LoadBalancer) ElementType

func (*LoadBalancer) ElementType() reflect.Type

func (*LoadBalancer) ToLoadBalancerOutput

func (i *LoadBalancer) ToLoadBalancerOutput() LoadBalancerOutput

func (*LoadBalancer) ToLoadBalancerOutputWithContext

func (i *LoadBalancer) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput

type LoadBalancerArgs

type LoadBalancerArgs struct {
	// Array of instances that are currently attached to the load balancer.
	AttachedInstances pulumi.StringArrayInput
	// The balancing algorithm for your load balancer. Options are `roundrobin` or `leastconn`. Default value is `roundrobin`
	BalancingAlgorithm pulumi.StringPtrInput
	// Name for your given sticky session.
	CookieName pulumi.StringPtrInput
	// Defines the firewall rules for a load balancer.
	FirewallRules LoadBalancerFirewallRuleArrayInput
	// List of forwarding rules for a load balancer. The configuration of a `forwardingRules` is listened below.
	ForwardingRules LoadBalancerForwardingRuleArrayInput
	// A block that defines the way load balancers should check for health. The configuration of a `healthCheck` is listed below.
	HealthCheck LoadBalancerHealthCheckPtrInput
	// The load balancer's label.
	Label pulumi.StringPtrInput
	// A private network ID that the load balancer should be attached to.
	//
	// Deprecated: private_network is deprecated and should no longer be used. Instead, use vpc
	PrivateNetwork pulumi.StringPtrInput
	// Boolean value that indicates if Proxy Protocol is enabled.
	ProxyProtocol pulumi.BoolPtrInput
	// The region your load balancer is deployed in.
	Region pulumi.StringInput
	// A block that supplies your ssl configuration to be used with HTTPS. The configuration of a `ssl` is listed below.
	Ssl LoadBalancerSslPtrInput
	// Boolean value that indicates if HTTP calls will be redirected to HTTPS.
	SslRedirect pulumi.BoolPtrInput
	// A VPC ID that the load balancer should be attached to.
	Vpc pulumi.StringPtrInput
}

The set of arguments for constructing a LoadBalancer resource.

func (LoadBalancerArgs) ElementType

func (LoadBalancerArgs) ElementType() reflect.Type

type LoadBalancerArray

type LoadBalancerArray []LoadBalancerInput

func (LoadBalancerArray) ElementType

func (LoadBalancerArray) ElementType() reflect.Type

func (LoadBalancerArray) ToLoadBalancerArrayOutput

func (i LoadBalancerArray) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput

func (LoadBalancerArray) ToLoadBalancerArrayOutputWithContext

func (i LoadBalancerArray) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput

type LoadBalancerArrayInput

type LoadBalancerArrayInput interface {
	pulumi.Input

	ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
	ToLoadBalancerArrayOutputWithContext(context.Context) LoadBalancerArrayOutput
}

LoadBalancerArrayInput is an input type that accepts LoadBalancerArray and LoadBalancerArrayOutput values. You can construct a concrete instance of `LoadBalancerArrayInput` via:

LoadBalancerArray{ LoadBalancerArgs{...} }

type LoadBalancerArrayOutput

type LoadBalancerArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerArrayOutput) ElementType

func (LoadBalancerArrayOutput) ElementType() reflect.Type

func (LoadBalancerArrayOutput) Index

func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutput

func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput

func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext

func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput

type LoadBalancerFirewallRule

type LoadBalancerFirewallRule struct {
	// The load balancer ID.
	Id *string `pulumi:"id"`
	// The type of ip this rule is - may be either v4 or v6.
	IpType string `pulumi:"ipType"`
	// The assigned port (integer) on the attached instances that the load balancer should check against. Default value is `80`.
	Port int `pulumi:"port"`
	// IP address with subnet that is allowed through the firewall. You may also pass in `cloudflare` which will allow only CloudFlares IP range.
	Source string `pulumi:"source"`
}

type LoadBalancerFirewallRuleArgs

type LoadBalancerFirewallRuleArgs struct {
	// The load balancer ID.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The type of ip this rule is - may be either v4 or v6.
	IpType pulumi.StringInput `pulumi:"ipType"`
	// The assigned port (integer) on the attached instances that the load balancer should check against. Default value is `80`.
	Port pulumi.IntInput `pulumi:"port"`
	// IP address with subnet that is allowed through the firewall. You may also pass in `cloudflare` which will allow only CloudFlares IP range.
	Source pulumi.StringInput `pulumi:"source"`
}

func (LoadBalancerFirewallRuleArgs) ElementType

func (LoadBalancerFirewallRuleArgs) ToLoadBalancerFirewallRuleOutput

func (i LoadBalancerFirewallRuleArgs) ToLoadBalancerFirewallRuleOutput() LoadBalancerFirewallRuleOutput

func (LoadBalancerFirewallRuleArgs) ToLoadBalancerFirewallRuleOutputWithContext

func (i LoadBalancerFirewallRuleArgs) ToLoadBalancerFirewallRuleOutputWithContext(ctx context.Context) LoadBalancerFirewallRuleOutput

type LoadBalancerFirewallRuleArray

type LoadBalancerFirewallRuleArray []LoadBalancerFirewallRuleInput

func (LoadBalancerFirewallRuleArray) ElementType

func (LoadBalancerFirewallRuleArray) ToLoadBalancerFirewallRuleArrayOutput

func (i LoadBalancerFirewallRuleArray) ToLoadBalancerFirewallRuleArrayOutput() LoadBalancerFirewallRuleArrayOutput

func (LoadBalancerFirewallRuleArray) ToLoadBalancerFirewallRuleArrayOutputWithContext

func (i LoadBalancerFirewallRuleArray) ToLoadBalancerFirewallRuleArrayOutputWithContext(ctx context.Context) LoadBalancerFirewallRuleArrayOutput

type LoadBalancerFirewallRuleArrayInput

type LoadBalancerFirewallRuleArrayInput interface {
	pulumi.Input

	ToLoadBalancerFirewallRuleArrayOutput() LoadBalancerFirewallRuleArrayOutput
	ToLoadBalancerFirewallRuleArrayOutputWithContext(context.Context) LoadBalancerFirewallRuleArrayOutput
}

LoadBalancerFirewallRuleArrayInput is an input type that accepts LoadBalancerFirewallRuleArray and LoadBalancerFirewallRuleArrayOutput values. You can construct a concrete instance of `LoadBalancerFirewallRuleArrayInput` via:

LoadBalancerFirewallRuleArray{ LoadBalancerFirewallRuleArgs{...} }

type LoadBalancerFirewallRuleArrayOutput

type LoadBalancerFirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerFirewallRuleArrayOutput) ElementType

func (LoadBalancerFirewallRuleArrayOutput) Index

func (LoadBalancerFirewallRuleArrayOutput) ToLoadBalancerFirewallRuleArrayOutput

func (o LoadBalancerFirewallRuleArrayOutput) ToLoadBalancerFirewallRuleArrayOutput() LoadBalancerFirewallRuleArrayOutput

func (LoadBalancerFirewallRuleArrayOutput) ToLoadBalancerFirewallRuleArrayOutputWithContext

func (o LoadBalancerFirewallRuleArrayOutput) ToLoadBalancerFirewallRuleArrayOutputWithContext(ctx context.Context) LoadBalancerFirewallRuleArrayOutput

type LoadBalancerFirewallRuleInput

type LoadBalancerFirewallRuleInput interface {
	pulumi.Input

	ToLoadBalancerFirewallRuleOutput() LoadBalancerFirewallRuleOutput
	ToLoadBalancerFirewallRuleOutputWithContext(context.Context) LoadBalancerFirewallRuleOutput
}

LoadBalancerFirewallRuleInput is an input type that accepts LoadBalancerFirewallRuleArgs and LoadBalancerFirewallRuleOutput values. You can construct a concrete instance of `LoadBalancerFirewallRuleInput` via:

LoadBalancerFirewallRuleArgs{...}

type LoadBalancerFirewallRuleOutput

type LoadBalancerFirewallRuleOutput struct{ *pulumi.OutputState }

func (LoadBalancerFirewallRuleOutput) ElementType

func (LoadBalancerFirewallRuleOutput) Id

The load balancer ID.

func (LoadBalancerFirewallRuleOutput) IpType

The type of ip this rule is - may be either v4 or v6.

func (LoadBalancerFirewallRuleOutput) Port

The assigned port (integer) on the attached instances that the load balancer should check against. Default value is `80`.

func (LoadBalancerFirewallRuleOutput) Source

IP address with subnet that is allowed through the firewall. You may also pass in `cloudflare` which will allow only CloudFlares IP range.

func (LoadBalancerFirewallRuleOutput) ToLoadBalancerFirewallRuleOutput

func (o LoadBalancerFirewallRuleOutput) ToLoadBalancerFirewallRuleOutput() LoadBalancerFirewallRuleOutput

func (LoadBalancerFirewallRuleOutput) ToLoadBalancerFirewallRuleOutputWithContext

func (o LoadBalancerFirewallRuleOutput) ToLoadBalancerFirewallRuleOutputWithContext(ctx context.Context) LoadBalancerFirewallRuleOutput

type LoadBalancerForwardingRule

type LoadBalancerForwardingRule struct {
	// Port on instance side.
	BackendPort int `pulumi:"backendPort"`
	// Protocol on instance side. Possible values: "http", "https", "tcp".
	BackendProtocol string `pulumi:"backendProtocol"`
	// Port on load balancer side.
	FrontendPort int `pulumi:"frontendPort"`
	// Protocol on load balancer side. Possible values: "http", "https", "tcp".
	FrontendProtocol string  `pulumi:"frontendProtocol"`
	RuleId           *string `pulumi:"ruleId"`
}

type LoadBalancerForwardingRuleArgs

type LoadBalancerForwardingRuleArgs struct {
	// Port on instance side.
	BackendPort pulumi.IntInput `pulumi:"backendPort"`
	// Protocol on instance side. Possible values: "http", "https", "tcp".
	BackendProtocol pulumi.StringInput `pulumi:"backendProtocol"`
	// Port on load balancer side.
	FrontendPort pulumi.IntInput `pulumi:"frontendPort"`
	// Protocol on load balancer side. Possible values: "http", "https", "tcp".
	FrontendProtocol pulumi.StringInput    `pulumi:"frontendProtocol"`
	RuleId           pulumi.StringPtrInput `pulumi:"ruleId"`
}

func (LoadBalancerForwardingRuleArgs) ElementType

func (LoadBalancerForwardingRuleArgs) ToLoadBalancerForwardingRuleOutput

func (i LoadBalancerForwardingRuleArgs) ToLoadBalancerForwardingRuleOutput() LoadBalancerForwardingRuleOutput

func (LoadBalancerForwardingRuleArgs) ToLoadBalancerForwardingRuleOutputWithContext

func (i LoadBalancerForwardingRuleArgs) ToLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleOutput

type LoadBalancerForwardingRuleArray

type LoadBalancerForwardingRuleArray []LoadBalancerForwardingRuleInput

func (LoadBalancerForwardingRuleArray) ElementType

func (LoadBalancerForwardingRuleArray) ToLoadBalancerForwardingRuleArrayOutput

func (i LoadBalancerForwardingRuleArray) ToLoadBalancerForwardingRuleArrayOutput() LoadBalancerForwardingRuleArrayOutput

func (LoadBalancerForwardingRuleArray) ToLoadBalancerForwardingRuleArrayOutputWithContext

func (i LoadBalancerForwardingRuleArray) ToLoadBalancerForwardingRuleArrayOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleArrayOutput

type LoadBalancerForwardingRuleArrayInput

type LoadBalancerForwardingRuleArrayInput interface {
	pulumi.Input

	ToLoadBalancerForwardingRuleArrayOutput() LoadBalancerForwardingRuleArrayOutput
	ToLoadBalancerForwardingRuleArrayOutputWithContext(context.Context) LoadBalancerForwardingRuleArrayOutput
}

LoadBalancerForwardingRuleArrayInput is an input type that accepts LoadBalancerForwardingRuleArray and LoadBalancerForwardingRuleArrayOutput values. You can construct a concrete instance of `LoadBalancerForwardingRuleArrayInput` via:

LoadBalancerForwardingRuleArray{ LoadBalancerForwardingRuleArgs{...} }

type LoadBalancerForwardingRuleArrayOutput

type LoadBalancerForwardingRuleArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerForwardingRuleArrayOutput) ElementType

func (LoadBalancerForwardingRuleArrayOutput) Index

func (LoadBalancerForwardingRuleArrayOutput) ToLoadBalancerForwardingRuleArrayOutput

func (o LoadBalancerForwardingRuleArrayOutput) ToLoadBalancerForwardingRuleArrayOutput() LoadBalancerForwardingRuleArrayOutput

func (LoadBalancerForwardingRuleArrayOutput) ToLoadBalancerForwardingRuleArrayOutputWithContext

func (o LoadBalancerForwardingRuleArrayOutput) ToLoadBalancerForwardingRuleArrayOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleArrayOutput

type LoadBalancerForwardingRuleInput

type LoadBalancerForwardingRuleInput interface {
	pulumi.Input

	ToLoadBalancerForwardingRuleOutput() LoadBalancerForwardingRuleOutput
	ToLoadBalancerForwardingRuleOutputWithContext(context.Context) LoadBalancerForwardingRuleOutput
}

LoadBalancerForwardingRuleInput is an input type that accepts LoadBalancerForwardingRuleArgs and LoadBalancerForwardingRuleOutput values. You can construct a concrete instance of `LoadBalancerForwardingRuleInput` via:

LoadBalancerForwardingRuleArgs{...}

type LoadBalancerForwardingRuleOutput

type LoadBalancerForwardingRuleOutput struct{ *pulumi.OutputState }

func (LoadBalancerForwardingRuleOutput) BackendPort

Port on instance side.

func (LoadBalancerForwardingRuleOutput) BackendProtocol

Protocol on instance side. Possible values: "http", "https", "tcp".

func (LoadBalancerForwardingRuleOutput) ElementType

func (LoadBalancerForwardingRuleOutput) FrontendPort

Port on load balancer side.

func (LoadBalancerForwardingRuleOutput) FrontendProtocol

Protocol on load balancer side. Possible values: "http", "https", "tcp".

func (LoadBalancerForwardingRuleOutput) RuleId

func (LoadBalancerForwardingRuleOutput) ToLoadBalancerForwardingRuleOutput

func (o LoadBalancerForwardingRuleOutput) ToLoadBalancerForwardingRuleOutput() LoadBalancerForwardingRuleOutput

func (LoadBalancerForwardingRuleOutput) ToLoadBalancerForwardingRuleOutputWithContext

func (o LoadBalancerForwardingRuleOutput) ToLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleOutput

type LoadBalancerHealthCheck

type LoadBalancerHealthCheck struct {
	// Time in seconds to perform health check. Default value is 15.
	CheckInterval *int `pulumi:"checkInterval"`
	// Number of failed attempts encountered before failover. Default value is 5.
	HealthyThreshold *int `pulumi:"healthyThreshold"`
	// The path on the attached instances that the load balancer should check against. Default value is `/`
	Path *string `pulumi:"path"`
	// The assigned port (integer) on the attached instances that the load balancer should check against. Default value is `80`.
	Port int `pulumi:"port"`
	// The protocol used to traffic requests to the load balancer. Possible values are `http`, or `tcp`. Default value is `http`.
	Protocol string `pulumi:"protocol"`
	// Time in seconds to wait for a health check response. Default value is 5.
	ResponseTimeout *int `pulumi:"responseTimeout"`
	// Number of failed attempts encountered before failover. Default value is 5.
	UnhealthyThreshold *int `pulumi:"unhealthyThreshold"`
}

type LoadBalancerHealthCheckArgs

type LoadBalancerHealthCheckArgs struct {
	// Time in seconds to perform health check. Default value is 15.
	CheckInterval pulumi.IntPtrInput `pulumi:"checkInterval"`
	// Number of failed attempts encountered before failover. Default value is 5.
	HealthyThreshold pulumi.IntPtrInput `pulumi:"healthyThreshold"`
	// The path on the attached instances that the load balancer should check against. Default value is `/`
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The assigned port (integer) on the attached instances that the load balancer should check against. Default value is `80`.
	Port pulumi.IntInput `pulumi:"port"`
	// The protocol used to traffic requests to the load balancer. Possible values are `http`, or `tcp`. Default value is `http`.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// Time in seconds to wait for a health check response. Default value is 5.
	ResponseTimeout pulumi.IntPtrInput `pulumi:"responseTimeout"`
	// Number of failed attempts encountered before failover. Default value is 5.
	UnhealthyThreshold pulumi.IntPtrInput `pulumi:"unhealthyThreshold"`
}

func (LoadBalancerHealthCheckArgs) ElementType

func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutput

func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput

func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutputWithContext

func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutputWithContext(ctx context.Context) LoadBalancerHealthCheckOutput

func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutput

func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput

func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutputWithContext

func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput

type LoadBalancerHealthCheckInput

type LoadBalancerHealthCheckInput interface {
	pulumi.Input

	ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput
	ToLoadBalancerHealthCheckOutputWithContext(context.Context) LoadBalancerHealthCheckOutput
}

LoadBalancerHealthCheckInput is an input type that accepts LoadBalancerHealthCheckArgs and LoadBalancerHealthCheckOutput values. You can construct a concrete instance of `LoadBalancerHealthCheckInput` via:

LoadBalancerHealthCheckArgs{...}

type LoadBalancerHealthCheckOutput

type LoadBalancerHealthCheckOutput struct{ *pulumi.OutputState }

func (LoadBalancerHealthCheckOutput) CheckInterval

Time in seconds to perform health check. Default value is 15.

func (LoadBalancerHealthCheckOutput) ElementType

func (LoadBalancerHealthCheckOutput) HealthyThreshold

func (o LoadBalancerHealthCheckOutput) HealthyThreshold() pulumi.IntPtrOutput

Number of failed attempts encountered before failover. Default value is 5.

func (LoadBalancerHealthCheckOutput) Path

The path on the attached instances that the load balancer should check against. Default value is `/`

func (LoadBalancerHealthCheckOutput) Port

The assigned port (integer) on the attached instances that the load balancer should check against. Default value is `80`.

func (LoadBalancerHealthCheckOutput) Protocol

The protocol used to traffic requests to the load balancer. Possible values are `http`, or `tcp`. Default value is `http`.

func (LoadBalancerHealthCheckOutput) ResponseTimeout

Time in seconds to wait for a health check response. Default value is 5.

func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutput

func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput

func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutputWithContext

func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutputWithContext(ctx context.Context) LoadBalancerHealthCheckOutput

func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutput

func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput

func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutputWithContext

func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput

func (LoadBalancerHealthCheckOutput) UnhealthyThreshold

func (o LoadBalancerHealthCheckOutput) UnhealthyThreshold() pulumi.IntPtrOutput

Number of failed attempts encountered before failover. Default value is 5.

type LoadBalancerHealthCheckPtrInput

type LoadBalancerHealthCheckPtrInput interface {
	pulumi.Input

	ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput
	ToLoadBalancerHealthCheckPtrOutputWithContext(context.Context) LoadBalancerHealthCheckPtrOutput
}

LoadBalancerHealthCheckPtrInput is an input type that accepts LoadBalancerHealthCheckArgs, LoadBalancerHealthCheckPtr and LoadBalancerHealthCheckPtrOutput values. You can construct a concrete instance of `LoadBalancerHealthCheckPtrInput` via:

        LoadBalancerHealthCheckArgs{...}

or:

        nil

type LoadBalancerHealthCheckPtrOutput

type LoadBalancerHealthCheckPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerHealthCheckPtrOutput) CheckInterval

Time in seconds to perform health check. Default value is 15.

func (LoadBalancerHealthCheckPtrOutput) Elem

func (LoadBalancerHealthCheckPtrOutput) ElementType

func (LoadBalancerHealthCheckPtrOutput) HealthyThreshold

Number of failed attempts encountered before failover. Default value is 5.

func (LoadBalancerHealthCheckPtrOutput) Path

The path on the attached instances that the load balancer should check against. Default value is `/`

func (LoadBalancerHealthCheckPtrOutput) Port

The assigned port (integer) on the attached instances that the load balancer should check against. Default value is `80`.

func (LoadBalancerHealthCheckPtrOutput) Protocol

The protocol used to traffic requests to the load balancer. Possible values are `http`, or `tcp`. Default value is `http`.

func (LoadBalancerHealthCheckPtrOutput) ResponseTimeout

Time in seconds to wait for a health check response. Default value is 5.

func (LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutput

func (o LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput

func (LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutputWithContext

func (o LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput

func (LoadBalancerHealthCheckPtrOutput) UnhealthyThreshold

func (o LoadBalancerHealthCheckPtrOutput) UnhealthyThreshold() pulumi.IntPtrOutput

Number of failed attempts encountered before failover. Default value is 5.

type LoadBalancerInput

type LoadBalancerInput interface {
	pulumi.Input

	ToLoadBalancerOutput() LoadBalancerOutput
	ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
}

type LoadBalancerMap

type LoadBalancerMap map[string]LoadBalancerInput

func (LoadBalancerMap) ElementType

func (LoadBalancerMap) ElementType() reflect.Type

func (LoadBalancerMap) ToLoadBalancerMapOutput

func (i LoadBalancerMap) ToLoadBalancerMapOutput() LoadBalancerMapOutput

func (LoadBalancerMap) ToLoadBalancerMapOutputWithContext

func (i LoadBalancerMap) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput

type LoadBalancerMapInput

type LoadBalancerMapInput interface {
	pulumi.Input

	ToLoadBalancerMapOutput() LoadBalancerMapOutput
	ToLoadBalancerMapOutputWithContext(context.Context) LoadBalancerMapOutput
}

LoadBalancerMapInput is an input type that accepts LoadBalancerMap and LoadBalancerMapOutput values. You can construct a concrete instance of `LoadBalancerMapInput` via:

LoadBalancerMap{ "key": LoadBalancerArgs{...} }

type LoadBalancerMapOutput

type LoadBalancerMapOutput struct{ *pulumi.OutputState }

func (LoadBalancerMapOutput) ElementType

func (LoadBalancerMapOutput) ElementType() reflect.Type

func (LoadBalancerMapOutput) MapIndex

func (LoadBalancerMapOutput) ToLoadBalancerMapOutput

func (o LoadBalancerMapOutput) ToLoadBalancerMapOutput() LoadBalancerMapOutput

func (LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext

func (o LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput

type LoadBalancerOutput

type LoadBalancerOutput struct{ *pulumi.OutputState }

func (LoadBalancerOutput) AttachedInstances

func (o LoadBalancerOutput) AttachedInstances() pulumi.StringArrayOutput

Array of instances that are currently attached to the load balancer.

func (LoadBalancerOutput) BalancingAlgorithm

func (o LoadBalancerOutput) BalancingAlgorithm() pulumi.StringOutput

The balancing algorithm for your load balancer. Options are `roundrobin` or `leastconn`. Default value is `roundrobin`

func (LoadBalancerOutput) CookieName

func (o LoadBalancerOutput) CookieName() pulumi.StringPtrOutput

Name for your given sticky session.

func (LoadBalancerOutput) ElementType

func (LoadBalancerOutput) ElementType() reflect.Type

func (LoadBalancerOutput) FirewallRules

Defines the firewall rules for a load balancer.

func (LoadBalancerOutput) ForwardingRules

List of forwarding rules for a load balancer. The configuration of a `forwardingRules` is listened below.

func (LoadBalancerOutput) HasSsl

Boolean value that indicates if SSL is enabled.

func (LoadBalancerOutput) HealthCheck

A block that defines the way load balancers should check for health. The configuration of a `healthCheck` is listed below.

func (LoadBalancerOutput) Ipv4

IPv4 address for your load balancer.

func (LoadBalancerOutput) Ipv6

IPv6 address for your load balancer.

func (LoadBalancerOutput) Label

The load balancer's label.

func (LoadBalancerOutput) PrivateNetwork deprecated

func (o LoadBalancerOutput) PrivateNetwork() pulumi.StringPtrOutput

A private network ID that the load balancer should be attached to.

Deprecated: private_network is deprecated and should no longer be used. Instead, use vpc

func (LoadBalancerOutput) ProxyProtocol

func (o LoadBalancerOutput) ProxyProtocol() pulumi.BoolPtrOutput

Boolean value that indicates if Proxy Protocol is enabled.

func (LoadBalancerOutput) Region

The region your load balancer is deployed in.

func (LoadBalancerOutput) Ssl

A block that supplies your ssl configuration to be used with HTTPS. The configuration of a `ssl` is listed below.

func (LoadBalancerOutput) SslRedirect

func (o LoadBalancerOutput) SslRedirect() pulumi.BoolPtrOutput

Boolean value that indicates if HTTP calls will be redirected to HTTPS.

func (LoadBalancerOutput) Status

Current status for the load balancer

func (LoadBalancerOutput) ToLoadBalancerOutput

func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput

func (LoadBalancerOutput) ToLoadBalancerOutputWithContext

func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput

func (LoadBalancerOutput) Vpc

A VPC ID that the load balancer should be attached to.

type LoadBalancerSsl

type LoadBalancerSsl struct {
	// The SSL Certificate.
	Certificate string `pulumi:"certificate"`
	// The SSL certificate chain.
	Chain *string `pulumi:"chain"`
	// The SSL certificates private key.
	PrivateKey string `pulumi:"privateKey"`
}

type LoadBalancerSslArgs

type LoadBalancerSslArgs struct {
	// The SSL Certificate.
	Certificate pulumi.StringInput `pulumi:"certificate"`
	// The SSL certificate chain.
	Chain pulumi.StringPtrInput `pulumi:"chain"`
	// The SSL certificates private key.
	PrivateKey pulumi.StringInput `pulumi:"privateKey"`
}

func (LoadBalancerSslArgs) ElementType

func (LoadBalancerSslArgs) ElementType() reflect.Type

func (LoadBalancerSslArgs) ToLoadBalancerSslOutput

func (i LoadBalancerSslArgs) ToLoadBalancerSslOutput() LoadBalancerSslOutput

func (LoadBalancerSslArgs) ToLoadBalancerSslOutputWithContext

func (i LoadBalancerSslArgs) ToLoadBalancerSslOutputWithContext(ctx context.Context) LoadBalancerSslOutput

func (LoadBalancerSslArgs) ToLoadBalancerSslPtrOutput

func (i LoadBalancerSslArgs) ToLoadBalancerSslPtrOutput() LoadBalancerSslPtrOutput

func (LoadBalancerSslArgs) ToLoadBalancerSslPtrOutputWithContext

func (i LoadBalancerSslArgs) ToLoadBalancerSslPtrOutputWithContext(ctx context.Context) LoadBalancerSslPtrOutput

type LoadBalancerSslInput

type LoadBalancerSslInput interface {
	pulumi.Input

	ToLoadBalancerSslOutput() LoadBalancerSslOutput
	ToLoadBalancerSslOutputWithContext(context.Context) LoadBalancerSslOutput
}

LoadBalancerSslInput is an input type that accepts LoadBalancerSslArgs and LoadBalancerSslOutput values. You can construct a concrete instance of `LoadBalancerSslInput` via:

LoadBalancerSslArgs{...}

type LoadBalancerSslOutput

type LoadBalancerSslOutput struct{ *pulumi.OutputState }

func (LoadBalancerSslOutput) Certificate

func (o LoadBalancerSslOutput) Certificate() pulumi.StringOutput

The SSL Certificate.

func (LoadBalancerSslOutput) Chain

The SSL certificate chain.

func (LoadBalancerSslOutput) ElementType

func (LoadBalancerSslOutput) ElementType() reflect.Type

func (LoadBalancerSslOutput) PrivateKey

func (o LoadBalancerSslOutput) PrivateKey() pulumi.StringOutput

The SSL certificates private key.

func (LoadBalancerSslOutput) ToLoadBalancerSslOutput

func (o LoadBalancerSslOutput) ToLoadBalancerSslOutput() LoadBalancerSslOutput

func (LoadBalancerSslOutput) ToLoadBalancerSslOutputWithContext

func (o LoadBalancerSslOutput) ToLoadBalancerSslOutputWithContext(ctx context.Context) LoadBalancerSslOutput

func (LoadBalancerSslOutput) ToLoadBalancerSslPtrOutput

func (o LoadBalancerSslOutput) ToLoadBalancerSslPtrOutput() LoadBalancerSslPtrOutput

func (LoadBalancerSslOutput) ToLoadBalancerSslPtrOutputWithContext

func (o LoadBalancerSslOutput) ToLoadBalancerSslPtrOutputWithContext(ctx context.Context) LoadBalancerSslPtrOutput

type LoadBalancerSslPtrInput

type LoadBalancerSslPtrInput interface {
	pulumi.Input

	ToLoadBalancerSslPtrOutput() LoadBalancerSslPtrOutput
	ToLoadBalancerSslPtrOutputWithContext(context.Context) LoadBalancerSslPtrOutput
}

LoadBalancerSslPtrInput is an input type that accepts LoadBalancerSslArgs, LoadBalancerSslPtr and LoadBalancerSslPtrOutput values. You can construct a concrete instance of `LoadBalancerSslPtrInput` via:

        LoadBalancerSslArgs{...}

or:

        nil

type LoadBalancerSslPtrOutput

type LoadBalancerSslPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerSslPtrOutput) Certificate

The SSL Certificate.

func (LoadBalancerSslPtrOutput) Chain

The SSL certificate chain.

func (LoadBalancerSslPtrOutput) Elem

func (LoadBalancerSslPtrOutput) ElementType

func (LoadBalancerSslPtrOutput) ElementType() reflect.Type

func (LoadBalancerSslPtrOutput) PrivateKey

The SSL certificates private key.

func (LoadBalancerSslPtrOutput) ToLoadBalancerSslPtrOutput

func (o LoadBalancerSslPtrOutput) ToLoadBalancerSslPtrOutput() LoadBalancerSslPtrOutput

func (LoadBalancerSslPtrOutput) ToLoadBalancerSslPtrOutputWithContext

func (o LoadBalancerSslPtrOutput) ToLoadBalancerSslPtrOutputWithContext(ctx context.Context) LoadBalancerSslPtrOutput

type LoadBalancerState

type LoadBalancerState struct {
	// Array of instances that are currently attached to the load balancer.
	AttachedInstances pulumi.StringArrayInput
	// The balancing algorithm for your load balancer. Options are `roundrobin` or `leastconn`. Default value is `roundrobin`
	BalancingAlgorithm pulumi.StringPtrInput
	// Name for your given sticky session.
	CookieName pulumi.StringPtrInput
	// Defines the firewall rules for a load balancer.
	FirewallRules LoadBalancerFirewallRuleArrayInput
	// List of forwarding rules for a load balancer. The configuration of a `forwardingRules` is listened below.
	ForwardingRules LoadBalancerForwardingRuleArrayInput
	// Boolean value that indicates if SSL is enabled.
	HasSsl pulumi.BoolPtrInput
	// A block that defines the way load balancers should check for health. The configuration of a `healthCheck` is listed below.
	HealthCheck LoadBalancerHealthCheckPtrInput
	// IPv4 address for your load balancer.
	Ipv4 pulumi.StringPtrInput
	// IPv6 address for your load balancer.
	Ipv6 pulumi.StringPtrInput
	// The load balancer's label.
	Label pulumi.StringPtrInput
	// A private network ID that the load balancer should be attached to.
	//
	// Deprecated: private_network is deprecated and should no longer be used. Instead, use vpc
	PrivateNetwork pulumi.StringPtrInput
	// Boolean value that indicates if Proxy Protocol is enabled.
	ProxyProtocol pulumi.BoolPtrInput
	// The region your load balancer is deployed in.
	Region pulumi.StringPtrInput
	// A block that supplies your ssl configuration to be used with HTTPS. The configuration of a `ssl` is listed below.
	Ssl LoadBalancerSslPtrInput
	// Boolean value that indicates if HTTP calls will be redirected to HTTPS.
	SslRedirect pulumi.BoolPtrInput
	// Current status for the load balancer
	Status pulumi.StringPtrInput
	// A VPC ID that the load balancer should be attached to.
	Vpc pulumi.StringPtrInput
}

func (LoadBalancerState) ElementType

func (LoadBalancerState) ElementType() reflect.Type

type LookupBareMetalServerArgs added in v2.12.1

type LookupBareMetalServerArgs struct {
	// Query parameters for finding servers.
	Filters []GetBareMetalServerFilter `pulumi:"filters"`
}

A collection of arguments for invoking getBareMetalServer.

type LookupBareMetalServerOutputArgs added in v2.12.1

type LookupBareMetalServerOutputArgs struct {
	// Query parameters for finding servers.
	Filters GetBareMetalServerFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getBareMetalServer.

func (LookupBareMetalServerOutputArgs) ElementType added in v2.12.1

type LookupBareMetalServerResult added in v2.12.1

type LookupBareMetalServerResult struct {
	// The server's application ID.
	AppId int `pulumi:"appId"`
	// The number of CPUs available on the server.
	CpuCount int `pulumi:"cpuCount"`
	// The date the server was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The description of the disk(s) on the server.
	Disk     string                     `pulumi:"disk"`
	Features []string                   `pulumi:"features"`
	Filters  []GetBareMetalServerFilter `pulumi:"filters"`
	// The server's IPv4 gateway.
	GatewayV4 string `pulumi:"gatewayV4"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Marketplace ID for this application.
	ImageId string `pulumi:"imageId"`
	// The server's label.
	Label      string `pulumi:"label"`
	MacAddress int    `pulumi:"macAddress"`
	// The server's main IP address.
	MainIp string `pulumi:"mainIp"`
	// The server's IPv4 netmask.
	NetmaskV4 string `pulumi:"netmaskV4"`
	// The operating system of the server.
	Os string `pulumi:"os"`
	// The server's operating system ID.
	OsId int `pulumi:"osId"`
	// The server's plan ID.
	Plan string `pulumi:"plan"`
	// The amount of memory available on the server in MB.
	Ram string `pulumi:"ram"`
	// The region ID of the server.
	Region string `pulumi:"region"`
	// The status of the server's subscription.
	Status string `pulumi:"status"`
	// A list of tags applied to the server.
	Tags          []string `pulumi:"tags"`
	V6MainIp      string   `pulumi:"v6MainIp"`
	V6Network     string   `pulumi:"v6Network"`
	V6NetworkSize int      `pulumi:"v6NetworkSize"`
	// A list of VPC 2.0 IDs attached to the server.
	Vpc2Ids []string `pulumi:"vpc2Ids"`
}

A collection of values returned by getBareMetalServer.

func LookupBareMetalServer added in v2.12.1

func LookupBareMetalServer(ctx *pulumi.Context, args *LookupBareMetalServerArgs, opts ...pulumi.InvokeOption) (*LookupBareMetalServerResult, error)

Get information about a Vultr bare metal server.

## Example Usage

Get the information for a server by `label`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupBareMetalServer(ctx, &vultr.LookupBareMetalServerArgs{
			Filters: []vultr.GetBareMetalServerFilter{
				{
					Name: "label",
					Values: []string{
						"my-server-label",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupBareMetalServerResultOutput added in v2.12.1

type LookupBareMetalServerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBareMetalServer.

func LookupBareMetalServerOutput added in v2.12.1

func (LookupBareMetalServerResultOutput) AppId added in v2.12.1

The server's application ID.

func (LookupBareMetalServerResultOutput) CpuCount added in v2.12.1

The number of CPUs available on the server.

func (LookupBareMetalServerResultOutput) DateCreated added in v2.12.1

The date the server was added to your Vultr account.

func (LookupBareMetalServerResultOutput) Disk added in v2.12.1

The description of the disk(s) on the server.

func (LookupBareMetalServerResultOutput) ElementType added in v2.12.1

func (LookupBareMetalServerResultOutput) Features added in v2.12.1

func (LookupBareMetalServerResultOutput) Filters added in v2.12.1

func (LookupBareMetalServerResultOutput) GatewayV4 added in v2.12.1

The server's IPv4 gateway.

func (LookupBareMetalServerResultOutput) Id added in v2.12.1

The provider-assigned unique ID for this managed resource.

func (LookupBareMetalServerResultOutput) ImageId added in v2.12.1

The Marketplace ID for this application.

func (LookupBareMetalServerResultOutput) Label added in v2.12.1

The server's label.

func (LookupBareMetalServerResultOutput) MacAddress added in v2.12.1

func (LookupBareMetalServerResultOutput) MainIp added in v2.12.1

The server's main IP address.

func (LookupBareMetalServerResultOutput) NetmaskV4 added in v2.12.1

The server's IPv4 netmask.

func (LookupBareMetalServerResultOutput) Os added in v2.12.1

The operating system of the server.

func (LookupBareMetalServerResultOutput) OsId added in v2.12.1

The server's operating system ID.

func (LookupBareMetalServerResultOutput) Plan added in v2.12.1

The server's plan ID.

func (LookupBareMetalServerResultOutput) Ram added in v2.12.1

The amount of memory available on the server in MB.

func (LookupBareMetalServerResultOutput) Region added in v2.12.1

The region ID of the server.

func (LookupBareMetalServerResultOutput) Status added in v2.12.1

The status of the server's subscription.

func (LookupBareMetalServerResultOutput) Tags added in v2.12.1

A list of tags applied to the server.

func (LookupBareMetalServerResultOutput) ToLookupBareMetalServerResultOutput added in v2.12.1

func (o LookupBareMetalServerResultOutput) ToLookupBareMetalServerResultOutput() LookupBareMetalServerResultOutput

func (LookupBareMetalServerResultOutput) ToLookupBareMetalServerResultOutputWithContext added in v2.12.1

func (o LookupBareMetalServerResultOutput) ToLookupBareMetalServerResultOutputWithContext(ctx context.Context) LookupBareMetalServerResultOutput

func (LookupBareMetalServerResultOutput) V6MainIp added in v2.12.1

func (LookupBareMetalServerResultOutput) V6Network added in v2.12.1

func (LookupBareMetalServerResultOutput) V6NetworkSize added in v2.12.1

func (LookupBareMetalServerResultOutput) Vpc2Ids added in v2.16.2

A list of VPC 2.0 IDs attached to the server.

type LookupBlockStorageArgs added in v2.12.1

type LookupBlockStorageArgs struct {
	// Query parameters for finding block storage subscriptions.
	Filters []GetBlockStorageFilter `pulumi:"filters"`
}

A collection of arguments for invoking getBlockStorage.

type LookupBlockStorageOutputArgs added in v2.12.1

type LookupBlockStorageOutputArgs struct {
	// Query parameters for finding block storage subscriptions.
	Filters GetBlockStorageFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getBlockStorage.

func (LookupBlockStorageOutputArgs) ElementType added in v2.12.1

type LookupBlockStorageResult added in v2.12.1

type LookupBlockStorageResult struct {
	// The ID of the VPS the block storage subscription is attached to.
	AttachedToInstance string `pulumi:"attachedToInstance"`
	// The type of block storage volume.
	BlockType string `pulumi:"blockType"`
	// The cost per month of the block storage subscription in USD.
	Cost int `pulumi:"cost"`
	// The date the block storage subscription was added to your Vultr account.
	DateCreated string                  `pulumi:"dateCreated"`
	Filters     []GetBlockStorageFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The label of the block storage subscription.
	Label string `pulumi:"label"`
	// An ID associated with the instance, when mounted the ID can be found in /dev/disk/by-id prefixed with virtio.
	MountId string `pulumi:"mountId"`
	// The region ID of the block storage subscription.
	Region string `pulumi:"region"`
	// The size of the block storage subscription in GB.
	SizeGb int `pulumi:"sizeGb"`
	// The status of the block storage subscription.
	Status string `pulumi:"status"`
}

A collection of values returned by getBlockStorage.

func LookupBlockStorage added in v2.12.1

func LookupBlockStorage(ctx *pulumi.Context, args *LookupBlockStorageArgs, opts ...pulumi.InvokeOption) (*LookupBlockStorageResult, error)

Get information about a Vultr block storage subscription.

## Example Usage

Get the information for a block storage subscription by `label`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupBlockStorage(ctx, &vultr.LookupBlockStorageArgs{
			Filters: []vultr.GetBlockStorageFilter{
				{
					Name: "label",
					Values: []string{
						"my-block-storage-label",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupBlockStorageResultOutput added in v2.12.1

type LookupBlockStorageResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBlockStorage.

func LookupBlockStorageOutput added in v2.12.1

func (LookupBlockStorageResultOutput) AttachedToInstance added in v2.12.1

func (o LookupBlockStorageResultOutput) AttachedToInstance() pulumi.StringOutput

The ID of the VPS the block storage subscription is attached to.

func (LookupBlockStorageResultOutput) BlockType added in v2.12.1

The type of block storage volume.

func (LookupBlockStorageResultOutput) Cost added in v2.12.1

The cost per month of the block storage subscription in USD.

func (LookupBlockStorageResultOutput) DateCreated added in v2.12.1

The date the block storage subscription was added to your Vultr account.

func (LookupBlockStorageResultOutput) ElementType added in v2.12.1

func (LookupBlockStorageResultOutput) Filters added in v2.12.1

func (LookupBlockStorageResultOutput) Id added in v2.12.1

The provider-assigned unique ID for this managed resource.

func (LookupBlockStorageResultOutput) Label added in v2.12.1

The label of the block storage subscription.

func (LookupBlockStorageResultOutput) MountId added in v2.12.1

An ID associated with the instance, when mounted the ID can be found in /dev/disk/by-id prefixed with virtio.

func (LookupBlockStorageResultOutput) Region added in v2.12.1

The region ID of the block storage subscription.

func (LookupBlockStorageResultOutput) SizeGb added in v2.12.1

The size of the block storage subscription in GB.

func (LookupBlockStorageResultOutput) Status added in v2.12.1

The status of the block storage subscription.

func (LookupBlockStorageResultOutput) ToLookupBlockStorageResultOutput added in v2.12.1

func (o LookupBlockStorageResultOutput) ToLookupBlockStorageResultOutput() LookupBlockStorageResultOutput

func (LookupBlockStorageResultOutput) ToLookupBlockStorageResultOutputWithContext added in v2.12.1

func (o LookupBlockStorageResultOutput) ToLookupBlockStorageResultOutputWithContext(ctx context.Context) LookupBlockStorageResultOutput

type LookupDatabaseArgs added in v2.15.0

type LookupDatabaseArgs struct {
	// Query parameters for finding databases.
	Filters []GetDatabaseFilter `pulumi:"filters"`
}

A collection of arguments for invoking getDatabase.

type LookupDatabaseOutputArgs added in v2.15.0

type LookupDatabaseOutputArgs struct {
	// Query parameters for finding databases.
	Filters GetDatabaseFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getDatabase.

func (LookupDatabaseOutputArgs) ElementType added in v2.15.0

func (LookupDatabaseOutputArgs) ElementType() reflect.Type

type LookupDatabaseResult added in v2.15.0

type LookupDatabaseResult struct {
	// The configured time zone for the Managed Database in TZ database format.
	ClusterTimeZone string `pulumi:"clusterTimeZone"`
	// The database engine of the managed database.
	DatabaseEngine string `pulumi:"databaseEngine"`
	// The database engine version of the managed database.
	DatabaseEngineVersion string `pulumi:"databaseEngineVersion"`
	// The date the managed database was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The managed database's default logical database.
	Dbname string `pulumi:"dbname"`
	// An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).
	FerretdbCredentials map[string]interface{} `pulumi:"ferretdbCredentials"`
	Filters             []GetDatabaseFilter    `pulumi:"filters"`
	// The hostname assigned to the managed database.
	Host string `pulumi:"host"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The managed database's label.
	Label string `pulumi:"label"`
	// The date of the latest backup available on the managed database.
	LatestBackup string `pulumi:"latestBackup"`
	// The preferred maintenance day of week for the managed database.
	MaintenanceDow string `pulumi:"maintenanceDow"`
	// The preferred maintenance time for the managed database.
	MaintenanceTime string `pulumi:"maintenanceTime"`
	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	MysqlLongQueryTime int `pulumi:"mysqlLongQueryTime"`
	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	MysqlRequirePrimaryKey bool `pulumi:"mysqlRequirePrimaryKey"`
	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	MysqlSlowQueryLog bool `pulumi:"mysqlSlowQueryLog"`
	// A list of SQL modes currently configured for the managed database (MySQL engine types only).
	MysqlSqlModes []string `pulumi:"mysqlSqlModes"`
	// The password for the managed database's primary admin user.
	Password string `pulumi:"password"`
	// The managed database's plan ID.
	Plan string `pulumi:"plan"`
	// The description of the disk(s) on the managed database.
	PlanDisk int `pulumi:"planDisk"`
	// The amount of memory available on the managed database in MB.
	PlanRam int `pulumi:"planRam"`
	// The number of standby nodes available on the managed database.
	PlanReplicas int `pulumi:"planReplicas"`
	// The number of virtual CPUs available on the managed database.
	PlanVcpus int `pulumi:"planVcpus"`
	// The connection port for the managed database.
	Port string `pulumi:"port"`
	// The public hostname assigned to the managed database (VPC-attached only).
	PublicHost string `pulumi:"publicHost"`
	// A list of read replicas attached to the managed database.
	ReadReplicas []GetDatabaseReadReplica `pulumi:"readReplicas"`
	// The configuration value for the data eviction policy on the managed database (Redis engine types only).
	RedisEvictionPolicy string `pulumi:"redisEvictionPolicy"`
	// The region ID of the managed database.
	Region string `pulumi:"region"`
	// The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).
	Status string `pulumi:"status"`
	// The managed database's tag.
	Tag string `pulumi:"tag"`
	// A list of allowed IP addresses for the managed database.
	TrustedIps []string `pulumi:"trustedIps"`
	// The primary admin user for the managed database.
	User string `pulumi:"user"`
	// The ID of the VPC Network attached to the Managed Database.
	VpcId string `pulumi:"vpcId"`
}

A collection of values returned by getDatabase.

func LookupDatabase added in v2.15.0

func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error)

Get information about a Vultr database.

## Example Usage

Get the information for a database by `label`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupDatabase(ctx, &vultr.LookupDatabaseArgs{
			Filters: []vultr.GetDatabaseFilter{
				{
					Name: "label",
					Values: []string{
						"my-database-label",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDatabaseResultOutput added in v2.15.0

type LookupDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabase.

func LookupDatabaseOutput added in v2.15.0

func LookupDatabaseOutput(ctx *pulumi.Context, args LookupDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupDatabaseResultOutput

func (LookupDatabaseResultOutput) ClusterTimeZone added in v2.15.0

func (o LookupDatabaseResultOutput) ClusterTimeZone() pulumi.StringOutput

The configured time zone for the Managed Database in TZ database format.

func (LookupDatabaseResultOutput) DatabaseEngine added in v2.15.0

func (o LookupDatabaseResultOutput) DatabaseEngine() pulumi.StringOutput

The database engine of the managed database.

func (LookupDatabaseResultOutput) DatabaseEngineVersion added in v2.15.0

func (o LookupDatabaseResultOutput) DatabaseEngineVersion() pulumi.StringOutput

The database engine version of the managed database.

func (LookupDatabaseResultOutput) DateCreated added in v2.15.0

The date the managed database was added to your Vultr account.

func (LookupDatabaseResultOutput) Dbname added in v2.15.0

The managed database's default logical database.

func (LookupDatabaseResultOutput) ElementType added in v2.15.0

func (LookupDatabaseResultOutput) ElementType() reflect.Type

func (LookupDatabaseResultOutput) FerretdbCredentials added in v2.17.1

func (o LookupDatabaseResultOutput) FerretdbCredentials() pulumi.MapOutput

An associated list of FerretDB connection credentials (FerretDB + PostgreSQL engine types only).

func (LookupDatabaseResultOutput) Filters added in v2.15.0

func (LookupDatabaseResultOutput) Host added in v2.15.0

The hostname assigned to the managed database.

func (LookupDatabaseResultOutput) Id added in v2.15.0

The provider-assigned unique ID for this managed resource.

func (LookupDatabaseResultOutput) Label added in v2.15.0

The managed database's label.

func (LookupDatabaseResultOutput) LatestBackup added in v2.15.0

The date of the latest backup available on the managed database.

func (LookupDatabaseResultOutput) MaintenanceDow added in v2.15.0

func (o LookupDatabaseResultOutput) MaintenanceDow() pulumi.StringOutput

The preferred maintenance day of week for the managed database.

func (LookupDatabaseResultOutput) MaintenanceTime added in v2.15.0

func (o LookupDatabaseResultOutput) MaintenanceTime() pulumi.StringOutput

The preferred maintenance time for the managed database.

func (LookupDatabaseResultOutput) MysqlLongQueryTime added in v2.15.0

func (o LookupDatabaseResultOutput) MysqlLongQueryTime() pulumi.IntOutput

The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).

func (LookupDatabaseResultOutput) MysqlRequirePrimaryKey added in v2.15.0

func (o LookupDatabaseResultOutput) MysqlRequirePrimaryKey() pulumi.BoolOutput

The configuration value for whether primary keys are required on the managed database (MySQL engine types only).

func (LookupDatabaseResultOutput) MysqlSlowQueryLog added in v2.15.0

func (o LookupDatabaseResultOutput) MysqlSlowQueryLog() pulumi.BoolOutput

The configuration value for slow query logging on the managed database (MySQL engine types only).

func (LookupDatabaseResultOutput) MysqlSqlModes added in v2.15.0

A list of SQL modes currently configured for the managed database (MySQL engine types only).

func (LookupDatabaseResultOutput) Password added in v2.15.0

The password for the managed database's primary admin user.

func (LookupDatabaseResultOutput) Plan added in v2.15.0

The managed database's plan ID.

func (LookupDatabaseResultOutput) PlanDisk added in v2.15.0

The description of the disk(s) on the managed database.

func (LookupDatabaseResultOutput) PlanRam added in v2.15.0

The amount of memory available on the managed database in MB.

func (LookupDatabaseResultOutput) PlanReplicas added in v2.15.0

func (o LookupDatabaseResultOutput) PlanReplicas() pulumi.IntOutput

The number of standby nodes available on the managed database.

func (LookupDatabaseResultOutput) PlanVcpus added in v2.15.0

The number of virtual CPUs available on the managed database.

func (LookupDatabaseResultOutput) Port added in v2.15.0

The connection port for the managed database.

func (LookupDatabaseResultOutput) PublicHost added in v2.17.0

The public hostname assigned to the managed database (VPC-attached only).

func (LookupDatabaseResultOutput) ReadReplicas added in v2.15.0

A list of read replicas attached to the managed database.

func (LookupDatabaseResultOutput) RedisEvictionPolicy added in v2.15.0

func (o LookupDatabaseResultOutput) RedisEvictionPolicy() pulumi.StringOutput

The configuration value for the data eviction policy on the managed database (Redis engine types only).

func (LookupDatabaseResultOutput) Region added in v2.15.0

The region ID of the managed database.

func (LookupDatabaseResultOutput) Status added in v2.15.0

The current status of the managed database (poweroff, rebuilding, rebalancing, configuring, running).

func (LookupDatabaseResultOutput) Tag added in v2.15.0

The managed database's tag.

func (LookupDatabaseResultOutput) ToLookupDatabaseResultOutput added in v2.15.0

func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutput() LookupDatabaseResultOutput

func (LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext added in v2.15.0

func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx context.Context) LookupDatabaseResultOutput

func (LookupDatabaseResultOutput) TrustedIps added in v2.15.0

A list of allowed IP addresses for the managed database.

func (LookupDatabaseResultOutput) User added in v2.15.0

The primary admin user for the managed database.

func (LookupDatabaseResultOutput) VpcId added in v2.16.2

The ID of the VPC Network attached to the Managed Database.

type LookupDnsDomainArgs added in v2.12.1

type LookupDnsDomainArgs struct {
	// The name you're searching for.
	Domain string `pulumi:"domain"`
}

A collection of arguments for invoking getDnsDomain.

type LookupDnsDomainOutputArgs added in v2.12.1

type LookupDnsDomainOutputArgs struct {
	// The name you're searching for.
	Domain pulumi.StringInput `pulumi:"domain"`
}

A collection of arguments for invoking getDnsDomain.

func (LookupDnsDomainOutputArgs) ElementType added in v2.12.1

func (LookupDnsDomainOutputArgs) ElementType() reflect.Type

type LookupDnsDomainResult added in v2.12.1

type LookupDnsDomainResult struct {
	// The date the DNS domain was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The Domain's DNSSEC status
	DnsSec string `pulumi:"dnsSec"`
	// Name of domain.
	Domain string `pulumi:"domain"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getDnsDomain.

func LookupDnsDomain added in v2.12.1

func LookupDnsDomain(ctx *pulumi.Context, args *LookupDnsDomainArgs, opts ...pulumi.InvokeOption) (*LookupDnsDomainResult, error)

Get information about a DNS domain associated with your Vultr account.

## Example Usage

Get the information for a DNS domain:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupDnsDomain(ctx, &vultr.LookupDnsDomainArgs{
			Domain: "example.com",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDnsDomainResultOutput added in v2.12.1

type LookupDnsDomainResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDnsDomain.

func LookupDnsDomainOutput added in v2.12.1

func (LookupDnsDomainResultOutput) DateCreated added in v2.12.1

The date the DNS domain was added to your Vultr account.

func (LookupDnsDomainResultOutput) DnsSec added in v2.12.1

The Domain's DNSSEC status

func (LookupDnsDomainResultOutput) Domain added in v2.12.1

Name of domain.

func (LookupDnsDomainResultOutput) ElementType added in v2.12.1

func (LookupDnsDomainResultOutput) Id added in v2.12.1

The provider-assigned unique ID for this managed resource.

func (LookupDnsDomainResultOutput) ToLookupDnsDomainResultOutput added in v2.12.1

func (o LookupDnsDomainResultOutput) ToLookupDnsDomainResultOutput() LookupDnsDomainResultOutput

func (LookupDnsDomainResultOutput) ToLookupDnsDomainResultOutputWithContext added in v2.12.1

func (o LookupDnsDomainResultOutput) ToLookupDnsDomainResultOutputWithContext(ctx context.Context) LookupDnsDomainResultOutput

type LookupFirewallGroupArgs

type LookupFirewallGroupArgs struct {
	// Query parameters for finding firewall groups.
	Filters []GetFirewallGroupFilter `pulumi:"filters"`
}

A collection of arguments for invoking getFirewallGroup.

type LookupFirewallGroupOutputArgs

type LookupFirewallGroupOutputArgs struct {
	// Query parameters for finding firewall groups.
	Filters GetFirewallGroupFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getFirewallGroup.

func (LookupFirewallGroupOutputArgs) ElementType

type LookupFirewallGroupResult

type LookupFirewallGroupResult struct {
	// The date the firewall group was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The date the firewall group was last modified.
	DateModified string `pulumi:"dateModified"`
	// The description of the firewall group.
	Description string                   `pulumi:"description"`
	Filters     []GetFirewallGroupFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The number of instances this firewall group is applied to.
	InstanceCount int `pulumi:"instanceCount"`
	// The maximum number of rules this firewall group can have.
	MaxRuleCount int `pulumi:"maxRuleCount"`
	// The number of rules added to this firewall group.
	RuleCount int `pulumi:"ruleCount"`
}

A collection of values returned by getFirewallGroup.

func LookupFirewallGroup

func LookupFirewallGroup(ctx *pulumi.Context, args *LookupFirewallGroupArgs, opts ...pulumi.InvokeOption) (*LookupFirewallGroupResult, error)

Get information about a firewall group on your Vultr account.

## Example Usage

Get the information for a firewall group by `description`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupFirewallGroup(ctx, &vultr.LookupFirewallGroupArgs{
			Filters: []vultr.GetFirewallGroupFilter{
				{
					Name: "description",
					Values: []string{
						"fwg-description",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupFirewallGroupResultOutput

type LookupFirewallGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFirewallGroup.

func (LookupFirewallGroupResultOutput) DateCreated

The date the firewall group was added to your Vultr account.

func (LookupFirewallGroupResultOutput) DateModified

The date the firewall group was last modified.

func (LookupFirewallGroupResultOutput) Description

The description of the firewall group.

func (LookupFirewallGroupResultOutput) ElementType

func (LookupFirewallGroupResultOutput) Filters

func (LookupFirewallGroupResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupFirewallGroupResultOutput) InstanceCount

The number of instances this firewall group is applied to.

func (LookupFirewallGroupResultOutput) MaxRuleCount

The maximum number of rules this firewall group can have.

func (LookupFirewallGroupResultOutput) RuleCount

The number of rules added to this firewall group.

func (LookupFirewallGroupResultOutput) ToLookupFirewallGroupResultOutput

func (o LookupFirewallGroupResultOutput) ToLookupFirewallGroupResultOutput() LookupFirewallGroupResultOutput

func (LookupFirewallGroupResultOutput) ToLookupFirewallGroupResultOutputWithContext

func (o LookupFirewallGroupResultOutput) ToLookupFirewallGroupResultOutputWithContext(ctx context.Context) LookupFirewallGroupResultOutput

type LookupInstanceArgs

type LookupInstanceArgs struct {
	// Query parameters for finding instances.
	Filters []GetInstanceFilter `pulumi:"filters"`
}

A collection of arguments for invoking getInstance.

type LookupInstanceIpv4Args

type LookupInstanceIpv4Args struct {
	// Query parameters for finding IPv4 address.
	Filters []GetInstanceIpv4Filter `pulumi:"filters"`
}

A collection of arguments for invoking getInstanceIpv4.

type LookupInstanceIpv4OutputArgs

type LookupInstanceIpv4OutputArgs struct {
	// Query parameters for finding IPv4 address.
	Filters GetInstanceIpv4FilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getInstanceIpv4.

func (LookupInstanceIpv4OutputArgs) ElementType

type LookupInstanceIpv4Result

type LookupInstanceIpv4Result struct {
	Filters []GetInstanceIpv4Filter `pulumi:"filters"`
	// The gateway IP address.
	Gateway string `pulumi:"gateway"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the instance the IPv4 address.
	InstanceId string `pulumi:"instanceId"`
	// The IPv4 address in canonical format.
	Ip string `pulumi:"ip"`
	// The IPv4 netmask in dot-decimal notation.
	Netmask string `pulumi:"netmask"`
	// The reverse DNS information for this IP address.
	Reverse string `pulumi:"reverse"`
}

A collection of values returned by getInstanceIpv4.

func LookupInstanceIpv4

func LookupInstanceIpv4(ctx *pulumi.Context, args *LookupInstanceIpv4Args, opts ...pulumi.InvokeOption) (*LookupInstanceIpv4Result, error)

Get information about a Vultr instance IPv4.

## Example Usage

Get the information for an IPv4 address by `instanceId`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupInstanceIpv4(ctx, &vultr.LookupInstanceIpv4Args{
			Filters: []vultr.GetInstanceIpv4Filter{
				{
					Name: "ip",
					Values: []string{
						"123.123.123.123",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupInstanceIpv4ResultOutput

type LookupInstanceIpv4ResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstanceIpv4.

func (LookupInstanceIpv4ResultOutput) ElementType

func (LookupInstanceIpv4ResultOutput) Filters

func (LookupInstanceIpv4ResultOutput) Gateway

The gateway IP address.

func (LookupInstanceIpv4ResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupInstanceIpv4ResultOutput) InstanceId

The ID of the instance the IPv4 address.

func (LookupInstanceIpv4ResultOutput) Ip

The IPv4 address in canonical format.

func (LookupInstanceIpv4ResultOutput) Netmask

The IPv4 netmask in dot-decimal notation.

func (LookupInstanceIpv4ResultOutput) Reverse

The reverse DNS information for this IP address.

func (LookupInstanceIpv4ResultOutput) ToLookupInstanceIpv4ResultOutput

func (o LookupInstanceIpv4ResultOutput) ToLookupInstanceIpv4ResultOutput() LookupInstanceIpv4ResultOutput

func (LookupInstanceIpv4ResultOutput) ToLookupInstanceIpv4ResultOutputWithContext

func (o LookupInstanceIpv4ResultOutput) ToLookupInstanceIpv4ResultOutputWithContext(ctx context.Context) LookupInstanceIpv4ResultOutput

type LookupInstanceOutputArgs

type LookupInstanceOutputArgs struct {
	// Query parameters for finding instances.
	Filters GetInstanceFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getInstance.

func (LookupInstanceOutputArgs) ElementType

func (LookupInstanceOutputArgs) ElementType() reflect.Type

type LookupInstanceResult

type LookupInstanceResult struct {
	// The server's allowed bandwidth usage in GB.
	AllowedBandwidth int `pulumi:"allowedBandwidth"`
	// The server's application ID.
	AppId   int    `pulumi:"appId"`
	Backups string `pulumi:"backups"`
	// The current configuration for backups
	BackupsSchedule map[string]interface{} `pulumi:"backupsSchedule"`
	// The date the server was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The description of the disk(s) on the server.
	Disk int `pulumi:"disk"`
	// Array of which features are enabled.
	Features []string            `pulumi:"features"`
	Filters  []GetInstanceFilter `pulumi:"filters"`
	// The ID of the firewall group applied to this server.
	FirewallGroupId string `pulumi:"firewallGroupId"`
	// The server's IPv4 gateway.
	GatewayV4 string `pulumi:"gatewayV4"`
	// The hostname assigned to the server.
	Hostname string `pulumi:"hostname"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Marketplace ID for this application.
	ImageId string `pulumi:"imageId"`
	// The server's internal IP address.
	InternalIp string `pulumi:"internalIp"`
	// The server's current KVM URL. This URL will change periodically. It is not advised to cache this value.
	Kvm string `pulumi:"kvm"`
	// The server's label.
	Label    string `pulumi:"label"`
	Location string `pulumi:"location"`
	// The server's main IP address.
	MainIp string `pulumi:"mainIp"`
	// The server's IPv4 netmask.
	NetmaskV4 string `pulumi:"netmaskV4"`
	// The operating system of the instance.
	Os string `pulumi:"os"`
	// The server's operating system ID.
	OsId int `pulumi:"osId"`
	// The server's plan ID.
	Plan string `pulumi:"plan"`
	// Whether the server is powered on or not.
	PowerStatus       string   `pulumi:"powerStatus"`
	PrivateNetworkIds []string `pulumi:"privateNetworkIds"`
	// The amount of memory available on the instance in MB.
	Ram int `pulumi:"ram"`
	// The region ID of the server.
	Region string `pulumi:"region"`
	// A more detailed server status (none, locked, installingbooting, isomounting, ok).
	ServerStatus string `pulumi:"serverStatus"`
	// The status of the server's subscription.
	Status string `pulumi:"status"`
	// A list of tags applied to the instance.
	Tags []string `pulumi:"tags"`
	// The main IPv6 network address.
	V6MainIp string `pulumi:"v6MainIp"`
	// The IPv6 subnet.
	V6Network string `pulumi:"v6Network"`
	// The IPv6 network size in bits.
	V6NetworkSize int `pulumi:"v6NetworkSize"`
	// The number of virtual CPUs available on the server.
	VcpuCount int `pulumi:"vcpuCount"`
	// A list of VPC 2.0 IDs attached to the server.
	Vpc2Ids []string `pulumi:"vpc2Ids"`
	VpcIds  []string `pulumi:"vpcIds"`
}

A collection of values returned by getInstance.

func LookupInstance

func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)

Get information about a Vultr instance.

## Example Usage

Get the information for a instance by `label`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupInstance(ctx, &vultr.LookupInstanceArgs{
			Filters: []vultr.GetInstanceFilter{
				{
					Name: "label",
					Values: []string{
						"my-instance-label",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupInstanceResultOutput

type LookupInstanceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstance.

func (LookupInstanceResultOutput) AllowedBandwidth

func (o LookupInstanceResultOutput) AllowedBandwidth() pulumi.IntOutput

The server's allowed bandwidth usage in GB.

func (LookupInstanceResultOutput) AppId

The server's application ID.

func (LookupInstanceResultOutput) Backups

func (LookupInstanceResultOutput) BackupsSchedule

func (o LookupInstanceResultOutput) BackupsSchedule() pulumi.MapOutput

The current configuration for backups

func (LookupInstanceResultOutput) DateCreated

The date the server was added to your Vultr account.

func (LookupInstanceResultOutput) Disk

The description of the disk(s) on the server.

func (LookupInstanceResultOutput) ElementType

func (LookupInstanceResultOutput) ElementType() reflect.Type

func (LookupInstanceResultOutput) Features

Array of which features are enabled.

func (LookupInstanceResultOutput) Filters

func (LookupInstanceResultOutput) FirewallGroupId

func (o LookupInstanceResultOutput) FirewallGroupId() pulumi.StringOutput

The ID of the firewall group applied to this server.

func (LookupInstanceResultOutput) GatewayV4

The server's IPv4 gateway.

func (LookupInstanceResultOutput) Hostname

The hostname assigned to the server.

func (LookupInstanceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupInstanceResultOutput) ImageId

The Marketplace ID for this application.

func (LookupInstanceResultOutput) InternalIp

The server's internal IP address.

func (LookupInstanceResultOutput) Kvm

The server's current KVM URL. This URL will change periodically. It is not advised to cache this value.

func (LookupInstanceResultOutput) Label

The server's label.

func (LookupInstanceResultOutput) Location

func (LookupInstanceResultOutput) MainIp

The server's main IP address.

func (LookupInstanceResultOutput) NetmaskV4

The server's IPv4 netmask.

func (LookupInstanceResultOutput) Os

The operating system of the instance.

func (LookupInstanceResultOutput) OsId

The server's operating system ID.

func (LookupInstanceResultOutput) Plan

The server's plan ID.

func (LookupInstanceResultOutput) PowerStatus

Whether the server is powered on or not.

func (LookupInstanceResultOutput) PrivateNetworkIds

func (o LookupInstanceResultOutput) PrivateNetworkIds() pulumi.StringArrayOutput

func (LookupInstanceResultOutput) Ram

The amount of memory available on the instance in MB.

func (LookupInstanceResultOutput) Region

The region ID of the server.

func (LookupInstanceResultOutput) ServerStatus

A more detailed server status (none, locked, installingbooting, isomounting, ok).

func (LookupInstanceResultOutput) Status

The status of the server's subscription.

func (LookupInstanceResultOutput) Tags

A list of tags applied to the instance.

func (LookupInstanceResultOutput) ToLookupInstanceResultOutput

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput

func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput

func (LookupInstanceResultOutput) V6MainIp

The main IPv6 network address.

func (LookupInstanceResultOutput) V6Network

The IPv6 subnet.

func (LookupInstanceResultOutput) V6NetworkSize

func (o LookupInstanceResultOutput) V6NetworkSize() pulumi.IntOutput

The IPv6 network size in bits.

func (LookupInstanceResultOutput) VcpuCount

The number of virtual CPUs available on the server.

func (LookupInstanceResultOutput) Vpc2Ids added in v2.16.2

A list of VPC 2.0 IDs attached to the server.

func (LookupInstanceResultOutput) VpcIds

type LookupIsoPrivateArgs

type LookupIsoPrivateArgs struct {
	// Query parameters for finding ISO files.
	Filters []GetIsoPrivateFilter `pulumi:"filters"`
}

A collection of arguments for invoking getIsoPrivate.

type LookupIsoPrivateOutputArgs

type LookupIsoPrivateOutputArgs struct {
	// Query parameters for finding ISO files.
	Filters GetIsoPrivateFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getIsoPrivate.

func (LookupIsoPrivateOutputArgs) ElementType

func (LookupIsoPrivateOutputArgs) ElementType() reflect.Type

type LookupIsoPrivateResult

type LookupIsoPrivateResult struct {
	// The date the ISO file was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The ISO file's filename.
	Filename string                `pulumi:"filename"`
	Filters  []GetIsoPrivateFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The md5 hash of the ISO file.
	Md5sum string `pulumi:"md5sum"`
	// The sha512 hash of the ISO file.
	Sha512sum string `pulumi:"sha512sum"`
	// The size of the ISO file in bytes.
	Size int `pulumi:"size"`
	// The status of the ISO file.
	Status string `pulumi:"status"`
}

A collection of values returned by getIsoPrivate.

func LookupIsoPrivate

func LookupIsoPrivate(ctx *pulumi.Context, args *LookupIsoPrivateArgs, opts ...pulumi.InvokeOption) (*LookupIsoPrivateResult, error)

Get information about an ISO file uploaded to your Vultr account.

## Example Usage

Get the information for a ISO file by `filename`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupIsoPrivate(ctx, &vultr.LookupIsoPrivateArgs{
			Filters: []vultr.GetIsoPrivateFilter{
				{
					Name: "filename",
					Values: []string{
						"my-iso-filename",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupIsoPrivateResultOutput

type LookupIsoPrivateResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIsoPrivate.

func (LookupIsoPrivateResultOutput) DateCreated

The date the ISO file was added to your Vultr account.

func (LookupIsoPrivateResultOutput) ElementType

func (LookupIsoPrivateResultOutput) Filename

The ISO file's filename.

func (LookupIsoPrivateResultOutput) Filters

func (LookupIsoPrivateResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupIsoPrivateResultOutput) Md5sum

The md5 hash of the ISO file.

func (LookupIsoPrivateResultOutput) Sha512sum

The sha512 hash of the ISO file.

func (LookupIsoPrivateResultOutput) Size

The size of the ISO file in bytes.

func (LookupIsoPrivateResultOutput) Status

The status of the ISO file.

func (LookupIsoPrivateResultOutput) ToLookupIsoPrivateResultOutput

func (o LookupIsoPrivateResultOutput) ToLookupIsoPrivateResultOutput() LookupIsoPrivateResultOutput

func (LookupIsoPrivateResultOutput) ToLookupIsoPrivateResultOutputWithContext

func (o LookupIsoPrivateResultOutput) ToLookupIsoPrivateResultOutputWithContext(ctx context.Context) LookupIsoPrivateResultOutput

type LookupKubernetesArgs

type LookupKubernetesArgs struct {
	// Query parameters for finding VKE.
	Filters []GetKubernetesFilter `pulumi:"filters"`
}

A collection of arguments for invoking getKubernetes.

type LookupKubernetesOutputArgs

type LookupKubernetesOutputArgs struct {
	// Query parameters for finding VKE.
	Filters GetKubernetesFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getKubernetes.

func (LookupKubernetesOutputArgs) ElementType

func (LookupKubernetesOutputArgs) ElementType() reflect.Type

type LookupKubernetesResult

type LookupKubernetesResult struct {
	// The base64 encoded public certificate used by clients to access the cluster.
	ClientCertificate string `pulumi:"clientCertificate"`
	// The base64 encoded private key used by clients to access the cluster.
	ClientKey string `pulumi:"clientKey"`
	// The base64 encoded public certificate for the cluster's certificate authority.
	ClusterCaCertificate string `pulumi:"clusterCaCertificate"`
	// IP range that your pods will run on in this cluster.
	ClusterSubnet string `pulumi:"clusterSubnet"`
	// Date node was created.
	DateCreated string `pulumi:"dateCreated"`
	// Domain for your Kubernetes clusters control plane.
	Endpoint string                `pulumi:"endpoint"`
	Filters  []GetKubernetesFilter `pulumi:"filters"`
	// The ID of the firewall group managed by this cluster.
	FirewallGroupId string `pulumi:"firewallGroupId"`
	// Boolean indicating whether or not the cluster has multiple, highly available controlplanes.
	HaControlplanes bool `pulumi:"haControlplanes"`
	// ID of node.
	Id string `pulumi:"id"`
	// IP address of VKE cluster control plane.
	Ip string `pulumi:"ip"`
	// Base64 encoded Kubeconfig for this VKE cluster.
	KubeConfig string `pulumi:"kubeConfig"`
	// Label of node.
	Label string `pulumi:"label"`
	// Contains the default node pool that was deployed.
	NodePools []GetKubernetesNodePool `pulumi:"nodePools"`
	// The region your VKE cluster is deployed in.
	Region string `pulumi:"region"`
	// IP range that services will run on this cluster.
	ServiceSubnet string `pulumi:"serviceSubnet"`
	// Status of node.
	Status string `pulumi:"status"`
	// The current kubernetes version your VKE cluster is running on.
	Version string `pulumi:"version"`
}

A collection of values returned by getKubernetes.

func LookupKubernetes

func LookupKubernetes(ctx *pulumi.Context, args *LookupKubernetesArgs, opts ...pulumi.InvokeOption) (*LookupKubernetesResult, error)

Get information about a Vultr Kubernetes Engine (VKE) Cluster.

## Example Usage

Create a new VKE cluster:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupKubernetes(ctx, &vultr.LookupKubernetesArgs{
			Filters: []vultr.GetKubernetesFilter{
				{
					Name: "label",
					Values: []string{
						"my-lb-label",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupKubernetesResultOutput

type LookupKubernetesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetes.

func (LookupKubernetesResultOutput) ClientCertificate added in v2.14.1

func (o LookupKubernetesResultOutput) ClientCertificate() pulumi.StringOutput

The base64 encoded public certificate used by clients to access the cluster.

func (LookupKubernetesResultOutput) ClientKey added in v2.14.1

The base64 encoded private key used by clients to access the cluster.

func (LookupKubernetesResultOutput) ClusterCaCertificate added in v2.14.1

func (o LookupKubernetesResultOutput) ClusterCaCertificate() pulumi.StringOutput

The base64 encoded public certificate for the cluster's certificate authority.

func (LookupKubernetesResultOutput) ClusterSubnet

IP range that your pods will run on in this cluster.

func (LookupKubernetesResultOutput) DateCreated

Date node was created.

func (LookupKubernetesResultOutput) ElementType

func (LookupKubernetesResultOutput) Endpoint

Domain for your Kubernetes clusters control plane.

func (LookupKubernetesResultOutput) Filters

func (LookupKubernetesResultOutput) FirewallGroupId added in v2.18.0

func (o LookupKubernetesResultOutput) FirewallGroupId() pulumi.StringOutput

The ID of the firewall group managed by this cluster.

func (LookupKubernetesResultOutput) HaControlplanes added in v2.17.1

func (o LookupKubernetesResultOutput) HaControlplanes() pulumi.BoolOutput

Boolean indicating whether or not the cluster has multiple, highly available controlplanes.

func (LookupKubernetesResultOutput) Id

ID of node.

func (LookupKubernetesResultOutput) Ip

IP address of VKE cluster control plane.

func (LookupKubernetesResultOutput) KubeConfig

Base64 encoded Kubeconfig for this VKE cluster.

func (LookupKubernetesResultOutput) Label

Label of node.

func (LookupKubernetesResultOutput) NodePools

Contains the default node pool that was deployed.

func (LookupKubernetesResultOutput) Region

The region your VKE cluster is deployed in.

func (LookupKubernetesResultOutput) ServiceSubnet

IP range that services will run on this cluster.

func (LookupKubernetesResultOutput) Status

Status of node.

func (LookupKubernetesResultOutput) ToLookupKubernetesResultOutput

func (o LookupKubernetesResultOutput) ToLookupKubernetesResultOutput() LookupKubernetesResultOutput

func (LookupKubernetesResultOutput) ToLookupKubernetesResultOutputWithContext

func (o LookupKubernetesResultOutput) ToLookupKubernetesResultOutputWithContext(ctx context.Context) LookupKubernetesResultOutput

func (LookupKubernetesResultOutput) Version

The current kubernetes version your VKE cluster is running on.

type LookupLoadBalancerArgs

type LookupLoadBalancerArgs struct {
	// Query parameters for finding load balancers.
	Filters []GetLoadBalancerFilter `pulumi:"filters"`
	// Boolean value that indicates if Proxy Protocol is enabled.
	ProxyProtocol *bool `pulumi:"proxyProtocol"`
}

A collection of arguments for invoking getLoadBalancer.

type LookupLoadBalancerOutputArgs

type LookupLoadBalancerOutputArgs struct {
	// Query parameters for finding load balancers.
	Filters GetLoadBalancerFilterArrayInput `pulumi:"filters"`
	// Boolean value that indicates if Proxy Protocol is enabled.
	ProxyProtocol pulumi.BoolPtrInput `pulumi:"proxyProtocol"`
}

A collection of arguments for invoking getLoadBalancer.

func (LookupLoadBalancerOutputArgs) ElementType

type LookupLoadBalancerResult

type LookupLoadBalancerResult struct {
	// Array of instances that are currently attached to the load balancer.
	AttachedInstances []string `pulumi:"attachedInstances"`
	// The balancing algorithm for your load balancer.
	BalancingAlgorithm string `pulumi:"balancingAlgorithm"`
	// Name for your given sticky session.
	CookieName    string                   `pulumi:"cookieName"`
	DateCreated   string                   `pulumi:"dateCreated"`
	Filters       []GetLoadBalancerFilter  `pulumi:"filters"`
	FirewallRules []map[string]interface{} `pulumi:"firewallRules"`
	// Defines the forwarding rules for a load balancer. The configuration of a `forwardingRules` is listened below.
	ForwardingRules []map[string]interface{} `pulumi:"forwardingRules"`
	// Boolean value that indicates if SSL is enabled.
	HasSsl bool `pulumi:"hasSsl"`
	// Defines the way load balancers should check for health. The configuration of a `healthCheck` is listed below.
	HealthCheck map[string]interface{} `pulumi:"healthCheck"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// IPv4 address for your load balancer.
	Ipv4 string `pulumi:"ipv4"`
	// IPv6 address for your load balancer.
	Ipv6 string `pulumi:"ipv6"`
	// The load balancers label.
	Label string `pulumi:"label"`
	// (Deprecated: use `vpc` instead) Defines the private network the load balancer is attached to.
	PrivateNetwork string `pulumi:"privateNetwork"`
	// Boolean value that indicates if Proxy Protocol is enabled.
	ProxyProtocol *bool `pulumi:"proxyProtocol"`
	// The region your load balancer is deployed in.
	Region string                 `pulumi:"region"`
	Ssl    map[string]interface{} `pulumi:"ssl"`
	// Boolean value that indicates if HTTP calls will be redirected to HTTPS.
	SslRedirect bool `pulumi:"sslRedirect"`
	// Current status for the load balancer
	Status string `pulumi:"status"`
}

A collection of values returned by getLoadBalancer.

func LookupLoadBalancer

func LookupLoadBalancer(ctx *pulumi.Context, args *LookupLoadBalancerArgs, opts ...pulumi.InvokeOption) (*LookupLoadBalancerResult, error)

Get information about a Vultr load balancer.

## Example Usage

Get the information for a load balancer by `label`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupLoadBalancer(ctx, &vultr.LookupLoadBalancerArgs{
			Filters: []vultr.GetLoadBalancerFilter{
				{
					Name: "label",
					Values: []string{
						"my-lb-label",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupLoadBalancerResultOutput

type LookupLoadBalancerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLoadBalancer.

func (LookupLoadBalancerResultOutput) AttachedInstances

Array of instances that are currently attached to the load balancer.

func (LookupLoadBalancerResultOutput) BalancingAlgorithm

func (o LookupLoadBalancerResultOutput) BalancingAlgorithm() pulumi.StringOutput

The balancing algorithm for your load balancer.

func (LookupLoadBalancerResultOutput) CookieName

Name for your given sticky session.

func (LookupLoadBalancerResultOutput) DateCreated

func (LookupLoadBalancerResultOutput) ElementType

func (LookupLoadBalancerResultOutput) Filters

func (LookupLoadBalancerResultOutput) FirewallRules

func (LookupLoadBalancerResultOutput) ForwardingRules

Defines the forwarding rules for a load balancer. The configuration of a `forwardingRules` is listened below.

func (LookupLoadBalancerResultOutput) HasSsl

Boolean value that indicates if SSL is enabled.

func (LookupLoadBalancerResultOutput) HealthCheck

Defines the way load balancers should check for health. The configuration of a `healthCheck` is listed below.

func (LookupLoadBalancerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupLoadBalancerResultOutput) Ipv4

IPv4 address for your load balancer.

func (LookupLoadBalancerResultOutput) Ipv6

IPv6 address for your load balancer.

func (LookupLoadBalancerResultOutput) Label

The load balancers label.

func (LookupLoadBalancerResultOutput) PrivateNetwork

(Deprecated: use `vpc` instead) Defines the private network the load balancer is attached to.

func (LookupLoadBalancerResultOutput) ProxyProtocol

Boolean value that indicates if Proxy Protocol is enabled.

func (LookupLoadBalancerResultOutput) Region

The region your load balancer is deployed in.

func (LookupLoadBalancerResultOutput) Ssl

func (LookupLoadBalancerResultOutput) SslRedirect

Boolean value that indicates if HTTP calls will be redirected to HTTPS.

func (LookupLoadBalancerResultOutput) Status

Current status for the load balancer

func (LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput

func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput() LookupLoadBalancerResultOutput

func (LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext

func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext(ctx context.Context) LookupLoadBalancerResultOutput

type LookupObjectStorageArgs

type LookupObjectStorageArgs struct {
	// Query parameters for finding operating systems.
	Filters []GetObjectStorageFilter `pulumi:"filters"`
}

A collection of arguments for invoking getObjectStorage.

type LookupObjectStorageOutputArgs

type LookupObjectStorageOutputArgs struct {
	// Query parameters for finding operating systems.
	Filters GetObjectStorageFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getObjectStorage.

func (LookupObjectStorageOutputArgs) ElementType

type LookupObjectStorageResult

type LookupObjectStorageResult struct {
	// The identifying cluster ID.
	ClusterId int `pulumi:"clusterId"`
	// Date of creation for the object storage subscription.
	DateCreated string                   `pulumi:"dateCreated"`
	Filters     []GetObjectStorageFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The label of the object storage subscription.
	Label string `pulumi:"label"`
	// The location which this subscription resides in.
	Location string `pulumi:"location"`
	// The region ID of the object storage subscription.
	Region string `pulumi:"region"`
	// Your access key.
	S3AccessKey string `pulumi:"s3AccessKey"`
	// The hostname for this subscription.
	S3Hostname string `pulumi:"s3Hostname"`
	// Your secret key.
	S3SecretKey string `pulumi:"s3SecretKey"`
	// Current status of this object storage subscription.
	Status string `pulumi:"status"`
}

A collection of values returned by getObjectStorage.

func LookupObjectStorage

func LookupObjectStorage(ctx *pulumi.Context, args *LookupObjectStorageArgs, opts ...pulumi.InvokeOption) (*LookupObjectStorageResult, error)

Get information about an Object Storage subscription on Vultr.

## Example Usage

Get the information for an object storage subscription by `label`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupObjectStorage(ctx, &vultr.LookupObjectStorageArgs{
			Filters: []vultr.GetObjectStorageFilter{
				{
					Name: "label",
					Values: []string{
						"my-s3",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupObjectStorageResultOutput

type LookupObjectStorageResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getObjectStorage.

func (LookupObjectStorageResultOutput) ClusterId

The identifying cluster ID.

func (LookupObjectStorageResultOutput) DateCreated

Date of creation for the object storage subscription.

func (LookupObjectStorageResultOutput) ElementType

func (LookupObjectStorageResultOutput) Filters

func (LookupObjectStorageResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupObjectStorageResultOutput) Label

The label of the object storage subscription.

func (LookupObjectStorageResultOutput) Location

The location which this subscription resides in.

func (LookupObjectStorageResultOutput) Region

The region ID of the object storage subscription.

func (LookupObjectStorageResultOutput) S3AccessKey

Your access key.

func (LookupObjectStorageResultOutput) S3Hostname

The hostname for this subscription.

func (LookupObjectStorageResultOutput) S3SecretKey

Your secret key.

func (LookupObjectStorageResultOutput) Status

Current status of this object storage subscription.

func (LookupObjectStorageResultOutput) ToLookupObjectStorageResultOutput

func (o LookupObjectStorageResultOutput) ToLookupObjectStorageResultOutput() LookupObjectStorageResultOutput

func (LookupObjectStorageResultOutput) ToLookupObjectStorageResultOutputWithContext

func (o LookupObjectStorageResultOutput) ToLookupObjectStorageResultOutputWithContext(ctx context.Context) LookupObjectStorageResultOutput

type LookupPrivateNetworkArgs

type LookupPrivateNetworkArgs struct {
	// Query parameters for finding private networks.
	Filters []GetPrivateNetworkFilter `pulumi:"filters"`
}

A collection of arguments for invoking getPrivateNetwork.

type LookupPrivateNetworkOutputArgs

type LookupPrivateNetworkOutputArgs struct {
	// Query parameters for finding private networks.
	Filters GetPrivateNetworkFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getPrivateNetwork.

func (LookupPrivateNetworkOutputArgs) ElementType

type LookupPrivateNetworkResult

type LookupPrivateNetworkResult struct {
	// The date the private network was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The private network's description.
	Description string                    `pulumi:"description"`
	Filters     []GetPrivateNetworkFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the region that the private network is in.
	Region string `pulumi:"region"`
	// The IPv4 network address. For example: 10.1.1.0.
	V4Subnet string `pulumi:"v4Subnet"`
	// The number of bits for the netmask in CIDR notation. Example: 20
	V4SubnetMask int `pulumi:"v4SubnetMask"`
}

A collection of values returned by getPrivateNetwork.

func LookupPrivateNetwork

func LookupPrivateNetwork(ctx *pulumi.Context, args *LookupPrivateNetworkArgs, opts ...pulumi.InvokeOption) (*LookupPrivateNetworkResult, error)

Get information about a Vultr private network.

## Example Usage

Get the information for a private network by `description`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupPrivateNetwork(ctx, &vultr.LookupPrivateNetworkArgs{
			Filters: []vultr.GetPrivateNetworkFilter{
				{
					Name: "description",
					Values: []string{
						"my-network-description",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPrivateNetworkResultOutput

type LookupPrivateNetworkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPrivateNetwork.

func (LookupPrivateNetworkResultOutput) DateCreated

The date the private network was added to your Vultr account.

func (LookupPrivateNetworkResultOutput) Description

The private network's description.

func (LookupPrivateNetworkResultOutput) ElementType

func (LookupPrivateNetworkResultOutput) Filters

func (LookupPrivateNetworkResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPrivateNetworkResultOutput) Region

The ID of the region that the private network is in.

func (LookupPrivateNetworkResultOutput) ToLookupPrivateNetworkResultOutput

func (o LookupPrivateNetworkResultOutput) ToLookupPrivateNetworkResultOutput() LookupPrivateNetworkResultOutput

func (LookupPrivateNetworkResultOutput) ToLookupPrivateNetworkResultOutputWithContext

func (o LookupPrivateNetworkResultOutput) ToLookupPrivateNetworkResultOutputWithContext(ctx context.Context) LookupPrivateNetworkResultOutput

func (LookupPrivateNetworkResultOutput) V4Subnet

The IPv4 network address. For example: 10.1.1.0.

func (LookupPrivateNetworkResultOutput) V4SubnetMask

The number of bits for the netmask in CIDR notation. Example: 20

type LookupReservedIpArgs

type LookupReservedIpArgs struct {
	// Query parameters for finding reserved IP addresses.
	Filters []GetReservedIpFilter `pulumi:"filters"`
}

A collection of arguments for invoking getReservedIp.

type LookupReservedIpOutputArgs

type LookupReservedIpOutputArgs struct {
	// Query parameters for finding reserved IP addresses.
	Filters GetReservedIpFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getReservedIp.

func (LookupReservedIpOutputArgs) ElementType

func (LookupReservedIpOutputArgs) ElementType() reflect.Type

type LookupReservedIpResult

type LookupReservedIpResult struct {
	Filters []GetReservedIpFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the VPS the reserved IP is attached to.
	InstanceId string `pulumi:"instanceId"`
	// The IP type of the reserved IP.
	IpType string `pulumi:"ipType"`
	// The label of the reserved IP.
	Label string `pulumi:"label"`
	// The ID of the region that the reserved IP is in.
	Region string `pulumi:"region"`
	// The subnet of the reserved IP.
	Subnet string `pulumi:"subnet"`
	// The subnet size of the reserved IP.
	SubnetSize int `pulumi:"subnetSize"`
}

A collection of values returned by getReservedIp.

func LookupReservedIp

func LookupReservedIp(ctx *pulumi.Context, args *LookupReservedIpArgs, opts ...pulumi.InvokeOption) (*LookupReservedIpResult, error)

Get information about a Vultr reserved IP address.

## Example Usage

Get the information for a reserved IP by `label`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupReservedIp(ctx, &vultr.LookupReservedIpArgs{
			Filters: []vultr.GetReservedIpFilter{
				{
					Name: "label",
					Values: []string{
						"my-reserved-ip-label",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupReservedIpResultOutput

type LookupReservedIpResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReservedIp.

func (LookupReservedIpResultOutput) ElementType

func (LookupReservedIpResultOutput) Filters

func (LookupReservedIpResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupReservedIpResultOutput) InstanceId

The ID of the VPS the reserved IP is attached to.

func (LookupReservedIpResultOutput) IpType

The IP type of the reserved IP.

func (LookupReservedIpResultOutput) Label

The label of the reserved IP.

func (LookupReservedIpResultOutput) Region

The ID of the region that the reserved IP is in.

func (LookupReservedIpResultOutput) Subnet

The subnet of the reserved IP.

func (LookupReservedIpResultOutput) SubnetSize

The subnet size of the reserved IP.

func (LookupReservedIpResultOutput) ToLookupReservedIpResultOutput

func (o LookupReservedIpResultOutput) ToLookupReservedIpResultOutput() LookupReservedIpResultOutput

func (LookupReservedIpResultOutput) ToLookupReservedIpResultOutputWithContext

func (o LookupReservedIpResultOutput) ToLookupReservedIpResultOutputWithContext(ctx context.Context) LookupReservedIpResultOutput

type LookupReverseIpv4Args

type LookupReverseIpv4Args struct {
	// Query parameters for finding IPv4 reverse DNS records.
	Filters []GetReverseIpv4Filter `pulumi:"filters"`
}

A collection of arguments for invoking getReverseIpv4.

type LookupReverseIpv4OutputArgs

type LookupReverseIpv4OutputArgs struct {
	// Query parameters for finding IPv4 reverse DNS records.
	Filters GetReverseIpv4FilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getReverseIpv4.

func (LookupReverseIpv4OutputArgs) ElementType

type LookupReverseIpv4Result

type LookupReverseIpv4Result struct {
	Filters []GetReverseIpv4Filter `pulumi:"filters"`
	// The gateway IP address.
	Gateway string `pulumi:"gateway"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the instance the IPv4 reverse DNS record was set for.
	InstanceId string `pulumi:"instanceId"`
	// The IPv4 address in canonical format used in the reverse DNS record.
	Ip string `pulumi:"ip"`
	// The IPv4 netmask in dot-decimal notation.
	Netmask string `pulumi:"netmask"`
	// The hostname used in the IPv4 reverse DNS record.
	Reverse string `pulumi:"reverse"`
}

A collection of values returned by getReverseIpv4.

func LookupReverseIpv4

func LookupReverseIpv4(ctx *pulumi.Context, args *LookupReverseIpv4Args, opts ...pulumi.InvokeOption) (*LookupReverseIpv4Result, error)

Get information about a Vultr Reverse IPv4.

## Example Usage

Get the information for an IPv4 reverse DNS record by `reverse`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupReverseIpv4(ctx, &vultr.LookupReverseIpv4Args{
			Filters: []vultr.GetReverseIpv4Filter{
				{
					Name: "reverse",
					Values: []string{
						"host.example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupReverseIpv4ResultOutput

type LookupReverseIpv4ResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReverseIpv4.

func (LookupReverseIpv4ResultOutput) ElementType

func (LookupReverseIpv4ResultOutput) Filters

func (LookupReverseIpv4ResultOutput) Gateway

The gateway IP address.

func (LookupReverseIpv4ResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupReverseIpv4ResultOutput) InstanceId

The ID of the instance the IPv4 reverse DNS record was set for.

func (LookupReverseIpv4ResultOutput) Ip

The IPv4 address in canonical format used in the reverse DNS record.

func (LookupReverseIpv4ResultOutput) Netmask

The IPv4 netmask in dot-decimal notation.

func (LookupReverseIpv4ResultOutput) Reverse

The hostname used in the IPv4 reverse DNS record.

func (LookupReverseIpv4ResultOutput) ToLookupReverseIpv4ResultOutput

func (o LookupReverseIpv4ResultOutput) ToLookupReverseIpv4ResultOutput() LookupReverseIpv4ResultOutput

func (LookupReverseIpv4ResultOutput) ToLookupReverseIpv4ResultOutputWithContext

func (o LookupReverseIpv4ResultOutput) ToLookupReverseIpv4ResultOutputWithContext(ctx context.Context) LookupReverseIpv4ResultOutput

type LookupReverseIpv6Args

type LookupReverseIpv6Args struct {
	// Query parameters for finding IPv6 reverse DNS records.
	Filters []GetReverseIpv6Filter `pulumi:"filters"`
}

A collection of arguments for invoking getReverseIpv6.

type LookupReverseIpv6OutputArgs

type LookupReverseIpv6OutputArgs struct {
	// Query parameters for finding IPv6 reverse DNS records.
	Filters GetReverseIpv6FilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getReverseIpv6.

func (LookupReverseIpv6OutputArgs) ElementType

type LookupReverseIpv6Result

type LookupReverseIpv6Result struct {
	Filters []GetReverseIpv6Filter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the instance the IPv6 reverse DNS record was set for.
	InstanceId string `pulumi:"instanceId"`
	// The IPv6 address in canonical format used in the reverse DNS record.
	Ip string `pulumi:"ip"`
	// The hostname used in the IPv6 reverse DNS record.
	Reverse string `pulumi:"reverse"`
}

A collection of values returned by getReverseIpv6.

func LookupReverseIpv6

func LookupReverseIpv6(ctx *pulumi.Context, args *LookupReverseIpv6Args, opts ...pulumi.InvokeOption) (*LookupReverseIpv6Result, error)

Get information about a Vultr Reverse IPv6.

## Example Usage

Get the information for an IPv6 reverse DNS record by `reverse`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupReverseIpv6(ctx, &vultr.LookupReverseIpv6Args{
			Filters: []vultr.GetReverseIpv6Filter{
				{
					Name: "reverse",
					Values: []string{
						"host.example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupReverseIpv6ResultOutput

type LookupReverseIpv6ResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReverseIpv6.

func (LookupReverseIpv6ResultOutput) ElementType

func (LookupReverseIpv6ResultOutput) Filters

func (LookupReverseIpv6ResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupReverseIpv6ResultOutput) InstanceId

The ID of the instance the IPv6 reverse DNS record was set for.

func (LookupReverseIpv6ResultOutput) Ip

The IPv6 address in canonical format used in the reverse DNS record.

func (LookupReverseIpv6ResultOutput) Reverse

The hostname used in the IPv6 reverse DNS record.

func (LookupReverseIpv6ResultOutput) ToLookupReverseIpv6ResultOutput

func (o LookupReverseIpv6ResultOutput) ToLookupReverseIpv6ResultOutput() LookupReverseIpv6ResultOutput

func (LookupReverseIpv6ResultOutput) ToLookupReverseIpv6ResultOutputWithContext

func (o LookupReverseIpv6ResultOutput) ToLookupReverseIpv6ResultOutputWithContext(ctx context.Context) LookupReverseIpv6ResultOutput

type LookupSnapshotArgs

type LookupSnapshotArgs struct {
	// Query parameters for finding snapshots.
	Filters []GetSnapshotFilter `pulumi:"filters"`
}

A collection of arguments for invoking getSnapshot.

type LookupSnapshotOutputArgs

type LookupSnapshotOutputArgs struct {
	// Query parameters for finding snapshots.
	Filters GetSnapshotFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getSnapshot.

func (LookupSnapshotOutputArgs) ElementType

func (LookupSnapshotOutputArgs) ElementType() reflect.Type

type LookupSnapshotResult

type LookupSnapshotResult struct {
	// The application ID of the snapshot.
	AppId int `pulumi:"appId"`
	// The date the snapshot was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The description of the snapshot.
	Description string              `pulumi:"description"`
	Filters     []GetSnapshotFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The operating system ID of the snapshot.
	OsId int `pulumi:"osId"`
	// The size of the snapshot in bytes.
	Size int `pulumi:"size"`
	// The status of the snapshot.
	Status string `pulumi:"status"`
}

A collection of values returned by getSnapshot.

func LookupSnapshot

func LookupSnapshot(ctx *pulumi.Context, args *LookupSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotResult, error)

Get information about a Vultr snapshot.

## Example Usage

Get the information for a snapshot by `description`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupSnapshot(ctx, &vultr.LookupSnapshotArgs{
			Filters: []vultr.GetSnapshotFilter{
				{
					Name: "description",
					Values: []string{
						"my-snapshot-description",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSnapshotResultOutput

type LookupSnapshotResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshot.

func (LookupSnapshotResultOutput) AppId

The application ID of the snapshot.

func (LookupSnapshotResultOutput) DateCreated

The date the snapshot was added to your Vultr account.

func (LookupSnapshotResultOutput) Description

The description of the snapshot.

func (LookupSnapshotResultOutput) ElementType

func (LookupSnapshotResultOutput) ElementType() reflect.Type

func (LookupSnapshotResultOutput) Filters

func (LookupSnapshotResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupSnapshotResultOutput) OsId

The operating system ID of the snapshot.

func (LookupSnapshotResultOutput) Size

The size of the snapshot in bytes.

func (LookupSnapshotResultOutput) Status

The status of the snapshot.

func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutput

func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput

func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext

func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput

type LookupStartupScriptArgs

type LookupStartupScriptArgs struct {
	// Query parameters for finding startup scripts.
	Filters []GetStartupScriptFilter `pulumi:"filters"`
}

A collection of arguments for invoking getStartupScript.

type LookupStartupScriptOutputArgs

type LookupStartupScriptOutputArgs struct {
	// Query parameters for finding startup scripts.
	Filters GetStartupScriptFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getStartupScript.

func (LookupStartupScriptOutputArgs) ElementType

type LookupStartupScriptResult

type LookupStartupScriptResult struct {
	// The date the startup script was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The date the startup script was last modified.
	DateModified string                   `pulumi:"dateModified"`
	Filters      []GetStartupScriptFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the startup script.
	Name string `pulumi:"name"`
	// The contents of the startup script base64 encoded.
	Script string `pulumi:"script"`
	// The type of the startup script.
	Type string `pulumi:"type"`
}

A collection of values returned by getStartupScript.

func LookupStartupScript

func LookupStartupScript(ctx *pulumi.Context, args *LookupStartupScriptArgs, opts ...pulumi.InvokeOption) (*LookupStartupScriptResult, error)

Get information about a Vultr startup script. This data source provides the name, script, type, creation date, and the last modification date for your Vultr startup script.

## Example Usage

Get the information for a startup script by `name`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupStartupScript(ctx, &vultr.LookupStartupScriptArgs{
			Filters: []vultr.GetStartupScriptFilter{
				{
					Name: "name",
					Values: []string{
						"my-startup-script-name",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupStartupScriptResultOutput

type LookupStartupScriptResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStartupScript.

func (LookupStartupScriptResultOutput) DateCreated

The date the startup script was added to your Vultr account.

func (LookupStartupScriptResultOutput) DateModified

The date the startup script was last modified.

func (LookupStartupScriptResultOutput) ElementType

func (LookupStartupScriptResultOutput) Filters

func (LookupStartupScriptResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupStartupScriptResultOutput) Name

The name of the startup script.

func (LookupStartupScriptResultOutput) Script

The contents of the startup script base64 encoded.

func (LookupStartupScriptResultOutput) ToLookupStartupScriptResultOutput

func (o LookupStartupScriptResultOutput) ToLookupStartupScriptResultOutput() LookupStartupScriptResultOutput

func (LookupStartupScriptResultOutput) ToLookupStartupScriptResultOutputWithContext

func (o LookupStartupScriptResultOutput) ToLookupStartupScriptResultOutputWithContext(ctx context.Context) LookupStartupScriptResultOutput

func (LookupStartupScriptResultOutput) Type

The type of the startup script.

type LookupUserArgs

type LookupUserArgs struct {
	// Query parameters for finding users.
	Filters []GetUserFilter `pulumi:"filters"`
}

A collection of arguments for invoking getUser.

type LookupUserOutputArgs

type LookupUserOutputArgs struct {
	// Query parameters for finding users.
	Filters GetUserFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getUser.

func (LookupUserOutputArgs) ElementType

func (LookupUserOutputArgs) ElementType() reflect.Type

type LookupUserResult

type LookupUserResult struct {
	// The access control list for the user.
	Acls []string `pulumi:"acls"`
	// Whether API is enabled for the user.
	ApiEnabled bool `pulumi:"apiEnabled"`
	// The email of the user.
	Email   string          `pulumi:"email"`
	Filters []GetUserFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the user.
	Name string `pulumi:"name"`
}

A collection of values returned by getUser.

func LookupUser

func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)

Get information about a Vultr user associated with your account. This data source provides the name, email, access control list, and API status for a Vultr user associated with your account.

## Example Usage

Get the information for a user by `email`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupUser(ctx, &vultr.LookupUserArgs{
			Filters: []vultr.GetUserFilter{
				{
					Name: "email",
					Values: []string{
						"jdoe@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Get the information for a user by `name`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupUser(ctx, &vultr.LookupUserArgs{
			Filters: []vultr.GetUserFilter{
				{
					Name: "name",
					Values: []string{
						"John Doe",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupUserResultOutput

type LookupUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUser.

func (LookupUserResultOutput) Acls

The access control list for the user.

func (LookupUserResultOutput) ApiEnabled

func (o LookupUserResultOutput) ApiEnabled() pulumi.BoolOutput

Whether API is enabled for the user.

func (LookupUserResultOutput) ElementType

func (LookupUserResultOutput) ElementType() reflect.Type

func (LookupUserResultOutput) Email

The email of the user.

func (LookupUserResultOutput) Filters

func (LookupUserResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupUserResultOutput) Name

The name of the user.

func (LookupUserResultOutput) ToLookupUserResultOutput

func (o LookupUserResultOutput) ToLookupUserResultOutput() LookupUserResultOutput

func (LookupUserResultOutput) ToLookupUserResultOutputWithContext

func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context.Context) LookupUserResultOutput

type LookupVpc2Args added in v2.16.2

type LookupVpc2Args struct {
	// Query parameters for finding VPCs 2.0.
	Filters []GetVpc2Filter `pulumi:"filters"`
}

A collection of arguments for invoking getVpc2.

type LookupVpc2OutputArgs added in v2.16.2

type LookupVpc2OutputArgs struct {
	// Query parameters for finding VPCs 2.0.
	Filters GetVpc2FilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getVpc2.

func (LookupVpc2OutputArgs) ElementType added in v2.16.2

func (LookupVpc2OutputArgs) ElementType() reflect.Type

type LookupVpc2Result added in v2.16.2

type LookupVpc2Result struct {
	// The date the VPC 2.0 was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The VPC 2.0's description.
	Description string          `pulumi:"description"`
	Filters     []GetVpc2Filter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The IPv4 network address. For example: 10.1.1.0.
	IpBlock string `pulumi:"ipBlock"`
	// The number of bits for the netmask in CIDR notation. Example: 20
	PrefixLength int `pulumi:"prefixLength"`
	// The ID of the region that the VPC 2.0 is in.
	Region string `pulumi:"region"`
}

A collection of values returned by getVpc2.

func LookupVpc2 added in v2.16.2

func LookupVpc2(ctx *pulumi.Context, args *LookupVpc2Args, opts ...pulumi.InvokeOption) (*LookupVpc2Result, error)

Get information about a Vultr VPC 2.0.

## Example Usage

Get the information for a VPC 2.0 by `description`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupVpc2(ctx, &vultr.LookupVpc2Args{
			Filters: []vultr.GetVpc2Filter{
				{
					Name: "description",
					Values: []string{
						"my-vpc2-description",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupVpc2ResultOutput added in v2.16.2

type LookupVpc2ResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVpc2.

func LookupVpc2Output added in v2.16.2

func LookupVpc2Output(ctx *pulumi.Context, args LookupVpc2OutputArgs, opts ...pulumi.InvokeOption) LookupVpc2ResultOutput

func (LookupVpc2ResultOutput) DateCreated added in v2.16.2

func (o LookupVpc2ResultOutput) DateCreated() pulumi.StringOutput

The date the VPC 2.0 was added to your Vultr account.

func (LookupVpc2ResultOutput) Description added in v2.16.2

func (o LookupVpc2ResultOutput) Description() pulumi.StringOutput

The VPC 2.0's description.

func (LookupVpc2ResultOutput) ElementType added in v2.16.2

func (LookupVpc2ResultOutput) ElementType() reflect.Type

func (LookupVpc2ResultOutput) Filters added in v2.16.2

func (LookupVpc2ResultOutput) Id added in v2.16.2

The provider-assigned unique ID for this managed resource.

func (LookupVpc2ResultOutput) IpBlock added in v2.16.2

The IPv4 network address. For example: 10.1.1.0.

func (LookupVpc2ResultOutput) PrefixLength added in v2.16.2

func (o LookupVpc2ResultOutput) PrefixLength() pulumi.IntOutput

The number of bits for the netmask in CIDR notation. Example: 20

func (LookupVpc2ResultOutput) Region added in v2.16.2

The ID of the region that the VPC 2.0 is in.

func (LookupVpc2ResultOutput) ToLookupVpc2ResultOutput added in v2.16.2

func (o LookupVpc2ResultOutput) ToLookupVpc2ResultOutput() LookupVpc2ResultOutput

func (LookupVpc2ResultOutput) ToLookupVpc2ResultOutputWithContext added in v2.16.2

func (o LookupVpc2ResultOutput) ToLookupVpc2ResultOutputWithContext(ctx context.Context) LookupVpc2ResultOutput

type LookupVpcArgs

type LookupVpcArgs struct {
	// Query parameters for finding VPCs.
	Filters []GetVpcFilter `pulumi:"filters"`
}

A collection of arguments for invoking getVpc.

type LookupVpcOutputArgs

type LookupVpcOutputArgs struct {
	// Query parameters for finding VPCs.
	Filters GetVpcFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getVpc.

func (LookupVpcOutputArgs) ElementType

func (LookupVpcOutputArgs) ElementType() reflect.Type

type LookupVpcResult

type LookupVpcResult struct {
	// The date the VPC was added to your Vultr account.
	DateCreated string `pulumi:"dateCreated"`
	// The VPC's description.
	Description string         `pulumi:"description"`
	Filters     []GetVpcFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the region that the VPC is in.
	Region string `pulumi:"region"`
	// The IPv4 network address. For example: 10.1.1.0.
	V4Subnet string `pulumi:"v4Subnet"`
	// The number of bits for the netmask in CIDR notation. Example: 20
	V4SubnetMask int `pulumi:"v4SubnetMask"`
}

A collection of values returned by getVpc.

func LookupVpc

func LookupVpc(ctx *pulumi.Context, args *LookupVpcArgs, opts ...pulumi.InvokeOption) (*LookupVpcResult, error)

Get information about a Vultr VPC.

## Example Usage

Get the information for a VPC by `description`:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.LookupVpc(ctx, &vultr.LookupVpcArgs{
			Filters: []vultr.GetVpcFilter{
				{
					Name: "description",
					Values: []string{
						"my-vpc-description",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupVpcResultOutput

type LookupVpcResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVpc.

func (LookupVpcResultOutput) DateCreated

func (o LookupVpcResultOutput) DateCreated() pulumi.StringOutput

The date the VPC was added to your Vultr account.

func (LookupVpcResultOutput) Description

func (o LookupVpcResultOutput) Description() pulumi.StringOutput

The VPC's description.

func (LookupVpcResultOutput) ElementType

func (LookupVpcResultOutput) ElementType() reflect.Type

func (LookupVpcResultOutput) Filters

func (LookupVpcResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupVpcResultOutput) Region

The ID of the region that the VPC is in.

func (LookupVpcResultOutput) ToLookupVpcResultOutput

func (o LookupVpcResultOutput) ToLookupVpcResultOutput() LookupVpcResultOutput

func (LookupVpcResultOutput) ToLookupVpcResultOutputWithContext

func (o LookupVpcResultOutput) ToLookupVpcResultOutputWithContext(ctx context.Context) LookupVpcResultOutput

func (LookupVpcResultOutput) V4Subnet

The IPv4 network address. For example: 10.1.1.0.

func (LookupVpcResultOutput) V4SubnetMask

func (o LookupVpcResultOutput) V4SubnetMask() pulumi.IntOutput

The number of bits for the netmask in CIDR notation. Example: 20

type ObjectStorage

type ObjectStorage struct {
	pulumi.CustomResourceState

	// The region ID that you want the network to be created in.
	ClusterId pulumi.IntOutput `pulumi:"clusterId"`
	// Date of creation for the object storage subscription.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The description you want to give your network.
	Label pulumi.StringPtrOutput `pulumi:"label"`
	// The location which this subscription resides in.
	Location pulumi.StringOutput `pulumi:"location"`
	// The region ID of the object storage subscription.
	Region pulumi.StringOutput `pulumi:"region"`
	// Your access key.
	S3AccessKey pulumi.StringOutput `pulumi:"s3AccessKey"`
	// The hostname for this subscription.
	S3Hostname pulumi.StringOutput `pulumi:"s3Hostname"`
	// Your secret key.
	S3SecretKey pulumi.StringOutput `pulumi:"s3SecretKey"`
	// Current status of this object storage subscription.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Vultr private object storage resource. This can be used to create, read, update and delete object storage resources on your Vultr account.

## Example Usage

Create a new object storage subscription.

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewObjectStorage(ctx, "tf", &vultr.ObjectStorageArgs{
			ClusterId: pulumi.Int(2),
			Label:     pulumi.String("vultr-object-storage"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Object Storage can be imported using the object storage `ID`, e.g.

```sh

$ pulumi import vultr:index/objectStorage:ObjectStorage my_s3 0e04f918-575e-41cb-86f6-d729b354a5a1

```

func GetObjectStorage

func GetObjectStorage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObjectStorageState, opts ...pulumi.ResourceOption) (*ObjectStorage, error)

GetObjectStorage gets an existing ObjectStorage 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 NewObjectStorage

func NewObjectStorage(ctx *pulumi.Context,
	name string, args *ObjectStorageArgs, opts ...pulumi.ResourceOption) (*ObjectStorage, error)

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

func (*ObjectStorage) ElementType

func (*ObjectStorage) ElementType() reflect.Type

func (*ObjectStorage) ToObjectStorageOutput

func (i *ObjectStorage) ToObjectStorageOutput() ObjectStorageOutput

func (*ObjectStorage) ToObjectStorageOutputWithContext

func (i *ObjectStorage) ToObjectStorageOutputWithContext(ctx context.Context) ObjectStorageOutput

type ObjectStorageArgs

type ObjectStorageArgs struct {
	// The region ID that you want the network to be created in.
	ClusterId pulumi.IntInput
	// The description you want to give your network.
	Label pulumi.StringPtrInput
}

The set of arguments for constructing a ObjectStorage resource.

func (ObjectStorageArgs) ElementType

func (ObjectStorageArgs) ElementType() reflect.Type

type ObjectStorageArray

type ObjectStorageArray []ObjectStorageInput

func (ObjectStorageArray) ElementType

func (ObjectStorageArray) ElementType() reflect.Type

func (ObjectStorageArray) ToObjectStorageArrayOutput

func (i ObjectStorageArray) ToObjectStorageArrayOutput() ObjectStorageArrayOutput

func (ObjectStorageArray) ToObjectStorageArrayOutputWithContext

func (i ObjectStorageArray) ToObjectStorageArrayOutputWithContext(ctx context.Context) ObjectStorageArrayOutput

type ObjectStorageArrayInput

type ObjectStorageArrayInput interface {
	pulumi.Input

	ToObjectStorageArrayOutput() ObjectStorageArrayOutput
	ToObjectStorageArrayOutputWithContext(context.Context) ObjectStorageArrayOutput
}

ObjectStorageArrayInput is an input type that accepts ObjectStorageArray and ObjectStorageArrayOutput values. You can construct a concrete instance of `ObjectStorageArrayInput` via:

ObjectStorageArray{ ObjectStorageArgs{...} }

type ObjectStorageArrayOutput

type ObjectStorageArrayOutput struct{ *pulumi.OutputState }

func (ObjectStorageArrayOutput) ElementType

func (ObjectStorageArrayOutput) ElementType() reflect.Type

func (ObjectStorageArrayOutput) Index

func (ObjectStorageArrayOutput) ToObjectStorageArrayOutput

func (o ObjectStorageArrayOutput) ToObjectStorageArrayOutput() ObjectStorageArrayOutput

func (ObjectStorageArrayOutput) ToObjectStorageArrayOutputWithContext

func (o ObjectStorageArrayOutput) ToObjectStorageArrayOutputWithContext(ctx context.Context) ObjectStorageArrayOutput

type ObjectStorageInput

type ObjectStorageInput interface {
	pulumi.Input

	ToObjectStorageOutput() ObjectStorageOutput
	ToObjectStorageOutputWithContext(ctx context.Context) ObjectStorageOutput
}

type ObjectStorageMap

type ObjectStorageMap map[string]ObjectStorageInput

func (ObjectStorageMap) ElementType

func (ObjectStorageMap) ElementType() reflect.Type

func (ObjectStorageMap) ToObjectStorageMapOutput

func (i ObjectStorageMap) ToObjectStorageMapOutput() ObjectStorageMapOutput

func (ObjectStorageMap) ToObjectStorageMapOutputWithContext

func (i ObjectStorageMap) ToObjectStorageMapOutputWithContext(ctx context.Context) ObjectStorageMapOutput

type ObjectStorageMapInput

type ObjectStorageMapInput interface {
	pulumi.Input

	ToObjectStorageMapOutput() ObjectStorageMapOutput
	ToObjectStorageMapOutputWithContext(context.Context) ObjectStorageMapOutput
}

ObjectStorageMapInput is an input type that accepts ObjectStorageMap and ObjectStorageMapOutput values. You can construct a concrete instance of `ObjectStorageMapInput` via:

ObjectStorageMap{ "key": ObjectStorageArgs{...} }

type ObjectStorageMapOutput

type ObjectStorageMapOutput struct{ *pulumi.OutputState }

func (ObjectStorageMapOutput) ElementType

func (ObjectStorageMapOutput) ElementType() reflect.Type

func (ObjectStorageMapOutput) MapIndex

func (ObjectStorageMapOutput) ToObjectStorageMapOutput

func (o ObjectStorageMapOutput) ToObjectStorageMapOutput() ObjectStorageMapOutput

func (ObjectStorageMapOutput) ToObjectStorageMapOutputWithContext

func (o ObjectStorageMapOutput) ToObjectStorageMapOutputWithContext(ctx context.Context) ObjectStorageMapOutput

type ObjectStorageOutput

type ObjectStorageOutput struct{ *pulumi.OutputState }

func (ObjectStorageOutput) ClusterId

func (o ObjectStorageOutput) ClusterId() pulumi.IntOutput

The region ID that you want the network to be created in.

func (ObjectStorageOutput) DateCreated

func (o ObjectStorageOutput) DateCreated() pulumi.StringOutput

Date of creation for the object storage subscription.

func (ObjectStorageOutput) ElementType

func (ObjectStorageOutput) ElementType() reflect.Type

func (ObjectStorageOutput) Label

The description you want to give your network.

func (ObjectStorageOutput) Location

The location which this subscription resides in.

func (ObjectStorageOutput) Region

The region ID of the object storage subscription.

func (ObjectStorageOutput) S3AccessKey

func (o ObjectStorageOutput) S3AccessKey() pulumi.StringOutput

Your access key.

func (ObjectStorageOutput) S3Hostname

func (o ObjectStorageOutput) S3Hostname() pulumi.StringOutput

The hostname for this subscription.

func (ObjectStorageOutput) S3SecretKey

func (o ObjectStorageOutput) S3SecretKey() pulumi.StringOutput

Your secret key.

func (ObjectStorageOutput) Status

Current status of this object storage subscription.

func (ObjectStorageOutput) ToObjectStorageOutput

func (o ObjectStorageOutput) ToObjectStorageOutput() ObjectStorageOutput

func (ObjectStorageOutput) ToObjectStorageOutputWithContext

func (o ObjectStorageOutput) ToObjectStorageOutputWithContext(ctx context.Context) ObjectStorageOutput

type ObjectStorageState

type ObjectStorageState struct {
	// The region ID that you want the network to be created in.
	ClusterId pulumi.IntPtrInput
	// Date of creation for the object storage subscription.
	DateCreated pulumi.StringPtrInput
	// The description you want to give your network.
	Label pulumi.StringPtrInput
	// The location which this subscription resides in.
	Location pulumi.StringPtrInput
	// The region ID of the object storage subscription.
	Region pulumi.StringPtrInput
	// Your access key.
	S3AccessKey pulumi.StringPtrInput
	// The hostname for this subscription.
	S3Hostname pulumi.StringPtrInput
	// Your secret key.
	S3SecretKey pulumi.StringPtrInput
	// Current status of this object storage subscription.
	Status pulumi.StringPtrInput
}

func (ObjectStorageState) ElementType

func (ObjectStorageState) ElementType() reflect.Type

type PrivateNetwork deprecated

type PrivateNetwork struct {
	pulumi.CustomResourceState

	// The date that the network was added to your Vultr account.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The description you want to give your network.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The region ID that you want the network to be created in.
	Region pulumi.StringOutput `pulumi:"region"`
	// The IPv4 subnet to be used when attaching instances to this network.
	V4Subnet pulumi.StringOutput `pulumi:"v4Subnet"`
	// The number of bits for the netmask in CIDR notation. Example: 32
	V4SubnetMask pulumi.IntOutput `pulumi:"v4SubnetMask"`
}

Deprecated: Use `Vpc` instead

Provides a Vultr private network resource. This can be used to create, read, and delete private networks on your Vultr account.

## Example Usage

Create a new private network with an automatically generated CIDR block:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewPrivateNetwork(ctx, "myNetwork", &vultr.PrivateNetworkArgs{
			Description: pulumi.String("my private network"),
			Region:      pulumi.String("ewr"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a new private network with a specified CIDR block:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewPrivateNetwork(ctx, "myNetwork", &vultr.PrivateNetworkArgs{
			Description:  pulumi.String("my private network"),
			Region:       pulumi.String("ewr"),
			V4Subnet:     pulumi.String("10.0.0.0"),
			V4SubnetMask: pulumi.Int(24),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Networks can be imported using the network `ID`, e.g.

```sh

$ pulumi import vultr:index/privateNetwork:PrivateNetwork my_network 0e04f918-575e-41cb-86f6-d729b354a5a1

```

func GetPrivateNetwork

func GetPrivateNetwork(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateNetworkState, opts ...pulumi.ResourceOption) (*PrivateNetwork, error)

GetPrivateNetwork gets an existing PrivateNetwork 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 NewPrivateNetwork

func NewPrivateNetwork(ctx *pulumi.Context,
	name string, args *PrivateNetworkArgs, opts ...pulumi.ResourceOption) (*PrivateNetwork, error)

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

func (*PrivateNetwork) ElementType

func (*PrivateNetwork) ElementType() reflect.Type

func (*PrivateNetwork) ToPrivateNetworkOutput

func (i *PrivateNetwork) ToPrivateNetworkOutput() PrivateNetworkOutput

func (*PrivateNetwork) ToPrivateNetworkOutputWithContext

func (i *PrivateNetwork) ToPrivateNetworkOutputWithContext(ctx context.Context) PrivateNetworkOutput

type PrivateNetworkArgs

type PrivateNetworkArgs struct {
	// The description you want to give your network.
	Description pulumi.StringPtrInput
	// The region ID that you want the network to be created in.
	Region pulumi.StringInput
	// The IPv4 subnet to be used when attaching instances to this network.
	V4Subnet pulumi.StringPtrInput
	// The number of bits for the netmask in CIDR notation. Example: 32
	V4SubnetMask pulumi.IntPtrInput
}

The set of arguments for constructing a PrivateNetwork resource.

func (PrivateNetworkArgs) ElementType

func (PrivateNetworkArgs) ElementType() reflect.Type

type PrivateNetworkArray

type PrivateNetworkArray []PrivateNetworkInput

func (PrivateNetworkArray) ElementType

func (PrivateNetworkArray) ElementType() reflect.Type

func (PrivateNetworkArray) ToPrivateNetworkArrayOutput

func (i PrivateNetworkArray) ToPrivateNetworkArrayOutput() PrivateNetworkArrayOutput

func (PrivateNetworkArray) ToPrivateNetworkArrayOutputWithContext

func (i PrivateNetworkArray) ToPrivateNetworkArrayOutputWithContext(ctx context.Context) PrivateNetworkArrayOutput

type PrivateNetworkArrayInput

type PrivateNetworkArrayInput interface {
	pulumi.Input

	ToPrivateNetworkArrayOutput() PrivateNetworkArrayOutput
	ToPrivateNetworkArrayOutputWithContext(context.Context) PrivateNetworkArrayOutput
}

PrivateNetworkArrayInput is an input type that accepts PrivateNetworkArray and PrivateNetworkArrayOutput values. You can construct a concrete instance of `PrivateNetworkArrayInput` via:

PrivateNetworkArray{ PrivateNetworkArgs{...} }

type PrivateNetworkArrayOutput

type PrivateNetworkArrayOutput struct{ *pulumi.OutputState }

func (PrivateNetworkArrayOutput) ElementType

func (PrivateNetworkArrayOutput) ElementType() reflect.Type

func (PrivateNetworkArrayOutput) Index

func (PrivateNetworkArrayOutput) ToPrivateNetworkArrayOutput

func (o PrivateNetworkArrayOutput) ToPrivateNetworkArrayOutput() PrivateNetworkArrayOutput

func (PrivateNetworkArrayOutput) ToPrivateNetworkArrayOutputWithContext

func (o PrivateNetworkArrayOutput) ToPrivateNetworkArrayOutputWithContext(ctx context.Context) PrivateNetworkArrayOutput

type PrivateNetworkInput

type PrivateNetworkInput interface {
	pulumi.Input

	ToPrivateNetworkOutput() PrivateNetworkOutput
	ToPrivateNetworkOutputWithContext(ctx context.Context) PrivateNetworkOutput
}

type PrivateNetworkMap

type PrivateNetworkMap map[string]PrivateNetworkInput

func (PrivateNetworkMap) ElementType

func (PrivateNetworkMap) ElementType() reflect.Type

func (PrivateNetworkMap) ToPrivateNetworkMapOutput

func (i PrivateNetworkMap) ToPrivateNetworkMapOutput() PrivateNetworkMapOutput

func (PrivateNetworkMap) ToPrivateNetworkMapOutputWithContext

func (i PrivateNetworkMap) ToPrivateNetworkMapOutputWithContext(ctx context.Context) PrivateNetworkMapOutput

type PrivateNetworkMapInput

type PrivateNetworkMapInput interface {
	pulumi.Input

	ToPrivateNetworkMapOutput() PrivateNetworkMapOutput
	ToPrivateNetworkMapOutputWithContext(context.Context) PrivateNetworkMapOutput
}

PrivateNetworkMapInput is an input type that accepts PrivateNetworkMap and PrivateNetworkMapOutput values. You can construct a concrete instance of `PrivateNetworkMapInput` via:

PrivateNetworkMap{ "key": PrivateNetworkArgs{...} }

type PrivateNetworkMapOutput

type PrivateNetworkMapOutput struct{ *pulumi.OutputState }

func (PrivateNetworkMapOutput) ElementType

func (PrivateNetworkMapOutput) ElementType() reflect.Type

func (PrivateNetworkMapOutput) MapIndex

func (PrivateNetworkMapOutput) ToPrivateNetworkMapOutput

func (o PrivateNetworkMapOutput) ToPrivateNetworkMapOutput() PrivateNetworkMapOutput

func (PrivateNetworkMapOutput) ToPrivateNetworkMapOutputWithContext

func (o PrivateNetworkMapOutput) ToPrivateNetworkMapOutputWithContext(ctx context.Context) PrivateNetworkMapOutput

type PrivateNetworkOutput

type PrivateNetworkOutput struct{ *pulumi.OutputState }

func (PrivateNetworkOutput) DateCreated

func (o PrivateNetworkOutput) DateCreated() pulumi.StringOutput

The date that the network was added to your Vultr account.

func (PrivateNetworkOutput) Description

The description you want to give your network.

func (PrivateNetworkOutput) ElementType

func (PrivateNetworkOutput) ElementType() reflect.Type

func (PrivateNetworkOutput) Region

The region ID that you want the network to be created in.

func (PrivateNetworkOutput) ToPrivateNetworkOutput

func (o PrivateNetworkOutput) ToPrivateNetworkOutput() PrivateNetworkOutput

func (PrivateNetworkOutput) ToPrivateNetworkOutputWithContext

func (o PrivateNetworkOutput) ToPrivateNetworkOutputWithContext(ctx context.Context) PrivateNetworkOutput

func (PrivateNetworkOutput) V4Subnet

The IPv4 subnet to be used when attaching instances to this network.

func (PrivateNetworkOutput) V4SubnetMask

func (o PrivateNetworkOutput) V4SubnetMask() pulumi.IntOutput

The number of bits for the netmask in CIDR notation. Example: 32

type PrivateNetworkState

type PrivateNetworkState struct {
	// The date that the network was added to your Vultr account.
	DateCreated pulumi.StringPtrInput
	// The description you want to give your network.
	Description pulumi.StringPtrInput
	// The region ID that you want the network to be created in.
	Region pulumi.StringPtrInput
	// The IPv4 subnet to be used when attaching instances to this network.
	V4Subnet pulumi.StringPtrInput
	// The number of bits for the netmask in CIDR notation. Example: 32
	V4SubnetMask pulumi.IntPtrInput
}

func (PrivateNetworkState) ElementType

func (PrivateNetworkState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The API Key that allows interaction with the API
	ApiKey pulumi.StringPtrOutput `pulumi:"apiKey"`
}

The provider type for the vultr 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 Key that allows interaction with the API
	ApiKey pulumi.StringPtrInput
	// Allows users to set the speed of API calls to work with the Vultr Rate Limit
	RateLimit pulumi.IntPtrInput
	// Allows users to set the maximum number of retries allowed for a failed API call.
	RetryLimit pulumi.IntPtrInput
}

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

The API Key that allows interaction with the API

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

type ReservedIp

type ReservedIp struct {
	pulumi.CustomResourceState

	// The VPS ID you want this reserved IP to be attached to.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The type of reserved IP that you want. Either "v4" or "v6".
	IpType pulumi.StringOutput `pulumi:"ipType"`
	// The label you want to give your reserved IP.
	Label pulumi.StringPtrOutput `pulumi:"label"`
	// The region ID that you want the reserved IP to be created in.
	Region pulumi.StringOutput `pulumi:"region"`
	// The reserved IP's subnet.
	Subnet pulumi.StringOutput `pulumi:"subnet"`
	// The reserved IP's subnet size.
	SubnetSize pulumi.IntOutput `pulumi:"subnetSize"`
}

Provides a Vultr reserved IP resource. This can be used to create, read, modify, and delete reserved IP addresses on your Vultr account.

## Example Usage

Create a new reserved IP:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewReservedIp(ctx, "myReservedIp", &vultr.ReservedIpArgs{
			IpType: pulumi.String("v4"),
			Label:  pulumi.String("my-reserved-ip"),
			Region: pulumi.String("sea"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Attach a reserved IP to a instance:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewReservedIp(ctx, "myReservedIp", &vultr.ReservedIpArgs{
			InstanceId: pulumi.String("b9cc6fad-70b1-40ee-ab6a-4d622858962f"),
			IpType:     pulumi.String("v4"),
			Label:      pulumi.String("my-reserved-ip"),
			Region:     pulumi.String("sea"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Reserved IPs can be imported using the reserved IP `ID`, e.g.

```sh

$ pulumi import vultr:index/reservedIp:ReservedIp my_reserved_ip b9cc6fad-70b1-40ee-ab6a-4d622858962f

```

func GetReservedIp

func GetReservedIp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReservedIpState, opts ...pulumi.ResourceOption) (*ReservedIp, error)

GetReservedIp gets an existing ReservedIp 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 NewReservedIp

func NewReservedIp(ctx *pulumi.Context,
	name string, args *ReservedIpArgs, opts ...pulumi.ResourceOption) (*ReservedIp, error)

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

func (*ReservedIp) ElementType

func (*ReservedIp) ElementType() reflect.Type

func (*ReservedIp) ToReservedIpOutput

func (i *ReservedIp) ToReservedIpOutput() ReservedIpOutput

func (*ReservedIp) ToReservedIpOutputWithContext

func (i *ReservedIp) ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput

type ReservedIpArgs

type ReservedIpArgs struct {
	// The VPS ID you want this reserved IP to be attached to.
	InstanceId pulumi.StringPtrInput
	// The type of reserved IP that you want. Either "v4" or "v6".
	IpType pulumi.StringInput
	// The label you want to give your reserved IP.
	Label pulumi.StringPtrInput
	// The region ID that you want the reserved IP to be created in.
	Region pulumi.StringInput
}

The set of arguments for constructing a ReservedIp resource.

func (ReservedIpArgs) ElementType

func (ReservedIpArgs) ElementType() reflect.Type

type ReservedIpArray

type ReservedIpArray []ReservedIpInput

func (ReservedIpArray) ElementType

func (ReservedIpArray) ElementType() reflect.Type

func (ReservedIpArray) ToReservedIpArrayOutput

func (i ReservedIpArray) ToReservedIpArrayOutput() ReservedIpArrayOutput

func (ReservedIpArray) ToReservedIpArrayOutputWithContext

func (i ReservedIpArray) ToReservedIpArrayOutputWithContext(ctx context.Context) ReservedIpArrayOutput

type ReservedIpArrayInput

type ReservedIpArrayInput interface {
	pulumi.Input

	ToReservedIpArrayOutput() ReservedIpArrayOutput
	ToReservedIpArrayOutputWithContext(context.Context) ReservedIpArrayOutput
}

ReservedIpArrayInput is an input type that accepts ReservedIpArray and ReservedIpArrayOutput values. You can construct a concrete instance of `ReservedIpArrayInput` via:

ReservedIpArray{ ReservedIpArgs{...} }

type ReservedIpArrayOutput

type ReservedIpArrayOutput struct{ *pulumi.OutputState }

func (ReservedIpArrayOutput) ElementType

func (ReservedIpArrayOutput) ElementType() reflect.Type

func (ReservedIpArrayOutput) Index

func (ReservedIpArrayOutput) ToReservedIpArrayOutput

func (o ReservedIpArrayOutput) ToReservedIpArrayOutput() ReservedIpArrayOutput

func (ReservedIpArrayOutput) ToReservedIpArrayOutputWithContext

func (o ReservedIpArrayOutput) ToReservedIpArrayOutputWithContext(ctx context.Context) ReservedIpArrayOutput

type ReservedIpInput

type ReservedIpInput interface {
	pulumi.Input

	ToReservedIpOutput() ReservedIpOutput
	ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput
}

type ReservedIpMap

type ReservedIpMap map[string]ReservedIpInput

func (ReservedIpMap) ElementType

func (ReservedIpMap) ElementType() reflect.Type

func (ReservedIpMap) ToReservedIpMapOutput

func (i ReservedIpMap) ToReservedIpMapOutput() ReservedIpMapOutput

func (ReservedIpMap) ToReservedIpMapOutputWithContext

func (i ReservedIpMap) ToReservedIpMapOutputWithContext(ctx context.Context) ReservedIpMapOutput

type ReservedIpMapInput

type ReservedIpMapInput interface {
	pulumi.Input

	ToReservedIpMapOutput() ReservedIpMapOutput
	ToReservedIpMapOutputWithContext(context.Context) ReservedIpMapOutput
}

ReservedIpMapInput is an input type that accepts ReservedIpMap and ReservedIpMapOutput values. You can construct a concrete instance of `ReservedIpMapInput` via:

ReservedIpMap{ "key": ReservedIpArgs{...} }

type ReservedIpMapOutput

type ReservedIpMapOutput struct{ *pulumi.OutputState }

func (ReservedIpMapOutput) ElementType

func (ReservedIpMapOutput) ElementType() reflect.Type

func (ReservedIpMapOutput) MapIndex

func (ReservedIpMapOutput) ToReservedIpMapOutput

func (o ReservedIpMapOutput) ToReservedIpMapOutput() ReservedIpMapOutput

func (ReservedIpMapOutput) ToReservedIpMapOutputWithContext

func (o ReservedIpMapOutput) ToReservedIpMapOutputWithContext(ctx context.Context) ReservedIpMapOutput

type ReservedIpOutput

type ReservedIpOutput struct{ *pulumi.OutputState }

func (ReservedIpOutput) ElementType

func (ReservedIpOutput) ElementType() reflect.Type

func (ReservedIpOutput) InstanceId

func (o ReservedIpOutput) InstanceId() pulumi.StringOutput

The VPS ID you want this reserved IP to be attached to.

func (ReservedIpOutput) IpType

The type of reserved IP that you want. Either "v4" or "v6".

func (ReservedIpOutput) Label

The label you want to give your reserved IP.

func (ReservedIpOutput) Region

The region ID that you want the reserved IP to be created in.

func (ReservedIpOutput) Subnet

The reserved IP's subnet.

func (ReservedIpOutput) SubnetSize

func (o ReservedIpOutput) SubnetSize() pulumi.IntOutput

The reserved IP's subnet size.

func (ReservedIpOutput) ToReservedIpOutput

func (o ReservedIpOutput) ToReservedIpOutput() ReservedIpOutput

func (ReservedIpOutput) ToReservedIpOutputWithContext

func (o ReservedIpOutput) ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput

type ReservedIpState

type ReservedIpState struct {
	// The VPS ID you want this reserved IP to be attached to.
	InstanceId pulumi.StringPtrInput
	// The type of reserved IP that you want. Either "v4" or "v6".
	IpType pulumi.StringPtrInput
	// The label you want to give your reserved IP.
	Label pulumi.StringPtrInput
	// The region ID that you want the reserved IP to be created in.
	Region pulumi.StringPtrInput
	// The reserved IP's subnet.
	Subnet pulumi.StringPtrInput
	// The reserved IP's subnet size.
	SubnetSize pulumi.IntPtrInput
}

func (ReservedIpState) ElementType

func (ReservedIpState) ElementType() reflect.Type

type ReverseIpv4

type ReverseIpv4 struct {
	pulumi.CustomResourceState

	// The gateway IP address.
	Gateway pulumi.StringOutput `pulumi:"gateway"`
	// The ID of the instance you want to set an IPv4
	// reverse DNS record for.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The IPv4 address used in the reverse DNS record.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// The IPv4 netmask in dot-decimal notation.
	Netmask pulumi.StringOutput `pulumi:"netmask"`
	// The hostname used in the IPv4 reverse DNS record.
	Reverse pulumi.StringOutput `pulumi:"reverse"`
}

Provides a Vultr Reverse IPv4 resource. This can be used to create, read, and modify reverse DNS records for IPv4 addresses. Upon success, DNS changes may take 6-12 hours to become active.

## Example Usage

Create a new reverse DNS record for an IPv4 address:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myInstance, err := vultr.NewInstance(ctx, "myInstance", &vultr.InstanceArgs{
			EnableIpv6: pulumi.Bool(true),
			OsId:       pulumi.Int(477),
			Plan:       pulumi.String("vc2-1c-2gb"),
			Region:     pulumi.String("ewr"),
		})
		if err != nil {
			return err
		}
		_, err = vultr.NewReverseIpv4(ctx, "myReverseIpv4", &vultr.ReverseIpv4Args{
			InstanceId: myInstance.ID(),
			Ip:         myInstance.MainIp,
			Reverse:    pulumi.String("host.example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetReverseIpv4

func GetReverseIpv4(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReverseIpv4State, opts ...pulumi.ResourceOption) (*ReverseIpv4, error)

GetReverseIpv4 gets an existing ReverseIpv4 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 NewReverseIpv4

func NewReverseIpv4(ctx *pulumi.Context,
	name string, args *ReverseIpv4Args, opts ...pulumi.ResourceOption) (*ReverseIpv4, error)

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

func (*ReverseIpv4) ElementType

func (*ReverseIpv4) ElementType() reflect.Type

func (*ReverseIpv4) ToReverseIpv4Output

func (i *ReverseIpv4) ToReverseIpv4Output() ReverseIpv4Output

func (*ReverseIpv4) ToReverseIpv4OutputWithContext

func (i *ReverseIpv4) ToReverseIpv4OutputWithContext(ctx context.Context) ReverseIpv4Output

type ReverseIpv4Args

type ReverseIpv4Args struct {
	// The ID of the instance you want to set an IPv4
	// reverse DNS record for.
	InstanceId pulumi.StringInput
	// The IPv4 address used in the reverse DNS record.
	Ip pulumi.StringInput
	// The hostname used in the IPv4 reverse DNS record.
	Reverse pulumi.StringInput
}

The set of arguments for constructing a ReverseIpv4 resource.

func (ReverseIpv4Args) ElementType

func (ReverseIpv4Args) ElementType() reflect.Type

type ReverseIpv4Array

type ReverseIpv4Array []ReverseIpv4Input

func (ReverseIpv4Array) ElementType

func (ReverseIpv4Array) ElementType() reflect.Type

func (ReverseIpv4Array) ToReverseIpv4ArrayOutput

func (i ReverseIpv4Array) ToReverseIpv4ArrayOutput() ReverseIpv4ArrayOutput

func (ReverseIpv4Array) ToReverseIpv4ArrayOutputWithContext

func (i ReverseIpv4Array) ToReverseIpv4ArrayOutputWithContext(ctx context.Context) ReverseIpv4ArrayOutput

type ReverseIpv4ArrayInput

type ReverseIpv4ArrayInput interface {
	pulumi.Input

	ToReverseIpv4ArrayOutput() ReverseIpv4ArrayOutput
	ToReverseIpv4ArrayOutputWithContext(context.Context) ReverseIpv4ArrayOutput
}

ReverseIpv4ArrayInput is an input type that accepts ReverseIpv4Array and ReverseIpv4ArrayOutput values. You can construct a concrete instance of `ReverseIpv4ArrayInput` via:

ReverseIpv4Array{ ReverseIpv4Args{...} }

type ReverseIpv4ArrayOutput

type ReverseIpv4ArrayOutput struct{ *pulumi.OutputState }

func (ReverseIpv4ArrayOutput) ElementType

func (ReverseIpv4ArrayOutput) ElementType() reflect.Type

func (ReverseIpv4ArrayOutput) Index

func (ReverseIpv4ArrayOutput) ToReverseIpv4ArrayOutput

func (o ReverseIpv4ArrayOutput) ToReverseIpv4ArrayOutput() ReverseIpv4ArrayOutput

func (ReverseIpv4ArrayOutput) ToReverseIpv4ArrayOutputWithContext

func (o ReverseIpv4ArrayOutput) ToReverseIpv4ArrayOutputWithContext(ctx context.Context) ReverseIpv4ArrayOutput

type ReverseIpv4Input

type ReverseIpv4Input interface {
	pulumi.Input

	ToReverseIpv4Output() ReverseIpv4Output
	ToReverseIpv4OutputWithContext(ctx context.Context) ReverseIpv4Output
}

type ReverseIpv4Map

type ReverseIpv4Map map[string]ReverseIpv4Input

func (ReverseIpv4Map) ElementType

func (ReverseIpv4Map) ElementType() reflect.Type

func (ReverseIpv4Map) ToReverseIpv4MapOutput

func (i ReverseIpv4Map) ToReverseIpv4MapOutput() ReverseIpv4MapOutput

func (ReverseIpv4Map) ToReverseIpv4MapOutputWithContext

func (i ReverseIpv4Map) ToReverseIpv4MapOutputWithContext(ctx context.Context) ReverseIpv4MapOutput

type ReverseIpv4MapInput

type ReverseIpv4MapInput interface {
	pulumi.Input

	ToReverseIpv4MapOutput() ReverseIpv4MapOutput
	ToReverseIpv4MapOutputWithContext(context.Context) ReverseIpv4MapOutput
}

ReverseIpv4MapInput is an input type that accepts ReverseIpv4Map and ReverseIpv4MapOutput values. You can construct a concrete instance of `ReverseIpv4MapInput` via:

ReverseIpv4Map{ "key": ReverseIpv4Args{...} }

type ReverseIpv4MapOutput

type ReverseIpv4MapOutput struct{ *pulumi.OutputState }

func (ReverseIpv4MapOutput) ElementType

func (ReverseIpv4MapOutput) ElementType() reflect.Type

func (ReverseIpv4MapOutput) MapIndex

func (ReverseIpv4MapOutput) ToReverseIpv4MapOutput

func (o ReverseIpv4MapOutput) ToReverseIpv4MapOutput() ReverseIpv4MapOutput

func (ReverseIpv4MapOutput) ToReverseIpv4MapOutputWithContext

func (o ReverseIpv4MapOutput) ToReverseIpv4MapOutputWithContext(ctx context.Context) ReverseIpv4MapOutput

type ReverseIpv4Output

type ReverseIpv4Output struct{ *pulumi.OutputState }

func (ReverseIpv4Output) ElementType

func (ReverseIpv4Output) ElementType() reflect.Type

func (ReverseIpv4Output) Gateway

The gateway IP address.

func (ReverseIpv4Output) InstanceId

func (o ReverseIpv4Output) InstanceId() pulumi.StringOutput

The ID of the instance you want to set an IPv4 reverse DNS record for.

func (ReverseIpv4Output) Ip

The IPv4 address used in the reverse DNS record.

func (ReverseIpv4Output) Netmask

The IPv4 netmask in dot-decimal notation.

func (ReverseIpv4Output) Reverse

The hostname used in the IPv4 reverse DNS record.

func (ReverseIpv4Output) ToReverseIpv4Output

func (o ReverseIpv4Output) ToReverseIpv4Output() ReverseIpv4Output

func (ReverseIpv4Output) ToReverseIpv4OutputWithContext

func (o ReverseIpv4Output) ToReverseIpv4OutputWithContext(ctx context.Context) ReverseIpv4Output

type ReverseIpv4State

type ReverseIpv4State struct {
	// The gateway IP address.
	Gateway pulumi.StringPtrInput
	// The ID of the instance you want to set an IPv4
	// reverse DNS record for.
	InstanceId pulumi.StringPtrInput
	// The IPv4 address used in the reverse DNS record.
	Ip pulumi.StringPtrInput
	// The IPv4 netmask in dot-decimal notation.
	Netmask pulumi.StringPtrInput
	// The hostname used in the IPv4 reverse DNS record.
	Reverse pulumi.StringPtrInput
}

func (ReverseIpv4State) ElementType

func (ReverseIpv4State) ElementType() reflect.Type

type ReverseIpv6

type ReverseIpv6 struct {
	pulumi.CustomResourceState

	// The ID of the server you want to set an IPv6
	// reverse DNS record for.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The IPv6 address used in the reverse DNS record.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// The hostname used in the IPv6 reverse DNS record.
	Reverse pulumi.StringOutput `pulumi:"reverse"`
}

Provides a Vultr Reverse IPv6 resource. This can be used to create, read, modify, and delete reverse DNS records for IPv6 addresses. Upon success, DNS changes may take 6-12 hours to become active.

func GetReverseIpv6

func GetReverseIpv6(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReverseIpv6State, opts ...pulumi.ResourceOption) (*ReverseIpv6, error)

GetReverseIpv6 gets an existing ReverseIpv6 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 NewReverseIpv6

func NewReverseIpv6(ctx *pulumi.Context,
	name string, args *ReverseIpv6Args, opts ...pulumi.ResourceOption) (*ReverseIpv6, error)

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

func (*ReverseIpv6) ElementType

func (*ReverseIpv6) ElementType() reflect.Type

func (*ReverseIpv6) ToReverseIpv6Output

func (i *ReverseIpv6) ToReverseIpv6Output() ReverseIpv6Output

func (*ReverseIpv6) ToReverseIpv6OutputWithContext

func (i *ReverseIpv6) ToReverseIpv6OutputWithContext(ctx context.Context) ReverseIpv6Output

type ReverseIpv6Args

type ReverseIpv6Args struct {
	// The ID of the server you want to set an IPv6
	// reverse DNS record for.
	InstanceId pulumi.StringInput
	// The IPv6 address used in the reverse DNS record.
	Ip pulumi.StringInput
	// The hostname used in the IPv6 reverse DNS record.
	Reverse pulumi.StringInput
}

The set of arguments for constructing a ReverseIpv6 resource.

func (ReverseIpv6Args) ElementType

func (ReverseIpv6Args) ElementType() reflect.Type

type ReverseIpv6Array

type ReverseIpv6Array []ReverseIpv6Input

func (ReverseIpv6Array) ElementType

func (ReverseIpv6Array) ElementType() reflect.Type

func (ReverseIpv6Array) ToReverseIpv6ArrayOutput

func (i ReverseIpv6Array) ToReverseIpv6ArrayOutput() ReverseIpv6ArrayOutput

func (ReverseIpv6Array) ToReverseIpv6ArrayOutputWithContext

func (i ReverseIpv6Array) ToReverseIpv6ArrayOutputWithContext(ctx context.Context) ReverseIpv6ArrayOutput

type ReverseIpv6ArrayInput

type ReverseIpv6ArrayInput interface {
	pulumi.Input

	ToReverseIpv6ArrayOutput() ReverseIpv6ArrayOutput
	ToReverseIpv6ArrayOutputWithContext(context.Context) ReverseIpv6ArrayOutput
}

ReverseIpv6ArrayInput is an input type that accepts ReverseIpv6Array and ReverseIpv6ArrayOutput values. You can construct a concrete instance of `ReverseIpv6ArrayInput` via:

ReverseIpv6Array{ ReverseIpv6Args{...} }

type ReverseIpv6ArrayOutput

type ReverseIpv6ArrayOutput struct{ *pulumi.OutputState }

func (ReverseIpv6ArrayOutput) ElementType

func (ReverseIpv6ArrayOutput) ElementType() reflect.Type

func (ReverseIpv6ArrayOutput) Index

func (ReverseIpv6ArrayOutput) ToReverseIpv6ArrayOutput

func (o ReverseIpv6ArrayOutput) ToReverseIpv6ArrayOutput() ReverseIpv6ArrayOutput

func (ReverseIpv6ArrayOutput) ToReverseIpv6ArrayOutputWithContext

func (o ReverseIpv6ArrayOutput) ToReverseIpv6ArrayOutputWithContext(ctx context.Context) ReverseIpv6ArrayOutput

type ReverseIpv6Input

type ReverseIpv6Input interface {
	pulumi.Input

	ToReverseIpv6Output() ReverseIpv6Output
	ToReverseIpv6OutputWithContext(ctx context.Context) ReverseIpv6Output
}

type ReverseIpv6Map

type ReverseIpv6Map map[string]ReverseIpv6Input

func (ReverseIpv6Map) ElementType

func (ReverseIpv6Map) ElementType() reflect.Type

func (ReverseIpv6Map) ToReverseIpv6MapOutput

func (i ReverseIpv6Map) ToReverseIpv6MapOutput() ReverseIpv6MapOutput

func (ReverseIpv6Map) ToReverseIpv6MapOutputWithContext

func (i ReverseIpv6Map) ToReverseIpv6MapOutputWithContext(ctx context.Context) ReverseIpv6MapOutput

type ReverseIpv6MapInput

type ReverseIpv6MapInput interface {
	pulumi.Input

	ToReverseIpv6MapOutput() ReverseIpv6MapOutput
	ToReverseIpv6MapOutputWithContext(context.Context) ReverseIpv6MapOutput
}

ReverseIpv6MapInput is an input type that accepts ReverseIpv6Map and ReverseIpv6MapOutput values. You can construct a concrete instance of `ReverseIpv6MapInput` via:

ReverseIpv6Map{ "key": ReverseIpv6Args{...} }

type ReverseIpv6MapOutput

type ReverseIpv6MapOutput struct{ *pulumi.OutputState }

func (ReverseIpv6MapOutput) ElementType

func (ReverseIpv6MapOutput) ElementType() reflect.Type

func (ReverseIpv6MapOutput) MapIndex

func (ReverseIpv6MapOutput) ToReverseIpv6MapOutput

func (o ReverseIpv6MapOutput) ToReverseIpv6MapOutput() ReverseIpv6MapOutput

func (ReverseIpv6MapOutput) ToReverseIpv6MapOutputWithContext

func (o ReverseIpv6MapOutput) ToReverseIpv6MapOutputWithContext(ctx context.Context) ReverseIpv6MapOutput

type ReverseIpv6Output

type ReverseIpv6Output struct{ *pulumi.OutputState }

func (ReverseIpv6Output) ElementType

func (ReverseIpv6Output) ElementType() reflect.Type

func (ReverseIpv6Output) InstanceId

func (o ReverseIpv6Output) InstanceId() pulumi.StringOutput

The ID of the server you want to set an IPv6 reverse DNS record for.

func (ReverseIpv6Output) Ip

The IPv6 address used in the reverse DNS record.

func (ReverseIpv6Output) Reverse

The hostname used in the IPv6 reverse DNS record.

func (ReverseIpv6Output) ToReverseIpv6Output

func (o ReverseIpv6Output) ToReverseIpv6Output() ReverseIpv6Output

func (ReverseIpv6Output) ToReverseIpv6OutputWithContext

func (o ReverseIpv6Output) ToReverseIpv6OutputWithContext(ctx context.Context) ReverseIpv6Output

type ReverseIpv6State

type ReverseIpv6State struct {
	// The ID of the server you want to set an IPv6
	// reverse DNS record for.
	InstanceId pulumi.StringPtrInput
	// The IPv6 address used in the reverse DNS record.
	Ip pulumi.StringPtrInput
	// The hostname used in the IPv6 reverse DNS record.
	Reverse pulumi.StringPtrInput
}

func (ReverseIpv6State) ElementType

func (ReverseIpv6State) ElementType() reflect.Type

type SSHKey added in v2.12.1

type SSHKey struct {
	pulumi.CustomResourceState

	// The date the SSH key was added to your Vultr account.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The name/label of the SSH key.
	Name pulumi.StringOutput `pulumi:"name"`
	// The public SSH key.
	SshKey pulumi.StringOutput `pulumi:"sshKey"`
}

Provides a Vultr SSH key resource. This can be used to create, read, modify, and delete SSH keys.

## Example Usage

Create an SSH key

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewSSHKey(ctx, "mySshKey", &vultr.SSHKeyArgs{
			SshKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyVGaw1PuEl98f4/7Kq3O9ZIvDw2OFOSXAFVqilSFNkHlefm1iMtPeqsIBp2t9cbGUf55xNDULz/bD/4BCV43yZ5lh0cUYuXALg9NI29ui7PEGReXjSpNwUD6ceN/78YOK41KAcecq+SS0bJ4b4amKZIJG3JWmDKljtv1dmSBCrTmEAQaOorxqGGBYmZS7NQumRe4lav5r6wOs8OACMANE1ejkeZsGFzJFNqvr5DuHdDL5FAudW23me3BDmrM9ifUzzjl1Jwku3bnRaCcjaxH8oTumt1a00mWci/1qUlaVFft085yvVq7KZbF2OPPbl+erDW91+EZ2FgEi+v1/CSJ5 your_username@hostname"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SSH keys can be imported using the SSH key `ID`, e.g.

```sh

$ pulumi import vultr:index/sSHKey:SSHKey my_key 6b0876a7-f709-41ba-aed8-abed9d38ae45

```

func GetSSHKey added in v2.12.1

func GetSSHKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SSHKeyState, opts ...pulumi.ResourceOption) (*SSHKey, error)

GetSSHKey gets an existing SSHKey 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 NewSSHKey added in v2.12.1

func NewSSHKey(ctx *pulumi.Context,
	name string, args *SSHKeyArgs, opts ...pulumi.ResourceOption) (*SSHKey, error)

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

func (*SSHKey) ElementType added in v2.12.1

func (*SSHKey) ElementType() reflect.Type

func (*SSHKey) ToSSHKeyOutput added in v2.12.1

func (i *SSHKey) ToSSHKeyOutput() SSHKeyOutput

func (*SSHKey) ToSSHKeyOutputWithContext added in v2.12.1

func (i *SSHKey) ToSSHKeyOutputWithContext(ctx context.Context) SSHKeyOutput

type SSHKeyArgs added in v2.12.1

type SSHKeyArgs struct {
	// The name/label of the SSH key.
	Name pulumi.StringPtrInput
	// The public SSH key.
	SshKey pulumi.StringInput
}

The set of arguments for constructing a SSHKey resource.

func (SSHKeyArgs) ElementType added in v2.12.1

func (SSHKeyArgs) ElementType() reflect.Type

type SSHKeyArray added in v2.12.1

type SSHKeyArray []SSHKeyInput

func (SSHKeyArray) ElementType added in v2.12.1

func (SSHKeyArray) ElementType() reflect.Type

func (SSHKeyArray) ToSSHKeyArrayOutput added in v2.12.1

func (i SSHKeyArray) ToSSHKeyArrayOutput() SSHKeyArrayOutput

func (SSHKeyArray) ToSSHKeyArrayOutputWithContext added in v2.12.1

func (i SSHKeyArray) ToSSHKeyArrayOutputWithContext(ctx context.Context) SSHKeyArrayOutput

type SSHKeyArrayInput added in v2.12.1

type SSHKeyArrayInput interface {
	pulumi.Input

	ToSSHKeyArrayOutput() SSHKeyArrayOutput
	ToSSHKeyArrayOutputWithContext(context.Context) SSHKeyArrayOutput
}

SSHKeyArrayInput is an input type that accepts SSHKeyArray and SSHKeyArrayOutput values. You can construct a concrete instance of `SSHKeyArrayInput` via:

SSHKeyArray{ SSHKeyArgs{...} }

type SSHKeyArrayOutput added in v2.12.1

type SSHKeyArrayOutput struct{ *pulumi.OutputState }

func (SSHKeyArrayOutput) ElementType added in v2.12.1

func (SSHKeyArrayOutput) ElementType() reflect.Type

func (SSHKeyArrayOutput) Index added in v2.12.1

func (SSHKeyArrayOutput) ToSSHKeyArrayOutput added in v2.12.1

func (o SSHKeyArrayOutput) ToSSHKeyArrayOutput() SSHKeyArrayOutput

func (SSHKeyArrayOutput) ToSSHKeyArrayOutputWithContext added in v2.12.1

func (o SSHKeyArrayOutput) ToSSHKeyArrayOutputWithContext(ctx context.Context) SSHKeyArrayOutput

type SSHKeyInput added in v2.12.1

type SSHKeyInput interface {
	pulumi.Input

	ToSSHKeyOutput() SSHKeyOutput
	ToSSHKeyOutputWithContext(ctx context.Context) SSHKeyOutput
}

type SSHKeyMap added in v2.12.1

type SSHKeyMap map[string]SSHKeyInput

func (SSHKeyMap) ElementType added in v2.12.1

func (SSHKeyMap) ElementType() reflect.Type

func (SSHKeyMap) ToSSHKeyMapOutput added in v2.12.1

func (i SSHKeyMap) ToSSHKeyMapOutput() SSHKeyMapOutput

func (SSHKeyMap) ToSSHKeyMapOutputWithContext added in v2.12.1

func (i SSHKeyMap) ToSSHKeyMapOutputWithContext(ctx context.Context) SSHKeyMapOutput

type SSHKeyMapInput added in v2.12.1

type SSHKeyMapInput interface {
	pulumi.Input

	ToSSHKeyMapOutput() SSHKeyMapOutput
	ToSSHKeyMapOutputWithContext(context.Context) SSHKeyMapOutput
}

SSHKeyMapInput is an input type that accepts SSHKeyMap and SSHKeyMapOutput values. You can construct a concrete instance of `SSHKeyMapInput` via:

SSHKeyMap{ "key": SSHKeyArgs{...} }

type SSHKeyMapOutput added in v2.12.1

type SSHKeyMapOutput struct{ *pulumi.OutputState }

func (SSHKeyMapOutput) ElementType added in v2.12.1

func (SSHKeyMapOutput) ElementType() reflect.Type

func (SSHKeyMapOutput) MapIndex added in v2.12.1

func (SSHKeyMapOutput) ToSSHKeyMapOutput added in v2.12.1

func (o SSHKeyMapOutput) ToSSHKeyMapOutput() SSHKeyMapOutput

func (SSHKeyMapOutput) ToSSHKeyMapOutputWithContext added in v2.12.1

func (o SSHKeyMapOutput) ToSSHKeyMapOutputWithContext(ctx context.Context) SSHKeyMapOutput

type SSHKeyOutput added in v2.12.1

type SSHKeyOutput struct{ *pulumi.OutputState }

func (SSHKeyOutput) DateCreated added in v2.12.1

func (o SSHKeyOutput) DateCreated() pulumi.StringOutput

The date the SSH key was added to your Vultr account.

func (SSHKeyOutput) ElementType added in v2.12.1

func (SSHKeyOutput) ElementType() reflect.Type

func (SSHKeyOutput) Name added in v2.12.1

func (o SSHKeyOutput) Name() pulumi.StringOutput

The name/label of the SSH key.

func (SSHKeyOutput) SshKey added in v2.12.1

func (o SSHKeyOutput) SshKey() pulumi.StringOutput

The public SSH key.

func (SSHKeyOutput) ToSSHKeyOutput added in v2.12.1

func (o SSHKeyOutput) ToSSHKeyOutput() SSHKeyOutput

func (SSHKeyOutput) ToSSHKeyOutputWithContext added in v2.12.1

func (o SSHKeyOutput) ToSSHKeyOutputWithContext(ctx context.Context) SSHKeyOutput

type SSHKeyState added in v2.12.1

type SSHKeyState struct {
	// The date the SSH key was added to your Vultr account.
	DateCreated pulumi.StringPtrInput
	// The name/label of the SSH key.
	Name pulumi.StringPtrInput
	// The public SSH key.
	SshKey pulumi.StringPtrInput
}

func (SSHKeyState) ElementType added in v2.12.1

func (SSHKeyState) ElementType() reflect.Type

type Snapshot

type Snapshot struct {
	pulumi.CustomResourceState

	// The app id which the snapshot is associated with.
	AppId pulumi.IntOutput `pulumi:"appId"`
	// The date the snapshot was created.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The description for the given snapshot.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// ID of a given instance that you want to create a snapshot from.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The os id which the snapshot is associated with.
	OsId pulumi.IntOutput `pulumi:"osId"`
	// The size of the snapshot in Bytes.
	Size pulumi.IntOutput `pulumi:"size"`
	// The status for the given snapshot.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Vultr Snapshot resource. This can be used to create, read, modify, and delete Snapshot.

## Example Usage

Create a new Snapshot

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myInstance, err := vultr.NewInstance(ctx, "myInstance", &vultr.InstanceArgs{
			Label:  pulumi.String("my_instance"),
			OsId:   pulumi.Int(167),
			Plan:   pulumi.String("201"),
			Region: pulumi.String("ewr"),
		})
		if err != nil {
			return err
		}
		_, err = vultr.NewSnapshot(ctx, "mySnapshot", &vultr.SnapshotArgs{
			Description: pulumi.String("my instances snapshot"),
			InstanceId:  myInstance.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Snapshots can be imported using the Snapshot `ID`, e.g.

```sh

$ pulumi import vultr:index/snapshot:Snapshot my_snapshot 283941e8-0783-410e-9540-71c86b833992

```

func GetSnapshot

func GetSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)

GetSnapshot gets an existing Snapshot 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 NewSnapshot

func NewSnapshot(ctx *pulumi.Context,
	name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)

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

func (*Snapshot) ElementType

func (*Snapshot) ElementType() reflect.Type

func (*Snapshot) ToSnapshotOutput

func (i *Snapshot) ToSnapshotOutput() SnapshotOutput

func (*Snapshot) ToSnapshotOutputWithContext

func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotArgs

type SnapshotArgs struct {
	// The description for the given snapshot.
	Description pulumi.StringPtrInput
	// ID of a given instance that you want to create a snapshot from.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a Snapshot resource.

func (SnapshotArgs) ElementType

func (SnapshotArgs) ElementType() reflect.Type

type SnapshotArray

type SnapshotArray []SnapshotInput

func (SnapshotArray) ElementType

func (SnapshotArray) ElementType() reflect.Type

func (SnapshotArray) ToSnapshotArrayOutput

func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArray) ToSnapshotArrayOutputWithContext

func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotArrayInput

type SnapshotArrayInput interface {
	pulumi.Input

	ToSnapshotArrayOutput() SnapshotArrayOutput
	ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput
}

SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:

SnapshotArray{ SnapshotArgs{...} }

type SnapshotArrayOutput

type SnapshotArrayOutput struct{ *pulumi.OutputState }

func (SnapshotArrayOutput) ElementType

func (SnapshotArrayOutput) ElementType() reflect.Type

func (SnapshotArrayOutput) Index

func (SnapshotArrayOutput) ToSnapshotArrayOutput

func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext

func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotFromUrl

type SnapshotFromUrl struct {
	pulumi.CustomResourceState

	// The app id which the snapshot is associated with.
	AppId pulumi.IntOutput `pulumi:"appId"`
	// The date the snapshot was created.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The description for the given snapshot.
	Description pulumi.StringOutput `pulumi:"description"`
	// The os id which the snapshot is associated with.
	OsId pulumi.IntOutput `pulumi:"osId"`
	// The size of the snapshot in Bytes.
	Size pulumi.IntOutput `pulumi:"size"`
	// The status for the given snapshot.
	Status pulumi.StringOutput `pulumi:"status"`
	// URL of the given resource you want to create a snapshot from.
	Url pulumi.StringOutput `pulumi:"url"`
}

Provides a Vultr Snapshots from URL resource. This can be used to create, read, modify, and delete Snapshots from URL.

## Example Usage

Create a new Snapshots from URL

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewSnapshotFromUrl(ctx, "mySnapshot", &vultr.SnapshotFromUrlArgs{
			Url: pulumi.String("http://dl-cdn.alpinelinux.org/alpine/v3.9/releases/x86_64/alpine-virt-3.9.1-x86_64.iso"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Snapshots from Url can be imported using the Snapshot `ID`, e.g.

```sh

$ pulumi import vultr:index/snapshotFromUrl:SnapshotFromUrl my_snapshot e60dc0a2-9313-4bab-bffc-57ffe33d99f6

```

func GetSnapshotFromUrl

func GetSnapshotFromUrl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotFromUrlState, opts ...pulumi.ResourceOption) (*SnapshotFromUrl, error)

GetSnapshotFromUrl gets an existing SnapshotFromUrl 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 NewSnapshotFromUrl

func NewSnapshotFromUrl(ctx *pulumi.Context,
	name string, args *SnapshotFromUrlArgs, opts ...pulumi.ResourceOption) (*SnapshotFromUrl, error)

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

func (*SnapshotFromUrl) ElementType

func (*SnapshotFromUrl) ElementType() reflect.Type

func (*SnapshotFromUrl) ToSnapshotFromUrlOutput

func (i *SnapshotFromUrl) ToSnapshotFromUrlOutput() SnapshotFromUrlOutput

func (*SnapshotFromUrl) ToSnapshotFromUrlOutputWithContext

func (i *SnapshotFromUrl) ToSnapshotFromUrlOutputWithContext(ctx context.Context) SnapshotFromUrlOutput

type SnapshotFromUrlArgs

type SnapshotFromUrlArgs struct {
	// URL of the given resource you want to create a snapshot from.
	Url pulumi.StringInput
}

The set of arguments for constructing a SnapshotFromUrl resource.

func (SnapshotFromUrlArgs) ElementType

func (SnapshotFromUrlArgs) ElementType() reflect.Type

type SnapshotFromUrlArray

type SnapshotFromUrlArray []SnapshotFromUrlInput

func (SnapshotFromUrlArray) ElementType

func (SnapshotFromUrlArray) ElementType() reflect.Type

func (SnapshotFromUrlArray) ToSnapshotFromUrlArrayOutput

func (i SnapshotFromUrlArray) ToSnapshotFromUrlArrayOutput() SnapshotFromUrlArrayOutput

func (SnapshotFromUrlArray) ToSnapshotFromUrlArrayOutputWithContext

func (i SnapshotFromUrlArray) ToSnapshotFromUrlArrayOutputWithContext(ctx context.Context) SnapshotFromUrlArrayOutput

type SnapshotFromUrlArrayInput

type SnapshotFromUrlArrayInput interface {
	pulumi.Input

	ToSnapshotFromUrlArrayOutput() SnapshotFromUrlArrayOutput
	ToSnapshotFromUrlArrayOutputWithContext(context.Context) SnapshotFromUrlArrayOutput
}

SnapshotFromUrlArrayInput is an input type that accepts SnapshotFromUrlArray and SnapshotFromUrlArrayOutput values. You can construct a concrete instance of `SnapshotFromUrlArrayInput` via:

SnapshotFromUrlArray{ SnapshotFromUrlArgs{...} }

type SnapshotFromUrlArrayOutput

type SnapshotFromUrlArrayOutput struct{ *pulumi.OutputState }

func (SnapshotFromUrlArrayOutput) ElementType

func (SnapshotFromUrlArrayOutput) ElementType() reflect.Type

func (SnapshotFromUrlArrayOutput) Index

func (SnapshotFromUrlArrayOutput) ToSnapshotFromUrlArrayOutput

func (o SnapshotFromUrlArrayOutput) ToSnapshotFromUrlArrayOutput() SnapshotFromUrlArrayOutput

func (SnapshotFromUrlArrayOutput) ToSnapshotFromUrlArrayOutputWithContext

func (o SnapshotFromUrlArrayOutput) ToSnapshotFromUrlArrayOutputWithContext(ctx context.Context) SnapshotFromUrlArrayOutput

type SnapshotFromUrlInput

type SnapshotFromUrlInput interface {
	pulumi.Input

	ToSnapshotFromUrlOutput() SnapshotFromUrlOutput
	ToSnapshotFromUrlOutputWithContext(ctx context.Context) SnapshotFromUrlOutput
}

type SnapshotFromUrlMap

type SnapshotFromUrlMap map[string]SnapshotFromUrlInput

func (SnapshotFromUrlMap) ElementType

func (SnapshotFromUrlMap) ElementType() reflect.Type

func (SnapshotFromUrlMap) ToSnapshotFromUrlMapOutput

func (i SnapshotFromUrlMap) ToSnapshotFromUrlMapOutput() SnapshotFromUrlMapOutput

func (SnapshotFromUrlMap) ToSnapshotFromUrlMapOutputWithContext

func (i SnapshotFromUrlMap) ToSnapshotFromUrlMapOutputWithContext(ctx context.Context) SnapshotFromUrlMapOutput

type SnapshotFromUrlMapInput

type SnapshotFromUrlMapInput interface {
	pulumi.Input

	ToSnapshotFromUrlMapOutput() SnapshotFromUrlMapOutput
	ToSnapshotFromUrlMapOutputWithContext(context.Context) SnapshotFromUrlMapOutput
}

SnapshotFromUrlMapInput is an input type that accepts SnapshotFromUrlMap and SnapshotFromUrlMapOutput values. You can construct a concrete instance of `SnapshotFromUrlMapInput` via:

SnapshotFromUrlMap{ "key": SnapshotFromUrlArgs{...} }

type SnapshotFromUrlMapOutput

type SnapshotFromUrlMapOutput struct{ *pulumi.OutputState }

func (SnapshotFromUrlMapOutput) ElementType

func (SnapshotFromUrlMapOutput) ElementType() reflect.Type

func (SnapshotFromUrlMapOutput) MapIndex

func (SnapshotFromUrlMapOutput) ToSnapshotFromUrlMapOutput

func (o SnapshotFromUrlMapOutput) ToSnapshotFromUrlMapOutput() SnapshotFromUrlMapOutput

func (SnapshotFromUrlMapOutput) ToSnapshotFromUrlMapOutputWithContext

func (o SnapshotFromUrlMapOutput) ToSnapshotFromUrlMapOutputWithContext(ctx context.Context) SnapshotFromUrlMapOutput

type SnapshotFromUrlOutput

type SnapshotFromUrlOutput struct{ *pulumi.OutputState }

func (SnapshotFromUrlOutput) AppId

The app id which the snapshot is associated with.

func (SnapshotFromUrlOutput) DateCreated

func (o SnapshotFromUrlOutput) DateCreated() pulumi.StringOutput

The date the snapshot was created.

func (SnapshotFromUrlOutput) Description

func (o SnapshotFromUrlOutput) Description() pulumi.StringOutput

The description for the given snapshot.

func (SnapshotFromUrlOutput) ElementType

func (SnapshotFromUrlOutput) ElementType() reflect.Type

func (SnapshotFromUrlOutput) OsId

The os id which the snapshot is associated with.

func (SnapshotFromUrlOutput) Size

The size of the snapshot in Bytes.

func (SnapshotFromUrlOutput) Status

The status for the given snapshot.

func (SnapshotFromUrlOutput) ToSnapshotFromUrlOutput

func (o SnapshotFromUrlOutput) ToSnapshotFromUrlOutput() SnapshotFromUrlOutput

func (SnapshotFromUrlOutput) ToSnapshotFromUrlOutputWithContext

func (o SnapshotFromUrlOutput) ToSnapshotFromUrlOutputWithContext(ctx context.Context) SnapshotFromUrlOutput

func (SnapshotFromUrlOutput) Url

URL of the given resource you want to create a snapshot from.

type SnapshotFromUrlState

type SnapshotFromUrlState struct {
	// The app id which the snapshot is associated with.
	AppId pulumi.IntPtrInput
	// The date the snapshot was created.
	DateCreated pulumi.StringPtrInput
	// The description for the given snapshot.
	Description pulumi.StringPtrInput
	// The os id which the snapshot is associated with.
	OsId pulumi.IntPtrInput
	// The size of the snapshot in Bytes.
	Size pulumi.IntPtrInput
	// The status for the given snapshot.
	Status pulumi.StringPtrInput
	// URL of the given resource you want to create a snapshot from.
	Url pulumi.StringPtrInput
}

func (SnapshotFromUrlState) ElementType

func (SnapshotFromUrlState) ElementType() reflect.Type

type SnapshotInput

type SnapshotInput interface {
	pulumi.Input

	ToSnapshotOutput() SnapshotOutput
	ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
}

type SnapshotMap

type SnapshotMap map[string]SnapshotInput

func (SnapshotMap) ElementType

func (SnapshotMap) ElementType() reflect.Type

func (SnapshotMap) ToSnapshotMapOutput

func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMap) ToSnapshotMapOutputWithContext

func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotMapInput

type SnapshotMapInput interface {
	pulumi.Input

	ToSnapshotMapOutput() SnapshotMapOutput
	ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput
}

SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:

SnapshotMap{ "key": SnapshotArgs{...} }

type SnapshotMapOutput

type SnapshotMapOutput struct{ *pulumi.OutputState }

func (SnapshotMapOutput) ElementType

func (SnapshotMapOutput) ElementType() reflect.Type

func (SnapshotMapOutput) MapIndex

func (SnapshotMapOutput) ToSnapshotMapOutput

func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMapOutput) ToSnapshotMapOutputWithContext

func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotOutput

type SnapshotOutput struct{ *pulumi.OutputState }

func (SnapshotOutput) AppId

func (o SnapshotOutput) AppId() pulumi.IntOutput

The app id which the snapshot is associated with.

func (SnapshotOutput) DateCreated

func (o SnapshotOutput) DateCreated() pulumi.StringOutput

The date the snapshot was created.

func (SnapshotOutput) Description

func (o SnapshotOutput) Description() pulumi.StringPtrOutput

The description for the given snapshot.

func (SnapshotOutput) ElementType

func (SnapshotOutput) ElementType() reflect.Type

func (SnapshotOutput) InstanceId

func (o SnapshotOutput) InstanceId() pulumi.StringOutput

ID of a given instance that you want to create a snapshot from.

func (SnapshotOutput) OsId

func (o SnapshotOutput) OsId() pulumi.IntOutput

The os id which the snapshot is associated with.

func (SnapshotOutput) Size

func (o SnapshotOutput) Size() pulumi.IntOutput

The size of the snapshot in Bytes.

func (SnapshotOutput) Status

func (o SnapshotOutput) Status() pulumi.StringOutput

The status for the given snapshot.

func (SnapshotOutput) ToSnapshotOutput

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext

func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

type SnapshotState

type SnapshotState struct {
	// The app id which the snapshot is associated with.
	AppId pulumi.IntPtrInput
	// The date the snapshot was created.
	DateCreated pulumi.StringPtrInput
	// The description for the given snapshot.
	Description pulumi.StringPtrInput
	// ID of a given instance that you want to create a snapshot from.
	InstanceId pulumi.StringPtrInput
	// The os id which the snapshot is associated with.
	OsId pulumi.IntPtrInput
	// The size of the snapshot in Bytes.
	Size pulumi.IntPtrInput
	// The status for the given snapshot.
	Status pulumi.StringPtrInput
}

func (SnapshotState) ElementType

func (SnapshotState) ElementType() reflect.Type

type StartupScript

type StartupScript struct {
	pulumi.CustomResourceState

	// Date the script was created.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// Date the script was last modified.
	DateModified pulumi.StringOutput `pulumi:"dateModified"`
	// Name of the given script.
	Name pulumi.StringOutput `pulumi:"name"`
	// Contents of the startup script base64 encoded.
	Script pulumi.StringOutput `pulumi:"script"`
	// Type of startup script. Possible values are boot or pxe - default is boot.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Provides a Vultr Startup Script resource. This can be used to create, read, modify, and delete Startup Scripts.

## Example Usage

Create a new Startup Script

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewStartupScript(ctx, "myScript", &vultr.StartupScriptArgs{
			Script: pulumi.String("ZWNobyAkUEFUSAo="),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Startup Scripts can be imported using the Startup Scripts `ID`, e.g.

```sh

$ pulumi import vultr:index/startupScript:StartupScript my_script ff8f36a8-eb86-4b8d-8667-b9d5459b6390

```

func GetStartupScript

func GetStartupScript(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StartupScriptState, opts ...pulumi.ResourceOption) (*StartupScript, error)

GetStartupScript gets an existing StartupScript 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 NewStartupScript

func NewStartupScript(ctx *pulumi.Context,
	name string, args *StartupScriptArgs, opts ...pulumi.ResourceOption) (*StartupScript, error)

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

func (*StartupScript) ElementType

func (*StartupScript) ElementType() reflect.Type

func (*StartupScript) ToStartupScriptOutput

func (i *StartupScript) ToStartupScriptOutput() StartupScriptOutput

func (*StartupScript) ToStartupScriptOutputWithContext

func (i *StartupScript) ToStartupScriptOutputWithContext(ctx context.Context) StartupScriptOutput

type StartupScriptArgs

type StartupScriptArgs struct {
	// Name of the given script.
	Name pulumi.StringPtrInput
	// Contents of the startup script base64 encoded.
	Script pulumi.StringInput
	// Type of startup script. Possible values are boot or pxe - default is boot.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a StartupScript resource.

func (StartupScriptArgs) ElementType

func (StartupScriptArgs) ElementType() reflect.Type

type StartupScriptArray

type StartupScriptArray []StartupScriptInput

func (StartupScriptArray) ElementType

func (StartupScriptArray) ElementType() reflect.Type

func (StartupScriptArray) ToStartupScriptArrayOutput

func (i StartupScriptArray) ToStartupScriptArrayOutput() StartupScriptArrayOutput

func (StartupScriptArray) ToStartupScriptArrayOutputWithContext

func (i StartupScriptArray) ToStartupScriptArrayOutputWithContext(ctx context.Context) StartupScriptArrayOutput

type StartupScriptArrayInput

type StartupScriptArrayInput interface {
	pulumi.Input

	ToStartupScriptArrayOutput() StartupScriptArrayOutput
	ToStartupScriptArrayOutputWithContext(context.Context) StartupScriptArrayOutput
}

StartupScriptArrayInput is an input type that accepts StartupScriptArray and StartupScriptArrayOutput values. You can construct a concrete instance of `StartupScriptArrayInput` via:

StartupScriptArray{ StartupScriptArgs{...} }

type StartupScriptArrayOutput

type StartupScriptArrayOutput struct{ *pulumi.OutputState }

func (StartupScriptArrayOutput) ElementType

func (StartupScriptArrayOutput) ElementType() reflect.Type

func (StartupScriptArrayOutput) Index

func (StartupScriptArrayOutput) ToStartupScriptArrayOutput

func (o StartupScriptArrayOutput) ToStartupScriptArrayOutput() StartupScriptArrayOutput

func (StartupScriptArrayOutput) ToStartupScriptArrayOutputWithContext

func (o StartupScriptArrayOutput) ToStartupScriptArrayOutputWithContext(ctx context.Context) StartupScriptArrayOutput

type StartupScriptInput

type StartupScriptInput interface {
	pulumi.Input

	ToStartupScriptOutput() StartupScriptOutput
	ToStartupScriptOutputWithContext(ctx context.Context) StartupScriptOutput
}

type StartupScriptMap

type StartupScriptMap map[string]StartupScriptInput

func (StartupScriptMap) ElementType

func (StartupScriptMap) ElementType() reflect.Type

func (StartupScriptMap) ToStartupScriptMapOutput

func (i StartupScriptMap) ToStartupScriptMapOutput() StartupScriptMapOutput

func (StartupScriptMap) ToStartupScriptMapOutputWithContext

func (i StartupScriptMap) ToStartupScriptMapOutputWithContext(ctx context.Context) StartupScriptMapOutput

type StartupScriptMapInput

type StartupScriptMapInput interface {
	pulumi.Input

	ToStartupScriptMapOutput() StartupScriptMapOutput
	ToStartupScriptMapOutputWithContext(context.Context) StartupScriptMapOutput
}

StartupScriptMapInput is an input type that accepts StartupScriptMap and StartupScriptMapOutput values. You can construct a concrete instance of `StartupScriptMapInput` via:

StartupScriptMap{ "key": StartupScriptArgs{...} }

type StartupScriptMapOutput

type StartupScriptMapOutput struct{ *pulumi.OutputState }

func (StartupScriptMapOutput) ElementType

func (StartupScriptMapOutput) ElementType() reflect.Type

func (StartupScriptMapOutput) MapIndex

func (StartupScriptMapOutput) ToStartupScriptMapOutput

func (o StartupScriptMapOutput) ToStartupScriptMapOutput() StartupScriptMapOutput

func (StartupScriptMapOutput) ToStartupScriptMapOutputWithContext

func (o StartupScriptMapOutput) ToStartupScriptMapOutputWithContext(ctx context.Context) StartupScriptMapOutput

type StartupScriptOutput

type StartupScriptOutput struct{ *pulumi.OutputState }

func (StartupScriptOutput) DateCreated

func (o StartupScriptOutput) DateCreated() pulumi.StringOutput

Date the script was created.

func (StartupScriptOutput) DateModified

func (o StartupScriptOutput) DateModified() pulumi.StringOutput

Date the script was last modified.

func (StartupScriptOutput) ElementType

func (StartupScriptOutput) ElementType() reflect.Type

func (StartupScriptOutput) Name

Name of the given script.

func (StartupScriptOutput) Script

Contents of the startup script base64 encoded.

func (StartupScriptOutput) ToStartupScriptOutput

func (o StartupScriptOutput) ToStartupScriptOutput() StartupScriptOutput

func (StartupScriptOutput) ToStartupScriptOutputWithContext

func (o StartupScriptOutput) ToStartupScriptOutputWithContext(ctx context.Context) StartupScriptOutput

func (StartupScriptOutput) Type

Type of startup script. Possible values are boot or pxe - default is boot.

type StartupScriptState

type StartupScriptState struct {
	// Date the script was created.
	DateCreated pulumi.StringPtrInput
	// Date the script was last modified.
	DateModified pulumi.StringPtrInput
	// Name of the given script.
	Name pulumi.StringPtrInput
	// Contents of the startup script base64 encoded.
	Script pulumi.StringPtrInput
	// Type of startup script. Possible values are boot or pxe - default is boot.
	Type pulumi.StringPtrInput
}

func (StartupScriptState) ElementType

func (StartupScriptState) ElementType() reflect.Type

type User

type User struct {
	pulumi.CustomResourceState

	// The access control list for the user.
	Acls pulumi.StringArrayOutput `pulumi:"acls"`
	// Whether API is enabled for the user. Default behavior is set to enabled.
	ApiEnabled pulumi.BoolPtrOutput `pulumi:"apiEnabled"`
	ApiKey     pulumi.StringOutput  `pulumi:"apiKey"`
	// Email for this user.
	Email pulumi.StringOutput `pulumi:"email"`
	// Name for this user.
	Name pulumi.StringOutput `pulumi:"name"`
	// Password for this user.
	Password pulumi.StringOutput `pulumi:"password"`
}

Provides a Vultr User resource. This can be used to create, read, modify, and delete Users.

## Example Usage

Create a new User without any ACLs

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewUser(ctx, "myUser", &vultr.UserArgs{
			ApiEnabled: pulumi.Bool(true),
			Email:      pulumi.String("user@vultr.com"),
			Password:   pulumi.String("myP@ssw0rd"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a new User with all ACLs

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewUser(ctx, "myUser", &vultr.UserArgs{
			Acls: pulumi.StringArray{
				pulumi.String("manage_users"),
				pulumi.String("subscriptions"),
				pulumi.String("provisioning"),
				pulumi.String("billing"),
				pulumi.String("support"),
				pulumi.String("abuse"),
				pulumi.String("dns"),
				pulumi.String("upgrade"),
			},
			ApiEnabled: pulumi.Bool(true),
			Email:      pulumi.String("user@vultr.com"),
			Password:   pulumi.String("myP@ssw0rd"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Users can be imported using the User `ID`, e.g.

```sh

$ pulumi import vultr:index/user:User myuser 1345fef0-8ed3-4a66-bd8c-822a7b7bd05a

```

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User 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 NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

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

func (*User) ElementType

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserArgs

type UserArgs struct {
	// The access control list for the user.
	Acls pulumi.StringArrayInput
	// Whether API is enabled for the user. Default behavior is set to enabled.
	ApiEnabled pulumi.BoolPtrInput
	// Email for this user.
	Email pulumi.StringInput
	// Name for this user.
	Name pulumi.StringPtrInput
	// Password for this user.
	Password pulumi.StringInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserArray

type UserArray []UserInput

func (UserArray) ElementType

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index

func (UserArrayOutput) ToUserArrayOutput

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap

type UserMap map[string]UserInput

func (UserMap) ElementType

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex

func (UserMapOutput) ToUserMapOutput

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) Acls

The access control list for the user.

func (UserOutput) ApiEnabled

func (o UserOutput) ApiEnabled() pulumi.BoolPtrOutput

Whether API is enabled for the user. Default behavior is set to enabled.

func (UserOutput) ApiKey

func (o UserOutput) ApiKey() pulumi.StringOutput

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Email

func (o UserOutput) Email() pulumi.StringOutput

Email for this user.

func (UserOutput) Name

func (o UserOutput) Name() pulumi.StringOutput

Name for this user.

func (UserOutput) Password

func (o UserOutput) Password() pulumi.StringOutput

Password for this user.

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserState

type UserState struct {
	// The access control list for the user.
	Acls pulumi.StringArrayInput
	// Whether API is enabled for the user. Default behavior is set to enabled.
	ApiEnabled pulumi.BoolPtrInput
	ApiKey     pulumi.StringPtrInput
	// Email for this user.
	Email pulumi.StringPtrInput
	// Name for this user.
	Name pulumi.StringPtrInput
	// Password for this user.
	Password pulumi.StringPtrInput
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

type Vpc

type Vpc struct {
	pulumi.CustomResourceState

	// The date that the VPC was added to your Vultr account.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The description you want to give your VPC.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The region ID that you want the VPC to be created in.
	Region pulumi.StringOutput `pulumi:"region"`
	// The IPv4 subnet to be used when attaching instances to this VPC.
	V4Subnet pulumi.StringOutput `pulumi:"v4Subnet"`
	// The number of bits for the netmask in CIDR notation. Example: 32
	V4SubnetMask pulumi.IntOutput `pulumi:"v4SubnetMask"`
}

Provides a Vultr VPC resource. This can be used to create, read, and delete VPCs on your Vultr account.

## Example Usage

Create a new VPC with an automatically generated CIDR block:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewVpc(ctx, "myVpc", &vultr.VpcArgs{
			Description: pulumi.String("my vpc"),
			Region:      pulumi.String("ewr"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a new VPC with a specified CIDR block:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewVpc(ctx, "myVpc", &vultr.VpcArgs{
			Description:  pulumi.String("my private vpc"),
			Region:       pulumi.String("ewr"),
			V4Subnet:     pulumi.String("10.0.0.0"),
			V4SubnetMask: pulumi.Int(24),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPCs can be imported using the VPC `ID`, e.g.

```sh

$ pulumi import vultr:index/vpc:Vpc my_vpc 0e04f918-575e-41cb-86f6-d729b354a5a1

```

func GetVpc

func GetVpc(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcState, opts ...pulumi.ResourceOption) (*Vpc, error)

GetVpc gets an existing Vpc 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 NewVpc

func NewVpc(ctx *pulumi.Context,
	name string, args *VpcArgs, opts ...pulumi.ResourceOption) (*Vpc, error)

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

func (*Vpc) ElementType

func (*Vpc) ElementType() reflect.Type

func (*Vpc) ToVpcOutput

func (i *Vpc) ToVpcOutput() VpcOutput

func (*Vpc) ToVpcOutputWithContext

func (i *Vpc) ToVpcOutputWithContext(ctx context.Context) VpcOutput

type Vpc2 added in v2.16.2

type Vpc2 struct {
	pulumi.CustomResourceState

	// The date that the VPC 2.0 was added to your Vultr account.
	DateCreated pulumi.StringOutput `pulumi:"dateCreated"`
	// The description you want to give your VPC 2.0.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The IPv4 subnet to be used when attaching instances to this VPC 2.0.
	IpBlock pulumi.StringOutput `pulumi:"ipBlock"`
	// Accepted values: `v4`.
	IpType pulumi.StringOutput `pulumi:"ipType"`
	// The number of bits for the netmask in CIDR notation. Example: 32
	PrefixLength pulumi.IntOutput `pulumi:"prefixLength"`
	// The region ID that you want the VPC 2.0 to be created in.
	Region pulumi.StringOutput `pulumi:"region"`
}

Provides a Vultr VPC 2.0 resource. This can be used to create, read, and delete VPCs 2.0 on your Vultr account.

## Example Usage

Create a new VPC 2.0 with an automatically generated CIDR block:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewVpc2(ctx, "myVpc2", &vultr.Vpc2Args{
			Description: pulumi.String("my vpc2"),
			Region:      pulumi.String("ewr"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a new VPC 2.0 with a specified CIDR block:

```go package main

import (

"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vultr.NewVpc2(ctx, "myVpc2", &vultr.Vpc2Args{
			Description:  pulumi.String("my private vpc2"),
			IpBlock:      pulumi.String("10.0.0.0"),
			PrefixLength: pulumi.Int(24),
			Region:       pulumi.String("ewr"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPCs 2.0 can be imported using the VPC 2.0 `ID`, e.g.

```sh

$ pulumi import vultr:index/vpc2:Vpc2 my_vpc2 0e04f918-575e-41cb-86f6-d729b354a5a1

```

func GetVpc2 added in v2.16.2

func GetVpc2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *Vpc2State, opts ...pulumi.ResourceOption) (*Vpc2, error)

GetVpc2 gets an existing Vpc2 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 NewVpc2 added in v2.16.2

func NewVpc2(ctx *pulumi.Context,
	name string, args *Vpc2Args, opts ...pulumi.ResourceOption) (*Vpc2, error)

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

func (*Vpc2) ElementType added in v2.16.2

func (*Vpc2) ElementType() reflect.Type

func (*Vpc2) ToVpc2Output added in v2.16.2

func (i *Vpc2) ToVpc2Output() Vpc2Output

func (*Vpc2) ToVpc2OutputWithContext added in v2.16.2

func (i *Vpc2) ToVpc2OutputWithContext(ctx context.Context) Vpc2Output

type Vpc2Args added in v2.16.2

type Vpc2Args struct {
	// The description you want to give your VPC 2.0.
	Description pulumi.StringPtrInput
	// The IPv4 subnet to be used when attaching instances to this VPC 2.0.
	IpBlock pulumi.StringPtrInput
	// Accepted values: `v4`.
	IpType pulumi.StringPtrInput
	// The number of bits for the netmask in CIDR notation. Example: 32
	PrefixLength pulumi.IntPtrInput
	// The region ID that you want the VPC 2.0 to be created in.
	Region pulumi.StringInput
}

The set of arguments for constructing a Vpc2 resource.

func (Vpc2Args) ElementType added in v2.16.2

func (Vpc2Args) ElementType() reflect.Type

type Vpc2Array added in v2.16.2

type Vpc2Array []Vpc2Input

func (Vpc2Array) ElementType added in v2.16.2

func (Vpc2Array) ElementType() reflect.Type

func (Vpc2Array) ToVpc2ArrayOutput added in v2.16.2

func (i Vpc2Array) ToVpc2ArrayOutput() Vpc2ArrayOutput

func (Vpc2Array) ToVpc2ArrayOutputWithContext added in v2.16.2

func (i Vpc2Array) ToVpc2ArrayOutputWithContext(ctx context.Context) Vpc2ArrayOutput

type Vpc2ArrayInput added in v2.16.2

type Vpc2ArrayInput interface {
	pulumi.Input

	ToVpc2ArrayOutput() Vpc2ArrayOutput
	ToVpc2ArrayOutputWithContext(context.Context) Vpc2ArrayOutput
}

Vpc2ArrayInput is an input type that accepts Vpc2Array and Vpc2ArrayOutput values. You can construct a concrete instance of `Vpc2ArrayInput` via:

Vpc2Array{ Vpc2Args{...} }

type Vpc2ArrayOutput added in v2.16.2

type Vpc2ArrayOutput struct{ *pulumi.OutputState }

func (Vpc2ArrayOutput) ElementType added in v2.16.2

func (Vpc2ArrayOutput) ElementType() reflect.Type

func (Vpc2ArrayOutput) Index added in v2.16.2

func (Vpc2ArrayOutput) ToVpc2ArrayOutput added in v2.16.2

func (o Vpc2ArrayOutput) ToVpc2ArrayOutput() Vpc2ArrayOutput

func (Vpc2ArrayOutput) ToVpc2ArrayOutputWithContext added in v2.16.2

func (o Vpc2ArrayOutput) ToVpc2ArrayOutputWithContext(ctx context.Context) Vpc2ArrayOutput

type Vpc2Input added in v2.16.2

type Vpc2Input interface {
	pulumi.Input

	ToVpc2Output() Vpc2Output
	ToVpc2OutputWithContext(ctx context.Context) Vpc2Output
}

type Vpc2Map added in v2.16.2

type Vpc2Map map[string]Vpc2Input

func (Vpc2Map) ElementType added in v2.16.2

func (Vpc2Map) ElementType() reflect.Type

func (Vpc2Map) ToVpc2MapOutput added in v2.16.2

func (i Vpc2Map) ToVpc2MapOutput() Vpc2MapOutput

func (Vpc2Map) ToVpc2MapOutputWithContext added in v2.16.2

func (i Vpc2Map) ToVpc2MapOutputWithContext(ctx context.Context) Vpc2MapOutput

type Vpc2MapInput added in v2.16.2

type Vpc2MapInput interface {
	pulumi.Input

	ToVpc2MapOutput() Vpc2MapOutput
	ToVpc2MapOutputWithContext(context.Context) Vpc2MapOutput
}

Vpc2MapInput is an input type that accepts Vpc2Map and Vpc2MapOutput values. You can construct a concrete instance of `Vpc2MapInput` via:

Vpc2Map{ "key": Vpc2Args{...} }

type Vpc2MapOutput added in v2.16.2

type Vpc2MapOutput struct{ *pulumi.OutputState }

func (Vpc2MapOutput) ElementType added in v2.16.2

func (Vpc2MapOutput) ElementType() reflect.Type

func (Vpc2MapOutput) MapIndex added in v2.16.2

func (Vpc2MapOutput) ToVpc2MapOutput added in v2.16.2

func (o Vpc2MapOutput) ToVpc2MapOutput() Vpc2MapOutput

func (Vpc2MapOutput) ToVpc2MapOutputWithContext added in v2.16.2

func (o Vpc2MapOutput) ToVpc2MapOutputWithContext(ctx context.Context) Vpc2MapOutput

type Vpc2Output added in v2.16.2

type Vpc2Output struct{ *pulumi.OutputState }

func (Vpc2Output) DateCreated added in v2.16.2

func (o Vpc2Output) DateCreated() pulumi.StringOutput

The date that the VPC 2.0 was added to your Vultr account.

func (Vpc2Output) Description added in v2.16.2

func (o Vpc2Output) Description() pulumi.StringPtrOutput

The description you want to give your VPC 2.0.

func (Vpc2Output) ElementType added in v2.16.2

func (Vpc2Output) ElementType() reflect.Type

func (Vpc2Output) IpBlock added in v2.16.2

func (o Vpc2Output) IpBlock() pulumi.StringOutput

The IPv4 subnet to be used when attaching instances to this VPC 2.0.

func (Vpc2Output) IpType added in v2.16.2

func (o Vpc2Output) IpType() pulumi.StringOutput

Accepted values: `v4`.

func (Vpc2Output) PrefixLength added in v2.16.2

func (o Vpc2Output) PrefixLength() pulumi.IntOutput

The number of bits for the netmask in CIDR notation. Example: 32

func (Vpc2Output) Region added in v2.16.2

func (o Vpc2Output) Region() pulumi.StringOutput

The region ID that you want the VPC 2.0 to be created in.

func (Vpc2Output) ToVpc2Output added in v2.16.2

func (o Vpc2Output) ToVpc2Output() Vpc2Output

func (Vpc2Output) ToVpc2OutputWithContext added in v2.16.2

func (o Vpc2Output) ToVpc2OutputWithContext(ctx context.Context) Vpc2Output

type Vpc2State added in v2.16.2

type Vpc2State struct {
	// The date that the VPC 2.0 was added to your Vultr account.
	DateCreated pulumi.StringPtrInput
	// The description you want to give your VPC 2.0.
	Description pulumi.StringPtrInput
	// The IPv4 subnet to be used when attaching instances to this VPC 2.0.
	IpBlock pulumi.StringPtrInput
	// Accepted values: `v4`.
	IpType pulumi.StringPtrInput
	// The number of bits for the netmask in CIDR notation. Example: 32
	PrefixLength pulumi.IntPtrInput
	// The region ID that you want the VPC 2.0 to be created in.
	Region pulumi.StringPtrInput
}

func (Vpc2State) ElementType added in v2.16.2

func (Vpc2State) ElementType() reflect.Type

type VpcArgs

type VpcArgs struct {
	// The description you want to give your VPC.
	Description pulumi.StringPtrInput
	// The region ID that you want the VPC to be created in.
	Region pulumi.StringInput
	// The IPv4 subnet to be used when attaching instances to this VPC.
	V4Subnet pulumi.StringPtrInput
	// The number of bits for the netmask in CIDR notation. Example: 32
	V4SubnetMask pulumi.IntPtrInput
}

The set of arguments for constructing a Vpc resource.

func (VpcArgs) ElementType

func (VpcArgs) ElementType() reflect.Type

type VpcArray

type VpcArray []VpcInput

func (VpcArray) ElementType

func (VpcArray) ElementType() reflect.Type

func (VpcArray) ToVpcArrayOutput

func (i VpcArray) ToVpcArrayOutput() VpcArrayOutput

func (VpcArray) ToVpcArrayOutputWithContext

func (i VpcArray) ToVpcArrayOutputWithContext(ctx context.Context) VpcArrayOutput

type VpcArrayInput

type VpcArrayInput interface {
	pulumi.Input

	ToVpcArrayOutput() VpcArrayOutput
	ToVpcArrayOutputWithContext(context.Context) VpcArrayOutput
}

VpcArrayInput is an input type that accepts VpcArray and VpcArrayOutput values. You can construct a concrete instance of `VpcArrayInput` via:

VpcArray{ VpcArgs{...} }

type VpcArrayOutput

type VpcArrayOutput struct{ *pulumi.OutputState }

func (VpcArrayOutput) ElementType

func (VpcArrayOutput) ElementType() reflect.Type

func (VpcArrayOutput) Index

func (VpcArrayOutput) ToVpcArrayOutput

func (o VpcArrayOutput) ToVpcArrayOutput() VpcArrayOutput

func (VpcArrayOutput) ToVpcArrayOutputWithContext

func (o VpcArrayOutput) ToVpcArrayOutputWithContext(ctx context.Context) VpcArrayOutput

type VpcInput

type VpcInput interface {
	pulumi.Input

	ToVpcOutput() VpcOutput
	ToVpcOutputWithContext(ctx context.Context) VpcOutput
}

type VpcMap

type VpcMap map[string]VpcInput

func (VpcMap) ElementType

func (VpcMap) ElementType() reflect.Type

func (VpcMap) ToVpcMapOutput

func (i VpcMap) ToVpcMapOutput() VpcMapOutput

func (VpcMap) ToVpcMapOutputWithContext

func (i VpcMap) ToVpcMapOutputWithContext(ctx context.Context) VpcMapOutput

type VpcMapInput

type VpcMapInput interface {
	pulumi.Input

	ToVpcMapOutput() VpcMapOutput
	ToVpcMapOutputWithContext(context.Context) VpcMapOutput
}

VpcMapInput is an input type that accepts VpcMap and VpcMapOutput values. You can construct a concrete instance of `VpcMapInput` via:

VpcMap{ "key": VpcArgs{...} }

type VpcMapOutput

type VpcMapOutput struct{ *pulumi.OutputState }

func (VpcMapOutput) ElementType

func (VpcMapOutput) ElementType() reflect.Type

func (VpcMapOutput) MapIndex

func (o VpcMapOutput) MapIndex(k pulumi.StringInput) VpcOutput

func (VpcMapOutput) ToVpcMapOutput

func (o VpcMapOutput) ToVpcMapOutput() VpcMapOutput

func (VpcMapOutput) ToVpcMapOutputWithContext

func (o VpcMapOutput) ToVpcMapOutputWithContext(ctx context.Context) VpcMapOutput

type VpcOutput

type VpcOutput struct{ *pulumi.OutputState }

func (VpcOutput) DateCreated

func (o VpcOutput) DateCreated() pulumi.StringOutput

The date that the VPC was added to your Vultr account.

func (VpcOutput) Description

func (o VpcOutput) Description() pulumi.StringPtrOutput

The description you want to give your VPC.

func (VpcOutput) ElementType

func (VpcOutput) ElementType() reflect.Type

func (VpcOutput) Region

func (o VpcOutput) Region() pulumi.StringOutput

The region ID that you want the VPC to be created in.

func (VpcOutput) ToVpcOutput

func (o VpcOutput) ToVpcOutput() VpcOutput

func (VpcOutput) ToVpcOutputWithContext

func (o VpcOutput) ToVpcOutputWithContext(ctx context.Context) VpcOutput

func (VpcOutput) V4Subnet

func (o VpcOutput) V4Subnet() pulumi.StringOutput

The IPv4 subnet to be used when attaching instances to this VPC.

func (VpcOutput) V4SubnetMask

func (o VpcOutput) V4SubnetMask() pulumi.IntOutput

The number of bits for the netmask in CIDR notation. Example: 32

type VpcState

type VpcState struct {
	// The date that the VPC was added to your Vultr account.
	DateCreated pulumi.StringPtrInput
	// The description you want to give your VPC.
	Description pulumi.StringPtrInput
	// The region ID that you want the VPC to be created in.
	Region pulumi.StringPtrInput
	// The IPv4 subnet to be used when attaching instances to this VPC.
	V4Subnet pulumi.StringPtrInput
	// The number of bits for the netmask in CIDR notation. Example: 32
	V4SubnetMask pulumi.IntPtrInput
}

func (VpcState) ElementType

func (VpcState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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