civo

package
Version: 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