civo

package
v2.3.15 Latest Latest
Warning

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

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

Documentation

Overview

A Pulumi package for creating and managing Civo cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database added in v2.3.2

type Database struct {
	pulumi.CustomResourceState

	// The DNS endpoint of the database
	DnsEndpoint pulumi.StringOutput `pulumi:"dnsEndpoint"`
	// The endpoint of the database
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// The engine of the database
	Engine pulumi.StringOutput `pulumi:"engine"`
	// The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
	FirewallId pulumi.StringOutput `pulumi:"firewallId"`
	// Name of the database
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of the associated network
	NetworkId pulumi.StringOutput `pulumi:"networkId"`
	// Count of nodes
	Nodes pulumi.IntOutput `pulumi:"nodes"`
	// The password of the database
	Password pulumi.StringOutput `pulumi:"password"`
	// The port of the database
	Port pulumi.IntOutput `pulumi:"port"`
	// The region where the database will be created.
	Region pulumi.StringOutput `pulumi:"region"`
	// Size of the database
	Size pulumi.StringOutput `pulumi:"size"`
	// The status of the database
	Status pulumi.StringOutput `pulumi:"status"`
	// The username of the database
	Username pulumi.StringOutput `pulumi:"username"`
	// The version of the database
	Version pulumi.StringOutput `pulumi:"version"`
}

## Example Usage

## Import

using ID

```sh $ pulumi import civo:index/database:Database mydb 29fcd1c4-fb61-44c7-b49c-dc7b98e9927e ```

func GetDatabase added in v2.3.2

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

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

func (*Database) ElementType() reflect.Type

func (*Database) ToDatabaseOutput added in v2.3.2

func (i *Database) ToDatabaseOutput() DatabaseOutput

func (*Database) ToDatabaseOutputWithContext added in v2.3.2

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

type DatabaseArgs added in v2.3.2

type DatabaseArgs struct {
	// The engine of the database
	Engine pulumi.StringInput
	// The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
	FirewallId pulumi.StringPtrInput
	// Name of the database
	Name pulumi.StringPtrInput
	// The id of the associated network
	NetworkId pulumi.StringPtrInput
	// Count of nodes
	Nodes pulumi.IntInput
	// The region where the database will be created.
	Region pulumi.StringPtrInput
	// Size of the database
	Size pulumi.StringInput
	// The version of the database
	Version pulumi.StringInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType added in v2.3.2

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseArray added in v2.3.2

type DatabaseArray []DatabaseInput

func (DatabaseArray) ElementType added in v2.3.2

func (DatabaseArray) ElementType() reflect.Type

func (DatabaseArray) ToDatabaseArrayOutput added in v2.3.2

func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArray) ToDatabaseArrayOutputWithContext added in v2.3.2

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

type DatabaseArrayInput added in v2.3.2

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

type DatabaseArrayOutput struct{ *pulumi.OutputState }

func (DatabaseArrayOutput) ElementType added in v2.3.2

func (DatabaseArrayOutput) ElementType() reflect.Type

func (DatabaseArrayOutput) Index added in v2.3.2

func (DatabaseArrayOutput) ToDatabaseArrayOutput added in v2.3.2

func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext added in v2.3.2

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

type DatabaseInput added in v2.3.2

type DatabaseInput interface {
	pulumi.Input

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

type DatabaseMap added in v2.3.2

type DatabaseMap map[string]DatabaseInput

func (DatabaseMap) ElementType added in v2.3.2

func (DatabaseMap) ElementType() reflect.Type

func (DatabaseMap) ToDatabaseMapOutput added in v2.3.2

func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMap) ToDatabaseMapOutputWithContext added in v2.3.2

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

type DatabaseMapInput added in v2.3.2

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

type DatabaseMapOutput struct{ *pulumi.OutputState }

func (DatabaseMapOutput) ElementType added in v2.3.2

func (DatabaseMapOutput) ElementType() reflect.Type

func (DatabaseMapOutput) MapIndex added in v2.3.2

func (DatabaseMapOutput) ToDatabaseMapOutput added in v2.3.2

func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMapOutput) ToDatabaseMapOutputWithContext added in v2.3.2

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

type DatabaseOutput added in v2.3.2

type DatabaseOutput struct{ *pulumi.OutputState }

func (DatabaseOutput) DnsEndpoint added in v2.3.7

func (o DatabaseOutput) DnsEndpoint() pulumi.StringOutput

The DNS endpoint of the database

func (DatabaseOutput) ElementType added in v2.3.2

func (DatabaseOutput) ElementType() reflect.Type

func (DatabaseOutput) Endpoint added in v2.3.7

func (o DatabaseOutput) Endpoint() pulumi.StringOutput

The endpoint of the database

func (DatabaseOutput) Engine added in v2.3.5

func (o DatabaseOutput) Engine() pulumi.StringOutput

The engine of the database

func (DatabaseOutput) FirewallId added in v2.3.2

func (o DatabaseOutput) FirewallId() pulumi.StringOutput

The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)

func (DatabaseOutput) Name added in v2.3.2

Name of the database

func (DatabaseOutput) NetworkId added in v2.3.2

func (o DatabaseOutput) NetworkId() pulumi.StringOutput

The id of the associated network

func (DatabaseOutput) Nodes added in v2.3.2

func (o DatabaseOutput) Nodes() pulumi.IntOutput

Count of nodes

func (DatabaseOutput) Password added in v2.3.2

func (o DatabaseOutput) Password() pulumi.StringOutput

The password of the database

func (DatabaseOutput) Port added in v2.3.7

func (o DatabaseOutput) Port() pulumi.IntOutput

The port of the database

func (DatabaseOutput) Region added in v2.3.2

func (o DatabaseOutput) Region() pulumi.StringOutput

The region where the database will be created.

func (DatabaseOutput) Size added in v2.3.2

Size of the database

func (DatabaseOutput) Status added in v2.3.2

func (o DatabaseOutput) Status() pulumi.StringOutput

The status of the database

func (DatabaseOutput) ToDatabaseOutput added in v2.3.2

func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput

func (DatabaseOutput) ToDatabaseOutputWithContext added in v2.3.2

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

func (DatabaseOutput) Username added in v2.3.2

func (o DatabaseOutput) Username() pulumi.StringOutput

The username of the database

func (DatabaseOutput) Version added in v2.3.5

func (o DatabaseOutput) Version() pulumi.StringOutput

The version of the database

type DatabaseState added in v2.3.2

type DatabaseState struct {
	// The DNS endpoint of the database
	DnsEndpoint pulumi.StringPtrInput
	// The endpoint of the database
	Endpoint pulumi.StringPtrInput
	// The engine of the database
	Engine pulumi.StringPtrInput
	// The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
	FirewallId pulumi.StringPtrInput
	// Name of the database
	Name pulumi.StringPtrInput
	// The id of the associated network
	NetworkId pulumi.StringPtrInput
	// Count of nodes
	Nodes pulumi.IntPtrInput
	// The password of the database
	Password pulumi.StringPtrInput
	// The port of the database
	Port pulumi.IntPtrInput
	// The region where the database will be created.
	Region pulumi.StringPtrInput
	// Size of the database
	Size pulumi.StringPtrInput
	// The status of the database
	Status pulumi.StringPtrInput
	// The username of the database
	Username pulumi.StringPtrInput
	// The version of the database
	Version pulumi.StringPtrInput
}

func (DatabaseState) ElementType added in v2.3.2

func (DatabaseState) ElementType() reflect.Type

type DnsDomainName

type DnsDomainName struct {
	pulumi.CustomResourceState

	// The account ID of the domain
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The name of the domain
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides a Civo DNS domain name resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new domain name
		_, err := civo.NewDnsDomainName(ctx, "main", &civo.DnsDomainNameArgs{
			Name: pulumi.String("mydomain.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

using domain name

```sh $ pulumi import civo:index/dnsDomainName:DnsDomainName main mydomain.com ```

func GetDnsDomainName

func GetDnsDomainName(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DnsDomainNameState, opts ...pulumi.ResourceOption) (*DnsDomainName, error)

GetDnsDomainName gets an existing DnsDomainName 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 NewDnsDomainName

func NewDnsDomainName(ctx *pulumi.Context,
	name string, args *DnsDomainNameArgs, opts ...pulumi.ResourceOption) (*DnsDomainName, error)

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

func (*DnsDomainName) ElementType

func (*DnsDomainName) ElementType() reflect.Type

func (*DnsDomainName) ToDnsDomainNameOutput

func (i *DnsDomainName) ToDnsDomainNameOutput() DnsDomainNameOutput

func (*DnsDomainName) ToDnsDomainNameOutputWithContext

func (i *DnsDomainName) ToDnsDomainNameOutputWithContext(ctx context.Context) DnsDomainNameOutput

type DnsDomainNameArgs

type DnsDomainNameArgs struct {
	// The name of the domain
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a DnsDomainName resource.

func (DnsDomainNameArgs) ElementType

func (DnsDomainNameArgs) ElementType() reflect.Type

type DnsDomainNameArray

type DnsDomainNameArray []DnsDomainNameInput

func (DnsDomainNameArray) ElementType

func (DnsDomainNameArray) ElementType() reflect.Type

func (DnsDomainNameArray) ToDnsDomainNameArrayOutput

func (i DnsDomainNameArray) ToDnsDomainNameArrayOutput() DnsDomainNameArrayOutput

func (DnsDomainNameArray) ToDnsDomainNameArrayOutputWithContext

func (i DnsDomainNameArray) ToDnsDomainNameArrayOutputWithContext(ctx context.Context) DnsDomainNameArrayOutput

type DnsDomainNameArrayInput

type DnsDomainNameArrayInput interface {
	pulumi.Input

	ToDnsDomainNameArrayOutput() DnsDomainNameArrayOutput
	ToDnsDomainNameArrayOutputWithContext(context.Context) DnsDomainNameArrayOutput
}

DnsDomainNameArrayInput is an input type that accepts DnsDomainNameArray and DnsDomainNameArrayOutput values. You can construct a concrete instance of `DnsDomainNameArrayInput` via:

DnsDomainNameArray{ DnsDomainNameArgs{...} }

type DnsDomainNameArrayOutput

type DnsDomainNameArrayOutput struct{ *pulumi.OutputState }

func (DnsDomainNameArrayOutput) ElementType

func (DnsDomainNameArrayOutput) ElementType() reflect.Type

func (DnsDomainNameArrayOutput) Index

func (DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutput

func (o DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutput() DnsDomainNameArrayOutput

func (DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutputWithContext

func (o DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutputWithContext(ctx context.Context) DnsDomainNameArrayOutput

type DnsDomainNameInput

type DnsDomainNameInput interface {
	pulumi.Input

	ToDnsDomainNameOutput() DnsDomainNameOutput
	ToDnsDomainNameOutputWithContext(ctx context.Context) DnsDomainNameOutput
}

type DnsDomainNameMap

type DnsDomainNameMap map[string]DnsDomainNameInput

func (DnsDomainNameMap) ElementType

func (DnsDomainNameMap) ElementType() reflect.Type

func (DnsDomainNameMap) ToDnsDomainNameMapOutput

func (i DnsDomainNameMap) ToDnsDomainNameMapOutput() DnsDomainNameMapOutput

func (DnsDomainNameMap) ToDnsDomainNameMapOutputWithContext

func (i DnsDomainNameMap) ToDnsDomainNameMapOutputWithContext(ctx context.Context) DnsDomainNameMapOutput

type DnsDomainNameMapInput

type DnsDomainNameMapInput interface {
	pulumi.Input

	ToDnsDomainNameMapOutput() DnsDomainNameMapOutput
	ToDnsDomainNameMapOutputWithContext(context.Context) DnsDomainNameMapOutput
}

DnsDomainNameMapInput is an input type that accepts DnsDomainNameMap and DnsDomainNameMapOutput values. You can construct a concrete instance of `DnsDomainNameMapInput` via:

DnsDomainNameMap{ "key": DnsDomainNameArgs{...} }

type DnsDomainNameMapOutput

type DnsDomainNameMapOutput struct{ *pulumi.OutputState }

func (DnsDomainNameMapOutput) ElementType

func (DnsDomainNameMapOutput) ElementType() reflect.Type

func (DnsDomainNameMapOutput) MapIndex

func (DnsDomainNameMapOutput) ToDnsDomainNameMapOutput

func (o DnsDomainNameMapOutput) ToDnsDomainNameMapOutput() DnsDomainNameMapOutput

func (DnsDomainNameMapOutput) ToDnsDomainNameMapOutputWithContext

func (o DnsDomainNameMapOutput) ToDnsDomainNameMapOutputWithContext(ctx context.Context) DnsDomainNameMapOutput

type DnsDomainNameOutput

type DnsDomainNameOutput struct{ *pulumi.OutputState }

func (DnsDomainNameOutput) AccountId added in v2.2.3

func (o DnsDomainNameOutput) AccountId() pulumi.StringOutput

The account ID of the domain

func (DnsDomainNameOutput) ElementType

func (DnsDomainNameOutput) ElementType() reflect.Type

func (DnsDomainNameOutput) Name added in v2.2.3

The name of the domain

func (DnsDomainNameOutput) ToDnsDomainNameOutput

func (o DnsDomainNameOutput) ToDnsDomainNameOutput() DnsDomainNameOutput

func (DnsDomainNameOutput) ToDnsDomainNameOutputWithContext

func (o DnsDomainNameOutput) ToDnsDomainNameOutputWithContext(ctx context.Context) DnsDomainNameOutput

type DnsDomainNameState

type DnsDomainNameState struct {
	// The account ID of the domain
	AccountId pulumi.StringPtrInput
	// The name of the domain
	Name pulumi.StringPtrInput
}

func (DnsDomainNameState) ElementType

func (DnsDomainNameState) ElementType() reflect.Type

type DnsDomainRecord

type DnsDomainRecord struct {
	pulumi.CustomResourceState

	// The account ID of this resource
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// Timestamp when this resource was created
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// ID from domain name
	DomainId pulumi.StringOutput `pulumi:"domainId"`
	// The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain)
	Name pulumi.StringOutput `pulumi:"name"`
	// Useful for MX records only, the priority mail should be attempted it (defaults to 10)
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600)
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// The choice of RR type from a, cname, mx or txt
	Type pulumi.StringOutput `pulumi:"type"`
	// Timestamp when this resource was updated
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record
	Value pulumi.StringOutput `pulumi:"value"`
}

Provides a Civo DNS domain record resource.

## Import

using domain_id:domain_record_id

```sh $ pulumi import civo:index/dnsDomainRecord:DnsDomainRecord www a3cd6832-9577-4017-afd7-17d239fc0bf0:c9a39d14-ee1b-4870-8fb0-a2d4f465e822 ```

func GetDnsDomainRecord

func GetDnsDomainRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DnsDomainRecordState, opts ...pulumi.ResourceOption) (*DnsDomainRecord, error)

GetDnsDomainRecord gets an existing DnsDomainRecord 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 NewDnsDomainRecord

func NewDnsDomainRecord(ctx *pulumi.Context,
	name string, args *DnsDomainRecordArgs, opts ...pulumi.ResourceOption) (*DnsDomainRecord, error)

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

func (*DnsDomainRecord) ElementType

func (*DnsDomainRecord) ElementType() reflect.Type

func (*DnsDomainRecord) ToDnsDomainRecordOutput

func (i *DnsDomainRecord) ToDnsDomainRecordOutput() DnsDomainRecordOutput

func (*DnsDomainRecord) ToDnsDomainRecordOutputWithContext

func (i *DnsDomainRecord) ToDnsDomainRecordOutputWithContext(ctx context.Context) DnsDomainRecordOutput

type DnsDomainRecordArgs

type DnsDomainRecordArgs struct {
	// ID from domain name
	DomainId pulumi.StringInput
	// The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain)
	Name pulumi.StringPtrInput
	// Useful for MX records only, the priority mail should be attempted it (defaults to 10)
	Priority pulumi.IntPtrInput
	// How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600)
	Ttl pulumi.IntInput
	// The choice of RR type from a, cname, mx or txt
	Type pulumi.StringInput
	// The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record
	Value pulumi.StringInput
}

The set of arguments for constructing a DnsDomainRecord resource.

func (DnsDomainRecordArgs) ElementType

func (DnsDomainRecordArgs) ElementType() reflect.Type

type DnsDomainRecordArray

type DnsDomainRecordArray []DnsDomainRecordInput

func (DnsDomainRecordArray) ElementType

func (DnsDomainRecordArray) ElementType() reflect.Type

func (DnsDomainRecordArray) ToDnsDomainRecordArrayOutput

func (i DnsDomainRecordArray) ToDnsDomainRecordArrayOutput() DnsDomainRecordArrayOutput

func (DnsDomainRecordArray) ToDnsDomainRecordArrayOutputWithContext

func (i DnsDomainRecordArray) ToDnsDomainRecordArrayOutputWithContext(ctx context.Context) DnsDomainRecordArrayOutput

type DnsDomainRecordArrayInput

type DnsDomainRecordArrayInput interface {
	pulumi.Input

	ToDnsDomainRecordArrayOutput() DnsDomainRecordArrayOutput
	ToDnsDomainRecordArrayOutputWithContext(context.Context) DnsDomainRecordArrayOutput
}

DnsDomainRecordArrayInput is an input type that accepts DnsDomainRecordArray and DnsDomainRecordArrayOutput values. You can construct a concrete instance of `DnsDomainRecordArrayInput` via:

DnsDomainRecordArray{ DnsDomainRecordArgs{...} }

type DnsDomainRecordArrayOutput

type DnsDomainRecordArrayOutput struct{ *pulumi.OutputState }

func (DnsDomainRecordArrayOutput) ElementType

func (DnsDomainRecordArrayOutput) ElementType() reflect.Type

func (DnsDomainRecordArrayOutput) Index

func (DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutput

func (o DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutput() DnsDomainRecordArrayOutput

func (DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutputWithContext

func (o DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutputWithContext(ctx context.Context) DnsDomainRecordArrayOutput

type DnsDomainRecordInput

type DnsDomainRecordInput interface {
	pulumi.Input

	ToDnsDomainRecordOutput() DnsDomainRecordOutput
	ToDnsDomainRecordOutputWithContext(ctx context.Context) DnsDomainRecordOutput
}

type DnsDomainRecordMap

type DnsDomainRecordMap map[string]DnsDomainRecordInput

func (DnsDomainRecordMap) ElementType

func (DnsDomainRecordMap) ElementType() reflect.Type

func (DnsDomainRecordMap) ToDnsDomainRecordMapOutput

func (i DnsDomainRecordMap) ToDnsDomainRecordMapOutput() DnsDomainRecordMapOutput

func (DnsDomainRecordMap) ToDnsDomainRecordMapOutputWithContext

func (i DnsDomainRecordMap) ToDnsDomainRecordMapOutputWithContext(ctx context.Context) DnsDomainRecordMapOutput

type DnsDomainRecordMapInput

type DnsDomainRecordMapInput interface {
	pulumi.Input

	ToDnsDomainRecordMapOutput() DnsDomainRecordMapOutput
	ToDnsDomainRecordMapOutputWithContext(context.Context) DnsDomainRecordMapOutput
}

DnsDomainRecordMapInput is an input type that accepts DnsDomainRecordMap and DnsDomainRecordMapOutput values. You can construct a concrete instance of `DnsDomainRecordMapInput` via:

DnsDomainRecordMap{ "key": DnsDomainRecordArgs{...} }

type DnsDomainRecordMapOutput

type DnsDomainRecordMapOutput struct{ *pulumi.OutputState }

func (DnsDomainRecordMapOutput) ElementType

func (DnsDomainRecordMapOutput) ElementType() reflect.Type

func (DnsDomainRecordMapOutput) MapIndex

func (DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutput

func (o DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutput() DnsDomainRecordMapOutput

func (DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutputWithContext

func (o DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutputWithContext(ctx context.Context) DnsDomainRecordMapOutput

type DnsDomainRecordOutput

type DnsDomainRecordOutput struct{ *pulumi.OutputState }

func (DnsDomainRecordOutput) AccountId added in v2.2.3

The account ID of this resource

func (DnsDomainRecordOutput) CreatedAt added in v2.2.3

Timestamp when this resource was created

func (DnsDomainRecordOutput) DomainId added in v2.2.3

ID from domain name

func (DnsDomainRecordOutput) ElementType

func (DnsDomainRecordOutput) ElementType() reflect.Type

func (DnsDomainRecordOutput) Name added in v2.2.3

The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain)

func (DnsDomainRecordOutput) Priority added in v2.2.3

Useful for MX records only, the priority mail should be attempted it (defaults to 10)

func (DnsDomainRecordOutput) ToDnsDomainRecordOutput

func (o DnsDomainRecordOutput) ToDnsDomainRecordOutput() DnsDomainRecordOutput

func (DnsDomainRecordOutput) ToDnsDomainRecordOutputWithContext

func (o DnsDomainRecordOutput) ToDnsDomainRecordOutputWithContext(ctx context.Context) DnsDomainRecordOutput

func (DnsDomainRecordOutput) Ttl added in v2.2.3

How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600)

func (DnsDomainRecordOutput) Type added in v2.2.3

The choice of RR type from a, cname, mx or txt

func (DnsDomainRecordOutput) UpdatedAt added in v2.2.3

Timestamp when this resource was updated

func (DnsDomainRecordOutput) Value added in v2.2.3

The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record

type DnsDomainRecordState

type DnsDomainRecordState struct {
	// The account ID of this resource
	AccountId pulumi.StringPtrInput
	// Timestamp when this resource was created
	CreatedAt pulumi.StringPtrInput
	// ID from domain name
	DomainId pulumi.StringPtrInput
	// The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain)
	Name pulumi.StringPtrInput
	// Useful for MX records only, the priority mail should be attempted it (defaults to 10)
	Priority pulumi.IntPtrInput
	// How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600)
	Ttl pulumi.IntPtrInput
	// The choice of RR type from a, cname, mx or txt
	Type pulumi.StringPtrInput
	// Timestamp when this resource was updated
	UpdatedAt pulumi.StringPtrInput
	// The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record
	Value pulumi.StringPtrInput
}

func (DnsDomainRecordState) ElementType

func (DnsDomainRecordState) ElementType() reflect.Type

type Firewall

type Firewall struct {
	pulumi.CustomResourceState

	// The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
	CreateDefaultRules pulumi.BoolPtrOutput `pulumi:"createDefaultRules"`
	// The egress rules, this is a list of rules that will be applied to the firewall
	EgressRules FirewallEgressRuleArrayOutput `pulumi:"egressRules"`
	// The ingress rules, this is a list of rules that will be applied to the firewall
	IngressRules FirewallIngressRuleArrayOutput `pulumi:"ingressRules"`
	// The firewall name
	Name pulumi.StringOutput `pulumi:"name"`
	// The firewall network, if is not defined we use the default network
	NetworkId pulumi.StringOutput `pulumi:"networkId"`
	// The firewall region, if is not defined we use the global defined in the provider
	Region pulumi.StringOutput `pulumi:"region"`
}

Provides a Civo firewall resource. This can be used to create, modify, and delete firewalls.

## Import

using ID

```sh $ pulumi import civo:index/firewall:Firewall www b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 ```

func GetFirewall

func GetFirewall(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FirewallState, opts ...pulumi.ResourceOption) (*Firewall, error)

GetFirewall gets an existing Firewall 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 NewFirewall

func NewFirewall(ctx *pulumi.Context,
	name string, args *FirewallArgs, opts ...pulumi.ResourceOption) (*Firewall, error)

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

func (*Firewall) ElementType

func (*Firewall) ElementType() reflect.Type

func (*Firewall) ToFirewallOutput

func (i *Firewall) ToFirewallOutput() FirewallOutput

func (*Firewall) ToFirewallOutputWithContext

func (i *Firewall) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput

type FirewallArgs

type FirewallArgs struct {
	// The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
	CreateDefaultRules pulumi.BoolPtrInput
	// The egress rules, this is a list of rules that will be applied to the firewall
	EgressRules FirewallEgressRuleArrayInput
	// The ingress rules, this is a list of rules that will be applied to the firewall
	IngressRules FirewallIngressRuleArrayInput
	// The firewall name
	Name pulumi.StringPtrInput
	// The firewall network, if is not defined we use the default network
	NetworkId pulumi.StringPtrInput
	// The firewall region, if is not defined we use the global defined in the provider
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a Firewall resource.

func (FirewallArgs) ElementType

func (FirewallArgs) ElementType() reflect.Type

type FirewallArray

type FirewallArray []FirewallInput

func (FirewallArray) ElementType

func (FirewallArray) ElementType() reflect.Type

func (FirewallArray) ToFirewallArrayOutput

func (i FirewallArray) ToFirewallArrayOutput() FirewallArrayOutput

func (FirewallArray) ToFirewallArrayOutputWithContext

func (i FirewallArray) ToFirewallArrayOutputWithContext(ctx context.Context) FirewallArrayOutput

type FirewallArrayInput

type FirewallArrayInput interface {
	pulumi.Input

	ToFirewallArrayOutput() FirewallArrayOutput
	ToFirewallArrayOutputWithContext(context.Context) FirewallArrayOutput
}

FirewallArrayInput is an input type that accepts FirewallArray and FirewallArrayOutput values. You can construct a concrete instance of `FirewallArrayInput` via:

FirewallArray{ FirewallArgs{...} }

type FirewallArrayOutput

type FirewallArrayOutput struct{ *pulumi.OutputState }

func (FirewallArrayOutput) ElementType

func (FirewallArrayOutput) ElementType() reflect.Type

func (FirewallArrayOutput) Index

func (FirewallArrayOutput) ToFirewallArrayOutput

func (o FirewallArrayOutput) ToFirewallArrayOutput() FirewallArrayOutput

func (FirewallArrayOutput) ToFirewallArrayOutputWithContext

func (o FirewallArrayOutput) ToFirewallArrayOutputWithContext(ctx context.Context) FirewallArrayOutput

type FirewallEgressRule added in v2.3.0

type FirewallEgressRule struct {
	// The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic.
	Action string `pulumi:"action"`
	// The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
	Cidrs []string `pulumi:"cidrs"`
	Id    *string  `pulumi:"id"`
	// A string that will be the displayed name/reference for this rule
	Label *string `pulumi:"label"`
	// The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443`
	PortRange *string `pulumi:"portRange"`
	// The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`)
	Protocol *string `pulumi:"protocol"`
}

type FirewallEgressRuleArgs added in v2.3.0

type FirewallEgressRuleArgs struct {
	// The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic.
	Action pulumi.StringInput `pulumi:"action"`
	// The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
	Cidrs pulumi.StringArrayInput `pulumi:"cidrs"`
	Id    pulumi.StringPtrInput   `pulumi:"id"`
	// A string that will be the displayed name/reference for this rule
	Label pulumi.StringPtrInput `pulumi:"label"`
	// The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443`
	PortRange pulumi.StringPtrInput `pulumi:"portRange"`
	// The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`)
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
}

func (FirewallEgressRuleArgs) ElementType added in v2.3.0

func (FirewallEgressRuleArgs) ElementType() reflect.Type

func (FirewallEgressRuleArgs) ToFirewallEgressRuleOutput added in v2.3.0

func (i FirewallEgressRuleArgs) ToFirewallEgressRuleOutput() FirewallEgressRuleOutput

func (FirewallEgressRuleArgs) ToFirewallEgressRuleOutputWithContext added in v2.3.0

func (i FirewallEgressRuleArgs) ToFirewallEgressRuleOutputWithContext(ctx context.Context) FirewallEgressRuleOutput

type FirewallEgressRuleArray added in v2.3.0

type FirewallEgressRuleArray []FirewallEgressRuleInput

func (FirewallEgressRuleArray) ElementType added in v2.3.0

func (FirewallEgressRuleArray) ElementType() reflect.Type

func (FirewallEgressRuleArray) ToFirewallEgressRuleArrayOutput added in v2.3.0

func (i FirewallEgressRuleArray) ToFirewallEgressRuleArrayOutput() FirewallEgressRuleArrayOutput

func (FirewallEgressRuleArray) ToFirewallEgressRuleArrayOutputWithContext added in v2.3.0

func (i FirewallEgressRuleArray) ToFirewallEgressRuleArrayOutputWithContext(ctx context.Context) FirewallEgressRuleArrayOutput

type FirewallEgressRuleArrayInput added in v2.3.0

type FirewallEgressRuleArrayInput interface {
	pulumi.Input

	ToFirewallEgressRuleArrayOutput() FirewallEgressRuleArrayOutput
	ToFirewallEgressRuleArrayOutputWithContext(context.Context) FirewallEgressRuleArrayOutput
}

FirewallEgressRuleArrayInput is an input type that accepts FirewallEgressRuleArray and FirewallEgressRuleArrayOutput values. You can construct a concrete instance of `FirewallEgressRuleArrayInput` via:

FirewallEgressRuleArray{ FirewallEgressRuleArgs{...} }

type FirewallEgressRuleArrayOutput added in v2.3.0

type FirewallEgressRuleArrayOutput struct{ *pulumi.OutputState }

func (FirewallEgressRuleArrayOutput) ElementType added in v2.3.0

func (FirewallEgressRuleArrayOutput) Index added in v2.3.0

func (FirewallEgressRuleArrayOutput) ToFirewallEgressRuleArrayOutput added in v2.3.0

func (o FirewallEgressRuleArrayOutput) ToFirewallEgressRuleArrayOutput() FirewallEgressRuleArrayOutput

func (FirewallEgressRuleArrayOutput) ToFirewallEgressRuleArrayOutputWithContext added in v2.3.0

func (o FirewallEgressRuleArrayOutput) ToFirewallEgressRuleArrayOutputWithContext(ctx context.Context) FirewallEgressRuleArrayOutput

type FirewallEgressRuleInput added in v2.3.0

type FirewallEgressRuleInput interface {
	pulumi.Input

	ToFirewallEgressRuleOutput() FirewallEgressRuleOutput
	ToFirewallEgressRuleOutputWithContext(context.Context) FirewallEgressRuleOutput
}

FirewallEgressRuleInput is an input type that accepts FirewallEgressRuleArgs and FirewallEgressRuleOutput values. You can construct a concrete instance of `FirewallEgressRuleInput` via:

FirewallEgressRuleArgs{...}

type FirewallEgressRuleOutput added in v2.3.0

type FirewallEgressRuleOutput struct{ *pulumi.OutputState }

func (FirewallEgressRuleOutput) Action added in v2.3.0

The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic.

func (FirewallEgressRuleOutput) Cidrs added in v2.3.0

The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)

func (FirewallEgressRuleOutput) ElementType added in v2.3.0

func (FirewallEgressRuleOutput) ElementType() reflect.Type

func (FirewallEgressRuleOutput) Id added in v2.3.0

func (FirewallEgressRuleOutput) Label added in v2.3.0

A string that will be the displayed name/reference for this rule

func (FirewallEgressRuleOutput) PortRange added in v2.3.0

The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443`

func (FirewallEgressRuleOutput) Protocol added in v2.3.0

The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`)

func (FirewallEgressRuleOutput) ToFirewallEgressRuleOutput added in v2.3.0

func (o FirewallEgressRuleOutput) ToFirewallEgressRuleOutput() FirewallEgressRuleOutput

func (FirewallEgressRuleOutput) ToFirewallEgressRuleOutputWithContext added in v2.3.0

func (o FirewallEgressRuleOutput) ToFirewallEgressRuleOutputWithContext(ctx context.Context) FirewallEgressRuleOutput

type FirewallIngressRule added in v2.3.0

type FirewallIngressRule struct {
	// The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic.
	Action string `pulumi:"action"`
	// The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
	Cidrs []string `pulumi:"cidrs"`
	Id    *string  `pulumi:"id"`
	// A string that will be the displayed name/reference for this rule
	Label *string `pulumi:"label"`
	// The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443`
	PortRange *string `pulumi:"portRange"`
	// The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`)
	Protocol *string `pulumi:"protocol"`
}

type FirewallIngressRuleArgs added in v2.3.0

type FirewallIngressRuleArgs struct {
	// The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic.
	Action pulumi.StringInput `pulumi:"action"`
	// The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
	Cidrs pulumi.StringArrayInput `pulumi:"cidrs"`
	Id    pulumi.StringPtrInput   `pulumi:"id"`
	// A string that will be the displayed name/reference for this rule
	Label pulumi.StringPtrInput `pulumi:"label"`
	// The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443`
	PortRange pulumi.StringPtrInput `pulumi:"portRange"`
	// The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`)
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
}

func (FirewallIngressRuleArgs) ElementType added in v2.3.0

func (FirewallIngressRuleArgs) ElementType() reflect.Type

func (FirewallIngressRuleArgs) ToFirewallIngressRuleOutput added in v2.3.0

func (i FirewallIngressRuleArgs) ToFirewallIngressRuleOutput() FirewallIngressRuleOutput

func (FirewallIngressRuleArgs) ToFirewallIngressRuleOutputWithContext added in v2.3.0

func (i FirewallIngressRuleArgs) ToFirewallIngressRuleOutputWithContext(ctx context.Context) FirewallIngressRuleOutput

type FirewallIngressRuleArray added in v2.3.0

type FirewallIngressRuleArray []FirewallIngressRuleInput

func (FirewallIngressRuleArray) ElementType added in v2.3.0

func (FirewallIngressRuleArray) ElementType() reflect.Type

func (FirewallIngressRuleArray) ToFirewallIngressRuleArrayOutput added in v2.3.0

func (i FirewallIngressRuleArray) ToFirewallIngressRuleArrayOutput() FirewallIngressRuleArrayOutput

func (FirewallIngressRuleArray) ToFirewallIngressRuleArrayOutputWithContext added in v2.3.0

func (i FirewallIngressRuleArray) ToFirewallIngressRuleArrayOutputWithContext(ctx context.Context) FirewallIngressRuleArrayOutput

type FirewallIngressRuleArrayInput added in v2.3.0

type FirewallIngressRuleArrayInput interface {
	pulumi.Input

	ToFirewallIngressRuleArrayOutput() FirewallIngressRuleArrayOutput
	ToFirewallIngressRuleArrayOutputWithContext(context.Context) FirewallIngressRuleArrayOutput
}

FirewallIngressRuleArrayInput is an input type that accepts FirewallIngressRuleArray and FirewallIngressRuleArrayOutput values. You can construct a concrete instance of `FirewallIngressRuleArrayInput` via:

FirewallIngressRuleArray{ FirewallIngressRuleArgs{...} }

type FirewallIngressRuleArrayOutput added in v2.3.0

type FirewallIngressRuleArrayOutput struct{ *pulumi.OutputState }

func (FirewallIngressRuleArrayOutput) ElementType added in v2.3.0

func (FirewallIngressRuleArrayOutput) Index added in v2.3.0

func (FirewallIngressRuleArrayOutput) ToFirewallIngressRuleArrayOutput added in v2.3.0

func (o FirewallIngressRuleArrayOutput) ToFirewallIngressRuleArrayOutput() FirewallIngressRuleArrayOutput

func (FirewallIngressRuleArrayOutput) ToFirewallIngressRuleArrayOutputWithContext added in v2.3.0

func (o FirewallIngressRuleArrayOutput) ToFirewallIngressRuleArrayOutputWithContext(ctx context.Context) FirewallIngressRuleArrayOutput

type FirewallIngressRuleInput added in v2.3.0

type FirewallIngressRuleInput interface {
	pulumi.Input

	ToFirewallIngressRuleOutput() FirewallIngressRuleOutput
	ToFirewallIngressRuleOutputWithContext(context.Context) FirewallIngressRuleOutput
}

FirewallIngressRuleInput is an input type that accepts FirewallIngressRuleArgs and FirewallIngressRuleOutput values. You can construct a concrete instance of `FirewallIngressRuleInput` via:

FirewallIngressRuleArgs{...}

type FirewallIngressRuleOutput added in v2.3.0

type FirewallIngressRuleOutput struct{ *pulumi.OutputState }

func (FirewallIngressRuleOutput) Action added in v2.3.0

The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic.

func (FirewallIngressRuleOutput) Cidrs added in v2.3.0

The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)

func (FirewallIngressRuleOutput) ElementType added in v2.3.0

func (FirewallIngressRuleOutput) ElementType() reflect.Type

func (FirewallIngressRuleOutput) Id added in v2.3.0

func (FirewallIngressRuleOutput) Label added in v2.3.0

A string that will be the displayed name/reference for this rule

func (FirewallIngressRuleOutput) PortRange added in v2.3.0

The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443`

func (FirewallIngressRuleOutput) Protocol added in v2.3.0

The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`)

func (FirewallIngressRuleOutput) ToFirewallIngressRuleOutput added in v2.3.0

func (o FirewallIngressRuleOutput) ToFirewallIngressRuleOutput() FirewallIngressRuleOutput

func (FirewallIngressRuleOutput) ToFirewallIngressRuleOutputWithContext added in v2.3.0

func (o FirewallIngressRuleOutput) ToFirewallIngressRuleOutputWithContext(ctx context.Context) FirewallIngressRuleOutput

type FirewallInput

type FirewallInput interface {
	pulumi.Input

	ToFirewallOutput() FirewallOutput
	ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
}

type FirewallMap

type FirewallMap map[string]FirewallInput

func (FirewallMap) ElementType

func (FirewallMap) ElementType() reflect.Type

func (FirewallMap) ToFirewallMapOutput

func (i FirewallMap) ToFirewallMapOutput() FirewallMapOutput

func (FirewallMap) ToFirewallMapOutputWithContext

func (i FirewallMap) ToFirewallMapOutputWithContext(ctx context.Context) FirewallMapOutput

type FirewallMapInput

type FirewallMapInput interface {
	pulumi.Input

	ToFirewallMapOutput() FirewallMapOutput
	ToFirewallMapOutputWithContext(context.Context) FirewallMapOutput
}

FirewallMapInput is an input type that accepts FirewallMap and FirewallMapOutput values. You can construct a concrete instance of `FirewallMapInput` via:

FirewallMap{ "key": FirewallArgs{...} }

type FirewallMapOutput

type FirewallMapOutput struct{ *pulumi.OutputState }

func (FirewallMapOutput) ElementType

func (FirewallMapOutput) ElementType() reflect.Type

func (FirewallMapOutput) MapIndex

func (FirewallMapOutput) ToFirewallMapOutput

func (o FirewallMapOutput) ToFirewallMapOutput() FirewallMapOutput

func (FirewallMapOutput) ToFirewallMapOutputWithContext

func (o FirewallMapOutput) ToFirewallMapOutputWithContext(ctx context.Context) FirewallMapOutput

type FirewallOutput

type FirewallOutput struct{ *pulumi.OutputState }

func (FirewallOutput) CreateDefaultRules added in v2.2.3

func (o FirewallOutput) CreateDefaultRules() pulumi.BoolPtrOutput

The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule

func (FirewallOutput) EgressRules added in v2.3.0

The egress rules, this is a list of rules that will be applied to the firewall

func (FirewallOutput) ElementType

func (FirewallOutput) ElementType() reflect.Type

func (FirewallOutput) IngressRules added in v2.3.0

The ingress rules, this is a list of rules that will be applied to the firewall

func (FirewallOutput) Name added in v2.2.3

The firewall name

func (FirewallOutput) NetworkId added in v2.2.3

func (o FirewallOutput) NetworkId() pulumi.StringOutput

The firewall network, if is not defined we use the default network

func (FirewallOutput) Region added in v2.2.3

func (o FirewallOutput) Region() pulumi.StringOutput

The firewall region, if is not defined we use the global defined in the provider

func (FirewallOutput) ToFirewallOutput

func (o FirewallOutput) ToFirewallOutput() FirewallOutput

func (FirewallOutput) ToFirewallOutputWithContext

func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput

type FirewallState

type FirewallState struct {
	// The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
	CreateDefaultRules pulumi.BoolPtrInput
	// The egress rules, this is a list of rules that will be applied to the firewall
	EgressRules FirewallEgressRuleArrayInput
	// The ingress rules, this is a list of rules that will be applied to the firewall
	IngressRules FirewallIngressRuleArrayInput
	// The firewall name
	Name pulumi.StringPtrInput
	// The firewall network, if is not defined we use the default network
	NetworkId pulumi.StringPtrInput
	// The firewall region, if is not defined we use the global defined in the provider
	Region pulumi.StringPtrInput
}

func (FirewallState) ElementType

func (FirewallState) ElementType() reflect.Type

type GetDatabaseVersionArgs added in v2.3.5

type GetDatabaseVersionArgs struct {
	// One or more key/value pairs on which to filter results
	Filters []GetDatabaseVersionFilter `pulumi:"filters"`
	// One or more key/direction pairs on which to sort results
	Sorts []GetDatabaseVersionSort `pulumi:"sorts"`
}

A collection of arguments for invoking getDatabaseVersion.

type GetDatabaseVersionFilter added in v2.3.5

type GetDatabaseVersionFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter versions by this key. This may be one of `default`, `engine`, `version`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves `versions` which keys has value that matches one of the values provided here
	Values []string `pulumi:"values"`
}

type GetDatabaseVersionFilterArgs added in v2.3.5

type GetDatabaseVersionFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter versions by this key. This may be one of `default`, `engine`, `version`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves `versions` which keys has value that matches one of the values provided here
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetDatabaseVersionFilterArgs) ElementType added in v2.3.5

func (GetDatabaseVersionFilterArgs) ToGetDatabaseVersionFilterOutput added in v2.3.5

func (i GetDatabaseVersionFilterArgs) ToGetDatabaseVersionFilterOutput() GetDatabaseVersionFilterOutput

func (GetDatabaseVersionFilterArgs) ToGetDatabaseVersionFilterOutputWithContext added in v2.3.5

func (i GetDatabaseVersionFilterArgs) ToGetDatabaseVersionFilterOutputWithContext(ctx context.Context) GetDatabaseVersionFilterOutput

type GetDatabaseVersionFilterArray added in v2.3.5

type GetDatabaseVersionFilterArray []GetDatabaseVersionFilterInput

func (GetDatabaseVersionFilterArray) ElementType added in v2.3.5

func (GetDatabaseVersionFilterArray) ToGetDatabaseVersionFilterArrayOutput added in v2.3.5

func (i GetDatabaseVersionFilterArray) ToGetDatabaseVersionFilterArrayOutput() GetDatabaseVersionFilterArrayOutput

func (GetDatabaseVersionFilterArray) ToGetDatabaseVersionFilterArrayOutputWithContext added in v2.3.5

func (i GetDatabaseVersionFilterArray) ToGetDatabaseVersionFilterArrayOutputWithContext(ctx context.Context) GetDatabaseVersionFilterArrayOutput

type GetDatabaseVersionFilterArrayInput added in v2.3.5

type GetDatabaseVersionFilterArrayInput interface {
	pulumi.Input

	ToGetDatabaseVersionFilterArrayOutput() GetDatabaseVersionFilterArrayOutput
	ToGetDatabaseVersionFilterArrayOutputWithContext(context.Context) GetDatabaseVersionFilterArrayOutput
}

GetDatabaseVersionFilterArrayInput is an input type that accepts GetDatabaseVersionFilterArray and GetDatabaseVersionFilterArrayOutput values. You can construct a concrete instance of `GetDatabaseVersionFilterArrayInput` via:

GetDatabaseVersionFilterArray{ GetDatabaseVersionFilterArgs{...} }

type GetDatabaseVersionFilterArrayOutput added in v2.3.5

type GetDatabaseVersionFilterArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseVersionFilterArrayOutput) ElementType added in v2.3.5

func (GetDatabaseVersionFilterArrayOutput) Index added in v2.3.5

func (GetDatabaseVersionFilterArrayOutput) ToGetDatabaseVersionFilterArrayOutput added in v2.3.5

func (o GetDatabaseVersionFilterArrayOutput) ToGetDatabaseVersionFilterArrayOutput() GetDatabaseVersionFilterArrayOutput

func (GetDatabaseVersionFilterArrayOutput) ToGetDatabaseVersionFilterArrayOutputWithContext added in v2.3.5

func (o GetDatabaseVersionFilterArrayOutput) ToGetDatabaseVersionFilterArrayOutputWithContext(ctx context.Context) GetDatabaseVersionFilterArrayOutput

type GetDatabaseVersionFilterInput added in v2.3.5

type GetDatabaseVersionFilterInput interface {
	pulumi.Input

	ToGetDatabaseVersionFilterOutput() GetDatabaseVersionFilterOutput
	ToGetDatabaseVersionFilterOutputWithContext(context.Context) GetDatabaseVersionFilterOutput
}

GetDatabaseVersionFilterInput is an input type that accepts GetDatabaseVersionFilterArgs and GetDatabaseVersionFilterOutput values. You can construct a concrete instance of `GetDatabaseVersionFilterInput` via:

GetDatabaseVersionFilterArgs{...}

type GetDatabaseVersionFilterOutput added in v2.3.5

type GetDatabaseVersionFilterOutput struct{ *pulumi.OutputState }

func (GetDatabaseVersionFilterOutput) All added in v2.3.5

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetDatabaseVersionFilterOutput) ElementType added in v2.3.5

func (GetDatabaseVersionFilterOutput) Key added in v2.3.5

Filter versions by this key. This may be one of `default`, `engine`, `version`.

func (GetDatabaseVersionFilterOutput) MatchBy added in v2.3.5

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetDatabaseVersionFilterOutput) ToGetDatabaseVersionFilterOutput added in v2.3.5

func (o GetDatabaseVersionFilterOutput) ToGetDatabaseVersionFilterOutput() GetDatabaseVersionFilterOutput

func (GetDatabaseVersionFilterOutput) ToGetDatabaseVersionFilterOutputWithContext added in v2.3.5

func (o GetDatabaseVersionFilterOutput) ToGetDatabaseVersionFilterOutputWithContext(ctx context.Context) GetDatabaseVersionFilterOutput

func (GetDatabaseVersionFilterOutput) Values added in v2.3.5

Only retrieves `versions` which keys has value that matches one of the values provided here

type GetDatabaseVersionOutputArgs added in v2.3.5

type GetDatabaseVersionOutputArgs struct {
	// One or more key/value pairs on which to filter results
	Filters GetDatabaseVersionFilterArrayInput `pulumi:"filters"`
	// One or more key/direction pairs on which to sort results
	Sorts GetDatabaseVersionSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getDatabaseVersion.

func (GetDatabaseVersionOutputArgs) ElementType added in v2.3.5

type GetDatabaseVersionResult added in v2.3.5

type GetDatabaseVersionResult struct {
	// One or more key/value pairs on which to filter results
	Filters []GetDatabaseVersionFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// One or more key/direction pairs on which to sort results
	Sorts    []GetDatabaseVersionSort    `pulumi:"sorts"`
	Versions []GetDatabaseVersionVersion `pulumi:"versions"`
}

A collection of values returned by getDatabaseVersion.

func GetDatabaseVersion added in v2.3.5

func GetDatabaseVersion(ctx *pulumi.Context, args *GetDatabaseVersionArgs, opts ...pulumi.InvokeOption) (*GetDatabaseVersionResult, error)

Retrieves information about the database versions that Civo supports, with the ability to filter the results.

type GetDatabaseVersionResultOutput added in v2.3.5

type GetDatabaseVersionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseVersion.

func GetDatabaseVersionOutput added in v2.3.5

func (GetDatabaseVersionResultOutput) ElementType added in v2.3.5

func (GetDatabaseVersionResultOutput) Filters added in v2.3.5

One or more key/value pairs on which to filter results

func (GetDatabaseVersionResultOutput) Id added in v2.3.5

The provider-assigned unique ID for this managed resource.

func (GetDatabaseVersionResultOutput) Sorts added in v2.3.5

One or more key/direction pairs on which to sort results

func (GetDatabaseVersionResultOutput) ToGetDatabaseVersionResultOutput added in v2.3.5

func (o GetDatabaseVersionResultOutput) ToGetDatabaseVersionResultOutput() GetDatabaseVersionResultOutput

func (GetDatabaseVersionResultOutput) ToGetDatabaseVersionResultOutputWithContext added in v2.3.5

func (o GetDatabaseVersionResultOutput) ToGetDatabaseVersionResultOutputWithContext(ctx context.Context) GetDatabaseVersionResultOutput

func (GetDatabaseVersionResultOutput) Versions added in v2.3.5

type GetDatabaseVersionSort added in v2.3.5

type GetDatabaseVersionSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort versions by this key. This may be one of `default`, `engine`, `version`.
	Key string `pulumi:"key"`
}

type GetDatabaseVersionSortArgs added in v2.3.5

type GetDatabaseVersionSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort versions by this key. This may be one of `default`, `engine`, `version`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetDatabaseVersionSortArgs) ElementType added in v2.3.5

func (GetDatabaseVersionSortArgs) ElementType() reflect.Type

func (GetDatabaseVersionSortArgs) ToGetDatabaseVersionSortOutput added in v2.3.5

func (i GetDatabaseVersionSortArgs) ToGetDatabaseVersionSortOutput() GetDatabaseVersionSortOutput

func (GetDatabaseVersionSortArgs) ToGetDatabaseVersionSortOutputWithContext added in v2.3.5

func (i GetDatabaseVersionSortArgs) ToGetDatabaseVersionSortOutputWithContext(ctx context.Context) GetDatabaseVersionSortOutput

type GetDatabaseVersionSortArray added in v2.3.5

type GetDatabaseVersionSortArray []GetDatabaseVersionSortInput

func (GetDatabaseVersionSortArray) ElementType added in v2.3.5

func (GetDatabaseVersionSortArray) ToGetDatabaseVersionSortArrayOutput added in v2.3.5

func (i GetDatabaseVersionSortArray) ToGetDatabaseVersionSortArrayOutput() GetDatabaseVersionSortArrayOutput

func (GetDatabaseVersionSortArray) ToGetDatabaseVersionSortArrayOutputWithContext added in v2.3.5

func (i GetDatabaseVersionSortArray) ToGetDatabaseVersionSortArrayOutputWithContext(ctx context.Context) GetDatabaseVersionSortArrayOutput

type GetDatabaseVersionSortArrayInput added in v2.3.5

type GetDatabaseVersionSortArrayInput interface {
	pulumi.Input

	ToGetDatabaseVersionSortArrayOutput() GetDatabaseVersionSortArrayOutput
	ToGetDatabaseVersionSortArrayOutputWithContext(context.Context) GetDatabaseVersionSortArrayOutput
}

GetDatabaseVersionSortArrayInput is an input type that accepts GetDatabaseVersionSortArray and GetDatabaseVersionSortArrayOutput values. You can construct a concrete instance of `GetDatabaseVersionSortArrayInput` via:

GetDatabaseVersionSortArray{ GetDatabaseVersionSortArgs{...} }

type GetDatabaseVersionSortArrayOutput added in v2.3.5

type GetDatabaseVersionSortArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseVersionSortArrayOutput) ElementType added in v2.3.5

func (GetDatabaseVersionSortArrayOutput) Index added in v2.3.5

func (GetDatabaseVersionSortArrayOutput) ToGetDatabaseVersionSortArrayOutput added in v2.3.5

func (o GetDatabaseVersionSortArrayOutput) ToGetDatabaseVersionSortArrayOutput() GetDatabaseVersionSortArrayOutput

func (GetDatabaseVersionSortArrayOutput) ToGetDatabaseVersionSortArrayOutputWithContext added in v2.3.5

func (o GetDatabaseVersionSortArrayOutput) ToGetDatabaseVersionSortArrayOutputWithContext(ctx context.Context) GetDatabaseVersionSortArrayOutput

type GetDatabaseVersionSortInput added in v2.3.5

type GetDatabaseVersionSortInput interface {
	pulumi.Input

	ToGetDatabaseVersionSortOutput() GetDatabaseVersionSortOutput
	ToGetDatabaseVersionSortOutputWithContext(context.Context) GetDatabaseVersionSortOutput
}

GetDatabaseVersionSortInput is an input type that accepts GetDatabaseVersionSortArgs and GetDatabaseVersionSortOutput values. You can construct a concrete instance of `GetDatabaseVersionSortInput` via:

GetDatabaseVersionSortArgs{...}

type GetDatabaseVersionSortOutput added in v2.3.5

type GetDatabaseVersionSortOutput struct{ *pulumi.OutputState }

func (GetDatabaseVersionSortOutput) Direction added in v2.3.5

The sort direction. This may be either `asc` or `desc`.

func (GetDatabaseVersionSortOutput) ElementType added in v2.3.5

func (GetDatabaseVersionSortOutput) Key added in v2.3.5

Sort versions by this key. This may be one of `default`, `engine`, `version`.

func (GetDatabaseVersionSortOutput) ToGetDatabaseVersionSortOutput added in v2.3.5

func (o GetDatabaseVersionSortOutput) ToGetDatabaseVersionSortOutput() GetDatabaseVersionSortOutput

func (GetDatabaseVersionSortOutput) ToGetDatabaseVersionSortOutputWithContext added in v2.3.5

func (o GetDatabaseVersionSortOutput) ToGetDatabaseVersionSortOutputWithContext(ctx context.Context) GetDatabaseVersionSortOutput

type GetDatabaseVersionVersion added in v2.3.5

type GetDatabaseVersionVersion struct {
	// If the version is the default
	Default bool `pulumi:"default"`
	// The engine of the database
	Engine string `pulumi:"engine"`
	// The version of the database
	Version string `pulumi:"version"`
}

type GetDatabaseVersionVersionArgs added in v2.3.5

type GetDatabaseVersionVersionArgs struct {
	// If the version is the default
	Default pulumi.BoolInput `pulumi:"default"`
	// The engine of the database
	Engine pulumi.StringInput `pulumi:"engine"`
	// The version of the database
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetDatabaseVersionVersionArgs) ElementType added in v2.3.5

func (GetDatabaseVersionVersionArgs) ToGetDatabaseVersionVersionOutput added in v2.3.5

func (i GetDatabaseVersionVersionArgs) ToGetDatabaseVersionVersionOutput() GetDatabaseVersionVersionOutput

func (GetDatabaseVersionVersionArgs) ToGetDatabaseVersionVersionOutputWithContext added in v2.3.5

func (i GetDatabaseVersionVersionArgs) ToGetDatabaseVersionVersionOutputWithContext(ctx context.Context) GetDatabaseVersionVersionOutput

type GetDatabaseVersionVersionArray added in v2.3.5

type GetDatabaseVersionVersionArray []GetDatabaseVersionVersionInput

func (GetDatabaseVersionVersionArray) ElementType added in v2.3.5

func (GetDatabaseVersionVersionArray) ToGetDatabaseVersionVersionArrayOutput added in v2.3.5

func (i GetDatabaseVersionVersionArray) ToGetDatabaseVersionVersionArrayOutput() GetDatabaseVersionVersionArrayOutput

func (GetDatabaseVersionVersionArray) ToGetDatabaseVersionVersionArrayOutputWithContext added in v2.3.5

func (i GetDatabaseVersionVersionArray) ToGetDatabaseVersionVersionArrayOutputWithContext(ctx context.Context) GetDatabaseVersionVersionArrayOutput

type GetDatabaseVersionVersionArrayInput added in v2.3.5

type GetDatabaseVersionVersionArrayInput interface {
	pulumi.Input

	ToGetDatabaseVersionVersionArrayOutput() GetDatabaseVersionVersionArrayOutput
	ToGetDatabaseVersionVersionArrayOutputWithContext(context.Context) GetDatabaseVersionVersionArrayOutput
}

GetDatabaseVersionVersionArrayInput is an input type that accepts GetDatabaseVersionVersionArray and GetDatabaseVersionVersionArrayOutput values. You can construct a concrete instance of `GetDatabaseVersionVersionArrayInput` via:

GetDatabaseVersionVersionArray{ GetDatabaseVersionVersionArgs{...} }

type GetDatabaseVersionVersionArrayOutput added in v2.3.5

type GetDatabaseVersionVersionArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseVersionVersionArrayOutput) ElementType added in v2.3.5

func (GetDatabaseVersionVersionArrayOutput) Index added in v2.3.5

func (GetDatabaseVersionVersionArrayOutput) ToGetDatabaseVersionVersionArrayOutput added in v2.3.5

func (o GetDatabaseVersionVersionArrayOutput) ToGetDatabaseVersionVersionArrayOutput() GetDatabaseVersionVersionArrayOutput

func (GetDatabaseVersionVersionArrayOutput) ToGetDatabaseVersionVersionArrayOutputWithContext added in v2.3.5

func (o GetDatabaseVersionVersionArrayOutput) ToGetDatabaseVersionVersionArrayOutputWithContext(ctx context.Context) GetDatabaseVersionVersionArrayOutput

type GetDatabaseVersionVersionInput added in v2.3.5

type GetDatabaseVersionVersionInput interface {
	pulumi.Input

	ToGetDatabaseVersionVersionOutput() GetDatabaseVersionVersionOutput
	ToGetDatabaseVersionVersionOutputWithContext(context.Context) GetDatabaseVersionVersionOutput
}

GetDatabaseVersionVersionInput is an input type that accepts GetDatabaseVersionVersionArgs and GetDatabaseVersionVersionOutput values. You can construct a concrete instance of `GetDatabaseVersionVersionInput` via:

GetDatabaseVersionVersionArgs{...}

type GetDatabaseVersionVersionOutput added in v2.3.5

type GetDatabaseVersionVersionOutput struct{ *pulumi.OutputState }

func (GetDatabaseVersionVersionOutput) Default added in v2.3.5

If the version is the default

func (GetDatabaseVersionVersionOutput) ElementType added in v2.3.5

func (GetDatabaseVersionVersionOutput) Engine added in v2.3.5

The engine of the database

func (GetDatabaseVersionVersionOutput) ToGetDatabaseVersionVersionOutput added in v2.3.5

func (o GetDatabaseVersionVersionOutput) ToGetDatabaseVersionVersionOutput() GetDatabaseVersionVersionOutput

func (GetDatabaseVersionVersionOutput) ToGetDatabaseVersionVersionOutputWithContext added in v2.3.5

func (o GetDatabaseVersionVersionOutput) ToGetDatabaseVersionVersionOutputWithContext(ctx context.Context) GetDatabaseVersionVersionOutput

func (GetDatabaseVersionVersionOutput) Version added in v2.3.5

The version of the database

type GetDiskImageArgs

type GetDiskImageArgs struct {
	// One or more key/value pairs on which to filter results
	Filters []GetDiskImageFilter `pulumi:"filters"`
	// If is used, all disk image will be from this region. Required if no region is set in provider.
	Region *string `pulumi:"region"`
	// One or more key/direction pairs on which to sort results
	Sorts []GetDiskImageSort `pulumi:"sorts"`
}

A collection of arguments for invoking getDiskImage.

type GetDiskImageDiskimage

type GetDiskImageDiskimage struct {
	// ID of disk image
	Id string `pulumi:"id"`
	// Label of disk image
	Label string `pulumi:"label"`
	// Name of disk image
	Name string `pulumi:"name"`
	// Version of disk image
	Version string `pulumi:"version"`
}

type GetDiskImageDiskimageArgs

type GetDiskImageDiskimageArgs struct {
	// ID of disk image
	Id pulumi.StringInput `pulumi:"id"`
	// Label of disk image
	Label pulumi.StringInput `pulumi:"label"`
	// Name of disk image
	Name pulumi.StringInput `pulumi:"name"`
	// Version of disk image
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetDiskImageDiskimageArgs) ElementType

func (GetDiskImageDiskimageArgs) ElementType() reflect.Type

func (GetDiskImageDiskimageArgs) ToGetDiskImageDiskimageOutput

func (i GetDiskImageDiskimageArgs) ToGetDiskImageDiskimageOutput() GetDiskImageDiskimageOutput

func (GetDiskImageDiskimageArgs) ToGetDiskImageDiskimageOutputWithContext

func (i GetDiskImageDiskimageArgs) ToGetDiskImageDiskimageOutputWithContext(ctx context.Context) GetDiskImageDiskimageOutput

type GetDiskImageDiskimageArray

type GetDiskImageDiskimageArray []GetDiskImageDiskimageInput

func (GetDiskImageDiskimageArray) ElementType

func (GetDiskImageDiskimageArray) ElementType() reflect.Type

func (GetDiskImageDiskimageArray) ToGetDiskImageDiskimageArrayOutput

func (i GetDiskImageDiskimageArray) ToGetDiskImageDiskimageArrayOutput() GetDiskImageDiskimageArrayOutput

func (GetDiskImageDiskimageArray) ToGetDiskImageDiskimageArrayOutputWithContext

func (i GetDiskImageDiskimageArray) ToGetDiskImageDiskimageArrayOutputWithContext(ctx context.Context) GetDiskImageDiskimageArrayOutput

type GetDiskImageDiskimageArrayInput

type GetDiskImageDiskimageArrayInput interface {
	pulumi.Input

	ToGetDiskImageDiskimageArrayOutput() GetDiskImageDiskimageArrayOutput
	ToGetDiskImageDiskimageArrayOutputWithContext(context.Context) GetDiskImageDiskimageArrayOutput
}

GetDiskImageDiskimageArrayInput is an input type that accepts GetDiskImageDiskimageArray and GetDiskImageDiskimageArrayOutput values. You can construct a concrete instance of `GetDiskImageDiskimageArrayInput` via:

GetDiskImageDiskimageArray{ GetDiskImageDiskimageArgs{...} }

type GetDiskImageDiskimageArrayOutput

type GetDiskImageDiskimageArrayOutput struct{ *pulumi.OutputState }

func (GetDiskImageDiskimageArrayOutput) ElementType

func (GetDiskImageDiskimageArrayOutput) Index

func (GetDiskImageDiskimageArrayOutput) ToGetDiskImageDiskimageArrayOutput

func (o GetDiskImageDiskimageArrayOutput) ToGetDiskImageDiskimageArrayOutput() GetDiskImageDiskimageArrayOutput

func (GetDiskImageDiskimageArrayOutput) ToGetDiskImageDiskimageArrayOutputWithContext

func (o GetDiskImageDiskimageArrayOutput) ToGetDiskImageDiskimageArrayOutputWithContext(ctx context.Context) GetDiskImageDiskimageArrayOutput

type GetDiskImageDiskimageInput

type GetDiskImageDiskimageInput interface {
	pulumi.Input

	ToGetDiskImageDiskimageOutput() GetDiskImageDiskimageOutput
	ToGetDiskImageDiskimageOutputWithContext(context.Context) GetDiskImageDiskimageOutput
}

GetDiskImageDiskimageInput is an input type that accepts GetDiskImageDiskimageArgs and GetDiskImageDiskimageOutput values. You can construct a concrete instance of `GetDiskImageDiskimageInput` via:

GetDiskImageDiskimageArgs{...}

type GetDiskImageDiskimageOutput

type GetDiskImageDiskimageOutput struct{ *pulumi.OutputState }

func (GetDiskImageDiskimageOutput) ElementType

func (GetDiskImageDiskimageOutput) Id

ID of disk image

func (GetDiskImageDiskimageOutput) Label

Label of disk image

func (GetDiskImageDiskimageOutput) Name

Name of disk image

func (GetDiskImageDiskimageOutput) ToGetDiskImageDiskimageOutput

func (o GetDiskImageDiskimageOutput) ToGetDiskImageDiskimageOutput() GetDiskImageDiskimageOutput

func (GetDiskImageDiskimageOutput) ToGetDiskImageDiskimageOutputWithContext

func (o GetDiskImageDiskimageOutput) ToGetDiskImageDiskimageOutputWithContext(ctx context.Context) GetDiskImageDiskimageOutput

func (GetDiskImageDiskimageOutput) Version

Version of disk image

type GetDiskImageFilter

type GetDiskImageFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter diskimages by this key. This may be one of `id`, `label`, `name`, `version`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves `diskimages` which keys has value that matches one of the values provided here
	Values []string `pulumi:"values"`
}

type GetDiskImageFilterArgs

type GetDiskImageFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter diskimages by this key. This may be one of `id`, `label`, `name`, `version`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves `diskimages` which keys has value that matches one of the values provided here
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetDiskImageFilterArgs) ElementType

