civo

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing Civo cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.3.0

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

type DnsDomainName

type DnsDomainName struct {
	pulumi.CustomResourceState

	// The id account 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/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

## Import

Domains can be imported using the `domain name`, e.g.

```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 added in v0.2.1

func (*DnsDomainName) ElementType() reflect.Type

func (*DnsDomainName) ToDnsDomainNameOutput added in v0.2.1

func (i *DnsDomainName) ToDnsDomainNameOutput() DnsDomainNameOutput

func (*DnsDomainName) ToDnsDomainNameOutputWithContext added in v0.2.1

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

func (*DnsDomainName) ToDnsDomainNamePtrOutput added in v0.3.1

func (i *DnsDomainName) ToDnsDomainNamePtrOutput() DnsDomainNamePtrOutput

func (*DnsDomainName) ToDnsDomainNamePtrOutputWithContext added in v0.3.1

func (i *DnsDomainName) ToDnsDomainNamePtrOutputWithContext(ctx context.Context) DnsDomainNamePtrOutput

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 added in v0.3.1

type DnsDomainNameArray []DnsDomainNameInput

func (DnsDomainNameArray) ElementType added in v0.3.1

func (DnsDomainNameArray) ElementType() reflect.Type

func (DnsDomainNameArray) ToDnsDomainNameArrayOutput added in v0.3.1

func (i DnsDomainNameArray) ToDnsDomainNameArrayOutput() DnsDomainNameArrayOutput

func (DnsDomainNameArray) ToDnsDomainNameArrayOutputWithContext added in v0.3.1

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

type DnsDomainNameArrayInput added in v0.3.1

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 added in v0.3.1

type DnsDomainNameArrayOutput struct{ *pulumi.OutputState }

func (DnsDomainNameArrayOutput) ElementType added in v0.3.1

func (DnsDomainNameArrayOutput) ElementType() reflect.Type

func (DnsDomainNameArrayOutput) Index added in v0.3.1

func (DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutput added in v0.3.1

func (o DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutput() DnsDomainNameArrayOutput

func (DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutputWithContext added in v0.3.1

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

type DnsDomainNameInput added in v0.2.1

type DnsDomainNameInput interface {
	pulumi.Input

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

type DnsDomainNameMap added in v0.3.1

type DnsDomainNameMap map[string]DnsDomainNameInput

func (DnsDomainNameMap) ElementType added in v0.3.1

func (DnsDomainNameMap) ElementType() reflect.Type

func (DnsDomainNameMap) ToDnsDomainNameMapOutput added in v0.3.1

func (i DnsDomainNameMap) ToDnsDomainNameMapOutput() DnsDomainNameMapOutput

func (DnsDomainNameMap) ToDnsDomainNameMapOutputWithContext added in v0.3.1

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

type DnsDomainNameMapInput added in v0.3.1

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 added in v0.3.1

type DnsDomainNameMapOutput struct{ *pulumi.OutputState }

func (DnsDomainNameMapOutput) ElementType added in v0.3.1

func (DnsDomainNameMapOutput) ElementType() reflect.Type

func (DnsDomainNameMapOutput) MapIndex added in v0.3.1

func (DnsDomainNameMapOutput) ToDnsDomainNameMapOutput added in v0.3.1

func (o DnsDomainNameMapOutput) ToDnsDomainNameMapOutput() DnsDomainNameMapOutput

func (DnsDomainNameMapOutput) ToDnsDomainNameMapOutputWithContext added in v0.3.1

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

type DnsDomainNameOutput added in v0.2.1

type DnsDomainNameOutput struct {
	*pulumi.OutputState
}

func (DnsDomainNameOutput) ElementType added in v0.2.1

func (DnsDomainNameOutput) ElementType() reflect.Type

func (DnsDomainNameOutput) ToDnsDomainNameOutput added in v0.2.1

func (o DnsDomainNameOutput) ToDnsDomainNameOutput() DnsDomainNameOutput

func (DnsDomainNameOutput) ToDnsDomainNameOutputWithContext added in v0.2.1

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

func (DnsDomainNameOutput) ToDnsDomainNamePtrOutput added in v0.3.1

func (o DnsDomainNameOutput) ToDnsDomainNamePtrOutput() DnsDomainNamePtrOutput

func (DnsDomainNameOutput) ToDnsDomainNamePtrOutputWithContext added in v0.3.1

func (o DnsDomainNameOutput) ToDnsDomainNamePtrOutputWithContext(ctx context.Context) DnsDomainNamePtrOutput

type DnsDomainNamePtrInput added in v0.3.1

type DnsDomainNamePtrInput interface {
	pulumi.Input

	ToDnsDomainNamePtrOutput() DnsDomainNamePtrOutput
	ToDnsDomainNamePtrOutputWithContext(ctx context.Context) DnsDomainNamePtrOutput
}

type DnsDomainNamePtrOutput added in v0.3.1

type DnsDomainNamePtrOutput struct {
	*pulumi.OutputState
}

func (DnsDomainNamePtrOutput) ElementType added in v0.3.1

func (DnsDomainNamePtrOutput) ElementType() reflect.Type

func (DnsDomainNamePtrOutput) ToDnsDomainNamePtrOutput added in v0.3.1

func (o DnsDomainNamePtrOutput) ToDnsDomainNamePtrOutput() DnsDomainNamePtrOutput

func (DnsDomainNamePtrOutput) ToDnsDomainNamePtrOutputWithContext added in v0.3.1

func (o DnsDomainNamePtrOutput) ToDnsDomainNamePtrOutputWithContext(ctx context.Context) DnsDomainNamePtrOutput

type DnsDomainNameState

type DnsDomainNameState struct {
	// The id account 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 id account of the domain
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The date when it was created in UTC format
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The id of the domain
	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 record type from A, CNAME, MX, SRV or TXT
	Type pulumi.StringOutput `pulumi:"type"`
	// The date when it was updated in UTC format
	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.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.NewDnsDomainRecord(ctx, "www", &civo.DnsDomainRecordArgs{
			DomainId: pulumi.Any(civo_dns_domain_name.Main.Id),
			Type:     pulumi.String("A"),
			Value:    pulumi.Any(civo_instance.Foo.Public_ip),
			Ttl:      pulumi.Int(600),
		}, pulumi.DependsOn([]pulumi.Resource{
			civo_dns_domain_name.Main,
			civo_instance.Foo,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Domains can be imported using the `id_domain:id_domain_record`, e.g.

```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 added in v0.2.1

func (*DnsDomainRecord) ElementType() reflect.Type

func (*DnsDomainRecord) ToDnsDomainRecordOutput added in v0.2.1

func (i *DnsDomainRecord) ToDnsDomainRecordOutput() DnsDomainRecordOutput

func (*DnsDomainRecord) ToDnsDomainRecordOutputWithContext added in v0.2.1

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

func (*DnsDomainRecord) ToDnsDomainRecordPtrOutput added in v0.3.1

func (i *DnsDomainRecord) ToDnsDomainRecordPtrOutput() DnsDomainRecordPtrOutput

func (*DnsDomainRecord) ToDnsDomainRecordPtrOutputWithContext added in v0.3.1

func (i *DnsDomainRecord) ToDnsDomainRecordPtrOutputWithContext(ctx context.Context) DnsDomainRecordPtrOutput

type DnsDomainRecordArgs

type DnsDomainRecordArgs struct {
	// The id of the domain
	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 record type from A, CNAME, MX, SRV 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 added in v0.3.1

type DnsDomainRecordArray []DnsDomainRecordInput

func (DnsDomainRecordArray) ElementType added in v0.3.1

func (DnsDomainRecordArray) ElementType() reflect.Type

func (DnsDomainRecordArray) ToDnsDomainRecordArrayOutput added in v0.3.1

func (i DnsDomainRecordArray) ToDnsDomainRecordArrayOutput() DnsDomainRecordArrayOutput

func (DnsDomainRecordArray) ToDnsDomainRecordArrayOutputWithContext added in v0.3.1

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

type DnsDomainRecordArrayInput added in v0.3.1

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 added in v0.3.1

type DnsDomainRecordArrayOutput struct{ *pulumi.OutputState }

func (DnsDomainRecordArrayOutput) ElementType added in v0.3.1

func (DnsDomainRecordArrayOutput) ElementType() reflect.Type

func (DnsDomainRecordArrayOutput) Index added in v0.3.1

func (DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutput added in v0.3.1

func (o DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutput() DnsDomainRecordArrayOutput

func (DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutputWithContext added in v0.3.1

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

type DnsDomainRecordInput added in v0.2.1

type DnsDomainRecordInput interface {
	pulumi.Input

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

type DnsDomainRecordMap added in v0.3.1

type DnsDomainRecordMap map[string]DnsDomainRecordInput

func (DnsDomainRecordMap) ElementType added in v0.3.1

func (DnsDomainRecordMap) ElementType() reflect.Type

func (DnsDomainRecordMap) ToDnsDomainRecordMapOutput added in v0.3.1

func (i DnsDomainRecordMap) ToDnsDomainRecordMapOutput() DnsDomainRecordMapOutput

func (DnsDomainRecordMap) ToDnsDomainRecordMapOutputWithContext added in v0.3.1

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

type DnsDomainRecordMapInput added in v0.3.1

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 added in v0.3.1

type DnsDomainRecordMapOutput struct{ *pulumi.OutputState }

func (DnsDomainRecordMapOutput) ElementType added in v0.3.1

func (DnsDomainRecordMapOutput) ElementType() reflect.Type

func (DnsDomainRecordMapOutput) MapIndex added in v0.3.1

func (DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutput added in v0.3.1

func (o DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutput() DnsDomainRecordMapOutput

func (DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutputWithContext added in v0.3.1

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

type DnsDomainRecordOutput added in v0.2.1

type DnsDomainRecordOutput struct {
	*pulumi.OutputState
}

func (DnsDomainRecordOutput) ElementType added in v0.2.1

func (DnsDomainRecordOutput) ElementType() reflect.Type

func (DnsDomainRecordOutput) ToDnsDomainRecordOutput added in v0.2.1

func (o DnsDomainRecordOutput) ToDnsDomainRecordOutput() DnsDomainRecordOutput

func (DnsDomainRecordOutput) ToDnsDomainRecordOutputWithContext added in v0.2.1

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

func (DnsDomainRecordOutput) ToDnsDomainRecordPtrOutput added in v0.3.1

func (o DnsDomainRecordOutput) ToDnsDomainRecordPtrOutput() DnsDomainRecordPtrOutput

func (DnsDomainRecordOutput) ToDnsDomainRecordPtrOutputWithContext added in v0.3.1

func (o DnsDomainRecordOutput) ToDnsDomainRecordPtrOutputWithContext(ctx context.Context) DnsDomainRecordPtrOutput

type DnsDomainRecordPtrInput added in v0.3.1

type DnsDomainRecordPtrInput interface {
	pulumi.Input

	ToDnsDomainRecordPtrOutput() DnsDomainRecordPtrOutput
	ToDnsDomainRecordPtrOutputWithContext(ctx context.Context) DnsDomainRecordPtrOutput
}

type DnsDomainRecordPtrOutput added in v0.3.1

type DnsDomainRecordPtrOutput struct {
	*pulumi.OutputState
}

func (DnsDomainRecordPtrOutput) ElementType added in v0.3.1

func (DnsDomainRecordPtrOutput) ElementType() reflect.Type

func (DnsDomainRecordPtrOutput) ToDnsDomainRecordPtrOutput added in v0.3.1

func (o DnsDomainRecordPtrOutput) ToDnsDomainRecordPtrOutput() DnsDomainRecordPtrOutput

func (DnsDomainRecordPtrOutput) ToDnsDomainRecordPtrOutputWithContext added in v0.3.1

func (o DnsDomainRecordPtrOutput) ToDnsDomainRecordPtrOutputWithContext(ctx context.Context) DnsDomainRecordPtrOutput

type DnsDomainRecordState

type DnsDomainRecordState struct {
	// The id account of the domain
	AccountId pulumi.StringPtrInput
	// The date when it was created in UTC format
	CreatedAt pulumi.StringPtrInput
	// The id of the domain
	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 record type from A, CNAME, MX, SRV or TXT
	Type pulumi.StringPtrInput
	// The date when it was updated in UTC format
	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 Firewall name
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the network of the firewall
	NetworkId pulumi.StringOutput `pulumi:"networkId"`
	// The Firewall region, if is not defined we use the global defined in the provider
	Region pulumi.StringPtrOutput `pulumi:"region"`
}

Provides a Civo Cloud Firewall resource. This can be used to create, modify, and delete Firewalls.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.NewFirewall(ctx, "www", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example with region ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.NewFirewall(ctx, "www", &civo.FirewallArgs{
			Region: pulumi.String("NYC1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Firewalls can be imported using the firewall `id`, e.g.

```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 added in v0.2.1

func (*Firewall) ElementType() reflect.Type

func (*Firewall) ToFirewallOutput added in v0.2.1

func (i *Firewall) ToFirewallOutput() FirewallOutput

func (*Firewall) ToFirewallOutputWithContext added in v0.2.1

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

func (*Firewall) ToFirewallPtrOutput added in v0.3.1

func (i *Firewall) ToFirewallPtrOutput() FirewallPtrOutput

func (*Firewall) ToFirewallPtrOutputWithContext added in v0.3.1

func (i *Firewall) ToFirewallPtrOutputWithContext(ctx context.Context) FirewallPtrOutput

type FirewallArgs

type FirewallArgs struct {
	// The Firewall name
	Name pulumi.StringPtrInput
	// The ID of the network of the firewall
	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 added in v0.3.1

type FirewallArray []FirewallInput

func (FirewallArray) ElementType added in v0.3.1

func (FirewallArray) ElementType() reflect.Type

func (FirewallArray) ToFirewallArrayOutput added in v0.3.1

func (i FirewallArray) ToFirewallArrayOutput() FirewallArrayOutput

func (FirewallArray) ToFirewallArrayOutputWithContext added in v0.3.1

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

type FirewallArrayInput added in v0.3.1

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 added in v0.3.1

type FirewallArrayOutput struct{ *pulumi.OutputState }

func (FirewallArrayOutput) ElementType added in v0.3.1

func (FirewallArrayOutput) ElementType() reflect.Type

func (FirewallArrayOutput) Index added in v0.3.1

func (FirewallArrayOutput) ToFirewallArrayOutput added in v0.3.1

func (o FirewallArrayOutput) ToFirewallArrayOutput() FirewallArrayOutput

func (FirewallArrayOutput) ToFirewallArrayOutputWithContext added in v0.3.1

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

type FirewallInput added in v0.2.1

type FirewallInput interface {
	pulumi.Input

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

type FirewallMap added in v0.3.1

type FirewallMap map[string]FirewallInput

func (FirewallMap) ElementType added in v0.3.1

func (FirewallMap) ElementType() reflect.Type

func (FirewallMap) ToFirewallMapOutput added in v0.3.1

func (i FirewallMap) ToFirewallMapOutput() FirewallMapOutput

func (FirewallMap) ToFirewallMapOutputWithContext added in v0.3.1

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

type FirewallMapInput added in v0.3.1

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 added in v0.3.1

type FirewallMapOutput struct{ *pulumi.OutputState }

func (FirewallMapOutput) ElementType added in v0.3.1

func (FirewallMapOutput) ElementType() reflect.Type

func (FirewallMapOutput) MapIndex added in v0.3.1

func (FirewallMapOutput) ToFirewallMapOutput added in v0.3.1

func (o FirewallMapOutput) ToFirewallMapOutput() FirewallMapOutput

func (FirewallMapOutput) ToFirewallMapOutputWithContext added in v0.3.1

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

type FirewallOutput added in v0.2.1

type FirewallOutput struct {
	*pulumi.OutputState
}

func (FirewallOutput) ElementType added in v0.2.1

func (FirewallOutput) ElementType() reflect.Type

func (FirewallOutput) ToFirewallOutput added in v0.2.1

func (o FirewallOutput) ToFirewallOutput() FirewallOutput

func (FirewallOutput) ToFirewallOutputWithContext added in v0.2.1

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

func (FirewallOutput) ToFirewallPtrOutput added in v0.3.1

func (o FirewallOutput) ToFirewallPtrOutput() FirewallPtrOutput

func (FirewallOutput) ToFirewallPtrOutputWithContext added in v0.3.1

func (o FirewallOutput) ToFirewallPtrOutputWithContext(ctx context.Context) FirewallPtrOutput

type FirewallPtrInput added in v0.3.1

type FirewallPtrInput interface {
	pulumi.Input

	ToFirewallPtrOutput() FirewallPtrOutput
	ToFirewallPtrOutputWithContext(ctx context.Context) FirewallPtrOutput
}

type FirewallPtrOutput added in v0.3.1

type FirewallPtrOutput struct {
	*pulumi.OutputState
}

func (FirewallPtrOutput) ElementType added in v0.3.1

func (FirewallPtrOutput) ElementType() reflect.Type

func (FirewallPtrOutput) ToFirewallPtrOutput added in v0.3.1

func (o FirewallPtrOutput) ToFirewallPtrOutput() FirewallPtrOutput

func (FirewallPtrOutput) ToFirewallPtrOutputWithContext added in v0.3.1

func (o FirewallPtrOutput) ToFirewallPtrOutputWithContext(ctx context.Context) FirewallPtrOutput

type FirewallRule

type FirewallRule struct {
	pulumi.CustomResourceState

	// the IP address of the other end (i.e. not your instance) to affect, or a valid network CIDR (defaults to being globally applied, i.e. 0.0.0.0/0).
	Cidrs pulumi.StringArrayOutput `pulumi:"cidrs"`
	// will this rule affect ingress traffic
	Direction pulumi.StringOutput `pulumi:"direction"`
	// The end port where traffic to be allowed.
	EndPort pulumi.StringOutput `pulumi:"endPort"`
	// The Firewall id
	FirewallId pulumi.StringOutput `pulumi:"firewallId"`
	// a string that will be the displayed name/reference for this rule (optional)
	Label pulumi.StringOutput `pulumi:"label"`
	// This may be one of "tcp", "udp", or "icmp".
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// The region for this rule
	Region pulumi.StringOutput `pulumi:"region"`
	// The start port where traffic to be allowed.
	StartPort pulumi.StringOutput `pulumi:"startPort"`
}

Provides a Civo Cloud Firewall Rule resource. This can be used to create, modify, and delete Firewalls Rules. This resource don't have an update option because the backend don't have the support for that, so in this case we use ForceNew for all object in the resource.

## Import

Firewalls can be imported using the firewall `firewall_id:firewall_rule_id`, e.g.

```sh

$ pulumi import civo:index/firewallRule:FirewallRule http b8ecd2ab-2267-4a5e-8692-cbf1d32583e3:4b0022ee-00b2-4f81-a40d-b4f8728923a7

```

func GetFirewallRule

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

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

func NewFirewallRule

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

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

func (*FirewallRule) ElementType added in v0.2.1

func (*FirewallRule) ElementType() reflect.Type

func (*FirewallRule) ToFirewallRuleOutput added in v0.2.1

func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput

func (*FirewallRule) ToFirewallRuleOutputWithContext added in v0.2.1

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

func (*FirewallRule) ToFirewallRulePtrOutput added in v0.3.1

func (i *FirewallRule) ToFirewallRulePtrOutput() FirewallRulePtrOutput

func (*FirewallRule) ToFirewallRulePtrOutputWithContext added in v0.3.1

func (i *FirewallRule) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput

type FirewallRuleArgs

type FirewallRuleArgs struct {
	// the IP address of the other end (i.e. not your instance) to affect, or a valid network CIDR (defaults to being globally applied, i.e. 0.0.0.0/0).
	Cidrs pulumi.StringArrayInput
	// will this rule affect ingress traffic
	Direction pulumi.StringPtrInput
	// The end port where traffic to be allowed.
	EndPort pulumi.StringPtrInput
	// The Firewall id
	FirewallId pulumi.StringInput
	// a string that will be the displayed name/reference for this rule (optional)
	Label pulumi.StringPtrInput
	// This may be one of "tcp", "udp", or "icmp".
	Protocol pulumi.StringPtrInput
	// The region for this rule
	Region pulumi.StringPtrInput
	// The start port where traffic to be allowed.
	StartPort pulumi.StringPtrInput
}

The set of arguments for constructing a FirewallRule resource.

func (FirewallRuleArgs) ElementType

func (FirewallRuleArgs) ElementType() reflect.Type

type FirewallRuleArray added in v0.3.1

type FirewallRuleArray []FirewallRuleInput

func (FirewallRuleArray) ElementType added in v0.3.1

func (FirewallRuleArray) ElementType() reflect.Type

func (FirewallRuleArray) ToFirewallRuleArrayOutput added in v0.3.1

func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput

func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext added in v0.3.1

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

type FirewallRuleArrayInput added in v0.3.1

type FirewallRuleArrayInput interface {
	pulumi.Input

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

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

FirewallRuleArray{ FirewallRuleArgs{...} }

type FirewallRuleArrayOutput added in v0.3.1

type FirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (FirewallRuleArrayOutput) ElementType added in v0.3.1

func (FirewallRuleArrayOutput) ElementType() reflect.Type

func (FirewallRuleArrayOutput) Index added in v0.3.1

func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput added in v0.3.1

func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput

func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext added in v0.3.1

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

type FirewallRuleInput added in v0.2.1

type FirewallRuleInput interface {
	pulumi.Input

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

type FirewallRuleMap added in v0.3.1

type FirewallRuleMap map[string]FirewallRuleInput

func (FirewallRuleMap) ElementType added in v0.3.1

func (FirewallRuleMap) ElementType() reflect.Type

func (FirewallRuleMap) ToFirewallRuleMapOutput added in v0.3.1

func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput

func (FirewallRuleMap) ToFirewallRuleMapOutputWithContext added in v0.3.1

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

type FirewallRuleMapInput added in v0.3.1

type FirewallRuleMapInput interface {
	pulumi.Input

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

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

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

type FirewallRuleMapOutput added in v0.3.1

type FirewallRuleMapOutput struct{ *pulumi.OutputState }

func (FirewallRuleMapOutput) ElementType added in v0.3.1

func (FirewallRuleMapOutput) ElementType() reflect.Type

func (FirewallRuleMapOutput) MapIndex added in v0.3.1

func (FirewallRuleMapOutput) ToFirewallRuleMapOutput added in v0.3.1

func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput

func (FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext added in v0.3.1

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

type FirewallRuleOutput added in v0.2.1

type FirewallRuleOutput struct {
	*pulumi.OutputState
}

func (FirewallRuleOutput) ElementType added in v0.2.1

func (FirewallRuleOutput) ElementType() reflect.Type

func (FirewallRuleOutput) ToFirewallRuleOutput added in v0.2.1

func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput

func (FirewallRuleOutput) ToFirewallRuleOutputWithContext added in v0.2.1

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

func (FirewallRuleOutput) ToFirewallRulePtrOutput added in v0.3.1

func (o FirewallRuleOutput) ToFirewallRulePtrOutput() FirewallRulePtrOutput

func (FirewallRuleOutput) ToFirewallRulePtrOutputWithContext added in v0.3.1

func (o FirewallRuleOutput) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput

type FirewallRulePtrInput added in v0.3.1

type FirewallRulePtrInput interface {
	pulumi.Input

	ToFirewallRulePtrOutput() FirewallRulePtrOutput
	ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
}

type FirewallRulePtrOutput added in v0.3.1

type FirewallRulePtrOutput struct {
	*pulumi.OutputState
}

func (FirewallRulePtrOutput) ElementType added in v0.3.1

func (FirewallRulePtrOutput) ElementType() reflect.Type

func (FirewallRulePtrOutput) ToFirewallRulePtrOutput added in v0.3.1

func (o FirewallRulePtrOutput) ToFirewallRulePtrOutput() FirewallRulePtrOutput

func (FirewallRulePtrOutput) ToFirewallRulePtrOutputWithContext added in v0.3.1

func (o FirewallRulePtrOutput) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput

type FirewallRuleState

type FirewallRuleState struct {
	// the IP address of the other end (i.e. not your instance) to affect, or a valid network CIDR (defaults to being globally applied, i.e. 0.0.0.0/0).
	Cidrs pulumi.StringArrayInput
	// will this rule affect ingress traffic
	Direction pulumi.StringPtrInput
	// The end port where traffic to be allowed.
	EndPort pulumi.StringPtrInput
	// The Firewall id
	FirewallId pulumi.StringPtrInput
	// a string that will be the displayed name/reference for this rule (optional)
	Label pulumi.StringPtrInput
	// This may be one of "tcp", "udp", or "icmp".
	Protocol pulumi.StringPtrInput
	// The region for this rule
	Region pulumi.StringPtrInput
	// The start port where traffic to be allowed.
	StartPort pulumi.StringPtrInput
}

func (FirewallRuleState) ElementType

func (FirewallRuleState) ElementType() reflect.Type

type FirewallState

type FirewallState struct {
	// The Firewall name
	Name pulumi.StringPtrInput
	// The ID of the network of the firewall
	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 GetInstancesArgs

type GetInstancesArgs struct {
	// Filter the results. The `filter` block is documented below.
	Filters []GetInstancesFilter `pulumi:"filters"`
	// If is used, them all instances will be from that region.
	Region *string `pulumi:"region"`
	// Sort the results. The `sort` block is documented below.
	Sorts []GetInstancesSort `pulumi:"sorts"`
}

A collection of arguments for invoking getInstances.

type GetInstancesFilter

type GetInstancesFilter struct {
	All *bool `pulumi:"all"`
	// Filter the Instances by this key. This may be one of '`id`, `hostname`, `publicIp`, `privateIp`,
	// `pseudoIp`, `size`, `cpuCores`, `ramMb`, `diskGb`, `template` or `createdAt`.
	Key     string  `pulumi:"key"`
	MatchBy *string `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves Instances
	// where the `key` field takes on one or more of the values provided here.
	Values []string `pulumi:"values"`
}

type GetInstancesFilterArgs

type GetInstancesFilterArgs struct {
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the Instances by this key. This may be one of '`id`, `hostname`, `publicIp`, `privateIp`,
	// `pseudoIp`, `size`, `cpuCores`, `ramMb`, `diskGb`, `template` or `createdAt`.
	Key     pulumi.StringInput    `pulumi:"key"`
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves Instances
	// where the `key` field takes on one or more 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 added in v1.0.1

func (GetInstancesFilterOutput) ElementType

func (GetInstancesFilterOutput) ElementType() reflect.Type

func (GetInstancesFilterOutput) Key

Filter the Instances by this key. This may be one of '`id`, `hostname`, `publicIp`, `privateIp`, `pseudoIp`, `size`, `cpuCores`, `ramMb`, `diskGb`, `template` or `createdAt`.

func (GetInstancesFilterOutput) MatchBy added in v1.0.1

func (GetInstancesFilterOutput) ToGetInstancesFilterOutput

func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput

func (GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext

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

func (GetInstancesFilterOutput) Values

A list of values to match against the `key` field. Only retrieves Instances where the `key` field takes on one or more of the values provided here.

type GetInstancesInstance

type GetInstancesInstance struct {
	// Total cpu of the inatance.
	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 Instance hostname.
	Hostname string `pulumi:"hostname"`
	// The ID of the Instance.
	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"`
	// This 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"`
	// If is used, them all instances will be from that region.
	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.
	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 template to used to build the instance.
	Template string `pulumi:"template"`
}

type GetInstancesInstanceArgs

type GetInstancesInstanceArgs struct {
	// Total cpu of the inatance.
	CpuCores pulumi.IntInput `pulumi:"cpuCores"`
	// The date of creation of the instance
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The size of the disk.
	DiskGb pulumi.IntInput `pulumi:"diskGb"`
	// The ID of the firewall used.
	FirewallId pulumi.StringInput `pulumi:"firewallId"`
	// The Instance hostname.
	Hostname pulumi.StringInput `pulumi:"hostname"`
	// The ID of the Instance.
	Id pulumi.StringInput `pulumi:"id"`
	// Instance initial password
	InitialPassword pulumi.StringInput `pulumi:"initialPassword"`
	// The name of the initial user created on the server.
	InitialUser pulumi.StringInput `pulumi:"initialUser"`
	// This will be the ID of the network.
	NetworkId pulumi.StringInput `pulumi:"networkId"`
	// The notes of the instance.
	Notes pulumi.StringInput `pulumi:"notes"`
	// The private ip.
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
	// Is the ip that is used to route the public ip from the internet to the instance using NAT
	PseudoIp pulumi.StringInput `pulumi:"pseudoIp"`
	// The public ip.
	PublicIp pulumi.StringInput `pulumi:"publicIp"`
	// Total ram of the instance.
	RamMb pulumi.IntInput `pulumi:"ramMb"`
	// If is used, them all instances will be from that region.
	Region pulumi.StringInput `pulumi:"region"`
	// A fully qualified domain name.
	ReverseDns pulumi.StringInput `pulumi:"reverseDns"`
	// the contents of a script uploaded
	Script pulumi.StringInput `pulumi:"script"`
	// The name of the size.
	Size pulumi.StringInput `pulumi:"size"`
	// The ID SSH.
	SshkeyId pulumi.StringInput `pulumi:"sshkeyId"`
	// The status of the instance
	Status pulumi.StringInput `pulumi:"status"`
	// An optional list of tags
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// The ID for the template to used to build 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

Total cpu of the inatance.

func (GetInstancesInstanceOutput) CreatedAt

The date of creation of the instance

func (GetInstancesInstanceOutput) DiskGb

The size of the disk.

func (GetInstancesInstanceOutput) ElementType

func (GetInstancesInstanceOutput) ElementType() reflect.Type

func (GetInstancesInstanceOutput) FirewallId

The ID of the firewall used.

func (GetInstancesInstanceOutput) Hostname

The Instance hostname.

func (GetInstancesInstanceOutput) Id

The ID of the Instance.

func (GetInstancesInstanceOutput) InitialPassword

func (o GetInstancesInstanceOutput) InitialPassword() pulumi.StringOutput

Instance initial password

func (GetInstancesInstanceOutput) InitialUser

The name of the initial user created on the server.

func (GetInstancesInstanceOutput) NetworkId

This will be the ID of the network.

func (GetInstancesInstanceOutput) Notes

The notes of the instance.

func (GetInstancesInstanceOutput) PrivateIp

The private ip.

func (GetInstancesInstanceOutput) PseudoIp

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

func (GetInstancesInstanceOutput) PublicIp

The public ip.

func (GetInstancesInstanceOutput) RamMb

Total ram of the instance.

func (GetInstancesInstanceOutput) Region added in v1.0.1

If is used, them all instances will be from that region.

func (GetInstancesInstanceOutput) ReverseDns

A fully qualified domain name.

func (GetInstancesInstanceOutput) Script

the contents of a script uploaded

func (GetInstancesInstanceOutput) Size

The name of the size.

func (GetInstancesInstanceOutput) SshkeyId

The ID SSH.

func (GetInstancesInstanceOutput) Status

The status of the instance

func (GetInstancesInstanceOutput) Tags

An optional list of tags

func (GetInstancesInstanceOutput) Template

The ID for the template to used to build the instance.

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext

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

type GetInstancesResult

type GetInstancesResult struct {
	Filters []GetInstancesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of Instances satisfying any `filter` and `sort` criteria. Each instance has the following attributes:
	Instances []GetInstancesInstance `pulumi:"instances"`
	Region    *string                `pulumi:"region"`
	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)

type GetInstancesSizeArgs

type GetInstancesSizeArgs struct {
	Filters []GetInstancesSizeFilter `pulumi:"filters"`
	Sorts   []GetInstancesSizeSort   `pulumi:"sorts"`
}

A collection of arguments for invoking getInstancesSize.

type GetInstancesSizeFilter

type GetInstancesSizeFilter struct {
	All     *bool    `pulumi:"all"`
	Key     string   `pulumi:"key"`
	MatchBy *string  `pulumi:"matchBy"`
	Values  []string `pulumi:"values"`
}

type GetInstancesSizeFilterArgs

type GetInstancesSizeFilterArgs struct {
	All     pulumi.BoolPtrInput     `pulumi:"all"`
	Key     pulumi.StringInput      `pulumi:"key"`
	MatchBy pulumi.StringPtrInput   `pulumi:"matchBy"`
	Values  pulumi.StringArrayInput `pulumi:"values"`
}

func (GetInstancesSizeFilterArgs) ElementType

func (GetInstancesSizeFilterArgs) ElementType() reflect.Type

func (GetInstancesSizeFilterArgs) ToGetInstancesSizeFilterOutput

func (i GetInstancesSizeFilterArgs) ToGetInstancesSizeFilterOutput() GetInstancesSizeFilterOutput

func (GetInstancesSizeFilterArgs) ToGetInstancesSizeFilterOutputWithContext

func (i GetInstancesSizeFilterArgs) ToGetInstancesSizeFilterOutputWithContext(ctx context.Context) GetInstancesSizeFilterOutput

type GetInstancesSizeFilterArray

type GetInstancesSizeFilterArray []GetInstancesSizeFilterInput

func (GetInstancesSizeFilterArray) ElementType

func (GetInstancesSizeFilterArray) ToGetInstancesSizeFilterArrayOutput

func (i GetInstancesSizeFilterArray) ToGetInstancesSizeFilterArrayOutput() GetInstancesSizeFilterArrayOutput

func (GetInstancesSizeFilterArray) ToGetInstancesSizeFilterArrayOutputWithContext

func (i GetInstancesSizeFilterArray) ToGetInstancesSizeFilterArrayOutputWithContext(ctx context.Context) GetInstancesSizeFilterArrayOutput

type GetInstancesSizeFilterArrayInput

type GetInstancesSizeFilterArrayInput interface {
	pulumi.Input

	ToGetInstancesSizeFilterArrayOutput() GetInstancesSizeFilterArrayOutput
	ToGetInstancesSizeFilterArrayOutputWithContext(context.Context) GetInstancesSizeFilterArrayOutput
}

GetInstancesSizeFilterArrayInput is an input type that accepts GetInstancesSizeFilterArray and GetInstancesSizeFilterArrayOutput values. You can construct a concrete instance of `GetInstancesSizeFilterArrayInput` via:

GetInstancesSizeFilterArray{ GetInstancesSizeFilterArgs{...} }

type GetInstancesSizeFilterArrayOutput

type GetInstancesSizeFilterArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesSizeFilterArrayOutput) ElementType

func (GetInstancesSizeFilterArrayOutput) Index

func (GetInstancesSizeFilterArrayOutput) ToGetInstancesSizeFilterArrayOutput

func (o GetInstancesSizeFilterArrayOutput) ToGetInstancesSizeFilterArrayOutput() GetInstancesSizeFilterArrayOutput

func (GetInstancesSizeFilterArrayOutput) ToGetInstancesSizeFilterArrayOutputWithContext

func (o GetInstancesSizeFilterArrayOutput) ToGetInstancesSizeFilterArrayOutputWithContext(ctx context.Context) GetInstancesSizeFilterArrayOutput

type GetInstancesSizeFilterInput

type GetInstancesSizeFilterInput interface {
	pulumi.Input

	ToGetInstancesSizeFilterOutput() GetInstancesSizeFilterOutput
	ToGetInstancesSizeFilterOutputWithContext(context.Context) GetInstancesSizeFilterOutput
}

GetInstancesSizeFilterInput is an input type that accepts GetInstancesSizeFilterArgs and GetInstancesSizeFilterOutput values. You can construct a concrete instance of `GetInstancesSizeFilterInput` via:

GetInstancesSizeFilterArgs{...}

type GetInstancesSizeFilterOutput

type GetInstancesSizeFilterOutput struct{ *pulumi.OutputState }

func (GetInstancesSizeFilterOutput) All added in v1.0.1

func (GetInstancesSizeFilterOutput) ElementType

func (GetInstancesSizeFilterOutput) Key

func (GetInstancesSizeFilterOutput) MatchBy added in v1.0.1

func (GetInstancesSizeFilterOutput) ToGetInstancesSizeFilterOutput

func (o GetInstancesSizeFilterOutput) ToGetInstancesSizeFilterOutput() GetInstancesSizeFilterOutput

func (GetInstancesSizeFilterOutput) ToGetInstancesSizeFilterOutputWithContext

func (o GetInstancesSizeFilterOutput) ToGetInstancesSizeFilterOutputWithContext(ctx context.Context) GetInstancesSizeFilterOutput

func (GetInstancesSizeFilterOutput) Values

type GetInstancesSizeResult

type GetInstancesSizeResult struct {
	Filters []GetInstancesSizeFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id    string                 `pulumi:"id"`
	Sizes []GetInstancesSizeSize `pulumi:"sizes"`
	Sorts []GetInstancesSizeSort `pulumi:"sorts"`
}

A collection of values returned by getInstancesSize.

type GetInstancesSizeSize

type GetInstancesSizeSize struct {
	Cpu         int    `pulumi:"cpu"`
	Description string `pulumi:"description"`
	Disk        int    `pulumi:"disk"`
	Name        string `pulumi:"name"`
	Ram         int    `pulumi:"ram"`
	Selectable  bool   `pulumi:"selectable"`
	Type        string `pulumi:"type"`
}

type GetInstancesSizeSizeArgs

type GetInstancesSizeSizeArgs struct {
	Cpu         pulumi.IntInput    `pulumi:"cpu"`
	Description pulumi.StringInput `pulumi:"description"`
	Disk        pulumi.IntInput    `pulumi:"disk"`
	Name        pulumi.StringInput `pulumi:"name"`
	Ram         pulumi.IntInput    `pulumi:"ram"`
	Selectable  pulumi.BoolInput   `pulumi:"selectable"`
	Type        pulumi.StringInput `pulumi:"type"`
}

func (GetInstancesSizeSizeArgs) ElementType

func (GetInstancesSizeSizeArgs) ElementType() reflect.Type

func (GetInstancesSizeSizeArgs) ToGetInstancesSizeSizeOutput

func (i GetInstancesSizeSizeArgs) ToGetInstancesSizeSizeOutput() GetInstancesSizeSizeOutput

func (GetInstancesSizeSizeArgs) ToGetInstancesSizeSizeOutputWithContext

func (i GetInstancesSizeSizeArgs) ToGetInstancesSizeSizeOutputWithContext(ctx context.Context) GetInstancesSizeSizeOutput

type GetInstancesSizeSizeArray

type GetInstancesSizeSizeArray []GetInstancesSizeSizeInput

func (GetInstancesSizeSizeArray) ElementType

func (GetInstancesSizeSizeArray) ElementType() reflect.Type

func (GetInstancesSizeSizeArray) ToGetInstancesSizeSizeArrayOutput

func (i GetInstancesSizeSizeArray) ToGetInstancesSizeSizeArrayOutput() GetInstancesSizeSizeArrayOutput

func (GetInstancesSizeSizeArray) ToGetInstancesSizeSizeArrayOutputWithContext

func (i GetInstancesSizeSizeArray) ToGetInstancesSizeSizeArrayOutputWithContext(ctx context.Context) GetInstancesSizeSizeArrayOutput

type GetInstancesSizeSizeArrayInput

type GetInstancesSizeSizeArrayInput interface {
	pulumi.Input

	ToGetInstancesSizeSizeArrayOutput() GetInstancesSizeSizeArrayOutput
	ToGetInstancesSizeSizeArrayOutputWithContext(context.Context) GetInstancesSizeSizeArrayOutput
}

GetInstancesSizeSizeArrayInput is an input type that accepts GetInstancesSizeSizeArray and GetInstancesSizeSizeArrayOutput values. You can construct a concrete instance of `GetInstancesSizeSizeArrayInput` via:

GetInstancesSizeSizeArray{ GetInstancesSizeSizeArgs{...} }

type GetInstancesSizeSizeArrayOutput

type GetInstancesSizeSizeArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesSizeSizeArrayOutput) ElementType

func (GetInstancesSizeSizeArrayOutput) Index

func (GetInstancesSizeSizeArrayOutput) ToGetInstancesSizeSizeArrayOutput

func (o GetInstancesSizeSizeArrayOutput) ToGetInstancesSizeSizeArrayOutput() GetInstancesSizeSizeArrayOutput

func (GetInstancesSizeSizeArrayOutput) ToGetInstancesSizeSizeArrayOutputWithContext

func (o GetInstancesSizeSizeArrayOutput) ToGetInstancesSizeSizeArrayOutputWithContext(ctx context.Context) GetInstancesSizeSizeArrayOutput

type GetInstancesSizeSizeInput

type GetInstancesSizeSizeInput interface {
	pulumi.Input

	ToGetInstancesSizeSizeOutput() GetInstancesSizeSizeOutput
	ToGetInstancesSizeSizeOutputWithContext(context.Context) GetInstancesSizeSizeOutput
}

GetInstancesSizeSizeInput is an input type that accepts GetInstancesSizeSizeArgs and GetInstancesSizeSizeOutput values. You can construct a concrete instance of `GetInstancesSizeSizeInput` via:

GetInstancesSizeSizeArgs{...}

type GetInstancesSizeSizeOutput

type GetInstancesSizeSizeOutput struct{ *pulumi.OutputState }

func (GetInstancesSizeSizeOutput) Cpu added in v1.0.1

func (GetInstancesSizeSizeOutput) Description

func (GetInstancesSizeSizeOutput) Disk added in v1.0.1

func (GetInstancesSizeSizeOutput) ElementType

func (GetInstancesSizeSizeOutput) ElementType() reflect.Type

func (GetInstancesSizeSizeOutput) Name

func (GetInstancesSizeSizeOutput) Ram added in v1.0.1

func (GetInstancesSizeSizeOutput) Selectable

func (GetInstancesSizeSizeOutput) ToGetInstancesSizeSizeOutput

func (o GetInstancesSizeSizeOutput) ToGetInstancesSizeSizeOutput() GetInstancesSizeSizeOutput

func (GetInstancesSizeSizeOutput) ToGetInstancesSizeSizeOutputWithContext

func (o GetInstancesSizeSizeOutput) ToGetInstancesSizeSizeOutputWithContext(ctx context.Context) GetInstancesSizeSizeOutput

func (GetInstancesSizeSizeOutput) Type added in v1.0.1

type GetInstancesSizeSort

type GetInstancesSizeSort struct {
	Direction *string `pulumi:"direction"`
	Key       string  `pulumi:"key"`
}

type GetInstancesSizeSortArgs

type GetInstancesSizeSortArgs struct {
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	Key       pulumi.StringInput    `pulumi:"key"`
}

func (GetInstancesSizeSortArgs) ElementType

func (GetInstancesSizeSortArgs) ElementType() reflect.Type

func (GetInstancesSizeSortArgs) ToGetInstancesSizeSortOutput

func (i GetInstancesSizeSortArgs) ToGetInstancesSizeSortOutput() GetInstancesSizeSortOutput

func (GetInstancesSizeSortArgs) ToGetInstancesSizeSortOutputWithContext

func (i GetInstancesSizeSortArgs) ToGetInstancesSizeSortOutputWithContext(ctx context.Context) GetInstancesSizeSortOutput

type GetInstancesSizeSortArray

type GetInstancesSizeSortArray []GetInstancesSizeSortInput

func (GetInstancesSizeSortArray) ElementType

func (GetInstancesSizeSortArray) ElementType() reflect.Type

func (GetInstancesSizeSortArray) ToGetInstancesSizeSortArrayOutput

func (i GetInstancesSizeSortArray) ToGetInstancesSizeSortArrayOutput() GetInstancesSizeSortArrayOutput

func (GetInstancesSizeSortArray) ToGetInstancesSizeSortArrayOutputWithContext

func (i GetInstancesSizeSortArray) ToGetInstancesSizeSortArrayOutputWithContext(ctx context.Context) GetInstancesSizeSortArrayOutput

type GetInstancesSizeSortArrayInput

type GetInstancesSizeSortArrayInput interface {
	pulumi.Input

	ToGetInstancesSizeSortArrayOutput() GetInstancesSizeSortArrayOutput
	ToGetInstancesSizeSortArrayOutputWithContext(context.Context) GetInstancesSizeSortArrayOutput
}

GetInstancesSizeSortArrayInput is an input type that accepts GetInstancesSizeSortArray and GetInstancesSizeSortArrayOutput values. You can construct a concrete instance of `GetInstancesSizeSortArrayInput` via:

GetInstancesSizeSortArray{ GetInstancesSizeSortArgs{...} }

type GetInstancesSizeSortArrayOutput

type GetInstancesSizeSortArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesSizeSortArrayOutput) ElementType

func (GetInstancesSizeSortArrayOutput) Index

func (GetInstancesSizeSortArrayOutput) ToGetInstancesSizeSortArrayOutput

func (o GetInstancesSizeSortArrayOutput) ToGetInstancesSizeSortArrayOutput() GetInstancesSizeSortArrayOutput

func (GetInstancesSizeSortArrayOutput) ToGetInstancesSizeSortArrayOutputWithContext

func (o GetInstancesSizeSortArrayOutput) ToGetInstancesSizeSortArrayOutputWithContext(ctx context.Context) GetInstancesSizeSortArrayOutput

type GetInstancesSizeSortInput

type GetInstancesSizeSortInput interface {
	pulumi.Input

	ToGetInstancesSizeSortOutput() GetInstancesSizeSortOutput
	ToGetInstancesSizeSortOutputWithContext(context.Context) GetInstancesSizeSortOutput
}

GetInstancesSizeSortInput is an input type that accepts GetInstancesSizeSortArgs and GetInstancesSizeSortOutput values. You can construct a concrete instance of `GetInstancesSizeSortInput` via:

GetInstancesSizeSortArgs{...}

type GetInstancesSizeSortOutput

type GetInstancesSizeSortOutput struct{ *pulumi.OutputState }

func (GetInstancesSizeSortOutput) Direction

func (GetInstancesSizeSortOutput) ElementType

func (GetInstancesSizeSortOutput) ElementType() reflect.Type

func (GetInstancesSizeSortOutput) Key

func (GetInstancesSizeSortOutput) ToGetInstancesSizeSortOutput

func (o GetInstancesSizeSortOutput) ToGetInstancesSizeSortOutput() GetInstancesSizeSortOutput

func (GetInstancesSizeSortOutput) ToGetInstancesSizeSortOutputWithContext

func (o GetInstancesSizeSortOutput) ToGetInstancesSizeSortOutputWithContext(ctx context.Context) GetInstancesSizeSortOutput

type GetInstancesSort

type GetInstancesSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the Instance by this key. This may be one of `id`, `hostname`, `publicIp`, `privateIp`,
	// `pseudoIp`, `size`, `cpuCores`, `ramMb`, `diskGb`, `template` or `createdAt`.
	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 the Instance by this key. This may be one of `id`, `hostname`, `publicIp`, `privateIp`,
	// `pseudoIp`, `size`, `cpuCores`, `ramMb`, `diskGb`, `template` or `createdAt`.
	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 the Instance by this key. This may be one of `id`, `hostname`, `publicIp`, `privateIp`, `pseudoIp`, `size`, `cpuCores`, `ramMb`, `diskGb`, `template` or `createdAt`.

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 installed or not
	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 installed or not
	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 installed or not

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 GetKubernetesClusterInstance

type GetKubernetesClusterInstance struct {
	// Total cpu of the inatance.
	CpuCores int `pulumi:"cpuCores"`
	// The size of the disk.
	DiskGb int `pulumi:"diskGb"`
	// The hostname of the instance.
	Hostname string `pulumi:"hostname"`
	// Total ram of the instance
	RamMb int `pulumi:"ramMb"`
	// The size of the instance.
	Size string `pulumi:"size"`
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status string `pulumi:"status"`
	// The tag of the instances
	Tags []string `pulumi:"tags"`
}

type GetKubernetesClusterInstanceArgs

type GetKubernetesClusterInstanceArgs struct {
	// Total cpu of the inatance.
	CpuCores pulumi.IntInput `pulumi:"cpuCores"`
	// The size of the disk.
	DiskGb pulumi.IntInput `pulumi:"diskGb"`
	// The hostname of the instance.
	Hostname pulumi.StringInput `pulumi:"hostname"`
	// Total ram of the instance
	RamMb pulumi.IntInput `pulumi:"ramMb"`
	// The size of the instance.
	Size pulumi.StringInput `pulumi:"size"`
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status pulumi.StringInput `pulumi:"status"`
	// The tag of the instances
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

func (GetKubernetesClusterInstanceArgs) ElementType

func (GetKubernetesClusterInstanceArgs) ToGetKubernetesClusterInstanceOutput

func (i GetKubernetesClusterInstanceArgs) ToGetKubernetesClusterInstanceOutput() GetKubernetesClusterInstanceOutput

func (GetKubernetesClusterInstanceArgs) ToGetKubernetesClusterInstanceOutputWithContext

func (i GetKubernetesClusterInstanceArgs) ToGetKubernetesClusterInstanceOutputWithContext(ctx context.Context) GetKubernetesClusterInstanceOutput

type GetKubernetesClusterInstanceArray

type GetKubernetesClusterInstanceArray []GetKubernetesClusterInstanceInput

func (GetKubernetesClusterInstanceArray) ElementType

func (GetKubernetesClusterInstanceArray) ToGetKubernetesClusterInstanceArrayOutput

func (i GetKubernetesClusterInstanceArray) ToGetKubernetesClusterInstanceArrayOutput() GetKubernetesClusterInstanceArrayOutput

func (GetKubernetesClusterInstanceArray) ToGetKubernetesClusterInstanceArrayOutputWithContext

func (i GetKubernetesClusterInstanceArray) ToGetKubernetesClusterInstanceArrayOutputWithContext(ctx context.Context) GetKubernetesClusterInstanceArrayOutput

type GetKubernetesClusterInstanceArrayInput

type GetKubernetesClusterInstanceArrayInput interface {
	pulumi.Input

	ToGetKubernetesClusterInstanceArrayOutput() GetKubernetesClusterInstanceArrayOutput
	ToGetKubernetesClusterInstanceArrayOutputWithContext(context.Context) GetKubernetesClusterInstanceArrayOutput
}

GetKubernetesClusterInstanceArrayInput is an input type that accepts GetKubernetesClusterInstanceArray and GetKubernetesClusterInstanceArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterInstanceArrayInput` via:

GetKubernetesClusterInstanceArray{ GetKubernetesClusterInstanceArgs{...} }

type GetKubernetesClusterInstanceArrayOutput

type GetKubernetesClusterInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterInstanceArrayOutput) ElementType

func (GetKubernetesClusterInstanceArrayOutput) Index

func (GetKubernetesClusterInstanceArrayOutput) ToGetKubernetesClusterInstanceArrayOutput

func (o GetKubernetesClusterInstanceArrayOutput) ToGetKubernetesClusterInstanceArrayOutput() GetKubernetesClusterInstanceArrayOutput

func (GetKubernetesClusterInstanceArrayOutput) ToGetKubernetesClusterInstanceArrayOutputWithContext

func (o GetKubernetesClusterInstanceArrayOutput) ToGetKubernetesClusterInstanceArrayOutputWithContext(ctx context.Context) GetKubernetesClusterInstanceArrayOutput

type GetKubernetesClusterInstanceInput

type GetKubernetesClusterInstanceInput interface {
	pulumi.Input

	ToGetKubernetesClusterInstanceOutput() GetKubernetesClusterInstanceOutput
	ToGetKubernetesClusterInstanceOutputWithContext(context.Context) GetKubernetesClusterInstanceOutput
}

GetKubernetesClusterInstanceInput is an input type that accepts GetKubernetesClusterInstanceArgs and GetKubernetesClusterInstanceOutput values. You can construct a concrete instance of `GetKubernetesClusterInstanceInput` via:

GetKubernetesClusterInstanceArgs{...}

type GetKubernetesClusterInstanceOutput

type GetKubernetesClusterInstanceOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterInstanceOutput) CpuCores

Total cpu of the inatance.

func (GetKubernetesClusterInstanceOutput) DiskGb

The size of the disk.

func (GetKubernetesClusterInstanceOutput) ElementType

func (GetKubernetesClusterInstanceOutput) Hostname

The hostname of the instance.

func (GetKubernetesClusterInstanceOutput) RamMb

Total ram of the instance

func (GetKubernetesClusterInstanceOutput) Size

The size of the instance.

func (GetKubernetesClusterInstanceOutput) Status

The status of Kubernetes cluster. * `ready` -If the Kubernetes cluster is ready.

func (GetKubernetesClusterInstanceOutput) Tags

The tag of the instances

func (GetKubernetesClusterInstanceOutput) ToGetKubernetesClusterInstanceOutput

func (o GetKubernetesClusterInstanceOutput) ToGetKubernetesClusterInstanceOutput() GetKubernetesClusterInstanceOutput

func (GetKubernetesClusterInstanceOutput) ToGetKubernetesClusterInstanceOutputWithContext

func (o GetKubernetesClusterInstanceOutput) ToGetKubernetesClusterInstanceOutputWithContext(ctx context.Context) GetKubernetesClusterInstanceOutput

type GetKubernetesClusterPool added in v1.0.1

type GetKubernetesClusterPool struct {
	// The size of the pool
	Count int `pulumi:"count"`
	// The ID of the kubernetes Cluster
	Id string `pulumi:"id"`
	// A list of the instance in the pool
	InstanceNames []string `pulumi:"instanceNames"`
	// A list of instance inside the pool
	Instances []GetKubernetesClusterPoolInstance `pulumi:"instances"`
	// The size of the instance.
	Size string `pulumi:"size"`
}

type GetKubernetesClusterPoolArgs added in v1.0.1

type GetKubernetesClusterPoolArgs struct {
	// The size of the pool
	Count pulumi.IntInput `pulumi:"count"`
	// The ID of the kubernetes Cluster
	Id pulumi.StringInput `pulumi:"id"`
	// A list of the instance in the pool
	InstanceNames pulumi.StringArrayInput `pulumi:"instanceNames"`
	// A list of instance inside the pool
	Instances GetKubernetesClusterPoolInstanceArrayInput `pulumi:"instances"`
	// The size of the instance.
	Size pulumi.StringInput `pulumi:"size"`
}

func (GetKubernetesClusterPoolArgs) ElementType added in v1.0.1

func (GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutput added in v1.0.1

func (i GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutput() GetKubernetesClusterPoolOutput

func (GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutputWithContext added in v1.0.1

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

type GetKubernetesClusterPoolArray added in v1.0.1

type GetKubernetesClusterPoolArray []GetKubernetesClusterPoolInput

func (GetKubernetesClusterPoolArray) ElementType added in v1.0.1

func (GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutput added in v1.0.1

func (i GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutput() GetKubernetesClusterPoolArrayOutput

func (GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutputWithContext added in v1.0.1

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

type GetKubernetesClusterPoolArrayInput added in v1.0.1

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 added in v1.0.1

type GetKubernetesClusterPoolArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterPoolArrayOutput) ElementType added in v1.0.1

func (GetKubernetesClusterPoolArrayOutput) Index added in v1.0.1

func (GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutput added in v1.0.1

func (o GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutput() GetKubernetesClusterPoolArrayOutput

func (GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutputWithContext added in v1.0.1

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

type GetKubernetesClusterPoolInput added in v1.0.1

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 GetKubernetesClusterPoolInstance added in v1.0.1

type GetKubernetesClusterPoolInstance struct {
	// Total cpu of the inatance.
	CpuCores int `pulumi:"cpuCores"`
	// The size of the disk.
	DiskGb int `pulumi:"diskGb"`
	// The hostname of the instance.
	Hostname string `pulumi:"hostname"`
	// Total ram of the instance
	RamMb int `pulumi:"ramMb"`
	// The size of the instance.
	Size string `pulumi:"size"`
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status string `pulumi:"status"`
	// The tag of the instances
	Tags []string `pulumi:"tags"`
}

type GetKubernetesClusterPoolInstanceArgs added in v1.0.1

type GetKubernetesClusterPoolInstanceArgs struct {
	// Total cpu of the inatance.
	CpuCores pulumi.IntInput `pulumi:"cpuCores"`
	// The size of the disk.
	DiskGb pulumi.IntInput `pulumi:"diskGb"`
	// The hostname of the instance.
	Hostname pulumi.StringInput `pulumi:"hostname"`
	// Total ram of the instance
	RamMb pulumi.IntInput `pulumi:"ramMb"`
	// The size of the instance.
	Size pulumi.StringInput `pulumi:"size"`
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status pulumi.StringInput `pulumi:"status"`
	// The tag of the instances
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

func (GetKubernetesClusterPoolInstanceArgs) ElementType added in v1.0.1

func (GetKubernetesClusterPoolInstanceArgs) ToGetKubernetesClusterPoolInstanceOutput added in v1.0.1

func (i GetKubernetesClusterPoolInstanceArgs) ToGetKubernetesClusterPoolInstanceOutput() GetKubernetesClusterPoolInstanceOutput

func (GetKubernetesClusterPoolInstanceArgs) ToGetKubernetesClusterPoolInstanceOutputWithContext added in v1.0.1

func (i GetKubernetesClusterPoolInstanceArgs) ToGetKubernetesClusterPoolInstanceOutputWithContext(ctx context.Context) GetKubernetesClusterPoolInstanceOutput

type GetKubernetesClusterPoolInstanceArray added in v1.0.1

type GetKubernetesClusterPoolInstanceArray []GetKubernetesClusterPoolInstanceInput

func (GetKubernetesClusterPoolInstanceArray) ElementType added in v1.0.1

func (GetKubernetesClusterPoolInstanceArray) ToGetKubernetesClusterPoolInstanceArrayOutput added in v1.0.1

func (i GetKubernetesClusterPoolInstanceArray) ToGetKubernetesClusterPoolInstanceArrayOutput() GetKubernetesClusterPoolInstanceArrayOutput

func (GetKubernetesClusterPoolInstanceArray) ToGetKubernetesClusterPoolInstanceArrayOutputWithContext added in v1.0.1

func (i GetKubernetesClusterPoolInstanceArray) ToGetKubernetesClusterPoolInstanceArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolInstanceArrayOutput

type GetKubernetesClusterPoolInstanceArrayInput added in v1.0.1

type GetKubernetesClusterPoolInstanceArrayInput interface {
	pulumi.Input

	ToGetKubernetesClusterPoolInstanceArrayOutput() GetKubernetesClusterPoolInstanceArrayOutput
	ToGetKubernetesClusterPoolInstanceArrayOutputWithContext(context.Context) GetKubernetesClusterPoolInstanceArrayOutput
}

GetKubernetesClusterPoolInstanceArrayInput is an input type that accepts GetKubernetesClusterPoolInstanceArray and GetKubernetesClusterPoolInstanceArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterPoolInstanceArrayInput` via:

GetKubernetesClusterPoolInstanceArray{ GetKubernetesClusterPoolInstanceArgs{...} }

type GetKubernetesClusterPoolInstanceArrayOutput added in v1.0.1

type GetKubernetesClusterPoolInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterPoolInstanceArrayOutput) ElementType added in v1.0.1

func (GetKubernetesClusterPoolInstanceArrayOutput) Index added in v1.0.1

func (GetKubernetesClusterPoolInstanceArrayOutput) ToGetKubernetesClusterPoolInstanceArrayOutput added in v1.0.1

func (o GetKubernetesClusterPoolInstanceArrayOutput) ToGetKubernetesClusterPoolInstanceArrayOutput() GetKubernetesClusterPoolInstanceArrayOutput

func (GetKubernetesClusterPoolInstanceArrayOutput) ToGetKubernetesClusterPoolInstanceArrayOutputWithContext added in v1.0.1

func (o GetKubernetesClusterPoolInstanceArrayOutput) ToGetKubernetesClusterPoolInstanceArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolInstanceArrayOutput

type GetKubernetesClusterPoolInstanceInput added in v1.0.1

type GetKubernetesClusterPoolInstanceInput interface {
	pulumi.Input

	ToGetKubernetesClusterPoolInstanceOutput() GetKubernetesClusterPoolInstanceOutput
	ToGetKubernetesClusterPoolInstanceOutputWithContext(context.Context) GetKubernetesClusterPoolInstanceOutput
}

GetKubernetesClusterPoolInstanceInput is an input type that accepts GetKubernetesClusterPoolInstanceArgs and GetKubernetesClusterPoolInstanceOutput values. You can construct a concrete instance of `GetKubernetesClusterPoolInstanceInput` via:

GetKubernetesClusterPoolInstanceArgs{...}

type GetKubernetesClusterPoolInstanceOutput added in v1.0.1

type GetKubernetesClusterPoolInstanceOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterPoolInstanceOutput) CpuCores added in v1.0.1

Total cpu of the inatance.

func (GetKubernetesClusterPoolInstanceOutput) DiskGb added in v1.0.1

The size of the disk.

func (GetKubernetesClusterPoolInstanceOutput) ElementType added in v1.0.1

func (GetKubernetesClusterPoolInstanceOutput) Hostname added in v1.0.1

The hostname of the instance.

func (GetKubernetesClusterPoolInstanceOutput) RamMb added in v1.0.1

Total ram of the instance

func (GetKubernetesClusterPoolInstanceOutput) Size added in v1.0.1

The size of the instance.

func (GetKubernetesClusterPoolInstanceOutput) Status added in v1.0.1

The status of Kubernetes cluster. * `ready` -If the Kubernetes cluster is ready.

func (GetKubernetesClusterPoolInstanceOutput) Tags added in v1.0.1

The tag of the instances

func (GetKubernetesClusterPoolInstanceOutput) ToGetKubernetesClusterPoolInstanceOutput added in v1.0.1

func (o GetKubernetesClusterPoolInstanceOutput) ToGetKubernetesClusterPoolInstanceOutput() GetKubernetesClusterPoolInstanceOutput

func (GetKubernetesClusterPoolInstanceOutput) ToGetKubernetesClusterPoolInstanceOutputWithContext added in v1.0.1

func (o GetKubernetesClusterPoolInstanceOutput) ToGetKubernetesClusterPoolInstanceOutputWithContext(ctx context.Context) GetKubernetesClusterPoolInstanceOutput

type GetKubernetesClusterPoolOutput added in v1.0.1

type GetKubernetesClusterPoolOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterPoolOutput) Count added in v1.0.1

The size of the pool

func (GetKubernetesClusterPoolOutput) ElementType added in v1.0.1

func (GetKubernetesClusterPoolOutput) Id added in v1.0.1

The ID of the kubernetes Cluster

func (GetKubernetesClusterPoolOutput) InstanceNames added in v1.0.1

A list of the instance in the pool

func (GetKubernetesClusterPoolOutput) Instances added in v1.0.1

A list of instance inside the pool

func (GetKubernetesClusterPoolOutput) Size added in v1.0.1

The size of the instance.

func (GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutput added in v1.0.1

func (o GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutput() GetKubernetesClusterPoolOutput

func (GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutputWithContext added in v1.0.1

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

type GetKubernetesVersionArgs

type GetKubernetesVersionArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetKubernetesVersionFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetKubernetesVersionSort `pulumi:"sorts"`
}

A collection of arguments for invoking getKubernetesVersion.

type GetKubernetesVersionFilter

type GetKubernetesVersionFilter struct {
	All *bool `pulumi:"all"`
	// Filter the sizes by this key. This may be one of `version`,
	// `label`, `type`, `default`.
	Key     string  `pulumi:"key"`
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves the version which keys has value that matches
	// one of the values provided here.
	Values []string `pulumi:"values"`
}

type GetKubernetesVersionFilterArgs

type GetKubernetesVersionFilterArgs struct {
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the sizes by this key. This may be one of `version`,
	// `label`, `type`, `default`.
	Key     pulumi.StringInput    `pulumi:"key"`
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves the version 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 added in v1.0.1

func (GetKubernetesVersionFilterOutput) ElementType

func (GetKubernetesVersionFilterOutput) Key

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

func (GetKubernetesVersionFilterOutput) MatchBy added in v1.0.1

func (GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutput

func (o GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutput() GetKubernetesVersionFilterOutput

func (GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutputWithContext

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

func (GetKubernetesVersionFilterOutput) Values

Only retrieves the version which keys has value that matches one of the values provided here.

type GetKubernetesVersionResult

type GetKubernetesVersionResult struct {
	Filters []GetKubernetesVersionFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id       string                        `pulumi:"id"`
	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 Service versions, with the ability to filter the results.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/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{
				civo.GetKubernetesVersionFilter{
					Key: "type",
					Values: []string{
						"stable",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Pin a Kubernetes cluster to a specific minor version

```go package main

import (

"github.com/pulumi/pulumi-civo/sdk/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{
				civo.GetKubernetesVersionFilter{
					Key: "version",
					Values: []string{
						"0.9.1",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetKubernetesVersionSort

type GetKubernetesVersionSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the sizes by this key. This may be one of `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 the sizes by this key. This may be one of `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 the sizes by this key. This may be one of `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.
	Default bool `pulumi:"default"`
	// The label of this version.
	Label string `pulumi:"label"`
	// The type of the version can be `stable`, `legacy` etc...
	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.
	Default pulumi.BoolInput `pulumi:"default"`
	// The label of this version.
	Label pulumi.StringInput `pulumi:"label"`
	// The type of the version can be `stable`, `legacy` etc...
	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.

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 version can be `stable`, `legacy` etc...

func (GetKubernetesVersionVersionOutput) Version

A version of the kubernetes.

type GetLoadBalancerBackend

type GetLoadBalancerBackend struct {
	// The instance id
	InstanceId string `pulumi:"instanceId"`
	// The port set in the configuration.
	Port int `pulumi:"port"`
	// The protocol used in the configuration.
	Protocol string `pulumi:"protocol"`
}

type GetLoadBalancerBackendArgs

type GetLoadBalancerBackendArgs struct {
	// The instance id
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The port set in the configuration.
	Port pulumi.IntInput `pulumi:"port"`
	// The protocol used in the configuration.
	Protocol pulumi.StringInput `pulumi:"protocol"`
}

func (GetLoadBalancerBackendArgs) ElementType

func (GetLoadBalancerBackendArgs) ElementType() reflect.Type

func (GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutput

func (i GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutput() GetLoadBalancerBackendOutput

func (GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutputWithContext

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

type GetLoadBalancerBackendArray

type GetLoadBalancerBackendArray []GetLoadBalancerBackendInput

func (GetLoadBalancerBackendArray) ElementType

func (GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutput

func (i GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutput() GetLoadBalancerBackendArrayOutput

func (GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutputWithContext

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

type GetLoadBalancerBackendArrayInput

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

type GetLoadBalancerBackendArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerBackendArrayOutput) ElementType

func (GetLoadBalancerBackendArrayOutput) Index

func (GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutput

func (o GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutput() GetLoadBalancerBackendArrayOutput

func (GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutputWithContext

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

type GetLoadBalancerBackendInput

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

type GetLoadBalancerBackendOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerBackendOutput) ElementType

func (GetLoadBalancerBackendOutput) InstanceId

The instance id

func (GetLoadBalancerBackendOutput) Port

The port set in the configuration.

func (GetLoadBalancerBackendOutput) Protocol

The protocol used in the configuration.

func (GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutput

func (o GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutput() GetLoadBalancerBackendOutput

func (GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutputWithContext

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

type GetRegionArgs added in v1.0.1

type GetRegionArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetRegionFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetRegionSort `pulumi:"sorts"`
}

A collection of arguments for invoking getRegion.

type GetRegionFilter added in v1.0.1

type GetRegionFilter struct {
	All *bool `pulumi:"all"`
	// Filter the sizes by this key. This may be one of `code`, `name`, `country`, `default`.
	Key     string  `pulumi:"key"`
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves region which keys has value that matches one of the values provided here.
	Values []string `pulumi:"values"`
}

type GetRegionFilterArgs added in v1.0.1

type GetRegionFilterArgs struct {
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the sizes by this key. This may be one of `code`, `name`, `country`, `default`.
	Key     pulumi.StringInput    `pulumi:"key"`
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves region which keys has value that matches one of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRegionFilterArgs) ElementType added in v1.0.1

func (GetRegionFilterArgs) ElementType() reflect.Type

func (GetRegionFilterArgs) ToGetRegionFilterOutput added in v1.0.1

func (i GetRegionFilterArgs) ToGetRegionFilterOutput() GetRegionFilterOutput

func (GetRegionFilterArgs) ToGetRegionFilterOutputWithContext added in v1.0.1

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

type GetRegionFilterArray added in v1.0.1

type GetRegionFilterArray []GetRegionFilterInput

func (GetRegionFilterArray) ElementType added in v1.0.1

func (GetRegionFilterArray) ElementType() reflect.Type

func (GetRegionFilterArray) ToGetRegionFilterArrayOutput added in v1.0.1

func (i GetRegionFilterArray) ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput

func (GetRegionFilterArray) ToGetRegionFilterArrayOutputWithContext added in v1.0.1

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

type GetRegionFilterArrayInput added in v1.0.1

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 added in v1.0.1

type GetRegionFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRegionFilterArrayOutput) ElementType added in v1.0.1

func (GetRegionFilterArrayOutput) ElementType() reflect.Type

func (GetRegionFilterArrayOutput) Index added in v1.0.1

func (GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutput added in v1.0.1

func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput

func (GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutputWithContext added in v1.0.1

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

type GetRegionFilterInput added in v1.0.1

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 added in v1.0.1

type GetRegionFilterOutput struct{ *pulumi.OutputState }

func (GetRegionFilterOutput) All added in v1.0.1

func (GetRegionFilterOutput) ElementType added in v1.0.1

func (GetRegionFilterOutput) ElementType() reflect.Type

func (GetRegionFilterOutput) Key added in v1.0.1

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

func (GetRegionFilterOutput) MatchBy added in v1.0.1

func (GetRegionFilterOutput) ToGetRegionFilterOutput added in v1.0.1

func (o GetRegionFilterOutput) ToGetRegionFilterOutput() GetRegionFilterOutput

func (GetRegionFilterOutput) ToGetRegionFilterOutputWithContext added in v1.0.1

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

func (GetRegionFilterOutput) Values added in v1.0.1

Only retrieves region which keys has value that matches one of the values provided here.

type GetRegionRegion added in v1.0.1

type GetRegionRegion struct {
	Code    string `pulumi:"code"`
	Country string `pulumi:"country"`
	Default bool   `pulumi:"default"`
	Name    string `pulumi:"name"`
}

type GetRegionRegionArgs added in v1.0.1

type GetRegionRegionArgs struct {
	Code    pulumi.StringInput `pulumi:"code"`
	Country pulumi.StringInput `pulumi:"country"`
	Default pulumi.BoolInput   `pulumi:"default"`
	Name    pulumi.StringInput `pulumi:"name"`
}

func (GetRegionRegionArgs) ElementType added in v1.0.1

func (GetRegionRegionArgs) ElementType() reflect.Type

func (GetRegionRegionArgs) ToGetRegionRegionOutput added in v1.0.1

func (i GetRegionRegionArgs) ToGetRegionRegionOutput() GetRegionRegionOutput

func (GetRegionRegionArgs) ToGetRegionRegionOutputWithContext added in v1.0.1

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

type GetRegionRegionArray added in v1.0.1

type GetRegionRegionArray []GetRegionRegionInput

func (GetRegionRegionArray) ElementType added in v1.0.1

func (GetRegionRegionArray) ElementType() reflect.Type

func (GetRegionRegionArray) ToGetRegionRegionArrayOutput added in v1.0.1

func (i GetRegionRegionArray) ToGetRegionRegionArrayOutput() GetRegionRegionArrayOutput

func (GetRegionRegionArray) ToGetRegionRegionArrayOutputWithContext added in v1.0.1

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

type GetRegionRegionArrayInput added in v1.0.1

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 added in v1.0.1

type GetRegionRegionArrayOutput struct{ *pulumi.OutputState }

func (GetRegionRegionArrayOutput) ElementType added in v1.0.1

func (GetRegionRegionArrayOutput) ElementType() reflect.Type

func (GetRegionRegionArrayOutput) Index added in v1.0.1

func (GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutput added in v1.0.1

func (o GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutput() GetRegionRegionArrayOutput

func (GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutputWithContext added in v1.0.1

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

type GetRegionRegionInput added in v1.0.1

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 added in v1.0.1

type GetRegionRegionOutput struct{ *pulumi.OutputState }

func (GetRegionRegionOutput) Code added in v1.0.1

func (GetRegionRegionOutput) Country added in v1.0.1

func (GetRegionRegionOutput) Default added in v1.0.1

func (GetRegionRegionOutput) ElementType added in v1.0.1

func (GetRegionRegionOutput) ElementType() reflect.Type

func (GetRegionRegionOutput) Name added in v1.0.1

func (GetRegionRegionOutput) ToGetRegionRegionOutput added in v1.0.1

func (o GetRegionRegionOutput) ToGetRegionRegionOutput() GetRegionRegionOutput

func (GetRegionRegionOutput) ToGetRegionRegionOutputWithContext added in v1.0.1

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

type GetRegionResult added in v1.0.1

type GetRegionResult struct {
	Filters []GetRegionFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id      string            `pulumi:"id"`
	Regions []GetRegionRegion `pulumi:"regions"`
	Sorts   []GetRegionSort   `pulumi:"sorts"`
}

A collection of values returned by getRegion.

func GetRegion added in v1.0.1

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 GetRegionSort added in v1.0.1

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

type GetRegionSortArgs added in v1.0.1

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

func (GetRegionSortArgs) ElementType added in v1.0.1

func (GetRegionSortArgs) ElementType() reflect.Type

func (GetRegionSortArgs) ToGetRegionSortOutput added in v1.0.1

func (i GetRegionSortArgs) ToGetRegionSortOutput() GetRegionSortOutput

func (GetRegionSortArgs) ToGetRegionSortOutputWithContext added in v1.0.1

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

type GetRegionSortArray added in v1.0.1

type GetRegionSortArray []GetRegionSortInput

func (GetRegionSortArray) ElementType added in v1.0.1

func (GetRegionSortArray) ElementType() reflect.Type

func (GetRegionSortArray) ToGetRegionSortArrayOutput added in v1.0.1

func (i GetRegionSortArray) ToGetRegionSortArrayOutput() GetRegionSortArrayOutput

func (GetRegionSortArray) ToGetRegionSortArrayOutputWithContext added in v1.0.1

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

type GetRegionSortArrayInput added in v1.0.1

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 added in v1.0.1

type GetRegionSortArrayOutput struct{ *pulumi.OutputState }

func (GetRegionSortArrayOutput) ElementType added in v1.0.1

func (GetRegionSortArrayOutput) ElementType() reflect.Type

func (GetRegionSortArrayOutput) Index added in v1.0.1

func (GetRegionSortArrayOutput) ToGetRegionSortArrayOutput added in v1.0.1

func (o GetRegionSortArrayOutput) ToGetRegionSortArrayOutput() GetRegionSortArrayOutput

func (GetRegionSortArrayOutput) ToGetRegionSortArrayOutputWithContext added in v1.0.1

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

type GetRegionSortInput added in v1.0.1

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 added in v1.0.1

type GetRegionSortOutput struct{ *pulumi.OutputState }

func (GetRegionSortOutput) Direction added in v1.0.1

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

func (GetRegionSortOutput) ElementType added in v1.0.1

func (GetRegionSortOutput) ElementType() reflect.Type

func (GetRegionSortOutput) Key added in v1.0.1

Sort the sizes by this key. This may be one of `code`,`name`.

func (GetRegionSortOutput) ToGetRegionSortOutput added in v1.0.1

func (o GetRegionSortOutput) ToGetRegionSortOutput() GetRegionSortOutput

func (GetRegionSortOutput) ToGetRegionSortOutputWithContext added in v1.0.1

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

type GetTemplateFilter

type GetTemplateFilter struct {
	All *bool `pulumi:"all"`
	// Filter the sizes by this key. This may be one of `id`,`name`,`version`,`label`.
	Key     string  `pulumi:"key"`
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves the template which keys has value that matches
	// one of the values provided here.
	Values []string `pulumi:"values"`
}

type GetTemplateFilterArgs

type GetTemplateFilterArgs struct {
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the sizes by this key. This may be one of `id`,`name`,`version`,`label`.
	Key     pulumi.StringInput    `pulumi:"key"`
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves the template which keys has value that matches
	// one of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetTemplateFilterArgs) ElementType

func (GetTemplateFilterArgs) ElementType() reflect.Type

func (GetTemplateFilterArgs) ToGetTemplateFilterOutput

func (i GetTemplateFilterArgs) ToGetTemplateFilterOutput() GetTemplateFilterOutput

func (GetTemplateFilterArgs) ToGetTemplateFilterOutputWithContext

func (i GetTemplateFilterArgs) ToGetTemplateFilterOutputWithContext(ctx context.Context) GetTemplateFilterOutput

type GetTemplateFilterArray

type GetTemplateFilterArray []GetTemplateFilterInput

func (GetTemplateFilterArray) ElementType

func (GetTemplateFilterArray) ElementType() reflect.Type

func (GetTemplateFilterArray) ToGetTemplateFilterArrayOutput

func (i GetTemplateFilterArray) ToGetTemplateFilterArrayOutput() GetTemplateFilterArrayOutput

func (GetTemplateFilterArray) ToGetTemplateFilterArrayOutputWithContext

func (i GetTemplateFilterArray) ToGetTemplateFilterArrayOutputWithContext(ctx context.Context) GetTemplateFilterArrayOutput

type GetTemplateFilterArrayInput

type GetTemplateFilterArrayInput interface {
	pulumi.Input

	ToGetTemplateFilterArrayOutput() GetTemplateFilterArrayOutput
	ToGetTemplateFilterArrayOutputWithContext(context.Context) GetTemplateFilterArrayOutput
}

GetTemplateFilterArrayInput is an input type that accepts GetTemplateFilterArray and GetTemplateFilterArrayOutput values. You can construct a concrete instance of `GetTemplateFilterArrayInput` via:

GetTemplateFilterArray{ GetTemplateFilterArgs{...} }

type GetTemplateFilterArrayOutput

type GetTemplateFilterArrayOutput struct{ *pulumi.OutputState }

func (GetTemplateFilterArrayOutput) ElementType

func (GetTemplateFilterArrayOutput) Index

func (GetTemplateFilterArrayOutput) ToGetTemplateFilterArrayOutput

func (o GetTemplateFilterArrayOutput) ToGetTemplateFilterArrayOutput() GetTemplateFilterArrayOutput

func (GetTemplateFilterArrayOutput) ToGetTemplateFilterArrayOutputWithContext

func (o GetTemplateFilterArrayOutput) ToGetTemplateFilterArrayOutputWithContext(ctx context.Context) GetTemplateFilterArrayOutput

type GetTemplateFilterInput

type GetTemplateFilterInput interface {
	pulumi.Input

	ToGetTemplateFilterOutput() GetTemplateFilterOutput
	ToGetTemplateFilterOutputWithContext(context.Context) GetTemplateFilterOutput
}

GetTemplateFilterInput is an input type that accepts GetTemplateFilterArgs and GetTemplateFilterOutput values. You can construct a concrete instance of `GetTemplateFilterInput` via:

GetTemplateFilterArgs{...}

type GetTemplateFilterOutput

type GetTemplateFilterOutput struct{ *pulumi.OutputState }

func (GetTemplateFilterOutput) All added in v1.0.1

func (GetTemplateFilterOutput) ElementType

func (GetTemplateFilterOutput) ElementType() reflect.Type

func (GetTemplateFilterOutput) Key

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

func (GetTemplateFilterOutput) MatchBy added in v1.0.1

func (GetTemplateFilterOutput) ToGetTemplateFilterOutput

func (o GetTemplateFilterOutput) ToGetTemplateFilterOutput() GetTemplateFilterOutput

func (GetTemplateFilterOutput) ToGetTemplateFilterOutputWithContext

func (o GetTemplateFilterOutput) ToGetTemplateFilterOutputWithContext(ctx context.Context) GetTemplateFilterOutput

func (GetTemplateFilterOutput) Values

Only retrieves the template which keys has value that matches one of the values provided here.

type GetTemplateSort

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

type GetTemplateSortArgs

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

func (GetTemplateSortArgs) ElementType

func (GetTemplateSortArgs) ElementType() reflect.Type

func (GetTemplateSortArgs) ToGetTemplateSortOutput

func (i GetTemplateSortArgs) ToGetTemplateSortOutput() GetTemplateSortOutput

func (GetTemplateSortArgs) ToGetTemplateSortOutputWithContext

func (i GetTemplateSortArgs) ToGetTemplateSortOutputWithContext(ctx context.Context) GetTemplateSortOutput

type GetTemplateSortArray

type GetTemplateSortArray []GetTemplateSortInput

func (GetTemplateSortArray) ElementType

func (GetTemplateSortArray) ElementType() reflect.Type

func (GetTemplateSortArray) ToGetTemplateSortArrayOutput

func (i GetTemplateSortArray) ToGetTemplateSortArrayOutput() GetTemplateSortArrayOutput

func (GetTemplateSortArray) ToGetTemplateSortArrayOutputWithContext

func (i GetTemplateSortArray) ToGetTemplateSortArrayOutputWithContext(ctx context.Context) GetTemplateSortArrayOutput

type GetTemplateSortArrayInput

type GetTemplateSortArrayInput interface {
	pulumi.Input

	ToGetTemplateSortArrayOutput() GetTemplateSortArrayOutput
	ToGetTemplateSortArrayOutputWithContext(context.Context) GetTemplateSortArrayOutput
}

GetTemplateSortArrayInput is an input type that accepts GetTemplateSortArray and GetTemplateSortArrayOutput values. You can construct a concrete instance of `GetTemplateSortArrayInput` via:

GetTemplateSortArray{ GetTemplateSortArgs{...} }

type GetTemplateSortArrayOutput

type GetTemplateSortArrayOutput struct{ *pulumi.OutputState }

func (GetTemplateSortArrayOutput) ElementType

func (GetTemplateSortArrayOutput) ElementType() reflect.Type

func (GetTemplateSortArrayOutput) Index

func (GetTemplateSortArrayOutput) ToGetTemplateSortArrayOutput

func (o GetTemplateSortArrayOutput) ToGetTemplateSortArrayOutput() GetTemplateSortArrayOutput

func (GetTemplateSortArrayOutput) ToGetTemplateSortArrayOutputWithContext

func (o GetTemplateSortArrayOutput) ToGetTemplateSortArrayOutputWithContext(ctx context.Context) GetTemplateSortArrayOutput

type GetTemplateSortInput

type GetTemplateSortInput interface {
	pulumi.Input

	ToGetTemplateSortOutput() GetTemplateSortOutput
	ToGetTemplateSortOutputWithContext(context.Context) GetTemplateSortOutput
}

GetTemplateSortInput is an input type that accepts GetTemplateSortArgs and GetTemplateSortOutput values. You can construct a concrete instance of `GetTemplateSortInput` via:

GetTemplateSortArgs{...}

type GetTemplateSortOutput

type GetTemplateSortOutput struct{ *pulumi.OutputState }

func (GetTemplateSortOutput) Direction

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

func (GetTemplateSortOutput) ElementType

func (GetTemplateSortOutput) ElementType() reflect.Type

func (GetTemplateSortOutput) Key

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

func (GetTemplateSortOutput) ToGetTemplateSortOutput

func (o GetTemplateSortOutput) ToGetTemplateSortOutput() GetTemplateSortOutput

func (GetTemplateSortOutput) ToGetTemplateSortOutputWithContext

func (o GetTemplateSortOutput) ToGetTemplateSortOutputWithContext(ctx context.Context) GetTemplateSortOutput

type GetTemplateTemplate

type GetTemplateTemplate struct {
	// The id of the template
	Id string `pulumi:"id"`
	// The label of the template.
	Label string `pulumi:"label"`
	// A short human readable name for the template
	Name string `pulumi:"name"`
	// The version of the template.
	Version string `pulumi:"version"`
}

type GetTemplateTemplateArgs

type GetTemplateTemplateArgs struct {
	// The id of the template
	Id pulumi.StringInput `pulumi:"id"`
	// The label of the template.
	Label pulumi.StringInput `pulumi:"label"`
	// A short human readable name for the template
	Name pulumi.StringInput `pulumi:"name"`
	// The version of the template.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetTemplateTemplateArgs) ElementType

func (GetTemplateTemplateArgs) ElementType() reflect.Type

func (GetTemplateTemplateArgs) ToGetTemplateTemplateOutput

func (i GetTemplateTemplateArgs) ToGetTemplateTemplateOutput() GetTemplateTemplateOutput

func (GetTemplateTemplateArgs) ToGetTemplateTemplateOutputWithContext

func (i GetTemplateTemplateArgs) ToGetTemplateTemplateOutputWithContext(ctx context.Context) GetTemplateTemplateOutput

type GetTemplateTemplateArray

type GetTemplateTemplateArray []GetTemplateTemplateInput

func (GetTemplateTemplateArray) ElementType

func (GetTemplateTemplateArray) ElementType() reflect.Type

func (GetTemplateTemplateArray) ToGetTemplateTemplateArrayOutput

func (i GetTemplateTemplateArray) ToGetTemplateTemplateArrayOutput() GetTemplateTemplateArrayOutput

func (GetTemplateTemplateArray) ToGetTemplateTemplateArrayOutputWithContext

func (i GetTemplateTemplateArray) ToGetTemplateTemplateArrayOutputWithContext(ctx context.Context) GetTemplateTemplateArrayOutput

type GetTemplateTemplateArrayInput

type GetTemplateTemplateArrayInput interface {
	pulumi.Input

	ToGetTemplateTemplateArrayOutput() GetTemplateTemplateArrayOutput
	ToGetTemplateTemplateArrayOutputWithContext(context.Context) GetTemplateTemplateArrayOutput
}

GetTemplateTemplateArrayInput is an input type that accepts GetTemplateTemplateArray and GetTemplateTemplateArrayOutput values. You can construct a concrete instance of `GetTemplateTemplateArrayInput` via:

GetTemplateTemplateArray{ GetTemplateTemplateArgs{...} }

type GetTemplateTemplateArrayOutput

type GetTemplateTemplateArrayOutput struct{ *pulumi.OutputState }

func (GetTemplateTemplateArrayOutput) ElementType

func (GetTemplateTemplateArrayOutput) Index

func (GetTemplateTemplateArrayOutput) ToGetTemplateTemplateArrayOutput

func (o GetTemplateTemplateArrayOutput) ToGetTemplateTemplateArrayOutput() GetTemplateTemplateArrayOutput

func (GetTemplateTemplateArrayOutput) ToGetTemplateTemplateArrayOutputWithContext

func (o GetTemplateTemplateArrayOutput) ToGetTemplateTemplateArrayOutputWithContext(ctx context.Context) GetTemplateTemplateArrayOutput

type GetTemplateTemplateInput

type GetTemplateTemplateInput interface {
	pulumi.Input

	ToGetTemplateTemplateOutput() GetTemplateTemplateOutput
	ToGetTemplateTemplateOutputWithContext(context.Context) GetTemplateTemplateOutput
}

GetTemplateTemplateInput is an input type that accepts GetTemplateTemplateArgs and GetTemplateTemplateOutput values. You can construct a concrete instance of `GetTemplateTemplateInput` via:

GetTemplateTemplateArgs{...}

type GetTemplateTemplateOutput

type GetTemplateTemplateOutput struct{ *pulumi.OutputState }

func (GetTemplateTemplateOutput) ElementType

func (GetTemplateTemplateOutput) ElementType() reflect.Type

func (GetTemplateTemplateOutput) Id

The id of the template

func (GetTemplateTemplateOutput) Label added in v1.0.1

The label of the template.

func (GetTemplateTemplateOutput) Name

A short human readable name for the template

func (GetTemplateTemplateOutput) ToGetTemplateTemplateOutput

func (o GetTemplateTemplateOutput) ToGetTemplateTemplateOutput() GetTemplateTemplateOutput

func (GetTemplateTemplateOutput) ToGetTemplateTemplateOutputWithContext

func (o GetTemplateTemplateOutput) ToGetTemplateTemplateOutputWithContext(ctx context.Context) GetTemplateTemplateOutput

func (GetTemplateTemplateOutput) Version added in v1.0.1

The version of the template.

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// Total cpu of the inatance.
	CpuCores pulumi.IntOutput `pulumi:"cpuCores"`
	// The date of creation of the instance
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The size of the disk.
	DiskGb pulumi.IntOutput `pulumi:"diskGb"`
	// 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"`
	// The Instance hostname, if is not declare the provider will generate one for you
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// Instance initial password
	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"`
	// The private ip.
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
	// Is the ip that is used to route the public ip from the internet to the instance using NAT
	PseudoIp pulumi.StringOutput `pulumi:"pseudoIp"`
	// The public ip.
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
	// This should be either `create`, `none` or `move_ip_from:intances_id`.
	PublicIpRequired pulumi.StringPtrOutput `pulumi:"publicIpRequired"`
	// Total ram of the instance.
	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"`
	// 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.k3s.small (required).
	Size       pulumi.StringPtrOutput `pulumi:"size"`
	SourceId   pulumi.StringOutput    `pulumi:"sourceId"`
	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.StringPtrOutput `pulumi:"sshkeyId"`
	// The status of the instance
	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.
	Template pulumi.StringOutput `pulumi:"template"`
}

Provides a Civo Instance resource. This can be used to create, modify, and delete Instances.

## Import

Instances can be imported using the instance `id`, e.g.

```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 added in v0.2.1

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput added in v0.2.1

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext added in v0.2.1

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (*Instance) ToInstancePtrOutput added in v0.3.1

func (i *Instance) ToInstancePtrOutput() InstancePtrOutput

func (*Instance) ToInstancePtrOutputWithContext added in v0.3.1

func (i *Instance) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput

type InstanceArgs

type InstanceArgs struct {
	// 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
	// The Instance hostname, if is not declare the provider will generate one for you
	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 `create`, `none` or `move_ip_from:intances_id`.
	PublicIpRequired pulumi.StringPtrInput
	// The region for the instance, if not declare we use the region in declared in the provider.
	Region 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.k3s.small (required).
	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.
	Template pulumi.StringPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray added in v0.3.1

type InstanceArray []InstanceInput

func (InstanceArray) ElementType added in v0.3.1

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput added in v0.3.1

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext added in v0.3.1

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput added in v0.3.1

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 added in v0.3.1

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType added in v0.3.1

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index added in v0.3.1

func (InstanceArrayOutput) ToInstanceArrayOutput added in v0.3.1

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext added in v0.3.1

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceInput added in v0.2.1

type InstanceInput interface {
	pulumi.Input

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

type InstanceMap added in v0.3.1

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType added in v0.3.1

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput added in v0.3.1

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext added in v0.3.1

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput added in v0.3.1

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 added in v0.3.1

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType added in v0.3.1

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex added in v0.3.1

func (InstanceMapOutput) ToInstanceMapOutput added in v0.3.1

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext added in v0.3.1

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceOutput added in v0.2.1

type InstanceOutput struct {
	*pulumi.OutputState
}

func (InstanceOutput) ElementType added in v0.2.1

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) ToInstanceOutput added in v0.2.1

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext added in v0.2.1

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

func (InstanceOutput) ToInstancePtrOutput added in v0.3.1

func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput

func (InstanceOutput) ToInstancePtrOutputWithContext added in v0.3.1

func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput

type InstancePtrInput added in v0.3.1

type InstancePtrInput interface {
	pulumi.Input

	ToInstancePtrOutput() InstancePtrOutput
	ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
}

type InstancePtrOutput added in v0.3.1

type InstancePtrOutput struct {
	*pulumi.OutputState
}

func (InstancePtrOutput) ElementType added in v0.3.1

func (InstancePtrOutput) ElementType() reflect.Type

func (InstancePtrOutput) ToInstancePtrOutput added in v0.3.1

func (o InstancePtrOutput) ToInstancePtrOutput() InstancePtrOutput

func (InstancePtrOutput) ToInstancePtrOutputWithContext added in v0.3.1

func (o InstancePtrOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput

type InstanceState

type InstanceState struct {
	// Total cpu of the inatance.
	CpuCores pulumi.IntPtrInput
	// The date of creation of the instance
	CreatedAt pulumi.StringPtrInput
	// The size of the disk.
	DiskGb pulumi.IntPtrInput
	// 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
	// The Instance hostname, if is not declare the provider will generate one for you
	Hostname pulumi.StringPtrInput
	// Instance initial password
	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
	// The private ip.
	PrivateIp pulumi.StringPtrInput
	// Is the ip that is used to route the public ip from the internet to the instance using NAT
	PseudoIp pulumi.StringPtrInput
	// The public ip.
	PublicIp pulumi.StringPtrInput
	// This should be either `create`, `none` or `move_ip_from:intances_id`.
	PublicIpRequired pulumi.StringPtrInput
	// Total ram of the instance.
	RamMb pulumi.IntPtrInput
	// The region for the instance, if not declare we use the region in declared in the provider.
	Region 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.k3s.small (required).
	Size       pulumi.StringPtrInput
	SourceId   pulumi.StringPtrInput
	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
	// The status of the instance
	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.
	Template pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type KubernetesCluster

type KubernetesCluster struct {
	pulumi.CustomResourceState

	// The base URL of the API server on the Kubernetes master node.
	ApiEndpoint pulumi.StringOutput `pulumi:"apiEndpoint"`
	// This field is a case-sensitive, a 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
	Applications pulumi.StringPtrOutput `pulumi:"applications"`
	// The date where the Kubernetes cluster was create.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The unique dns entry for the cluster in this case point to the master.
	DnsEntry pulumi.StringOutput `pulumi:"dnsEntry"`
	// A unique ID that can be used to identify and reference a Kubernetes cluster.
	InstalledApplications KubernetesClusterInstalledApplicationArrayOutput `pulumi:"installedApplications"`
	// A list of instance inside the pool
	Instances KubernetesClusterInstanceArrayOutput `pulumi:"instances"`
	// A representation of the Kubernetes cluster's kubeconfig in yaml format.
	Kubeconfig pulumi.StringOutput `pulumi:"kubeconfig"`
	// The version of k3s to install (The default is currently the latest available).
	KubernetesVersion pulumi.StringOutput `pulumi:"kubernetesVersion"`
	// The Ip of the Kubernetes master node.
	MasterIp pulumi.StringOutput `pulumi:"masterIp"`
	// A name for the Kubernetes cluster, if is not declare the provider will generate one for you.
	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 (The default at the time of writing is 3).
	NumTargetNodes pulumi.IntOutput `pulumi:"numTargetNodes"`
	// A list of node pools associated with the cluster. Each node pool exports the following attributes:
	Pools KubernetesClusterPoolArrayOutput `pulumi:"pools"`
	Ready pulumi.BoolOutput                `pulumi:"ready"`
	// The region for the cluster.
	Region pulumi.StringOutput `pulumi:"region"`
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status pulumi.StringOutput `pulumi:"status"`
	// A space separated list of tags, to be used freely as required.
	Tags pulumi.StringPtrOutput `pulumi:"tags"`
	// The size of each node (The default is currently g3.k3s.small)
	TargetNodesSize pulumi.StringOutput `pulumi:"targetNodesSize"`
}

## Import

Then the Kubernetes cluster can be imported using the cluster's `id`, e.g.

```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 added in v0.2.1

func (*KubernetesCluster) ElementType() reflect.Type

func (*KubernetesCluster) ToKubernetesClusterOutput added in v0.2.1

func (i *KubernetesCluster) ToKubernetesClusterOutput() KubernetesClusterOutput

func (*KubernetesCluster) ToKubernetesClusterOutputWithContext added in v0.2.1

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

func (*KubernetesCluster) ToKubernetesClusterPtrOutput added in v0.3.1

func (i *KubernetesCluster) ToKubernetesClusterPtrOutput() KubernetesClusterPtrOutput

func (*KubernetesCluster) ToKubernetesClusterPtrOutputWithContext added in v0.3.1

func (i *KubernetesCluster) ToKubernetesClusterPtrOutputWithContext(ctx context.Context) KubernetesClusterPtrOutput

type KubernetesClusterArgs

type KubernetesClusterArgs struct {
	// This field is a case-sensitive, a 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
	Applications pulumi.StringPtrInput
	// The version of k3s to install (The default is currently the latest available).
	KubernetesVersion pulumi.StringPtrInput
	// A name for the Kubernetes cluster, if is not declare the provider will generate one for you.
	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 (The default at the time of writing is 3).
	NumTargetNodes pulumi.IntPtrInput
	// The region for the cluster.
	Region pulumi.StringPtrInput
	// A space separated list of tags, to be used freely as required.
	Tags pulumi.StringPtrInput
	// The size of each node (The default is currently g3.k3s.small)
	TargetNodesSize pulumi.StringPtrInput
}

The set of arguments for constructing a KubernetesCluster resource.

func (KubernetesClusterArgs) ElementType

func (KubernetesClusterArgs) ElementType() reflect.Type

type KubernetesClusterArray added in v0.3.1

type KubernetesClusterArray []KubernetesClusterInput

func (KubernetesClusterArray) ElementType added in v0.3.1

func (KubernetesClusterArray) ElementType() reflect.Type

func (KubernetesClusterArray) ToKubernetesClusterArrayOutput added in v0.3.1

func (i KubernetesClusterArray) ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput

func (KubernetesClusterArray) ToKubernetesClusterArrayOutputWithContext added in v0.3.1

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

type KubernetesClusterArrayInput added in v0.3.1

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 added in v0.3.1

type KubernetesClusterArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterArrayOutput) ElementType added in v0.3.1

func (KubernetesClusterArrayOutput) Index added in v0.3.1

func (KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutput added in v0.3.1

func (o KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput

func (KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutputWithContext added in v0.3.1

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

type KubernetesClusterInput added in v0.2.1

type KubernetesClusterInput interface {
	pulumi.Input

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

type KubernetesClusterInstalledApplication

type KubernetesClusterInstalledApplication struct {
	// The name of the application
	Application *string `pulumi:"application"`
	// The category of the application
	Category *string `pulumi:"category"`
	// if installed or not
	Installed *bool `pulumi:"installed"`
	// The version of the application
	Version *string `pulumi:"version"`
}

type KubernetesClusterInstalledApplicationArgs

type KubernetesClusterInstalledApplicationArgs struct {
	// The name of the application
	Application pulumi.StringPtrInput `pulumi:"application"`
	// The category of the application
	Category pulumi.StringPtrInput `pulumi:"category"`
	// if installed or not
	Installed pulumi.BoolPtrInput `pulumi:"installed"`
	// The version of the 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

The name of the application

func (KubernetesClusterInstalledApplicationOutput) Category

The category of the application

func (KubernetesClusterInstalledApplicationOutput) ElementType

func (KubernetesClusterInstalledApplicationOutput) Installed

if installed or not

func (KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutput

func (o KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutput() KubernetesClusterInstalledApplicationOutput

func (KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutputWithContext

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

func (KubernetesClusterInstalledApplicationOutput) Version

The version of the application

type KubernetesClusterInstance

type KubernetesClusterInstance struct {
	// Total cpu of the inatance.
	CpuCores *int `pulumi:"cpuCores"`
	// The size of the disk.
	DiskGb *int `pulumi:"diskGb"`
	// The hostname of the instance.
	Hostname *string `pulumi:"hostname"`
	// Total ram of the instance
	RamMb *int `pulumi:"ramMb"`
	// The size of the instance.
	Size *string `pulumi:"size"`
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status *string `pulumi:"status"`
	// A space separated list of tags, to be used freely as required.
	Tags []string `pulumi:"tags"`
}

type KubernetesClusterInstanceArgs

type KubernetesClusterInstanceArgs struct {
	// Total cpu of the inatance.
	CpuCores pulumi.IntPtrInput `pulumi:"cpuCores"`
	// The size of the disk.
	DiskGb pulumi.IntPtrInput `pulumi:"diskGb"`
	// The hostname of the instance.
	Hostname pulumi.StringPtrInput `pulumi:"hostname"`
	// Total ram of the instance
	RamMb pulumi.IntPtrInput `pulumi:"ramMb"`
	// The size of the instance.
	Size pulumi.StringPtrInput `pulumi:"size"`
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// A space separated list of tags, to be used freely as required.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

func (KubernetesClusterInstanceArgs) ElementType

func (KubernetesClusterInstanceArgs) ToKubernetesClusterInstanceOutput

func (i KubernetesClusterInstanceArgs) ToKubernetesClusterInstanceOutput() KubernetesClusterInstanceOutput

func (KubernetesClusterInstanceArgs) ToKubernetesClusterInstanceOutputWithContext

func (i KubernetesClusterInstanceArgs) ToKubernetesClusterInstanceOutputWithContext(ctx context.Context) KubernetesClusterInstanceOutput

type KubernetesClusterInstanceArray

type KubernetesClusterInstanceArray []KubernetesClusterInstanceInput

func (KubernetesClusterInstanceArray) ElementType

func (KubernetesClusterInstanceArray) ToKubernetesClusterInstanceArrayOutput

func (i KubernetesClusterInstanceArray) ToKubernetesClusterInstanceArrayOutput() KubernetesClusterInstanceArrayOutput

func (KubernetesClusterInstanceArray) ToKubernetesClusterInstanceArrayOutputWithContext

func (i KubernetesClusterInstanceArray) ToKubernetesClusterInstanceArrayOutputWithContext(ctx context.Context) KubernetesClusterInstanceArrayOutput

type KubernetesClusterInstanceArrayInput

type KubernetesClusterInstanceArrayInput interface {
	pulumi.Input

	ToKubernetesClusterInstanceArrayOutput() KubernetesClusterInstanceArrayOutput
	ToKubernetesClusterInstanceArrayOutputWithContext(context.Context) KubernetesClusterInstanceArrayOutput
}

KubernetesClusterInstanceArrayInput is an input type that accepts KubernetesClusterInstanceArray and KubernetesClusterInstanceArrayOutput values. You can construct a concrete instance of `KubernetesClusterInstanceArrayInput` via:

KubernetesClusterInstanceArray{ KubernetesClusterInstanceArgs{...} }

type KubernetesClusterInstanceArrayOutput

type KubernetesClusterInstanceArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterInstanceArrayOutput) ElementType

func (KubernetesClusterInstanceArrayOutput) Index

func (KubernetesClusterInstanceArrayOutput) ToKubernetesClusterInstanceArrayOutput

func (o KubernetesClusterInstanceArrayOutput) ToKubernetesClusterInstanceArrayOutput() KubernetesClusterInstanceArrayOutput

func (KubernetesClusterInstanceArrayOutput) ToKubernetesClusterInstanceArrayOutputWithContext

func (o KubernetesClusterInstanceArrayOutput) ToKubernetesClusterInstanceArrayOutputWithContext(ctx context.Context) KubernetesClusterInstanceArrayOutput

type KubernetesClusterInstanceInput

type KubernetesClusterInstanceInput interface {
	pulumi.Input

	ToKubernetesClusterInstanceOutput() KubernetesClusterInstanceOutput
	ToKubernetesClusterInstanceOutputWithContext(context.Context) KubernetesClusterInstanceOutput
}

KubernetesClusterInstanceInput is an input type that accepts KubernetesClusterInstanceArgs and KubernetesClusterInstanceOutput values. You can construct a concrete instance of `KubernetesClusterInstanceInput` via:

KubernetesClusterInstanceArgs{...}

type KubernetesClusterInstanceOutput

type KubernetesClusterInstanceOutput struct{ *pulumi.OutputState }

func (KubernetesClusterInstanceOutput) CpuCores

Total cpu of the inatance.

func (KubernetesClusterInstanceOutput) DiskGb

The size of the disk.

func (KubernetesClusterInstanceOutput) ElementType

func (KubernetesClusterInstanceOutput) Hostname

The hostname of the instance.

func (KubernetesClusterInstanceOutput) RamMb

Total ram of the instance

func (KubernetesClusterInstanceOutput) Size

The size of the instance.

func (KubernetesClusterInstanceOutput) Status

The status of Kubernetes cluster. * `ready` -If the Kubernetes cluster is ready.

func (KubernetesClusterInstanceOutput) Tags

A space separated list of tags, to be used freely as required.

func (KubernetesClusterInstanceOutput) ToKubernetesClusterInstanceOutput

func (o KubernetesClusterInstanceOutput) ToKubernetesClusterInstanceOutput() KubernetesClusterInstanceOutput

func (KubernetesClusterInstanceOutput) ToKubernetesClusterInstanceOutputWithContext

func (o KubernetesClusterInstanceOutput) ToKubernetesClusterInstanceOutputWithContext(ctx context.Context) KubernetesClusterInstanceOutput

type KubernetesClusterMap added in v0.3.1

type KubernetesClusterMap map[string]KubernetesClusterInput

func (KubernetesClusterMap) ElementType added in v0.3.1

func (KubernetesClusterMap) ElementType() reflect.Type

func (KubernetesClusterMap) ToKubernetesClusterMapOutput added in v0.3.1

func (i KubernetesClusterMap) ToKubernetesClusterMapOutput() KubernetesClusterMapOutput

func (KubernetesClusterMap) ToKubernetesClusterMapOutputWithContext added in v0.3.1

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

type KubernetesClusterMapInput added in v0.3.1

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 added in v0.3.1

type KubernetesClusterMapOutput struct{ *pulumi.OutputState }

func (KubernetesClusterMapOutput) ElementType added in v0.3.1

func (KubernetesClusterMapOutput) ElementType() reflect.Type

func (KubernetesClusterMapOutput) MapIndex added in v0.3.1

func (KubernetesClusterMapOutput) ToKubernetesClusterMapOutput added in v0.3.1

func (o KubernetesClusterMapOutput) ToKubernetesClusterMapOutput() KubernetesClusterMapOutput

func (KubernetesClusterMapOutput) ToKubernetesClusterMapOutputWithContext added in v0.3.1

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

type KubernetesClusterOutput added in v0.2.1

type KubernetesClusterOutput struct {
	*pulumi.OutputState
}

func (KubernetesClusterOutput) ElementType added in v0.2.1

func (KubernetesClusterOutput) ElementType() reflect.Type

func (KubernetesClusterOutput) ToKubernetesClusterOutput added in v0.2.1

func (o KubernetesClusterOutput) ToKubernetesClusterOutput() KubernetesClusterOutput

func (KubernetesClusterOutput) ToKubernetesClusterOutputWithContext added in v0.2.1

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

func (KubernetesClusterOutput) ToKubernetesClusterPtrOutput added in v0.3.1

func (o KubernetesClusterOutput) ToKubernetesClusterPtrOutput() KubernetesClusterPtrOutput

func (KubernetesClusterOutput) ToKubernetesClusterPtrOutputWithContext added in v0.3.1

func (o KubernetesClusterOutput) ToKubernetesClusterPtrOutputWithContext(ctx context.Context) KubernetesClusterPtrOutput

type KubernetesClusterPool added in v1.0.1

type KubernetesClusterPool struct {
	// The size of the pool
	Count *int `pulumi:"count"`
	// The ID of the pool
	Id *string `pulumi:"id"`
	// A list of the instance in the pool
	InstanceNames []string `pulumi:"instanceNames"`
	// A list of instance inside the pool
	Instances []KubernetesClusterPoolInstance `pulumi:"instances"`
	// The size of the instance.
	Size *string `pulumi:"size"`
}

type KubernetesClusterPoolArgs added in v1.0.1

type KubernetesClusterPoolArgs struct {
	// The size of the pool
	Count pulumi.IntPtrInput `pulumi:"count"`
	// The ID of the pool
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A list of the instance in the pool
	InstanceNames pulumi.StringArrayInput `pulumi:"instanceNames"`
	// A list of instance inside the pool
	Instances KubernetesClusterPoolInstanceArrayInput `pulumi:"instances"`
	// The size of the instance.
	Size pulumi.StringPtrInput `pulumi:"size"`
}

func (KubernetesClusterPoolArgs) ElementType added in v1.0.1

func (KubernetesClusterPoolArgs) ElementType() reflect.Type

func (KubernetesClusterPoolArgs) ToKubernetesClusterPoolOutput added in v1.0.1

func (i KubernetesClusterPoolArgs) ToKubernetesClusterPoolOutput() KubernetesClusterPoolOutput

func (KubernetesClusterPoolArgs) ToKubernetesClusterPoolOutputWithContext added in v1.0.1

func (i KubernetesClusterPoolArgs) ToKubernetesClusterPoolOutputWithContext(ctx context.Context) KubernetesClusterPoolOutput

type KubernetesClusterPoolArray added in v1.0.1

type KubernetesClusterPoolArray []KubernetesClusterPoolInput

func (KubernetesClusterPoolArray) ElementType added in v1.0.1

func (KubernetesClusterPoolArray) ElementType() reflect.Type

func (KubernetesClusterPoolArray) ToKubernetesClusterPoolArrayOutput added in v1.0.1

func (i KubernetesClusterPoolArray) ToKubernetesClusterPoolArrayOutput() KubernetesClusterPoolArrayOutput

func (KubernetesClusterPoolArray) ToKubernetesClusterPoolArrayOutputWithContext added in v1.0.1

func (i KubernetesClusterPoolArray) ToKubernetesClusterPoolArrayOutputWithContext(ctx context.Context) KubernetesClusterPoolArrayOutput

type KubernetesClusterPoolArrayInput added in v1.0.1

type KubernetesClusterPoolArrayInput interface {
	pulumi.Input

	ToKubernetesClusterPoolArrayOutput() KubernetesClusterPoolArrayOutput
	ToKubernetesClusterPoolArrayOutputWithContext(context.Context) KubernetesClusterPoolArrayOutput
}

KubernetesClusterPoolArrayInput is an input type that accepts KubernetesClusterPoolArray and KubernetesClusterPoolArrayOutput values. You can construct a concrete instance of `KubernetesClusterPoolArrayInput` via:

KubernetesClusterPoolArray{ KubernetesClusterPoolArgs{...} }

type KubernetesClusterPoolArrayOutput added in v1.0.1

type KubernetesClusterPoolArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterPoolArrayOutput) ElementType added in v1.0.1

func (KubernetesClusterPoolArrayOutput) Index added in v1.0.1

func (KubernetesClusterPoolArrayOutput) ToKubernetesClusterPoolArrayOutput added in v1.0.1

func (o KubernetesClusterPoolArrayOutput) ToKubernetesClusterPoolArrayOutput() KubernetesClusterPoolArrayOutput

func (KubernetesClusterPoolArrayOutput) ToKubernetesClusterPoolArrayOutputWithContext added in v1.0.1

func (o KubernetesClusterPoolArrayOutput) ToKubernetesClusterPoolArrayOutputWithContext(ctx context.Context) KubernetesClusterPoolArrayOutput

type KubernetesClusterPoolInput added in v1.0.1

type KubernetesClusterPoolInput interface {
	pulumi.Input

	ToKubernetesClusterPoolOutput() KubernetesClusterPoolOutput
	ToKubernetesClusterPoolOutputWithContext(context.Context) KubernetesClusterPoolOutput
}

KubernetesClusterPoolInput is an input type that accepts KubernetesClusterPoolArgs and KubernetesClusterPoolOutput values. You can construct a concrete instance of `KubernetesClusterPoolInput` via:

KubernetesClusterPoolArgs{...}

type KubernetesClusterPoolInstance added in v1.0.1

type KubernetesClusterPoolInstance struct {
	// Total cpu of the inatance.
	CpuCores *int `pulumi:"cpuCores"`
	// The size of the disk.
	DiskGb *int `pulumi:"diskGb"`
	// The hostname of the instance.
	Hostname *string `pulumi:"hostname"`
	// Total ram of the instance
	RamMb *int `pulumi:"ramMb"`
	// The size of the instance.
	Size *string `pulumi:"size"`
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status *string `pulumi:"status"`
	// A space separated list of tags, to be used freely as required.
	Tags []string `pulumi:"tags"`
}

type KubernetesClusterPoolInstanceArgs added in v1.0.1

type KubernetesClusterPoolInstanceArgs struct {
	// Total cpu of the inatance.
	CpuCores pulumi.IntPtrInput `pulumi:"cpuCores"`
	// The size of the disk.
	DiskGb pulumi.IntPtrInput `pulumi:"diskGb"`
	// The hostname of the instance.
	Hostname pulumi.StringPtrInput `pulumi:"hostname"`
	// Total ram of the instance
	RamMb pulumi.IntPtrInput `pulumi:"ramMb"`
	// The size of the instance.
	Size pulumi.StringPtrInput `pulumi:"size"`
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// A space separated list of tags, to be used freely as required.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

func (KubernetesClusterPoolInstanceArgs) ElementType added in v1.0.1

func (KubernetesClusterPoolInstanceArgs) ToKubernetesClusterPoolInstanceOutput added in v1.0.1

func (i KubernetesClusterPoolInstanceArgs) ToKubernetesClusterPoolInstanceOutput() KubernetesClusterPoolInstanceOutput

func (KubernetesClusterPoolInstanceArgs) ToKubernetesClusterPoolInstanceOutputWithContext added in v1.0.1

func (i KubernetesClusterPoolInstanceArgs) ToKubernetesClusterPoolInstanceOutputWithContext(ctx context.Context) KubernetesClusterPoolInstanceOutput

type KubernetesClusterPoolInstanceArray added in v1.0.1

type KubernetesClusterPoolInstanceArray []KubernetesClusterPoolInstanceInput

func (KubernetesClusterPoolInstanceArray) ElementType added in v1.0.1

func (KubernetesClusterPoolInstanceArray) ToKubernetesClusterPoolInstanceArrayOutput added in v1.0.1

func (i KubernetesClusterPoolInstanceArray) ToKubernetesClusterPoolInstanceArrayOutput() KubernetesClusterPoolInstanceArrayOutput

func (KubernetesClusterPoolInstanceArray) ToKubernetesClusterPoolInstanceArrayOutputWithContext added in v1.0.1

func (i KubernetesClusterPoolInstanceArray) ToKubernetesClusterPoolInstanceArrayOutputWithContext(ctx context.Context) KubernetesClusterPoolInstanceArrayOutput

type KubernetesClusterPoolInstanceArrayInput added in v1.0.1

type KubernetesClusterPoolInstanceArrayInput interface {
	pulumi.Input

	ToKubernetesClusterPoolInstanceArrayOutput() KubernetesClusterPoolInstanceArrayOutput
	ToKubernetesClusterPoolInstanceArrayOutputWithContext(context.Context) KubernetesClusterPoolInstanceArrayOutput
}

KubernetesClusterPoolInstanceArrayInput is an input type that accepts KubernetesClusterPoolInstanceArray and KubernetesClusterPoolInstanceArrayOutput values. You can construct a concrete instance of `KubernetesClusterPoolInstanceArrayInput` via:

KubernetesClusterPoolInstanceArray{ KubernetesClusterPoolInstanceArgs{...} }

type KubernetesClusterPoolInstanceArrayOutput added in v1.0.1

type KubernetesClusterPoolInstanceArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterPoolInstanceArrayOutput) ElementType added in v1.0.1

func (KubernetesClusterPoolInstanceArrayOutput) Index added in v1.0.1

func (KubernetesClusterPoolInstanceArrayOutput) ToKubernetesClusterPoolInstanceArrayOutput added in v1.0.1

func (o KubernetesClusterPoolInstanceArrayOutput) ToKubernetesClusterPoolInstanceArrayOutput() KubernetesClusterPoolInstanceArrayOutput

func (KubernetesClusterPoolInstanceArrayOutput) ToKubernetesClusterPoolInstanceArrayOutputWithContext added in v1.0.1

func (o KubernetesClusterPoolInstanceArrayOutput) ToKubernetesClusterPoolInstanceArrayOutputWithContext(ctx context.Context) KubernetesClusterPoolInstanceArrayOutput

type KubernetesClusterPoolInstanceInput added in v1.0.1

type KubernetesClusterPoolInstanceInput interface {
	pulumi.Input

	ToKubernetesClusterPoolInstanceOutput() KubernetesClusterPoolInstanceOutput
	ToKubernetesClusterPoolInstanceOutputWithContext(context.Context) KubernetesClusterPoolInstanceOutput
}

KubernetesClusterPoolInstanceInput is an input type that accepts KubernetesClusterPoolInstanceArgs and KubernetesClusterPoolInstanceOutput values. You can construct a concrete instance of `KubernetesClusterPoolInstanceInput` via:

KubernetesClusterPoolInstanceArgs{...}

type KubernetesClusterPoolInstanceOutput added in v1.0.1

type KubernetesClusterPoolInstanceOutput struct{ *pulumi.OutputState }

func (KubernetesClusterPoolInstanceOutput) CpuCores added in v1.0.1

Total cpu of the inatance.

func (KubernetesClusterPoolInstanceOutput) DiskGb added in v1.0.1

The size of the disk.

func (KubernetesClusterPoolInstanceOutput) ElementType added in v1.0.1

func (KubernetesClusterPoolInstanceOutput) Hostname added in v1.0.1

The hostname of the instance.

func (KubernetesClusterPoolInstanceOutput) RamMb added in v1.0.1

Total ram of the instance

func (KubernetesClusterPoolInstanceOutput) Size added in v1.0.1

The size of the instance.

func (KubernetesClusterPoolInstanceOutput) Status added in v1.0.1

The status of Kubernetes cluster. * `ready` -If the Kubernetes cluster is ready.

func (KubernetesClusterPoolInstanceOutput) Tags added in v1.0.1

A space separated list of tags, to be used freely as required.

func (KubernetesClusterPoolInstanceOutput) ToKubernetesClusterPoolInstanceOutput added in v1.0.1

func (o KubernetesClusterPoolInstanceOutput) ToKubernetesClusterPoolInstanceOutput() KubernetesClusterPoolInstanceOutput

func (KubernetesClusterPoolInstanceOutput) ToKubernetesClusterPoolInstanceOutputWithContext added in v1.0.1

func (o KubernetesClusterPoolInstanceOutput) ToKubernetesClusterPoolInstanceOutputWithContext(ctx context.Context) KubernetesClusterPoolInstanceOutput

type KubernetesClusterPoolOutput added in v1.0.1

type KubernetesClusterPoolOutput struct{ *pulumi.OutputState }

func (KubernetesClusterPoolOutput) Count added in v1.0.1

The size of the pool

func (KubernetesClusterPoolOutput) ElementType added in v1.0.1

func (KubernetesClusterPoolOutput) Id added in v1.0.1

The ID of the pool

func (KubernetesClusterPoolOutput) InstanceNames added in v1.0.1

A list of the instance in the pool

func (KubernetesClusterPoolOutput) Instances added in v1.0.1

A list of instance inside the pool

func (KubernetesClusterPoolOutput) Size added in v1.0.1

The size of the instance.

func (KubernetesClusterPoolOutput) ToKubernetesClusterPoolOutput added in v1.0.1

func (o KubernetesClusterPoolOutput) ToKubernetesClusterPoolOutput() KubernetesClusterPoolOutput

func (KubernetesClusterPoolOutput) ToKubernetesClusterPoolOutputWithContext added in v1.0.1

func (o KubernetesClusterPoolOutput) ToKubernetesClusterPoolOutputWithContext(ctx context.Context) KubernetesClusterPoolOutput

type KubernetesClusterPtrInput added in v0.3.1

type KubernetesClusterPtrInput interface {
	pulumi.Input

	ToKubernetesClusterPtrOutput() KubernetesClusterPtrOutput
	ToKubernetesClusterPtrOutputWithContext(ctx context.Context) KubernetesClusterPtrOutput
}

type KubernetesClusterPtrOutput added in v0.3.1

type KubernetesClusterPtrOutput struct {
	*pulumi.OutputState
}

func (KubernetesClusterPtrOutput) ElementType added in v0.3.1

func (KubernetesClusterPtrOutput) ElementType() reflect.Type

func (KubernetesClusterPtrOutput) ToKubernetesClusterPtrOutput added in v0.3.1

func (o KubernetesClusterPtrOutput) ToKubernetesClusterPtrOutput() KubernetesClusterPtrOutput

func (KubernetesClusterPtrOutput) ToKubernetesClusterPtrOutputWithContext added in v0.3.1

func (o KubernetesClusterPtrOutput) ToKubernetesClusterPtrOutputWithContext(ctx context.Context) KubernetesClusterPtrOutput

type KubernetesClusterState

type KubernetesClusterState struct {
	// The base URL of the API server on the Kubernetes master node.
	ApiEndpoint pulumi.StringPtrInput
	// This field is a case-sensitive, a 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
	Applications pulumi.StringPtrInput
	// The date where the Kubernetes cluster was create.
	CreatedAt pulumi.StringPtrInput
	// The unique dns entry for the cluster in this case point to the master.
	DnsEntry pulumi.StringPtrInput
	// A unique ID that can be used to identify and reference a Kubernetes cluster.
	InstalledApplications KubernetesClusterInstalledApplicationArrayInput
	// A list of instance inside the pool
	Instances KubernetesClusterInstanceArrayInput
	// A representation of the Kubernetes cluster's kubeconfig in yaml format.
	Kubeconfig pulumi.StringPtrInput
	// The version of k3s to install (The default is currently the latest available).
	KubernetesVersion pulumi.StringPtrInput
	// The Ip of the Kubernetes master node.
	MasterIp pulumi.StringPtrInput
	// A name for the Kubernetes cluster, if is not declare the provider will generate one for you.
	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 (The default at the time of writing is 3).
	NumTargetNodes pulumi.IntPtrInput
	// A list of node pools associated with the cluster. Each node pool exports the following attributes:
	Pools KubernetesClusterPoolArrayInput
	Ready pulumi.BoolPtrInput
	// The region for the cluster.
	Region pulumi.StringPtrInput
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status pulumi.StringPtrInput
	// A space separated list of tags, to be used freely as required.
	Tags pulumi.StringPtrInput
	// The size of each node (The default is currently g3.k3s.small)
	TargetNodesSize pulumi.StringPtrInput
}

func (KubernetesClusterState) ElementType

func (KubernetesClusterState) ElementType() reflect.Type

type KubernetesNodePool added in v1.0.1

type KubernetesNodePool struct {
	pulumi.CustomResourceState

	// The ID of the Kubernetes cluster to which the node pool is associated.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The number of instances to create (The default at the time of writing is 3).
	NumTargetNodes pulumi.IntOutput `pulumi:"numTargetNodes"`
	// The region of the node pool, has to match that of the cluster.
	Region pulumi.StringOutput `pulumi:"region"`
	// The size of each node.
	TargetNodesSize pulumi.StringOutput `pulumi:"targetNodesSize"`
}

Provides a Civo Kubernetes node pool resource. While the default node pool must be defined in the KubernetesCluster resource, this resource can be used to add additional ones to a cluster.

## Import

Then the Kubernetes cluster node pool can be imported using the cluster's and pool id `cluster_id:node_pool_id`, e.g.

```sh

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

```

func GetKubernetesNodePool added in v1.0.1

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 added in v1.0.1

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 added in v1.0.1

func (*KubernetesNodePool) ElementType() reflect.Type

func (*KubernetesNodePool) ToKubernetesNodePoolOutput added in v1.0.1

func (i *KubernetesNodePool) ToKubernetesNodePoolOutput() KubernetesNodePoolOutput

func (*KubernetesNodePool) ToKubernetesNodePoolOutputWithContext added in v1.0.1

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

func (*KubernetesNodePool) ToKubernetesNodePoolPtrOutput added in v1.0.1

func (i *KubernetesNodePool) ToKubernetesNodePoolPtrOutput() KubernetesNodePoolPtrOutput

func (*KubernetesNodePool) ToKubernetesNodePoolPtrOutputWithContext added in v1.0.1

func (i *KubernetesNodePool) ToKubernetesNodePoolPtrOutputWithContext(ctx context.Context) KubernetesNodePoolPtrOutput

type KubernetesNodePoolArgs added in v1.0.1

type KubernetesNodePoolArgs struct {
	// The ID of the Kubernetes cluster to which the node pool is associated.
	ClusterId pulumi.StringInput
	// The number of instances to create (The default at the time of writing is 3).
	NumTargetNodes pulumi.IntPtrInput
	// The region of the node pool, has to match that of the cluster.
	Region pulumi.StringInput
	// The size of each node.
	TargetNodesSize pulumi.StringPtrInput
}

The set of arguments for constructing a KubernetesNodePool resource.

func (KubernetesNodePoolArgs) ElementType added in v1.0.1

func (KubernetesNodePoolArgs) ElementType() reflect.Type

type KubernetesNodePoolArray added in v1.0.1

type KubernetesNodePoolArray []KubernetesNodePoolInput

func (KubernetesNodePoolArray) ElementType added in v1.0.1

func (KubernetesNodePoolArray) ElementType() reflect.Type

func (KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutput added in v1.0.1

func (i KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput

func (KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutputWithContext added in v1.0.1

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

type KubernetesNodePoolArrayInput added in v1.0.1

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 added in v1.0.1

type KubernetesNodePoolArrayOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolArrayOutput) ElementType added in v1.0.1

func (KubernetesNodePoolArrayOutput) Index added in v1.0.1

func (KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutput added in v1.0.1

func (o KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput

func (KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutputWithContext added in v1.0.1

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

type KubernetesNodePoolInput added in v1.0.1

type KubernetesNodePoolInput interface {
	pulumi.Input

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

type KubernetesNodePoolMap added in v1.0.1

type KubernetesNodePoolMap map[string]KubernetesNodePoolInput

func (KubernetesNodePoolMap) ElementType added in v1.0.1

func (KubernetesNodePoolMap) ElementType() reflect.Type

func (KubernetesNodePoolMap) ToKubernetesNodePoolMapOutput added in v1.0.1

func (i KubernetesNodePoolMap) ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput

func (KubernetesNodePoolMap) ToKubernetesNodePoolMapOutputWithContext added in v1.0.1

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

type KubernetesNodePoolMapInput added in v1.0.1

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 added in v1.0.1

type KubernetesNodePoolMapOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolMapOutput) ElementType added in v1.0.1

func (KubernetesNodePoolMapOutput) MapIndex added in v1.0.1

func (KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutput added in v1.0.1

func (o KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput

func (KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutputWithContext added in v1.0.1

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

type KubernetesNodePoolOutput added in v1.0.1

type KubernetesNodePoolOutput struct {
	*pulumi.OutputState
}

func (KubernetesNodePoolOutput) ElementType added in v1.0.1

func (KubernetesNodePoolOutput) ElementType() reflect.Type

func (KubernetesNodePoolOutput) ToKubernetesNodePoolOutput added in v1.0.1

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutput() KubernetesNodePoolOutput

func (KubernetesNodePoolOutput) ToKubernetesNodePoolOutputWithContext added in v1.0.1

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

func (KubernetesNodePoolOutput) ToKubernetesNodePoolPtrOutput added in v1.0.1

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolPtrOutput() KubernetesNodePoolPtrOutput

func (KubernetesNodePoolOutput) ToKubernetesNodePoolPtrOutputWithContext added in v1.0.1

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolPtrOutputWithContext(ctx context.Context) KubernetesNodePoolPtrOutput

type KubernetesNodePoolPtrInput added in v1.0.1

type KubernetesNodePoolPtrInput interface {
	pulumi.Input

	ToKubernetesNodePoolPtrOutput() KubernetesNodePoolPtrOutput
	ToKubernetesNodePoolPtrOutputWithContext(ctx context.Context) KubernetesNodePoolPtrOutput
}

type KubernetesNodePoolPtrOutput added in v1.0.1

type KubernetesNodePoolPtrOutput struct {
	*pulumi.OutputState
}

func (KubernetesNodePoolPtrOutput) ElementType added in v1.0.1

func (KubernetesNodePoolPtrOutput) ToKubernetesNodePoolPtrOutput added in v1.0.1

func (o KubernetesNodePoolPtrOutput) ToKubernetesNodePoolPtrOutput() KubernetesNodePoolPtrOutput

func (KubernetesNodePoolPtrOutput) ToKubernetesNodePoolPtrOutputWithContext added in v1.0.1

func (o KubernetesNodePoolPtrOutput) ToKubernetesNodePoolPtrOutputWithContext(ctx context.Context) KubernetesNodePoolPtrOutput

type KubernetesNodePoolState added in v1.0.1

type KubernetesNodePoolState struct {
	// The ID of the Kubernetes cluster to which the node pool is associated.
	ClusterId pulumi.StringPtrInput
	// The number of instances to create (The default at the time of writing is 3).
	NumTargetNodes pulumi.IntPtrInput
	// The region of the node pool, has to match that of the cluster.
	Region pulumi.StringPtrInput
	// The size of each node.
	TargetNodesSize pulumi.StringPtrInput
}

func (KubernetesNodePoolState) ElementType added in v1.0.1

func (KubernetesNodePoolState) ElementType() reflect.Type

type LoadBalancer

type LoadBalancer struct {
	pulumi.CustomResourceState

	// a list of backend instances, each containing an instance_id, protocol (http or https) and port
	Backends LoadBalancerBackendArrayOutput `pulumi:"backends"`
	// how long to wait in seconds before determining a backend has failed, defaults to 30
	FailTimeout pulumi.IntOutput `pulumi:"failTimeout"`
	// what URL should be used on the backends to determine if it's OK (2xx/3xx status), defaults to /
	HealthCheckPath pulumi.StringPtrOutput `pulumi:"healthCheckPath"`
	// the hostname to receive traffic for, e.g. www.example.com (optional: sets hostname to loadbalancer-uuid.civo.com if
	// blank)
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// should self-signed/invalid certificates be ignored from the backend servers, defaults to true
	IgnoreInvalidBackendTls pulumi.BoolPtrOutput `pulumi:"ignoreInvalidBackendTls"`
	// how many concurrent connections can each backend handle, defaults to 10
	MaxConns pulumi.IntOutput `pulumi:"maxConns"`
	// the size in megabytes of the maximum request content that will be accepted, defaults to 20
	MaxRequestSize pulumi.IntOutput `pulumi:"maxRequestSize"`
	// one of: least_conn (sends new requests to the least busy server), random (sends new requests to a random backend),
	// round_robin (sends new requests to the next backend in order), ip_hash (sends requests from a given IP address to the
	// same backend), default is random
	Policy pulumi.StringOutput `pulumi:"policy"`
	// you can listen on any port, the default is 80 to match the default protocol of http,if not you must specify it here
	// (commonly 80 for HTTP or 443 for HTTPS)
	Port pulumi.IntOutput `pulumi:"port"`
	// either http or https. If you specify https then you must also provide the next two fields, the default is http
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// if your protocol is https then you should send the TLS certificate in Base64-encoded PEM format
	TlsCertificate pulumi.StringPtrOutput `pulumi:"tlsCertificate"`
	// if your protocol is https then you should send the TLS private key in Base64-encoded PEM format
	TlsKey pulumi.StringPtrOutput `pulumi:"tlsKey"`
}

func GetLoadBalancer

func GetLoadBalancer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LoadBalancerState, opts ...pulumi.ResourceOption) (*LoadBalancer, error)

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

func NewLoadBalancer

func NewLoadBalancer(ctx *pulumi.Context,
	name string, args *LoadBalancerArgs, opts ...pulumi.ResourceOption) (*LoadBalancer, error)

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

func (*LoadBalancer) ElementType added in v0.2.1

func (*LoadBalancer) ElementType() reflect.Type

func (*LoadBalancer) ToLoadBalancerOutput added in v0.2.1

func (i *LoadBalancer) ToLoadBalancerOutput() LoadBalancerOutput

func (*LoadBalancer) ToLoadBalancerOutputWithContext added in v0.2.1

func (i *LoadBalancer) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput

func (*LoadBalancer) ToLoadBalancerPtrOutput added in v0.3.1

func (i *LoadBalancer) ToLoadBalancerPtrOutput() LoadBalancerPtrOutput

func (*LoadBalancer) ToLoadBalancerPtrOutputWithContext added in v0.3.1

func (i *LoadBalancer) ToLoadBalancerPtrOutputWithContext(ctx context.Context) LoadBalancerPtrOutput

type LoadBalancerArgs

type LoadBalancerArgs struct {
	// a list of backend instances, each containing an instance_id, protocol (http or https) and port
	Backends LoadBalancerBackendArrayInput
	// how long to wait in seconds before determining a backend has failed, defaults to 30
	FailTimeout pulumi.IntInput
	// what URL should be used on the backends to determine if it's OK (2xx/3xx status), defaults to /
	HealthCheckPath pulumi.StringPtrInput
	// the hostname to receive traffic for, e.g. www.example.com (optional: sets hostname to loadbalancer-uuid.civo.com if
	// blank)
	Hostname pulumi.StringInput
	// should self-signed/invalid certificates be ignored from the backend servers, defaults to true
	IgnoreInvalidBackendTls pulumi.BoolPtrInput
	// how many concurrent connections can each backend handle, defaults to 10
	MaxConns pulumi.IntInput
	// the size in megabytes of the maximum request content that will be accepted, defaults to 20
	MaxRequestSize pulumi.IntInput
	// one of: least_conn (sends new requests to the least busy server), random (sends new requests to a random backend),
	// round_robin (sends new requests to the next backend in order), ip_hash (sends requests from a given IP address to the
	// same backend), default is random
	Policy pulumi.StringInput
	// you can listen on any port, the default is 80 to match the default protocol of http,if not you must specify it here
	// (commonly 80 for HTTP or 443 for HTTPS)
	Port pulumi.IntInput
	// either http or https. If you specify https then you must also provide the next two fields, the default is http
	Protocol pulumi.StringInput
	// if your protocol is https then you should send the TLS certificate in Base64-encoded PEM format
	TlsCertificate pulumi.StringPtrInput
	// if your protocol is https then you should send the TLS private key in Base64-encoded PEM format
	TlsKey pulumi.StringPtrInput
}

The set of arguments for constructing a LoadBalancer resource.

func (LoadBalancerArgs) ElementType

func (LoadBalancerArgs) ElementType() reflect.Type

type LoadBalancerArray added in v0.3.1

type LoadBalancerArray []LoadBalancerInput

func (LoadBalancerArray) ElementType added in v0.3.1

func (LoadBalancerArray) ElementType() reflect.Type

func (LoadBalancerArray) ToLoadBalancerArrayOutput added in v0.3.1

func (i LoadBalancerArray) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput

func (LoadBalancerArray) ToLoadBalancerArrayOutputWithContext added in v0.3.1

func (i LoadBalancerArray) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput

type LoadBalancerArrayInput added in v0.3.1

type LoadBalancerArrayInput interface {
	pulumi.Input

	ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
	ToLoadBalancerArrayOutputWithContext(context.Context) LoadBalancerArrayOutput
}

LoadBalancerArrayInput is an input type that accepts LoadBalancerArray and LoadBalancerArrayOutput values. You can construct a concrete instance of `LoadBalancerArrayInput` via:

LoadBalancerArray{ LoadBalancerArgs{...} }

type LoadBalancerArrayOutput added in v0.3.1

type LoadBalancerArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerArrayOutput) ElementType added in v0.3.1

func (LoadBalancerArrayOutput) ElementType() reflect.Type

func (LoadBalancerArrayOutput) Index added in v0.3.1

func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutput added in v0.3.1

func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput

func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext added in v0.3.1

func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput

type LoadBalancerBackend

type LoadBalancerBackend struct {
	InstanceId string `pulumi:"instanceId"`
	Port       int    `pulumi:"port"`
	Protocol   string `pulumi:"protocol"`
}

type LoadBalancerBackendArgs

type LoadBalancerBackendArgs struct {
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	Port       pulumi.IntInput    `pulumi:"port"`
	Protocol   pulumi.StringInput `pulumi:"protocol"`
}

func (LoadBalancerBackendArgs) ElementType

func (LoadBalancerBackendArgs) ElementType() reflect.Type

func (LoadBalancerBackendArgs) ToLoadBalancerBackendOutput

func (i LoadBalancerBackendArgs) ToLoadBalancerBackendOutput() LoadBalancerBackendOutput

func (LoadBalancerBackendArgs) ToLoadBalancerBackendOutputWithContext

func (i LoadBalancerBackendArgs) ToLoadBalancerBackendOutputWithContext(ctx context.Context) LoadBalancerBackendOutput

type LoadBalancerBackendArray

type LoadBalancerBackendArray []LoadBalancerBackendInput

func (LoadBalancerBackendArray) ElementType

func (LoadBalancerBackendArray) ElementType() reflect.Type

func (LoadBalancerBackendArray) ToLoadBalancerBackendArrayOutput

func (i LoadBalancerBackendArray) ToLoadBalancerBackendArrayOutput() LoadBalancerBackendArrayOutput

func (LoadBalancerBackendArray) ToLoadBalancerBackendArrayOutputWithContext

func (i LoadBalancerBackendArray) ToLoadBalancerBackendArrayOutputWithContext(ctx context.Context) LoadBalancerBackendArrayOutput

type LoadBalancerBackendArrayInput

type LoadBalancerBackendArrayInput interface {
	pulumi.Input

	ToLoadBalancerBackendArrayOutput() LoadBalancerBackendArrayOutput
	ToLoadBalancerBackendArrayOutputWithContext(context.Context) LoadBalancerBackendArrayOutput
}

LoadBalancerBackendArrayInput is an input type that accepts LoadBalancerBackendArray and LoadBalancerBackendArrayOutput values. You can construct a concrete instance of `LoadBalancerBackendArrayInput` via:

LoadBalancerBackendArray{ LoadBalancerBackendArgs{...} }

type LoadBalancerBackendArrayOutput

type LoadBalancerBackendArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerBackendArrayOutput) ElementType

func (LoadBalancerBackendArrayOutput) Index

func (LoadBalancerBackendArrayOutput) ToLoadBalancerBackendArrayOutput

func (o LoadBalancerBackendArrayOutput) ToLoadBalancerBackendArrayOutput() LoadBalancerBackendArrayOutput

func (LoadBalancerBackendArrayOutput) ToLoadBalancerBackendArrayOutputWithContext

func (o LoadBalancerBackendArrayOutput) ToLoadBalancerBackendArrayOutputWithContext(ctx context.Context) LoadBalancerBackendArrayOutput

type LoadBalancerBackendInput

type LoadBalancerBackendInput interface {
	pulumi.Input

	ToLoadBalancerBackendOutput() LoadBalancerBackendOutput
	ToLoadBalancerBackendOutputWithContext(context.Context) LoadBalancerBackendOutput
}

LoadBalancerBackendInput is an input type that accepts LoadBalancerBackendArgs and LoadBalancerBackendOutput values. You can construct a concrete instance of `LoadBalancerBackendInput` via:

LoadBalancerBackendArgs{...}

type LoadBalancerBackendOutput

type LoadBalancerBackendOutput struct{ *pulumi.OutputState }

func (LoadBalancerBackendOutput) ElementType

func (LoadBalancerBackendOutput) ElementType() reflect.Type

func (LoadBalancerBackendOutput) InstanceId

func (LoadBalancerBackendOutput) Port

func (LoadBalancerBackendOutput) Protocol

func (LoadBalancerBackendOutput) ToLoadBalancerBackendOutput

func (o LoadBalancerBackendOutput) ToLoadBalancerBackendOutput() LoadBalancerBackendOutput

func (LoadBalancerBackendOutput) ToLoadBalancerBackendOutputWithContext

func (o LoadBalancerBackendOutput) ToLoadBalancerBackendOutputWithContext(ctx context.Context) LoadBalancerBackendOutput

type LoadBalancerInput added in v0.2.1

type LoadBalancerInput interface {
	pulumi.Input

	ToLoadBalancerOutput() LoadBalancerOutput
	ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
}

type LoadBalancerMap added in v0.3.1

type LoadBalancerMap map[string]LoadBalancerInput

func (LoadBalancerMap) ElementType added in v0.3.1

func (LoadBalancerMap) ElementType() reflect.Type

func (LoadBalancerMap) ToLoadBalancerMapOutput added in v0.3.1

func (i LoadBalancerMap) ToLoadBalancerMapOutput() LoadBalancerMapOutput

func (LoadBalancerMap) ToLoadBalancerMapOutputWithContext added in v0.3.1

func (i LoadBalancerMap) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput

type LoadBalancerMapInput added in v0.3.1

type LoadBalancerMapInput interface {
	pulumi.Input

	ToLoadBalancerMapOutput() LoadBalancerMapOutput
	ToLoadBalancerMapOutputWithContext(context.Context) LoadBalancerMapOutput
}

LoadBalancerMapInput is an input type that accepts LoadBalancerMap and LoadBalancerMapOutput values. You can construct a concrete instance of `LoadBalancerMapInput` via:

LoadBalancerMap{ "key": LoadBalancerArgs{...} }

type LoadBalancerMapOutput added in v0.3.1

type LoadBalancerMapOutput struct{ *pulumi.OutputState }

func (LoadBalancerMapOutput) ElementType added in v0.3.1

func (LoadBalancerMapOutput) ElementType() reflect.Type

func (LoadBalancerMapOutput) MapIndex added in v0.3.1

func (LoadBalancerMapOutput) ToLoadBalancerMapOutput added in v0.3.1

func (o LoadBalancerMapOutput) ToLoadBalancerMapOutput() LoadBalancerMapOutput

func (LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext added in v0.3.1

func (o LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput

type LoadBalancerOutput added in v0.2.1

type LoadBalancerOutput struct {
	*pulumi.OutputState
}

func (LoadBalancerOutput) ElementType added in v0.2.1

func (LoadBalancerOutput) ElementType() reflect.Type

func (LoadBalancerOutput) ToLoadBalancerOutput added in v0.2.1

func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput

func (LoadBalancerOutput) ToLoadBalancerOutputWithContext added in v0.2.1

func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput

func (LoadBalancerOutput) ToLoadBalancerPtrOutput added in v0.3.1

func (o LoadBalancerOutput) ToLoadBalancerPtrOutput() LoadBalancerPtrOutput

func (LoadBalancerOutput) ToLoadBalancerPtrOutputWithContext added in v0.3.1

func (o LoadBalancerOutput) ToLoadBalancerPtrOutputWithContext(ctx context.Context) LoadBalancerPtrOutput

type LoadBalancerPtrInput added in v0.3.1

type LoadBalancerPtrInput interface {
	pulumi.Input

	ToLoadBalancerPtrOutput() LoadBalancerPtrOutput
	ToLoadBalancerPtrOutputWithContext(ctx context.Context) LoadBalancerPtrOutput
}

type LoadBalancerPtrOutput added in v0.3.1

type LoadBalancerPtrOutput struct {
	*pulumi.OutputState
}

func (LoadBalancerPtrOutput) ElementType added in v0.3.1

func (LoadBalancerPtrOutput) ElementType() reflect.Type

func (LoadBalancerPtrOutput) ToLoadBalancerPtrOutput added in v0.3.1

func (o LoadBalancerPtrOutput) ToLoadBalancerPtrOutput() LoadBalancerPtrOutput

func (LoadBalancerPtrOutput) ToLoadBalancerPtrOutputWithContext added in v0.3.1

func (o LoadBalancerPtrOutput) ToLoadBalancerPtrOutputWithContext(ctx context.Context) LoadBalancerPtrOutput

type LoadBalancerState

type LoadBalancerState struct {
	// a list of backend instances, each containing an instance_id, protocol (http or https) and port
	Backends LoadBalancerBackendArrayInput
	// how long to wait in seconds before determining a backend has failed, defaults to 30
	FailTimeout pulumi.IntPtrInput
	// what URL should be used on the backends to determine if it's OK (2xx/3xx status), defaults to /
	HealthCheckPath pulumi.StringPtrInput
	// the hostname to receive traffic for, e.g. www.example.com (optional: sets hostname to loadbalancer-uuid.civo.com if
	// blank)
	Hostname pulumi.StringPtrInput
	// should self-signed/invalid certificates be ignored from the backend servers, defaults to true
	IgnoreInvalidBackendTls pulumi.BoolPtrInput
	// how many concurrent connections can each backend handle, defaults to 10
	MaxConns pulumi.IntPtrInput
	// the size in megabytes of the maximum request content that will be accepted, defaults to 20
	MaxRequestSize pulumi.IntPtrInput
	// one of: least_conn (sends new requests to the least busy server), random (sends new requests to a random backend),
	// round_robin (sends new requests to the next backend in order), ip_hash (sends requests from a given IP address to the
	// same backend), default is random
	Policy pulumi.StringPtrInput
	// you can listen on any port, the default is 80 to match the default protocol of http,if not you must specify it here
	// (commonly 80 for HTTP or 443 for HTTPS)
	Port pulumi.IntPtrInput
	// either http or https. If you specify https then you must also provide the next two fields, the default is http
	Protocol pulumi.StringPtrInput
	// if your protocol is https then you should send the TLS certificate in Base64-encoded PEM format
	TlsCertificate pulumi.StringPtrInput
	// if your protocol is https then you should send the TLS private key in Base64-encoded PEM format
	TlsKey pulumi.StringPtrInput
}

func (LoadBalancerState) ElementType

func (LoadBalancerState) ElementType() reflect.Type

type LookupDnsDomainNameArgs

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

A collection of arguments for invoking getDnsDomainName.

type LookupDnsDomainNameResult

type LookupDnsDomainNameResult struct {
	// A unique ID that can be used to identify and reference a domain.
	Id *string `pulumi:"id"`
	// The name of the domain.
	Name *string `pulumi:"name"`
}

A collection of values returned by getDnsDomainName.

type LookupDnsDomainRecordArgs

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

A collection of arguments for invoking getDnsDomainRecord.

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

type LookupInstanceArgs

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

A collection of arguments for invoking getInstance.

type LookupInstanceResult

type LookupInstanceResult struct {
	// Total cpu of the inatance.
	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 Instance hostname.
	Hostname *string `pulumi:"hostname"`
	// The ID of the Instance.
	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"`
	// This 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 the 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.
	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 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)

type LookupKubernetesClusterArgs

type LookupKubernetesClusterArgs struct {
	// The ID of the kubernetes Cluster
	Id *string `pulumi:"id"`
	// The name of the kubernetes Cluster.
	Name   *string `pulumi:"name"`
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getKubernetesCluster.

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 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 the pool
	Id *string `pulumi:"id"`
	// A unique ID that can be used to identify and reference a Kubernetes cluster.
	InstalledApplications []GetKubernetesClusterInstalledApplication `pulumi:"installedApplications"`
	// A list of instance inside the pool
	Instances []GetKubernetesClusterInstance `pulumi:"instances"`
	// 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 your cluster,.
	Name *string `pulumi:"name"`
	// The size of the Kubernetes cluster.
	NumTargetNodes int `pulumi:"numTargetNodes"`
	// A list of node pools associated with the cluster. Each node pool exports the following attributes:
	Pools  []GetKubernetesClusterPool `pulumi:"pools"`
	Ready  bool                       `pulumi:"ready"`
	Region *string                    `pulumi:"region"`
	// The status of Kubernetes cluster.
	// * `ready` -If the Kubernetes cluster is ready.
	Status string `pulumi:"status"`
	// The tag of the instances
	Tags string `pulumi:"tags"`
	// The size of each node.
	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 is triggered if more than one kubernetes Cluster is found.

## Example Usage

Get the Kubernetes Cluster by name:

```go package main

import (

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

)

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

```

Get the Kubernetes Cluster by id:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "40ac97ee-b82b-4231-9b60-079c7e2e5d79"
		_, err := civo.LookupKubernetesCluster(ctx, &civo.LookupKubernetesClusterArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupLoadBalancerArgs

type LookupLoadBalancerArgs struct {
	// The hostname of the Load Balancer.
	Hostname *string `pulumi:"hostname"`
	// The ID of the Load Balancer.
	Id     *string `pulumi:"id"`
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getLoadBalancer.

type LookupLoadBalancerResult

type LookupLoadBalancerResult struct {
	// A list of backend instances
	Backends []GetLoadBalancerBackend `pulumi:"backends"`
	// The wait time until the backend is marked as a failure
	FailTimeout int `pulumi:"failTimeout"`
	// The path to check the health of the backend
	HealthCheckPath string `pulumi:"healthCheckPath"`
	// The hostname of the Load Balancer
	Hostname *string `pulumi:"hostname"`
	// The ID of the Load Balancer
	Id *string `pulumi:"id"`
	// Should self-signed/invalid certificates be ignored from the backend servers
	IgnoreInvalidBackendTls bool `pulumi:"ignoreInvalidBackendTls"`
	// How many concurrent connections can each backend handle
	MaxConns int `pulumi:"maxConns"`
	// The max request size set in the configuration
	MaxRequestSize int `pulumi:"maxRequestSize"`
	// The policy set in the Load Balancer
	Policy string `pulumi:"policy"`
	// The port set in the configuration.
	Port int `pulumi:"port"`
	// The protocol used in the configuration.
	Protocol string  `pulumi:"protocol"`
	Region   *string `pulumi:"region"`
	// If is set will be returned
	TlsCertificate string `pulumi:"tlsCertificate"`
	// If is set will be returned
	TlsKey string `pulumi:"tlsKey"`
}

A collection of values returned by getLoadBalancer.

type LookupNetworkArgs

type LookupNetworkArgs struct {
	// The unique identifier of an existing Network.
	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 LookupNetworkResult

type LookupNetworkResult struct {
	// If is the default network.
	Default bool `pulumi:"default"`
	// A unique ID that can be used to identify and reference a Network.
	Id *string `pulumi:"id"`
	// The label used in the configuration.
	Label *string `pulumi:"label"`
	// The name of the network.
	Name   string  `pulumi:"name"`
	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)

type LookupSnapshotArgs

type LookupSnapshotArgs struct {
	// The ID of the snapshot.
	Id *string `pulumi:"id"`
	// The name of the snapshot.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getSnapshot.

type LookupSnapshotResult

type LookupSnapshotResult struct {
	// The date where the snapshot was completed.
	CompletedAt string `pulumi:"completedAt"`
	// A string with the cron format.
	CronTiming string `pulumi:"cronTiming"`
	// The hostname of the instance.
	Hostname string  `pulumi:"hostname"`
	Id       *string `pulumi:"id"`
	// The ID of the Instance from which the snapshot was be taken.
	InstanceId string `pulumi:"instanceId"`
	// The name of the snapshot.
	Name *string `pulumi:"name"`
	// if cron was define this date will be the next execution date.
	NextExecution string `pulumi:"nextExecution"`
	// The region where the snapshot was take.
	Region string `pulumi:"region"`
	// The date where the snapshot was requested.
	RequestedAt string `pulumi:"requestedAt"`
	// If is `true` the instance will be shut down during the snapshot if id `false` them not.
	Safe bool `pulumi:"safe"`
	// The size of the snapshot in GB.
	SizeGb int `pulumi:"sizeGb"`
	// The status of the snapshot.
	State string `pulumi:"state"`
	// The template id.
	TemplateId string `pulumi:"templateId"`
}

A collection of values returned by getSnapshot.

func LookupSnapshot

func LookupSnapshot(ctx *pulumi.Context, args *LookupSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotResult, error)

Snapshots are saved instances of a block storage volume. Use this data source to retrieve the ID of a Civo snapshot for use in other resources.

## Example Usage

Get the snapshot:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "mysql-vm"
		_, err := civo.LookupSnapshot(ctx, &civo.LookupSnapshotArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSshKeyArgs

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

A collection of arguments for invoking getSshKey.

type LookupSshKeyResult

type LookupSshKeyResult struct {
	Fingerprint string  `pulumi:"fingerprint"`
	Id          *string `pulumi:"id"`
	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)

type LookupTemplateArgs

type LookupTemplateArgs struct {
	// Filter the results. The `filter` block is documented below.
	Filters []GetTemplateFilter `pulumi:"filters"`
	// If is used, them all template will be from that region, has to be declared here if is not declared in the provider
	Region *string `pulumi:"region"`
	// Sort the results. The `sort` block is documented below.
	Sorts []GetTemplateSort `pulumi:"sorts"`
}

A collection of arguments for invoking getTemplate.

type LookupTemplateResult

type LookupTemplateResult struct {
	Filters []GetTemplateFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id        string                `pulumi:"id"`
	Region    *string               `pulumi:"region"`
	Sorts     []GetTemplateSort     `pulumi:"sorts"`
	Templates []GetTemplateTemplate `pulumi:"templates"`
}

A collection of values returned by getTemplate.

func LookupTemplate

func LookupTemplate(ctx *pulumi.Context, args *LookupTemplateArgs, opts ...pulumi.InvokeOption) (*LookupTemplateResult, error)

type LookupVolumeArgs

type LookupVolumeArgs struct {
	// The unique identifier for the volume.
	Id *string `pulumi:"id"`
	// The name of the volume.
	Name   *string `pulumi:"name"`
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getVolume.

type LookupVolumeResult

type LookupVolumeResult struct {
	// if is bootable or not.
	Bootable bool `pulumi:"bootable"`
	// The date of the creation of the volume.
	CreatedAt string `pulumi:"createdAt"`
	// The unique identifier for the volume.
	Id *string `pulumi:"id"`
	// The mount point of the volume.
	MountPoint string `pulumi:"mountPoint"`
	// Name of the volume.
	Name   *string `pulumi:"name"`
	Region *string `pulumi:"region"`
	// The size of the volume.
	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)

type Network

type Network struct {
	pulumi.CustomResourceState

	// If is the default network
	Default pulumi.BoolOutput `pulumi:"default"`
	// The Network label
	Label pulumi.StringOutput `pulumi:"label"`
	// The name of the network.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region where the network was create.
	Region pulumi.StringPtrOutput `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/go/civo"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

## Import

Firewalls can be imported using the firewall `id`, e.g.

```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 added in v0.2.1

func (*Network) ElementType() reflect.Type

func (*Network) ToNetworkOutput added in v0.2.1

func (i *Network) ToNetworkOutput() NetworkOutput

func (*Network) ToNetworkOutputWithContext added in v0.2.1

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

func (*Network) ToNetworkPtrOutput added in v0.3.1

func (i *Network) ToNetworkPtrOutput() NetworkPtrOutput

func (*Network) ToNetworkPtrOutputWithContext added in v0.3.1

func (i *Network) ToNetworkPtrOutputWithContext(ctx context.Context) NetworkPtrOutput

type NetworkArgs

type NetworkArgs struct {
	// The Network label
	Label pulumi.StringInput
	// The region where the network was create.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a Network resource.

func (NetworkArgs) ElementType

func (NetworkArgs) ElementType() reflect.Type

type NetworkArray added in v0.3.1

type NetworkArray []NetworkInput

func (NetworkArray) ElementType added in v0.3.1

func (NetworkArray) ElementType() reflect.Type

func (NetworkArray) ToNetworkArrayOutput added in v0.3.1

func (i NetworkArray) ToNetworkArrayOutput() NetworkArrayOutput

func (NetworkArray) ToNetworkArrayOutputWithContext added in v0.3.1

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

type NetworkArrayInput added in v0.3.1

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 added in v0.3.1

type NetworkArrayOutput struct{ *pulumi.OutputState }

func (NetworkArrayOutput) ElementType added in v0.3.1

func (NetworkArrayOutput) ElementType() reflect.Type

func (NetworkArrayOutput) Index added in v0.3.1

func (NetworkArrayOutput) ToNetworkArrayOutput added in v0.3.1

func (o NetworkArrayOutput) ToNetworkArrayOutput() NetworkArrayOutput

func (NetworkArrayOutput) ToNetworkArrayOutputWithContext added in v0.3.1

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

type NetworkInput added in v0.2.1

type NetworkInput interface {
	pulumi.Input

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

type NetworkMap added in v0.3.1

type NetworkMap map[string]NetworkInput

func (NetworkMap) ElementType added in v0.3.1

func (NetworkMap) ElementType() reflect.Type

func (NetworkMap) ToNetworkMapOutput added in v0.3.1

func (i NetworkMap) ToNetworkMapOutput() NetworkMapOutput

func (NetworkMap) ToNetworkMapOutputWithContext added in v0.3.1

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

type NetworkMapInput added in v0.3.1

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 added in v0.3.1

type NetworkMapOutput struct{ *pulumi.OutputState }

func (NetworkMapOutput) ElementType added in v0.3.1

func (NetworkMapOutput) ElementType() reflect.Type

func (NetworkMapOutput) MapIndex added in v0.3.1

func (NetworkMapOutput) ToNetworkMapOutput added in v0.3.1

func (o NetworkMapOutput) ToNetworkMapOutput() NetworkMapOutput

func (NetworkMapOutput) ToNetworkMapOutputWithContext added in v0.3.1

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

type NetworkOutput added in v0.2.1

type NetworkOutput struct {
	*pulumi.OutputState
}

func (NetworkOutput) ElementType added in v0.2.1

func (NetworkOutput) ElementType() reflect.Type

func (NetworkOutput) ToNetworkOutput added in v0.2.1

func (o NetworkOutput) ToNetworkOutput() NetworkOutput

func (NetworkOutput) ToNetworkOutputWithContext added in v0.2.1

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

func (NetworkOutput) ToNetworkPtrOutput added in v0.3.1

func (o NetworkOutput) ToNetworkPtrOutput() NetworkPtrOutput

func (NetworkOutput) ToNetworkPtrOutputWithContext added in v0.3.1

func (o NetworkOutput) ToNetworkPtrOutputWithContext(ctx context.Context) NetworkPtrOutput

type NetworkPtrInput added in v0.3.1

type NetworkPtrInput interface {
	pulumi.Input

	ToNetworkPtrOutput() NetworkPtrOutput
	ToNetworkPtrOutputWithContext(ctx context.Context) NetworkPtrOutput
}

type NetworkPtrOutput added in v0.3.1

type NetworkPtrOutput struct {
	*pulumi.OutputState
}

func (NetworkPtrOutput) ElementType added in v0.3.1

func (NetworkPtrOutput) ElementType() reflect.Type

func (NetworkPtrOutput) ToNetworkPtrOutput added in v0.3.1

func (o NetworkPtrOutput) ToNetworkPtrOutput() NetworkPtrOutput

func (NetworkPtrOutput) ToNetworkPtrOutputWithContext added in v0.3.1

func (o NetworkPtrOutput) ToNetworkPtrOutputWithContext(ctx context.Context) NetworkPtrOutput

type NetworkState

type NetworkState struct {
	// If is the default network
	Default pulumi.BoolPtrInput
	// The Network label
	Label pulumi.StringPtrInput
	// The name of the network.
	Name pulumi.StringPtrInput
	// The region where the network was create.
	Region pulumi.StringPtrInput
}

func (NetworkState) ElementType

func (NetworkState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

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 added in v0.2.1

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput added in v0.2.1

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext added in v0.2.1

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

func (*Provider) ToProviderPtrOutput added in v0.3.1

func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput

func (*Provider) ToProviderPtrOutputWithContext added in v0.3.1

func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderArgs

type ProviderArgs struct {
	Region pulumi.StringPtrInput
	Token  pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput added in v0.2.1

type ProviderInput interface {
	pulumi.Input

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

type ProviderOutput added in v0.2.1

type ProviderOutput struct {
	*pulumi.OutputState
}

func (ProviderOutput) ElementType added in v0.2.1

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput added in v0.2.1

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext added in v0.2.1

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

func (ProviderOutput) ToProviderPtrOutput added in v0.3.1

func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderOutput) ToProviderPtrOutputWithContext added in v0.3.1

func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderPtrInput added in v0.3.1

type ProviderPtrInput interface {
	pulumi.Input

	ToProviderPtrOutput() ProviderPtrOutput
	ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
}

type ProviderPtrOutput added in v0.3.1

type ProviderPtrOutput struct {
	*pulumi.OutputState
}

func (ProviderPtrOutput) ElementType added in v0.3.1

func (ProviderPtrOutput) ElementType() reflect.Type

func (ProviderPtrOutput) ToProviderPtrOutput added in v0.3.1

func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderPtrOutput) ToProviderPtrOutputWithContext added in v0.3.1

func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type Snapshot

type Snapshot struct {
	pulumi.CustomResourceState

	// The date where the snapshot was completed.
	CompletedAt pulumi.StringOutput `pulumi:"completedAt"`
	// If a valid cron string is passed, the snapshot will be saved as an automated snapshot
	// continuing to automatically update based on the schedule of the cron sequence provided
	// The default is nil meaning the snapshot will be saved as a one-off snapshot.
	CronTiming pulumi.StringPtrOutput `pulumi:"cronTiming"`
	// The hostname of the instance.
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// The ID of the Instance from which the snapshot will be taken.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// A name for the instance snapshot.
	Name pulumi.StringOutput `pulumi:"name"`
	// if cron was define this date will be the next execution date.
	NextExecution pulumi.StringOutput `pulumi:"nextExecution"`
	// The region where the snapshot was take.
	Region pulumi.StringOutput `pulumi:"region"`
	// The date where the snapshot was requested.
	RequestedAt pulumi.StringOutput `pulumi:"requestedAt"`
	// If `true` the instance will be shut down during the snapshot to ensure all files
	// are in a consistent state (e.g. database tables aren't in the middle of being optimised
	// and hence risking corruption). The default is `false` so you experience no interruption
	// of service, but a small risk of corruption.
	Safe pulumi.BoolPtrOutput `pulumi:"safe"`
	// The size of the snapshot in GB.
	SizeGb pulumi.IntOutput `pulumi:"sizeGb"`
	// The status of the snapshot.
	State pulumi.StringOutput `pulumi:"state"`
	// The template id.
	TemplateId pulumi.StringOutput `pulumi:"templateId"`
}

Provides a resource which can be used to create a snapshot from an existing Civo Instance.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.NewSnapshot(ctx, "myinstance_backup", &civo.SnapshotArgs{
			InstanceId: pulumi.Any(civo_instance.Myinstance.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instance Snapshots can be imported using the `snapshot id`, e.g.

```sh

$ pulumi import civo:index/snapshot:Snapshot myinstance-backup 4cc87851-e1d0-4270-822a-b36d28c7a77f

```

func GetSnapshot

func GetSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)

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

func NewSnapshot

func NewSnapshot(ctx *pulumi.Context,
	name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)

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

func (*Snapshot) ElementType added in v0.2.1

func (*Snapshot) ElementType() reflect.Type

func (*Snapshot) ToSnapshotOutput added in v0.2.1

func (i *Snapshot) ToSnapshotOutput() SnapshotOutput

func (*Snapshot) ToSnapshotOutputWithContext added in v0.2.1

func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

func (*Snapshot) ToSnapshotPtrOutput added in v0.3.1

func (i *Snapshot) ToSnapshotPtrOutput() SnapshotPtrOutput

func (*Snapshot) ToSnapshotPtrOutputWithContext added in v0.3.1

func (i *Snapshot) ToSnapshotPtrOutputWithContext(ctx context.Context) SnapshotPtrOutput

type SnapshotArgs

type SnapshotArgs struct {
	// If a valid cron string is passed, the snapshot will be saved as an automated snapshot
	// continuing to automatically update based on the schedule of the cron sequence provided
	// The default is nil meaning the snapshot will be saved as a one-off snapshot.
	CronTiming pulumi.StringPtrInput
	// The ID of the Instance from which the snapshot will be taken.
	InstanceId pulumi.StringInput
	// A name for the instance snapshot.
	Name pulumi.StringPtrInput
	// If `true` the instance will be shut down during the snapshot to ensure all files
	// are in a consistent state (e.g. database tables aren't in the middle of being optimised
	// and hence risking corruption). The default is `false` so you experience no interruption
	// of service, but a small risk of corruption.
	Safe pulumi.BoolPtrInput
}

The set of arguments for constructing a Snapshot resource.

func (SnapshotArgs) ElementType

func (SnapshotArgs) ElementType() reflect.Type

type SnapshotArray added in v0.3.1

type SnapshotArray []SnapshotInput

func (SnapshotArray) ElementType added in v0.3.1

func (SnapshotArray) ElementType() reflect.Type

func (SnapshotArray) ToSnapshotArrayOutput added in v0.3.1

func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArray) ToSnapshotArrayOutputWithContext added in v0.3.1

func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotArrayInput added in v0.3.1

type SnapshotArrayInput interface {
	pulumi.Input

	ToSnapshotArrayOutput() SnapshotArrayOutput
	ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput
}

SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:

SnapshotArray{ SnapshotArgs{...} }

type SnapshotArrayOutput added in v0.3.1

type SnapshotArrayOutput struct{ *pulumi.OutputState }

func (SnapshotArrayOutput) ElementType added in v0.3.1

func (SnapshotArrayOutput) ElementType() reflect.Type

func (SnapshotArrayOutput) Index added in v0.3.1

func (SnapshotArrayOutput) ToSnapshotArrayOutput added in v0.3.1

func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext added in v0.3.1

func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotInput added in v0.2.1

type SnapshotInput interface {
	pulumi.Input

	ToSnapshotOutput() SnapshotOutput
	ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
}

type SnapshotMap added in v0.3.1

type SnapshotMap map[string]SnapshotInput

func (SnapshotMap) ElementType added in v0.3.1

func (SnapshotMap) ElementType() reflect.Type

func (SnapshotMap) ToSnapshotMapOutput added in v0.3.1

func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMap) ToSnapshotMapOutputWithContext added in v0.3.1

func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotMapInput added in v0.3.1

type SnapshotMapInput interface {
	pulumi.Input

	ToSnapshotMapOutput() SnapshotMapOutput
	ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput
}

SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:

SnapshotMap{ "key": SnapshotArgs{...} }

type SnapshotMapOutput added in v0.3.1

type SnapshotMapOutput struct{ *pulumi.OutputState }

func (SnapshotMapOutput) ElementType added in v0.3.1

func (SnapshotMapOutput) ElementType() reflect.Type

func (SnapshotMapOutput) MapIndex added in v0.3.1

func (SnapshotMapOutput) ToSnapshotMapOutput added in v0.3.1

func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMapOutput) ToSnapshotMapOutputWithContext added in v0.3.1

func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotOutput added in v0.2.1

type SnapshotOutput struct {
	*pulumi.OutputState
}

func (SnapshotOutput) ElementType added in v0.2.1

func (SnapshotOutput) ElementType() reflect.Type

func (SnapshotOutput) ToSnapshotOutput added in v0.2.1

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext added in v0.2.1

func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

func (SnapshotOutput) ToSnapshotPtrOutput added in v0.3.1

func (o SnapshotOutput) ToSnapshotPtrOutput() SnapshotPtrOutput

func (SnapshotOutput) ToSnapshotPtrOutputWithContext added in v0.3.1

func (o SnapshotOutput) ToSnapshotPtrOutputWithContext(ctx context.Context) SnapshotPtrOutput

type SnapshotPtrInput added in v0.3.1

type SnapshotPtrInput interface {
	pulumi.Input

	ToSnapshotPtrOutput() SnapshotPtrOutput
	ToSnapshotPtrOutputWithContext(ctx context.Context) SnapshotPtrOutput
}

type SnapshotPtrOutput added in v0.3.1

type SnapshotPtrOutput struct {
	*pulumi.OutputState
}

func (SnapshotPtrOutput) ElementType added in v0.3.1

func (SnapshotPtrOutput) ElementType() reflect.Type

func (SnapshotPtrOutput) ToSnapshotPtrOutput added in v0.3.1

func (o SnapshotPtrOutput) ToSnapshotPtrOutput() SnapshotPtrOutput

func (SnapshotPtrOutput) ToSnapshotPtrOutputWithContext added in v0.3.1

func (o SnapshotPtrOutput) ToSnapshotPtrOutputWithContext(ctx context.Context) SnapshotPtrOutput

type SnapshotState

type SnapshotState struct {
	// The date where the snapshot was completed.
	CompletedAt pulumi.StringPtrInput
	// If a valid cron string is passed, the snapshot will be saved as an automated snapshot
	// continuing to automatically update based on the schedule of the cron sequence provided
	// The default is nil meaning the snapshot will be saved as a one-off snapshot.
	CronTiming pulumi.StringPtrInput
	// The hostname of the instance.
	Hostname pulumi.StringPtrInput
	// The ID of the Instance from which the snapshot will be taken.
	InstanceId pulumi.StringPtrInput
	// A name for the instance snapshot.
	Name pulumi.StringPtrInput
	// if cron was define this date will be the next execution date.
	NextExecution pulumi.StringPtrInput
	// The region where the snapshot was take.
	Region pulumi.StringPtrInput
	// The date where the snapshot was requested.
	RequestedAt pulumi.StringPtrInput
	// If `true` the instance will be shut down during the snapshot to ensure all files
	// are in a consistent state (e.g. database tables aren't in the middle of being optimised
	// and hence risking corruption). The default is `false` so you experience no interruption
	// of service, but a small risk of corruption.
	Safe pulumi.BoolPtrInput
	// The size of the snapshot in GB.
	SizeGb pulumi.IntPtrInput
	// The status of the snapshot.
	State pulumi.StringPtrInput
	// The template id.
	TemplateId pulumi.StringPtrInput
}

func (SnapshotState) ElementType

func (SnapshotState) ElementType() reflect.Type

type SshKey

type SshKey struct {
	pulumi.CustomResourceState

	// The fingerprint of the SSH key
	Fingerprint pulumi.StringOutput `pulumi:"fingerprint"`
	// The name of the SSH key for identification
	Name pulumi.StringOutput `pulumi:"name"`
	// The public key. If this is a file, it
	// can be read using the file interpolation function.
	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.

## Import

SSH Keys can be imported using the `ssh key id`, e.g.

```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 added in v0.2.1

func (*SshKey) ElementType() reflect.Type

func (*SshKey) ToSshKeyOutput added in v0.2.1

func (i *SshKey) ToSshKeyOutput() SshKeyOutput

func (*SshKey) ToSshKeyOutputWithContext added in v0.2.1

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

func (*SshKey) ToSshKeyPtrOutput added in v0.3.1

func (i *SshKey) ToSshKeyPtrOutput() SshKeyPtrOutput

func (*SshKey) ToSshKeyPtrOutputWithContext added in v0.3.1

func (i *SshKey) ToSshKeyPtrOutputWithContext(ctx context.Context) SshKeyPtrOutput

type SshKeyArgs

type SshKeyArgs struct {
	// The name of the SSH key for identification
	Name pulumi.StringPtrInput
	// The public key. If this is a file, it
	// can be read using the file interpolation function.
	PublicKey pulumi.StringInput
}

The set of arguments for constructing a SshKey resource.

func (SshKeyArgs) ElementType

func (SshKeyArgs) ElementType() reflect.Type

type SshKeyArray added in v0.3.1

type SshKeyArray []SshKeyInput

func (SshKeyArray) ElementType added in v0.3.1

func (SshKeyArray) ElementType() reflect.Type

func (SshKeyArray) ToSshKeyArrayOutput added in v0.3.1

func (i SshKeyArray) ToSshKeyArrayOutput() SshKeyArrayOutput

func (SshKeyArray) ToSshKeyArrayOutputWithContext added in v0.3.1

func (i SshKeyArray) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput

type SshKeyArrayInput added in v0.3.1

type SshKeyArrayInput interface {
	pulumi.Input

	ToSshKeyArrayOutput() SshKeyArrayOutput
	ToSshKeyArrayOutputWithContext(context.Context) SshKeyArrayOutput
}

SshKeyArrayInput is an input type that accepts SshKeyArray and SshKeyArrayOutput values. You can construct a concrete instance of `SshKeyArrayInput` via:

SshKeyArray{ SshKeyArgs{...} }

type SshKeyArrayOutput added in v0.3.1

type SshKeyArrayOutput struct{ *pulumi.OutputState }

func (SshKeyArrayOutput) ElementType added in v0.3.1

func (SshKeyArrayOutput) ElementType() reflect.Type

func (SshKeyArrayOutput) Index added in v0.3.1

func (SshKeyArrayOutput) ToSshKeyArrayOutput added in v0.3.1

func (o SshKeyArrayOutput) ToSshKeyArrayOutput() SshKeyArrayOutput

func (SshKeyArrayOutput) ToSshKeyArrayOutputWithContext added in v0.3.1

func (o SshKeyArrayOutput) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput

type SshKeyInput added in v0.2.1

type SshKeyInput interface {
	pulumi.Input

	ToSshKeyOutput() SshKeyOutput
	ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput
}

type SshKeyMap added in v0.3.1

type SshKeyMap map[string]SshKeyInput

func (SshKeyMap) ElementType added in v0.3.1

func (SshKeyMap) ElementType() reflect.Type

func (SshKeyMap) ToSshKeyMapOutput added in v0.3.1

func (i SshKeyMap) ToSshKeyMapOutput() SshKeyMapOutput

func (SshKeyMap) ToSshKeyMapOutputWithContext added in v0.3.1

func (i SshKeyMap) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput

type SshKeyMapInput added in v0.3.1

type SshKeyMapInput interface {
	pulumi.Input

	ToSshKeyMapOutput() SshKeyMapOutput
	ToSshKeyMapOutputWithContext(context.Context) SshKeyMapOutput
}

SshKeyMapInput is an input type that accepts SshKeyMap and SshKeyMapOutput values. You can construct a concrete instance of `SshKeyMapInput` via:

SshKeyMap{ "key": SshKeyArgs{...} }

type SshKeyMapOutput added in v0.3.1

type SshKeyMapOutput struct{ *pulumi.OutputState }

func (SshKeyMapOutput) ElementType added in v0.3.1

func (SshKeyMapOutput) ElementType() reflect.Type

func (SshKeyMapOutput) MapIndex added in v0.3.1

func (SshKeyMapOutput) ToSshKeyMapOutput added in v0.3.1

func (o SshKeyMapOutput) ToSshKeyMapOutput() SshKeyMapOutput

func (SshKeyMapOutput) ToSshKeyMapOutputWithContext added in v0.3.1

func (o SshKeyMapOutput) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput

type SshKeyOutput added in v0.2.1

type SshKeyOutput struct {
	*pulumi.OutputState
}

func (SshKeyOutput) ElementType added in v0.2.1

func (SshKeyOutput) ElementType() reflect.Type

func (SshKeyOutput) ToSshKeyOutput added in v0.2.1

func (o SshKeyOutput) ToSshKeyOutput() SshKeyOutput

func (SshKeyOutput) ToSshKeyOutputWithContext added in v0.2.1

func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput

func (SshKeyOutput) ToSshKeyPtrOutput added in v0.3.1

func (o SshKeyOutput) ToSshKeyPtrOutput() SshKeyPtrOutput

func (SshKeyOutput) ToSshKeyPtrOutputWithContext added in v0.3.1

func (o SshKeyOutput) ToSshKeyPtrOutputWithContext(ctx context.Context) SshKeyPtrOutput

type SshKeyPtrInput added in v0.3.1

type SshKeyPtrInput interface {
	pulumi.Input

	ToSshKeyPtrOutput() SshKeyPtrOutput
	ToSshKeyPtrOutputWithContext(ctx context.Context) SshKeyPtrOutput
}

type SshKeyPtrOutput added in v0.3.1

type SshKeyPtrOutput struct {
	*pulumi.OutputState
}

func (SshKeyPtrOutput) ElementType added in v0.3.1

func (SshKeyPtrOutput) ElementType() reflect.Type

func (SshKeyPtrOutput) ToSshKeyPtrOutput added in v0.3.1

func (o SshKeyPtrOutput) ToSshKeyPtrOutput() SshKeyPtrOutput

func (SshKeyPtrOutput) ToSshKeyPtrOutputWithContext added in v0.3.1

func (o SshKeyPtrOutput) ToSshKeyPtrOutputWithContext(ctx context.Context) SshKeyPtrOutput

type SshKeyState

type SshKeyState struct {
	// The fingerprint of the SSH key
	Fingerprint pulumi.StringPtrInput
	// The name of the SSH key for identification
	Name pulumi.StringPtrInput
	// The public key. If this is a file, it
	// can be read using the file interpolation function.
	PublicKey pulumi.StringPtrInput
}

func (SshKeyState) ElementType

func (SshKeyState) ElementType() reflect.Type

type Template

type Template struct {
	pulumi.CustomResourceState

	// Commonly referred to as 'user-data', this is a customisation script that is run after
	// the instance is first booted. We recommend using cloud-config as it's a great distribution-agnostic
	// way of configuring cloud servers. If you put `$INITIAL_USER` in your script, this will automatically
	// be replaced by the initial user chosen when creating the instance, `$INITIAL_PASSWORD` will be
	// replaced with the random password generated by the system, `$HOSTNAME` is the fully qualified
	// domain name of the instance and `$SSH_KEY` will be the content of the SSH public key.
	// (this is technically optional, but you won't really be able to use instances without it -
	// see our learn guide on templates for more information).
	CloudConfig pulumi.StringPtrOutput `pulumi:"cloudConfig"`
	// This is a unqiue, alphanumerical, short, human readable code for the template.
	Code pulumi.StringOutput `pulumi:"code"`
	// The default username to suggest that the user creates
	DefaultUsername pulumi.StringPtrOutput `pulumi:"defaultUsername"`
	// A multi-line description of the template, in Markdown format
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// This is the Image ID of any default template or the ID of another template
	// either owned by you or global (optional; but must be specified if no volumeId is specified).
	ImageId pulumi.StringPtrOutput `pulumi:"imageId"`
	// This is a short human readable name for the template
	Name pulumi.StringOutput `pulumi:"name"`
	// A one line description of the template
	ShortDescription pulumi.StringPtrOutput `pulumi:"shortDescription"`
	// This is the ID of a bootable volume, either owned by you or global
	// (optional; but must be specified if no imageId is specified)
	VolumeId pulumi.StringPtrOutput `pulumi:"volumeId"`
}

Provides a Civo Template resource. This can be used to create, modify, and delete Templates.

## Import

Template can be imported using the template `code`, e.g.

```sh

$ pulumi import civo:index/template:Template my-custom-template my-template-code

```

func GetTemplate

func GetTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TemplateState, opts ...pulumi.ResourceOption) (*Template, error)

GetTemplate gets an existing Template 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 NewTemplate

func NewTemplate(ctx *pulumi.Context,
	name string, args *TemplateArgs, opts ...pulumi.ResourceOption) (*Template, error)

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

func (*Template) ElementType added in v0.2.1

func (*Template) ElementType() reflect.Type

func (*Template) ToTemplateOutput added in v0.2.1

func (i *Template) ToTemplateOutput() TemplateOutput

func (*Template) ToTemplateOutputWithContext added in v0.2.1

func (i *Template) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput

func (*Template) ToTemplatePtrOutput added in v0.3.1

func (i *Template) ToTemplatePtrOutput() TemplatePtrOutput

func (*Template) ToTemplatePtrOutputWithContext added in v0.3.1

func (i *Template) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput

type TemplateArgs

type TemplateArgs struct {
	// Commonly referred to as 'user-data', this is a customisation script that is run after
	// the instance is first booted. We recommend using cloud-config as it's a great distribution-agnostic
	// way of configuring cloud servers. If you put `$INITIAL_USER` in your script, this will automatically
	// be replaced by the initial user chosen when creating the instance, `$INITIAL_PASSWORD` will be
	// replaced with the random password generated by the system, `$HOSTNAME` is the fully qualified
	// domain name of the instance and `$SSH_KEY` will be the content of the SSH public key.
	// (this is technically optional, but you won't really be able to use instances without it -
	// see our learn guide on templates for more information).
	CloudConfig pulumi.StringPtrInput
	// This is a unqiue, alphanumerical, short, human readable code for the template.
	Code pulumi.StringInput
	// The default username to suggest that the user creates
	DefaultUsername pulumi.StringPtrInput
	// A multi-line description of the template, in Markdown format
	Description pulumi.StringPtrInput
	// This is the Image ID of any default template or the ID of another template
	// either owned by you or global (optional; but must be specified if no volumeId is specified).
	ImageId pulumi.StringPtrInput
	// This is a short human readable name for the template
	Name pulumi.StringPtrInput
	// A one line description of the template
	ShortDescription pulumi.StringPtrInput
	// This is the ID of a bootable volume, either owned by you or global
	// (optional; but must be specified if no imageId is specified)
	VolumeId pulumi.StringPtrInput
}

The set of arguments for constructing a Template resource.

func (TemplateArgs) ElementType

func (TemplateArgs) ElementType() reflect.Type

type TemplateArray added in v0.3.1

type TemplateArray []TemplateInput

func (TemplateArray) ElementType added in v0.3.1

func (TemplateArray) ElementType() reflect.Type

func (TemplateArray) ToTemplateArrayOutput added in v0.3.1

func (i TemplateArray) ToTemplateArrayOutput() TemplateArrayOutput

func (TemplateArray) ToTemplateArrayOutputWithContext added in v0.3.1

func (i TemplateArray) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput

type TemplateArrayInput added in v0.3.1

type TemplateArrayInput interface {
	pulumi.Input

	ToTemplateArrayOutput() TemplateArrayOutput
	ToTemplateArrayOutputWithContext(context.Context) TemplateArrayOutput
}

TemplateArrayInput is an input type that accepts TemplateArray and TemplateArrayOutput values. You can construct a concrete instance of `TemplateArrayInput` via:

TemplateArray{ TemplateArgs{...} }

type TemplateArrayOutput added in v0.3.1

type TemplateArrayOutput struct{ *pulumi.OutputState }

func (TemplateArrayOutput) ElementType added in v0.3.1

func (TemplateArrayOutput) ElementType() reflect.Type

func (TemplateArrayOutput) Index added in v0.3.1

func (TemplateArrayOutput) ToTemplateArrayOutput added in v0.3.1

func (o TemplateArrayOutput) ToTemplateArrayOutput() TemplateArrayOutput

func (TemplateArrayOutput) ToTemplateArrayOutputWithContext added in v0.3.1

func (o TemplateArrayOutput) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput

type TemplateInput added in v0.2.1

type TemplateInput interface {
	pulumi.Input

	ToTemplateOutput() TemplateOutput
	ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
}

type TemplateMap added in v0.3.1

type TemplateMap map[string]TemplateInput

func (TemplateMap) ElementType added in v0.3.1

func (TemplateMap) ElementType() reflect.Type

func (TemplateMap) ToTemplateMapOutput added in v0.3.1

func (i TemplateMap) ToTemplateMapOutput() TemplateMapOutput

func (TemplateMap) ToTemplateMapOutputWithContext added in v0.3.1

func (i TemplateMap) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput

type TemplateMapInput added in v0.3.1

type TemplateMapInput interface {
	pulumi.Input

	ToTemplateMapOutput() TemplateMapOutput
	ToTemplateMapOutputWithContext(context.Context) TemplateMapOutput
}

TemplateMapInput is an input type that accepts TemplateMap and TemplateMapOutput values. You can construct a concrete instance of `TemplateMapInput` via:

TemplateMap{ "key": TemplateArgs{...} }

type TemplateMapOutput added in v0.3.1

type TemplateMapOutput struct{ *pulumi.OutputState }

func (TemplateMapOutput) ElementType added in v0.3.1

func (TemplateMapOutput) ElementType() reflect.Type

func (TemplateMapOutput) MapIndex added in v0.3.1

func (TemplateMapOutput) ToTemplateMapOutput added in v0.3.1

func (o TemplateMapOutput) ToTemplateMapOutput() TemplateMapOutput

func (TemplateMapOutput) ToTemplateMapOutputWithContext added in v0.3.1

func (o TemplateMapOutput) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput

type TemplateOutput added in v0.2.1

type TemplateOutput struct {
	*pulumi.OutputState
}

func (TemplateOutput) ElementType added in v0.2.1

func (TemplateOutput) ElementType() reflect.Type

func (TemplateOutput) ToTemplateOutput added in v0.2.1

func (o TemplateOutput) ToTemplateOutput() TemplateOutput

func (TemplateOutput) ToTemplateOutputWithContext added in v0.2.1

func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput

func (TemplateOutput) ToTemplatePtrOutput added in v0.3.1

func (o TemplateOutput) ToTemplatePtrOutput() TemplatePtrOutput

func (TemplateOutput) ToTemplatePtrOutputWithContext added in v0.3.1

func (o TemplateOutput) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput

type TemplatePtrInput added in v0.3.1

type TemplatePtrInput interface {
	pulumi.Input

	ToTemplatePtrOutput() TemplatePtrOutput
	ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput
}

type TemplatePtrOutput added in v0.3.1

type TemplatePtrOutput struct {
	*pulumi.OutputState
}

func (TemplatePtrOutput) ElementType added in v0.3.1

func (TemplatePtrOutput) ElementType() reflect.Type

func (TemplatePtrOutput) ToTemplatePtrOutput added in v0.3.1

func (o TemplatePtrOutput) ToTemplatePtrOutput() TemplatePtrOutput

func (TemplatePtrOutput) ToTemplatePtrOutputWithContext added in v0.3.1

func (o TemplatePtrOutput) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput

type TemplateState

type TemplateState struct {
	// Commonly referred to as 'user-data', this is a customisation script that is run after
	// the instance is first booted. We recommend using cloud-config as it's a great distribution-agnostic
	// way of configuring cloud servers. If you put `$INITIAL_USER` in your script, this will automatically
	// be replaced by the initial user chosen when creating the instance, `$INITIAL_PASSWORD` will be
	// replaced with the random password generated by the system, `$HOSTNAME` is the fully qualified
	// domain name of the instance and `$SSH_KEY` will be the content of the SSH public key.
	// (this is technically optional, but you won't really be able to use instances without it -
	// see our learn guide on templates for more information).
	CloudConfig pulumi.StringPtrInput
	// This is a unqiue, alphanumerical, short, human readable code for the template.
	Code pulumi.StringPtrInput
	// The default username to suggest that the user creates
	DefaultUsername pulumi.StringPtrInput
	// A multi-line description of the template, in Markdown format
	Description pulumi.StringPtrInput
	// This is the Image ID of any default template or the ID of another template
	// either owned by you or global (optional; but must be specified if no volumeId is specified).
	ImageId pulumi.StringPtrInput
	// This is a short human readable name for the template
	Name pulumi.StringPtrInput
	// A one line description of the template
	ShortDescription pulumi.StringPtrInput
	// This is the ID of a bootable volume, either owned by you or global
	// (optional; but must be specified if no imageId is specified)
	VolumeId pulumi.StringPtrInput
}

func (TemplateState) ElementType

func (TemplateState) ElementType() reflect.Type

type Volume

type Volume struct {
	pulumi.CustomResourceState

	// Mark the volume as bootable.
	Bootable pulumi.BoolOutput `pulumi:"bootable"`
	// The date of the creation of the volume.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The mount point of the volume.
	MountPoint pulumi.StringOutput `pulumi:"mountPoint"`
	// A name that you wish to use to refer to this volume .
	Name pulumi.StringOutput `pulumi:"name"`
	// The region for the volume
	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 a Instance in order to provide expanded storage.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := civo.NewVolume(ctx, "db", &civo.VolumeArgs{
			Bootable: pulumi.Bool(false),
			SizeGb:   pulumi.Int(60),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Volumes can be imported using the `volume id`, e.g.

```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 added in v0.2.1

func (*Volume) ElementType() reflect.Type

func (*Volume) ToVolumeOutput added in v0.2.1

func (i *Volume) ToVolumeOutput() VolumeOutput

func (*Volume) ToVolumeOutputWithContext added in v0.2.1

func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

func (*Volume) ToVolumePtrOutput added in v0.3.1

func (i *Volume) ToVolumePtrOutput() VolumePtrOutput

func (*Volume) ToVolumePtrOutputWithContext added in v0.3.1

func (i *Volume) ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput

type VolumeArgs

type VolumeArgs struct {
	// Mark the volume as bootable.
	Bootable pulumi.BoolInput
	// A name that you wish to use to refer to this volume .
	Name pulumi.StringPtrInput
	// The region for the volume
	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 added in v0.3.1

type VolumeArray []VolumeInput

func (VolumeArray) ElementType added in v0.3.1

func (VolumeArray) ElementType() reflect.Type

func (VolumeArray) ToVolumeArrayOutput added in v0.3.1

func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArray) ToVolumeArrayOutputWithContext added in v0.3.1

func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeArrayInput added in v0.3.1

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 added in v0.3.1

type VolumeArrayOutput struct{ *pulumi.OutputState }

func (VolumeArrayOutput) ElementType added in v0.3.1

func (VolumeArrayOutput) ElementType() reflect.Type

func (VolumeArrayOutput) Index added in v0.3.1

func (VolumeArrayOutput) ToVolumeArrayOutput added in v0.3.1

func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArrayOutput) ToVolumeArrayOutputWithContext added in v0.3.1

func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeAttachment

type VolumeAttachment struct {
	pulumi.CustomResourceState

	// ID of the instance to attach the volume to.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// ID of the Volume to be attached to the instance.
	VolumeId pulumi.StringOutput `pulumi:"volumeId"`
}

Manages attaching a Volume to a Instance.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		db, err := civo.NewVolume(ctx, "db", &civo.VolumeArgs{
			SizeGb:   pulumi.Int(60),
			Bootable: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = civo.NewVolumeAttachment(ctx, "foobar", &civo.VolumeAttachmentArgs{
			InstanceId: pulumi.Any(civo_instance.My - test - instance.Id),
			VolumeId:   db.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 added in v0.2.1

func (*VolumeAttachment) ElementType() reflect.Type

func (*VolumeAttachment) ToVolumeAttachmentOutput added in v0.2.1

func (i *VolumeAttachment) ToVolumeAttachmentOutput() VolumeAttachmentOutput

func (*VolumeAttachment) ToVolumeAttachmentOutputWithContext added in v0.2.1

func (i *VolumeAttachment) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput

func (*VolumeAttachment) ToVolumeAttachmentPtrOutput added in v0.3.1

func (i *VolumeAttachment) ToVolumeAttachmentPtrOutput() VolumeAttachmentPtrOutput

func (*VolumeAttachment) ToVolumeAttachmentPtrOutputWithContext added in v0.3.1

func (i *VolumeAttachment) ToVolumeAttachmentPtrOutputWithContext(ctx context.Context) VolumeAttachmentPtrOutput

type VolumeAttachmentArgs

type VolumeAttachmentArgs struct {
	// ID of the instance to attach the volume to.
	InstanceId pulumi.StringInput
	// ID of the Volume to be attached to the instance.
	VolumeId pulumi.StringInput
}

The set of arguments for constructing a VolumeAttachment resource.

func (VolumeAttachmentArgs) ElementType

func (VolumeAttachmentArgs) ElementType() reflect.Type

type VolumeAttachmentArray added in v0.3.1

type VolumeAttachmentArray []VolumeAttachmentInput

func (VolumeAttachmentArray) ElementType added in v0.3.1

func (VolumeAttachmentArray) ElementType() reflect.Type

func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutput added in v0.3.1

func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput

func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext added in v0.3.1

func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput

type VolumeAttachmentArrayInput added in v0.3.1

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 added in v0.3.1

type VolumeAttachmentArrayOutput struct{ *pulumi.OutputState }

func (VolumeAttachmentArrayOutput) ElementType added in v0.3.1

func (VolumeAttachmentArrayOutput) Index added in v0.3.1

func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput added in v0.3.1

func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput

func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext added in v0.3.1

func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput

type VolumeAttachmentInput added in v0.2.1

type VolumeAttachmentInput interface {
	pulumi.Input

	ToVolumeAttachmentOutput() VolumeAttachmentOutput
	ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
}

type VolumeAttachmentMap added in v0.3.1

type VolumeAttachmentMap map[string]VolumeAttachmentInput

func (VolumeAttachmentMap) ElementType added in v0.3.1

func (VolumeAttachmentMap) ElementType() reflect.Type

func (VolumeAttachmentMap) ToVolumeAttachmentMapOutput added in v0.3.1

func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput

func (VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext added in v0.3.1

func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput

type VolumeAttachmentMapInput added in v0.3.1

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 added in v0.3.1

type VolumeAttachmentMapOutput struct{ *pulumi.OutputState }

func (VolumeAttachmentMapOutput) ElementType added in v0.3.1

func (VolumeAttachmentMapOutput) ElementType() reflect.Type

func (VolumeAttachmentMapOutput) MapIndex added in v0.3.1

func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput added in v0.3.1

func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput

func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext added in v0.3.1

func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput

type VolumeAttachmentOutput added in v0.2.1

type VolumeAttachmentOutput struct {
	*pulumi.OutputState
}

func (VolumeAttachmentOutput) ElementType added in v0.2.1

func (VolumeAttachmentOutput) ElementType() reflect.Type

func (VolumeAttachmentOutput) ToVolumeAttachmentOutput added in v0.2.1

func (o VolumeAttachmentOutput) ToVolumeAttachmentOutput() VolumeAttachmentOutput

func (VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext added in v0.2.1

func (o VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput

func (VolumeAttachmentOutput) ToVolumeAttachmentPtrOutput added in v0.3.1

func (o VolumeAttachmentOutput) ToVolumeAttachmentPtrOutput() VolumeAttachmentPtrOutput

func (VolumeAttachmentOutput) ToVolumeAttachmentPtrOutputWithContext added in v0.3.1

func (o VolumeAttachmentOutput) ToVolumeAttachmentPtrOutputWithContext(ctx context.Context) VolumeAttachmentPtrOutput

type VolumeAttachmentPtrInput added in v0.3.1

type VolumeAttachmentPtrInput interface {
	pulumi.Input

	ToVolumeAttachmentPtrOutput() VolumeAttachmentPtrOutput
	ToVolumeAttachmentPtrOutputWithContext(ctx context.Context) VolumeAttachmentPtrOutput
}

type VolumeAttachmentPtrOutput added in v0.3.1

type VolumeAttachmentPtrOutput struct {
	*pulumi.OutputState
}

func (VolumeAttachmentPtrOutput) ElementType added in v0.3.1

func (VolumeAttachmentPtrOutput) ElementType() reflect.Type

func (VolumeAttachmentPtrOutput) ToVolumeAttachmentPtrOutput added in v0.3.1

func (o VolumeAttachmentPtrOutput) ToVolumeAttachmentPtrOutput() VolumeAttachmentPtrOutput

func (VolumeAttachmentPtrOutput) ToVolumeAttachmentPtrOutputWithContext added in v0.3.1

func (o VolumeAttachmentPtrOutput) ToVolumeAttachmentPtrOutputWithContext(ctx context.Context) VolumeAttachmentPtrOutput

type VolumeAttachmentState

type VolumeAttachmentState struct {
	// ID of the instance to attach the volume to.
	InstanceId pulumi.StringPtrInput
	// ID of the Volume to be attached to the instance.
	VolumeId pulumi.StringPtrInput
}

func (VolumeAttachmentState) ElementType

func (VolumeAttachmentState) ElementType() reflect.Type

type VolumeInput added in v0.2.1

type VolumeInput interface {
	pulumi.Input

	ToVolumeOutput() VolumeOutput
	ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
}

type VolumeMap added in v0.3.1

type VolumeMap map[string]VolumeInput

func (VolumeMap) ElementType added in v0.3.1

func (VolumeMap) ElementType() reflect.Type

func (VolumeMap) ToVolumeMapOutput added in v0.3.1

func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMap) ToVolumeMapOutputWithContext added in v0.3.1

func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeMapInput added in v0.3.1

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 added in v0.3.1

type VolumeMapOutput struct{ *pulumi.OutputState }

func (VolumeMapOutput) ElementType added in v0.3.1

func (VolumeMapOutput) ElementType() reflect.Type

func (VolumeMapOutput) MapIndex added in v0.3.1

func (VolumeMapOutput) ToVolumeMapOutput added in v0.3.1

func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMapOutput) ToVolumeMapOutputWithContext added in v0.3.1

func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeOutput added in v0.2.1

type VolumeOutput struct {
	*pulumi.OutputState
}

func (VolumeOutput) ElementType added in v0.2.1

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) ToVolumeOutput added in v0.2.1

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext added in v0.2.1

func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

func (VolumeOutput) ToVolumePtrOutput added in v0.3.1

func (o VolumeOutput) ToVolumePtrOutput() VolumePtrOutput

func (VolumeOutput) ToVolumePtrOutputWithContext added in v0.3.1

func (o VolumeOutput) ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput

type VolumePtrInput added in v0.3.1

type VolumePtrInput interface {
	pulumi.Input

	ToVolumePtrOutput() VolumePtrOutput
	ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput
}

type VolumePtrOutput added in v0.3.1

type VolumePtrOutput struct {
	*pulumi.OutputState
}

func (VolumePtrOutput) ElementType added in v0.3.1

func (VolumePtrOutput) ElementType() reflect.Type

func (VolumePtrOutput) ToVolumePtrOutput added in v0.3.1

func (o VolumePtrOutput) ToVolumePtrOutput() VolumePtrOutput

func (VolumePtrOutput) ToVolumePtrOutputWithContext added in v0.3.1

func (o VolumePtrOutput) ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput

type VolumeState

type VolumeState struct {
	// Mark the volume as bootable.
	Bootable pulumi.BoolPtrInput
	// The date of the creation of the volume.
	CreatedAt pulumi.StringPtrInput
	// The mount point of the volume.
	MountPoint pulumi.StringPtrInput
	// A name that you wish to use to refer to this volume .
	Name pulumi.StringPtrInput
	// The region for the volume
	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