func (GetDiskImageFilterArgs) ElementType() reflect.Type

func (GetDiskImageFilterArgs) ToGetDiskImageFilterOutput

func (i GetDiskImageFilterArgs) ToGetDiskImageFilterOutput() GetDiskImageFilterOutput

func (GetDiskImageFilterArgs) ToGetDiskImageFilterOutputWithContext

func (i GetDiskImageFilterArgs) ToGetDiskImageFilterOutputWithContext(ctx context.Context) GetDiskImageFilterOutput

type GetDiskImageFilterArray

type GetDiskImageFilterArray []GetDiskImageFilterInput

func (GetDiskImageFilterArray) ElementType

func (GetDiskImageFilterArray) ElementType() reflect.Type

func (GetDiskImageFilterArray) ToGetDiskImageFilterArrayOutput

func (i GetDiskImageFilterArray) ToGetDiskImageFilterArrayOutput() GetDiskImageFilterArrayOutput

func (GetDiskImageFilterArray) ToGetDiskImageFilterArrayOutputWithContext

func (i GetDiskImageFilterArray) ToGetDiskImageFilterArrayOutputWithContext(ctx context.Context) GetDiskImageFilterArrayOutput

type GetDiskImageFilterArrayInput

type GetDiskImageFilterArrayInput interface {
	pulumi.Input

	ToGetDiskImageFilterArrayOutput() GetDiskImageFilterArrayOutput
	ToGetDiskImageFilterArrayOutputWithContext(context.Context) GetDiskImageFilterArrayOutput
}

GetDiskImageFilterArrayInput is an input type that accepts GetDiskImageFilterArray and GetDiskImageFilterArrayOutput values. You can construct a concrete instance of `GetDiskImageFilterArrayInput` via:

GetDiskImageFilterArray{ GetDiskImageFilterArgs{...} }

type GetDiskImageFilterArrayOutput

type GetDiskImageFilterArrayOutput struct{ *pulumi.OutputState }

func (GetDiskImageFilterArrayOutput) ElementType

func (GetDiskImageFilterArrayOutput) Index

func (GetDiskImageFilterArrayOutput) ToGetDiskImageFilterArrayOutput

func (o GetDiskImageFilterArrayOutput) ToGetDiskImageFilterArrayOutput() GetDiskImageFilterArrayOutput

func (GetDiskImageFilterArrayOutput) ToGetDiskImageFilterArrayOutputWithContext

func (o GetDiskImageFilterArrayOutput) ToGetDiskImageFilterArrayOutputWithContext(ctx context.Context) GetDiskImageFilterArrayOutput

type GetDiskImageFilterInput

type GetDiskImageFilterInput interface {
	pulumi.Input

	ToGetDiskImageFilterOutput() GetDiskImageFilterOutput
	ToGetDiskImageFilterOutputWithContext(context.Context) GetDiskImageFilterOutput
}

GetDiskImageFilterInput is an input type that accepts GetDiskImageFilterArgs and GetDiskImageFilterOutput values. You can construct a concrete instance of `GetDiskImageFilterInput` via:

GetDiskImageFilterArgs{...}

type GetDiskImageFilterOutput

type GetDiskImageFilterOutput struct{ *pulumi.OutputState }

func (GetDiskImageFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetDiskImageFilterOutput) ElementType

func (GetDiskImageFilterOutput) ElementType() reflect.Type

func (GetDiskImageFilterOutput) Key

Filter diskimages by this key. This may be one of `id`, `label`, `name`, `version`.

func (GetDiskImageFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetDiskImageFilterOutput) ToGetDiskImageFilterOutput

func (o GetDiskImageFilterOutput) ToGetDiskImageFilterOutput() GetDiskImageFilterOutput

func (GetDiskImageFilterOutput) ToGetDiskImageFilterOutputWithContext

func (o GetDiskImageFilterOutput) ToGetDiskImageFilterOutputWithContext(ctx context.Context) GetDiskImageFilterOutput

func (GetDiskImageFilterOutput) Values

Only retrieves `diskimages` which keys has value that matches one of the values provided here

type GetDiskImageOutputArgs added in v2.1.0

type GetDiskImageOutputArgs struct {
	// One or more key/value pairs on which to filter results
	Filters GetDiskImageFilterArrayInput `pulumi:"filters"`
	// If is used, all disk image will be from this region. Required if no region is set in provider.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// One or more key/direction pairs on which to sort results
	Sorts GetDiskImageSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getDiskImage.

func (GetDiskImageOutputArgs) ElementType added in v2.1.0

func (GetDiskImageOutputArgs) ElementType() reflect.Type

type GetDiskImageResult

type GetDiskImageResult struct {
	Diskimages []GetDiskImageDiskimage `pulumi:"diskimages"`
	// One or more key/value pairs on which to filter results
	Filters []GetDiskImageFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// If is used, all disk image will be from this region. Required if no region is set in provider.
	Region *string `pulumi:"region"`
	// One or more key/direction pairs on which to sort results
	Sorts []GetDiskImageSort `pulumi:"sorts"`
}

A collection of values returned by getDiskImage.

func GetDiskImage

func GetDiskImage(ctx *pulumi.Context, args *GetDiskImageArgs, opts ...pulumi.InvokeOption) (*GetDiskImageResult, error)

Get information on an disk image for use in other resources (e.g. creating a instance) with the ability to filter the results.

type GetDiskImageResultOutput added in v2.1.0

type GetDiskImageResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDiskImage.

func GetDiskImageOutput added in v2.1.0

func GetDiskImageOutput(ctx *pulumi.Context, args GetDiskImageOutputArgs, opts ...pulumi.InvokeOption) GetDiskImageResultOutput

func (GetDiskImageResultOutput) Diskimages added in v2.1.0

func (GetDiskImageResultOutput) ElementType added in v2.1.0

func (GetDiskImageResultOutput) ElementType() reflect.Type

func (GetDiskImageResultOutput) Filters added in v2.1.0

One or more key/value pairs on which to filter results

func (GetDiskImageResultOutput) Id added in v2.1.0

The provider-assigned unique ID for this managed resource.

func (GetDiskImageResultOutput) Region added in v2.1.0

If is used, all disk image will be from this region. Required if no region is set in provider.

func (GetDiskImageResultOutput) Sorts added in v2.1.0

One or more key/direction pairs on which to sort results

func (GetDiskImageResultOutput) ToGetDiskImageResultOutput added in v2.1.0

func (o GetDiskImageResultOutput) ToGetDiskImageResultOutput() GetDiskImageResultOutput

func (GetDiskImageResultOutput) ToGetDiskImageResultOutputWithContext added in v2.1.0

func (o GetDiskImageResultOutput) ToGetDiskImageResultOutputWithContext(ctx context.Context) GetDiskImageResultOutput

type GetDiskImageSort

type GetDiskImageSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort diskimages by this key. This may be one of `id`, `label`, `name`, `version`.
	Key string `pulumi:"key"`
}

type GetDiskImageSortArgs

type GetDiskImageSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort diskimages by this key. This may be one of `id`, `label`, `name`, `version`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetDiskImageSortArgs) ElementType

func (GetDiskImageSortArgs) ElementType() reflect.Type

func (GetDiskImageSortArgs) ToGetDiskImageSortOutput

func (i GetDiskImageSortArgs) ToGetDiskImageSortOutput() GetDiskImageSortOutput

func (GetDiskImageSortArgs) ToGetDiskImageSortOutputWithContext

func (i GetDiskImageSortArgs) ToGetDiskImageSortOutputWithContext(ctx context.Context) GetDiskImageSortOutput

type GetDiskImageSortArray

type GetDiskImageSortArray []GetDiskImageSortInput

func (GetDiskImageSortArray) ElementType

func (GetDiskImageSortArray) ElementType() reflect.Type

func (GetDiskImageSortArray) ToGetDiskImageSortArrayOutput

func (i GetDiskImageSortArray) ToGetDiskImageSortArrayOutput() GetDiskImageSortArrayOutput

func (GetDiskImageSortArray) ToGetDiskImageSortArrayOutputWithContext

func (i GetDiskImageSortArray) ToGetDiskImageSortArrayOutputWithContext(ctx context.Context) GetDiskImageSortArrayOutput

type GetDiskImageSortArrayInput

type GetDiskImageSortArrayInput interface {
	pulumi.Input

	ToGetDiskImageSortArrayOutput() GetDiskImageSortArrayOutput
	ToGetDiskImageSortArrayOutputWithContext(context.Context) GetDiskImageSortArrayOutput
}

GetDiskImageSortArrayInput is an input type that accepts GetDiskImageSortArray and GetDiskImageSortArrayOutput values. You can construct a concrete instance of `GetDiskImageSortArrayInput` via:

GetDiskImageSortArray{ GetDiskImageSortArgs{...} }

type GetDiskImageSortArrayOutput

type GetDiskImageSortArrayOutput struct{ *pulumi.OutputState }

func (GetDiskImageSortArrayOutput) ElementType

func (GetDiskImageSortArrayOutput) Index

func (GetDiskImageSortArrayOutput) ToGetDiskImageSortArrayOutput

func (o GetDiskImageSortArrayOutput) ToGetDiskImageSortArrayOutput() GetDiskImageSortArrayOutput

func (GetDiskImageSortArrayOutput) ToGetDiskImageSortArrayOutputWithContext

func (o GetDiskImageSortArrayOutput) ToGetDiskImageSortArrayOutputWithContext(ctx context.Context) GetDiskImageSortArrayOutput

type GetDiskImageSortInput

type GetDiskImageSortInput interface {
	pulumi.Input

	ToGetDiskImageSortOutput() GetDiskImageSortOutput
	ToGetDiskImageSortOutputWithContext(context.Context) GetDiskImageSortOutput
}

GetDiskImageSortInput is an input type that accepts GetDiskImageSortArgs and GetDiskImageSortOutput values. You can construct a concrete instance of `GetDiskImageSortInput` via:

GetDiskImageSortArgs{...}

type GetDiskImageSortOutput

type GetDiskImageSortOutput struct{ *pulumi.OutputState }

func (GetDiskImageSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetDiskImageSortOutput) ElementType

func (GetDiskImageSortOutput) ElementType() reflect.Type

func (GetDiskImageSortOutput) Key

Sort diskimages by this key. This may be one of `id`, `label`, `name`, `version`.

func (GetDiskImageSortOutput) ToGetDiskImageSortOutput

func (o GetDiskImageSortOutput) ToGetDiskImageSortOutput() GetDiskImageSortOutput

func (GetDiskImageSortOutput) ToGetDiskImageSortOutputWithContext

func (o GetDiskImageSortOutput) ToGetDiskImageSortOutputWithContext(ctx context.Context) GetDiskImageSortOutput

type GetInstancesArgs

type GetInstancesArgs struct {
	// One or more key/value pairs on which to filter results
	Filters []GetInstancesFilter `pulumi:"filters"`
	// If used, all instances will be from the provided region
	Region *string `pulumi:"region"`
	// One or more key/direction pairs on which to sort results
	Sorts []GetInstancesSort `pulumi:"sorts"`
}

A collection of arguments for invoking getInstances.

type GetInstancesFilter

type GetInstancesFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `tags`, `template`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves `instances` which keys has value that matches one of the values provided here
	Values []string `pulumi:"values"`
}

type GetInstancesFilterArgs

type GetInstancesFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `tags`, `template`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves `instances` which keys has value that matches one of the values provided here
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetInstancesFilterArgs) ElementType

func (GetInstancesFilterArgs) ElementType() reflect.Type

func (GetInstancesFilterArgs) ToGetInstancesFilterOutput

func (i GetInstancesFilterArgs) ToGetInstancesFilterOutput() GetInstancesFilterOutput

func (GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext

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

type GetInstancesFilterArray

type GetInstancesFilterArray []GetInstancesFilterInput

func (GetInstancesFilterArray) ElementType

func (GetInstancesFilterArray) ElementType() reflect.Type

func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutput

func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput

func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext

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

type GetInstancesFilterArrayInput

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

type GetInstancesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesFilterArrayOutput) ElementType

func (GetInstancesFilterArrayOutput) Index

func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput

func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput

func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext

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

type GetInstancesFilterInput

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

type GetInstancesFilterOutput struct{ *pulumi.OutputState }

func (GetInstancesFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetInstancesFilterOutput) ElementType

func (GetInstancesFilterOutput) ElementType() reflect.Type

func (GetInstancesFilterOutput) Key

Filter instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `tags`, `template`.

func (GetInstancesFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetInstancesFilterOutput) ToGetInstancesFilterOutput

func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput

func (GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext

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

func (GetInstancesFilterOutput) Values

Only retrieves `instances` which keys has value that matches one of the values provided here

type GetInstancesInstance

type GetInstancesInstance struct {
	// CPU of the instance
	CpuCores int `pulumi:"cpuCores"`
	// Creation date of the instance
	CreatedAt string `pulumi:"createdAt"`
	// SSD size of the instance
	DiskGb int `pulumi:"diskGb"`
	// Firewall ID of the instance
	FirewallId string `pulumi:"firewallId"`
	// Hostname of the instance
	Hostname string `pulumi:"hostname"`
	// ID of the instance
	Id string `pulumi:"id"`
	// Initial password of the instance
	InitialPassword string `pulumi:"initialPassword"`
	// Initial user of the instance
	InitialUser string `pulumi:"initialUser"`
	// Network id of the instance
	NetworkId string `pulumi:"networkId"`
	// Note of the instance
	Notes string `pulumi:"notes"`
	// Private IP of the instance
	PrivateIp string `pulumi:"privateIp"`
	// Pseudo IP of the instance
	PseudoIp string `pulumi:"pseudoIp"`
	// Public IP of the instance
	PublicIp string `pulumi:"publicIp"`
	// RAM of the instance
	RamMb int `pulumi:"ramMb"`
	// Region of the instance
	Region string `pulumi:"region"`
	// Reverse DNS of the instance
	ReverseDns string `pulumi:"reverseDns"`
	// Script of the instance
	Script string `pulumi:"script"`
	// Size of the instance
	Size string `pulumi:"size"`
	// SSH key id of the instance
	SshkeyId string `pulumi:"sshkeyId"`
	// Status of the instance
	Status string `pulumi:"status"`
	// Tags of the instance
	Tags []string `pulumi:"tags"`
	// Disk image/template of the instance
	Template string `pulumi:"template"`
}

type GetInstancesInstanceArgs

type GetInstancesInstanceArgs struct {
	// CPU of the instance
	CpuCores pulumi.IntInput `pulumi:"cpuCores"`
	// Creation date of the instance
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// SSD size of the instance
	DiskGb pulumi.IntInput `pulumi:"diskGb"`
	// Firewall ID of the instance
	FirewallId pulumi.StringInput `pulumi:"firewallId"`
	// Hostname of the instance
	Hostname pulumi.StringInput `pulumi:"hostname"`
	// ID of the instance
	Id pulumi.StringInput `pulumi:"id"`
	// Initial password of the instance
	InitialPassword pulumi.StringInput `pulumi:"initialPassword"`
	// Initial user of the instance
	InitialUser pulumi.StringInput `pulumi:"initialUser"`
	// Network id of the instance
	NetworkId pulumi.StringInput `pulumi:"networkId"`
	// Note of the instance
	Notes pulumi.StringInput `pulumi:"notes"`
	// Private IP of the instance
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
	// Pseudo IP of the instance
	PseudoIp pulumi.StringInput `pulumi:"pseudoIp"`
	// Public IP of the instance
	PublicIp pulumi.StringInput `pulumi:"publicIp"`
	// RAM of the instance
	RamMb pulumi.IntInput `pulumi:"ramMb"`
	// Region of the instance
	Region pulumi.StringInput `pulumi:"region"`
	// Reverse DNS of the instance
	ReverseDns pulumi.StringInput `pulumi:"reverseDns"`
	// Script of the instance
	Script pulumi.StringInput `pulumi:"script"`
	// Size of the instance
	Size pulumi.StringInput `pulumi:"size"`
	// SSH key id of the instance
	SshkeyId pulumi.StringInput `pulumi:"sshkeyId"`
	// Status of the instance
	Status pulumi.StringInput `pulumi:"status"`
	// Tags of the instance
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// Disk image/template of the instance
	Template pulumi.StringInput `pulumi:"template"`
}

func (GetInstancesInstanceArgs) ElementType

func (GetInstancesInstanceArgs) ElementType() reflect.Type

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext

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

type GetInstancesInstanceArray

type GetInstancesInstanceArray []GetInstancesInstanceInput

func (GetInstancesInstanceArray) ElementType

func (GetInstancesInstanceArray) ElementType() reflect.Type

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext

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

type GetInstancesInstanceArrayInput

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

type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceArrayOutput) ElementType

func (GetInstancesInstanceArrayOutput) Index

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext

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

type GetInstancesInstanceInput

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

type GetInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceOutput) CpuCores

CPU of the instance

func (GetInstancesInstanceOutput) CreatedAt

Creation date of the instance

func (GetInstancesInstanceOutput) DiskGb

SSD size of the instance

func (GetInstancesInstanceOutput) ElementType

func (GetInstancesInstanceOutput) ElementType() reflect.Type

func (GetInstancesInstanceOutput) FirewallId

Firewall ID of the instance

func (GetInstancesInstanceOutput) Hostname

Hostname of the instance

func (GetInstancesInstanceOutput) Id

ID of the instance

func (GetInstancesInstanceOutput) InitialPassword

func (o GetInstancesInstanceOutput) InitialPassword() pulumi.StringOutput

Initial password of the instance

func (GetInstancesInstanceOutput) InitialUser

Initial user of the instance

func (GetInstancesInstanceOutput) NetworkId

Network id of the instance

func (GetInstancesInstanceOutput) Notes

Note of the instance

func (GetInstancesInstanceOutput) PrivateIp

Private IP of the instance

func (GetInstancesInstanceOutput) PseudoIp

Pseudo IP of the instance

func (GetInstancesInstanceOutput) PublicIp

Public IP of the instance

func (GetInstancesInstanceOutput) RamMb

RAM of the instance

func (GetInstancesInstanceOutput) Region

Region of the instance

func (GetInstancesInstanceOutput) ReverseDns

Reverse DNS of the instance

func (GetInstancesInstanceOutput) Script

Script of the instance

func (GetInstancesInstanceOutput) Size

Size of the instance

func (GetInstancesInstanceOutput) SshkeyId

SSH key id of the instance

func (GetInstancesInstanceOutput) Status

Status of the instance

func (GetInstancesInstanceOutput) Tags

Tags of the instance

func (GetInstancesInstanceOutput) Template

Disk image/template of the instance

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext

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

type GetInstancesOutputArgs added in v2.1.0

type GetInstancesOutputArgs struct {
	// One or more key/value pairs on which to filter results
	Filters GetInstancesFilterArrayInput `pulumi:"filters"`
	// If used, all instances will be from the provided region
	Region pulumi.StringPtrInput `pulumi:"region"`
	// One or more key/direction pairs on which to sort results
	Sorts GetInstancesSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType added in v2.1.0

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult

type GetInstancesResult struct {
	// One or more key/value pairs on which to filter results
	Filters []GetInstancesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id        string                 `pulumi:"id"`
	Instances []GetInstancesInstance `pulumi:"instances"`
	// If used, all instances will be from the provided region
	Region *string `pulumi:"region"`
	// One or more key/direction pairs on which to sort results
	Sorts []GetInstancesSort `pulumi:"sorts"`
}

A collection of values returned by getInstances.

func GetInstances

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

Get information on instances for use in other resources, with the ability to filter and sort the results. If no filters are specified, all instances will be returned.

Note: You can use the `Instance` data source to obtain metadata about a single instance if you already know the id, unique hostname, or unique tag to retrieve.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := civo.GetInstances(ctx, &civo.GetInstancesArgs{ Region: pulumi.StringRef("LON1"), Filters: []civo.GetInstancesFilter{ { Key: "size", Values: interface{}{ small, }, }, }, }, nil); if err != nil { return err } return nil }) } ```

type GetInstancesResultOutput added in v2.1.0

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func GetInstancesOutput added in v2.1.0

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

func (GetInstancesResultOutput) ElementType added in v2.1.0

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Filters added in v2.1.0

One or more key/value pairs on which to filter results

func (GetInstancesResultOutput) Id added in v2.1.0

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) Instances added in v2.1.0

func (GetInstancesResultOutput) Region added in v2.1.0

If used, all instances will be from the provided region

func (GetInstancesResultOutput) Sorts added in v2.1.0

One or more key/direction pairs on which to sort results

func (GetInstancesResultOutput) ToGetInstancesResultOutput added in v2.1.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext added in v2.1.0

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

type GetInstancesSort

type GetInstancesSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `template`.
	Key string `pulumi:"key"`
}

type GetInstancesSortArgs

type GetInstancesSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `template`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetInstancesSortArgs) ElementType

func (GetInstancesSortArgs) ElementType() reflect.Type

func (GetInstancesSortArgs) ToGetInstancesSortOutput

func (i GetInstancesSortArgs) ToGetInstancesSortOutput() GetInstancesSortOutput

func (GetInstancesSortArgs) ToGetInstancesSortOutputWithContext

func (i GetInstancesSortArgs) ToGetInstancesSortOutputWithContext(ctx context.Context) GetInstancesSortOutput

type GetInstancesSortArray

type GetInstancesSortArray []GetInstancesSortInput

func (GetInstancesSortArray) ElementType

func (GetInstancesSortArray) ElementType() reflect.Type

func (GetInstancesSortArray) ToGetInstancesSortArrayOutput

func (i GetInstancesSortArray) ToGetInstancesSortArrayOutput() GetInstancesSortArrayOutput

func (GetInstancesSortArray) ToGetInstancesSortArrayOutputWithContext

func (i GetInstancesSortArray) ToGetInstancesSortArrayOutputWithContext(ctx context.Context) GetInstancesSortArrayOutput

type GetInstancesSortArrayInput

type GetInstancesSortArrayInput interface {
	pulumi.Input

	ToGetInstancesSortArrayOutput() GetInstancesSortArrayOutput
	ToGetInstancesSortArrayOutputWithContext(context.Context) GetInstancesSortArrayOutput
}

GetInstancesSortArrayInput is an input type that accepts GetInstancesSortArray and GetInstancesSortArrayOutput values. You can construct a concrete instance of `GetInstancesSortArrayInput` via:

GetInstancesSortArray{ GetInstancesSortArgs{...} }

type GetInstancesSortArrayOutput

type GetInstancesSortArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesSortArrayOutput) ElementType

func (GetInstancesSortArrayOutput) Index

func (GetInstancesSortArrayOutput) ToGetInstancesSortArrayOutput

func (o GetInstancesSortArrayOutput) ToGetInstancesSortArrayOutput() GetInstancesSortArrayOutput

func (GetInstancesSortArrayOutput) ToGetInstancesSortArrayOutputWithContext

func (o GetInstancesSortArrayOutput) ToGetInstancesSortArrayOutputWithContext(ctx context.Context) GetInstancesSortArrayOutput

type GetInstancesSortInput

type GetInstancesSortInput interface {
	pulumi.Input

	ToGetInstancesSortOutput() GetInstancesSortOutput
	ToGetInstancesSortOutputWithContext(context.Context) GetInstancesSortOutput
}

GetInstancesSortInput is an input type that accepts GetInstancesSortArgs and GetInstancesSortOutput values. You can construct a concrete instance of `GetInstancesSortInput` via:

GetInstancesSortArgs{...}

type GetInstancesSortOutput

type GetInstancesSortOutput struct{ *pulumi.OutputState }

func (GetInstancesSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetInstancesSortOutput) ElementType

func (GetInstancesSortOutput) ElementType() reflect.Type

func (GetInstancesSortOutput) Key

Sort instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `template`.

func (GetInstancesSortOutput) ToGetInstancesSortOutput

func (o GetInstancesSortOutput) ToGetInstancesSortOutput() GetInstancesSortOutput

func (GetInstancesSortOutput) ToGetInstancesSortOutputWithContext

func (o GetInstancesSortOutput) ToGetInstancesSortOutputWithContext(ctx context.Context) GetInstancesSortOutput

type GetKubernetesClusterInstalledApplication

type GetKubernetesClusterInstalledApplication struct {
	// The name of the application
	Application string `pulumi:"application"`
	// The category of the application
	Category string `pulumi:"category"`
	// If the application is installed, this will return `true`
	Installed bool `pulumi:"installed"`
	// The version of the application
	Version string `pulumi:"version"`
}

type GetKubernetesClusterInstalledApplicationArgs

type GetKubernetesClusterInstalledApplicationArgs struct {
	// The name of the application
	Application pulumi.StringInput `pulumi:"application"`
	// The category of the application
	Category pulumi.StringInput `pulumi:"category"`
	// If the application is installed, this will return `true`
	Installed pulumi.BoolInput `pulumi:"installed"`
	// The version of the application
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetKubernetesClusterInstalledApplicationArgs) ElementType

func (GetKubernetesClusterInstalledApplicationArgs) ToGetKubernetesClusterInstalledApplicationOutput

func (i GetKubernetesClusterInstalledApplicationArgs) ToGetKubernetesClusterInstalledApplicationOutput() GetKubernetesClusterInstalledApplicationOutput

func (GetKubernetesClusterInstalledApplicationArgs) ToGetKubernetesClusterInstalledApplicationOutputWithContext

func (i GetKubernetesClusterInstalledApplicationArgs) ToGetKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationOutput

type GetKubernetesClusterInstalledApplicationArray

type GetKubernetesClusterInstalledApplicationArray []GetKubernetesClusterInstalledApplicationInput

func (GetKubernetesClusterInstalledApplicationArray) ElementType

func (GetKubernetesClusterInstalledApplicationArray) ToGetKubernetesClusterInstalledApplicationArrayOutput

func (i GetKubernetesClusterInstalledApplicationArray) ToGetKubernetesClusterInstalledApplicationArrayOutput() GetKubernetesClusterInstalledApplicationArrayOutput

func (GetKubernetesClusterInstalledApplicationArray) ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext

func (i GetKubernetesClusterInstalledApplicationArray) ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationArrayOutput

type GetKubernetesClusterInstalledApplicationArrayInput

type GetKubernetesClusterInstalledApplicationArrayInput interface {
	pulumi.Input

	ToGetKubernetesClusterInstalledApplicationArrayOutput() GetKubernetesClusterInstalledApplicationArrayOutput
	ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext(context.Context) GetKubernetesClusterInstalledApplicationArrayOutput
}

GetKubernetesClusterInstalledApplicationArrayInput is an input type that accepts GetKubernetesClusterInstalledApplicationArray and GetKubernetesClusterInstalledApplicationArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterInstalledApplicationArrayInput` via:

GetKubernetesClusterInstalledApplicationArray{ GetKubernetesClusterInstalledApplicationArgs{...} }

type GetKubernetesClusterInstalledApplicationArrayOutput

type GetKubernetesClusterInstalledApplicationArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterInstalledApplicationArrayOutput) ElementType

func (GetKubernetesClusterInstalledApplicationArrayOutput) Index

func (GetKubernetesClusterInstalledApplicationArrayOutput) ToGetKubernetesClusterInstalledApplicationArrayOutput

func (o GetKubernetesClusterInstalledApplicationArrayOutput) ToGetKubernetesClusterInstalledApplicationArrayOutput() GetKubernetesClusterInstalledApplicationArrayOutput

func (GetKubernetesClusterInstalledApplicationArrayOutput) ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext

func (o GetKubernetesClusterInstalledApplicationArrayOutput) ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationArrayOutput

type GetKubernetesClusterInstalledApplicationInput

type GetKubernetesClusterInstalledApplicationInput interface {
	pulumi.Input

	ToGetKubernetesClusterInstalledApplicationOutput() GetKubernetesClusterInstalledApplicationOutput
	ToGetKubernetesClusterInstalledApplicationOutputWithContext(context.Context) GetKubernetesClusterInstalledApplicationOutput
}

GetKubernetesClusterInstalledApplicationInput is an input type that accepts GetKubernetesClusterInstalledApplicationArgs and GetKubernetesClusterInstalledApplicationOutput values. You can construct a concrete instance of `GetKubernetesClusterInstalledApplicationInput` via:

GetKubernetesClusterInstalledApplicationArgs{...}

type GetKubernetesClusterInstalledApplicationOutput

type GetKubernetesClusterInstalledApplicationOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterInstalledApplicationOutput) Application

The name of the application

func (GetKubernetesClusterInstalledApplicationOutput) Category

The category of the application

func (GetKubernetesClusterInstalledApplicationOutput) ElementType

func (GetKubernetesClusterInstalledApplicationOutput) Installed

If the application is installed, this will return `true`

func (GetKubernetesClusterInstalledApplicationOutput) ToGetKubernetesClusterInstalledApplicationOutput

func (o GetKubernetesClusterInstalledApplicationOutput) ToGetKubernetesClusterInstalledApplicationOutput() GetKubernetesClusterInstalledApplicationOutput

func (GetKubernetesClusterInstalledApplicationOutput) ToGetKubernetesClusterInstalledApplicationOutputWithContext

func (o GetKubernetesClusterInstalledApplicationOutput) ToGetKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationOutput

func (GetKubernetesClusterInstalledApplicationOutput) Version

The version of the application

type GetKubernetesClusterPool

type GetKubernetesClusterPool struct {
	// Instance names in the nodepool
	InstanceNames []string `pulumi:"instanceNames"`
	// Node pool label, if you don't provide one, we will generate one for you
	Label  string            `pulumi:"label"`
	Labels map[string]string `pulumi:"labels"`
	// Number of nodes in the nodepool
	NodeCount int `pulumi:"nodeCount"`
	// Node pool belongs to the public ip node pool
	PublicIpNodePool bool `pulumi:"publicIpNodePool"`
	// Size of the nodes in the nodepool
	Size   string                          `pulumi:"size"`
	Taints []GetKubernetesClusterPoolTaint `pulumi:"taints"`
}

type GetKubernetesClusterPoolArgs

type GetKubernetesClusterPoolArgs struct {
	// Instance names in the nodepool
	InstanceNames pulumi.StringArrayInput `pulumi:"instanceNames"`
	// Node pool label, if you don't provide one, we will generate one for you
	Label  pulumi.StringInput    `pulumi:"label"`
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Number of nodes in the nodepool
	NodeCount pulumi.IntInput `pulumi:"nodeCount"`
	// Node pool belongs to the public ip node pool
	PublicIpNodePool pulumi.BoolInput `pulumi:"publicIpNodePool"`
	// Size of the nodes in the nodepool
	Size   pulumi.StringInput                      `pulumi:"size"`
	Taints GetKubernetesClusterPoolTaintArrayInput `pulumi:"taints"`
}

func (GetKubernetesClusterPoolArgs) ElementType

func (GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutput

func (i GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutput() GetKubernetesClusterPoolOutput

func (GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutputWithContext

func (i GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutputWithContext(ctx context.Context) GetKubernetesClusterPoolOutput

type GetKubernetesClusterPoolArray

type GetKubernetesClusterPoolArray []GetKubernetesClusterPoolInput

func (GetKubernetesClusterPoolArray) ElementType

func (GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutput

func (i GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutput() GetKubernetesClusterPoolArrayOutput

func (GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutputWithContext

func (i GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolArrayOutput

type GetKubernetesClusterPoolArrayInput

type GetKubernetesClusterPoolArrayInput interface {
	pulumi.Input

	ToGetKubernetesClusterPoolArrayOutput() GetKubernetesClusterPoolArrayOutput
	ToGetKubernetesClusterPoolArrayOutputWithContext(context.Context) GetKubernetesClusterPoolArrayOutput
}

GetKubernetesClusterPoolArrayInput is an input type that accepts GetKubernetesClusterPoolArray and GetKubernetesClusterPoolArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterPoolArrayInput` via:

GetKubernetesClusterPoolArray{ GetKubernetesClusterPoolArgs{...} }

type GetKubernetesClusterPoolArrayOutput

type GetKubernetesClusterPoolArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterPoolArrayOutput) ElementType

func (GetKubernetesClusterPoolArrayOutput) Index

func (GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutput

func (o GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutput() GetKubernetesClusterPoolArrayOutput

func (GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutputWithContext

func (o GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolArrayOutput

type GetKubernetesClusterPoolInput

type GetKubernetesClusterPoolInput interface {
	pulumi.Input

	ToGetKubernetesClusterPoolOutput() GetKubernetesClusterPoolOutput
	ToGetKubernetesClusterPoolOutputWithContext(context.Context) GetKubernetesClusterPoolOutput
}

GetKubernetesClusterPoolInput is an input type that accepts GetKubernetesClusterPoolArgs and GetKubernetesClusterPoolOutput values. You can construct a concrete instance of `GetKubernetesClusterPoolInput` via:

GetKubernetesClusterPoolArgs{...}

type GetKubernetesClusterPoolOutput

type GetKubernetesClusterPoolOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterPoolOutput) ElementType

func (GetKubernetesClusterPoolOutput) InstanceNames

Instance names in the nodepool

func (GetKubernetesClusterPoolOutput) Label added in v2.2.2

Node pool label, if you don't provide one, we will generate one for you

func (GetKubernetesClusterPoolOutput) Labels added in v2.3.15

func (GetKubernetesClusterPoolOutput) NodeCount added in v2.2.1

Number of nodes in the nodepool

func (GetKubernetesClusterPoolOutput) PublicIpNodePool added in v2.3.8

func (o GetKubernetesClusterPoolOutput) PublicIpNodePool() pulumi.BoolOutput

Node pool belongs to the public ip node pool

func (GetKubernetesClusterPoolOutput) Size

Size of the nodes in the nodepool

func (GetKubernetesClusterPoolOutput) Taints added in v2.3.15

func (GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutput

func (o GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutput() GetKubernetesClusterPoolOutput

func (GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutputWithContext

func (o GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutputWithContext(ctx context.Context) GetKubernetesClusterPoolOutput

type GetKubernetesClusterPoolTaint added in v2.3.15

type GetKubernetesClusterPoolTaint struct {
	Effect string `pulumi:"effect"`
	Key    string `pulumi:"key"`
	Value  string `pulumi:"value"`
}

type GetKubernetesClusterPoolTaintArgs added in v2.3.15

type GetKubernetesClusterPoolTaintArgs struct {
	Effect pulumi.StringInput `pulumi:"effect"`
	Key    pulumi.StringInput `pulumi:"key"`
	Value  pulumi.StringInput `pulumi:"value"`
}

func (GetKubernetesClusterPoolTaintArgs) ElementType added in v2.3.15

func (GetKubernetesClusterPoolTaintArgs) ToGetKubernetesClusterPoolTaintOutput added in v2.3.15

func (i GetKubernetesClusterPoolTaintArgs) ToGetKubernetesClusterPoolTaintOutput() GetKubernetesClusterPoolTaintOutput

func (GetKubernetesClusterPoolTaintArgs) ToGetKubernetesClusterPoolTaintOutputWithContext added in v2.3.15

func (i GetKubernetesClusterPoolTaintArgs) ToGetKubernetesClusterPoolTaintOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintOutput

type GetKubernetesClusterPoolTaintArray added in v2.3.15

type GetKubernetesClusterPoolTaintArray []GetKubernetesClusterPoolTaintInput

func (GetKubernetesClusterPoolTaintArray) ElementType added in v2.3.15

func (GetKubernetesClusterPoolTaintArray) ToGetKubernetesClusterPoolTaintArrayOutput added in v2.3.15

func (i GetKubernetesClusterPoolTaintArray) ToGetKubernetesClusterPoolTaintArrayOutput() GetKubernetesClusterPoolTaintArrayOutput

func (GetKubernetesClusterPoolTaintArray) ToGetKubernetesClusterPoolTaintArrayOutputWithContext added in v2.3.15

func (i GetKubernetesClusterPoolTaintArray) ToGetKubernetesClusterPoolTaintArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintArrayOutput

type GetKubernetesClusterPoolTaintArrayInput added in v2.3.15

type GetKubernetesClusterPoolTaintArrayInput interface {
	pulumi.Input

	ToGetKubernetesClusterPoolTaintArrayOutput() GetKubernetesClusterPoolTaintArrayOutput
	ToGetKubernetesClusterPoolTaintArrayOutputWithContext(context.Context) GetKubernetesClusterPoolTaintArrayOutput
}

GetKubernetesClusterPoolTaintArrayInput is an input type that accepts GetKubernetesClusterPoolTaintArray and GetKubernetesClusterPoolTaintArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterPoolTaintArrayInput` via:

GetKubernetesClusterPoolTaintArray{ GetKubernetesClusterPoolTaintArgs{...} }

type GetKubernetesClusterPoolTaintArrayOutput added in v2.3.15

type GetKubernetesClusterPoolTaintArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterPoolTaintArrayOutput) ElementType added in v2.3.15

func (GetKubernetesClusterPoolTaintArrayOutput) Index added in v2.3.15

func (GetKubernetesClusterPoolTaintArrayOutput) ToGetKubernetesClusterPoolTaintArrayOutput added in v2.3.15

func (o GetKubernetesClusterPoolTaintArrayOutput) ToGetKubernetesClusterPoolTaintArrayOutput() GetKubernetesClusterPoolTaintArrayOutput

func (GetKubernetesClusterPoolTaintArrayOutput) ToGetKubernetesClusterPoolTaintArrayOutputWithContext added in v2.3.15

func (o GetKubernetesClusterPoolTaintArrayOutput) ToGetKubernetesClusterPoolTaintArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintArrayOutput

type GetKubernetesClusterPoolTaintInput added in v2.3.15

type GetKubernetesClusterPoolTaintInput interface {
	pulumi.Input

	ToGetKubernetesClusterPoolTaintOutput() GetKubernetesClusterPoolTaintOutput
	ToGetKubernetesClusterPoolTaintOutputWithContext(context.Context) GetKubernetesClusterPoolTaintOutput
}

GetKubernetesClusterPoolTaintInput is an input type that accepts GetKubernetesClusterPoolTaintArgs and GetKubernetesClusterPoolTaintOutput values. You can construct a concrete instance of `GetKubernetesClusterPoolTaintInput` via:

GetKubernetesClusterPoolTaintArgs{...}

type GetKubernetesClusterPoolTaintOutput added in v2.3.15

type GetKubernetesClusterPoolTaintOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterPoolTaintOutput) Effect added in v2.3.15

func (GetKubernetesClusterPoolTaintOutput) ElementType added in v2.3.15

func (GetKubernetesClusterPoolTaintOutput) Key added in v2.3.15

func (GetKubernetesClusterPoolTaintOutput) ToGetKubernetesClusterPoolTaintOutput added in v2.3.15

func (o GetKubernetesClusterPoolTaintOutput) ToGetKubernetesClusterPoolTaintOutput() GetKubernetesClusterPoolTaintOutput

func (GetKubernetesClusterPoolTaintOutput) ToGetKubernetesClusterPoolTaintOutputWithContext added in v2.3.15

func (o GetKubernetesClusterPoolTaintOutput) ToGetKubernetesClusterPoolTaintOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintOutput

func (GetKubernetesClusterPoolTaintOutput) Value added in v2.3.15

type GetKubernetesVersionArgs

type GetKubernetesVersionArgs struct {
	// One or more key/value pairs on which to filter results
	Filters []GetKubernetesVersionFilter `pulumi:"filters"`
	// One or more key/direction pairs on which to sort results
	Sorts []GetKubernetesVersionSort `pulumi:"sorts"`
}

A collection of arguments for invoking getKubernetesVersion.

type GetKubernetesVersionFilter

type GetKubernetesVersionFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter versions by this key. This may be one of `default`, `label`, `type`, `version`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves `versions` which keys has value that matches one of the values provided here
	Values []string `pulumi:"values"`
}

type GetKubernetesVersionFilterArgs

type GetKubernetesVersionFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter versions by this key. This may be one of `default`, `label`, `type`, `version`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves `versions` which keys has value that matches one of the values provided here
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetKubernetesVersionFilterArgs) ElementType

func (GetKubernetesVersionFilterArgs) ToGetKubernetesVersionFilterOutput

func (i GetKubernetesVersionFilterArgs) ToGetKubernetesVersionFilterOutput() GetKubernetesVersionFilterOutput

func (GetKubernetesVersionFilterArgs) ToGetKubernetesVersionFilterOutputWithContext

func (i GetKubernetesVersionFilterArgs) ToGetKubernetesVersionFilterOutputWithContext(ctx context.Context) GetKubernetesVersionFilterOutput

type GetKubernetesVersionFilterArray

type GetKubernetesVersionFilterArray []GetKubernetesVersionFilterInput

func (GetKubernetesVersionFilterArray) ElementType

func (GetKubernetesVersionFilterArray) ToGetKubernetesVersionFilterArrayOutput

func (i GetKubernetesVersionFilterArray) ToGetKubernetesVersionFilterArrayOutput() GetKubernetesVersionFilterArrayOutput

func (GetKubernetesVersionFilterArray) ToGetKubernetesVersionFilterArrayOutputWithContext

func (i GetKubernetesVersionFilterArray) ToGetKubernetesVersionFilterArrayOutputWithContext(ctx context.Context) GetKubernetesVersionFilterArrayOutput

type GetKubernetesVersionFilterArrayInput

type GetKubernetesVersionFilterArrayInput interface {
	pulumi.Input

	ToGetKubernetesVersionFilterArrayOutput() GetKubernetesVersionFilterArrayOutput
	ToGetKubernetesVersionFilterArrayOutputWithContext(context.Context) GetKubernetesVersionFilterArrayOutput
}

GetKubernetesVersionFilterArrayInput is an input type that accepts GetKubernetesVersionFilterArray and GetKubernetesVersionFilterArrayOutput values. You can construct a concrete instance of `GetKubernetesVersionFilterArrayInput` via:

GetKubernetesVersionFilterArray{ GetKubernetesVersionFilterArgs{...} }

type GetKubernetesVersionFilterArrayOutput

type GetKubernetesVersionFilterArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionFilterArrayOutput) ElementType

func (GetKubernetesVersionFilterArrayOutput) Index

func (GetKubernetesVersionFilterArrayOutput) ToGetKubernetesVersionFilterArrayOutput

func (o GetKubernetesVersionFilterArrayOutput) ToGetKubernetesVersionFilterArrayOutput() GetKubernetesVersionFilterArrayOutput

func (GetKubernetesVersionFilterArrayOutput) ToGetKubernetesVersionFilterArrayOutputWithContext

func (o GetKubernetesVersionFilterArrayOutput) ToGetKubernetesVersionFilterArrayOutputWithContext(ctx context.Context) GetKubernetesVersionFilterArrayOutput

type GetKubernetesVersionFilterInput

type GetKubernetesVersionFilterInput interface {
	pulumi.Input

	ToGetKubernetesVersionFilterOutput() GetKubernetesVersionFilterOutput
	ToGetKubernetesVersionFilterOutputWithContext(context.Context) GetKubernetesVersionFilterOutput
}

GetKubernetesVersionFilterInput is an input type that accepts GetKubernetesVersionFilterArgs and GetKubernetesVersionFilterOutput values. You can construct a concrete instance of `GetKubernetesVersionFilterInput` via:

GetKubernetesVersionFilterArgs{...}

type GetKubernetesVersionFilterOutput

type GetKubernetesVersionFilterOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetKubernetesVersionFilterOutput) ElementType

func (GetKubernetesVersionFilterOutput) Key

Filter versions by this key. This may be one of `default`, `label`, `type`, `version`.

func (GetKubernetesVersionFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutput

func (o GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutput() GetKubernetesVersionFilterOutput

func (GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutputWithContext

func (o GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutputWithContext(ctx context.Context) GetKubernetesVersionFilterOutput

func (GetKubernetesVersionFilterOutput) Values

Only retrieves `versions` which keys has value that matches one of the values provided here

type GetKubernetesVersionOutputArgs added in v2.1.0

type GetKubernetesVersionOutputArgs struct {
	// One or more key/value pairs on which to filter results
	Filters GetKubernetesVersionFilterArrayInput `pulumi:"filters"`
	// One or more key/direction pairs on which to sort results
	Sorts GetKubernetesVersionSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getKubernetesVersion.

func (GetKubernetesVersionOutputArgs) ElementType added in v2.1.0

type GetKubernetesVersionResult

type GetKubernetesVersionResult struct {
	// One or more key/value pairs on which to filter results
	Filters []GetKubernetesVersionFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// One or more key/direction pairs on which to sort results
	Sorts    []GetKubernetesVersionSort    `pulumi:"sorts"`
	Versions []GetKubernetesVersionVersion `pulumi:"versions"`
}

A collection of values returned by getKubernetesVersion.

func GetKubernetesVersion

func GetKubernetesVersion(ctx *pulumi.Context, args *GetKubernetesVersionArgs, opts ...pulumi.InvokeOption) (*GetKubernetesVersionResult, error)

Provides access to the available Civo Kubernetes versions, with the ability to filter the results.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.GetKubernetesVersion(ctx, &civo.GetKubernetesVersionArgs{
			Filters: []civo.GetKubernetesVersionFilter{
				{
					Key: "type",
					Values: []string{
						"talos",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = civo.GetKubernetesVersion(ctx, &civo.GetKubernetesVersionArgs{
			Filters: []civo.GetKubernetesVersionFilter{
				{
					Key: "type",
					Values: []string{
						"k3s",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetKubernetesVersionResultOutput added in v2.1.0

type GetKubernetesVersionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesVersion.

func GetKubernetesVersionOutput added in v2.1.0

func (GetKubernetesVersionResultOutput) ElementType added in v2.1.0

func (GetKubernetesVersionResultOutput) Filters added in v2.1.0

One or more key/value pairs on which to filter results

func (GetKubernetesVersionResultOutput) Id added in v2.1.0

The provider-assigned unique ID for this managed resource.

func (GetKubernetesVersionResultOutput) Sorts added in v2.1.0

One or more key/direction pairs on which to sort results

func (GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutput added in v2.1.0

func (o GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutput() GetKubernetesVersionResultOutput

func (GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutputWithContext added in v2.1.0

func (o GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutputWithContext(ctx context.Context) GetKubernetesVersionResultOutput

func (GetKubernetesVersionResultOutput) Versions added in v2.1.0

type GetKubernetesVersionSort

type GetKubernetesVersionSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort versions by this key. This may be one of `default`, `label`, `type`, `version`.
	Key string `pulumi:"key"`
}

type GetKubernetesVersionSortArgs

type GetKubernetesVersionSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort versions by this key. This may be one of `default`, `label`, `type`, `version`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetKubernetesVersionSortArgs) ElementType

func (GetKubernetesVersionSortArgs) ToGetKubernetesVersionSortOutput

func (i GetKubernetesVersionSortArgs) ToGetKubernetesVersionSortOutput() GetKubernetesVersionSortOutput

func (GetKubernetesVersionSortArgs) ToGetKubernetesVersionSortOutputWithContext

func (i GetKubernetesVersionSortArgs) ToGetKubernetesVersionSortOutputWithContext(ctx context.Context) GetKubernetesVersionSortOutput

type GetKubernetesVersionSortArray

type GetKubernetesVersionSortArray []GetKubernetesVersionSortInput

func (GetKubernetesVersionSortArray) ElementType

func (GetKubernetesVersionSortArray) ToGetKubernetesVersionSortArrayOutput

func (i GetKubernetesVersionSortArray) ToGetKubernetesVersionSortArrayOutput() GetKubernetesVersionSortArrayOutput

func (GetKubernetesVersionSortArray) ToGetKubernetesVersionSortArrayOutputWithContext

func (i GetKubernetesVersionSortArray) ToGetKubernetesVersionSortArrayOutputWithContext(ctx context.Context) GetKubernetesVersionSortArrayOutput

type GetKubernetesVersionSortArrayInput

type GetKubernetesVersionSortArrayInput interface {
	pulumi.Input

	ToGetKubernetesVersionSortArrayOutput() GetKubernetesVersionSortArrayOutput
	ToGetKubernetesVersionSortArrayOutputWithContext(context.Context) GetKubernetesVersionSortArrayOutput
}

GetKubernetesVersionSortArrayInput is an input type that accepts GetKubernetesVersionSortArray and GetKubernetesVersionSortArrayOutput values. You can construct a concrete instance of `GetKubernetesVersionSortArrayInput` via:

GetKubernetesVersionSortArray{ GetKubernetesVersionSortArgs{...} }

type GetKubernetesVersionSortArrayOutput

type GetKubernetesVersionSortArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionSortArrayOutput) ElementType

func (GetKubernetesVersionSortArrayOutput) Index

func (GetKubernetesVersionSortArrayOutput) ToGetKubernetesVersionSortArrayOutput

func (o GetKubernetesVersionSortArrayOutput) ToGetKubernetesVersionSortArrayOutput() GetKubernetesVersionSortArrayOutput

func (GetKubernetesVersionSortArrayOutput) ToGetKubernetesVersionSortArrayOutputWithContext

func (o GetKubernetesVersionSortArrayOutput) ToGetKubernetesVersionSortArrayOutputWithContext(ctx context.Context) GetKubernetesVersionSortArrayOutput

type GetKubernetesVersionSortInput

type GetKubernetesVersionSortInput interface {
	pulumi.Input

	ToGetKubernetesVersionSortOutput() GetKubernetesVersionSortOutput
	ToGetKubernetesVersionSortOutputWithContext(context.Context) GetKubernetesVersionSortOutput
}

GetKubernetesVersionSortInput is an input type that accepts GetKubernetesVersionSortArgs and GetKubernetesVersionSortOutput values. You can construct a concrete instance of `GetKubernetesVersionSortInput` via:

GetKubernetesVersionSortArgs{...}

type GetKubernetesVersionSortOutput

type GetKubernetesVersionSortOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetKubernetesVersionSortOutput) ElementType

func (GetKubernetesVersionSortOutput) Key

Sort versions by this key. This may be one of `default`, `label`, `type`, `version`.

func (GetKubernetesVersionSortOutput) ToGetKubernetesVersionSortOutput

func (o GetKubernetesVersionSortOutput) ToGetKubernetesVersionSortOutput() GetKubernetesVersionSortOutput

func (GetKubernetesVersionSortOutput) ToGetKubernetesVersionSortOutputWithContext

func (o GetKubernetesVersionSortOutput) ToGetKubernetesVersionSortOutputWithContext(ctx context.Context) GetKubernetesVersionSortOutput

type GetKubernetesVersionVersion

type GetKubernetesVersionVersion struct {
	// If is the default version used in all cluster, this will return `true`
	Default bool `pulumi:"default"`
	// The label of this version
	Label string `pulumi:"label"`
	// The type of the cluster, can be `talos` or `k3s`
	Type string `pulumi:"type"`
	// A version of the Kubernetes
	Version string `pulumi:"version"`
}

type GetKubernetesVersionVersionArgs

type GetKubernetesVersionVersionArgs struct {
	// If is the default version used in all cluster, this will return `true`
	Default pulumi.BoolInput `pulumi:"default"`
	// The label of this version
	Label pulumi.StringInput `pulumi:"label"`
	// The type of the cluster, can be `talos` or `k3s`
	Type pulumi.StringInput `pulumi:"type"`
	// A version of the Kubernetes
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetKubernetesVersionVersionArgs) ElementType

func (GetKubernetesVersionVersionArgs) ToGetKubernetesVersionVersionOutput

func (i GetKubernetesVersionVersionArgs) ToGetKubernetesVersionVersionOutput() GetKubernetesVersionVersionOutput

func (GetKubernetesVersionVersionArgs) ToGetKubernetesVersionVersionOutputWithContext

func (i GetKubernetesVersionVersionArgs) ToGetKubernetesVersionVersionOutputWithContext(ctx context.Context) GetKubernetesVersionVersionOutput

type GetKubernetesVersionVersionArray

type GetKubernetesVersionVersionArray []GetKubernetesVersionVersionInput

func (GetKubernetesVersionVersionArray) ElementType

func (GetKubernetesVersionVersionArray) ToGetKubernetesVersionVersionArrayOutput

func (i GetKubernetesVersionVersionArray) ToGetKubernetesVersionVersionArrayOutput() GetKubernetesVersionVersionArrayOutput

func (GetKubernetesVersionVersionArray) ToGetKubernetesVersionVersionArrayOutputWithContext

func (i GetKubernetesVersionVersionArray) ToGetKubernetesVersionVersionArrayOutputWithContext(ctx context.Context) GetKubernetesVersionVersionArrayOutput

type GetKubernetesVersionVersionArrayInput

type GetKubernetesVersionVersionArrayInput interface {
	pulumi.Input

	ToGetKubernetesVersionVersionArrayOutput() GetKubernetesVersionVersionArrayOutput
	ToGetKubernetesVersionVersionArrayOutputWithContext(context.Context) GetKubernetesVersionVersionArrayOutput
}

GetKubernetesVersionVersionArrayInput is an input type that accepts GetKubernetesVersionVersionArray and GetKubernetesVersionVersionArrayOutput values. You can construct a concrete instance of `GetKubernetesVersionVersionArrayInput` via:

GetKubernetesVersionVersionArray{ GetKubernetesVersionVersionArgs{...} }

type GetKubernetesVersionVersionArrayOutput

type GetKubernetesVersionVersionArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionVersionArrayOutput) ElementType

func (GetKubernetesVersionVersionArrayOutput) Index

func (GetKubernetesVersionVersionArrayOutput) ToGetKubernetesVersionVersionArrayOutput

func (o GetKubernetesVersionVersionArrayOutput) ToGetKubernetesVersionVersionArrayOutput() GetKubernetesVersionVersionArrayOutput

func (GetKubernetesVersionVersionArrayOutput) ToGetKubernetesVersionVersionArrayOutputWithContext

func (o GetKubernetesVersionVersionArrayOutput) ToGetKubernetesVersionVersionArrayOutputWithContext(ctx context.Context) GetKubernetesVersionVersionArrayOutput

type GetKubernetesVersionVersionInput

type GetKubernetesVersionVersionInput interface {
	pulumi.Input

	ToGetKubernetesVersionVersionOutput() GetKubernetesVersionVersionOutput
	ToGetKubernetesVersionVersionOutputWithContext(context.Context) GetKubernetesVersionVersionOutput
}

GetKubernetesVersionVersionInput is an input type that accepts GetKubernetesVersionVersionArgs and GetKubernetesVersionVersionOutput values. You can construct a concrete instance of `GetKubernetesVersionVersionInput` via:

GetKubernetesVersionVersionArgs{...}

type GetKubernetesVersionVersionOutput

type GetKubernetesVersionVersionOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionVersionOutput) Default

If is the default version used in all cluster, this will return `true`

func (GetKubernetesVersionVersionOutput) ElementType

func (GetKubernetesVersionVersionOutput) Label

The label of this version

func (GetKubernetesVersionVersionOutput) ToGetKubernetesVersionVersionOutput

func (o GetKubernetesVersionVersionOutput) ToGetKubernetesVersionVersionOutput() GetKubernetesVersionVersionOutput

func (GetKubernetesVersionVersionOutput) ToGetKubernetesVersionVersionOutputWithContext

func (o GetKubernetesVersionVersionOutput) ToGetKubernetesVersionVersionOutputWithContext(ctx context.Context) GetKubernetesVersionVersionOutput

func (GetKubernetesVersionVersionOutput) Type

The type of the cluster, can be `talos` or `k3s`

func (GetKubernetesVersionVersionOutput) Version

A version of the Kubernetes

type GetLoadBalancerArgs added in v2.2.0

type GetLoadBalancerArgs struct {
	// The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
	Id *string `pulumi:"id"`
	// The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
	Name *string `pulumi:"name"`
	// The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getLoadBalancer.

type GetLoadBalancerBackend added in v2.2.0

type GetLoadBalancerBackend struct {
	// The health check port of the backend
	HealthCheckPort int `pulumi:"healthCheckPort"`
	// The ip of the backend
	Ip string `pulumi:"ip"`
	// The protocol of the backend
	Protocol string `pulumi:"protocol"`
	// The source port of the backend
	SourcePort int `pulumi:"sourcePort"`
	// The target port of the backend
	TargetPort int `pulumi:"targetPort"`
}

type GetLoadBalancerBackendArgs added in v2.2.0

type GetLoadBalancerBackendArgs struct {
	// The health check port of the backend
	HealthCheckPort pulumi.IntInput `pulumi:"healthCheckPort"`
	// The ip of the backend
	Ip pulumi.StringInput `pulumi:"ip"`
	// The protocol of the backend
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The source port of the backend
	SourcePort pulumi.IntInput `pulumi:"sourcePort"`
	// The target port of the backend
	TargetPort pulumi.IntInput `pulumi:"targetPort"`
}

func (GetLoadBalancerBackendArgs) ElementType added in v2.2.0

func (GetLoadBalancerBackendArgs) ElementType() reflect.Type

func (GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutput added in v2.2.0

func (i GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutput() GetLoadBalancerBackendOutput

func (GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutputWithContext added in v2.2.0

func (i GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutputWithContext(ctx context.Context) GetLoadBalancerBackendOutput

type GetLoadBalancerBackendArray added in v2.2.0

type GetLoadBalancerBackendArray []GetLoadBalancerBackendInput

func (GetLoadBalancerBackendArray) ElementType added in v2.2.0

func (GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutput added in v2.2.0

func (i GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutput() GetLoadBalancerBackendArrayOutput

func (GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutputWithContext added in v2.2.0

func (i GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutputWithContext(ctx context.Context) GetLoadBalancerBackendArrayOutput

type GetLoadBalancerBackendArrayInput added in v2.2.0

type GetLoadBalancerBackendArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerBackendArrayOutput() GetLoadBalancerBackendArrayOutput
	ToGetLoadBalancerBackendArrayOutputWithContext(context.Context) GetLoadBalancerBackendArrayOutput
}

GetLoadBalancerBackendArrayInput is an input type that accepts GetLoadBalancerBackendArray and GetLoadBalancerBackendArrayOutput values. You can construct a concrete instance of `GetLoadBalancerBackendArrayInput` via:

GetLoadBalancerBackendArray{ GetLoadBalancerBackendArgs{...} }

type GetLoadBalancerBackendArrayOutput added in v2.2.0

type GetLoadBalancerBackendArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerBackendArrayOutput) ElementType added in v2.2.0

func (GetLoadBalancerBackendArrayOutput) Index added in v2.2.0

func (GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutput added in v2.2.0

func (o GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutput() GetLoadBalancerBackendArrayOutput

func (GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutputWithContext added in v2.2.0

func (o GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutputWithContext(ctx context.Context) GetLoadBalancerBackendArrayOutput

type GetLoadBalancerBackendInput added in v2.2.0

type GetLoadBalancerBackendInput interface {
	pulumi.Input

	ToGetLoadBalancerBackendOutput() GetLoadBalancerBackendOutput
	ToGetLoadBalancerBackendOutputWithContext(context.Context) GetLoadBalancerBackendOutput
}

GetLoadBalancerBackendInput is an input type that accepts GetLoadBalancerBackendArgs and GetLoadBalancerBackendOutput values. You can construct a concrete instance of `GetLoadBalancerBackendInput` via:

GetLoadBalancerBackendArgs{...}

type GetLoadBalancerBackendOutput added in v2.2.0

type GetLoadBalancerBackendOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerBackendOutput) ElementType added in v2.2.0

func (GetLoadBalancerBackendOutput) HealthCheckPort added in v2.2.0

func (o GetLoadBalancerBackendOutput) HealthCheckPort() pulumi.IntOutput

The health check port of the backend

func (GetLoadBalancerBackendOutput) Ip added in v2.2.0

The ip of the backend

func (GetLoadBalancerBackendOutput) Protocol added in v2.2.0

The protocol of the backend

func (GetLoadBalancerBackendOutput) SourcePort added in v2.2.0

The source port of the backend

func (GetLoadBalancerBackendOutput) TargetPort added in v2.2.0

The target port of the backend

func (GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutput added in v2.2.0

func (o GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutput() GetLoadBalancerBackendOutput

func (GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutputWithContext added in v2.2.0

func (o GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutputWithContext(ctx context.Context) GetLoadBalancerBackendOutput

type GetLoadBalancerOutputArgs added in v2.2.0

type GetLoadBalancerOutputArgs struct {
	// The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getLoadBalancer.

func (GetLoadBalancerOutputArgs) ElementType added in v2.2.0

func (GetLoadBalancerOutputArgs) ElementType() reflect.Type

type GetLoadBalancerResult added in v2.2.0

type GetLoadBalancerResult struct {
	// The algorithm used by the load balancer
	Algorithm string                   `pulumi:"algorithm"`
	Backends  []GetLoadBalancerBackend `pulumi:"backends"`
	// The cluster id of the load balancer
	ClusterId string `pulumi:"clusterId"`
	// The enabled proxy protocol of the load balancer
	EnableProxyProtocol string `pulumi:"enableProxyProtocol"`
	// The external traffic policy of the load balancer
	ExternalTrafficPolicy string `pulumi:"externalTrafficPolicy"`
	// The firewall id of the load balancer
	FirewallId string `pulumi:"firewallId"`
	// The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
	Id *string `pulumi:"id"`
	// The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
	Name *string `pulumi:"name"`
	// The private ip of the load balancer
	PrivateIp string `pulumi:"privateIp"`
	// The public ip of the load balancer
	PublicIp string `pulumi:"publicIp"`
	// The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
	Region *string `pulumi:"region"`
	// The session affinity of the load balancer
	SessionAffinity string `pulumi:"sessionAffinity"`
	// The session affinity config timeout of the load balancer
	SessionAffinityConfigTimeout int `pulumi:"sessionAffinityConfigTimeout"`
	// The state of the load balancer
	State string `pulumi:"state"`
}

A collection of values returned by getLoadBalancer.

func GetLoadBalancer added in v2.2.0

func GetLoadBalancer(ctx *pulumi.Context, args *GetLoadBalancerArgs, opts ...pulumi.InvokeOption) (*GetLoadBalancerResult, error)

Get information on a load balancer for use in other resources. This data source provides all of the load balancers properties as configured on your Civo account.

An error will be raised if the provided load balancer name does not exist in your Civo account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// TODO
		my_lb, err := civo.GetLoadBalancer(ctx, &civo.GetLoadBalancerArgs{
			Name:   pulumi.StringRef("lb-name"),
			Region: pulumi.StringRef("LON1"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("civoLoadbalancerOutput", my_lb.PublicIp)
		return nil
	})
}

```

type GetLoadBalancerResultOutput added in v2.2.0

type GetLoadBalancerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLoadBalancer.

func GetLoadBalancerOutput added in v2.2.0

func (GetLoadBalancerResultOutput) Algorithm added in v2.2.0

The algorithm used by the load balancer

func (GetLoadBalancerResultOutput) Backends added in v2.2.0

func (GetLoadBalancerResultOutput) ClusterId added in v2.2.0

The cluster id of the load balancer

func (GetLoadBalancerResultOutput) ElementType added in v2.2.0

func (GetLoadBalancerResultOutput) EnableProxyProtocol added in v2.2.0

func (o GetLoadBalancerResultOutput) EnableProxyProtocol() pulumi.StringOutput

The enabled proxy protocol of the load balancer

func (GetLoadBalancerResultOutput) ExternalTrafficPolicy added in v2.2.0

func (o GetLoadBalancerResultOutput) ExternalTrafficPolicy() pulumi.StringOutput

The external traffic policy of the load balancer

func (GetLoadBalancerResultOutput) FirewallId added in v2.2.0

The firewall id of the load balancer

func (GetLoadBalancerResultOutput) Id added in v2.2.0

The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')

func (GetLoadBalancerResultOutput) Name added in v2.2.0

The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')

func (GetLoadBalancerResultOutput) PrivateIp added in v2.2.0

The private ip of the load balancer

func (GetLoadBalancerResultOutput) PublicIp added in v2.2.0

The public ip of the load balancer

func (GetLoadBalancerResultOutput) Region added in v2.2.1

The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider

func (GetLoadBalancerResultOutput) SessionAffinity added in v2.2.0

func (o GetLoadBalancerResultOutput) SessionAffinity() pulumi.StringOutput

The session affinity of the load balancer

func (GetLoadBalancerResultOutput) SessionAffinityConfigTimeout added in v2.2.0

func (o GetLoadBalancerResultOutput) SessionAffinityConfigTimeout() pulumi.IntOutput

The session affinity config timeout of the load balancer

func (GetLoadBalancerResultOutput) State added in v2.2.0

The state of the load balancer

func (GetLoadBalancerResultOutput) ToGetLoadBalancerResultOutput added in v2.2.0

func (o GetLoadBalancerResultOutput) ToGetLoadBalancerResultOutput() GetLoadBalancerResultOutput

func (GetLoadBalancerResultOutput) ToGetLoadBalancerResultOutputWithContext added in v2.2.0

func (o GetLoadBalancerResultOutput) ToGetLoadBalancerResultOutputWithContext(ctx context.Context) GetLoadBalancerResultOutput

type GetRegionArgs

type GetRegionArgs struct {
	// One or more key/value pairs on which to filter results
	Filters []GetRegionFilter `pulumi:"filters"`
	// One or more key/direction pairs on which to sort results
	Sorts []GetRegionSort `pulumi:"sorts"`
}

A collection of arguments for invoking getRegion.

type GetRegionFilter

type GetRegionFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter regions by this key. This may be one of `code`, `country`, `default`, `name`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves `regions` which keys has value that matches one of the values provided here
	Values []string `pulumi:"values"`
}

type GetRegionFilterArgs

type GetRegionFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter regions by this key. This may be one of `code`, `country`, `default`, `name`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves `regions` which keys has value that matches one of the values provided here
	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) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetRegionFilterOutput) ElementType

func (GetRegionFilterOutput) ElementType() reflect.Type

func (GetRegionFilterOutput) Key

Filter regions by this key. This may be one of `code`, `country`, `default`, `name`.

func (GetRegionFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetRegionFilterOutput) ToGetRegionFilterOutput

func (o GetRegionFilterOutput) ToGetRegionFilterOutput() GetRegionFilterOutput

func (GetRegionFilterOutput) ToGetRegionFilterOutputWithContext

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

func (GetRegionFilterOutput) Values

Only retrieves `regions` which keys has value that matches one of the values provided here

type GetRegionOutputArgs added in v2.1.0

type GetRegionOutputArgs struct {
	// One or more key/value pairs on which to filter results
	Filters GetRegionFilterArrayInput `pulumi:"filters"`
	// One or more key/direction pairs on which to sort results
	Sorts GetRegionSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getRegion.

func (GetRegionOutputArgs) ElementType added in v2.1.0

func (GetRegionOutputArgs) ElementType() reflect.Type

type GetRegionRegion

type GetRegionRegion struct {
	// The code of the region
	Code string `pulumi:"code"`
	// The country of the region
	Country string `pulumi:"country"`
	// If the region is the default region, this will return `true`
	Default bool `pulumi:"default"`
	// A human name of the region
	Name string `pulumi:"name"`
}

type GetRegionRegionArgs

type GetRegionRegionArgs struct {
	// The code of the region
	Code pulumi.StringInput `pulumi:"code"`
	// The country of the region
	Country pulumi.StringInput `pulumi:"country"`
	// If the region is the default region, this will return `true`
	Default pulumi.BoolInput `pulumi:"default"`
	// A human name of the region
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetRegionRegionArgs) ElementType

func (GetRegionRegionArgs) ElementType() reflect.Type

func (GetRegionRegionArgs) ToGetRegionRegionOutput

func (i GetRegionRegionArgs) ToGetRegionRegionOutput() GetRegionRegionOutput

func (GetRegionRegionArgs) ToGetRegionRegionOutputWithContext

func (i GetRegionRegionArgs) ToGetRegionRegionOutputWithContext(ctx context.Context) GetRegionRegionOutput

type GetRegionRegionArray

type GetRegionRegionArray []GetRegionRegionInput

func (GetRegionRegionArray) ElementType

func (GetRegionRegionArray) ElementType() reflect.Type

func (GetRegionRegionArray) ToGetRegionRegionArrayOutput

func (i GetRegionRegionArray) ToGetRegionRegionArrayOutput() GetRegionRegionArrayOutput

func (GetRegionRegionArray) ToGetRegionRegionArrayOutputWithContext

func (i GetRegionRegionArray) ToGetRegionRegionArrayOutputWithContext(ctx context.Context) GetRegionRegionArrayOutput

type GetRegionRegionArrayInput

type GetRegionRegionArrayInput interface {
	pulumi.Input

	ToGetRegionRegionArrayOutput() GetRegionRegionArrayOutput
	ToGetRegionRegionArrayOutputWithContext(context.Context) GetRegionRegionArrayOutput
}

GetRegionRegionArrayInput is an input type that accepts GetRegionRegionArray and GetRegionRegionArrayOutput values. You can construct a concrete instance of `GetRegionRegionArrayInput` via:

GetRegionRegionArray{ GetRegionRegionArgs{...} }

type GetRegionRegionArrayOutput

type GetRegionRegionArrayOutput struct{ *pulumi.OutputState }

func (GetRegionRegionArrayOutput) ElementType

func (GetRegionRegionArrayOutput) ElementType() reflect.Type

func (GetRegionRegionArrayOutput) Index

func (GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutput

func (o GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutput() GetRegionRegionArrayOutput

func (GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutputWithContext

func (o GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutputWithContext(ctx context.Context) GetRegionRegionArrayOutput

type GetRegionRegionInput

type GetRegionRegionInput interface {
	pulumi.Input

	ToGetRegionRegionOutput() GetRegionRegionOutput
	ToGetRegionRegionOutputWithContext(context.Context) GetRegionRegionOutput
}

GetRegionRegionInput is an input type that accepts GetRegionRegionArgs and GetRegionRegionOutput values. You can construct a concrete instance of `GetRegionRegionInput` via:

GetRegionRegionArgs{...}

type GetRegionRegionOutput

type GetRegionRegionOutput struct{ *pulumi.OutputState }

func (GetRegionRegionOutput) Code

The code of the region

func (GetRegionRegionOutput) Country

The country of the region

func (GetRegionRegionOutput) Default

If the region is the default region, this will return `true`

func (GetRegionRegionOutput) ElementType

func (GetRegionRegionOutput) ElementType() reflect.Type

func (GetRegionRegionOutput) Name

A human name of the region

func (GetRegionRegionOutput) ToGetRegionRegionOutput

func (o GetRegionRegionOutput) ToGetRegionRegionOutput() GetRegionRegionOutput

func (GetRegionRegionOutput) ToGetRegionRegionOutputWithContext

func (o GetRegionRegionOutput) ToGetRegionRegionOutputWithContext(ctx context.Context) GetRegionRegionOutput

type GetRegionResult

type GetRegionResult struct {
	// One or more key/value pairs on which to filter results
	Filters []GetRegionFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id      string            `pulumi:"id"`
	Regions []GetRegionRegion `pulumi:"regions"`
	// One or more key/direction pairs on which to sort results
	Sorts []GetRegionSort `pulumi:"sorts"`
}

A collection of values returned by getRegion.

func GetRegion

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

Retrieves information about the region that Civo supports, with the ability to filter the results.

type GetRegionResultOutput added in v2.1.0

type GetRegionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegion.

func GetRegionOutput added in v2.1.0

func GetRegionOutput(ctx *pulumi.Context, args GetRegionOutputArgs, opts ...pulumi.InvokeOption) GetRegionResultOutput

func (GetRegionResultOutput) ElementType added in v2.1.0

func (GetRegionResultOutput) ElementType() reflect.Type

func (GetRegionResultOutput) Filters added in v2.1.0

One or more key/value pairs on which to filter results

func (GetRegionResultOutput) Id added in v2.1.0

The provider-assigned unique ID for this managed resource.

func (GetRegionResultOutput) Regions added in v2.1.0

func (GetRegionResultOutput) Sorts added in v2.1.0

One or more key/direction pairs on which to sort results

func (GetRegionResultOutput) ToGetRegionResultOutput added in v2.1.0

func (o GetRegionResultOutput) ToGetRegionResultOutput() GetRegionResultOutput

func (GetRegionResultOutput) ToGetRegionResultOutputWithContext added in v2.1.0

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

type GetRegionSort

type GetRegionSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort regions by this key. This may be one of `code`, `country`, `default`, `name`.
	Key string `pulumi:"key"`
}

type GetRegionSortArgs

type GetRegionSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort regions by this key. This may be one of `code`, `country`, `default`, `name`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetRegionSortArgs) ElementType

func (GetRegionSortArgs) ElementType() reflect.Type

func (GetRegionSortArgs) ToGetRegionSortOutput

func (i GetRegionSortArgs) ToGetRegionSortOutput() GetRegionSortOutput

func (GetRegionSortArgs) ToGetRegionSortOutputWithContext

func (i GetRegionSortArgs) ToGetRegionSortOutputWithContext(ctx context.Context) GetRegionSortOutput

type GetRegionSortArray

type GetRegionSortArray []GetRegionSortInput

func (GetRegionSortArray) ElementType

func (GetRegionSortArray) ElementType() reflect.Type

func (GetRegionSortArray) ToGetRegionSortArrayOutput

func (i GetRegionSortArray) ToGetRegionSortArrayOutput() GetRegionSortArrayOutput

func (GetRegionSortArray) ToGetRegionSortArrayOutputWithContext

func (i GetRegionSortArray) ToGetRegionSortArrayOutputWithContext(ctx context.Context) GetRegionSortArrayOutput

type GetRegionSortArrayInput

type GetRegionSortArrayInput interface {
	pulumi.Input

	ToGetRegionSortArrayOutput() GetRegionSortArrayOutput
	ToGetRegionSortArrayOutputWithContext(context.Context) GetRegionSortArrayOutput
}

GetRegionSortArrayInput is an input type that accepts GetRegionSortArray and GetRegionSortArrayOutput values. You can construct a concrete instance of `GetRegionSortArrayInput` via:

GetRegionSortArray{ GetRegionSortArgs{...} }

type GetRegionSortArrayOutput

type GetRegionSortArrayOutput struct{ *pulumi.OutputState }

func (GetRegionSortArrayOutput) ElementType

func (GetRegionSortArrayOutput) ElementType() reflect.Type

func (GetRegionSortArrayOutput) Index

func (GetRegionSortArrayOutput) ToGetRegionSortArrayOutput

func (o GetRegionSortArrayOutput) ToGetRegionSortArrayOutput() GetRegionSortArrayOutput

func (GetRegionSortArrayOutput) ToGetRegionSortArrayOutputWithContext

func (o GetRegionSortArrayOutput) ToGetRegionSortArrayOutputWithContext(ctx context.Context) GetRegionSortArrayOutput

type GetRegionSortInput

type GetRegionSortInput interface {
	pulumi.Input

	ToGetRegionSortOutput() GetRegionSortOutput
	ToGetRegionSortOutputWithContext(context.Context) GetRegionSortOutput
}

GetRegionSortInput is an input type that accepts GetRegionSortArgs and GetRegionSortOutput values. You can construct a concrete instance of `GetRegionSortInput` via:

GetRegionSortArgs{...}

type GetRegionSortOutput

type GetRegionSortOutput struct{ *pulumi.OutputState }

func (GetRegionSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetRegionSortOutput) ElementType

func (GetRegionSortOutput) ElementType() reflect.Type

func (GetRegionSortOutput) Key

Sort regions by this key. This may be one of `code`, `country`, `default`, `name`.

func (GetRegionSortOutput) ToGetRegionSortOutput

func (o GetRegionSortOutput) ToGetRegionSortOutput() GetRegionSortOutput

func (GetRegionSortOutput) ToGetRegionSortOutputWithContext

func (o GetRegionSortOutput) ToGetRegionSortOutputWithContext(ctx context.Context) GetRegionSortOutput

type GetSizeArgs added in v2.1.3

type GetSizeArgs struct {
	// One or more key/value pairs on which to filter results
	Filters []GetSizeFilter `pulumi:"filters"`
	// One or more key/direction pairs on which to sort results
	Sorts []GetSizeSort `pulumi:"sorts"`
}

A collection of arguments for invoking getSize.

type GetSizeFilter added in v2.1.3

type GetSizeFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves `sizes` which keys has value that matches one of the values provided here
	Values []string `pulumi:"values"`
}

type GetSizeFilterArgs added in v2.1.3

type GetSizeFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves `sizes` which keys has value that matches one of the values provided here
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSizeFilterArgs) ElementType added in v2.1.3

func (GetSizeFilterArgs) ElementType() reflect.Type

func (GetSizeFilterArgs) ToGetSizeFilterOutput added in v2.1.3

func (i GetSizeFilterArgs) ToGetSizeFilterOutput() GetSizeFilterOutput

func (GetSizeFilterArgs) ToGetSizeFilterOutputWithContext added in v2.1.3

func (i GetSizeFilterArgs) ToGetSizeFilterOutputWithContext(ctx context.Context) GetSizeFilterOutput

type GetSizeFilterArray added in v2.1.3

type GetSizeFilterArray []GetSizeFilterInput

func (GetSizeFilterArray) ElementType added in v2.1.3

func (GetSizeFilterArray) ElementType() reflect.Type

func (GetSizeFilterArray) ToGetSizeFilterArrayOutput added in v2.1.3

func (i GetSizeFilterArray) ToGetSizeFilterArrayOutput() GetSizeFilterArrayOutput

func (GetSizeFilterArray) ToGetSizeFilterArrayOutputWithContext added in v2.1.3

func (i GetSizeFilterArray) ToGetSizeFilterArrayOutputWithContext(ctx context.Context) GetSizeFilterArrayOutput

type GetSizeFilterArrayInput added in v2.1.3

type GetSizeFilterArrayInput interface {
	pulumi.Input

	ToGetSizeFilterArrayOutput() GetSizeFilterArrayOutput
	ToGetSizeFilterArrayOutputWithContext(context.Context) GetSizeFilterArrayOutput
}

GetSizeFilterArrayInput is an input type that accepts GetSizeFilterArray and GetSizeFilterArrayOutput values. You can construct a concrete instance of `GetSizeFilterArrayInput` via:

GetSizeFilterArray{ GetSizeFilterArgs{...} }

type GetSizeFilterArrayOutput added in v2.1.3

type GetSizeFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSizeFilterArrayOutput) ElementType added in v2.1.3

func (GetSizeFilterArrayOutput) ElementType() reflect.Type

func (GetSizeFilterArrayOutput) Index added in v2.1.3

func (GetSizeFilterArrayOutput) ToGetSizeFilterArrayOutput added in v2.1.3

func (o GetSizeFilterArrayOutput) ToGetSizeFilterArrayOutput() GetSizeFilterArrayOutput

func (GetSizeFilterArrayOutput) ToGetSizeFilterArrayOutputWithContext added in v2.1.3

func (o GetSizeFilterArrayOutput) ToGetSizeFilterArrayOutputWithContext(ctx context.Context) GetSizeFilterArrayOutput

type GetSizeFilterInput added in v2.1.3

type GetSizeFilterInput interface {
	pulumi.Input

	ToGetSizeFilterOutput() GetSizeFilterOutput
	ToGetSizeFilterOutputWithContext(context.Context) GetSizeFilterOutput
}

GetSizeFilterInput is an input type that accepts GetSizeFilterArgs and GetSizeFilterOutput values. You can construct a concrete instance of `GetSizeFilterInput` via:

GetSizeFilterArgs{...}

type GetSizeFilterOutput added in v2.1.3

type GetSizeFilterOutput struct{ *pulumi.OutputState }

func (GetSizeFilterOutput) All added in v2.1.3

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetSizeFilterOutput) ElementType added in v2.1.3

func (GetSizeFilterOutput) ElementType() reflect.Type

func (GetSizeFilterOutput) Key added in v2.1.3

Filter sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`.

func (GetSizeFilterOutput) MatchBy added in v2.1.3

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetSizeFilterOutput) ToGetSizeFilterOutput added in v2.1.3

func (o GetSizeFilterOutput) ToGetSizeFilterOutput() GetSizeFilterOutput

func (GetSizeFilterOutput) ToGetSizeFilterOutputWithContext added in v2.1.3

func (o GetSizeFilterOutput) ToGetSizeFilterOutputWithContext(ctx context.Context) GetSizeFilterOutput

func (GetSizeFilterOutput) Values added in v2.1.3

Only retrieves `sizes` which keys has value that matches one of the values provided here

type GetSizeOutputArgs added in v2.1.3

type GetSizeOutputArgs struct {
	// One or more key/value pairs on which to filter results
	Filters GetSizeFilterArrayInput `pulumi:"filters"`
	// One or more key/direction pairs on which to sort results
	Sorts GetSizeSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getSize.

func (GetSizeOutputArgs) ElementType added in v2.1.3

func (GetSizeOutputArgs) ElementType() reflect.Type

type GetSizeResult added in v2.1.3

type GetSizeResult struct {
	// One or more key/value pairs on which to filter results
	Filters []GetSizeFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id    string        `pulumi:"id"`
	Sizes []GetSizeSize `pulumi:"sizes"`
	// One or more key/direction pairs on which to sort results
	Sorts []GetSizeSort `pulumi:"sorts"`
}

A collection of values returned by getSize.

func GetSize added in v2.1.3

func GetSize(ctx *pulumi.Context, args *GetSizeArgs, opts ...pulumi.InvokeOption) (*GetSizeResult, error)

Retrieves information about the sizes that Civo supports, with the ability to filter the results.

type GetSizeResultOutput added in v2.1.3

type GetSizeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSize.

func GetSizeOutput added in v2.1.3

func GetSizeOutput(ctx *pulumi.Context, args GetSizeOutputArgs, opts ...pulumi.InvokeOption) GetSizeResultOutput

func (GetSizeResultOutput) ElementType added in v2.1.3

func (GetSizeResultOutput) ElementType() reflect.Type

func (GetSizeResultOutput) Filters added in v2.1.3

One or more key/value pairs on which to filter results

func (GetSizeResultOutput) Id added in v2.1.3

The provider-assigned unique ID for this managed resource.

func (GetSizeResultOutput) Sizes added in v2.1.3

func (GetSizeResultOutput) Sorts added in v2.1.3

One or more key/direction pairs on which to sort results

func (GetSizeResultOutput) ToGetSizeResultOutput added in v2.1.3

func (o GetSizeResultOutput) ToGetSizeResultOutput() GetSizeResultOutput

func (GetSizeResultOutput) ToGetSizeResultOutputWithContext added in v2.1.3

func (o GetSizeResultOutput) ToGetSizeResultOutputWithContext(ctx context.Context) GetSizeResultOutput

type GetSizeSize added in v2.1.3

type GetSizeSize struct {
	// Total of CPU
	Cpu int `pulumi:"cpu"`
	// A description of the instance size
	Description string `pulumi:"description"`
	// The size of SSD
	Disk int `pulumi:"disk"`
	// Total of GPU
	Gpu int `pulumi:"gpu"`
	// GPU type
	GpuType string `pulumi:"gpuType"`
	// The name of the size
	Name string `pulumi:"name"`
	// Total of RAM
	Ram int `pulumi:"ram"`
	// If can use the instance size
	Selectable bool `pulumi:"selectable"`
	// A human name of the size
	Type string `pulumi:"type"`
}

type GetSizeSizeArgs added in v2.1.3

type GetSizeSizeArgs struct {
	// Total of CPU
	Cpu pulumi.IntInput `pulumi:"cpu"`
	// A description of the instance size
	Description pulumi.StringInput `pulumi:"description"`
	// The size of SSD
	Disk pulumi.IntInput `pulumi:"disk"`
	// Total of GPU
	Gpu pulumi.IntInput `pulumi:"gpu"`
	// GPU type
	GpuType pulumi.StringInput `pulumi:"gpuType"`
	// The name of the size
	Name pulumi.StringInput `pulumi:"name"`
	// Total of RAM
	Ram pulumi.IntInput `pulumi:"ram"`
	// If can use the instance size
	Selectable pulumi.BoolInput `pulumi:"selectable"`
	// A human name of the size
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetSizeSizeArgs) ElementType added in v2.1.3

func (GetSizeSizeArgs) ElementType() reflect.Type

func (GetSizeSizeArgs) ToGetSizeSizeOutput added in v2.1.3

func (i GetSizeSizeArgs) ToGetSizeSizeOutput() GetSizeSizeOutput

func (GetSizeSizeArgs) ToGetSizeSizeOutputWithContext added in v2.1.3

func (i GetSizeSizeArgs) ToGetSizeSizeOutputWithContext(ctx context.Context) GetSizeSizeOutput

type GetSizeSizeArray added in v2.1.3

type GetSizeSizeArray []GetSizeSizeInput

func (GetSizeSizeArray) ElementType added in v2.1.3

func (GetSizeSizeArray) ElementType() reflect.Type

func (GetSizeSizeArray) ToGetSizeSizeArrayOutput added in v2.1.3

func (i GetSizeSizeArray) ToGetSizeSizeArrayOutput() GetSizeSizeArrayOutput

func (GetSizeSizeArray) ToGetSizeSizeArrayOutputWithContext added in v2.1.3

func (i GetSizeSizeArray) ToGetSizeSizeArrayOutputWithContext(ctx context.Context) GetSizeSizeArrayOutput

type GetSizeSizeArrayInput added in v2.1.3

type GetSizeSizeArrayInput interface {
	pulumi.Input

	ToGetSizeSizeArrayOutput() GetSizeSizeArrayOutput
	ToGetSizeSizeArrayOutputWithContext(context.Context) GetSizeSizeArrayOutput
}

GetSizeSizeArrayInput is an input type that accepts GetSizeSizeArray and GetSizeSizeArrayOutput values. You can construct a concrete instance of `GetSizeSizeArrayInput` via:

GetSizeSizeArray{ GetSizeSizeArgs{...} }

type GetSizeSizeArrayOutput added in v2.1.3

type GetSizeSizeArrayOutput struct{ *pulumi.OutputState }

func (GetSizeSizeArrayOutput) ElementType added in v2.1.3

func (GetSizeSizeArrayOutput) ElementType() reflect.Type

func (GetSizeSizeArrayOutput) Index added in v2.1.3

func (GetSizeSizeArrayOutput) ToGetSizeSizeArrayOutput added in v2.1.3

func (o GetSizeSizeArrayOutput) ToGetSizeSizeArrayOutput() GetSizeSizeArrayOutput

func (GetSizeSizeArrayOutput) ToGetSizeSizeArrayOutputWithContext added in v2.1.3

func (o GetSizeSizeArrayOutput) ToGetSizeSizeArrayOutputWithContext(ctx context.Context) GetSizeSizeArrayOutput

type GetSizeSizeInput added in v2.1.3

type GetSizeSizeInput interface {
	pulumi.Input

	ToGetSizeSizeOutput() GetSizeSizeOutput
	ToGetSizeSizeOutputWithContext(context.Context) GetSizeSizeOutput
}

GetSizeSizeInput is an input type that accepts GetSizeSizeArgs and GetSizeSizeOutput values. You can construct a concrete instance of `GetSizeSizeInput` via:

GetSizeSizeArgs{...}

type GetSizeSizeOutput added in v2.1.3

type GetSizeSizeOutput struct{ *pulumi.OutputState }

func (GetSizeSizeOutput) Cpu added in v2.1.3

Total of CPU

func (GetSizeSizeOutput) Description added in v2.1.3

func (o GetSizeSizeOutput) Description() pulumi.StringOutput

A description of the instance size

func (GetSizeSizeOutput) Disk added in v2.1.3

The size of SSD

func (GetSizeSizeOutput) ElementType added in v2.1.3

func (GetSizeSizeOutput) ElementType() reflect.Type

func (GetSizeSizeOutput) Gpu added in v2.3.9

Total of GPU

func (GetSizeSizeOutput) GpuType added in v2.3.9

GPU type

func (GetSizeSizeOutput) Name added in v2.1.3

The name of the size

func (GetSizeSizeOutput) Ram added in v2.1.3

Total of RAM

func (GetSizeSizeOutput) Selectable added in v2.1.3

func (o GetSizeSizeOutput) Selectable() pulumi.BoolOutput

If can use the instance size

func (GetSizeSizeOutput) ToGetSizeSizeOutput added in v2.1.3

func (o GetSizeSizeOutput) ToGetSizeSizeOutput() GetSizeSizeOutput

func (GetSizeSizeOutput) ToGetSizeSizeOutputWithContext added in v2.1.3

func (o GetSizeSizeOutput) ToGetSizeSizeOutputWithContext(ctx context.Context) GetSizeSizeOutput

func (GetSizeSizeOutput) Type added in v2.1.3

A human name of the size

type GetSizeSort added in v2.1.3

type GetSizeSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`.
	Key string `pulumi:"key"`
}

type GetSizeSortArgs added in v2.1.3

type GetSizeSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetSizeSortArgs) ElementType added in v2.1.3

func (GetSizeSortArgs) ElementType() reflect.Type

func (GetSizeSortArgs) ToGetSizeSortOutput added in v2.1.3

func (i GetSizeSortArgs) ToGetSizeSortOutput() GetSizeSortOutput

func (GetSizeSortArgs) ToGetSizeSortOutputWithContext added in v2.1.3

func (i GetSizeSortArgs) ToGetSizeSortOutputWithContext(ctx context.Context) GetSizeSortOutput

type GetSizeSortArray added in v2.1.3

type GetSizeSortArray []GetSizeSortInput

func (GetSizeSortArray) ElementType added in v2.1.3

func (GetSizeSortArray) ElementType() reflect.Type

func (GetSizeSortArray) ToGetSizeSortArrayOutput added in v2.1.3

func (i GetSizeSortArray) ToGetSizeSortArrayOutput() GetSizeSortArrayOutput

func (GetSizeSortArray) ToGetSizeSortArrayOutputWithContext added in v2.1.3

func (i GetSizeSortArray) ToGetSizeSortArrayOutputWithContext(ctx context.Context) GetSizeSortArrayOutput

type GetSizeSortArrayInput added in v2.1.3

type GetSizeSortArrayInput interface {
	pulumi.Input

	ToGetSizeSortArrayOutput() GetSizeSortArrayOutput
	ToGetSizeSortArrayOutputWithContext(context.Context) GetSizeSortArrayOutput
}

GetSizeSortArrayInput is an input type that accepts GetSizeSortArray and GetSizeSortArrayOutput values. You can construct a concrete instance of `GetSizeSortArrayInput` via:

GetSizeSortArray{ GetSizeSortArgs{...} }

type GetSizeSortArrayOutput added in v2.1.3

type GetSizeSortArrayOutput struct{ *pulumi.OutputState }

func (GetSizeSortArrayOutput) ElementType added in v2.1.3

func (GetSizeSortArrayOutput) ElementType() reflect.Type

func (GetSizeSortArrayOutput) Index added in v2.1.3

func (GetSizeSortArrayOutput) ToGetSizeSortArrayOutput added in v2.1.3

func (o GetSizeSortArrayOutput) ToGetSizeSortArrayOutput() GetSizeSortArrayOutput

func (GetSizeSortArrayOutput) ToGetSizeSortArrayOutputWithContext added in v2.1.3

func (o GetSizeSortArrayOutput) ToGetSizeSortArrayOutputWithContext(ctx context.Context) GetSizeSortArrayOutput

type GetSizeSortInput added in v2.1.3

type GetSizeSortInput interface {
	pulumi.Input

	ToGetSizeSortOutput() GetSizeSortOutput
	ToGetSizeSortOutputWithContext(context.Context) GetSizeSortOutput
}

GetSizeSortInput is an input type that accepts GetSizeSortArgs and GetSizeSortOutput values. You can construct a concrete instance of `GetSizeSortInput` via:

GetSizeSortArgs{...}

type GetSizeSortOutput added in v2.1.3

type GetSizeSortOutput struct{ *pulumi.OutputState }

func (GetSizeSortOutput) Direction added in v2.1.3

The sort direction. This may be either `asc` or `desc`.

func (GetSizeSortOutput) ElementType added in v2.1.3

func (GetSizeSortOutput) ElementType() reflect.Type

func (GetSizeSortOutput) Key added in v2.1.3

Sort sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`.

func (GetSizeSortOutput) ToGetSizeSortOutput added in v2.1.3

func (o GetSizeSortOutput) ToGetSizeSortOutput() GetSizeSortOutput

func (GetSizeSortOutput) ToGetSizeSortOutputWithContext added in v2.1.3

func (o GetSizeSortOutput) ToGetSizeSortOutputWithContext(ctx context.Context) GetSizeSortOutput

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// Instance's CPU cores
	CpuCores pulumi.IntOutput `pulumi:"cpuCores"`
	// Timestamp when the instance was created
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Instance's disk (GB)
	DiskGb pulumi.IntOutput `pulumi:"diskGb"`
	// The ID for the disk image to use to build the instance
	DiskImage pulumi.StringOutput `pulumi:"diskImage"`
	// The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
	FirewallId pulumi.StringOutput `pulumi:"firewallId"`
	// A fully qualified domain name that should be set as the instance's hostname
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// Initial password for login
	InitialPassword pulumi.StringOutput `pulumi:"initialPassword"`
	// The name of the initial user created on the server (optional; this will default to the template's defaultUsername and fallback to civo)
	InitialUser pulumi.StringPtrOutput `pulumi:"initialUser"`
	// This must be the ID of the network from the network listing (optional; default network used when not specified)
	NetworkId pulumi.StringOutput `pulumi:"networkId"`
	// Add some notes to the instance
	Notes pulumi.StringPtrOutput `pulumi:"notes"`
	// Instance's private IP address
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
	// Instance's public IP address
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
	// This should be either 'none' or 'create' (default: 'create')
	PublicIpRequired pulumi.StringPtrOutput `pulumi:"publicIpRequired"`
	// Instance's RAM (MB)
	RamMb pulumi.IntOutput `pulumi:"ramMb"`
	// The region for the instance, if not declare we use the region in declared in the provider
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// Can be either the UUID, name, or the IP address of the reserved IP
	ReservedIpv4 pulumi.StringPtrOutput `pulumi:"reservedIpv4"`
	// A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
	ReverseDns pulumi.StringPtrOutput `pulumi:"reverseDns"`
	// The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
	Script pulumi.StringPtrOutput `pulumi:"script"`
	// The name of the size, from the current list, e.g. g3.xsmall
	Size pulumi.StringPtrOutput `pulumi:"size"`
	// Instance's source ID
	SourceId pulumi.StringOutput `pulumi:"sourceId"`
	// Instance's source type
	SourceType pulumi.StringOutput `pulumi:"sourceType"`
	// The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initialPassword field)
	SshkeyId pulumi.StringOutput `pulumi:"sshkeyId"`
	// Instance's status
	Status pulumi.StringOutput `pulumi:"status"`
	// An optional list of tags, represented as a key, value pair
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The ID for the template to use to build the instance
	//
	// Deprecated: "template" attribute is deprecated. Moving forward, please use "diskImage" attribute.
	Template pulumi.StringOutput `pulumi:"template"`
}

Provides a Civo instance resource. This can be used to create, modify, and delete instances.

## Import

using ID

```sh $ pulumi import civo:index/instance:Instance myintance 18bd98ad-1b6e-4f87-b48f-e690b4fd7413 ```

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 {
	// The ID for the disk image to use to build the instance
	DiskImage pulumi.StringPtrInput
	// The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
	FirewallId pulumi.StringPtrInput
	// A fully qualified domain name that should be set as the instance's hostname
	Hostname pulumi.StringPtrInput
	// The name of the initial user created on the server (optional; this will default to the template's defaultUsername and fallback to civo)
	InitialUser pulumi.StringPtrInput
	// This must be the ID of the network from the network listing (optional; default network used when not specified)
	NetworkId pulumi.StringPtrInput
	// Add some notes to the instance
	Notes pulumi.StringPtrInput
	// This should be either 'none' or 'create' (default: 'create')
	PublicIpRequired pulumi.StringPtrInput
	// The region for the instance, if not declare we use the region in declared in the provider
	Region pulumi.StringPtrInput
	// Can be either the UUID, name, or the IP address of the reserved IP
	ReservedIpv4 pulumi.StringPtrInput
	// A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
	ReverseDns pulumi.StringPtrInput
	// The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
	Script pulumi.StringPtrInput
	// The name of the size, from the current list, e.g. g3.xsmall
	Size pulumi.StringPtrInput
	// The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initialPassword field)
	SshkeyId pulumi.StringPtrInput
	// An optional list of tags, represented as a key, value pair
	Tags pulumi.StringArrayInput
	// The ID for the template to use to build the instance
	//
	// Deprecated: "template" attribute is deprecated. Moving forward, please use "diskImage" attribute.
	Template pulumi.StringPtrInput
}

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 InstanceInput

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

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) CpuCores added in v2.2.3

func (o InstanceOutput) CpuCores() pulumi.IntOutput

Instance's CPU cores

func (InstanceOutput) CreatedAt added in v2.2.3

func (o InstanceOutput) CreatedAt() pulumi.StringOutput

Timestamp when the instance was created

func (InstanceOutput) DiskGb added in v2.2.3

func (o InstanceOutput) DiskGb() pulumi.IntOutput

Instance's disk (GB)

func (InstanceOutput) DiskImage added in v2.2.3

func (o InstanceOutput) DiskImage() pulumi.StringOutput

The ID for the disk image to use to build the instance

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) FirewallId added in v2.2.3

func (o InstanceOutput) FirewallId() pulumi.StringOutput

The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)

func (InstanceOutput) Hostname added in v2.2.3

func (o InstanceOutput) Hostname() pulumi.StringOutput

A fully qualified domain name that should be set as the instance's hostname

func (InstanceOutput) InitialPassword added in v2.2.3

func (o InstanceOutput) InitialPassword() pulumi.StringOutput

Initial password for login

func (InstanceOutput) InitialUser added in v2.2.3

func (o InstanceOutput) InitialUser() pulumi.StringPtrOutput

The name of the initial user created on the server (optional; this will default to the template's defaultUsername and fallback to civo)

func (InstanceOutput) NetworkId added in v2.2.3

func (o InstanceOutput) NetworkId() pulumi.StringOutput

This must be the ID of the network from the network listing (optional; default network used when not specified)

func (InstanceOutput) Notes added in v2.2.3

Add some notes to the instance

func (InstanceOutput) PrivateIp added in v2.2.3

func (o InstanceOutput) PrivateIp() pulumi.StringOutput

Instance's private IP address

func (InstanceOutput) PublicIp added in v2.2.3

func (o InstanceOutput) PublicIp() pulumi.StringOutput

Instance's public IP address

func (InstanceOutput) PublicIpRequired added in v2.2.3

func (o InstanceOutput) PublicIpRequired() pulumi.StringPtrOutput

This should be either 'none' or 'create' (default: 'create')

func (InstanceOutput) RamMb added in v2.2.3

func (o InstanceOutput) RamMb() pulumi.IntOutput

Instance's RAM (MB)

func (InstanceOutput) Region added in v2.2.3

The region for the instance, if not declare we use the region in declared in the provider

func (InstanceOutput) ReservedIpv4 added in v2.3.15

func (o InstanceOutput) ReservedIpv4() pulumi.StringPtrOutput

Can be either the UUID, name, or the IP address of the reserved IP

func (InstanceOutput) ReverseDns added in v2.2.3

func (o InstanceOutput) ReverseDns() pulumi.StringPtrOutput

A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)

func (InstanceOutput) Script added in v2.2.3

The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization

func (InstanceOutput) Size added in v2.2.3

The name of the size, from the current list, e.g. g3.xsmall

func (InstanceOutput) SourceId added in v2.2.3

func (o InstanceOutput) SourceId() pulumi.StringOutput

Instance's source ID

func (InstanceOutput) SourceType added in v2.2.3

func (o InstanceOutput) SourceType() pulumi.StringOutput

Instance's source type

func (InstanceOutput) SshkeyId added in v2.2.3

func (o InstanceOutput) SshkeyId() pulumi.StringOutput

The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initialPassword field)

func (InstanceOutput) Status added in v2.2.3

func (o InstanceOutput) Status() pulumi.StringOutput

Instance's status

func (InstanceOutput) Tags added in v2.2.3

An optional list of tags, represented as a key, value pair

func (InstanceOutput) Template deprecated added in v2.2.3

func (o InstanceOutput) Template() pulumi.StringOutput

The ID for the template to use to build the instance

Deprecated: "template" attribute is deprecated. Moving forward, please use "diskImage" attribute.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceReservedIpAssignment added in v2.2.3

type InstanceReservedIpAssignment struct {
	pulumi.CustomResourceState

	// The instance id
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The region of the ip
	Region pulumi.StringOutput `pulumi:"region"`
	// The reserved ip id
	ReservedIpId pulumi.StringOutput `pulumi:"reservedIpId"`
}

The instance reserved ip assignment resource schema definition

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Send to create a reserved IP
		_, err := civo.NewReservedIp(ctx, "www", &civo.ReservedIpArgs{
			Name: pulumi.String("nginx-www"),
		})
		if err != nil {
			return err
		}
		// We assign the reserved IP to the instance
		_, err = civo.NewInstanceReservedIpAssignment(ctx, "webserver-www", &civo.InstanceReservedIpAssignmentArgs{
			InstanceId:   pulumi.Any(wwwCivoInstance.Id),
			ReservedIpId: pulumi.Any(web_server.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetInstanceReservedIpAssignment added in v2.2.3

func GetInstanceReservedIpAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceReservedIpAssignmentState, opts ...pulumi.ResourceOption) (*InstanceReservedIpAssignment, error)

GetInstanceReservedIpAssignment gets an existing InstanceReservedIpAssignment 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 NewInstanceReservedIpAssignment added in v2.2.3

func NewInstanceReservedIpAssignment(ctx *pulumi.Context,
	name string, args *InstanceReservedIpAssignmentArgs, opts ...pulumi.ResourceOption) (*InstanceReservedIpAssignment, error)

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

func (*InstanceReservedIpAssignment) ElementType added in v2.2.3

func (*InstanceReservedIpAssignment) ElementType() reflect.Type

func (*InstanceReservedIpAssignment) ToInstanceReservedIpAssignmentOutput added in v2.2.3

func (i *InstanceReservedIpAssignment) ToInstanceReservedIpAssignmentOutput() InstanceReservedIpAssignmentOutput

func (*InstanceReservedIpAssignment) ToInstanceReservedIpAssignmentOutputWithContext added in v2.2.3

func (i *InstanceReservedIpAssignment) ToInstanceReservedIpAssignmentOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentOutput

type InstanceReservedIpAssignmentArgs added in v2.2.3

type InstanceReservedIpAssignmentArgs struct {
	// The instance id
	InstanceId pulumi.StringInput
	// The region of the ip
	Region pulumi.StringPtrInput
	// The reserved ip id
	ReservedIpId pulumi.StringInput
}

The set of arguments for constructing a InstanceReservedIpAssignment resource.

func (InstanceReservedIpAssignmentArgs) ElementType added in v2.2.3

type InstanceReservedIpAssignmentArray added in v2.2.3

type InstanceReservedIpAssignmentArray []InstanceReservedIpAssignmentInput

func (InstanceReservedIpAssignmentArray) ElementType added in v2.2.3

func (InstanceReservedIpAssignmentArray) ToInstanceReservedIpAssignmentArrayOutput added in v2.2.3

func (i InstanceReservedIpAssignmentArray) ToInstanceReservedIpAssignmentArrayOutput() InstanceReservedIpAssignmentArrayOutput

func (InstanceReservedIpAssignmentArray) ToInstanceReservedIpAssignmentArrayOutputWithContext added in v2.2.3

func (i InstanceReservedIpAssignmentArray) ToInstanceReservedIpAssignmentArrayOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentArrayOutput

type InstanceReservedIpAssignmentArrayInput added in v2.2.3

type InstanceReservedIpAssignmentArrayInput interface {
	pulumi.Input

	ToInstanceReservedIpAssignmentArrayOutput() InstanceReservedIpAssignmentArrayOutput
	ToInstanceReservedIpAssignmentArrayOutputWithContext(context.Context) InstanceReservedIpAssignmentArrayOutput
}

InstanceReservedIpAssignmentArrayInput is an input type that accepts InstanceReservedIpAssignmentArray and InstanceReservedIpAssignmentArrayOutput values. You can construct a concrete instance of `InstanceReservedIpAssignmentArrayInput` via:

InstanceReservedIpAssignmentArray{ InstanceReservedIpAssignmentArgs{...} }

type InstanceReservedIpAssignmentArrayOutput added in v2.2.3

type InstanceReservedIpAssignmentArrayOutput struct{ *pulumi.OutputState }

func (InstanceReservedIpAssignmentArrayOutput) ElementType added in v2.2.3

func (InstanceReservedIpAssignmentArrayOutput) Index added in v2.2.3

func (InstanceReservedIpAssignmentArrayOutput) ToInstanceReservedIpAssignmentArrayOutput added in v2.2.3

func (o InstanceReservedIpAssignmentArrayOutput) ToInstanceReservedIpAssignmentArrayOutput() InstanceReservedIpAssignmentArrayOutput

func (InstanceReservedIpAssignmentArrayOutput) ToInstanceReservedIpAssignmentArrayOutputWithContext added in v2.2.3

func (o InstanceReservedIpAssignmentArrayOutput) ToInstanceReservedIpAssignmentArrayOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentArrayOutput

type InstanceReservedIpAssignmentInput added in v2.2.3

type InstanceReservedIpAssignmentInput interface {
	pulumi.Input

	ToInstanceReservedIpAssignmentOutput() InstanceReservedIpAssignmentOutput
	ToInstanceReservedIpAssignmentOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentOutput
}

type InstanceReservedIpAssignmentMap added in v2.2.3

type InstanceReservedIpAssignmentMap map[string]InstanceReservedIpAssignmentInput

func (InstanceReservedIpAssignmentMap) ElementType added in v2.2.3

func (InstanceReservedIpAssignmentMap) ToInstanceReservedIpAssignmentMapOutput added in v2.2.3

func (i InstanceReservedIpAssignmentMap) ToInstanceReservedIpAssignmentMapOutput() InstanceReservedIpAssignmentMapOutput

func (InstanceReservedIpAssignmentMap) ToInstanceReservedIpAssignmentMapOutputWithContext added in v2.2.3

func (i InstanceReservedIpAssignmentMap) ToInstanceReservedIpAssignmentMapOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentMapOutput

type InstanceReservedIpAssignmentMapInput added in v2.2.3

type InstanceReservedIpAssignmentMapInput interface {
	pulumi.Input

	ToInstanceReservedIpAssignmentMapOutput() InstanceReservedIpAssignmentMapOutput
	ToInstanceReservedIpAssignmentMapOutputWithContext(context.Context) InstanceReservedIpAssignmentMapOutput
}

InstanceReservedIpAssignmentMapInput is an input type that accepts InstanceReservedIpAssignmentMap and InstanceReservedIpAssignmentMapOutput values. You can construct a concrete instance of `InstanceReservedIpAssignmentMapInput` via:

InstanceReservedIpAssignmentMap{ "key": InstanceReservedIpAssignmentArgs{...} }

type InstanceReservedIpAssignmentMapOutput added in v2.2.3

type InstanceReservedIpAssignmentMapOutput struct{ *pulumi.OutputState }

func (InstanceReservedIpAssignmentMapOutput) ElementType added in v2.2.3

func (InstanceReservedIpAssignmentMapOutput) MapIndex added in v2.2.3

func (InstanceReservedIpAssignmentMapOutput) ToInstanceReservedIpAssignmentMapOutput added in v2.2.3

func (o InstanceReservedIpAssignmentMapOutput) ToInstanceReservedIpAssignmentMapOutput() InstanceReservedIpAssignmentMapOutput

func (InstanceReservedIpAssignmentMapOutput) ToInstanceReservedIpAssignmentMapOutputWithContext added in v2.2.3

func (o InstanceReservedIpAssignmentMapOutput) ToInstanceReservedIpAssignmentMapOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentMapOutput

type InstanceReservedIpAssignmentOutput added in v2.2.3

type InstanceReservedIpAssignmentOutput struct{ *pulumi.OutputState }

func (InstanceReservedIpAssignmentOutput) ElementType added in v2.2.3

func (InstanceReservedIpAssignmentOutput) InstanceId added in v2.2.3

The instance id

func (InstanceReservedIpAssignmentOutput) Region added in v2.2.3

The region of the ip

func (InstanceReservedIpAssignmentOutput) ReservedIpId added in v2.2.3

The reserved ip id

func (InstanceReservedIpAssignmentOutput) ToInstanceReservedIpAssignmentOutput added in v2.2.3

func (o InstanceReservedIpAssignmentOutput) ToInstanceReservedIpAssignmentOutput() InstanceReservedIpAssignmentOutput

func (InstanceReservedIpAssignmentOutput) ToInstanceReservedIpAssignmentOutputWithContext added in v2.2.3

func (o InstanceReservedIpAssignmentOutput) ToInstanceReservedIpAssignmentOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentOutput

type InstanceReservedIpAssignmentState added in v2.2.3

type InstanceReservedIpAssignmentState struct {
	// The instance id
	InstanceId pulumi.StringPtrInput
	// The region of the ip
	Region pulumi.StringPtrInput
	// The reserved ip id
	ReservedIpId pulumi.StringPtrInput
}

func (InstanceReservedIpAssignmentState) ElementType added in v2.2.3

type InstanceState

type InstanceState struct {
	// Instance's CPU cores
	CpuCores pulumi.IntPtrInput
	// Timestamp when the instance was created
	CreatedAt pulumi.StringPtrInput
	// Instance's disk (GB)
	DiskGb pulumi.IntPtrInput
	// The ID for the disk image to use to build the instance
	DiskImage pulumi.StringPtrInput
	// The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
	FirewallId pulumi.StringPtrInput
	// A fully qualified domain name that should be set as the instance's hostname
	Hostname pulumi.StringPtrInput
	// Initial password for login
	InitialPassword pulumi.StringPtrInput
	// The name of the initial user created on the server (optional; this will default to the template's defaultUsername and fallback to civo)
	InitialUser pulumi.StringPtrInput
	// This must be the ID of the network from the network listing (optional; default network used when not specified)
	NetworkId pulumi.StringPtrInput
	// Add some notes to the instance
	Notes pulumi.StringPtrInput
	// Instance's private IP address
	PrivateIp pulumi.StringPtrInput
	// Instance's public IP address
	PublicIp pulumi.StringPtrInput
	// This should be either 'none' or 'create' (default: 'create')
	PublicIpRequired pulumi.StringPtrInput
	// Instance's RAM (MB)
	RamMb pulumi.IntPtrInput
	// The region for the instance, if not declare we use the region in declared in the provider
	Region pulumi.StringPtrInput
	// Can be either the UUID, name, or the IP address of the reserved IP
	ReservedIpv4 pulumi.StringPtrInput
	// A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
	ReverseDns pulumi.StringPtrInput
	// The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
	Script pulumi.StringPtrInput
	// The name of the size, from the current list, e.g. g3.xsmall
	Size pulumi.StringPtrInput
	// Instance's source ID
	SourceId pulumi.StringPtrInput
	// Instance's source type
	SourceType pulumi.StringPtrInput
	// The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initialPassword field)
	SshkeyId pulumi.StringPtrInput
	// Instance's status
	Status pulumi.StringPtrInput
	// An optional list of tags, represented as a key, value pair
	Tags pulumi.StringArrayInput
	// The ID for the template to use to build the instance
	//
	// Deprecated: "template" attribute is deprecated. Moving forward, please use "diskImage" attribute.
	Template pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type KubernetesCluster

type KubernetesCluster struct {
	pulumi.CustomResourceState

	// The API server endpoint of the cluster
	ApiEndpoint pulumi.StringOutput `pulumi:"apiEndpoint"`
	// Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'app*name:app*plan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
	Applications pulumi.StringPtrOutput `pulumi:"applications"`
	// The type of cluster to create, valid options are `k3s` or `talos` the default is `k3s`
	ClusterType pulumi.StringOutput `pulumi:"clusterType"`
	// The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel`
	Cni pulumi.StringOutput `pulumi:"cni"`
	// The timestamp when the cluster was created
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The DNS name of the cluster
	DnsEntry pulumi.StringOutput `pulumi:"dnsEntry"`
	// The existing firewall ID to use for this cluster
	FirewallId            pulumi.StringOutput                              `pulumi:"firewallId"`
	InstalledApplications KubernetesClusterInstalledApplicationArrayOutput `pulumi:"installedApplications"`
	// The kubeconfig of the cluster
	Kubeconfig pulumi.StringOutput `pulumi:"kubeconfig"`
	// The version of k3s to install (optional, the default is currently the latest available)
	KubernetesVersion pulumi.StringOutput `pulumi:"kubernetesVersion"`
	// The IP address of the master node
	MasterIp pulumi.StringOutput `pulumi:"masterIp"`
	// Name for your cluster, must be unique within your account
	Name pulumi.StringOutput `pulumi:"name"`
	// The network for the cluster, if not declare we use the default one
	NetworkId pulumi.StringOutput `pulumi:"networkId"`
	// The number of instances to create (optional, the default at the time of writing is 3)
	//
	// Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead
	NumTargetNodes pulumi.IntOutput             `pulumi:"numTargetNodes"`
	Pools          KubernetesClusterPoolsOutput `pulumi:"pools"`
	// When cluster is ready, this will return `true`
	Ready pulumi.BoolOutput `pulumi:"ready"`
	// The region for the cluster, if not declare we use the region in declared in the provider
	Region pulumi.StringOutput `pulumi:"region"`
	// Status of the cluster
	Status pulumi.StringOutput `pulumi:"status"`
	// Space separated list of tags, to be used freely as required
	Tags pulumi.StringPtrOutput `pulumi:"tags"`
	// The size of each node (optional, the default is currently g4s.kube.medium)
	//
	// Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead
	TargetNodesSize pulumi.StringOutput `pulumi:"targetNodesSize"`
}

Provides a Civo Kubernetes cluster resource. This can be used to create, delete, and modify clusters.

## Import

using ID

```sh $ pulumi import civo:index/kubernetesCluster:KubernetesCluster my-cluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af ```

func GetKubernetesCluster

func GetKubernetesCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KubernetesClusterState, opts ...pulumi.ResourceOption) (*KubernetesCluster, error)

GetKubernetesCluster gets an existing KubernetesCluster 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 NewKubernetesCluster

func NewKubernetesCluster(ctx *pulumi.Context,
	name string, args *KubernetesClusterArgs, opts ...pulumi.ResourceOption) (*KubernetesCluster, error)

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

func (*KubernetesCluster) ElementType

func (*KubernetesCluster) ElementType() reflect.Type

func (*KubernetesCluster) ToKubernetesClusterOutput

func (i *KubernetesCluster) ToKubernetesClusterOutput() KubernetesClusterOutput

func (*KubernetesCluster) ToKubernetesClusterOutputWithContext

func (i *KubernetesCluster) ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput

type KubernetesClusterArgs

type KubernetesClusterArgs struct {
	// Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'app*name:app*plan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
	Applications pulumi.StringPtrInput
	// The type of cluster to create, valid options are `k3s` or `talos` the default is `k3s`
	ClusterType pulumi.StringPtrInput
	// The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel`
	Cni pulumi.StringPtrInput
	// The existing firewall ID to use for this cluster
	FirewallId pulumi.StringInput
	// The version of k3s to install (optional, the default is currently the latest available)
	KubernetesVersion pulumi.StringPtrInput
	// Name for your cluster, must be unique within your account
	Name pulumi.StringPtrInput
	// The network for the cluster, if not declare we use the default one
	NetworkId pulumi.StringPtrInput
	// The number of instances to create (optional, the default at the time of writing is 3)
	//
	// Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead
	NumTargetNodes pulumi.IntPtrInput
	Pools          KubernetesClusterPoolsInput
	// The region for the cluster, if not declare we use the region in declared in the provider
	Region pulumi.StringPtrInput
	// Space separated list of tags, to be used freely as required
	Tags pulumi.StringPtrInput
	// The size of each node (optional, the default is currently g4s.kube.medium)
	//
	// Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead
	TargetNodesSize pulumi.StringPtrInput
}

The set of arguments for constructing a KubernetesCluster resource.

func (KubernetesClusterArgs) ElementType

func (KubernetesClusterArgs) ElementType() reflect.Type

type KubernetesClusterArray

type KubernetesClusterArray []KubernetesClusterInput

func (KubernetesClusterArray) ElementType

func (KubernetesClusterArray) ElementType() reflect.Type

func (KubernetesClusterArray) ToKubernetesClusterArrayOutput

func (i KubernetesClusterArray) ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput

func (KubernetesClusterArray) ToKubernetesClusterArrayOutputWithContext

func (i KubernetesClusterArray) ToKubernetesClusterArrayOutputWithContext(ctx context.Context) KubernetesClusterArrayOutput

type KubernetesClusterArrayInput

type KubernetesClusterArrayInput interface {
	pulumi.Input

	ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput
	ToKubernetesClusterArrayOutputWithContext(context.Context) KubernetesClusterArrayOutput
}

KubernetesClusterArrayInput is an input type that accepts KubernetesClusterArray and KubernetesClusterArrayOutput values. You can construct a concrete instance of `KubernetesClusterArrayInput` via:

KubernetesClusterArray{ KubernetesClusterArgs{...} }

type KubernetesClusterArrayOutput

type KubernetesClusterArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterArrayOutput) ElementType

func (KubernetesClusterArrayOutput) Index

func (KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutput

func (o KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput

func (KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutputWithContext

func (o KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutputWithContext(ctx context.Context) KubernetesClusterArrayOutput

type KubernetesClusterInput

type KubernetesClusterInput interface {
	pulumi.Input

	ToKubernetesClusterOutput() KubernetesClusterOutput
	ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput
}

type KubernetesClusterInstalledApplication

type KubernetesClusterInstalledApplication struct {
	// Name of application
	Application *string `pulumi:"application"`
	// Category of the application
	Category *string `pulumi:"category"`
	// Application installation status (`true` if installed)
	Installed *bool `pulumi:"installed"`
	// Version of application
	Version *string `pulumi:"version"`
}

type KubernetesClusterInstalledApplicationArgs

type KubernetesClusterInstalledApplicationArgs struct {
	// Name of application
	Application pulumi.StringPtrInput `pulumi:"application"`
	// Category of the application
	Category pulumi.StringPtrInput `pulumi:"category"`
	// Application installation status (`true` if installed)
	Installed pulumi.BoolPtrInput `pulumi:"installed"`
	// Version of application
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (KubernetesClusterInstalledApplicationArgs) ElementType

func (KubernetesClusterInstalledApplicationArgs) ToKubernetesClusterInstalledApplicationOutput

func (i KubernetesClusterInstalledApplicationArgs) ToKubernetesClusterInstalledApplicationOutput() KubernetesClusterInstalledApplicationOutput

func (KubernetesClusterInstalledApplicationArgs) ToKubernetesClusterInstalledApplicationOutputWithContext

func (i KubernetesClusterInstalledApplicationArgs) ToKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationOutput

type KubernetesClusterInstalledApplicationArray

type KubernetesClusterInstalledApplicationArray []KubernetesClusterInstalledApplicationInput

func (KubernetesClusterInstalledApplicationArray) ElementType

func (KubernetesClusterInstalledApplicationArray) ToKubernetesClusterInstalledApplicationArrayOutput

func (i KubernetesClusterInstalledApplicationArray) ToKubernetesClusterInstalledApplicationArrayOutput() KubernetesClusterInstalledApplicationArrayOutput

func (KubernetesClusterInstalledApplicationArray) ToKubernetesClusterInstalledApplicationArrayOutputWithContext

func (i KubernetesClusterInstalledApplicationArray) ToKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationArrayOutput

type KubernetesClusterInstalledApplicationArrayInput

type KubernetesClusterInstalledApplicationArrayInput interface {
	pulumi.Input

	ToKubernetesClusterInstalledApplicationArrayOutput() KubernetesClusterInstalledApplicationArrayOutput
	ToKubernetesClusterInstalledApplicationArrayOutputWithContext(context.Context) KubernetesClusterInstalledApplicationArrayOutput
}

KubernetesClusterInstalledApplicationArrayInput is an input type that accepts KubernetesClusterInstalledApplicationArray and KubernetesClusterInstalledApplicationArrayOutput values. You can construct a concrete instance of `KubernetesClusterInstalledApplicationArrayInput` via:

KubernetesClusterInstalledApplicationArray{ KubernetesClusterInstalledApplicationArgs{...} }

type KubernetesClusterInstalledApplicationArrayOutput

type KubernetesClusterInstalledApplicationArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterInstalledApplicationArrayOutput) ElementType

func (KubernetesClusterInstalledApplicationArrayOutput) Index

func (KubernetesClusterInstalledApplicationArrayOutput) ToKubernetesClusterInstalledApplicationArrayOutput

func (o KubernetesClusterInstalledApplicationArrayOutput) ToKubernetesClusterInstalledApplicationArrayOutput() KubernetesClusterInstalledApplicationArrayOutput

func (KubernetesClusterInstalledApplicationArrayOutput) ToKubernetesClusterInstalledApplicationArrayOutputWithContext

func (o KubernetesClusterInstalledApplicationArrayOutput) ToKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationArrayOutput

type KubernetesClusterInstalledApplicationInput

type KubernetesClusterInstalledApplicationInput interface {
	pulumi.Input

	ToKubernetesClusterInstalledApplicationOutput() KubernetesClusterInstalledApplicationOutput
	ToKubernetesClusterInstalledApplicationOutputWithContext(context.Context) KubernetesClusterInstalledApplicationOutput
}

KubernetesClusterInstalledApplicationInput is an input type that accepts KubernetesClusterInstalledApplicationArgs and KubernetesClusterInstalledApplicationOutput values. You can construct a concrete instance of `KubernetesClusterInstalledApplicationInput` via:

KubernetesClusterInstalledApplicationArgs{...}

type KubernetesClusterInstalledApplicationOutput

type KubernetesClusterInstalledApplicationOutput struct{ *pulumi.OutputState }

func (KubernetesClusterInstalledApplicationOutput) Application

Name of application

func (KubernetesClusterInstalledApplicationOutput) Category

Category of the application

func (KubernetesClusterInstalledApplicationOutput) ElementType

func (KubernetesClusterInstalledApplicationOutput) Installed

Application installation status (`true` if installed)

func (KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutput

func (o KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutput() KubernetesClusterInstalledApplicationOutput

func (KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutputWithContext

func (o KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationOutput

func (KubernetesClusterInstalledApplicationOutput) Version

Version of application

type KubernetesClusterMap

type KubernetesClusterMap map[string]KubernetesClusterInput

func (KubernetesClusterMap) ElementType

func (KubernetesClusterMap) ElementType() reflect.Type

func (KubernetesClusterMap) ToKubernetesClusterMapOutput

func (i KubernetesClusterMap) ToKubernetesClusterMapOutput() KubernetesClusterMapOutput

func (KubernetesClusterMap) ToKubernetesClusterMapOutputWithContext

func (i KubernetesClusterMap) ToKubernetesClusterMapOutputWithContext(ctx context.Context) KubernetesClusterMapOutput

type KubernetesClusterMapInput

type KubernetesClusterMapInput interface {
	pulumi.Input

	ToKubernetesClusterMapOutput() KubernetesClusterMapOutput
	ToKubernetesClusterMapOutputWithContext(context.Context) KubernetesClusterMapOutput
}

KubernetesClusterMapInput is an input type that accepts KubernetesClusterMap and KubernetesClusterMapOutput values. You can construct a concrete instance of `KubernetesClusterMapInput` via:

KubernetesClusterMap{ "key": KubernetesClusterArgs{...} }

type KubernetesClusterMapOutput

type KubernetesClusterMapOutput struct{ *pulumi.OutputState }

func (KubernetesClusterMapOutput) ElementType

func (KubernetesClusterMapOutput) ElementType() reflect.Type

func (KubernetesClusterMapOutput) MapIndex

func (KubernetesClusterMapOutput) ToKubernetesClusterMapOutput

func (o KubernetesClusterMapOutput) ToKubernetesClusterMapOutput() KubernetesClusterMapOutput

func (KubernetesClusterMapOutput) ToKubernetesClusterMapOutputWithContext

func (o KubernetesClusterMapOutput) ToKubernetesClusterMapOutputWithContext(ctx context.Context) KubernetesClusterMapOutput

type KubernetesClusterOutput

type KubernetesClusterOutput struct{ *pulumi.OutputState }

func (KubernetesClusterOutput) ApiEndpoint added in v2.2.3

The API server endpoint of the cluster

func (KubernetesClusterOutput) Applications added in v2.2.3

Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'app*name:app*plan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.

func (KubernetesClusterOutput) ClusterType added in v2.3.3

The type of cluster to create, valid options are `k3s` or `talos` the default is `k3s`

func (KubernetesClusterOutput) Cni added in v2.2.3

The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel`

func (KubernetesClusterOutput) CreatedAt added in v2.2.3

The timestamp when the cluster was created

func (KubernetesClusterOutput) DnsEntry added in v2.2.3

The DNS name of the cluster

func (KubernetesClusterOutput) ElementType

func (KubernetesClusterOutput) ElementType() reflect.Type

func (KubernetesClusterOutput) FirewallId added in v2.2.3

The existing firewall ID to use for this cluster

func (KubernetesClusterOutput) InstalledApplications added in v2.2.3

func (KubernetesClusterOutput) Kubeconfig added in v2.2.3

The kubeconfig of the cluster

func (KubernetesClusterOutput) KubernetesVersion added in v2.2.3

func (o KubernetesClusterOutput) KubernetesVersion() pulumi.StringOutput

The version of k3s to install (optional, the default is currently the latest available)

func (KubernetesClusterOutput) MasterIp added in v2.2.3

The IP address of the master node

func (KubernetesClusterOutput) Name added in v2.2.3

Name for your cluster, must be unique within your account

func (KubernetesClusterOutput) NetworkId added in v2.2.3

The network for the cluster, if not declare we use the default one

func (KubernetesClusterOutput) NumTargetNodes deprecated added in v2.2.3

func (o KubernetesClusterOutput) NumTargetNodes() pulumi.IntOutput

The number of instances to create (optional, the default at the time of writing is 3)

Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead

func (KubernetesClusterOutput) Pools added in v2.2.3

func (KubernetesClusterOutput) Ready added in v2.2.3

When cluster is ready, this will return `true`

func (KubernetesClusterOutput) Region added in v2.2.3

The region for the cluster, if not declare we use the region in declared in the provider

func (KubernetesClusterOutput) Status added in v2.2.3

Status of the cluster

func (KubernetesClusterOutput) Tags added in v2.2.3

Space separated list of tags, to be used freely as required

func (KubernetesClusterOutput) TargetNodesSize deprecated added in v2.2.3

func (o KubernetesClusterOutput) TargetNodesSize() pulumi.StringOutput

The size of each node (optional, the default is currently g4s.kube.medium)

Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead

func (KubernetesClusterOutput) ToKubernetesClusterOutput

func (o KubernetesClusterOutput) ToKubernetesClusterOutput() KubernetesClusterOutput

func (KubernetesClusterOutput) ToKubernetesClusterOutputWithContext

func (o KubernetesClusterOutput) ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput

type KubernetesClusterPools added in v2.2.1

type KubernetesClusterPools struct {
	// Instance names in the nodepool
	InstanceNames []string `pulumi:"instanceNames"`
	// Node pool label, if you don't provide one, we will generate one for you
	Label  *string           `pulumi:"label"`
	Labels map[string]string `pulumi:"labels"`
	// Number of nodes in the nodepool
	NodeCount int `pulumi:"nodeCount"`
	// Node pool belongs to the public ip node pool
	PublicIpNodePool *bool `pulumi:"publicIpNodePool"`
	// Size of the nodes in the nodepool
	Size   string                        `pulumi:"size"`
	Taints []KubernetesClusterPoolsTaint `pulumi:"taints"`
}

type KubernetesClusterPoolsArgs added in v2.2.1

type KubernetesClusterPoolsArgs struct {
	// Instance names in the nodepool
	InstanceNames pulumi.StringArrayInput `pulumi:"instanceNames"`
	// Node pool label, if you don't provide one, we will generate one for you
	Label  pulumi.StringPtrInput `pulumi:"label"`
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Number of nodes in the nodepool
	NodeCount pulumi.IntInput `pulumi:"nodeCount"`
	// Node pool belongs to the public ip node pool
	PublicIpNodePool pulumi.BoolPtrInput `pulumi:"publicIpNodePool"`
	// Size of the nodes in the nodepool
	Size   pulumi.StringInput                    `pulumi:"size"`
	Taints KubernetesClusterPoolsTaintArrayInput `pulumi:"taints"`
}

func (KubernetesClusterPoolsArgs) ElementType added in v2.2.1

func (KubernetesClusterPoolsArgs) ElementType() reflect.Type

func (KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsOutput added in v2.2.1

func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsOutput() KubernetesClusterPoolsOutput

func (KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsOutputWithContext added in v2.2.1

func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsOutputWithContext(ctx context.Context) KubernetesClusterPoolsOutput

func (KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsPtrOutput added in v2.2.1

func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput

func (KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsPtrOutputWithContext added in v2.2.1

func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsPtrOutputWithContext(ctx context.Context) KubernetesClusterPoolsPtrOutput

type KubernetesClusterPoolsInput added in v2.2.1

type KubernetesClusterPoolsInput interface {
	pulumi.Input

	ToKubernetesClusterPoolsOutput() KubernetesClusterPoolsOutput
	ToKubernetesClusterPoolsOutputWithContext(context.Context) KubernetesClusterPoolsOutput
}

KubernetesClusterPoolsInput is an input type that accepts KubernetesClusterPoolsArgs and KubernetesClusterPoolsOutput values. You can construct a concrete instance of `KubernetesClusterPoolsInput` via:

KubernetesClusterPoolsArgs{...}

type KubernetesClusterPoolsOutput added in v2.2.1

type KubernetesClusterPoolsOutput struct{ *pulumi.OutputState }

func (KubernetesClusterPoolsOutput) ElementType added in v2.2.1

func (KubernetesClusterPoolsOutput) InstanceNames added in v2.2.1

Instance names in the nodepool

func (KubernetesClusterPoolsOutput) Label added in v2.2.2

Node pool label, if you don't provide one, we will generate one for you

func (KubernetesClusterPoolsOutput) Labels added in v2.3.15

func (KubernetesClusterPoolsOutput) NodeCount added in v2.2.1

Number of nodes in the nodepool

func (KubernetesClusterPoolsOutput) PublicIpNodePool added in v2.3.8

func (o KubernetesClusterPoolsOutput) PublicIpNodePool() pulumi.BoolPtrOutput

Node pool belongs to the public ip node pool

func (KubernetesClusterPoolsOutput) Size added in v2.2.1

Size of the nodes in the nodepool

func (KubernetesClusterPoolsOutput) Taints added in v2.3.15

func (KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsOutput added in v2.2.1

func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsOutput() KubernetesClusterPoolsOutput

func (KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsOutputWithContext added in v2.2.1

func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsOutputWithContext(ctx context.Context) KubernetesClusterPoolsOutput

func (KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsPtrOutput added in v2.2.1

func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput

func (KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsPtrOutputWithContext added in v2.2.1

func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsPtrOutputWithContext(ctx context.Context) KubernetesClusterPoolsPtrOutput

type KubernetesClusterPoolsPtrInput added in v2.2.1

type KubernetesClusterPoolsPtrInput interface {
	pulumi.Input

	ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput
	ToKubernetesClusterPoolsPtrOutputWithContext(context.Context) KubernetesClusterPoolsPtrOutput
}

KubernetesClusterPoolsPtrInput is an input type that accepts KubernetesClusterPoolsArgs, KubernetesClusterPoolsPtr and KubernetesClusterPoolsPtrOutput values. You can construct a concrete instance of `KubernetesClusterPoolsPtrInput` via:

        KubernetesClusterPoolsArgs{...}

or:

        nil

func KubernetesClusterPoolsPtr added in v2.2.1

func KubernetesClusterPoolsPtr(v *KubernetesClusterPoolsArgs) KubernetesClusterPoolsPtrInput

type KubernetesClusterPoolsPtrOutput added in v2.2.1

type KubernetesClusterPoolsPtrOutput struct{ *pulumi.OutputState }

func (KubernetesClusterPoolsPtrOutput) Elem added in v2.2.1

func (KubernetesClusterPoolsPtrOutput) ElementType added in v2.2.1

func (KubernetesClusterPoolsPtrOutput) InstanceNames added in v2.2.1

Instance names in the nodepool

func (KubernetesClusterPoolsPtrOutput) Label added in v2.2.2

Node pool label, if you don't provide one, we will generate one for you

func (KubernetesClusterPoolsPtrOutput) Labels added in v2.3.15

func (KubernetesClusterPoolsPtrOutput) NodeCount added in v2.2.1

Number of nodes in the nodepool

func (KubernetesClusterPoolsPtrOutput) PublicIpNodePool added in v2.3.8

Node pool belongs to the public ip node pool

func (KubernetesClusterPoolsPtrOutput) Size added in v2.2.1

Size of the nodes in the nodepool

func (KubernetesClusterPoolsPtrOutput) Taints added in v2.3.15

func (KubernetesClusterPoolsPtrOutput) ToKubernetesClusterPoolsPtrOutput added in v2.2.1

func (o KubernetesClusterPoolsPtrOutput) ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput

func (KubernetesClusterPoolsPtrOutput) ToKubernetesClusterPoolsPtrOutputWithContext added in v2.2.1

func (o KubernetesClusterPoolsPtrOutput) ToKubernetesClusterPoolsPtrOutputWithContext(ctx context.Context) KubernetesClusterPoolsPtrOutput

type KubernetesClusterPoolsTaint added in v2.3.15

type KubernetesClusterPoolsTaint struct {
	Effect string `pulumi:"effect"`
	Key    string `pulumi:"key"`
	Value  string `pulumi:"value"`
}

type KubernetesClusterPoolsTaintArgs added in v2.3.15

type KubernetesClusterPoolsTaintArgs struct {
	Effect pulumi.StringInput `pulumi:"effect"`
	Key    pulumi.StringInput `pulumi:"key"`
	Value  pulumi.StringInput `pulumi:"value"`
}

func (KubernetesClusterPoolsTaintArgs) ElementType added in v2.3.15

func (KubernetesClusterPoolsTaintArgs) ToKubernetesClusterPoolsTaintOutput added in v2.3.15

func (i KubernetesClusterPoolsTaintArgs) ToKubernetesClusterPoolsTaintOutput() KubernetesClusterPoolsTaintOutput

func (KubernetesClusterPoolsTaintArgs) ToKubernetesClusterPoolsTaintOutputWithContext added in v2.3.15

func (i KubernetesClusterPoolsTaintArgs) ToKubernetesClusterPoolsTaintOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintOutput

type KubernetesClusterPoolsTaintArray added in v2.3.15

type KubernetesClusterPoolsTaintArray []KubernetesClusterPoolsTaintInput

func (KubernetesClusterPoolsTaintArray) ElementType added in v2.3.15

func (KubernetesClusterPoolsTaintArray) ToKubernetesClusterPoolsTaintArrayOutput added in v2.3.15

func (i KubernetesClusterPoolsTaintArray) ToKubernetesClusterPoolsTaintArrayOutput() KubernetesClusterPoolsTaintArrayOutput

func (KubernetesClusterPoolsTaintArray) ToKubernetesClusterPoolsTaintArrayOutputWithContext added in v2.3.15

func (i KubernetesClusterPoolsTaintArray) ToKubernetesClusterPoolsTaintArrayOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintArrayOutput

type KubernetesClusterPoolsTaintArrayInput added in v2.3.15

type KubernetesClusterPoolsTaintArrayInput interface {
	pulumi.Input

	ToKubernetesClusterPoolsTaintArrayOutput() KubernetesClusterPoolsTaintArrayOutput
	ToKubernetesClusterPoolsTaintArrayOutputWithContext(context.Context) KubernetesClusterPoolsTaintArrayOutput
}

KubernetesClusterPoolsTaintArrayInput is an input type that accepts KubernetesClusterPoolsTaintArray and KubernetesClusterPoolsTaintArrayOutput values. You can construct a concrete instance of `KubernetesClusterPoolsTaintArrayInput` via:

KubernetesClusterPoolsTaintArray{ KubernetesClusterPoolsTaintArgs{...} }

type KubernetesClusterPoolsTaintArrayOutput added in v2.3.15

type KubernetesClusterPoolsTaintArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterPoolsTaintArrayOutput) ElementType added in v2.3.15

func (KubernetesClusterPoolsTaintArrayOutput) Index added in v2.3.15

func (KubernetesClusterPoolsTaintArrayOutput) ToKubernetesClusterPoolsTaintArrayOutput added in v2.3.15

func (o KubernetesClusterPoolsTaintArrayOutput) ToKubernetesClusterPoolsTaintArrayOutput() KubernetesClusterPoolsTaintArrayOutput

func (KubernetesClusterPoolsTaintArrayOutput) ToKubernetesClusterPoolsTaintArrayOutputWithContext added in v2.3.15

func (o KubernetesClusterPoolsTaintArrayOutput) ToKubernetesClusterPoolsTaintArrayOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintArrayOutput

type KubernetesClusterPoolsTaintInput added in v2.3.15

type KubernetesClusterPoolsTaintInput interface {
	pulumi.Input

	ToKubernetesClusterPoolsTaintOutput() KubernetesClusterPoolsTaintOutput
	ToKubernetesClusterPoolsTaintOutputWithContext(context.Context) KubernetesClusterPoolsTaintOutput
}

KubernetesClusterPoolsTaintInput is an input type that accepts KubernetesClusterPoolsTaintArgs and KubernetesClusterPoolsTaintOutput values. You can construct a concrete instance of `KubernetesClusterPoolsTaintInput` via:

KubernetesClusterPoolsTaintArgs{...}

type KubernetesClusterPoolsTaintOutput added in v2.3.15

type KubernetesClusterPoolsTaintOutput struct{ *pulumi.OutputState }

func (KubernetesClusterPoolsTaintOutput) Effect added in v2.3.15

func (KubernetesClusterPoolsTaintOutput) ElementType added in v2.3.15

func (KubernetesClusterPoolsTaintOutput) Key added in v2.3.15

func (KubernetesClusterPoolsTaintOutput) ToKubernetesClusterPoolsTaintOutput added in v2.3.15

func (o KubernetesClusterPoolsTaintOutput) ToKubernetesClusterPoolsTaintOutput() KubernetesClusterPoolsTaintOutput

func (KubernetesClusterPoolsTaintOutput) ToKubernetesClusterPoolsTaintOutputWithContext added in v2.3.15

func (o KubernetesClusterPoolsTaintOutput) ToKubernetesClusterPoolsTaintOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintOutput

func (KubernetesClusterPoolsTaintOutput) Value added in v2.3.15

type KubernetesClusterState

type KubernetesClusterState struct {
	// The API server endpoint of the cluster
	ApiEndpoint pulumi.StringPtrInput
	// Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'app*name:app*plan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
	Applications pulumi.StringPtrInput
	// The type of cluster to create, valid options are `k3s` or `talos` the default is `k3s`
	ClusterType pulumi.StringPtrInput
	// The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel`
	Cni pulumi.StringPtrInput
	// The timestamp when the cluster was created
	CreatedAt pulumi.StringPtrInput
	// The DNS name of the cluster
	DnsEntry pulumi.StringPtrInput
	// The existing firewall ID to use for this cluster
	FirewallId            pulumi.StringPtrInput
	InstalledApplications KubernetesClusterInstalledApplicationArrayInput
	// The kubeconfig of the cluster
	Kubeconfig pulumi.StringPtrInput
	// The version of k3s to install (optional, the default is currently the latest available)
	KubernetesVersion pulumi.StringPtrInput
	// The IP address of the master node
	MasterIp pulumi.StringPtrInput
	// Name for your cluster, must be unique within your account
	Name pulumi.StringPtrInput
	// The network for the cluster, if not declare we use the default one
	NetworkId pulumi.StringPtrInput
	// The number of instances to create (optional, the default at the time of writing is 3)
	//
	// Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead
	NumTargetNodes pulumi.IntPtrInput
	Pools          KubernetesClusterPoolsPtrInput
	// When cluster is ready, this will return `true`
	Ready pulumi.BoolPtrInput
	// The region for the cluster, if not declare we use the region in declared in the provider
	Region pulumi.StringPtrInput
	// Status of the cluster
	Status pulumi.StringPtrInput
	// Space separated list of tags, to be used freely as required
	Tags pulumi.StringPtrInput
	// The size of each node (optional, the default is currently g4s.kube.medium)
	//
	// Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead
	TargetNodesSize pulumi.StringPtrInput
}

func (KubernetesClusterState) ElementType

func (KubernetesClusterState) ElementType() reflect.Type

type KubernetesNodePool

type KubernetesNodePool struct {
	pulumi.CustomResourceState

	// The ID of your cluster
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Instance names in the nodepool
	InstanceNames pulumi.StringArrayOutput `pulumi:"instanceNames"`
	// Node pool label, if you don't provide one, we will generate one for you
	Label  pulumi.StringOutput    `pulumi:"label"`
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Number of nodes in the nodepool
	NodeCount pulumi.IntOutput `pulumi:"nodeCount"`
	// Node pool belongs to the public ip node pool
	PublicIpNodePool pulumi.BoolOutput `pulumi:"publicIpNodePool"`
	// Size of the nodes in the nodepool
	Size   pulumi.StringOutput                `pulumi:"size"`
	Taints KubernetesNodePoolTaintArrayOutput `pulumi:"taints"`
}

## Import

```sh $ pulumi import civo:index/kubernetesNodePool:KubernetesNodePool my-pool 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af:502c1130-cb9b-4a88-b6d2-307bd96d946a ```

func GetKubernetesNodePool

func GetKubernetesNodePool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KubernetesNodePoolState, opts ...pulumi.ResourceOption) (*KubernetesNodePool, error)

GetKubernetesNodePool gets an existing KubernetesNodePool 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 NewKubernetesNodePool

func NewKubernetesNodePool(ctx *pulumi.Context,
	name string, args *KubernetesNodePoolArgs, opts ...pulumi.ResourceOption) (*KubernetesNodePool, error)

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

func (*KubernetesNodePool) ElementType

func (*KubernetesNodePool) ElementType() reflect.Type

func (*KubernetesNodePool) ToKubernetesNodePoolOutput

func (i *KubernetesNodePool) ToKubernetesNodePoolOutput() KubernetesNodePoolOutput

func (*KubernetesNodePool) ToKubernetesNodePoolOutputWithContext

func (i *KubernetesNodePool) ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput

type KubernetesNodePoolArgs

type KubernetesNodePoolArgs struct {
	// The ID of your cluster
	ClusterId pulumi.StringInput
	// Node pool label, if you don't provide one, we will generate one for you
	Label  pulumi.StringPtrInput
	Labels pulumi.StringMapInput
	// Number of nodes in the nodepool
	NodeCount pulumi.IntInput
	// Node pool belongs to the public ip node pool
	PublicIpNodePool pulumi.BoolPtrInput
	// Size of the nodes in the nodepool
	Size   pulumi.StringInput
	Taints KubernetesNodePoolTaintArrayInput
}

The set of arguments for constructing a KubernetesNodePool resource.

func (KubernetesNodePoolArgs) ElementType

func (KubernetesNodePoolArgs) ElementType() reflect.Type

type KubernetesNodePoolArray

type KubernetesNodePoolArray []KubernetesNodePoolInput

func (KubernetesNodePoolArray) ElementType

func (KubernetesNodePoolArray) ElementType() reflect.Type

func (KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutput

func (i KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput

func (KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutputWithContext

func (i KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutputWithContext(ctx context.Context) KubernetesNodePoolArrayOutput

type KubernetesNodePoolArrayInput

type KubernetesNodePoolArrayInput interface {
	pulumi.Input

	ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput
	ToKubernetesNodePoolArrayOutputWithContext(context.Context) KubernetesNodePoolArrayOutput
}

KubernetesNodePoolArrayInput is an input type that accepts KubernetesNodePoolArray and KubernetesNodePoolArrayOutput values. You can construct a concrete instance of `KubernetesNodePoolArrayInput` via:

KubernetesNodePoolArray{ KubernetesNodePoolArgs{...} }

type KubernetesNodePoolArrayOutput

type KubernetesNodePoolArrayOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolArrayOutput) ElementType

func (KubernetesNodePoolArrayOutput) Index

func (KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutput

func (o KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput

func (KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutputWithContext

func (o KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutputWithContext(ctx context.Context) KubernetesNodePoolArrayOutput

type KubernetesNodePoolInput

type KubernetesNodePoolInput interface {
	pulumi.Input

	ToKubernetesNodePoolOutput() KubernetesNodePoolOutput
	ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput
}

type KubernetesNodePoolMap

type KubernetesNodePoolMap map[string]KubernetesNodePoolInput

func (KubernetesNodePoolMap) ElementType

func (KubernetesNodePoolMap) ElementType() reflect.Type

func (KubernetesNodePoolMap) ToKubernetesNodePoolMapOutput

func (i KubernetesNodePoolMap) ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput

func (KubernetesNodePoolMap) ToKubernetesNodePoolMapOutputWithContext

func (i KubernetesNodePoolMap) ToKubernetesNodePoolMapOutputWithContext(ctx context.Context) KubernetesNodePoolMapOutput

type KubernetesNodePoolMapInput

type KubernetesNodePoolMapInput interface {
	pulumi.Input

	ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput
	ToKubernetesNodePoolMapOutputWithContext(context.Context) KubernetesNodePoolMapOutput
}

KubernetesNodePoolMapInput is an input type that accepts KubernetesNodePoolMap and KubernetesNodePoolMapOutput values. You can construct a concrete instance of `KubernetesNodePoolMapInput` via:

KubernetesNodePoolMap{ "key": KubernetesNodePoolArgs{...} }

type KubernetesNodePoolMapOutput

type KubernetesNodePoolMapOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolMapOutput) ElementType

func (KubernetesNodePoolMapOutput) MapIndex

func (KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutput

func (o KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput

func (KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutputWithContext

func (o KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutputWithContext(ctx context.Context) KubernetesNodePoolMapOutput

type KubernetesNodePoolOutput

type KubernetesNodePoolOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolOutput) ClusterId added in v2.2.3

The ID of your cluster

func (KubernetesNodePoolOutput) ElementType

func (KubernetesNodePoolOutput) ElementType() reflect.Type

func (KubernetesNodePoolOutput) InstanceNames added in v2.2.3

Instance names in the nodepool

func (KubernetesNodePoolOutput) Label added in v2.2.3

Node pool label, if you don't provide one, we will generate one for you

func (KubernetesNodePoolOutput) Labels added in v2.3.10

func (KubernetesNodePoolOutput) NodeCount added in v2.2.3

Number of nodes in the nodepool

func (KubernetesNodePoolOutput) PublicIpNodePool added in v2.3.8

func (o KubernetesNodePoolOutput) PublicIpNodePool() pulumi.BoolOutput

Node pool belongs to the public ip node pool

func (KubernetesNodePoolOutput) Size added in v2.2.3

Size of the nodes in the nodepool

func (KubernetesNodePoolOutput) Taints added in v2.3.10

func (KubernetesNodePoolOutput) ToKubernetesNodePoolOutput

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutput() KubernetesNodePoolOutput

func (KubernetesNodePoolOutput) ToKubernetesNodePoolOutputWithContext

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput

type KubernetesNodePoolState

type KubernetesNodePoolState struct {
	// The ID of your cluster
	ClusterId pulumi.StringPtrInput
	// Instance names in the nodepool
	InstanceNames pulumi.StringArrayInput
	// Node pool label, if you don't provide one, we will generate one for you
	Label  pulumi.StringPtrInput
	Labels pulumi.StringMapInput
	// Number of nodes in the nodepool
	NodeCount pulumi.IntPtrInput
	// Node pool belongs to the public ip node pool
	PublicIpNodePool pulumi.BoolPtrInput
	// Size of the nodes in the nodepool
	Size   pulumi.StringPtrInput
	Taints KubernetesNodePoolTaintArrayInput
}

func (KubernetesNodePoolState) ElementType

func (KubernetesNodePoolState) ElementType() reflect.Type

type KubernetesNodePoolTaint added in v2.3.10

type KubernetesNodePoolTaint struct {
	Effect string `pulumi:"effect"`
	Key    string `pulumi:"key"`
	Value  string `pulumi:"value"`
}

type KubernetesNodePoolTaintArgs added in v2.3.10

type KubernetesNodePoolTaintArgs struct {
	Effect pulumi.StringInput `pulumi:"effect"`
	Key    pulumi.StringInput `pulumi:"key"`
	Value  pulumi.StringInput `pulumi:"value"`
}

func (KubernetesNodePoolTaintArgs) ElementType added in v2.3.10

func (KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutput added in v2.3.10

func (i KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutput() KubernetesNodePoolTaintOutput

func (KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutputWithContext added in v2.3.10

func (i KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutputWithContext(ctx context.Context) KubernetesNodePoolTaintOutput

type KubernetesNodePoolTaintArray added in v2.3.10

type KubernetesNodePoolTaintArray []KubernetesNodePoolTaintInput

func (KubernetesNodePoolTaintArray) ElementType added in v2.3.10

func (KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutput added in v2.3.10

func (i KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput

func (KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutputWithContext added in v2.3.10

func (i KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutputWithContext(ctx context.Context) KubernetesNodePoolTaintArrayOutput

type KubernetesNodePoolTaintArrayInput added in v2.3.10

type KubernetesNodePoolTaintArrayInput interface {
	pulumi.Input

	ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput
	ToKubernetesNodePoolTaintArrayOutputWithContext(context.Context) KubernetesNodePoolTaintArrayOutput
}

KubernetesNodePoolTaintArrayInput is an input type that accepts KubernetesNodePoolTaintArray and KubernetesNodePoolTaintArrayOutput values. You can construct a concrete instance of `KubernetesNodePoolTaintArrayInput` via:

KubernetesNodePoolTaintArray{ KubernetesNodePoolTaintArgs{...} }

type KubernetesNodePoolTaintArrayOutput added in v2.3.10

type KubernetesNodePoolTaintArrayOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolTaintArrayOutput) ElementType added in v2.3.10

func (KubernetesNodePoolTaintArrayOutput) Index added in v2.3.10

func (KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutput added in v2.3.10

func (o KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput

func (KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutputWithContext added in v2.3.10

func (o KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutputWithContext(ctx context.Context) KubernetesNodePoolTaintArrayOutput

type KubernetesNodePoolTaintInput added in v2.3.10

type KubernetesNodePoolTaintInput interface {
	pulumi.Input

	ToKubernetesNodePoolTaintOutput() KubernetesNodePoolTaintOutput
	ToKubernetesNodePoolTaintOutputWithContext(context.Context) KubernetesNodePoolTaintOutput
}

KubernetesNodePoolTaintInput is an input type that accepts KubernetesNodePoolTaintArgs and KubernetesNodePoolTaintOutput values. You can construct a concrete instance of `KubernetesNodePoolTaintInput` via:

KubernetesNodePoolTaintArgs{...}

type KubernetesNodePoolTaintOutput added in v2.3.10

type KubernetesNodePoolTaintOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolTaintOutput) Effect added in v2.3.10

func (KubernetesNodePoolTaintOutput) ElementType added in v2.3.10

func (KubernetesNodePoolTaintOutput) Key added in v2.3.10

func (KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutput added in v2.3.10

func (o KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutput() KubernetesNodePoolTaintOutput

func (KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutputWithContext added in v2.3.10

func (o KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutputWithContext(ctx context.Context) KubernetesNodePoolTaintOutput

func (KubernetesNodePoolTaintOutput) Value added in v2.3.10

type LookupDatabaseArgs added in v2.3.2

type LookupDatabaseArgs struct {
	// The ID of the Database
	Id *string `pulumi:"id"`
	// The name of the Database
	Name *string `pulumi:"name"`
	// The region of an existing Database
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getDatabase.

type LookupDatabaseOutputArgs added in v2.3.2

type LookupDatabaseOutputArgs struct {
	// The ID of the Database
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the Database
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region of an existing Database
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getDatabase.

func (LookupDatabaseOutputArgs) ElementType added in v2.3.2

func (LookupDatabaseOutputArgs) ElementType() reflect.Type

type LookupDatabaseResult added in v2.3.2

type LookupDatabaseResult struct {
	// The DNS endpoint of the database
	DnsEndpoint string `pulumi:"dnsEndpoint"`
	// The endpoint of the database
	Endpoint string `pulumi:"endpoint"`
	// The engine of the database
	Engine string `pulumi:"engine"`
	// The firewall id of the Database
	FirewallId string `pulumi:"firewallId"`
	// The ID of the Database
	Id *string `pulumi:"id"`
	// The name of the Database
	Name *string `pulumi:"name"`
	// The network id of the Database
	NetworkId string `pulumi:"networkId"`
	// Count of nodes
	Nodes int `pulumi:"nodes"`
	// The password of the database
	Password string `pulumi:"password"`
	// The port of the database
	Port int `pulumi:"port"`
	// The region of an existing Database
	Region string `pulumi:"region"`
	// Size of the database
	Size string `pulumi:"size"`
	// The status of the database
	Status string `pulumi:"status"`
	// The username of the database
	Username string `pulumi:"username"`
	// The version of the database
	Version string `pulumi:"version"`
}

A collection of values returned by getDatabase.

func LookupDatabase added in v2.3.2

func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error)

Get information of an Database for use in other resources. This data source provides all of the Database's properties as configured on your Civo account.

Note: This data source returns a single Database. When specifying a name, an error will be raised if more than one Databases with the same name found.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.LookupDatabase(ctx, &civo.LookupDatabaseArgs{
			Name:   pulumi.StringRef("test-database"),
			Region: pulumi.StringRef("LON1"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDatabaseResultOutput added in v2.3.2

type LookupDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabase.

func LookupDatabaseOutput added in v2.3.2

func LookupDatabaseOutput(ctx *pulumi.Context, args LookupDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupDatabaseResultOutput

func (LookupDatabaseResultOutput) DnsEndpoint added in v2.3.7

The DNS endpoint of the database

func (LookupDatabaseResultOutput) ElementType added in v2.3.2

func (LookupDatabaseResultOutput) ElementType() reflect.Type

func (LookupDatabaseResultOutput) Endpoint added in v2.3.7

The endpoint of the database

func (LookupDatabaseResultOutput) Engine added in v2.3.5

The engine of the database

func (LookupDatabaseResultOutput) FirewallId added in v2.3.2

The firewall id of the Database

func (LookupDatabaseResultOutput) Id added in v2.3.2

The ID of the Database

func (LookupDatabaseResultOutput) Name added in v2.3.2

The name of the Database

func (LookupDatabaseResultOutput) NetworkId added in v2.3.2

The network id of the Database

func (LookupDatabaseResultOutput) Nodes added in v2.3.2

Count of nodes

func (LookupDatabaseResultOutput) Password added in v2.3.2

The password of the database

func (LookupDatabaseResultOutput) Port added in v2.3.7

The port of the database

func (LookupDatabaseResultOutput) Region added in v2.3.2

The region of an existing Database

func (LookupDatabaseResultOutput) Size added in v2.3.2

Size of the database

func (LookupDatabaseResultOutput) Status added in v2.3.2

The status of the database

func (LookupDatabaseResultOutput) ToLookupDatabaseResultOutput added in v2.3.2

func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutput() LookupDatabaseResultOutput

func (LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext added in v2.3.2

func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx context.Context) LookupDatabaseResultOutput

func (LookupDatabaseResultOutput) Username added in v2.3.2

The username of the database

func (LookupDatabaseResultOutput) Version added in v2.3.5

The version of the database

type LookupDnsDomainNameArgs

type LookupDnsDomainNameArgs struct {
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The name of the domain
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getDnsDomainName.

type LookupDnsDomainNameOutputArgs added in v2.1.0

type LookupDnsDomainNameOutputArgs struct {
	// The ID of this resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the domain
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getDnsDomainName.

func (LookupDnsDomainNameOutputArgs) ElementType added in v2.1.0

type LookupDnsDomainNameResult

type LookupDnsDomainNameResult struct {
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The name of the domain
	Name *string `pulumi:"name"`
}

A collection of values returned by getDnsDomainName.

func LookupDnsDomainName

func LookupDnsDomainName(ctx *pulumi.Context, args *LookupDnsDomainNameArgs, opts ...pulumi.InvokeOption) (*LookupDnsDomainNameResult, error)

Get information on a domain. This data source provides the name and the id.

An error will be raised if the provided domain name is not in your Civo account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		domain, err := civo.LookupDnsDomainName(ctx, &civo.LookupDnsDomainNameArgs{
			Name: pulumi.StringRef("domain.com"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("domainOutput", domain.Name)
		ctx.Export("domainIdOutput", domain.Id)
		return nil
	})
}

```

type LookupDnsDomainNameResultOutput added in v2.1.0

type LookupDnsDomainNameResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDnsDomainName.

func LookupDnsDomainNameOutput added in v2.1.0

func (LookupDnsDomainNameResultOutput) ElementType added in v2.1.0

func (LookupDnsDomainNameResultOutput) Id added in v2.1.0

The ID of this resource.

func (LookupDnsDomainNameResultOutput) Name added in v2.1.0

The name of the domain

func (LookupDnsDomainNameResultOutput) ToLookupDnsDomainNameResultOutput added in v2.1.0

func (o LookupDnsDomainNameResultOutput) ToLookupDnsDomainNameResultOutput() LookupDnsDomainNameResultOutput

func (LookupDnsDomainNameResultOutput) ToLookupDnsDomainNameResultOutputWithContext added in v2.1.0

func (o LookupDnsDomainNameResultOutput) ToLookupDnsDomainNameResultOutputWithContext(ctx context.Context) LookupDnsDomainNameResultOutput

type LookupDnsDomainRecordArgs

type LookupDnsDomainRecordArgs struct {
	// The ID of the domain
	DomainId string `pulumi:"domainId"`
	// The name of the record
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getDnsDomainRecord.

type LookupDnsDomainRecordOutputArgs added in v2.1.0

type LookupDnsDomainRecordOutputArgs struct {
	// The ID of the domain
	DomainId pulumi.StringInput `pulumi:"domainId"`
	// The name of the record
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getDnsDomainRecord.

func (LookupDnsDomainRecordOutputArgs) ElementType added in v2.1.0

type LookupDnsDomainRecordResult

type LookupDnsDomainRecordResult struct {
	// The ID account of the domain
	AccountId string `pulumi:"accountId"`
	// The date when it was created in UTC format
	CreatedAt string `pulumi:"createdAt"`
	// The ID of the domain
	DomainId string `pulumi:"domainId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the record
	Name string `pulumi:"name"`
	// The priority of the record
	Priority int `pulumi:"priority"`
	// How long caching DNS servers should cache this record
	Ttl int `pulumi:"ttl"`
	// The choice of record type from A, CNAME, MX, SRV or TXT
	Type string `pulumi:"type"`
	// The date when it was updated in UTC format
	UpdatedAt string `pulumi:"updatedAt"`
	// The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record
	Value string `pulumi:"value"`
}

A collection of values returned by getDnsDomainRecord.

func LookupDnsDomainRecord

func LookupDnsDomainRecord(ctx *pulumi.Context, args *LookupDnsDomainRecordArgs, opts ...pulumi.InvokeOption) (*LookupDnsDomainRecordResult, error)

Get information on a DNS record. This data source provides the name, TTL, and zone file as configured on your Civo account.

An error will be raised if the provided domain name or record are not in your Civo account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		domain, err := civo.LookupDnsDomainName(ctx, &civo.LookupDnsDomainNameArgs{
			Name: pulumi.StringRef("domain.com"),
		}, nil)
		if err != nil {
			return err
		}
		www, err := civo.LookupDnsDomainRecord(ctx, &civo.LookupDnsDomainRecordArgs{
			DomainId: domain.Id,
			Name:     "www",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("recordType", www.Type)
		ctx.Export("recordTtl", www.Ttl)
		return nil
	})
}

```

type LookupDnsDomainRecordResultOutput added in v2.1.0

type LookupDnsDomainRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDnsDomainRecord.

func LookupDnsDomainRecordOutput added in v2.1.0

func (LookupDnsDomainRecordResultOutput) AccountId added in v2.1.0

The ID account of the domain

func (LookupDnsDomainRecordResultOutput) CreatedAt added in v2.1.0

The date when it was created in UTC format

func (LookupDnsDomainRecordResultOutput) DomainId added in v2.1.0

The ID of the domain

func (LookupDnsDomainRecordResultOutput) ElementType added in v2.1.0

func (LookupDnsDomainRecordResultOutput) Id added in v2.1.0

The provider-assigned unique ID for this managed resource.

func (LookupDnsDomainRecordResultOutput) Name added in v2.1.0

The name of the record

func (LookupDnsDomainRecordResultOutput) Priority added in v2.1.0

The priority of the record

func (LookupDnsDomainRecordResultOutput) ToLookupDnsDomainRecordResultOutput added in v2.1.0

func (o LookupDnsDomainRecordResultOutput) ToLookupDnsDomainRecordResultOutput() LookupDnsDomainRecordResultOutput

func (LookupDnsDomainRecordResultOutput) ToLookupDnsDomainRecordResultOutputWithContext added in v2.1.0

func (o LookupDnsDomainRecordResultOutput) ToLookupDnsDomainRecordResultOutputWithContext(ctx context.Context) LookupDnsDomainRecordResultOutput

func (LookupDnsDomainRecordResultOutput) Ttl added in v2.1.0

How long caching DNS servers should cache this record

func (LookupDnsDomainRecordResultOutput) Type added in v2.1.0

The choice of record type from A, CNAME, MX, SRV or TXT

func (LookupDnsDomainRecordResultOutput) UpdatedAt added in v2.1.0

The date when it was updated in UTC format

func (LookupDnsDomainRecordResultOutput) Value added in v2.1.0

The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record

type LookupFirewallArgs added in v2.1.1

type LookupFirewallArgs struct {
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The name of the firewall
	Name *string `pulumi:"name"`
	// The region where the firewall is
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getFirewall.

type LookupFirewallOutputArgs added in v2.1.1

type LookupFirewallOutputArgs struct {
	// The ID of this resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the firewall
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region where the firewall is
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getFirewall.

func (LookupFirewallOutputArgs) ElementType added in v2.1.1

func (LookupFirewallOutputArgs) ElementType() reflect.Type

type LookupFirewallResult added in v2.1.1

type LookupFirewallResult struct {
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The name of the firewall
	Name *string `pulumi:"name"`
	// The id of the associated network
	NetworkId string `pulumi:"networkId"`
	// The region where the firewall is
	Region *string `pulumi:"region"`
}

A collection of values returned by getFirewall.

func LookupFirewall added in v2.1.1

func LookupFirewall(ctx *pulumi.Context, args *LookupFirewallArgs, opts ...pulumi.InvokeOption) (*LookupFirewallResult, error)

Retrieve information about a firewall for use in other resources.

This data source provides all of the firewall's properties as configured on your Civo account.

Firewalls may be looked up by id or name, and you can optionally pass region if you want to make a lookup for a specific firewall inside that region.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.LookupFirewall(ctx, &civo.LookupFirewallArgs{
			Name:   pulumi.StringRef("test-firewall"),
			Region: pulumi.StringRef("LON1"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupFirewallResultOutput added in v2.1.1

type LookupFirewallResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFirewall.

func LookupFirewallOutput added in v2.1.1

func LookupFirewallOutput(ctx *pulumi.Context, args LookupFirewallOutputArgs, opts ...pulumi.InvokeOption) LookupFirewallResultOutput

func (LookupFirewallResultOutput) ElementType added in v2.1.1

func (LookupFirewallResultOutput) ElementType() reflect.Type

func (LookupFirewallResultOutput) Id added in v2.1.1

The ID of this resource.

func (LookupFirewallResultOutput) Name added in v2.1.1

The name of the firewall

func (LookupFirewallResultOutput) NetworkId added in v2.1.1

The id of the associated network

func (LookupFirewallResultOutput) Region added in v2.1.1

The region where the firewall is

func (LookupFirewallResultOutput) ToLookupFirewallResultOutput added in v2.1.1

func (o LookupFirewallResultOutput) ToLookupFirewallResultOutput() LookupFirewallResultOutput

func (LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext added in v2.1.1

func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx context.Context) LookupFirewallResultOutput

type LookupInstanceArgs

type LookupInstanceArgs struct {
	// The hostname of the Instance
	Hostname *string `pulumi:"hostname"`
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The region of an existing Instance
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getInstance.

type LookupInstanceOutputArgs added in v2.1.0

type LookupInstanceOutputArgs struct {
	// The hostname of the Instance
	Hostname pulumi.StringPtrInput `pulumi:"hostname"`
	// The ID of this resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The region of an existing Instance
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getInstance.

func (LookupInstanceOutputArgs) ElementType added in v2.1.0

func (LookupInstanceOutputArgs) ElementType() reflect.Type

type LookupInstanceResult

type LookupInstanceResult struct {
	// Total cpu of the instance
	CpuCores int `pulumi:"cpuCores"`
	// The date of creation of the instance
	CreatedAt string `pulumi:"createdAt"`
	// The size of the disk
	DiskGb int `pulumi:"diskGb"`
	// The ID of the firewall used
	FirewallId string `pulumi:"firewallId"`
	// The hostname of the Instance
	Hostname *string `pulumi:"hostname"`
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// Instance initial password
	InitialPassword string `pulumi:"initialPassword"`
	// The name of the initial user created on the server
	InitialUser string `pulumi:"initialUser"`
	// his will be the ID of the network
	NetworkId string `pulumi:"networkId"`
	// The notes of the instance
	Notes string `pulumi:"notes"`
	// The private IP
	PrivateIp string `pulumi:"privateIp"`
	// Is the ip that is used to route the public ip from the internet to the instance using NAT
	PseudoIp string `pulumi:"pseudoIp"`
	// The public IP
	PublicIp string `pulumi:"publicIp"`
	// Total ram of the instance
	RamMb int `pulumi:"ramMb"`
	// The region of an existing Instance
	Region *string `pulumi:"region"`
	// A fully qualified domain name
	ReverseDns string `pulumi:"reverseDns"`
	// The contents of a script uploaded
	Script string `pulumi:"script"`
	// The name of the size
	Size string `pulumi:"size"`
	// The ID SSH key
	SshkeyId string `pulumi:"sshkeyId"`
	// The status of the instance
	Status string `pulumi:"status"`
	// An optional list of tags
	Tags []string `pulumi:"tags"`
	// The ID for the disk image/template to used to build the instance
	Template string `pulumi:"template"`
}

A collection of values returned by getInstance.

func LookupInstance

func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)

Get information on an instance for use in other resources. This data source provides all of the instance's properties as configured on your Civo account.

Note: This data source returns a single instance. When specifying a hostname, an error will be raised if more than one instances found.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myhostaname, err := civo.LookupInstance(ctx, &civo.LookupInstanceArgs{
			Hostname: pulumi.StringRef("myhostname.com"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("instanceOutput", myhostaname.PublicIp)
		return nil
	})
}

```

type LookupInstanceResultOutput added in v2.1.0

type LookupInstanceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstance.

func LookupInstanceOutput added in v2.1.0

func LookupInstanceOutput(ctx *pulumi.Context, args LookupInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceResultOutput

func (LookupInstanceResultOutput) CpuCores added in v2.1.0

Total cpu of the instance

func (LookupInstanceResultOutput) CreatedAt added in v2.1.0

The date of creation of the instance

func (LookupInstanceResultOutput) DiskGb added in v2.1.0

The size of the disk

func (LookupInstanceResultOutput) ElementType added in v2.1.0

func (LookupInstanceResultOutput) ElementType() reflect.Type

func (LookupInstanceResultOutput) FirewallId added in v2.1.0

The ID of the firewall used

func (LookupInstanceResultOutput) Hostname added in v2.1.0

The hostname of the Instance

func (LookupInstanceResultOutput) Id added in v2.1.0

The ID of this resource.

func (LookupInstanceResultOutput) InitialPassword added in v2.1.0

func (o LookupInstanceResultOutput) InitialPassword() pulumi.StringOutput

Instance initial password

func (LookupInstanceResultOutput) InitialUser added in v2.1.0

The name of the initial user created on the server

func (LookupInstanceResultOutput) NetworkId added in v2.1.0

his will be the ID of the network

func (LookupInstanceResultOutput) Notes added in v2.1.0

The notes of the instance

func (LookupInstanceResultOutput) PrivateIp added in v2.1.0

The private IP

func (LookupInstanceResultOutput) PseudoIp added in v2.1.0

Is the ip that is used to route the public ip from the internet to the instance using NAT

func (LookupInstanceResultOutput) PublicIp added in v2.1.0

The public IP

func (LookupInstanceResultOutput) RamMb added in v2.1.0

Total ram of the instance

func (LookupInstanceResultOutput) Region added in v2.1.0

The region of an existing Instance

func (LookupInstanceResultOutput) ReverseDns added in v2.1.0

A fully qualified domain name

func (LookupInstanceResultOutput) Script added in v2.1.0

The contents of a script uploaded

func (LookupInstanceResultOutput) Size added in v2.1.0

The name of the size

func (LookupInstanceResultOutput) SshkeyId added in v2.1.0

The ID SSH key

func (LookupInstanceResultOutput) Status added in v2.1.0

The status of the instance

func (LookupInstanceResultOutput) Tags added in v2.1.0

An optional list of tags

func (LookupInstanceResultOutput) Template added in v2.1.0

The ID for the disk image/template to used to build the instance

func (LookupInstanceResultOutput) ToLookupInstanceResultOutput added in v2.1.0

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput

func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext added in v2.1.0

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput

type LookupKubernetesClusterArgs

type LookupKubernetesClusterArgs struct {
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The name of the Kubernetes Cluster
	Name *string `pulumi:"name"`
	// The region where cluster is running
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getKubernetesCluster.

type LookupKubernetesClusterOutputArgs added in v2.1.0

type LookupKubernetesClusterOutputArgs struct {
	// The ID of this resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the Kubernetes Cluster
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region where cluster is running
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getKubernetesCluster.

func (LookupKubernetesClusterOutputArgs) ElementType added in v2.1.0

type LookupKubernetesClusterResult

type LookupKubernetesClusterResult struct {
	// The base URL of the API server on the Kubernetes master node
	ApiEndpoint string `pulumi:"apiEndpoint"`
	// A list of application installed
	Applications string `pulumi:"applications"`
	// The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel`
	Cni string `pulumi:"cni"`
	// The date where the Kubernetes cluster was create
	CreatedAt string `pulumi:"createdAt"`
	// The unique dns entry for the cluster in this case point to the master
	DnsEntry string `pulumi:"dnsEntry"`
	// The ID of this resource.
	Id                    *string                                    `pulumi:"id"`
	InstalledApplications []GetKubernetesClusterInstalledApplication `pulumi:"installedApplications"`
	// A representation of the Kubernetes cluster's kubeconfig in yaml format
	Kubeconfig string `pulumi:"kubeconfig"`
	// The version of Kubernetes
	KubernetesVersion string `pulumi:"kubernetesVersion"`
	// The IP of the Kubernetes master node
	MasterIp string `pulumi:"masterIp"`
	// The name of the Kubernetes Cluster
	Name *string `pulumi:"name"`
	// The size of the Kubernetes cluster
	//
	// Deprecated: This field is deprecated and will be removed in a future version of the provider
	NumTargetNodes int                        `pulumi:"numTargetNodes"`
	Pools          []GetKubernetesClusterPool `pulumi:"pools"`
	// If the Kubernetes cluster is ready
	Ready bool `pulumi:"ready"`
	// The region where cluster is running
	Region *string `pulumi:"region"`
	// The status of Kubernetes cluster
	Status string `pulumi:"status"`
	// A list of tags
	Tags []string `pulumi:"tags"`
	// The size of each node
	//
	// Deprecated: This field is deprecated and will be removed in a future version of the provider
	TargetNodesSize string `pulumi:"targetNodesSize"`
}

A collection of values returned by getKubernetesCluster.

func LookupKubernetesCluster

func LookupKubernetesCluster(ctx *pulumi.Context, args *LookupKubernetesClusterArgs, opts ...pulumi.InvokeOption) (*LookupKubernetesClusterResult, error)

Provides a Civo Kubernetes cluster data source.

Note: This data source returns a single Kubernetes cluster. When specifying a name, an error will be raised if more than one Kubernetes cluster found.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		my_cluster, err := civo.LookupKubernetesCluster(ctx, &civo.LookupKubernetesClusterArgs{
			Name: pulumi.StringRef("my-super-cluster"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("kubernetesClusterOutput", my_cluster.MasterIp)
		return nil
	})
}

```

type LookupKubernetesClusterResultOutput added in v2.1.0

type LookupKubernetesClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesCluster.

func (LookupKubernetesClusterResultOutput) ApiEndpoint added in v2.1.0

The base URL of the API server on the Kubernetes master node

func (LookupKubernetesClusterResultOutput) Applications added in v2.1.0

A list of application installed

func (LookupKubernetesClusterResultOutput) Cni added in v2.1.3

The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel`

func (LookupKubernetesClusterResultOutput) CreatedAt added in v2.1.0

The date where the Kubernetes cluster was create

func (LookupKubernetesClusterResultOutput) DnsEntry added in v2.1.0

The unique dns entry for the cluster in this case point to the master

func (LookupKubernetesClusterResultOutput) ElementType added in v2.1.0

func (LookupKubernetesClusterResultOutput) Id added in v2.1.0

The ID of this resource.

func (LookupKubernetesClusterResultOutput) InstalledApplications added in v2.1.0

func (LookupKubernetesClusterResultOutput) Kubeconfig added in v2.1.0

A representation of the Kubernetes cluster's kubeconfig in yaml format

func (LookupKubernetesClusterResultOutput) KubernetesVersion added in v2.1.0

The version of Kubernetes

func (LookupKubernetesClusterResultOutput) MasterIp added in v2.1.0

The IP of the Kubernetes master node

func (LookupKubernetesClusterResultOutput) Name added in v2.1.0

The name of the Kubernetes Cluster

func (LookupKubernetesClusterResultOutput) NumTargetNodes deprecated added in v2.1.0

The size of the Kubernetes cluster

Deprecated: This field is deprecated and will be removed in a future version of the provider

func (LookupKubernetesClusterResultOutput) Pools added in v2.1.0

func (LookupKubernetesClusterResultOutput) Ready added in v2.1.0

If the Kubernetes cluster is ready

func (LookupKubernetesClusterResultOutput) Region added in v2.1.0

The region where cluster is running

func (LookupKubernetesClusterResultOutput) Status added in v2.1.0

The status of Kubernetes cluster

func (LookupKubernetesClusterResultOutput) Tags added in v2.1.0

A list of tags

func (LookupKubernetesClusterResultOutput) TargetNodesSize deprecated added in v2.1.0

The size of each node

Deprecated: This field is deprecated and will be removed in a future version of the provider

func (LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutput added in v2.1.0

func (o LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutput() LookupKubernetesClusterResultOutput

func (LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutputWithContext added in v2.1.0

func (o LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutputWithContext(ctx context.Context) LookupKubernetesClusterResultOutput

type LookupNetworkArgs

type LookupNetworkArgs struct {
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The label of an existing network
	Label *string `pulumi:"label"`
	// The region of an existing network
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getNetwork.

type LookupNetworkOutputArgs added in v2.1.0

type LookupNetworkOutputArgs struct {
	// The ID of this resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The label of an existing network
	Label pulumi.StringPtrInput `pulumi:"label"`
	// The region of an existing network
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getNetwork.

func (LookupNetworkOutputArgs) ElementType added in v2.1.0

func (LookupNetworkOutputArgs) ElementType() reflect.Type

type LookupNetworkResult

type LookupNetworkResult struct {
	// If is the default network
	Default bool `pulumi:"default"`
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The label of an existing network
	Label *string `pulumi:"label"`
	// The name of the network
	Name string `pulumi:"name"`
	// The region of an existing network
	Region *string `pulumi:"region"`
}

A collection of values returned by getNetwork.

func LookupNetwork

func LookupNetwork(ctx *pulumi.Context, args *LookupNetworkArgs, opts ...pulumi.InvokeOption) (*LookupNetworkResult, error)

Retrieve information about a network for use in other resources.

This data source provides all of the network's properties as configured on your Civo account.

Networks may be looked up by id or label, and you can optionally pass region if you want to make a lookup for a specific network inside that region.

type LookupNetworkResultOutput added in v2.1.0

type LookupNetworkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNetwork.

func LookupNetworkOutput added in v2.1.0

func LookupNetworkOutput(ctx *pulumi.Context, args LookupNetworkOutputArgs, opts ...pulumi.InvokeOption) LookupNetworkResultOutput

func (LookupNetworkResultOutput) Default added in v2.1.0

If is the default network

func (LookupNetworkResultOutput) ElementType added in v2.1.0

func (LookupNetworkResultOutput) ElementType() reflect.Type

func (LookupNetworkResultOutput) Id added in v2.1.0

The ID of this resource.

func (LookupNetworkResultOutput) Label added in v2.1.0

The label of an existing network

func (LookupNetworkResultOutput) Name added in v2.1.0

The name of the network

func (LookupNetworkResultOutput) Region added in v2.1.0

The region of an existing network

func (LookupNetworkResultOutput) ToLookupNetworkResultOutput added in v2.1.0

func (o LookupNetworkResultOutput) ToLookupNetworkResultOutput() LookupNetworkResultOutput

func (LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext added in v2.1.0

func (o LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext(ctx context.Context) LookupNetworkResultOutput

type LookupObjectStoreArgs added in v2.2.4

type LookupObjectStoreArgs struct {
	// The ID of the Object Store
	Id *string `pulumi:"id"`
	// The name of the Object Store
	Name *string `pulumi:"name"`
	// The region of an existing Object Store
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getObjectStore.

type LookupObjectStoreCredentialArgs added in v2.3.0

type LookupObjectStoreCredentialArgs struct {
	// The ID of the Object Store Credential
	Id *string `pulumi:"id"`
	// The name of the Object Store Credential
	Name *string `pulumi:"name"`
	// The region of an existing Object Store
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getObjectStoreCredential.

type LookupObjectStoreCredentialOutputArgs added in v2.3.0

type LookupObjectStoreCredentialOutputArgs struct {
	// The ID of the Object Store Credential
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the Object Store Credential
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region of an existing Object Store
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getObjectStoreCredential.

func (LookupObjectStoreCredentialOutputArgs) ElementType added in v2.3.0

type LookupObjectStoreCredentialResult added in v2.3.0

type LookupObjectStoreCredentialResult struct {
	// The access key id of the Object Store Credential
	AccessKeyId string `pulumi:"accessKeyId"`
	// The ID of the Object Store Credential
	Id *string `pulumi:"id"`
	// The name of the Object Store Credential
	Name *string `pulumi:"name"`
	// The region of an existing Object Store
	Region *string `pulumi:"region"`
	// The secret access key of the Object Store Credential
	SecretAccessKey string `pulumi:"secretAccessKey"`
	// The status of the Object Store Credential
	Status string `pulumi:"status"`
}

A collection of values returned by getObjectStoreCredential.

func LookupObjectStoreCredential added in v2.3.0

func LookupObjectStoreCredential(ctx *pulumi.Context, args *LookupObjectStoreCredentialArgs, opts ...pulumi.InvokeOption) (*LookupObjectStoreCredentialResult, error)

Get information of an Object Store Credential for use in other resources. This data source provides all of the Object Store Credential's properties as configured on your Civo account.

Note: This data source returns a single Object Store Credential. When specifying a name, an error will be raised if more than one Object Store Credentials with the same name found.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Read a credential for the object store
		backup, err := civo.LookupObjectStoreCredential(ctx, &civo.LookupObjectStoreCredentialArgs{
			Name: pulumi.StringRef("backup-server"),
		}, nil)
		if err != nil {
			return err
		}
		// Use the credential to create a bucket
		_, err = civo.NewObjectStore(ctx, "backup", &civo.ObjectStoreArgs{
			Name:        pulumi.String("backup-server"),
			MaxSizeGb:   pulumi.Int(500),
			Region:      pulumi.String("LON1"),
			AccessKeyId: pulumi.String(backup.AccessKeyId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupObjectStoreCredentialResultOutput added in v2.3.0

type LookupObjectStoreCredentialResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getObjectStoreCredential.

func (LookupObjectStoreCredentialResultOutput) AccessKeyId added in v2.3.0

The access key id of the Object Store Credential

func (LookupObjectStoreCredentialResultOutput) ElementType added in v2.3.0

func (LookupObjectStoreCredentialResultOutput) Id added in v2.3.0

The ID of the Object Store Credential

func (LookupObjectStoreCredentialResultOutput) Name added in v2.3.0

The name of the Object Store Credential

func (LookupObjectStoreCredentialResultOutput) Region added in v2.3.0

The region of an existing Object Store

func (LookupObjectStoreCredentialResultOutput) SecretAccessKey added in v2.3.0

The secret access key of the Object Store Credential

func (LookupObjectStoreCredentialResultOutput) Status added in v2.3.0

The status of the Object Store Credential

func (LookupObjectStoreCredentialResultOutput) ToLookupObjectStoreCredentialResultOutput added in v2.3.0

func (o LookupObjectStoreCredentialResultOutput) ToLookupObjectStoreCredentialResultOutput() LookupObjectStoreCredentialResultOutput

func (LookupObjectStoreCredentialResultOutput) ToLookupObjectStoreCredentialResultOutputWithContext added in v2.3.0

func (o LookupObjectStoreCredentialResultOutput) ToLookupObjectStoreCredentialResultOutputWithContext(ctx context.Context) LookupObjectStoreCredentialResultOutput

type LookupObjectStoreOutputArgs added in v2.2.4

type LookupObjectStoreOutputArgs struct {
	// The ID of the Object Store
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the Object Store
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region of an existing Object Store
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getObjectStore.

func (LookupObjectStoreOutputArgs) ElementType added in v2.2.4

type LookupObjectStoreResult added in v2.2.4

type LookupObjectStoreResult struct {
	// The access key ID from the Object Store credential. If this is not set, a new credential will be created.
	AccessKeyId string `pulumi:"accessKeyId"`
	// The endpoint of the Object Store
	BucketUrl string `pulumi:"bucketUrl"`
	// The ID of the Object Store
	Id *string `pulumi:"id"`
	// The maximum size of the Object Store
	MaxSizeGb int `pulumi:"maxSizeGb"`
	// The name of the Object Store
	Name *string `pulumi:"name"`
	// The region of an existing Object Store
	Region *string `pulumi:"region"`
	// The status of the Object Store
	Status string `pulumi:"status"`
}

A collection of values returned by getObjectStore.

func LookupObjectStore added in v2.2.4

func LookupObjectStore(ctx *pulumi.Context, args *LookupObjectStoreArgs, opts ...pulumi.InvokeOption) (*LookupObjectStoreResult, error)

Get information of an Object Store for use in other resources. This data source provides all of the Object Store's properties as configured on your Civo account.

Note: This data source returns a single Object Store. When specifying a name, an error will be raised if more than one Object Stores with the same name found.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.LookupObjectStore(ctx, &civo.LookupObjectStoreArgs{
			Name: pulumi.StringRef("backup-server"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupObjectStoreResultOutput added in v2.2.4

type LookupObjectStoreResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getObjectStore.

func LookupObjectStoreOutput added in v2.2.4

func (LookupObjectStoreResultOutput) AccessKeyId added in v2.2.4

The access key ID from the Object Store credential. If this is not set, a new credential will be created.

func (LookupObjectStoreResultOutput) BucketUrl added in v2.3.0

The endpoint of the Object Store

func (LookupObjectStoreResultOutput) ElementType added in v2.2.4

func (LookupObjectStoreResultOutput) Id added in v2.2.4

The ID of the Object Store

func (LookupObjectStoreResultOutput) MaxSizeGb added in v2.2.4

The maximum size of the Object Store

func (LookupObjectStoreResultOutput) Name added in v2.2.4

The name of the Object Store

func (LookupObjectStoreResultOutput) Region added in v2.2.4

The region of an existing Object Store

func (LookupObjectStoreResultOutput) Status added in v2.2.4

The status of the Object Store

func (LookupObjectStoreResultOutput) ToLookupObjectStoreResultOutput added in v2.2.4

func (o LookupObjectStoreResultOutput) ToLookupObjectStoreResultOutput() LookupObjectStoreResultOutput

func (LookupObjectStoreResultOutput) ToLookupObjectStoreResultOutputWithContext added in v2.2.4

func (o LookupObjectStoreResultOutput) ToLookupObjectStoreResultOutputWithContext(ctx context.Context) LookupObjectStoreResultOutput

type LookupReservedIpArgs added in v2.2.3

type LookupReservedIpArgs struct {
	// ID for the ip address
	Id *string `pulumi:"id"`
	// Name for the ip address
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getReservedIp.

type LookupReservedIpOutputArgs added in v2.2.3

type LookupReservedIpOutputArgs struct {
	// ID for the ip address
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name for the ip address
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getReservedIp.

func (LookupReservedIpOutputArgs) ElementType added in v2.2.3

func (LookupReservedIpOutputArgs) ElementType() reflect.Type

type LookupReservedIpResult added in v2.2.3

type LookupReservedIpResult struct {
	// ID for the ip address
	Id *string `pulumi:"id"`
	// The ID of the instance the IP is attached to
	InstanceId string `pulumi:"instanceId"`
	// The name of the instance the IP is attached to
	InstanceName string `pulumi:"instanceName"`
	// The IP Address requested
	Ip string `pulumi:"ip"`
	// Name for the ip address
	Name *string `pulumi:"name"`
	// The region the ip address is in
	Region string `pulumi:"region"`
}

A collection of values returned by getReservedIp.

func LookupReservedIp added in v2.2.3

func LookupReservedIp(ctx *pulumi.Context, args *LookupReservedIpArgs, opts ...pulumi.InvokeOption) (*LookupReservedIpResult, error)

type LookupReservedIpResultOutput added in v2.2.3

type LookupReservedIpResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReservedIp.

func LookupReservedIpOutput added in v2.2.3

func (LookupReservedIpResultOutput) ElementType added in v2.2.3

func (LookupReservedIpResultOutput) Id added in v2.2.3

ID for the ip address

func (LookupReservedIpResultOutput) InstanceId added in v2.2.3

The ID of the instance the IP is attached to

func (LookupReservedIpResultOutput) InstanceName added in v2.2.3

The name of the instance the IP is attached to

func (LookupReservedIpResultOutput) Ip added in v2.2.3

The IP Address requested

func (LookupReservedIpResultOutput) Name added in v2.2.3

Name for the ip address

func (LookupReservedIpResultOutput) Region added in v2.2.3

The region the ip address is in

func (LookupReservedIpResultOutput) ToLookupReservedIpResultOutput added in v2.2.3

func (o LookupReservedIpResultOutput) ToLookupReservedIpResultOutput() LookupReservedIpResultOutput

func (LookupReservedIpResultOutput) ToLookupReservedIpResultOutputWithContext added in v2.2.3

func (o LookupReservedIpResultOutput) ToLookupReservedIpResultOutputWithContext(ctx context.Context) LookupReservedIpResultOutput

type LookupSshKeyArgs

type LookupSshKeyArgs struct {
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The name of the SSH key
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getSshKey.

type LookupSshKeyOutputArgs added in v2.1.0

type LookupSshKeyOutputArgs struct {
	// The ID of this resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the SSH key
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getSshKey.

func (LookupSshKeyOutputArgs) ElementType added in v2.1.0

func (LookupSshKeyOutputArgs) ElementType() reflect.Type

type LookupSshKeyResult

type LookupSshKeyResult struct {
	// The fingerprint of the public key of the SSH key
	Fingerprint string `pulumi:"fingerprint"`
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The name of the SSH key
	Name *string `pulumi:"name"`
}

A collection of values returned by getSshKey.

func LookupSshKey

func LookupSshKey(ctx *pulumi.Context, args *LookupSshKeyArgs, opts ...pulumi.InvokeOption) (*LookupSshKeyResult, error)

Get information on a SSH key. This data source provides the name, and fingerprint as configured on your Civo account.

An error will be raised if the provided SSH key name does not exist in your Civo account.

type LookupSshKeyResultOutput added in v2.1.0

type LookupSshKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSshKey.

func LookupSshKeyOutput added in v2.1.0

func LookupSshKeyOutput(ctx *pulumi.Context, args LookupSshKeyOutputArgs, opts ...pulumi.InvokeOption) LookupSshKeyResultOutput

func (LookupSshKeyResultOutput) ElementType added in v2.1.0

func (LookupSshKeyResultOutput) ElementType() reflect.Type

func (LookupSshKeyResultOutput) Fingerprint added in v2.1.0

The fingerprint of the public key of the SSH key

func (LookupSshKeyResultOutput) Id added in v2.1.0

The ID of this resource.

func (LookupSshKeyResultOutput) Name added in v2.1.0

The name of the SSH key

func (LookupSshKeyResultOutput) ToLookupSshKeyResultOutput added in v2.1.0

func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutput() LookupSshKeyResultOutput

func (LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext added in v2.1.0

func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext(ctx context.Context) LookupSshKeyResultOutput

type LookupVolumeArgs

type LookupVolumeArgs struct {
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The name of the volume
	Name *string `pulumi:"name"`
	// The region where volume is running
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getVolume.

type LookupVolumeOutputArgs added in v2.1.0

type LookupVolumeOutputArgs struct {
	// The ID of this resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the volume
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region where volume is running
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getVolume.

func (LookupVolumeOutputArgs) ElementType added in v2.1.0

func (LookupVolumeOutputArgs) ElementType() reflect.Type

type LookupVolumeResult

type LookupVolumeResult struct {
	// The date of the creation of the volume
	CreatedAt string `pulumi:"createdAt"`
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The mount point of the volume
	MountPoint string `pulumi:"mountPoint"`
	// The name of the volume
	Name *string `pulumi:"name"`
	// The region where volume is running
	Region *string `pulumi:"region"`
	// The size of the volume (in GB)
	SizeGb int `pulumi:"sizeGb"`
}

A collection of values returned by getVolume.

func LookupVolume

func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error)

Get information on a volume for use in other resources. This data source provides all of the volumes properties as configured on your Civo account.

An error will be raised if the provided volume name does not exist in your Civo account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myvolume, err := civo.LookupVolume(ctx, &civo.LookupVolumeArgs{
			Name: pulumi.StringRef("test-volume-name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("volumeOutput", myvolume)
		return nil
	})
}

```

type LookupVolumeResultOutput added in v2.1.0

type LookupVolumeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVolume.

func LookupVolumeOutput added in v2.1.0

func LookupVolumeOutput(ctx *pulumi.Context, args LookupVolumeOutputArgs, opts ...pulumi.InvokeOption) LookupVolumeResultOutput

func (LookupVolumeResultOutput) CreatedAt added in v2.1.0

The date of the creation of the volume

func (LookupVolumeResultOutput) ElementType added in v2.1.0

func (LookupVolumeResultOutput) ElementType() reflect.Type

func (LookupVolumeResultOutput) Id added in v2.1.0

The ID of this resource.

func (LookupVolumeResultOutput) MountPoint added in v2.1.0

The mount point of the volume

func (LookupVolumeResultOutput) Name added in v2.1.0

The name of the volume

func (LookupVolumeResultOutput) Region added in v2.1.0

The region where volume is running

func (LookupVolumeResultOutput) SizeGb added in v2.1.0

The size of the volume (in GB)

func (LookupVolumeResultOutput) ToLookupVolumeResultOutput added in v2.1.0

func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput

func (LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext added in v2.1.0

func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput

type Network

type Network struct {
	pulumi.CustomResourceState

	// The CIDR block for the network
	CidrV4 pulumi.StringPtrOutput `pulumi:"cidrV4"`
	// If the network is default, this will be `true`
	Default pulumi.BoolOutput `pulumi:"default"`
	// Name for the network
	Label pulumi.StringOutput `pulumi:"label"`
	// The name of the network
	Name pulumi.StringOutput `pulumi:"name"`
	// List of nameservers for the network
	NameserversV4s pulumi.StringArrayOutput `pulumi:"nameserversV4s"`
	// The region of the network
	Region pulumi.StringOutput `pulumi:"region"`
}

Provides a Civo network resource. This can be used to create, modify, and delete networks.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.NewNetwork(ctx, "custom_net", &civo.NetworkArgs{
			Label: pulumi.String("test_network"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

using ID

```sh $ pulumi import civo:index/network:Network custom_net b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 ```

func GetNetwork

func GetNetwork(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkState, opts ...pulumi.ResourceOption) (*Network, error)

GetNetwork gets an existing Network 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 NewNetwork

func NewNetwork(ctx *pulumi.Context,
	name string, args *NetworkArgs, opts ...pulumi.ResourceOption) (*Network, error)

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

func (*Network) ElementType

func (*Network) ElementType() reflect.Type

func (*Network) ToNetworkOutput

func (i *Network) ToNetworkOutput() NetworkOutput

func (*Network) ToNetworkOutputWithContext

func (i *Network) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput

type NetworkArgs

type NetworkArgs struct {
	// The CIDR block for the network
	CidrV4 pulumi.StringPtrInput
	// Name for the network
	Label pulumi.StringInput
	// List of nameservers for the network
	NameserversV4s pulumi.StringArrayInput
	// The region of the network
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a Network resource.

func (NetworkArgs) ElementType

func (NetworkArgs) ElementType() reflect.Type

type NetworkArray

type NetworkArray []NetworkInput

func (NetworkArray) ElementType

func (NetworkArray) ElementType() reflect.Type

func (NetworkArray) ToNetworkArrayOutput

func (i NetworkArray) ToNetworkArrayOutput() NetworkArrayOutput

func (NetworkArray) ToNetworkArrayOutputWithContext

func (i NetworkArray) ToNetworkArrayOutputWithContext(ctx context.Context) NetworkArrayOutput

type NetworkArrayInput

type NetworkArrayInput interface {
	pulumi.Input

	ToNetworkArrayOutput() NetworkArrayOutput
	ToNetworkArrayOutputWithContext(context.Context) NetworkArrayOutput
}

NetworkArrayInput is an input type that accepts NetworkArray and NetworkArrayOutput values. You can construct a concrete instance of `NetworkArrayInput` via:

NetworkArray{ NetworkArgs{...} }

type NetworkArrayOutput

type NetworkArrayOutput struct{ *pulumi.OutputState }

func (NetworkArrayOutput) ElementType

func (NetworkArrayOutput) ElementType() reflect.Type

func (NetworkArrayOutput) Index

func (NetworkArrayOutput) ToNetworkArrayOutput

func (o NetworkArrayOutput) ToNetworkArrayOutput() NetworkArrayOutput

func (NetworkArrayOutput) ToNetworkArrayOutputWithContext

func (o NetworkArrayOutput) ToNetworkArrayOutputWithContext(ctx context.Context) NetworkArrayOutput

type NetworkInput

type NetworkInput interface {
	pulumi.Input

	ToNetworkOutput() NetworkOutput
	ToNetworkOutputWithContext(ctx context.Context) NetworkOutput
}

type NetworkMap

type NetworkMap map[string]NetworkInput

func (NetworkMap) ElementType

func (NetworkMap) ElementType() reflect.Type

func (NetworkMap) ToNetworkMapOutput

func (i NetworkMap) ToNetworkMapOutput() NetworkMapOutput

func (NetworkMap) ToNetworkMapOutputWithContext

func (i NetworkMap) ToNetworkMapOutputWithContext(ctx context.Context) NetworkMapOutput

type NetworkMapInput

type NetworkMapInput interface {
	pulumi.Input

	ToNetworkMapOutput() NetworkMapOutput
	ToNetworkMapOutputWithContext(context.Context) NetworkMapOutput
}

NetworkMapInput is an input type that accepts NetworkMap and NetworkMapOutput values. You can construct a concrete instance of `NetworkMapInput` via:

NetworkMap{ "key": NetworkArgs{...} }

type NetworkMapOutput

type NetworkMapOutput struct{ *pulumi.OutputState }

func (NetworkMapOutput) ElementType

func (NetworkMapOutput) ElementType() reflect.Type

func (NetworkMapOutput) MapIndex

func (NetworkMapOutput) ToNetworkMapOutput

func (o NetworkMapOutput) ToNetworkMapOutput() NetworkMapOutput

func (NetworkMapOutput) ToNetworkMapOutputWithContext

func (o NetworkMapOutput) ToNetworkMapOutputWithContext(ctx context.Context) NetworkMapOutput

type NetworkOutput

type NetworkOutput struct{ *pulumi.OutputState }

func (NetworkOutput) CidrV4 added in v2.3.15

The CIDR block for the network

func (NetworkOutput) Default added in v2.2.3

func (o NetworkOutput) Default() pulumi.BoolOutput

If the network is default, this will be `true`

func (NetworkOutput) ElementType

func (NetworkOutput) ElementType() reflect.Type

func (NetworkOutput) Label added in v2.2.3

func (o NetworkOutput) Label() pulumi.StringOutput

Name for the network

func (NetworkOutput) Name added in v2.2.3

The name of the network

func (NetworkOutput) NameserversV4s added in v2.3.15

func (o NetworkOutput) NameserversV4s() pulumi.StringArrayOutput

List of nameservers for the network

func (NetworkOutput) Region added in v2.2.3

func (o NetworkOutput) Region() pulumi.StringOutput

The region of the network

func (NetworkOutput) ToNetworkOutput

func (o NetworkOutput) ToNetworkOutput() NetworkOutput

func (NetworkOutput) ToNetworkOutputWithContext

func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput

type NetworkState

type NetworkState struct {
	// The CIDR block for the network
	CidrV4 pulumi.StringPtrInput
	// If the network is default, this will be `true`
	Default pulumi.BoolPtrInput
	// Name for the network
	Label pulumi.StringPtrInput
	// The name of the network
	Name pulumi.StringPtrInput
	// List of nameservers for the network
	NameserversV4s pulumi.StringArrayInput
	// The region of the network
	Region pulumi.StringPtrInput
}

func (NetworkState) ElementType

func (NetworkState) ElementType() reflect.Type

type ObjectStore added in v2.2.4

type ObjectStore struct {
	pulumi.CustomResourceState

	// The access key ID from the Object Store credential. If this is not set, a new credential will be created.
	AccessKeyId pulumi.StringOutput `pulumi:"accessKeyId"`
	// The endpoint of the Object Store. It is generated by the provider.
	BucketUrl pulumi.StringOutput `pulumi:"bucketUrl"`
	// The maximum size of the Object Store. Default is 500GB.
	MaxSizeGb pulumi.IntPtrOutput `pulumi:"maxSizeGb"`
	// The name of the Object Store. Must be unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1)
	Region pulumi.StringOutput `pulumi:"region"`
	// The status of the Object Store.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides an Object Store resource. This can be used to create, modify, and delete object stores.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		backupObjectStore, err := civo.NewObjectStore(ctx, "backup", &civo.ObjectStoreArgs{
			Name:      pulumi.String("backup-server"),
			MaxSizeGb: pulumi.Int(500),
			Region:    pulumi.String("LON1"),
		})
		if err != nil {
			return err
		}
		// If you create the bucket without credentials, you can read the credentials in this way
		_ = civo.LookupObjectStoreCredentialOutput(ctx, civo.GetObjectStoreCredentialOutputArgs{
			Id: backupObjectStore.AccessKeyId,
		}, nil)
		return nil
	})
}

```

## Import

using ID

```sh $ pulumi import civo:index/objectStore:ObjectStore custom_object b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 ```

func GetObjectStore added in v2.2.4

func GetObjectStore(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObjectStoreState, opts ...pulumi.ResourceOption) (*ObjectStore, error)

GetObjectStore gets an existing ObjectStore 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 NewObjectStore added in v2.2.4

func NewObjectStore(ctx *pulumi.Context,
	name string, args *ObjectStoreArgs, opts ...pulumi.ResourceOption) (*ObjectStore, error)

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

func (*ObjectStore) ElementType added in v2.2.4

func (*ObjectStore) ElementType() reflect.Type

func (*ObjectStore) ToObjectStoreOutput added in v2.2.4

func (i *ObjectStore) ToObjectStoreOutput() ObjectStoreOutput

func (*ObjectStore) ToObjectStoreOutputWithContext added in v2.2.4

func (i *ObjectStore) ToObjectStoreOutputWithContext(ctx context.Context) ObjectStoreOutput

type ObjectStoreArgs added in v2.2.4

type ObjectStoreArgs struct {
	// The access key ID from the Object Store credential. If this is not set, a new credential will be created.
	AccessKeyId pulumi.StringPtrInput
	// The maximum size of the Object Store. Default is 500GB.
	MaxSizeGb pulumi.IntPtrInput
	// The name of the Object Store. Must be unique.
	Name pulumi.StringPtrInput
	// The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1)
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a ObjectStore resource.

func (ObjectStoreArgs) ElementType added in v2.2.4

func (ObjectStoreArgs) ElementType() reflect.Type

type ObjectStoreArray added in v2.2.4

type ObjectStoreArray []ObjectStoreInput

func (ObjectStoreArray) ElementType added in v2.2.4

func (ObjectStoreArray) ElementType() reflect.Type

func (ObjectStoreArray) ToObjectStoreArrayOutput added in v2.2.4

func (i ObjectStoreArray) ToObjectStoreArrayOutput() ObjectStoreArrayOutput

func (ObjectStoreArray) ToObjectStoreArrayOutputWithContext added in v2.2.4

func (i ObjectStoreArray) ToObjectStoreArrayOutputWithContext(ctx context.Context) ObjectStoreArrayOutput

type ObjectStoreArrayInput added in v2.2.4

type ObjectStoreArrayInput interface {
	pulumi.Input

	ToObjectStoreArrayOutput() ObjectStoreArrayOutput
	ToObjectStoreArrayOutputWithContext(context.Context) ObjectStoreArrayOutput
}

ObjectStoreArrayInput is an input type that accepts ObjectStoreArray and ObjectStoreArrayOutput values. You can construct a concrete instance of `ObjectStoreArrayInput` via:

ObjectStoreArray{ ObjectStoreArgs{...} }

type ObjectStoreArrayOutput added in v2.2.4

type ObjectStoreArrayOutput struct{ *pulumi.OutputState }

func (ObjectStoreArrayOutput) ElementType added in v2.2.4

func (ObjectStoreArrayOutput) ElementType() reflect.Type

func (ObjectStoreArrayOutput) Index added in v2.2.4

func (ObjectStoreArrayOutput) ToObjectStoreArrayOutput added in v2.2.4

func (o ObjectStoreArrayOutput) ToObjectStoreArrayOutput() ObjectStoreArrayOutput

func (ObjectStoreArrayOutput) ToObjectStoreArrayOutputWithContext added in v2.2.4

func (o ObjectStoreArrayOutput) ToObjectStoreArrayOutputWithContext(ctx context.Context) ObjectStoreArrayOutput

type ObjectStoreCredential added in v2.3.0

type ObjectStoreCredential struct {
	pulumi.CustomResourceState

	// The access key id of the Object Store Credential. It is generated by the provider.
	AccessKeyId pulumi.StringOutput `pulumi:"accessKeyId"`
	// The name of the Object Store Credential. Must be unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region where the Object Store Credential will be created.
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// The secret access key of the Object Store Credential. It is generated by the provider.
	SecretAccessKey pulumi.StringOutput `pulumi:"secretAccessKey"`
	// The status of the Object Store Credential.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides an Object Store Credential resource. This can be used to create, modify, and delete object stores credential.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a simple credential for the object store
		_, err := civo.LookupObjectStoreCredential(ctx, &civo.LookupObjectStoreCredentialArgs{
			Name: pulumi.StringRef("backup-server"),
		}, nil)
		if err != nil {
			return err
		}
		// Create a credential for the object store with a specific access key and secret key
		backupObjectStoreCredential, err := civo.NewObjectStoreCredential(ctx, "backup", &civo.ObjectStoreCredentialArgs{
			Name:            pulumi.String("backup-server"),
			AccessKeyId:     pulumi.String("my-access-key"),
			SecretAccessKey: pulumi.String("my-secret-key"),
		})
		if err != nil {
			return err
		}
		// Use the credential to create a bucket
		_, err = civo.NewObjectStore(ctx, "backup", &civo.ObjectStoreArgs{
			Name:        pulumi.String("backup-server"),
			MaxSizeGb:   pulumi.Int(500),
			Region:      pulumi.String("LON1"),
			AccessKeyId: backupObjectStoreCredential.AccessKeyId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

using ID

```sh $ pulumi import civo:index/objectStoreCredential:ObjectStoreCredential custom_object b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 ```

func GetObjectStoreCredential added in v2.3.0

func GetObjectStoreCredential(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObjectStoreCredentialState, opts ...pulumi.ResourceOption) (*ObjectStoreCredential, error)

GetObjectStoreCredential gets an existing ObjectStoreCredential 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 NewObjectStoreCredential added in v2.3.0

func NewObjectStoreCredential(ctx *pulumi.Context,
	name string, args *ObjectStoreCredentialArgs, opts ...pulumi.ResourceOption) (*ObjectStoreCredential, error)

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

func (*ObjectStoreCredential) ElementType added in v2.3.0

func (*ObjectStoreCredential) ElementType() reflect.Type

func (*ObjectStoreCredential) ToObjectStoreCredentialOutput added in v2.3.0

func (i *ObjectStoreCredential) ToObjectStoreCredentialOutput() ObjectStoreCredentialOutput

func (*ObjectStoreCredential) ToObjectStoreCredentialOutputWithContext added in v2.3.0

func (i *ObjectStoreCredential) ToObjectStoreCredentialOutputWithContext(ctx context.Context) ObjectStoreCredentialOutput

type ObjectStoreCredentialArgs added in v2.3.0

type ObjectStoreCredentialArgs struct {
	// The access key id of the Object Store Credential. It is generated by the provider.
	AccessKeyId pulumi.StringPtrInput
	// The name of the Object Store Credential. Must be unique.
	Name pulumi.StringPtrInput
	// The region where the Object Store Credential will be created.
	Region pulumi.StringPtrInput
	// The secret access key of the Object Store Credential. It is generated by the provider.
	SecretAccessKey pulumi.StringPtrInput
}

The set of arguments for constructing a ObjectStoreCredential resource.

func (ObjectStoreCredentialArgs) ElementType added in v2.3.0

func (ObjectStoreCredentialArgs) ElementType() reflect.Type

type ObjectStoreCredentialArray added in v2.3.0

type ObjectStoreCredentialArray []ObjectStoreCredentialInput

func (ObjectStoreCredentialArray) ElementType added in v2.3.0

func (ObjectStoreCredentialArray) ElementType() reflect.Type

func (ObjectStoreCredentialArray) ToObjectStoreCredentialArrayOutput added in v2.3.0

func (i ObjectStoreCredentialArray) ToObjectStoreCredentialArrayOutput() ObjectStoreCredentialArrayOutput

func (ObjectStoreCredentialArray) ToObjectStoreCredentialArrayOutputWithContext added in v2.3.0

func (i ObjectStoreCredentialArray) ToObjectStoreCredentialArrayOutputWithContext(ctx context.Context) ObjectStoreCredentialArrayOutput

type ObjectStoreCredentialArrayInput added in v2.3.0

type ObjectStoreCredentialArrayInput interface {
	pulumi.Input

	ToObjectStoreCredentialArrayOutput() ObjectStoreCredentialArrayOutput
	ToObjectStoreCredentialArrayOutputWithContext(context.Context) ObjectStoreCredentialArrayOutput
}

ObjectStoreCredentialArrayInput is an input type that accepts ObjectStoreCredentialArray and ObjectStoreCredentialArrayOutput values. You can construct a concrete instance of `ObjectStoreCredentialArrayInput` via:

ObjectStoreCredentialArray{ ObjectStoreCredentialArgs{...} }

type ObjectStoreCredentialArrayOutput added in v2.3.0

type ObjectStoreCredentialArrayOutput struct{ *pulumi.OutputState }

func (ObjectStoreCredentialArrayOutput) ElementType added in v2.3.0

func (ObjectStoreCredentialArrayOutput) Index added in v2.3.0

func (ObjectStoreCredentialArrayOutput) ToObjectStoreCredentialArrayOutput added in v2.3.0

func (o ObjectStoreCredentialArrayOutput) ToObjectStoreCredentialArrayOutput() ObjectStoreCredentialArrayOutput

func (ObjectStoreCredentialArrayOutput) ToObjectStoreCredentialArrayOutputWithContext added in v2.3.0

func (o ObjectStoreCredentialArrayOutput) ToObjectStoreCredentialArrayOutputWithContext(ctx context.Context) ObjectStoreCredentialArrayOutput

type ObjectStoreCredentialInput added in v2.3.0

type ObjectStoreCredentialInput interface {
	pulumi.Input

	ToObjectStoreCredentialOutput() ObjectStoreCredentialOutput
	ToObjectStoreCredentialOutputWithContext(ctx context.Context) ObjectStoreCredentialOutput
}

type ObjectStoreCredentialMap added in v2.3.0

type ObjectStoreCredentialMap map[string]ObjectStoreCredentialInput

func (ObjectStoreCredentialMap) ElementType added in v2.3.0

func (ObjectStoreCredentialMap) ElementType() reflect.Type

func (ObjectStoreCredentialMap) ToObjectStoreCredentialMapOutput added in v2.3.0

func (i ObjectStoreCredentialMap) ToObjectStoreCredentialMapOutput() ObjectStoreCredentialMapOutput

func (ObjectStoreCredentialMap) ToObjectStoreCredentialMapOutputWithContext added in v2.3.0

func (i ObjectStoreCredentialMap) ToObjectStoreCredentialMapOutputWithContext(ctx context.Context) ObjectStoreCredentialMapOutput

type ObjectStoreCredentialMapInput added in v2.3.0

type ObjectStoreCredentialMapInput interface {
	pulumi.Input

	ToObjectStoreCredentialMapOutput() ObjectStoreCredentialMapOutput
	ToObjectStoreCredentialMapOutputWithContext(context.Context) ObjectStoreCredentialMapOutput
}

ObjectStoreCredentialMapInput is an input type that accepts ObjectStoreCredentialMap and ObjectStoreCredentialMapOutput values. You can construct a concrete instance of `ObjectStoreCredentialMapInput` via:

ObjectStoreCredentialMap{ "key": ObjectStoreCredentialArgs{...} }

type ObjectStoreCredentialMapOutput added in v2.3.0

type ObjectStoreCredentialMapOutput struct{ *pulumi.OutputState }

func (ObjectStoreCredentialMapOutput) ElementType added in v2.3.0

func (ObjectStoreCredentialMapOutput) MapIndex added in v2.3.0

func (ObjectStoreCredentialMapOutput) ToObjectStoreCredentialMapOutput added in v2.3.0

func (o ObjectStoreCredentialMapOutput) ToObjectStoreCredentialMapOutput() ObjectStoreCredentialMapOutput

func (ObjectStoreCredentialMapOutput) ToObjectStoreCredentialMapOutputWithContext added in v2.3.0

func (o ObjectStoreCredentialMapOutput) ToObjectStoreCredentialMapOutputWithContext(ctx context.Context) ObjectStoreCredentialMapOutput

type ObjectStoreCredentialOutput added in v2.3.0

type ObjectStoreCredentialOutput struct{ *pulumi.OutputState }

func (ObjectStoreCredentialOutput) AccessKeyId added in v2.3.0

The access key id of the Object Store Credential. It is generated by the provider.

func (ObjectStoreCredentialOutput) ElementType added in v2.3.0

func (ObjectStoreCredentialOutput) Name added in v2.3.0

The name of the Object Store Credential. Must be unique.

func (ObjectStoreCredentialOutput) Region added in v2.3.0

The region where the Object Store Credential will be created.

func (ObjectStoreCredentialOutput) SecretAccessKey added in v2.3.0

func (o ObjectStoreCredentialOutput) SecretAccessKey() pulumi.StringOutput

The secret access key of the Object Store Credential. It is generated by the provider.

func (ObjectStoreCredentialOutput) Status added in v2.3.0

The status of the Object Store Credential.

func (ObjectStoreCredentialOutput) ToObjectStoreCredentialOutput added in v2.3.0

func (o ObjectStoreCredentialOutput) ToObjectStoreCredentialOutput() ObjectStoreCredentialOutput

func (ObjectStoreCredentialOutput) ToObjectStoreCredentialOutputWithContext added in v2.3.0

func (o ObjectStoreCredentialOutput) ToObjectStoreCredentialOutputWithContext(ctx context.Context) ObjectStoreCredentialOutput

type ObjectStoreCredentialState added in v2.3.0

type ObjectStoreCredentialState struct {
	// The access key id of the Object Store Credential. It is generated by the provider.
	AccessKeyId pulumi.StringPtrInput
	// The name of the Object Store Credential. Must be unique.
	Name pulumi.StringPtrInput
	// The region where the Object Store Credential will be created.
	Region pulumi.StringPtrInput
	// The secret access key of the Object Store Credential. It is generated by the provider.
	SecretAccessKey pulumi.StringPtrInput
	// The status of the Object Store Credential.
	Status pulumi.StringPtrInput
}

func (ObjectStoreCredentialState) ElementType added in v2.3.0

func (ObjectStoreCredentialState) ElementType() reflect.Type

type ObjectStoreInput added in v2.2.4

type ObjectStoreInput interface {
	pulumi.Input

	ToObjectStoreOutput() ObjectStoreOutput
	ToObjectStoreOutputWithContext(ctx context.Context) ObjectStoreOutput
}

type ObjectStoreMap added in v2.2.4

type ObjectStoreMap map[string]ObjectStoreInput

func (ObjectStoreMap) ElementType added in v2.2.4

func (ObjectStoreMap) ElementType() reflect.Type

func (ObjectStoreMap) ToObjectStoreMapOutput added in v2.2.4

func (i ObjectStoreMap) ToObjectStoreMapOutput() ObjectStoreMapOutput

func (ObjectStoreMap) ToObjectStoreMapOutputWithContext added in v2.2.4

func (i ObjectStoreMap) ToObjectStoreMapOutputWithContext(ctx context.Context) ObjectStoreMapOutput

type ObjectStoreMapInput added in v2.2.4

type ObjectStoreMapInput interface {
	pulumi.Input

	ToObjectStoreMapOutput() ObjectStoreMapOutput
	ToObjectStoreMapOutputWithContext(context.Context) ObjectStoreMapOutput
}

ObjectStoreMapInput is an input type that accepts ObjectStoreMap and ObjectStoreMapOutput values. You can construct a concrete instance of `ObjectStoreMapInput` via:

ObjectStoreMap{ "key": ObjectStoreArgs{...} }

type ObjectStoreMapOutput added in v2.2.4

type ObjectStoreMapOutput struct{ *pulumi.OutputState }

func (ObjectStoreMapOutput) ElementType added in v2.2.4

func (ObjectStoreMapOutput) ElementType() reflect.Type

func (ObjectStoreMapOutput) MapIndex added in v2.2.4

func (ObjectStoreMapOutput) ToObjectStoreMapOutput added in v2.2.4

func (o ObjectStoreMapOutput) ToObjectStoreMapOutput() ObjectStoreMapOutput

func (ObjectStoreMapOutput) ToObjectStoreMapOutputWithContext added in v2.2.4

func (o ObjectStoreMapOutput) ToObjectStoreMapOutputWithContext(ctx context.Context) ObjectStoreMapOutput

type ObjectStoreOutput added in v2.2.4

type ObjectStoreOutput struct{ *pulumi.OutputState }

func (ObjectStoreOutput) AccessKeyId added in v2.2.4

func (o ObjectStoreOutput) AccessKeyId() pulumi.StringOutput

The access key ID from the Object Store credential. If this is not set, a new credential will be created.

func (ObjectStoreOutput) BucketUrl added in v2.3.0

func (o ObjectStoreOutput) BucketUrl() pulumi.StringOutput

The endpoint of the Object Store. It is generated by the provider.

func (ObjectStoreOutput) ElementType added in v2.2.4

func (ObjectStoreOutput) ElementType() reflect.Type

func (ObjectStoreOutput) MaxSizeGb added in v2.2.4

func (o ObjectStoreOutput) MaxSizeGb() pulumi.IntPtrOutput

The maximum size of the Object Store. Default is 500GB.

func (ObjectStoreOutput) Name added in v2.2.4

The name of the Object Store. Must be unique.

func (ObjectStoreOutput) Region added in v2.2.4

The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1)

func (ObjectStoreOutput) Status added in v2.2.4

The status of the Object Store.

func (ObjectStoreOutput) ToObjectStoreOutput added in v2.2.4

func (o ObjectStoreOutput) ToObjectStoreOutput() ObjectStoreOutput

func (ObjectStoreOutput) ToObjectStoreOutputWithContext added in v2.2.4

func (o ObjectStoreOutput) ToObjectStoreOutputWithContext(ctx context.Context) ObjectStoreOutput

type ObjectStoreState added in v2.2.4

type ObjectStoreState struct {
	// The access key ID from the Object Store credential. If this is not set, a new credential will be created.
	AccessKeyId pulumi.StringPtrInput
	// The endpoint of the Object Store. It is generated by the provider.
	BucketUrl pulumi.StringPtrInput
	// The maximum size of the Object Store. Default is 500GB.
	MaxSizeGb pulumi.IntPtrInput
	// The name of the Object Store. Must be unique.
	Name pulumi.StringPtrInput
	// The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1)
	Region pulumi.StringPtrInput
	// The status of the Object Store.
	Status pulumi.StringPtrInput
}

func (ObjectStoreState) ElementType added in v2.2.4

func (ObjectStoreState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The Base URL to use for CIVO API.
	ApiEndpoint pulumi.StringPtrOutput `pulumi:"apiEndpoint"`
	// If region is not set, then no region will be used and them you need expensify in every resource even if you expensify
	// here you can overwrite in a resource.
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// This is the Civo API token. Alternatively, this can also be specified using `CIVO_TOKEN` environment variable.
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

The provider type for the civo 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 Base URL to use for CIVO API.
	ApiEndpoint pulumi.StringPtrInput
	// If region is not set, then no region will be used and them you need expensify in every resource even if you expensify
	// here you can overwrite in a resource.
	Region pulumi.StringPtrInput
	// This is the Civo API token. Alternatively, this can also be specified using `CIVO_TOKEN` environment variable.
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

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

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ApiEndpoint added in v2.3.0

func (o ProviderOutput) ApiEndpoint() pulumi.StringPtrOutput

The Base URL to use for CIVO API.

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Region added in v2.2.3

If region is not set, then no region will be used and them you need expensify in every resource even if you expensify here you can overwrite in a resource.

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

func (ProviderOutput) Token added in v2.2.3

This is the Civo API token. Alternatively, this can also be specified using `CIVO_TOKEN` environment variable.

type ReservedIp added in v2.2.3

type ReservedIp struct {
	pulumi.CustomResourceState

	// The IP Address of the resource
	Ip pulumi.StringOutput `pulumi:"ip"`
	// Name for the ip address
	Name pulumi.StringOutput `pulumi:"name"`
	// The region of the ip
	Region pulumi.StringOutput `pulumi:"region"`
}

Provides a Civo reserved IP to represent a publicly-accessible static IP addresses that can be mapped to one of your Instancesor Load Balancer.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.NewReservedIp(ctx, "www", &civo.ReservedIpArgs{
			Name: pulumi.String("nginx-www"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terrafom import civo_reserved_ip.www 9f0e86fc-b2c6-46b4-82ed-2f28419f8ae3

func GetReservedIp added in v2.2.3

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 added in v2.2.3

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 added in v2.2.3

func (*ReservedIp) ElementType() reflect.Type

func (*ReservedIp) ToReservedIpOutput added in v2.2.3

func (i *ReservedIp) ToReservedIpOutput() ReservedIpOutput

func (*ReservedIp) ToReservedIpOutputWithContext added in v2.2.3

func (i *ReservedIp) ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput

type ReservedIpArgs added in v2.2.3

type ReservedIpArgs struct {
	// Name for the ip address
	Name pulumi.StringPtrInput
	// The region of the ip
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a ReservedIp resource.

func (ReservedIpArgs) ElementType added in v2.2.3

func (ReservedIpArgs) ElementType() reflect.Type

type ReservedIpArray added in v2.2.3

type ReservedIpArray []ReservedIpInput

func (ReservedIpArray) ElementType added in v2.2.3

func (ReservedIpArray) ElementType() reflect.Type

func (ReservedIpArray) ToReservedIpArrayOutput added in v2.2.3

func (i ReservedIpArray) ToReservedIpArrayOutput() ReservedIpArrayOutput

func (ReservedIpArray) ToReservedIpArrayOutputWithContext added in v2.2.3

func (i ReservedIpArray) ToReservedIpArrayOutputWithContext(ctx context.Context) ReservedIpArrayOutput

type ReservedIpArrayInput added in v2.2.3

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 added in v2.2.3

type ReservedIpArrayOutput struct{ *pulumi.OutputState }

func (ReservedIpArrayOutput) ElementType added in v2.2.3

func (ReservedIpArrayOutput) ElementType() reflect.Type

func (ReservedIpArrayOutput) Index added in v2.2.3

func (ReservedIpArrayOutput) ToReservedIpArrayOutput added in v2.2.3

func (o ReservedIpArrayOutput) ToReservedIpArrayOutput() ReservedIpArrayOutput

func (ReservedIpArrayOutput) ToReservedIpArrayOutputWithContext added in v2.2.3

func (o ReservedIpArrayOutput) ToReservedIpArrayOutputWithContext(ctx context.Context) ReservedIpArrayOutput

type ReservedIpInput added in v2.2.3

type ReservedIpInput interface {
	pulumi.Input

	ToReservedIpOutput() ReservedIpOutput
	ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput
}

type ReservedIpMap added in v2.2.3

type ReservedIpMap map[string]ReservedIpInput

func (ReservedIpMap) ElementType added in v2.2.3

func (ReservedIpMap) ElementType() reflect.Type

func (ReservedIpMap) ToReservedIpMapOutput added in v2.2.3

func (i ReservedIpMap) ToReservedIpMapOutput() ReservedIpMapOutput

func (ReservedIpMap) ToReservedIpMapOutputWithContext added in v2.2.3

func (i ReservedIpMap) ToReservedIpMapOutputWithContext(ctx context.Context) ReservedIpMapOutput

type ReservedIpMapInput added in v2.2.3

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 added in v2.2.3

type ReservedIpMapOutput struct{ *pulumi.OutputState }

func (ReservedIpMapOutput) ElementType added in v2.2.3

func (ReservedIpMapOutput) ElementType() reflect.Type

func (ReservedIpMapOutput) MapIndex added in v2.2.3

func (ReservedIpMapOutput) ToReservedIpMapOutput added in v2.2.3

func (o ReservedIpMapOutput) ToReservedIpMapOutput() ReservedIpMapOutput

func (ReservedIpMapOutput) ToReservedIpMapOutputWithContext added in v2.2.3

func (o ReservedIpMapOutput) ToReservedIpMapOutputWithContext(ctx context.Context) ReservedIpMapOutput

type ReservedIpOutput added in v2.2.3

type ReservedIpOutput struct{ *pulumi.OutputState }

func (ReservedIpOutput) ElementType added in v2.2.3

func (ReservedIpOutput) ElementType() reflect.Type

func (ReservedIpOutput) Ip added in v2.2.3

The IP Address of the resource

func (ReservedIpOutput) Name added in v2.2.3

Name for the ip address

func (ReservedIpOutput) Region added in v2.2.3

The region of the ip

func (ReservedIpOutput) ToReservedIpOutput added in v2.2.3

func (o ReservedIpOutput) ToReservedIpOutput() ReservedIpOutput

func (ReservedIpOutput) ToReservedIpOutputWithContext added in v2.2.3

func (o ReservedIpOutput) ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput

type ReservedIpState added in v2.2.3

type ReservedIpState struct {
	// The IP Address of the resource
	Ip pulumi.StringPtrInput
	// Name for the ip address
	Name pulumi.StringPtrInput
	// The region of the ip
	Region pulumi.StringPtrInput
}

func (ReservedIpState) ElementType added in v2.2.3

func (ReservedIpState) ElementType() reflect.Type

type SshKey

type SshKey struct {
	pulumi.CustomResourceState

	// a string containing the SSH finger print.
	Fingerprint pulumi.StringOutput `pulumi:"fingerprint"`
	// a string that will be the reference for the SSH key.
	Name pulumi.StringOutput `pulumi:"name"`
	// a string containing the SSH public key.
	PublicKey pulumi.StringOutput `pulumi:"publicKey"`
}

Provides a Civo SSH key resource to allow you to manage SSH keys for instance access. Keys created with this resource can be referenced in your instance configuration via their ID.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "~/.ssh/id_rsa.pub",
		}, nil)
		if err != nil {
			return err
		}
		_, err = civo.NewSshKey(ctx, "my-user", &civo.SshKeyArgs{
			Name:      pulumi.String("my-user"),
			PublicKey: invokeFile.Result,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

using ID

```sh $ pulumi import civo:index/sshKey:SshKey mykey 87ca2ee4-57d3-4420-b9b6-411b0b4b2a0e ```

func GetSshKey

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

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

func (*SshKey) ElementType() reflect.Type

func (*SshKey) ToSshKeyOutput

func (i *SshKey) ToSshKeyOutput() SshKeyOutput

func (*SshKey) ToSshKeyOutputWithContext

func (i *SshKey) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput

type SshKeyArgs

type SshKeyArgs struct {
	// a string that will be the reference for the SSH key.
	Name pulumi.StringPtrInput
	// a string containing the SSH public key.
	PublicKey pulumi.StringInput
}

The set of arguments for constructing a SshKey resource.

func (SshKeyArgs) ElementType

func (SshKeyArgs) ElementType() reflect.Type

type SshKeyArray

type SshKeyArray []SshKeyInput

func (SshKeyArray) ElementType

func (SshKeyArray) ElementType() reflect.Type

func (SshKeyArray) ToSshKeyArrayOutput

func (i SshKeyArray) ToSshKeyArrayOutput() SshKeyArrayOutput

func (SshKeyArray) ToSshKeyArrayOutputWithContext

func (i SshKeyArray) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput

type SshKeyArrayInput

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

type SshKeyArrayOutput struct{ *pulumi.OutputState }

func (SshKeyArrayOutput) ElementType

func (SshKeyArrayOutput) ElementType() reflect.Type

func (SshKeyArrayOutput) Index

func (SshKeyArrayOutput) ToSshKeyArrayOutput

func (o SshKeyArrayOutput) ToSshKeyArrayOutput() SshKeyArrayOutput

func (SshKeyArrayOutput) ToSshKeyArrayOutputWithContext

func (o SshKeyArrayOutput) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput

type SshKeyInput

type SshKeyInput interface {
	pulumi.Input

	ToSshKeyOutput() SshKeyOutput
	ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput
}

type SshKeyMap

type SshKeyMap map[string]SshKeyInput

func (SshKeyMap) ElementType

func (SshKeyMap) ElementType() reflect.Type

func (SshKeyMap) ToSshKeyMapOutput

func (i SshKeyMap) ToSshKeyMapOutput() SshKeyMapOutput

func (SshKeyMap) ToSshKeyMapOutputWithContext

func (i SshKeyMap) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput

type SshKeyMapInput

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

type SshKeyMapOutput struct{ *pulumi.OutputState }

func (SshKeyMapOutput) ElementType

func (SshKeyMapOutput) ElementType() reflect.Type

func (SshKeyMapOutput) MapIndex

func (SshKeyMapOutput) ToSshKeyMapOutput

func (o SshKeyMapOutput) ToSshKeyMapOutput() SshKeyMapOutput

func (SshKeyMapOutput) ToSshKeyMapOutputWithContext

func (o SshKeyMapOutput) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput

type SshKeyOutput

type SshKeyOutput struct{ *pulumi.OutputState }

func (SshKeyOutput) ElementType

func (SshKeyOutput) ElementType() reflect.Type

func (SshKeyOutput) Fingerprint added in v2.2.3

func (o SshKeyOutput) Fingerprint() pulumi.StringOutput

a string containing the SSH finger print.

func (SshKeyOutput) Name added in v2.2.3

func (o SshKeyOutput) Name() pulumi.StringOutput

a string that will be the reference for the SSH key.

func (SshKeyOutput) PublicKey added in v2.2.3

func (o SshKeyOutput) PublicKey() pulumi.StringOutput

a string containing the SSH public key.

func (SshKeyOutput) ToSshKeyOutput

func (o SshKeyOutput) ToSshKeyOutput() SshKeyOutput

func (SshKeyOutput) ToSshKeyOutputWithContext

func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput

type SshKeyState

type SshKeyState struct {
	// a string containing the SSH finger print.
	Fingerprint pulumi.StringPtrInput
	// a string that will be the reference for the SSH key.
	Name pulumi.StringPtrInput
	// a string containing the SSH public key.
	PublicKey pulumi.StringPtrInput
}

func (SshKeyState) ElementType

func (SshKeyState) ElementType() reflect.Type

type Volume

type Volume struct {
	pulumi.CustomResourceState

	// The mount point of the volume (from instance's perspective)
	MountPoint pulumi.StringOutput `pulumi:"mountPoint"`
	// A name that you wish to use to refer to this volume
	Name pulumi.StringOutput `pulumi:"name"`
	// The network that the volume belongs to
	NetworkId pulumi.StringOutput `pulumi:"networkId"`
	// The region for the volume, if not declare we use the region in declared in the provider.
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// A minimum of 1 and a maximum of your available disk space from your quota specifies the size of the volume in gigabytes
	SizeGb pulumi.IntOutput `pulumi:"sizeGb"`
}

Provides a Civo volume which can be attached to an instance in order to provide expanded storage.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/v2/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Get network
		defaultNetwork, err := civo.LookupNetwork(ctx, &civo.LookupNetworkArgs{
			Label: pulumi.StringRef("Default"),
		}, nil)
		if err != nil {
			return err
		}
		// Create volume
		_, err = civo.NewVolume(ctx, "db", &civo.VolumeArgs{
			Name:      pulumi.String("backup-data"),
			SizeGb:    pulumi.Int(5),
			NetworkId: pulumi.String(defaultNetwork.Id),
		}, pulumi.DependsOn([]pulumi.Resource{
			defaultNetwork,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

using ID

```sh $ pulumi import civo:index/volume:Volume db 506f78a4-e098-11e5-ad9f-000f53306ae1 ```

func GetVolume

func GetVolume(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)

GetVolume gets an existing Volume 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 NewVolume

func NewVolume(ctx *pulumi.Context,
	name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)

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

func (*Volume) ElementType

func (*Volume) ElementType() reflect.Type

func (*Volume) ToVolumeOutput

func (i *Volume) ToVolumeOutput() VolumeOutput

func (*Volume) ToVolumeOutputWithContext

func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

type VolumeArgs

type VolumeArgs struct {
	// A name that you wish to use to refer to this volume
	Name pulumi.StringPtrInput
	// The network that the volume belongs to
	NetworkId pulumi.StringInput
	// The region for the volume, if not declare we use the region in declared in the provider.
	Region pulumi.StringPtrInput
	// A minimum of 1 and a maximum of your available disk space from your quota specifies the size of the volume in gigabytes
	SizeGb pulumi.IntInput
}

The set of arguments for constructing a Volume resource.

func (VolumeArgs) ElementType

func (VolumeArgs) ElementType() reflect.Type

type VolumeArray

type VolumeArray []VolumeInput

func (VolumeArray) ElementType

func (VolumeArray) ElementType() reflect.Type

func (VolumeArray) ToVolumeArrayOutput

func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArray) ToVolumeArrayOutputWithContext

func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeArrayInput

type VolumeArrayInput interface {
	pulumi.Input

	ToVolumeArrayOutput() VolumeArrayOutput
	ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput
}

VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:

VolumeArray{ VolumeArgs{...} }

type VolumeArrayOutput

type VolumeArrayOutput struct{ *pulumi.OutputState }

func (VolumeArrayOutput) ElementType

func (VolumeArrayOutput) ElementType() reflect.Type

func (VolumeArrayOutput) Index

func (VolumeArrayOutput) ToVolumeArrayOutput

func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArrayOutput) ToVolumeArrayOutputWithContext

func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeAttachment

type VolumeAttachment struct {
	pulumi.CustomResourceState

	// The ID of target instance for attachment
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The region for the volume attachment
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// The ID of target volume for attachment
	VolumeId pulumi.StringOutput `pulumi:"volumeId"`
}

Manages volume attachment/detachment to an instance.

func GetVolumeAttachment

func GetVolumeAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeAttachmentState, opts ...pulumi.ResourceOption) (*VolumeAttachment, error)

GetVolumeAttachment gets an existing VolumeAttachment 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 NewVolumeAttachment

func NewVolumeAttachment(ctx *pulumi.Context,
	name string, args *VolumeAttachmentArgs, opts ...pulumi.ResourceOption) (*VolumeAttachment, error)

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

func (*VolumeAttachment) ElementType

func (*VolumeAttachment) ElementType() reflect.Type

func (*VolumeAttachment) ToVolumeAttachmentOutput

func (i *VolumeAttachment) ToVolumeAttachmentOutput() VolumeAttachmentOutput

func (*VolumeAttachment) ToVolumeAttachmentOutputWithContext

func (i *VolumeAttachment) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput

type VolumeAttachmentArgs

type VolumeAttachmentArgs struct {
	// The ID of target instance for attachment
	InstanceId pulumi.StringInput
	// The region for the volume attachment
	Region pulumi.StringPtrInput
	// The ID of target volume for attachment
	VolumeId pulumi.StringInput
}

The set of arguments for constructing a VolumeAttachment resource.

func (VolumeAttachmentArgs) ElementType

func (VolumeAttachmentArgs) ElementType() reflect.Type

type VolumeAttachmentArray

type VolumeAttachmentArray []VolumeAttachmentInput

func (VolumeAttachmentArray) ElementType

func (VolumeAttachmentArray) ElementType() reflect.Type

func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutput

func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput

func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext

func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput

type VolumeAttachmentArrayInput

type VolumeAttachmentArrayInput interface {
	pulumi.Input

	ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
	ToVolumeAttachmentArrayOutputWithContext(context.Context) VolumeAttachmentArrayOutput
}

VolumeAttachmentArrayInput is an input type that accepts VolumeAttachmentArray and VolumeAttachmentArrayOutput values. You can construct a concrete instance of `VolumeAttachmentArrayInput` via:

VolumeAttachmentArray{ VolumeAttachmentArgs{...} }

type VolumeAttachmentArrayOutput

type VolumeAttachmentArrayOutput struct{ *pulumi.OutputState }

func (VolumeAttachmentArrayOutput) ElementType

func (VolumeAttachmentArrayOutput) Index

func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput

func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput

func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext

func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput

type VolumeAttachmentInput

type VolumeAttachmentInput interface {
	pulumi.Input

	ToVolumeAttachmentOutput() VolumeAttachmentOutput
	ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
}

type VolumeAttachmentMap

type VolumeAttachmentMap map[string]VolumeAttachmentInput

func (VolumeAttachmentMap) ElementType

func (VolumeAttachmentMap) ElementType() reflect.Type

func (VolumeAttachmentMap) ToVolumeAttachmentMapOutput

func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput

func (VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext

func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput

type VolumeAttachmentMapInput

type VolumeAttachmentMapInput interface {
	pulumi.Input

	ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
	ToVolumeAttachmentMapOutputWithContext(context.Context) VolumeAttachmentMapOutput
}

VolumeAttachmentMapInput is an input type that accepts VolumeAttachmentMap and VolumeAttachmentMapOutput values. You can construct a concrete instance of `VolumeAttachmentMapInput` via:

VolumeAttachmentMap{ "key": VolumeAttachmentArgs{...} }

type VolumeAttachmentMapOutput

type VolumeAttachmentMapOutput struct{ *pulumi.OutputState }

func (VolumeAttachmentMapOutput) ElementType

func (VolumeAttachmentMapOutput) ElementType() reflect.Type

func (VolumeAttachmentMapOutput) MapIndex

func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput

func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput

func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext

func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput

type VolumeAttachmentOutput

type VolumeAttachmentOutput struct{ *pulumi.OutputState }

func (VolumeAttachmentOutput) ElementType

func (VolumeAttachmentOutput) ElementType() reflect.Type

func (VolumeAttachmentOutput) InstanceId added in v2.2.3

The ID of target instance for attachment

func (VolumeAttachmentOutput) Region added in v2.2.3

The region for the volume attachment

func (VolumeAttachmentOutput) ToVolumeAttachmentOutput

func (o VolumeAttachmentOutput) ToVolumeAttachmentOutput() VolumeAttachmentOutput

func (VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext

func (o VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput

func (VolumeAttachmentOutput) VolumeId added in v2.2.3

The ID of target volume for attachment

type VolumeAttachmentState

type VolumeAttachmentState struct {
	// The ID of target instance for attachment
	InstanceId pulumi.StringPtrInput
	// The region for the volume attachment
	Region pulumi.StringPtrInput
	// The ID of target volume for attachment
	VolumeId pulumi.StringPtrInput
}

func (VolumeAttachmentState) ElementType

func (VolumeAttachmentState) ElementType() reflect.Type

type VolumeInput

type VolumeInput interface {
	pulumi.Input

	ToVolumeOutput() VolumeOutput
	ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
}

type VolumeMap

type VolumeMap map[string]VolumeInput

func (VolumeMap) ElementType

func (VolumeMap) ElementType() reflect.Type

func (VolumeMap) ToVolumeMapOutput

func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMap) ToVolumeMapOutputWithContext

func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeMapInput

type VolumeMapInput interface {
	pulumi.Input

	ToVolumeMapOutput() VolumeMapOutput
	ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput
}

VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:

VolumeMap{ "key": VolumeArgs{...} }

type VolumeMapOutput

type VolumeMapOutput struct{ *pulumi.OutputState }

func (VolumeMapOutput) ElementType

func (VolumeMapOutput) ElementType() reflect.Type

func (VolumeMapOutput) MapIndex

func (VolumeMapOutput) ToVolumeMapOutput

func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMapOutput) ToVolumeMapOutputWithContext

func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeOutput

type VolumeOutput struct{ *pulumi.OutputState }

func (VolumeOutput) ElementType

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) MountPoint added in v2.2.3

func (o VolumeOutput) MountPoint() pulumi.StringOutput

The mount point of the volume (from instance's perspective)

func (VolumeOutput) Name added in v2.2.3

func (o VolumeOutput) Name() pulumi.StringOutput

A name that you wish to use to refer to this volume

func (VolumeOutput) NetworkId added in v2.2.3

func (o VolumeOutput) NetworkId() pulumi.StringOutput

The network that the volume belongs to

func (VolumeOutput) Region added in v2.2.3

func (o VolumeOutput) Region() pulumi.StringPtrOutput

The region for the volume, if not declare we use the region in declared in the provider.

func (VolumeOutput) SizeGb added in v2.2.3

func (o VolumeOutput) SizeGb() pulumi.IntOutput

A minimum of 1 and a maximum of your available disk space from your quota specifies the size of the volume in gigabytes

func (VolumeOutput) ToVolumeOutput

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext

func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

type VolumeState

type VolumeState struct {
	// The mount point of the volume (from instance's perspective)
	MountPoint pulumi.StringPtrInput
	// A name that you wish to use to refer to this volume
	Name pulumi.StringPtrInput
	// The network that the volume belongs to
	NetworkId pulumi.StringPtrInput
	// The region for the volume, if not declare we use the region in declared in the provider.
	Region pulumi.StringPtrInput
	// A minimum of 1 and a maximum of your available disk space from your quota specifies the size of the volume in gigabytes
	SizeGb pulumi.IntPtrInput
}

func (VolumeState) ElementType

func (VolumeState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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