genesiscloud

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

A Pulumi package for creating and managing genesiscloud cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filesystem

type Filesystem struct {
	pulumi.CustomResourceState

	// The timestamp when this filesystem was created in RFC 3339.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The human-readable description for the filesystem. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringOutput `pulumi:"description"`
	// The base path on the server under which the mount point can be accessed.
	MountBasePath pulumi.StringOutput `pulumi:"mountBasePath"`
	// The start and end IP of the mount endpoint range. Expressed as a array with two entries.
	MountEndpointRanges pulumi.StringArrayOutput `pulumi:"mountEndpointRanges"`
	// The human-readable name for the filesystem.
	Name pulumi.StringOutput `pulumi:"name"`
	// The identifier for the region this filesystem exists in. - If the value of this attribute changes, the resource will be
	// replaced. - The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringOutput `pulumi:"region"`
	// Flag to retain the filesystem when the resource is deleted - Sets the default value "false" if the attribute is not set.
	RetainOnDelete pulumi.BoolOutput `pulumi:"retainOnDelete"`
	// The storage size of this filesystem given in GiB. - The value must be at least 1.
	Size pulumi.IntOutput `pulumi:"size"`
	// The filesystem status.
	Status   pulumi.StringOutput         `pulumi:"status"`
	Timeouts FilesystemTimeoutsPtrOutput `pulumi:"timeouts"`
	// The storage type of the filesystem. - If the value of this attribute changes, the resource will be replaced. - The value
	// must be one of: ["vast"].
	Type pulumi.StringOutput `pulumi:"type"`
}

Filesystem resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := genesiscloud.NewFilesystem(ctx, "example", &genesiscloud.FilesystemArgs{
			Description: pulumi.String("Example filesystem"),
			Region:      pulumi.String("NORD-NO-KRS-1"),
			Size:        pulumi.Int(50),
			Type:        pulumi.String("vast"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import genesiscloud:index/filesystem:Filesystem example 18efeec8-94f0-4776-8ff2-5e9b49c74608 ```

func GetFilesystem

func GetFilesystem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FilesystemState, opts ...pulumi.ResourceOption) (*Filesystem, error)

GetFilesystem gets an existing Filesystem 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 NewFilesystem

func NewFilesystem(ctx *pulumi.Context,
	name string, args *FilesystemArgs, opts ...pulumi.ResourceOption) (*Filesystem, error)

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

func (*Filesystem) ElementType

func (*Filesystem) ElementType() reflect.Type

func (*Filesystem) ToFilesystemOutput

func (i *Filesystem) ToFilesystemOutput() FilesystemOutput

func (*Filesystem) ToFilesystemOutputWithContext

func (i *Filesystem) ToFilesystemOutputWithContext(ctx context.Context) FilesystemOutput

type FilesystemArgs

type FilesystemArgs struct {
	// The human-readable description for the filesystem. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringPtrInput
	// The human-readable name for the filesystem.
	Name pulumi.StringPtrInput
	// The identifier for the region this filesystem exists in. - If the value of this attribute changes, the resource will be
	// replaced. - The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringInput
	// Flag to retain the filesystem when the resource is deleted - Sets the default value "false" if the attribute is not set.
	RetainOnDelete pulumi.BoolPtrInput
	// The storage size of this filesystem given in GiB. - The value must be at least 1.
	Size     pulumi.IntInput
	Timeouts FilesystemTimeoutsPtrInput
	// The storage type of the filesystem. - If the value of this attribute changes, the resource will be replaced. - The value
	// must be one of: ["vast"].
	Type pulumi.StringInput
}

The set of arguments for constructing a Filesystem resource.

func (FilesystemArgs) ElementType

func (FilesystemArgs) ElementType() reflect.Type

type FilesystemArray

type FilesystemArray []FilesystemInput

func (FilesystemArray) ElementType

func (FilesystemArray) ElementType() reflect.Type

func (FilesystemArray) ToFilesystemArrayOutput

func (i FilesystemArray) ToFilesystemArrayOutput() FilesystemArrayOutput

func (FilesystemArray) ToFilesystemArrayOutputWithContext

func (i FilesystemArray) ToFilesystemArrayOutputWithContext(ctx context.Context) FilesystemArrayOutput

type FilesystemArrayInput

type FilesystemArrayInput interface {
	pulumi.Input

	ToFilesystemArrayOutput() FilesystemArrayOutput
	ToFilesystemArrayOutputWithContext(context.Context) FilesystemArrayOutput
}

FilesystemArrayInput is an input type that accepts FilesystemArray and FilesystemArrayOutput values. You can construct a concrete instance of `FilesystemArrayInput` via:

FilesystemArray{ FilesystemArgs{...} }

type FilesystemArrayOutput

type FilesystemArrayOutput struct{ *pulumi.OutputState }

func (FilesystemArrayOutput) ElementType

func (FilesystemArrayOutput) ElementType() reflect.Type

func (FilesystemArrayOutput) Index

func (FilesystemArrayOutput) ToFilesystemArrayOutput

func (o FilesystemArrayOutput) ToFilesystemArrayOutput() FilesystemArrayOutput

func (FilesystemArrayOutput) ToFilesystemArrayOutputWithContext

func (o FilesystemArrayOutput) ToFilesystemArrayOutputWithContext(ctx context.Context) FilesystemArrayOutput

type FilesystemInput

type FilesystemInput interface {
	pulumi.Input

	ToFilesystemOutput() FilesystemOutput
	ToFilesystemOutputWithContext(ctx context.Context) FilesystemOutput
}

type FilesystemMap

type FilesystemMap map[string]FilesystemInput

func (FilesystemMap) ElementType

func (FilesystemMap) ElementType() reflect.Type

func (FilesystemMap) ToFilesystemMapOutput

func (i FilesystemMap) ToFilesystemMapOutput() FilesystemMapOutput

func (FilesystemMap) ToFilesystemMapOutputWithContext

func (i FilesystemMap) ToFilesystemMapOutputWithContext(ctx context.Context) FilesystemMapOutput

type FilesystemMapInput

type FilesystemMapInput interface {
	pulumi.Input

	ToFilesystemMapOutput() FilesystemMapOutput
	ToFilesystemMapOutputWithContext(context.Context) FilesystemMapOutput
}

FilesystemMapInput is an input type that accepts FilesystemMap and FilesystemMapOutput values. You can construct a concrete instance of `FilesystemMapInput` via:

FilesystemMap{ "key": FilesystemArgs{...} }

type FilesystemMapOutput

type FilesystemMapOutput struct{ *pulumi.OutputState }

func (FilesystemMapOutput) ElementType

func (FilesystemMapOutput) ElementType() reflect.Type

func (FilesystemMapOutput) MapIndex

func (FilesystemMapOutput) ToFilesystemMapOutput

func (o FilesystemMapOutput) ToFilesystemMapOutput() FilesystemMapOutput

func (FilesystemMapOutput) ToFilesystemMapOutputWithContext

func (o FilesystemMapOutput) ToFilesystemMapOutputWithContext(ctx context.Context) FilesystemMapOutput

type FilesystemOutput

type FilesystemOutput struct{ *pulumi.OutputState }

func (FilesystemOutput) CreatedAt

func (o FilesystemOutput) CreatedAt() pulumi.StringOutput

The timestamp when this filesystem was created in RFC 3339.

func (FilesystemOutput) Description

func (o FilesystemOutput) Description() pulumi.StringOutput

The human-readable description for the filesystem. - Sets the default value "" if the attribute is not set.

func (FilesystemOutput) ElementType

func (FilesystemOutput) ElementType() reflect.Type

func (FilesystemOutput) MountBasePath

func (o FilesystemOutput) MountBasePath() pulumi.StringOutput

The base path on the server under which the mount point can be accessed.

func (FilesystemOutput) MountEndpointRanges

func (o FilesystemOutput) MountEndpointRanges() pulumi.StringArrayOutput

The start and end IP of the mount endpoint range. Expressed as a array with two entries.

func (FilesystemOutput) Name

The human-readable name for the filesystem.

func (FilesystemOutput) Region

The identifier for the region this filesystem exists in. - If the value of this attribute changes, the resource will be replaced. - The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].

func (FilesystemOutput) RetainOnDelete

func (o FilesystemOutput) RetainOnDelete() pulumi.BoolOutput

Flag to retain the filesystem when the resource is deleted - Sets the default value "false" if the attribute is not set.

func (FilesystemOutput) Size

The storage size of this filesystem given in GiB. - The value must be at least 1.

func (FilesystemOutput) Status

The filesystem status.

func (FilesystemOutput) Timeouts

func (FilesystemOutput) ToFilesystemOutput

func (o FilesystemOutput) ToFilesystemOutput() FilesystemOutput

func (FilesystemOutput) ToFilesystemOutputWithContext

func (o FilesystemOutput) ToFilesystemOutputWithContext(ctx context.Context) FilesystemOutput

func (FilesystemOutput) Type

The storage type of the filesystem. - If the value of this attribute changes, the resource will be replaced. - The value must be one of: ["vast"].

type FilesystemState

type FilesystemState struct {
	// The timestamp when this filesystem was created in RFC 3339.
	CreatedAt pulumi.StringPtrInput
	// The human-readable description for the filesystem. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringPtrInput
	// The base path on the server under which the mount point can be accessed.
	MountBasePath pulumi.StringPtrInput
	// The start and end IP of the mount endpoint range. Expressed as a array with two entries.
	MountEndpointRanges pulumi.StringArrayInput
	// The human-readable name for the filesystem.
	Name pulumi.StringPtrInput
	// The identifier for the region this filesystem exists in. - If the value of this attribute changes, the resource will be
	// replaced. - The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringPtrInput
	// Flag to retain the filesystem when the resource is deleted - Sets the default value "false" if the attribute is not set.
	RetainOnDelete pulumi.BoolPtrInput
	// The storage size of this filesystem given in GiB. - The value must be at least 1.
	Size pulumi.IntPtrInput
	// The filesystem status.
	Status   pulumi.StringPtrInput
	Timeouts FilesystemTimeoutsPtrInput
	// The storage type of the filesystem. - If the value of this attribute changes, the resource will be replaced. - The value
	// must be one of: ["vast"].
	Type pulumi.StringPtrInput
}

func (FilesystemState) ElementType

func (FilesystemState) ElementType() reflect.Type

type FilesystemTimeouts

type FilesystemTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read *string `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type FilesystemTimeoutsArgs

type FilesystemTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read pulumi.StringPtrInput `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (FilesystemTimeoutsArgs) ElementType

func (FilesystemTimeoutsArgs) ElementType() reflect.Type

func (FilesystemTimeoutsArgs) ToFilesystemTimeoutsOutput

func (i FilesystemTimeoutsArgs) ToFilesystemTimeoutsOutput() FilesystemTimeoutsOutput

func (FilesystemTimeoutsArgs) ToFilesystemTimeoutsOutputWithContext

func (i FilesystemTimeoutsArgs) ToFilesystemTimeoutsOutputWithContext(ctx context.Context) FilesystemTimeoutsOutput

func (FilesystemTimeoutsArgs) ToFilesystemTimeoutsPtrOutput

func (i FilesystemTimeoutsArgs) ToFilesystemTimeoutsPtrOutput() FilesystemTimeoutsPtrOutput

func (FilesystemTimeoutsArgs) ToFilesystemTimeoutsPtrOutputWithContext

func (i FilesystemTimeoutsArgs) ToFilesystemTimeoutsPtrOutputWithContext(ctx context.Context) FilesystemTimeoutsPtrOutput

type FilesystemTimeoutsInput

type FilesystemTimeoutsInput interface {
	pulumi.Input

	ToFilesystemTimeoutsOutput() FilesystemTimeoutsOutput
	ToFilesystemTimeoutsOutputWithContext(context.Context) FilesystemTimeoutsOutput
}

FilesystemTimeoutsInput is an input type that accepts FilesystemTimeoutsArgs and FilesystemTimeoutsOutput values. You can construct a concrete instance of `FilesystemTimeoutsInput` via:

FilesystemTimeoutsArgs{...}

type FilesystemTimeoutsOutput

type FilesystemTimeoutsOutput struct{ *pulumi.OutputState }

func (FilesystemTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (FilesystemTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (FilesystemTimeoutsOutput) ElementType

func (FilesystemTimeoutsOutput) ElementType() reflect.Type

func (FilesystemTimeoutsOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (FilesystemTimeoutsOutput) ToFilesystemTimeoutsOutput

func (o FilesystemTimeoutsOutput) ToFilesystemTimeoutsOutput() FilesystemTimeoutsOutput

func (FilesystemTimeoutsOutput) ToFilesystemTimeoutsOutputWithContext

func (o FilesystemTimeoutsOutput) ToFilesystemTimeoutsOutputWithContext(ctx context.Context) FilesystemTimeoutsOutput

func (FilesystemTimeoutsOutput) ToFilesystemTimeoutsPtrOutput

func (o FilesystemTimeoutsOutput) ToFilesystemTimeoutsPtrOutput() FilesystemTimeoutsPtrOutput

func (FilesystemTimeoutsOutput) ToFilesystemTimeoutsPtrOutputWithContext

func (o FilesystemTimeoutsOutput) ToFilesystemTimeoutsPtrOutputWithContext(ctx context.Context) FilesystemTimeoutsPtrOutput

func (FilesystemTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type FilesystemTimeoutsPtrInput

type FilesystemTimeoutsPtrInput interface {
	pulumi.Input

	ToFilesystemTimeoutsPtrOutput() FilesystemTimeoutsPtrOutput
	ToFilesystemTimeoutsPtrOutputWithContext(context.Context) FilesystemTimeoutsPtrOutput
}

FilesystemTimeoutsPtrInput is an input type that accepts FilesystemTimeoutsArgs, FilesystemTimeoutsPtr and FilesystemTimeoutsPtrOutput values. You can construct a concrete instance of `FilesystemTimeoutsPtrInput` via:

        FilesystemTimeoutsArgs{...}

or:

        nil

type FilesystemTimeoutsPtrOutput

type FilesystemTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (FilesystemTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (FilesystemTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (FilesystemTimeoutsPtrOutput) Elem

func (FilesystemTimeoutsPtrOutput) ElementType

func (FilesystemTimeoutsPtrOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (FilesystemTimeoutsPtrOutput) ToFilesystemTimeoutsPtrOutput

func (o FilesystemTimeoutsPtrOutput) ToFilesystemTimeoutsPtrOutput() FilesystemTimeoutsPtrOutput

func (FilesystemTimeoutsPtrOutput) ToFilesystemTimeoutsPtrOutputWithContext

func (o FilesystemTimeoutsPtrOutput) ToFilesystemTimeoutsPtrOutputWithContext(ctx context.Context) FilesystemTimeoutsPtrOutput

func (FilesystemTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type FloatingIp

type FloatingIp struct {
	pulumi.CustomResourceState

	// The timestamp when this floating IP was created in RFC 3339.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The human-readable description set for the floating IP. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringOutput `pulumi:"description"`
	// The IP address of the floating IP.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// Whether the floating IP is public or private. - Sets the default value "true" if the attribute is not set.
	IsPublic pulumi.BoolOutput `pulumi:"isPublic"`
	// The human-readable name for the floating IP.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringOutput `pulumi:"region"`
	// The floating IP status.
	Status   pulumi.StringOutput         `pulumi:"status"`
	Timeouts FloatingIpTimeoutsPtrOutput `pulumi:"timeouts"`
	// The timestamp when this image was last updated in RFC 3339.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The version of the floating IP. - If the value of this attribute changes, the resource will be replaced. - The value
	// must be one of: ["ipv4"].
	Version pulumi.StringOutput `pulumi:"version"`
}

floating IP resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := genesiscloud.NewFloatingIp(ctx, "floatingIp", &genesiscloud.FloatingIpArgs{
			Region:  pulumi.String("NORD-NO-KRS-1"),
			Version: pulumi.String("ipv4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import genesiscloud:index/floatingIp:FloatingIp example 18efeec8-94f0-4776-8ff2-5e9b49c74608 ```

func GetFloatingIp

func GetFloatingIp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FloatingIpState, opts ...pulumi.ResourceOption) (*FloatingIp, error)

GetFloatingIp gets an existing FloatingIp 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 NewFloatingIp

func NewFloatingIp(ctx *pulumi.Context,
	name string, args *FloatingIpArgs, opts ...pulumi.ResourceOption) (*FloatingIp, error)

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

func (*FloatingIp) ElementType

func (*FloatingIp) ElementType() reflect.Type

func (*FloatingIp) ToFloatingIpOutput

func (i *FloatingIp) ToFloatingIpOutput() FloatingIpOutput

func (*FloatingIp) ToFloatingIpOutputWithContext

func (i *FloatingIp) ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput

type FloatingIpArgs

type FloatingIpArgs struct {
	// The human-readable description set for the floating IP. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringPtrInput
	// The human-readable name for the floating IP.
	Name pulumi.StringPtrInput
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region   pulumi.StringInput
	Timeouts FloatingIpTimeoutsPtrInput
	// The version of the floating IP. - If the value of this attribute changes, the resource will be replaced. - The value
	// must be one of: ["ipv4"].
	Version pulumi.StringInput
}

The set of arguments for constructing a FloatingIp resource.

func (FloatingIpArgs) ElementType

func (FloatingIpArgs) ElementType() reflect.Type

type FloatingIpArray

type FloatingIpArray []FloatingIpInput

func (FloatingIpArray) ElementType

func (FloatingIpArray) ElementType() reflect.Type

func (FloatingIpArray) ToFloatingIpArrayOutput

func (i FloatingIpArray) ToFloatingIpArrayOutput() FloatingIpArrayOutput

func (FloatingIpArray) ToFloatingIpArrayOutputWithContext

func (i FloatingIpArray) ToFloatingIpArrayOutputWithContext(ctx context.Context) FloatingIpArrayOutput

type FloatingIpArrayInput

type FloatingIpArrayInput interface {
	pulumi.Input

	ToFloatingIpArrayOutput() FloatingIpArrayOutput
	ToFloatingIpArrayOutputWithContext(context.Context) FloatingIpArrayOutput
}

FloatingIpArrayInput is an input type that accepts FloatingIpArray and FloatingIpArrayOutput values. You can construct a concrete instance of `FloatingIpArrayInput` via:

FloatingIpArray{ FloatingIpArgs{...} }

type FloatingIpArrayOutput

type FloatingIpArrayOutput struct{ *pulumi.OutputState }

func (FloatingIpArrayOutput) ElementType

func (FloatingIpArrayOutput) ElementType() reflect.Type

func (FloatingIpArrayOutput) Index

func (FloatingIpArrayOutput) ToFloatingIpArrayOutput

func (o FloatingIpArrayOutput) ToFloatingIpArrayOutput() FloatingIpArrayOutput

func (FloatingIpArrayOutput) ToFloatingIpArrayOutputWithContext

func (o FloatingIpArrayOutput) ToFloatingIpArrayOutputWithContext(ctx context.Context) FloatingIpArrayOutput

type FloatingIpInput

type FloatingIpInput interface {
	pulumi.Input

	ToFloatingIpOutput() FloatingIpOutput
	ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput
}

type FloatingIpMap

type FloatingIpMap map[string]FloatingIpInput

func (FloatingIpMap) ElementType

func (FloatingIpMap) ElementType() reflect.Type

func (FloatingIpMap) ToFloatingIpMapOutput

func (i FloatingIpMap) ToFloatingIpMapOutput() FloatingIpMapOutput

func (FloatingIpMap) ToFloatingIpMapOutputWithContext

func (i FloatingIpMap) ToFloatingIpMapOutputWithContext(ctx context.Context) FloatingIpMapOutput

type FloatingIpMapInput

type FloatingIpMapInput interface {
	pulumi.Input

	ToFloatingIpMapOutput() FloatingIpMapOutput
	ToFloatingIpMapOutputWithContext(context.Context) FloatingIpMapOutput
}

FloatingIpMapInput is an input type that accepts FloatingIpMap and FloatingIpMapOutput values. You can construct a concrete instance of `FloatingIpMapInput` via:

FloatingIpMap{ "key": FloatingIpArgs{...} }

type FloatingIpMapOutput

type FloatingIpMapOutput struct{ *pulumi.OutputState }

func (FloatingIpMapOutput) ElementType

func (FloatingIpMapOutput) ElementType() reflect.Type

func (FloatingIpMapOutput) MapIndex

func (FloatingIpMapOutput) ToFloatingIpMapOutput

func (o FloatingIpMapOutput) ToFloatingIpMapOutput() FloatingIpMapOutput

func (FloatingIpMapOutput) ToFloatingIpMapOutputWithContext

func (o FloatingIpMapOutput) ToFloatingIpMapOutputWithContext(ctx context.Context) FloatingIpMapOutput

type FloatingIpOutput

type FloatingIpOutput struct{ *pulumi.OutputState }

func (FloatingIpOutput) CreatedAt

func (o FloatingIpOutput) CreatedAt() pulumi.StringOutput

The timestamp when this floating IP was created in RFC 3339.

func (FloatingIpOutput) Description

func (o FloatingIpOutput) Description() pulumi.StringOutput

The human-readable description set for the floating IP. - Sets the default value "" if the attribute is not set.

func (FloatingIpOutput) ElementType

func (FloatingIpOutput) ElementType() reflect.Type

func (FloatingIpOutput) IpAddress

func (o FloatingIpOutput) IpAddress() pulumi.StringOutput

The IP address of the floating IP.

func (FloatingIpOutput) IsPublic

func (o FloatingIpOutput) IsPublic() pulumi.BoolOutput

Whether the floating IP is public or private. - Sets the default value "true" if the attribute is not set.

func (FloatingIpOutput) Name

The human-readable name for the floating IP.

func (FloatingIpOutput) Region

The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].

func (FloatingIpOutput) Status

The floating IP status.

func (FloatingIpOutput) Timeouts

func (FloatingIpOutput) ToFloatingIpOutput

func (o FloatingIpOutput) ToFloatingIpOutput() FloatingIpOutput

func (FloatingIpOutput) ToFloatingIpOutputWithContext

func (o FloatingIpOutput) ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput

func (FloatingIpOutput) UpdatedAt

func (o FloatingIpOutput) UpdatedAt() pulumi.StringOutput

The timestamp when this image was last updated in RFC 3339.

func (FloatingIpOutput) Version

func (o FloatingIpOutput) Version() pulumi.StringOutput

The version of the floating IP. - If the value of this attribute changes, the resource will be replaced. - The value must be one of: ["ipv4"].

type FloatingIpState

type FloatingIpState struct {
	// The timestamp when this floating IP was created in RFC 3339.
	CreatedAt pulumi.StringPtrInput
	// The human-readable description set for the floating IP. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringPtrInput
	// The IP address of the floating IP.
	IpAddress pulumi.StringPtrInput
	// Whether the floating IP is public or private. - Sets the default value "true" if the attribute is not set.
	IsPublic pulumi.BoolPtrInput
	// The human-readable name for the floating IP.
	Name pulumi.StringPtrInput
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringPtrInput
	// The floating IP status.
	Status   pulumi.StringPtrInput
	Timeouts FloatingIpTimeoutsPtrInput
	// The timestamp when this image was last updated in RFC 3339.
	UpdatedAt pulumi.StringPtrInput
	// The version of the floating IP. - If the value of this attribute changes, the resource will be replaced. - The value
	// must be one of: ["ipv4"].
	Version pulumi.StringPtrInput
}

func (FloatingIpState) ElementType

func (FloatingIpState) ElementType() reflect.Type

type FloatingIpTimeouts

type FloatingIpTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read *string `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type FloatingIpTimeoutsArgs

type FloatingIpTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read pulumi.StringPtrInput `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (FloatingIpTimeoutsArgs) ElementType

func (FloatingIpTimeoutsArgs) ElementType() reflect.Type

func (FloatingIpTimeoutsArgs) ToFloatingIpTimeoutsOutput

func (i FloatingIpTimeoutsArgs) ToFloatingIpTimeoutsOutput() FloatingIpTimeoutsOutput

func (FloatingIpTimeoutsArgs) ToFloatingIpTimeoutsOutputWithContext

func (i FloatingIpTimeoutsArgs) ToFloatingIpTimeoutsOutputWithContext(ctx context.Context) FloatingIpTimeoutsOutput

func (FloatingIpTimeoutsArgs) ToFloatingIpTimeoutsPtrOutput

func (i FloatingIpTimeoutsArgs) ToFloatingIpTimeoutsPtrOutput() FloatingIpTimeoutsPtrOutput

func (FloatingIpTimeoutsArgs) ToFloatingIpTimeoutsPtrOutputWithContext

func (i FloatingIpTimeoutsArgs) ToFloatingIpTimeoutsPtrOutputWithContext(ctx context.Context) FloatingIpTimeoutsPtrOutput

type FloatingIpTimeoutsInput

type FloatingIpTimeoutsInput interface {
	pulumi.Input

	ToFloatingIpTimeoutsOutput() FloatingIpTimeoutsOutput
	ToFloatingIpTimeoutsOutputWithContext(context.Context) FloatingIpTimeoutsOutput
}

FloatingIpTimeoutsInput is an input type that accepts FloatingIpTimeoutsArgs and FloatingIpTimeoutsOutput values. You can construct a concrete instance of `FloatingIpTimeoutsInput` via:

FloatingIpTimeoutsArgs{...}

type FloatingIpTimeoutsOutput

type FloatingIpTimeoutsOutput struct{ *pulumi.OutputState }

func (FloatingIpTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (FloatingIpTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (FloatingIpTimeoutsOutput) ElementType

func (FloatingIpTimeoutsOutput) ElementType() reflect.Type

func (FloatingIpTimeoutsOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (FloatingIpTimeoutsOutput) ToFloatingIpTimeoutsOutput

func (o FloatingIpTimeoutsOutput) ToFloatingIpTimeoutsOutput() FloatingIpTimeoutsOutput

func (FloatingIpTimeoutsOutput) ToFloatingIpTimeoutsOutputWithContext

func (o FloatingIpTimeoutsOutput) ToFloatingIpTimeoutsOutputWithContext(ctx context.Context) FloatingIpTimeoutsOutput

func (FloatingIpTimeoutsOutput) ToFloatingIpTimeoutsPtrOutput

func (o FloatingIpTimeoutsOutput) ToFloatingIpTimeoutsPtrOutput() FloatingIpTimeoutsPtrOutput

func (FloatingIpTimeoutsOutput) ToFloatingIpTimeoutsPtrOutputWithContext

func (o FloatingIpTimeoutsOutput) ToFloatingIpTimeoutsPtrOutputWithContext(ctx context.Context) FloatingIpTimeoutsPtrOutput

func (FloatingIpTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type FloatingIpTimeoutsPtrInput

type FloatingIpTimeoutsPtrInput interface {
	pulumi.Input

	ToFloatingIpTimeoutsPtrOutput() FloatingIpTimeoutsPtrOutput
	ToFloatingIpTimeoutsPtrOutputWithContext(context.Context) FloatingIpTimeoutsPtrOutput
}

FloatingIpTimeoutsPtrInput is an input type that accepts FloatingIpTimeoutsArgs, FloatingIpTimeoutsPtr and FloatingIpTimeoutsPtrOutput values. You can construct a concrete instance of `FloatingIpTimeoutsPtrInput` via:

        FloatingIpTimeoutsArgs{...}

or:

        nil

type FloatingIpTimeoutsPtrOutput

type FloatingIpTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (FloatingIpTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (FloatingIpTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (FloatingIpTimeoutsPtrOutput) Elem

func (FloatingIpTimeoutsPtrOutput) ElementType

func (FloatingIpTimeoutsPtrOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (FloatingIpTimeoutsPtrOutput) ToFloatingIpTimeoutsPtrOutput

func (o FloatingIpTimeoutsPtrOutput) ToFloatingIpTimeoutsPtrOutput() FloatingIpTimeoutsPtrOutput

func (FloatingIpTimeoutsPtrOutput) ToFloatingIpTimeoutsPtrOutputWithContext

func (o FloatingIpTimeoutsPtrOutput) ToFloatingIpTimeoutsPtrOutputWithContext(ctx context.Context) FloatingIpTimeoutsPtrOutput

func (FloatingIpTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type ImagesArgs

type ImagesArgs struct {
	Filter   ImagesFilter    `pulumi:"filter"`
	Timeouts *ImagesTimeouts `pulumi:"timeouts"`
}

A collection of arguments for invoking Images.

type ImagesFilter

type ImagesFilter struct {
	// Filter by the region identifier.
	//   - The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region *string `pulumi:"region"`
	// Filter by the kind of image.
	//   - The value must be one of: ["cloud-image"].
	Type string `pulumi:"type"`
}

type ImagesFilterArgs

type ImagesFilterArgs struct {
	// Filter by the region identifier.
	//   - The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Filter by the kind of image.
	//   - The value must be one of: ["cloud-image"].
	Type pulumi.StringInput `pulumi:"type"`
}

func (ImagesFilterArgs) ElementType

func (ImagesFilterArgs) ElementType() reflect.Type

func (ImagesFilterArgs) ToImagesFilterOutput

func (i ImagesFilterArgs) ToImagesFilterOutput() ImagesFilterOutput

func (ImagesFilterArgs) ToImagesFilterOutputWithContext

func (i ImagesFilterArgs) ToImagesFilterOutputWithContext(ctx context.Context) ImagesFilterOutput

type ImagesFilterInput

type ImagesFilterInput interface {
	pulumi.Input

	ToImagesFilterOutput() ImagesFilterOutput
	ToImagesFilterOutputWithContext(context.Context) ImagesFilterOutput
}

ImagesFilterInput is an input type that accepts ImagesFilterArgs and ImagesFilterOutput values. You can construct a concrete instance of `ImagesFilterInput` via:

ImagesFilterArgs{...}

type ImagesFilterOutput

type ImagesFilterOutput struct{ *pulumi.OutputState }

func (ImagesFilterOutput) ElementType

func (ImagesFilterOutput) ElementType() reflect.Type

func (ImagesFilterOutput) Region

Filter by the region identifier.

  • The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].

func (ImagesFilterOutput) ToImagesFilterOutput

func (o ImagesFilterOutput) ToImagesFilterOutput() ImagesFilterOutput

func (ImagesFilterOutput) ToImagesFilterOutputWithContext

func (o ImagesFilterOutput) ToImagesFilterOutputWithContext(ctx context.Context) ImagesFilterOutput

func (ImagesFilterOutput) Type

Filter by the kind of image.

  • The value must be one of: ["cloud-image"].

type ImagesImage

type ImagesImage struct {
	// The timestamp when this image was created in RFC 3339.
	CreatedAt string `pulumi:"createdAt"`
	// A unique number that can be used to identify and reference a specific image.
	Id string `pulumi:"id"`
	// The display name that has been given to an image.
	Name string `pulumi:"name"`
	// The list of regions in which this image can be used in.
	Regions []string `pulumi:"regions"`
	// The image slug.
	Slug string `pulumi:"slug"`
	// Describes the kind of image.
	Type string `pulumi:"type"`
	// The list of versions if this is a cloud-image otherwise empty.
	Versions []string `pulumi:"versions"`
}

type ImagesImageArgs

type ImagesImageArgs struct {
	// The timestamp when this image was created in RFC 3339.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// A unique number that can be used to identify and reference a specific image.
	Id pulumi.StringInput `pulumi:"id"`
	// The display name that has been given to an image.
	Name pulumi.StringInput `pulumi:"name"`
	// The list of regions in which this image can be used in.
	Regions pulumi.StringArrayInput `pulumi:"regions"`
	// The image slug.
	Slug pulumi.StringInput `pulumi:"slug"`
	// Describes the kind of image.
	Type pulumi.StringInput `pulumi:"type"`
	// The list of versions if this is a cloud-image otherwise empty.
	Versions pulumi.StringArrayInput `pulumi:"versions"`
}

func (ImagesImageArgs) ElementType

func (ImagesImageArgs) ElementType() reflect.Type

func (ImagesImageArgs) ToImagesImageOutput

func (i ImagesImageArgs) ToImagesImageOutput() ImagesImageOutput

func (ImagesImageArgs) ToImagesImageOutputWithContext

func (i ImagesImageArgs) ToImagesImageOutputWithContext(ctx context.Context) ImagesImageOutput

type ImagesImageArray

type ImagesImageArray []ImagesImageInput

func (ImagesImageArray) ElementType

func (ImagesImageArray) ElementType() reflect.Type

func (ImagesImageArray) ToImagesImageArrayOutput

func (i ImagesImageArray) ToImagesImageArrayOutput() ImagesImageArrayOutput

func (ImagesImageArray) ToImagesImageArrayOutputWithContext

func (i ImagesImageArray) ToImagesImageArrayOutputWithContext(ctx context.Context) ImagesImageArrayOutput

type ImagesImageArrayInput

type ImagesImageArrayInput interface {
	pulumi.Input

	ToImagesImageArrayOutput() ImagesImageArrayOutput
	ToImagesImageArrayOutputWithContext(context.Context) ImagesImageArrayOutput
}

ImagesImageArrayInput is an input type that accepts ImagesImageArray and ImagesImageArrayOutput values. You can construct a concrete instance of `ImagesImageArrayInput` via:

ImagesImageArray{ ImagesImageArgs{...} }

type ImagesImageArrayOutput

type ImagesImageArrayOutput struct{ *pulumi.OutputState }

func (ImagesImageArrayOutput) ElementType

func (ImagesImageArrayOutput) ElementType() reflect.Type

func (ImagesImageArrayOutput) Index

func (ImagesImageArrayOutput) ToImagesImageArrayOutput

func (o ImagesImageArrayOutput) ToImagesImageArrayOutput() ImagesImageArrayOutput

func (ImagesImageArrayOutput) ToImagesImageArrayOutputWithContext

func (o ImagesImageArrayOutput) ToImagesImageArrayOutputWithContext(ctx context.Context) ImagesImageArrayOutput

type ImagesImageInput

type ImagesImageInput interface {
	pulumi.Input

	ToImagesImageOutput() ImagesImageOutput
	ToImagesImageOutputWithContext(context.Context) ImagesImageOutput
}

ImagesImageInput is an input type that accepts ImagesImageArgs and ImagesImageOutput values. You can construct a concrete instance of `ImagesImageInput` via:

ImagesImageArgs{...}

type ImagesImageOutput

type ImagesImageOutput struct{ *pulumi.OutputState }

func (ImagesImageOutput) CreatedAt

func (o ImagesImageOutput) CreatedAt() pulumi.StringOutput

The timestamp when this image was created in RFC 3339.

func (ImagesImageOutput) ElementType

func (ImagesImageOutput) ElementType() reflect.Type

func (ImagesImageOutput) Id

A unique number that can be used to identify and reference a specific image.

func (ImagesImageOutput) Name

The display name that has been given to an image.

func (ImagesImageOutput) Regions

The list of regions in which this image can be used in.

func (ImagesImageOutput) Slug

The image slug.

func (ImagesImageOutput) ToImagesImageOutput

func (o ImagesImageOutput) ToImagesImageOutput() ImagesImageOutput

func (ImagesImageOutput) ToImagesImageOutputWithContext

func (o ImagesImageOutput) ToImagesImageOutputWithContext(ctx context.Context) ImagesImageOutput

func (ImagesImageOutput) Type

Describes the kind of image.

func (ImagesImageOutput) Versions

The list of versions if this is a cloud-image otherwise empty.

type ImagesOutputArgs

type ImagesOutputArgs struct {
	Filter   ImagesFilterInput      `pulumi:"filter"`
	Timeouts ImagesTimeoutsPtrInput `pulumi:"timeouts"`
}

A collection of arguments for invoking Images.

func (ImagesOutputArgs) ElementType

func (ImagesOutputArgs) ElementType() reflect.Type

type ImagesResult

type ImagesResult struct {
	Filter   ImagesFilter    `pulumi:"filter"`
	Id       string          `pulumi:"id"`
	Images   []ImagesImage   `pulumi:"images"`
	Timeouts *ImagesTimeouts `pulumi:"timeouts"`
}

A collection of values returned by Images.

func Images

func Images(ctx *pulumi.Context, args *ImagesArgs, opts ...pulumi.InvokeOption) (*ImagesResult, error)

Images data source

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := genesiscloud.Images(ctx, &genesiscloud.ImagesArgs{
			Filter: genesiscloud.ImagesFilter{
				Type: "cloud-image",
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = genesiscloud.Images(ctx, &genesiscloud.ImagesArgs{
			Filter: genesiscloud.ImagesFilter{
				Region: pulumi.StringRef("NORD-NO-KRS-1"),
				Type:   "snapshot",
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = genesiscloud.Images(ctx, &genesiscloud.ImagesArgs{
			Filter: genesiscloud.ImagesFilter{
				Type: "preconfigured",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type ImagesResultOutput

type ImagesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Images.

func ImagesOutput

func ImagesOutput(ctx *pulumi.Context, args ImagesOutputArgs, opts ...pulumi.InvokeOption) ImagesResultOutput

func (ImagesResultOutput) ElementType

func (ImagesResultOutput) ElementType() reflect.Type

func (ImagesResultOutput) Filter

func (ImagesResultOutput) Id

func (ImagesResultOutput) Images

func (ImagesResultOutput) Timeouts

func (ImagesResultOutput) ToImagesResultOutput

func (o ImagesResultOutput) ToImagesResultOutput() ImagesResultOutput

func (ImagesResultOutput) ToImagesResultOutputWithContext

func (o ImagesResultOutput) ToImagesResultOutputWithContext(ctx context.Context) ImagesResultOutput

type ImagesTimeouts

type ImagesTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Read *string `pulumi:"read"`
}

type ImagesTimeoutsArgs

type ImagesTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Read pulumi.StringPtrInput `pulumi:"read"`
}

func (ImagesTimeoutsArgs) ElementType

func (ImagesTimeoutsArgs) ElementType() reflect.Type

func (ImagesTimeoutsArgs) ToImagesTimeoutsOutput

func (i ImagesTimeoutsArgs) ToImagesTimeoutsOutput() ImagesTimeoutsOutput

func (ImagesTimeoutsArgs) ToImagesTimeoutsOutputWithContext

func (i ImagesTimeoutsArgs) ToImagesTimeoutsOutputWithContext(ctx context.Context) ImagesTimeoutsOutput

func (ImagesTimeoutsArgs) ToImagesTimeoutsPtrOutput

func (i ImagesTimeoutsArgs) ToImagesTimeoutsPtrOutput() ImagesTimeoutsPtrOutput

func (ImagesTimeoutsArgs) ToImagesTimeoutsPtrOutputWithContext

func (i ImagesTimeoutsArgs) ToImagesTimeoutsPtrOutputWithContext(ctx context.Context) ImagesTimeoutsPtrOutput

type ImagesTimeoutsInput

type ImagesTimeoutsInput interface {
	pulumi.Input

	ToImagesTimeoutsOutput() ImagesTimeoutsOutput
	ToImagesTimeoutsOutputWithContext(context.Context) ImagesTimeoutsOutput
}

ImagesTimeoutsInput is an input type that accepts ImagesTimeoutsArgs and ImagesTimeoutsOutput values. You can construct a concrete instance of `ImagesTimeoutsInput` via:

ImagesTimeoutsArgs{...}

type ImagesTimeoutsOutput

type ImagesTimeoutsOutput struct{ *pulumi.OutputState }

func (ImagesTimeoutsOutput) ElementType

func (ImagesTimeoutsOutput) ElementType() reflect.Type

func (ImagesTimeoutsOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (ImagesTimeoutsOutput) ToImagesTimeoutsOutput

func (o ImagesTimeoutsOutput) ToImagesTimeoutsOutput() ImagesTimeoutsOutput

func (ImagesTimeoutsOutput) ToImagesTimeoutsOutputWithContext

func (o ImagesTimeoutsOutput) ToImagesTimeoutsOutputWithContext(ctx context.Context) ImagesTimeoutsOutput

func (ImagesTimeoutsOutput) ToImagesTimeoutsPtrOutput

func (o ImagesTimeoutsOutput) ToImagesTimeoutsPtrOutput() ImagesTimeoutsPtrOutput

func (ImagesTimeoutsOutput) ToImagesTimeoutsPtrOutputWithContext

func (o ImagesTimeoutsOutput) ToImagesTimeoutsPtrOutputWithContext(ctx context.Context) ImagesTimeoutsPtrOutput

type ImagesTimeoutsPtrInput

type ImagesTimeoutsPtrInput interface {
	pulumi.Input

	ToImagesTimeoutsPtrOutput() ImagesTimeoutsPtrOutput
	ToImagesTimeoutsPtrOutputWithContext(context.Context) ImagesTimeoutsPtrOutput
}

ImagesTimeoutsPtrInput is an input type that accepts ImagesTimeoutsArgs, ImagesTimeoutsPtr and ImagesTimeoutsPtrOutput values. You can construct a concrete instance of `ImagesTimeoutsPtrInput` via:

        ImagesTimeoutsArgs{...}

or:

        nil

type ImagesTimeoutsPtrOutput

type ImagesTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (ImagesTimeoutsPtrOutput) Elem

func (ImagesTimeoutsPtrOutput) ElementType

func (ImagesTimeoutsPtrOutput) ElementType() reflect.Type

func (ImagesTimeoutsPtrOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (ImagesTimeoutsPtrOutput) ToImagesTimeoutsPtrOutput

func (o ImagesTimeoutsPtrOutput) ToImagesTimeoutsPtrOutput() ImagesTimeoutsPtrOutput

func (ImagesTimeoutsPtrOutput) ToImagesTimeoutsPtrOutputWithContext

func (o ImagesTimeoutsPtrOutput) ToImagesTimeoutsPtrOutputWithContext(ctx context.Context) ImagesTimeoutsPtrOutput

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// The timestamp when this image was created in RFC 3339.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The disk size of the instance in GB.
	DiskSize pulumi.IntOutput `pulumi:"diskSize"`
	// The dns name of the instance.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// The floating IP attached to the instance.
	FloatingIpId pulumi.StringPtrOutput `pulumi:"floatingIpId"`
	Hostname     pulumi.StringOutput    `pulumi:"hostname"`
	// The source image id, image slug or snapshot id of the instance. The image version can also specified together with the
	// image slug in this format `<image-slug>:<version>`. Learn more about images
	// [here](https://developers.genesiscloud.com/images). - If the value of this attribute changes, the resource will be
	// replaced.
	Image pulumi.StringOutput `pulumi:"image"`
	// The resulting image ID of the instance.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// Option to provide metadata. Currently supported is `startupScript`.
	Metadata InstanceMetadataPtrOutput `pulumi:"metadata"`
	// The human-readable name for the instance.
	Name pulumi.StringOutput `pulumi:"name"`
	// The password to access the instance. Your password must have upper and lower chars, digits and length between 8-72.
	// **Please Note**: Only one of `sshKeys` or `password` can be provided. Password is less secure - we recommend you use an
	// SSH key-pair. - If the value of this attribute changes, the resource will be replaced. - The string length must be at
	// least 16.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The placement option identifier in which instances are physically located relative to each other within a zone. For
	// example A or B. - If the value of this attribute changes, the resource will be replaced.
	PlacementOption pulumi.StringOutput `pulumi:"placementOption"`
	// The private IPv4 IP-Address (IPv4 address).
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
	// The public IPv4 IP-Address (IPv4 address).
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringOutput `pulumi:"region"`
	// The id of the reservation the instance is associated with.
	ReservationId pulumi.StringPtrOutput `pulumi:"reservationId"`
	// The security groups of the instance. If not provided will be set to the default security group.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// The ssh keys of the instance. - If the value of this attribute changes, the resource will be replaced.
	SshKeyIds pulumi.StringArrayOutput `pulumi:"sshKeyIds"`
	// The instance status.
	Status   pulumi.StringOutput       `pulumi:"status"`
	Timeouts InstanceTimeoutsPtrOutput `pulumi:"timeouts"`
	// The instance type identifier. Learn more about instance types
	// [here](https://developers.genesiscloud.com/instances#instance-types). - If the value of this attribute changes, the
	// resource will be replaced.
	Type pulumi.StringOutput `pulumi:"type"`
	// The timestamp when this image was last updated in RFC 3339.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The volumes of the instance.
	VolumeIds pulumi.StringArrayOutput `pulumi:"volumeIds"`
}

Instance resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := genesiscloud.NewInstance(ctx, "example", &genesiscloud.InstanceArgs{
			Image:  pulumi.String("ubuntu:22.04"),
			Region: pulumi.String("NORD-NO-KRS-1"),
			SshKeyIds: pulumi.StringArray{
				pulumi.String("my-ssh-key-id"),
			},
			Type: pulumi.String("vcpu-2_memory-4g"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import genesiscloud:index/instance:Instance example 18efeec8-94f0-4776-8ff2-5e9b49c74608 ```

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

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

func NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

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

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

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

type InstanceArgs

type InstanceArgs struct {
	// The disk size of the instance in GB.
	DiskSize pulumi.IntPtrInput
	// The floating IP attached to the instance.
	FloatingIpId pulumi.StringPtrInput
	Hostname     pulumi.StringPtrInput
	// The source image id, image slug or snapshot id of the instance. The image version can also specified together with the
	// image slug in this format `<image-slug>:<version>`. Learn more about images
	// [here](https://developers.genesiscloud.com/images). - If the value of this attribute changes, the resource will be
	// replaced.
	Image pulumi.StringInput
	// Option to provide metadata. Currently supported is `startupScript`.
	Metadata InstanceMetadataPtrInput
	// The human-readable name for the instance.
	Name pulumi.StringPtrInput
	// The password to access the instance. Your password must have upper and lower chars, digits and length between 8-72.
	// **Please Note**: Only one of `sshKeys` or `password` can be provided. Password is less secure - we recommend you use an
	// SSH key-pair. - If the value of this attribute changes, the resource will be replaced. - The string length must be at
	// least 16.
	Password pulumi.StringPtrInput
	// The placement option identifier in which instances are physically located relative to each other within a zone. For
	// example A or B. - If the value of this attribute changes, the resource will be replaced.
	PlacementOption pulumi.StringPtrInput
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringInput
	// The id of the reservation the instance is associated with.
	ReservationId pulumi.StringPtrInput
	// The security groups of the instance. If not provided will be set to the default security group.
	SecurityGroupIds pulumi.StringArrayInput
	// The ssh keys of the instance. - If the value of this attribute changes, the resource will be replaced.
	SshKeyIds pulumi.StringArrayInput
	Timeouts  InstanceTimeoutsPtrInput
	// The instance type identifier. Learn more about instance types
	// [here](https://developers.genesiscloud.com/instances#instance-types). - If the value of this attribute changes, the
	// resource will be replaced.
	Type pulumi.StringInput
	// The volumes of the instance.
	VolumeIds pulumi.StringArrayInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

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

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

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

type InstanceInput

type InstanceInput interface {
	pulumi.Input

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

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

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

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

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

type InstanceMetadata

type InstanceMetadata struct {
	// A plain text bash script or "cloud-config" file that will be executed after the first instance boot. It is limited to 64 KiB in size. You can use it to configure your instance, e.g. installing the NVIDIA GPU driver. Learn more about [startup scripts and installing the GPU driver](https://support.genesiscloud.com/support/solutions/articles/47001122478).
	//   - If the value of this attribute changes, the resource will be replaced.
	StartupScript *string `pulumi:"startupScript"`
}

type InstanceMetadataArgs

type InstanceMetadataArgs struct {
	// A plain text bash script or "cloud-config" file that will be executed after the first instance boot. It is limited to 64 KiB in size. You can use it to configure your instance, e.g. installing the NVIDIA GPU driver. Learn more about [startup scripts and installing the GPU driver](https://support.genesiscloud.com/support/solutions/articles/47001122478).
	//   - If the value of this attribute changes, the resource will be replaced.
	StartupScript pulumi.StringPtrInput `pulumi:"startupScript"`
}

func (InstanceMetadataArgs) ElementType

func (InstanceMetadataArgs) ElementType() reflect.Type

func (InstanceMetadataArgs) ToInstanceMetadataOutput

func (i InstanceMetadataArgs) ToInstanceMetadataOutput() InstanceMetadataOutput

func (InstanceMetadataArgs) ToInstanceMetadataOutputWithContext

func (i InstanceMetadataArgs) ToInstanceMetadataOutputWithContext(ctx context.Context) InstanceMetadataOutput

func (InstanceMetadataArgs) ToInstanceMetadataPtrOutput

func (i InstanceMetadataArgs) ToInstanceMetadataPtrOutput() InstanceMetadataPtrOutput

func (InstanceMetadataArgs) ToInstanceMetadataPtrOutputWithContext

func (i InstanceMetadataArgs) ToInstanceMetadataPtrOutputWithContext(ctx context.Context) InstanceMetadataPtrOutput

type InstanceMetadataInput

type InstanceMetadataInput interface {
	pulumi.Input

	ToInstanceMetadataOutput() InstanceMetadataOutput
	ToInstanceMetadataOutputWithContext(context.Context) InstanceMetadataOutput
}

InstanceMetadataInput is an input type that accepts InstanceMetadataArgs and InstanceMetadataOutput values. You can construct a concrete instance of `InstanceMetadataInput` via:

InstanceMetadataArgs{...}

type InstanceMetadataOutput

type InstanceMetadataOutput struct{ *pulumi.OutputState }

func (InstanceMetadataOutput) ElementType

func (InstanceMetadataOutput) ElementType() reflect.Type

func (InstanceMetadataOutput) StartupScript

func (o InstanceMetadataOutput) StartupScript() pulumi.StringPtrOutput

A plain text bash script or "cloud-config" file that will be executed after the first instance boot. It is limited to 64 KiB in size. You can use it to configure your instance, e.g. installing the NVIDIA GPU driver. Learn more about [startup scripts and installing the GPU driver](https://support.genesiscloud.com/support/solutions/articles/47001122478).

  • If the value of this attribute changes, the resource will be replaced.

func (InstanceMetadataOutput) ToInstanceMetadataOutput

func (o InstanceMetadataOutput) ToInstanceMetadataOutput() InstanceMetadataOutput

func (InstanceMetadataOutput) ToInstanceMetadataOutputWithContext

func (o InstanceMetadataOutput) ToInstanceMetadataOutputWithContext(ctx context.Context) InstanceMetadataOutput

func (InstanceMetadataOutput) ToInstanceMetadataPtrOutput

func (o InstanceMetadataOutput) ToInstanceMetadataPtrOutput() InstanceMetadataPtrOutput

func (InstanceMetadataOutput) ToInstanceMetadataPtrOutputWithContext

func (o InstanceMetadataOutput) ToInstanceMetadataPtrOutputWithContext(ctx context.Context) InstanceMetadataPtrOutput

type InstanceMetadataPtrInput

type InstanceMetadataPtrInput interface {
	pulumi.Input

	ToInstanceMetadataPtrOutput() InstanceMetadataPtrOutput
	ToInstanceMetadataPtrOutputWithContext(context.Context) InstanceMetadataPtrOutput
}

InstanceMetadataPtrInput is an input type that accepts InstanceMetadataArgs, InstanceMetadataPtr and InstanceMetadataPtrOutput values. You can construct a concrete instance of `InstanceMetadataPtrInput` via:

        InstanceMetadataArgs{...}

or:

        nil

type InstanceMetadataPtrOutput

type InstanceMetadataPtrOutput struct{ *pulumi.OutputState }

func (InstanceMetadataPtrOutput) Elem

func (InstanceMetadataPtrOutput) ElementType

func (InstanceMetadataPtrOutput) ElementType() reflect.Type

func (InstanceMetadataPtrOutput) StartupScript

A plain text bash script or "cloud-config" file that will be executed after the first instance boot. It is limited to 64 KiB in size. You can use it to configure your instance, e.g. installing the NVIDIA GPU driver. Learn more about [startup scripts and installing the GPU driver](https://support.genesiscloud.com/support/solutions/articles/47001122478).

  • If the value of this attribute changes, the resource will be replaced.

func (InstanceMetadataPtrOutput) ToInstanceMetadataPtrOutput

func (o InstanceMetadataPtrOutput) ToInstanceMetadataPtrOutput() InstanceMetadataPtrOutput

func (InstanceMetadataPtrOutput) ToInstanceMetadataPtrOutputWithContext

func (o InstanceMetadataPtrOutput) ToInstanceMetadataPtrOutputWithContext(ctx context.Context) InstanceMetadataPtrOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) CreatedAt

func (o InstanceOutput) CreatedAt() pulumi.StringOutput

The timestamp when this image was created in RFC 3339.

func (InstanceOutput) DiskSize added in v0.0.9

func (o InstanceOutput) DiskSize() pulumi.IntOutput

The disk size of the instance in GB.

func (InstanceOutput) DnsName added in v0.0.27

func (o InstanceOutput) DnsName() pulumi.StringOutput

The dns name of the instance.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) FloatingIpId

func (o InstanceOutput) FloatingIpId() pulumi.StringPtrOutput

The floating IP attached to the instance.

func (InstanceOutput) Hostname

func (o InstanceOutput) Hostname() pulumi.StringOutput

func (InstanceOutput) Image

The source image id, image slug or snapshot id of the instance. The image version can also specified together with the image slug in this format `<image-slug>:<version>`. Learn more about images [here](https://developers.genesiscloud.com/images). - If the value of this attribute changes, the resource will be replaced.

func (InstanceOutput) ImageId

func (o InstanceOutput) ImageId() pulumi.StringOutput

The resulting image ID of the instance.

func (InstanceOutput) Metadata

Option to provide metadata. Currently supported is `startupScript`.

func (InstanceOutput) Name

The human-readable name for the instance.

func (InstanceOutput) Password

func (o InstanceOutput) Password() pulumi.StringPtrOutput

The password to access the instance. Your password must have upper and lower chars, digits and length between 8-72. **Please Note**: Only one of `sshKeys` or `password` can be provided. Password is less secure - we recommend you use an SSH key-pair. - If the value of this attribute changes, the resource will be replaced. - The string length must be at least 16.

func (InstanceOutput) PlacementOption

func (o InstanceOutput) PlacementOption() pulumi.StringOutput

The placement option identifier in which instances are physically located relative to each other within a zone. For example A or B. - If the value of this attribute changes, the resource will be replaced.

func (InstanceOutput) PrivateIp

func (o InstanceOutput) PrivateIp() pulumi.StringOutput

The private IPv4 IP-Address (IPv4 address).

func (InstanceOutput) PublicIp

func (o InstanceOutput) PublicIp() pulumi.StringOutput

The public IPv4 IP-Address (IPv4 address).

func (InstanceOutput) Region

func (o InstanceOutput) Region() pulumi.StringOutput

The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].

func (InstanceOutput) ReservationId added in v0.0.26

func (o InstanceOutput) ReservationId() pulumi.StringPtrOutput

The id of the reservation the instance is associated with.

func (InstanceOutput) SecurityGroupIds

func (o InstanceOutput) SecurityGroupIds() pulumi.StringArrayOutput

The security groups of the instance. If not provided will be set to the default security group.

func (InstanceOutput) SshKeyIds

func (o InstanceOutput) SshKeyIds() pulumi.StringArrayOutput

The ssh keys of the instance. - If the value of this attribute changes, the resource will be replaced.

func (InstanceOutput) Status

func (o InstanceOutput) Status() pulumi.StringOutput

The instance status.

func (InstanceOutput) Timeouts

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

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

func (InstanceOutput) Type

The instance type identifier. Learn more about instance types [here](https://developers.genesiscloud.com/instances#instance-types). - If the value of this attribute changes, the resource will be replaced.

func (InstanceOutput) UpdatedAt

func (o InstanceOutput) UpdatedAt() pulumi.StringOutput

The timestamp when this image was last updated in RFC 3339.

func (InstanceOutput) VolumeIds

func (o InstanceOutput) VolumeIds() pulumi.StringArrayOutput

The volumes of the instance.

type InstanceState

type InstanceState struct {
	// The timestamp when this image was created in RFC 3339.
	CreatedAt pulumi.StringPtrInput
	// The disk size of the instance in GB.
	DiskSize pulumi.IntPtrInput
	// The dns name of the instance.
	DnsName pulumi.StringPtrInput
	// The floating IP attached to the instance.
	FloatingIpId pulumi.StringPtrInput
	Hostname     pulumi.StringPtrInput
	// The source image id, image slug or snapshot id of the instance. The image version can also specified together with the
	// image slug in this format `<image-slug>:<version>`. Learn more about images
	// [here](https://developers.genesiscloud.com/images). - If the value of this attribute changes, the resource will be
	// replaced.
	Image pulumi.StringPtrInput
	// The resulting image ID of the instance.
	ImageId pulumi.StringPtrInput
	// Option to provide metadata. Currently supported is `startupScript`.
	Metadata InstanceMetadataPtrInput
	// The human-readable name for the instance.
	Name pulumi.StringPtrInput
	// The password to access the instance. Your password must have upper and lower chars, digits and length between 8-72.
	// **Please Note**: Only one of `sshKeys` or `password` can be provided. Password is less secure - we recommend you use an
	// SSH key-pair. - If the value of this attribute changes, the resource will be replaced. - The string length must be at
	// least 16.
	Password pulumi.StringPtrInput
	// The placement option identifier in which instances are physically located relative to each other within a zone. For
	// example A or B. - If the value of this attribute changes, the resource will be replaced.
	PlacementOption pulumi.StringPtrInput
	// The private IPv4 IP-Address (IPv4 address).
	PrivateIp pulumi.StringPtrInput
	// The public IPv4 IP-Address (IPv4 address).
	PublicIp pulumi.StringPtrInput
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringPtrInput
	// The id of the reservation the instance is associated with.
	ReservationId pulumi.StringPtrInput
	// The security groups of the instance. If not provided will be set to the default security group.
	SecurityGroupIds pulumi.StringArrayInput
	// The ssh keys of the instance. - If the value of this attribute changes, the resource will be replaced.
	SshKeyIds pulumi.StringArrayInput
	// The instance status.
	Status   pulumi.StringPtrInput
	Timeouts InstanceTimeoutsPtrInput
	// The instance type identifier. Learn more about instance types
	// [here](https://developers.genesiscloud.com/instances#instance-types). - If the value of this attribute changes, the
	// resource will be replaced.
	Type pulumi.StringPtrInput
	// The timestamp when this image was last updated in RFC 3339.
	UpdatedAt pulumi.StringPtrInput
	// The volumes of the instance.
	VolumeIds pulumi.StringArrayInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type InstanceStatus added in v0.0.29

type InstanceStatus struct {
	pulumi.CustomResourceState

	// The id of the instance this refers to. - If the value of this attribute changes, the resource will be replaced.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The target instance status. - The value must be one of: ["active" "stopped"].
	Status   pulumi.StringOutput             `pulumi:"status"`
	Timeouts InstanceStatusTimeoutsPtrOutput `pulumi:"timeouts"`
}

InstanceStatus resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleInstance, err := genesiscloud.NewInstance(ctx, "exampleInstance", &genesiscloud.InstanceArgs{
			Region: pulumi.String("NORD-NO-KRS-1"),
			Image:  pulumi.String("ubuntu:22.04"),
			Type:   pulumi.String("vcpu-2_memory-4g"),
			SshKeyIds: pulumi.StringArray{
				pulumi.String("my-ssh-key-id"),
			},
		})
		if err != nil {
			return err
		}
		_, err = genesiscloud.NewInstanceStatus(ctx, "exampleInstanceStatus", &genesiscloud.InstanceStatusArgs{
			InstanceId: exampleInstance.ID(),
			Status:     pulumi.String("active"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import genesiscloud:index/instanceStatus:InstanceStatus example 18efeec8-94f0-4776-8ff2-5e9b49c74608 ```

func GetInstanceStatus added in v0.0.29

func GetInstanceStatus(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceStatusState, opts ...pulumi.ResourceOption) (*InstanceStatus, error)

GetInstanceStatus gets an existing InstanceStatus 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 NewInstanceStatus added in v0.0.29

func NewInstanceStatus(ctx *pulumi.Context,
	name string, args *InstanceStatusArgs, opts ...pulumi.ResourceOption) (*InstanceStatus, error)

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

func (*InstanceStatus) ElementType added in v0.0.29

func (*InstanceStatus) ElementType() reflect.Type

func (*InstanceStatus) ToInstanceStatusOutput added in v0.0.29

func (i *InstanceStatus) ToInstanceStatusOutput() InstanceStatusOutput

func (*InstanceStatus) ToInstanceStatusOutputWithContext added in v0.0.29

func (i *InstanceStatus) ToInstanceStatusOutputWithContext(ctx context.Context) InstanceStatusOutput

type InstanceStatusArgs added in v0.0.29

type InstanceStatusArgs struct {
	// The id of the instance this refers to. - If the value of this attribute changes, the resource will be replaced.
	InstanceId pulumi.StringInput
	// The target instance status. - The value must be one of: ["active" "stopped"].
	Status   pulumi.StringInput
	Timeouts InstanceStatusTimeoutsPtrInput
}

The set of arguments for constructing a InstanceStatus resource.

func (InstanceStatusArgs) ElementType added in v0.0.29

func (InstanceStatusArgs) ElementType() reflect.Type

type InstanceStatusArray added in v0.0.29

type InstanceStatusArray []InstanceStatusInput

func (InstanceStatusArray) ElementType added in v0.0.29

func (InstanceStatusArray) ElementType() reflect.Type

func (InstanceStatusArray) ToInstanceStatusArrayOutput added in v0.0.29

func (i InstanceStatusArray) ToInstanceStatusArrayOutput() InstanceStatusArrayOutput

func (InstanceStatusArray) ToInstanceStatusArrayOutputWithContext added in v0.0.29

func (i InstanceStatusArray) ToInstanceStatusArrayOutputWithContext(ctx context.Context) InstanceStatusArrayOutput

type InstanceStatusArrayInput added in v0.0.29

type InstanceStatusArrayInput interface {
	pulumi.Input

	ToInstanceStatusArrayOutput() InstanceStatusArrayOutput
	ToInstanceStatusArrayOutputWithContext(context.Context) InstanceStatusArrayOutput
}

InstanceStatusArrayInput is an input type that accepts InstanceStatusArray and InstanceStatusArrayOutput values. You can construct a concrete instance of `InstanceStatusArrayInput` via:

InstanceStatusArray{ InstanceStatusArgs{...} }

type InstanceStatusArrayOutput added in v0.0.29

type InstanceStatusArrayOutput struct{ *pulumi.OutputState }

func (InstanceStatusArrayOutput) ElementType added in v0.0.29

func (InstanceStatusArrayOutput) ElementType() reflect.Type

func (InstanceStatusArrayOutput) Index added in v0.0.29

func (InstanceStatusArrayOutput) ToInstanceStatusArrayOutput added in v0.0.29

func (o InstanceStatusArrayOutput) ToInstanceStatusArrayOutput() InstanceStatusArrayOutput

func (InstanceStatusArrayOutput) ToInstanceStatusArrayOutputWithContext added in v0.0.29

func (o InstanceStatusArrayOutput) ToInstanceStatusArrayOutputWithContext(ctx context.Context) InstanceStatusArrayOutput

type InstanceStatusInput added in v0.0.29

type InstanceStatusInput interface {
	pulumi.Input

	ToInstanceStatusOutput() InstanceStatusOutput
	ToInstanceStatusOutputWithContext(ctx context.Context) InstanceStatusOutput
}

type InstanceStatusMap added in v0.0.29

type InstanceStatusMap map[string]InstanceStatusInput

func (InstanceStatusMap) ElementType added in v0.0.29

func (InstanceStatusMap) ElementType() reflect.Type

func (InstanceStatusMap) ToInstanceStatusMapOutput added in v0.0.29

func (i InstanceStatusMap) ToInstanceStatusMapOutput() InstanceStatusMapOutput

func (InstanceStatusMap) ToInstanceStatusMapOutputWithContext added in v0.0.29

func (i InstanceStatusMap) ToInstanceStatusMapOutputWithContext(ctx context.Context) InstanceStatusMapOutput

type InstanceStatusMapInput added in v0.0.29

type InstanceStatusMapInput interface {
	pulumi.Input

	ToInstanceStatusMapOutput() InstanceStatusMapOutput
	ToInstanceStatusMapOutputWithContext(context.Context) InstanceStatusMapOutput
}

InstanceStatusMapInput is an input type that accepts InstanceStatusMap and InstanceStatusMapOutput values. You can construct a concrete instance of `InstanceStatusMapInput` via:

InstanceStatusMap{ "key": InstanceStatusArgs{...} }

type InstanceStatusMapOutput added in v0.0.29

type InstanceStatusMapOutput struct{ *pulumi.OutputState }

func (InstanceStatusMapOutput) ElementType added in v0.0.29

func (InstanceStatusMapOutput) ElementType() reflect.Type

func (InstanceStatusMapOutput) MapIndex added in v0.0.29

func (InstanceStatusMapOutput) ToInstanceStatusMapOutput added in v0.0.29

func (o InstanceStatusMapOutput) ToInstanceStatusMapOutput() InstanceStatusMapOutput

func (InstanceStatusMapOutput) ToInstanceStatusMapOutputWithContext added in v0.0.29

func (o InstanceStatusMapOutput) ToInstanceStatusMapOutputWithContext(ctx context.Context) InstanceStatusMapOutput

type InstanceStatusOutput added in v0.0.29

type InstanceStatusOutput struct{ *pulumi.OutputState }

func (InstanceStatusOutput) ElementType added in v0.0.29

func (InstanceStatusOutput) ElementType() reflect.Type

func (InstanceStatusOutput) InstanceId added in v0.0.29

func (o InstanceStatusOutput) InstanceId() pulumi.StringOutput

The id of the instance this refers to. - If the value of this attribute changes, the resource will be replaced.

func (InstanceStatusOutput) Status added in v0.0.29

The target instance status. - The value must be one of: ["active" "stopped"].

func (InstanceStatusOutput) Timeouts added in v0.0.29

func (InstanceStatusOutput) ToInstanceStatusOutput added in v0.0.29

func (o InstanceStatusOutput) ToInstanceStatusOutput() InstanceStatusOutput

func (InstanceStatusOutput) ToInstanceStatusOutputWithContext added in v0.0.29

func (o InstanceStatusOutput) ToInstanceStatusOutputWithContext(ctx context.Context) InstanceStatusOutput

type InstanceStatusState added in v0.0.29

type InstanceStatusState struct {
	// The id of the instance this refers to. - If the value of this attribute changes, the resource will be replaced.
	InstanceId pulumi.StringPtrInput
	// The target instance status. - The value must be one of: ["active" "stopped"].
	Status   pulumi.StringPtrInput
	Timeouts InstanceStatusTimeoutsPtrInput
}

func (InstanceStatusState) ElementType added in v0.0.29

func (InstanceStatusState) ElementType() reflect.Type

type InstanceStatusTimeouts added in v0.0.29

type InstanceStatusTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read *string `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type InstanceStatusTimeoutsArgs added in v0.0.29

type InstanceStatusTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read pulumi.StringPtrInput `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (InstanceStatusTimeoutsArgs) ElementType added in v0.0.29

func (InstanceStatusTimeoutsArgs) ElementType() reflect.Type

func (InstanceStatusTimeoutsArgs) ToInstanceStatusTimeoutsOutput added in v0.0.29

func (i InstanceStatusTimeoutsArgs) ToInstanceStatusTimeoutsOutput() InstanceStatusTimeoutsOutput

func (InstanceStatusTimeoutsArgs) ToInstanceStatusTimeoutsOutputWithContext added in v0.0.29

func (i InstanceStatusTimeoutsArgs) ToInstanceStatusTimeoutsOutputWithContext(ctx context.Context) InstanceStatusTimeoutsOutput

func (InstanceStatusTimeoutsArgs) ToInstanceStatusTimeoutsPtrOutput added in v0.0.29

func (i InstanceStatusTimeoutsArgs) ToInstanceStatusTimeoutsPtrOutput() InstanceStatusTimeoutsPtrOutput

func (InstanceStatusTimeoutsArgs) ToInstanceStatusTimeoutsPtrOutputWithContext added in v0.0.29

func (i InstanceStatusTimeoutsArgs) ToInstanceStatusTimeoutsPtrOutputWithContext(ctx context.Context) InstanceStatusTimeoutsPtrOutput

type InstanceStatusTimeoutsInput added in v0.0.29

type InstanceStatusTimeoutsInput interface {
	pulumi.Input

	ToInstanceStatusTimeoutsOutput() InstanceStatusTimeoutsOutput
	ToInstanceStatusTimeoutsOutputWithContext(context.Context) InstanceStatusTimeoutsOutput
}

InstanceStatusTimeoutsInput is an input type that accepts InstanceStatusTimeoutsArgs and InstanceStatusTimeoutsOutput values. You can construct a concrete instance of `InstanceStatusTimeoutsInput` via:

InstanceStatusTimeoutsArgs{...}

type InstanceStatusTimeoutsOutput added in v0.0.29

type InstanceStatusTimeoutsOutput struct{ *pulumi.OutputState }

func (InstanceStatusTimeoutsOutput) Create added in v0.0.29

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (InstanceStatusTimeoutsOutput) Delete added in v0.0.29

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (InstanceStatusTimeoutsOutput) ElementType added in v0.0.29

func (InstanceStatusTimeoutsOutput) Read added in v0.0.29

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (InstanceStatusTimeoutsOutput) ToInstanceStatusTimeoutsOutput added in v0.0.29

func (o InstanceStatusTimeoutsOutput) ToInstanceStatusTimeoutsOutput() InstanceStatusTimeoutsOutput

func (InstanceStatusTimeoutsOutput) ToInstanceStatusTimeoutsOutputWithContext added in v0.0.29

func (o InstanceStatusTimeoutsOutput) ToInstanceStatusTimeoutsOutputWithContext(ctx context.Context) InstanceStatusTimeoutsOutput

func (InstanceStatusTimeoutsOutput) ToInstanceStatusTimeoutsPtrOutput added in v0.0.29

func (o InstanceStatusTimeoutsOutput) ToInstanceStatusTimeoutsPtrOutput() InstanceStatusTimeoutsPtrOutput

func (InstanceStatusTimeoutsOutput) ToInstanceStatusTimeoutsPtrOutputWithContext added in v0.0.29

func (o InstanceStatusTimeoutsOutput) ToInstanceStatusTimeoutsPtrOutputWithContext(ctx context.Context) InstanceStatusTimeoutsPtrOutput

func (InstanceStatusTimeoutsOutput) Update added in v0.0.29

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type InstanceStatusTimeoutsPtrInput added in v0.0.29

type InstanceStatusTimeoutsPtrInput interface {
	pulumi.Input

	ToInstanceStatusTimeoutsPtrOutput() InstanceStatusTimeoutsPtrOutput
	ToInstanceStatusTimeoutsPtrOutputWithContext(context.Context) InstanceStatusTimeoutsPtrOutput
}

InstanceStatusTimeoutsPtrInput is an input type that accepts InstanceStatusTimeoutsArgs, InstanceStatusTimeoutsPtr and InstanceStatusTimeoutsPtrOutput values. You can construct a concrete instance of `InstanceStatusTimeoutsPtrInput` via:

        InstanceStatusTimeoutsArgs{...}

or:

        nil

func InstanceStatusTimeoutsPtr added in v0.0.29

func InstanceStatusTimeoutsPtr(v *InstanceStatusTimeoutsArgs) InstanceStatusTimeoutsPtrInput

type InstanceStatusTimeoutsPtrOutput added in v0.0.29

type InstanceStatusTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (InstanceStatusTimeoutsPtrOutput) Create added in v0.0.29

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (InstanceStatusTimeoutsPtrOutput) Delete added in v0.0.29

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (InstanceStatusTimeoutsPtrOutput) Elem added in v0.0.29

func (InstanceStatusTimeoutsPtrOutput) ElementType added in v0.0.29

func (InstanceStatusTimeoutsPtrOutput) Read added in v0.0.29

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (InstanceStatusTimeoutsPtrOutput) ToInstanceStatusTimeoutsPtrOutput added in v0.0.29

func (o InstanceStatusTimeoutsPtrOutput) ToInstanceStatusTimeoutsPtrOutput() InstanceStatusTimeoutsPtrOutput

func (InstanceStatusTimeoutsPtrOutput) ToInstanceStatusTimeoutsPtrOutputWithContext added in v0.0.29

func (o InstanceStatusTimeoutsPtrOutput) ToInstanceStatusTimeoutsPtrOutputWithContext(ctx context.Context) InstanceStatusTimeoutsPtrOutput

func (InstanceStatusTimeoutsPtrOutput) Update added in v0.0.29

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type InstanceTimeouts

type InstanceTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read *string `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type InstanceTimeoutsArgs

type InstanceTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read pulumi.StringPtrInput `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (InstanceTimeoutsArgs) ElementType

func (InstanceTimeoutsArgs) ElementType() reflect.Type

func (InstanceTimeoutsArgs) ToInstanceTimeoutsOutput

func (i InstanceTimeoutsArgs) ToInstanceTimeoutsOutput() InstanceTimeoutsOutput

func (InstanceTimeoutsArgs) ToInstanceTimeoutsOutputWithContext

func (i InstanceTimeoutsArgs) ToInstanceTimeoutsOutputWithContext(ctx context.Context) InstanceTimeoutsOutput

func (InstanceTimeoutsArgs) ToInstanceTimeoutsPtrOutput

func (i InstanceTimeoutsArgs) ToInstanceTimeoutsPtrOutput() InstanceTimeoutsPtrOutput

func (InstanceTimeoutsArgs) ToInstanceTimeoutsPtrOutputWithContext

func (i InstanceTimeoutsArgs) ToInstanceTimeoutsPtrOutputWithContext(ctx context.Context) InstanceTimeoutsPtrOutput

type InstanceTimeoutsInput

type InstanceTimeoutsInput interface {
	pulumi.Input

	ToInstanceTimeoutsOutput() InstanceTimeoutsOutput
	ToInstanceTimeoutsOutputWithContext(context.Context) InstanceTimeoutsOutput
}

InstanceTimeoutsInput is an input type that accepts InstanceTimeoutsArgs and InstanceTimeoutsOutput values. You can construct a concrete instance of `InstanceTimeoutsInput` via:

InstanceTimeoutsArgs{...}

type InstanceTimeoutsOutput

type InstanceTimeoutsOutput struct{ *pulumi.OutputState }

func (InstanceTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (InstanceTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (InstanceTimeoutsOutput) ElementType

func (InstanceTimeoutsOutput) ElementType() reflect.Type

func (InstanceTimeoutsOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (InstanceTimeoutsOutput) ToInstanceTimeoutsOutput

func (o InstanceTimeoutsOutput) ToInstanceTimeoutsOutput() InstanceTimeoutsOutput

func (InstanceTimeoutsOutput) ToInstanceTimeoutsOutputWithContext

func (o InstanceTimeoutsOutput) ToInstanceTimeoutsOutputWithContext(ctx context.Context) InstanceTimeoutsOutput

func (InstanceTimeoutsOutput) ToInstanceTimeoutsPtrOutput

func (o InstanceTimeoutsOutput) ToInstanceTimeoutsPtrOutput() InstanceTimeoutsPtrOutput

func (InstanceTimeoutsOutput) ToInstanceTimeoutsPtrOutputWithContext

func (o InstanceTimeoutsOutput) ToInstanceTimeoutsPtrOutputWithContext(ctx context.Context) InstanceTimeoutsPtrOutput

func (InstanceTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type InstanceTimeoutsPtrInput

type InstanceTimeoutsPtrInput interface {
	pulumi.Input

	ToInstanceTimeoutsPtrOutput() InstanceTimeoutsPtrOutput
	ToInstanceTimeoutsPtrOutputWithContext(context.Context) InstanceTimeoutsPtrOutput
}

InstanceTimeoutsPtrInput is an input type that accepts InstanceTimeoutsArgs, InstanceTimeoutsPtr and InstanceTimeoutsPtrOutput values. You can construct a concrete instance of `InstanceTimeoutsPtrInput` via:

        InstanceTimeoutsArgs{...}

or:

        nil

type InstanceTimeoutsPtrOutput

type InstanceTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (InstanceTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (InstanceTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (InstanceTimeoutsPtrOutput) Elem

func (InstanceTimeoutsPtrOutput) ElementType

func (InstanceTimeoutsPtrOutput) ElementType() reflect.Type

func (InstanceTimeoutsPtrOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (InstanceTimeoutsPtrOutput) ToInstanceTimeoutsPtrOutput

func (o InstanceTimeoutsPtrOutput) ToInstanceTimeoutsPtrOutput() InstanceTimeoutsPtrOutput

func (InstanceTimeoutsPtrOutput) ToInstanceTimeoutsPtrOutputWithContext

func (o InstanceTimeoutsPtrOutput) ToInstanceTimeoutsPtrOutputWithContext(ctx context.Context) InstanceTimeoutsPtrOutput

func (InstanceTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// Genesis Cloud API endpoint. May also be provided via `GENESISCLOUD_ENDPOINT` environment variable. If neither is
	// provided, defaults to `https://api.genesiscloud.com/compute/v1`.
	Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"`
	// The polling interval. - The string must be a positive [time duration](https://pkg.go.dev/time#ParseDuration), for
	// example "10s".
	PollingInterval pulumi.StringPtrOutput `pulumi:"pollingInterval"`
	// Genesis Cloud API token. May also be provided via `GENESISCLOUD_TOKEN` environment variable.
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

The provider type for the genesiscloud package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

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

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

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

type ProviderArgs

type ProviderArgs struct {
	// Genesis Cloud API endpoint. May also be provided via `GENESISCLOUD_ENDPOINT` environment variable. If neither is
	// provided, defaults to `https://api.genesiscloud.com/compute/v1`.
	Endpoint pulumi.StringPtrInput
	// The polling interval. - The string must be a positive [time duration](https://pkg.go.dev/time#ParseDuration), for
	// example "10s".
	PollingInterval pulumi.StringPtrInput
	// Genesis Cloud API token. May also be provided via `GENESISCLOUD_TOKEN` environment variable.
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

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

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Endpoint

func (o ProviderOutput) Endpoint() pulumi.StringPtrOutput

Genesis Cloud API endpoint. May also be provided via `GENESISCLOUD_ENDPOINT` environment variable. If neither is provided, defaults to `https://api.genesiscloud.com/compute/v1`.

func (ProviderOutput) PollingInterval

func (o ProviderOutput) PollingInterval() pulumi.StringPtrOutput

The polling interval. - The string must be a positive [time duration](https://pkg.go.dev/time#ParseDuration), for example "10s".

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

func (ProviderOutput) Token

Genesis Cloud API token. May also be provided via `GENESISCLOUD_TOKEN` environment variable.

type SSHKey

type SSHKey struct {
	pulumi.CustomResourceState

	// The timestamp when this SSH key was created in RFC 3339.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The fingerprint of the SSH key.
	Fingerprint pulumi.StringOutput `pulumi:"fingerprint"`
	// The human-readable name for the SSH key.
	Name pulumi.StringOutput `pulumi:"name"`
	// SSH public key. - If the value of this attribute changes, the resource will be replaced.
	PublicKey pulumi.StringOutput     `pulumi:"publicKey"`
	Timeouts  SSHKeyTimeoutsPtrOutput `pulumi:"timeouts"`
}

SSH key resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := genesiscloud.NewSSHKey(ctx, "example", &genesiscloud.SSHKeyArgs{
			PublicKey: pulumi.String("ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBOpdKM8wSI07+PO4xLDL7zW/kNWGbdFXeHyBU1TRlBn alice@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import genesiscloud:index/sSHKey:SSHKey example 18efeec8-94f0-4776-8ff2-5e9b49c74608 ```

func GetSSHKey

func GetSSHKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SSHKeyState, opts ...pulumi.ResourceOption) (*SSHKey, error)

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

func NewSSHKey

func NewSSHKey(ctx *pulumi.Context,
	name string, args *SSHKeyArgs, opts ...pulumi.ResourceOption) (*SSHKey, error)

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

func (*SSHKey) ElementType

func (*SSHKey) ElementType() reflect.Type

func (*SSHKey) ToSSHKeyOutput

func (i *SSHKey) ToSSHKeyOutput() SSHKeyOutput

func (*SSHKey) ToSSHKeyOutputWithContext

func (i *SSHKey) ToSSHKeyOutputWithContext(ctx context.Context) SSHKeyOutput

type SSHKeyArgs

type SSHKeyArgs struct {
	// The human-readable name for the SSH key.
	Name pulumi.StringPtrInput
	// SSH public key. - If the value of this attribute changes, the resource will be replaced.
	PublicKey pulumi.StringInput
	Timeouts  SSHKeyTimeoutsPtrInput
}

The set of arguments for constructing a SSHKey resource.

func (SSHKeyArgs) ElementType

func (SSHKeyArgs) ElementType() reflect.Type

type SSHKeyArray

type SSHKeyArray []SSHKeyInput

func (SSHKeyArray) ElementType

func (SSHKeyArray) ElementType() reflect.Type

func (SSHKeyArray) ToSSHKeyArrayOutput

func (i SSHKeyArray) ToSSHKeyArrayOutput() SSHKeyArrayOutput

func (SSHKeyArray) ToSSHKeyArrayOutputWithContext

func (i SSHKeyArray) ToSSHKeyArrayOutputWithContext(ctx context.Context) SSHKeyArrayOutput

type SSHKeyArrayInput

type SSHKeyArrayInput interface {
	pulumi.Input

	ToSSHKeyArrayOutput() SSHKeyArrayOutput
	ToSSHKeyArrayOutputWithContext(context.Context) SSHKeyArrayOutput
}

SSHKeyArrayInput is an input type that accepts SSHKeyArray and SSHKeyArrayOutput values. You can construct a concrete instance of `SSHKeyArrayInput` via:

SSHKeyArray{ SSHKeyArgs{...} }

type SSHKeyArrayOutput

type SSHKeyArrayOutput struct{ *pulumi.OutputState }

func (SSHKeyArrayOutput) ElementType

func (SSHKeyArrayOutput) ElementType() reflect.Type

func (SSHKeyArrayOutput) Index

func (SSHKeyArrayOutput) ToSSHKeyArrayOutput

func (o SSHKeyArrayOutput) ToSSHKeyArrayOutput() SSHKeyArrayOutput

func (SSHKeyArrayOutput) ToSSHKeyArrayOutputWithContext

func (o SSHKeyArrayOutput) ToSSHKeyArrayOutputWithContext(ctx context.Context) SSHKeyArrayOutput

type SSHKeyInput

type SSHKeyInput interface {
	pulumi.Input

	ToSSHKeyOutput() SSHKeyOutput
	ToSSHKeyOutputWithContext(ctx context.Context) SSHKeyOutput
}

type SSHKeyMap

type SSHKeyMap map[string]SSHKeyInput

func (SSHKeyMap) ElementType

func (SSHKeyMap) ElementType() reflect.Type

func (SSHKeyMap) ToSSHKeyMapOutput

func (i SSHKeyMap) ToSSHKeyMapOutput() SSHKeyMapOutput

func (SSHKeyMap) ToSSHKeyMapOutputWithContext

func (i SSHKeyMap) ToSSHKeyMapOutputWithContext(ctx context.Context) SSHKeyMapOutput

type SSHKeyMapInput

type SSHKeyMapInput interface {
	pulumi.Input

	ToSSHKeyMapOutput() SSHKeyMapOutput
	ToSSHKeyMapOutputWithContext(context.Context) SSHKeyMapOutput
}

SSHKeyMapInput is an input type that accepts SSHKeyMap and SSHKeyMapOutput values. You can construct a concrete instance of `SSHKeyMapInput` via:

SSHKeyMap{ "key": SSHKeyArgs{...} }

type SSHKeyMapOutput

type SSHKeyMapOutput struct{ *pulumi.OutputState }

func (SSHKeyMapOutput) ElementType

func (SSHKeyMapOutput) ElementType() reflect.Type

func (SSHKeyMapOutput) MapIndex

func (SSHKeyMapOutput) ToSSHKeyMapOutput

func (o SSHKeyMapOutput) ToSSHKeyMapOutput() SSHKeyMapOutput

func (SSHKeyMapOutput) ToSSHKeyMapOutputWithContext

func (o SSHKeyMapOutput) ToSSHKeyMapOutputWithContext(ctx context.Context) SSHKeyMapOutput

type SSHKeyOutput

type SSHKeyOutput struct{ *pulumi.OutputState }

func (SSHKeyOutput) CreatedAt

func (o SSHKeyOutput) CreatedAt() pulumi.StringOutput

The timestamp when this SSH key was created in RFC 3339.

func (SSHKeyOutput) ElementType

func (SSHKeyOutput) ElementType() reflect.Type

func (SSHKeyOutput) Fingerprint

func (o SSHKeyOutput) Fingerprint() pulumi.StringOutput

The fingerprint of the SSH key.

func (SSHKeyOutput) Name

func (o SSHKeyOutput) Name() pulumi.StringOutput

The human-readable name for the SSH key.

func (SSHKeyOutput) PublicKey

func (o SSHKeyOutput) PublicKey() pulumi.StringOutput

SSH public key. - If the value of this attribute changes, the resource will be replaced.

func (SSHKeyOutput) Timeouts

func (SSHKeyOutput) ToSSHKeyOutput

func (o SSHKeyOutput) ToSSHKeyOutput() SSHKeyOutput

func (SSHKeyOutput) ToSSHKeyOutputWithContext

func (o SSHKeyOutput) ToSSHKeyOutputWithContext(ctx context.Context) SSHKeyOutput

type SSHKeyState

type SSHKeyState struct {
	// The timestamp when this SSH key was created in RFC 3339.
	CreatedAt pulumi.StringPtrInput
	// The fingerprint of the SSH key.
	Fingerprint pulumi.StringPtrInput
	// The human-readable name for the SSH key.
	Name pulumi.StringPtrInput
	// SSH public key. - If the value of this attribute changes, the resource will be replaced.
	PublicKey pulumi.StringPtrInput
	Timeouts  SSHKeyTimeoutsPtrInput
}

func (SSHKeyState) ElementType

func (SSHKeyState) ElementType() reflect.Type

type SSHKeyTimeouts

type SSHKeyTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read *string `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type SSHKeyTimeoutsArgs

type SSHKeyTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read pulumi.StringPtrInput `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (SSHKeyTimeoutsArgs) ElementType

func (SSHKeyTimeoutsArgs) ElementType() reflect.Type

func (SSHKeyTimeoutsArgs) ToSSHKeyTimeoutsOutput

func (i SSHKeyTimeoutsArgs) ToSSHKeyTimeoutsOutput() SSHKeyTimeoutsOutput

func (SSHKeyTimeoutsArgs) ToSSHKeyTimeoutsOutputWithContext

func (i SSHKeyTimeoutsArgs) ToSSHKeyTimeoutsOutputWithContext(ctx context.Context) SSHKeyTimeoutsOutput

func (SSHKeyTimeoutsArgs) ToSSHKeyTimeoutsPtrOutput

func (i SSHKeyTimeoutsArgs) ToSSHKeyTimeoutsPtrOutput() SSHKeyTimeoutsPtrOutput

func (SSHKeyTimeoutsArgs) ToSSHKeyTimeoutsPtrOutputWithContext

func (i SSHKeyTimeoutsArgs) ToSSHKeyTimeoutsPtrOutputWithContext(ctx context.Context) SSHKeyTimeoutsPtrOutput

type SSHKeyTimeoutsInput

type SSHKeyTimeoutsInput interface {
	pulumi.Input

	ToSSHKeyTimeoutsOutput() SSHKeyTimeoutsOutput
	ToSSHKeyTimeoutsOutputWithContext(context.Context) SSHKeyTimeoutsOutput
}

SSHKeyTimeoutsInput is an input type that accepts SSHKeyTimeoutsArgs and SSHKeyTimeoutsOutput values. You can construct a concrete instance of `SSHKeyTimeoutsInput` via:

SSHKeyTimeoutsArgs{...}

type SSHKeyTimeoutsOutput

type SSHKeyTimeoutsOutput struct{ *pulumi.OutputState }

func (SSHKeyTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (SSHKeyTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (SSHKeyTimeoutsOutput) ElementType

func (SSHKeyTimeoutsOutput) ElementType() reflect.Type

func (SSHKeyTimeoutsOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (SSHKeyTimeoutsOutput) ToSSHKeyTimeoutsOutput

func (o SSHKeyTimeoutsOutput) ToSSHKeyTimeoutsOutput() SSHKeyTimeoutsOutput

func (SSHKeyTimeoutsOutput) ToSSHKeyTimeoutsOutputWithContext

func (o SSHKeyTimeoutsOutput) ToSSHKeyTimeoutsOutputWithContext(ctx context.Context) SSHKeyTimeoutsOutput

func (SSHKeyTimeoutsOutput) ToSSHKeyTimeoutsPtrOutput

func (o SSHKeyTimeoutsOutput) ToSSHKeyTimeoutsPtrOutput() SSHKeyTimeoutsPtrOutput

func (SSHKeyTimeoutsOutput) ToSSHKeyTimeoutsPtrOutputWithContext

func (o SSHKeyTimeoutsOutput) ToSSHKeyTimeoutsPtrOutputWithContext(ctx context.Context) SSHKeyTimeoutsPtrOutput

func (SSHKeyTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type SSHKeyTimeoutsPtrInput

type SSHKeyTimeoutsPtrInput interface {
	pulumi.Input

	ToSSHKeyTimeoutsPtrOutput() SSHKeyTimeoutsPtrOutput
	ToSSHKeyTimeoutsPtrOutputWithContext(context.Context) SSHKeyTimeoutsPtrOutput
}

SSHKeyTimeoutsPtrInput is an input type that accepts SSHKeyTimeoutsArgs, SSHKeyTimeoutsPtr and SSHKeyTimeoutsPtrOutput values. You can construct a concrete instance of `SSHKeyTimeoutsPtrInput` via:

        SSHKeyTimeoutsArgs{...}

or:

        nil

type SSHKeyTimeoutsPtrOutput

type SSHKeyTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (SSHKeyTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (SSHKeyTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (SSHKeyTimeoutsPtrOutput) Elem

func (SSHKeyTimeoutsPtrOutput) ElementType

func (SSHKeyTimeoutsPtrOutput) ElementType() reflect.Type

func (SSHKeyTimeoutsPtrOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (SSHKeyTimeoutsPtrOutput) ToSSHKeyTimeoutsPtrOutput

func (o SSHKeyTimeoutsPtrOutput) ToSSHKeyTimeoutsPtrOutput() SSHKeyTimeoutsPtrOutput

func (SSHKeyTimeoutsPtrOutput) ToSSHKeyTimeoutsPtrOutputWithContext

func (o SSHKeyTimeoutsPtrOutput) ToSSHKeyTimeoutsPtrOutputWithContext(ctx context.Context) SSHKeyTimeoutsPtrOutput

func (SSHKeyTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type SecurityGroup

type SecurityGroup struct {
	pulumi.CustomResourceState

	// The timestamp when this security group was created in RFC 3339.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The human-readable description for the security group. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringOutput `pulumi:"description"`
	// The human-readable name for the security group.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringOutput          `pulumi:"region"`
	Rules  SecurityGroupRuleArrayOutput `pulumi:"rules"`
	// The security group status.
	Status   pulumi.StringOutput            `pulumi:"status"`
	Timeouts SecurityGroupTimeoutsPtrOutput `pulumi:"timeouts"`
}

Security group resource

## Import

```sh $ pulumi import genesiscloud:index/securityGroup:SecurityGroup example 18efeec8-94f0-4776-8ff2-5e9b49c74608 ```

func GetSecurityGroup

func GetSecurityGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityGroupState, opts ...pulumi.ResourceOption) (*SecurityGroup, error)

GetSecurityGroup gets an existing SecurityGroup 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 NewSecurityGroup

func NewSecurityGroup(ctx *pulumi.Context,
	name string, args *SecurityGroupArgs, opts ...pulumi.ResourceOption) (*SecurityGroup, error)

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

func (*SecurityGroup) ElementType

func (*SecurityGroup) ElementType() reflect.Type

func (*SecurityGroup) ToSecurityGroupOutput

func (i *SecurityGroup) ToSecurityGroupOutput() SecurityGroupOutput

func (*SecurityGroup) ToSecurityGroupOutputWithContext

func (i *SecurityGroup) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput

type SecurityGroupArgs

type SecurityGroupArgs struct {
	// The human-readable description for the security group. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringPtrInput
	// The human-readable name for the security group.
	Name pulumi.StringPtrInput
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region   pulumi.StringInput
	Rules    SecurityGroupRuleArrayInput
	Timeouts SecurityGroupTimeoutsPtrInput
}

The set of arguments for constructing a SecurityGroup resource.

func (SecurityGroupArgs) ElementType

func (SecurityGroupArgs) ElementType() reflect.Type

type SecurityGroupArray

type SecurityGroupArray []SecurityGroupInput

func (SecurityGroupArray) ElementType

func (SecurityGroupArray) ElementType() reflect.Type

func (SecurityGroupArray) ToSecurityGroupArrayOutput

func (i SecurityGroupArray) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput

func (SecurityGroupArray) ToSecurityGroupArrayOutputWithContext

func (i SecurityGroupArray) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput

type SecurityGroupArrayInput

type SecurityGroupArrayInput interface {
	pulumi.Input

	ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
	ToSecurityGroupArrayOutputWithContext(context.Context) SecurityGroupArrayOutput
}

SecurityGroupArrayInput is an input type that accepts SecurityGroupArray and SecurityGroupArrayOutput values. You can construct a concrete instance of `SecurityGroupArrayInput` via:

SecurityGroupArray{ SecurityGroupArgs{...} }

type SecurityGroupArrayOutput

type SecurityGroupArrayOutput struct{ *pulumi.OutputState }

func (SecurityGroupArrayOutput) ElementType

func (SecurityGroupArrayOutput) ElementType() reflect.Type

func (SecurityGroupArrayOutput) Index

func (SecurityGroupArrayOutput) ToSecurityGroupArrayOutput

func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput

func (SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext

func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput

type SecurityGroupInput

type SecurityGroupInput interface {
	pulumi.Input

	ToSecurityGroupOutput() SecurityGroupOutput
	ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
}

type SecurityGroupMap

type SecurityGroupMap map[string]SecurityGroupInput

func (SecurityGroupMap) ElementType

func (SecurityGroupMap) ElementType() reflect.Type

func (SecurityGroupMap) ToSecurityGroupMapOutput

func (i SecurityGroupMap) ToSecurityGroupMapOutput() SecurityGroupMapOutput

func (SecurityGroupMap) ToSecurityGroupMapOutputWithContext

func (i SecurityGroupMap) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput

type SecurityGroupMapInput

type SecurityGroupMapInput interface {
	pulumi.Input

	ToSecurityGroupMapOutput() SecurityGroupMapOutput
	ToSecurityGroupMapOutputWithContext(context.Context) SecurityGroupMapOutput
}

SecurityGroupMapInput is an input type that accepts SecurityGroupMap and SecurityGroupMapOutput values. You can construct a concrete instance of `SecurityGroupMapInput` via:

SecurityGroupMap{ "key": SecurityGroupArgs{...} }

type SecurityGroupMapOutput

type SecurityGroupMapOutput struct{ *pulumi.OutputState }

func (SecurityGroupMapOutput) ElementType

func (SecurityGroupMapOutput) ElementType() reflect.Type

func (SecurityGroupMapOutput) MapIndex

func (SecurityGroupMapOutput) ToSecurityGroupMapOutput

func (o SecurityGroupMapOutput) ToSecurityGroupMapOutput() SecurityGroupMapOutput

func (SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext

func (o SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput

type SecurityGroupOutput

type SecurityGroupOutput struct{ *pulumi.OutputState }

func (SecurityGroupOutput) CreatedAt

func (o SecurityGroupOutput) CreatedAt() pulumi.StringOutput

The timestamp when this security group was created in RFC 3339.

func (SecurityGroupOutput) Description

func (o SecurityGroupOutput) Description() pulumi.StringOutput

The human-readable description for the security group. - Sets the default value "" if the attribute is not set.

func (SecurityGroupOutput) ElementType

func (SecurityGroupOutput) ElementType() reflect.Type

func (SecurityGroupOutput) Name

The human-readable name for the security group.

func (SecurityGroupOutput) Region

The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].

func (SecurityGroupOutput) Rules

func (SecurityGroupOutput) Status

The security group status.

func (SecurityGroupOutput) Timeouts

func (SecurityGroupOutput) ToSecurityGroupOutput

func (o SecurityGroupOutput) ToSecurityGroupOutput() SecurityGroupOutput

func (SecurityGroupOutput) ToSecurityGroupOutputWithContext

func (o SecurityGroupOutput) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput

type SecurityGroupRule

type SecurityGroupRule struct {
	// The direction of the rule.
	//   - The value must be one of: ["egress" "ingress"].
	Direction string `pulumi:"direction"`
	// The maximum port number of the rule.
	//   - The value must be between 1 and 65535.
	PortRangeMax *int `pulumi:"portRangeMax"`
	// The minimum port number of the rule.
	//   - The value must be between 1 and 65535.
	PortRangeMin *int `pulumi:"portRangeMin"`
	// The protocol of the rule.
	//   - The value must be one of: ["all" "icmp" "tcp" "udp"].
	Protocol string `pulumi:"protocol"`
}

type SecurityGroupRuleArgs

type SecurityGroupRuleArgs struct {
	// The direction of the rule.
	//   - The value must be one of: ["egress" "ingress"].
	Direction pulumi.StringInput `pulumi:"direction"`
	// The maximum port number of the rule.
	//   - The value must be between 1 and 65535.
	PortRangeMax pulumi.IntPtrInput `pulumi:"portRangeMax"`
	// The minimum port number of the rule.
	//   - The value must be between 1 and 65535.
	PortRangeMin pulumi.IntPtrInput `pulumi:"portRangeMin"`
	// The protocol of the rule.
	//   - The value must be one of: ["all" "icmp" "tcp" "udp"].
	Protocol pulumi.StringInput `pulumi:"protocol"`
}

func (SecurityGroupRuleArgs) ElementType

func (SecurityGroupRuleArgs) ElementType() reflect.Type

func (SecurityGroupRuleArgs) ToSecurityGroupRuleOutput

func (i SecurityGroupRuleArgs) ToSecurityGroupRuleOutput() SecurityGroupRuleOutput

func (SecurityGroupRuleArgs) ToSecurityGroupRuleOutputWithContext

func (i SecurityGroupRuleArgs) ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput

type SecurityGroupRuleArray

type SecurityGroupRuleArray []SecurityGroupRuleInput

func (SecurityGroupRuleArray) ElementType

func (SecurityGroupRuleArray) ElementType() reflect.Type

func (SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutput

func (i SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput

func (SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutputWithContext

func (i SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleArrayOutput

type SecurityGroupRuleArrayInput

type SecurityGroupRuleArrayInput interface {
	pulumi.Input

	ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput
	ToSecurityGroupRuleArrayOutputWithContext(context.Context) SecurityGroupRuleArrayOutput
}

SecurityGroupRuleArrayInput is an input type that accepts SecurityGroupRuleArray and SecurityGroupRuleArrayOutput values. You can construct a concrete instance of `SecurityGroupRuleArrayInput` via:

SecurityGroupRuleArray{ SecurityGroupRuleArgs{...} }

type SecurityGroupRuleArrayOutput

type SecurityGroupRuleArrayOutput struct{ *pulumi.OutputState }

func (SecurityGroupRuleArrayOutput) ElementType

func (SecurityGroupRuleArrayOutput) Index

func (SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutput

func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput

func (SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutputWithContext

func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleArrayOutput

type SecurityGroupRuleInput

type SecurityGroupRuleInput interface {
	pulumi.Input

	ToSecurityGroupRuleOutput() SecurityGroupRuleOutput
	ToSecurityGroupRuleOutputWithContext(context.Context) SecurityGroupRuleOutput
}

SecurityGroupRuleInput is an input type that accepts SecurityGroupRuleArgs and SecurityGroupRuleOutput values. You can construct a concrete instance of `SecurityGroupRuleInput` via:

SecurityGroupRuleArgs{...}

type SecurityGroupRuleOutput

type SecurityGroupRuleOutput struct{ *pulumi.OutputState }

func (SecurityGroupRuleOutput) Direction

The direction of the rule.

  • The value must be one of: ["egress" "ingress"].

func (SecurityGroupRuleOutput) ElementType

func (SecurityGroupRuleOutput) ElementType() reflect.Type

func (SecurityGroupRuleOutput) PortRangeMax

func (o SecurityGroupRuleOutput) PortRangeMax() pulumi.IntPtrOutput

The maximum port number of the rule.

  • The value must be between 1 and 65535.

func (SecurityGroupRuleOutput) PortRangeMin

func (o SecurityGroupRuleOutput) PortRangeMin() pulumi.IntPtrOutput

The minimum port number of the rule.

  • The value must be between 1 and 65535.

func (SecurityGroupRuleOutput) Protocol

The protocol of the rule.

  • The value must be one of: ["all" "icmp" "tcp" "udp"].

func (SecurityGroupRuleOutput) ToSecurityGroupRuleOutput

func (o SecurityGroupRuleOutput) ToSecurityGroupRuleOutput() SecurityGroupRuleOutput

func (SecurityGroupRuleOutput) ToSecurityGroupRuleOutputWithContext

func (o SecurityGroupRuleOutput) ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput

type SecurityGroupState

type SecurityGroupState struct {
	// The timestamp when this security group was created in RFC 3339.
	CreatedAt pulumi.StringPtrInput
	// The human-readable description for the security group. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringPtrInput
	// The human-readable name for the security group.
	Name pulumi.StringPtrInput
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringPtrInput
	Rules  SecurityGroupRuleArrayInput
	// The security group status.
	Status   pulumi.StringPtrInput
	Timeouts SecurityGroupTimeoutsPtrInput
}

func (SecurityGroupState) ElementType

func (SecurityGroupState) ElementType() reflect.Type

type SecurityGroupTimeouts

type SecurityGroupTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read *string `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type SecurityGroupTimeoutsArgs

type SecurityGroupTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read pulumi.StringPtrInput `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (SecurityGroupTimeoutsArgs) ElementType

func (SecurityGroupTimeoutsArgs) ElementType() reflect.Type

func (SecurityGroupTimeoutsArgs) ToSecurityGroupTimeoutsOutput

func (i SecurityGroupTimeoutsArgs) ToSecurityGroupTimeoutsOutput() SecurityGroupTimeoutsOutput

func (SecurityGroupTimeoutsArgs) ToSecurityGroupTimeoutsOutputWithContext

func (i SecurityGroupTimeoutsArgs) ToSecurityGroupTimeoutsOutputWithContext(ctx context.Context) SecurityGroupTimeoutsOutput

func (SecurityGroupTimeoutsArgs) ToSecurityGroupTimeoutsPtrOutput

func (i SecurityGroupTimeoutsArgs) ToSecurityGroupTimeoutsPtrOutput() SecurityGroupTimeoutsPtrOutput

func (SecurityGroupTimeoutsArgs) ToSecurityGroupTimeoutsPtrOutputWithContext

func (i SecurityGroupTimeoutsArgs) ToSecurityGroupTimeoutsPtrOutputWithContext(ctx context.Context) SecurityGroupTimeoutsPtrOutput

type SecurityGroupTimeoutsInput

type SecurityGroupTimeoutsInput interface {
	pulumi.Input

	ToSecurityGroupTimeoutsOutput() SecurityGroupTimeoutsOutput
	ToSecurityGroupTimeoutsOutputWithContext(context.Context) SecurityGroupTimeoutsOutput
}

SecurityGroupTimeoutsInput is an input type that accepts SecurityGroupTimeoutsArgs and SecurityGroupTimeoutsOutput values. You can construct a concrete instance of `SecurityGroupTimeoutsInput` via:

SecurityGroupTimeoutsArgs{...}

type SecurityGroupTimeoutsOutput

type SecurityGroupTimeoutsOutput struct{ *pulumi.OutputState }

func (SecurityGroupTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (SecurityGroupTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (SecurityGroupTimeoutsOutput) ElementType

func (SecurityGroupTimeoutsOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (SecurityGroupTimeoutsOutput) ToSecurityGroupTimeoutsOutput

func (o SecurityGroupTimeoutsOutput) ToSecurityGroupTimeoutsOutput() SecurityGroupTimeoutsOutput

func (SecurityGroupTimeoutsOutput) ToSecurityGroupTimeoutsOutputWithContext

func (o SecurityGroupTimeoutsOutput) ToSecurityGroupTimeoutsOutputWithContext(ctx context.Context) SecurityGroupTimeoutsOutput

func (SecurityGroupTimeoutsOutput) ToSecurityGroupTimeoutsPtrOutput

func (o SecurityGroupTimeoutsOutput) ToSecurityGroupTimeoutsPtrOutput() SecurityGroupTimeoutsPtrOutput

func (SecurityGroupTimeoutsOutput) ToSecurityGroupTimeoutsPtrOutputWithContext

func (o SecurityGroupTimeoutsOutput) ToSecurityGroupTimeoutsPtrOutputWithContext(ctx context.Context) SecurityGroupTimeoutsPtrOutput

func (SecurityGroupTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type SecurityGroupTimeoutsPtrInput

type SecurityGroupTimeoutsPtrInput interface {
	pulumi.Input

	ToSecurityGroupTimeoutsPtrOutput() SecurityGroupTimeoutsPtrOutput
	ToSecurityGroupTimeoutsPtrOutputWithContext(context.Context) SecurityGroupTimeoutsPtrOutput
}

SecurityGroupTimeoutsPtrInput is an input type that accepts SecurityGroupTimeoutsArgs, SecurityGroupTimeoutsPtr and SecurityGroupTimeoutsPtrOutput values. You can construct a concrete instance of `SecurityGroupTimeoutsPtrInput` via:

        SecurityGroupTimeoutsArgs{...}

or:

        nil

type SecurityGroupTimeoutsPtrOutput

type SecurityGroupTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (SecurityGroupTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (SecurityGroupTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (SecurityGroupTimeoutsPtrOutput) Elem

func (SecurityGroupTimeoutsPtrOutput) ElementType

func (SecurityGroupTimeoutsPtrOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (SecurityGroupTimeoutsPtrOutput) ToSecurityGroupTimeoutsPtrOutput

func (o SecurityGroupTimeoutsPtrOutput) ToSecurityGroupTimeoutsPtrOutput() SecurityGroupTimeoutsPtrOutput

func (SecurityGroupTimeoutsPtrOutput) ToSecurityGroupTimeoutsPtrOutputWithContext

func (o SecurityGroupTimeoutsPtrOutput) ToSecurityGroupTimeoutsPtrOutputWithContext(ctx context.Context) SecurityGroupTimeoutsPtrOutput

func (SecurityGroupTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type Snapshot

type Snapshot struct {
	pulumi.CustomResourceState

	// The timestamp when this snapshot was created in RFC 3339.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The human-readable name for the snapshot.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region identifier. Should only be explicity specified when using the 'source_snapshot_id'.
	Region pulumi.StringOutput `pulumi:"region"`
	// Target region for snapshot replication. When specified, also creates a copy of the snapshot in the given region. If
	// omitted, the snapshot exists only in the current region.
	ReplicatedRegion pulumi.StringPtrOutput `pulumi:"replicatedRegion"`
	// Flag to retain the snapshot when the resource is deleted. - Sets the default value "false" if the attribute is not set.
	RetainOnDelete pulumi.BoolOutput `pulumi:"retainOnDelete"`
	// The storage size of this snapshot given in GiB.
	Size pulumi.IntOutput `pulumi:"size"`
	// The id of the source instance from which this snapshot was derived. - If the value of this attribute changes, the
	// resource will be replaced.
	SourceInstanceId pulumi.StringPtrOutput `pulumi:"sourceInstanceId"`
	// The id of the source snapshot from which this snapsot was derived. - If the value of this attribute changes, the
	// resource will be replaced.
	SourceSnapshotId pulumi.StringPtrOutput `pulumi:"sourceSnapshotId"`
	// The snapshot status.
	Status   pulumi.StringOutput       `pulumi:"status"`
	Timeouts SnapshotTimeoutsPtrOutput `pulumi:"timeouts"`
}

Snapshot resource

## Import

```sh $ pulumi import genesiscloud:index/snapshot:Snapshot example 18efeec8-94f0-4776-8ff2-5e9b49c74608 ```

func GetSnapshot

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

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

func NewSnapshot

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

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

func (*Snapshot) ElementType

func (*Snapshot) ElementType() reflect.Type

func (*Snapshot) ToSnapshotOutput

func (i *Snapshot) ToSnapshotOutput() SnapshotOutput

func (*Snapshot) ToSnapshotOutputWithContext

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

type SnapshotArgs

type SnapshotArgs struct {
	// The human-readable name for the snapshot.
	Name pulumi.StringPtrInput
	// The region identifier. Should only be explicity specified when using the 'source_snapshot_id'.
	Region pulumi.StringPtrInput
	// Target region for snapshot replication. When specified, also creates a copy of the snapshot in the given region. If
	// omitted, the snapshot exists only in the current region.
	ReplicatedRegion pulumi.StringPtrInput
	// Flag to retain the snapshot when the resource is deleted. - Sets the default value "false" if the attribute is not set.
	RetainOnDelete pulumi.BoolPtrInput
	// The id of the source instance from which this snapshot was derived. - If the value of this attribute changes, the
	// resource will be replaced.
	SourceInstanceId pulumi.StringPtrInput
	// The id of the source snapshot from which this snapsot was derived. - If the value of this attribute changes, the
	// resource will be replaced.
	SourceSnapshotId pulumi.StringPtrInput
	Timeouts         SnapshotTimeoutsPtrInput
}

The set of arguments for constructing a Snapshot resource.

func (SnapshotArgs) ElementType

func (SnapshotArgs) ElementType() reflect.Type

type SnapshotArray

type SnapshotArray []SnapshotInput

func (SnapshotArray) ElementType

func (SnapshotArray) ElementType() reflect.Type

func (SnapshotArray) ToSnapshotArrayOutput

func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArray) ToSnapshotArrayOutputWithContext

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

type SnapshotArrayInput

type SnapshotArrayInput interface {
	pulumi.Input

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

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

SnapshotArray{ SnapshotArgs{...} }

type SnapshotArrayOutput

type SnapshotArrayOutput struct{ *pulumi.OutputState }

func (SnapshotArrayOutput) ElementType

func (SnapshotArrayOutput) ElementType() reflect.Type

func (SnapshotArrayOutput) Index

func (SnapshotArrayOutput) ToSnapshotArrayOutput

func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext

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

type SnapshotInput

type SnapshotInput interface {
	pulumi.Input

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

type SnapshotMap

type SnapshotMap map[string]SnapshotInput

func (SnapshotMap) ElementType

func (SnapshotMap) ElementType() reflect.Type

func (SnapshotMap) ToSnapshotMapOutput

func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMap) ToSnapshotMapOutputWithContext

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

type SnapshotMapInput

type SnapshotMapInput interface {
	pulumi.Input

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

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

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

type SnapshotMapOutput

type SnapshotMapOutput struct{ *pulumi.OutputState }

func (SnapshotMapOutput) ElementType

func (SnapshotMapOutput) ElementType() reflect.Type

func (SnapshotMapOutput) MapIndex

func (SnapshotMapOutput) ToSnapshotMapOutput

func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMapOutput) ToSnapshotMapOutputWithContext

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

type SnapshotOutput

type SnapshotOutput struct{ *pulumi.OutputState }

func (SnapshotOutput) CreatedAt

func (o SnapshotOutput) CreatedAt() pulumi.StringOutput

The timestamp when this snapshot was created in RFC 3339.

func (SnapshotOutput) ElementType

func (SnapshotOutput) ElementType() reflect.Type

func (SnapshotOutput) Name

The human-readable name for the snapshot.

func (SnapshotOutput) Region

func (o SnapshotOutput) Region() pulumi.StringOutput

The region identifier. Should only be explicity specified when using the 'source_snapshot_id'.

func (SnapshotOutput) ReplicatedRegion added in v0.0.30

func (o SnapshotOutput) ReplicatedRegion() pulumi.StringPtrOutput

Target region for snapshot replication. When specified, also creates a copy of the snapshot in the given region. If omitted, the snapshot exists only in the current region.

func (SnapshotOutput) RetainOnDelete

func (o SnapshotOutput) RetainOnDelete() pulumi.BoolOutput

Flag to retain the snapshot when the resource is deleted. - Sets the default value "false" if the attribute is not set.

func (SnapshotOutput) Size

func (o SnapshotOutput) Size() pulumi.IntOutput

The storage size of this snapshot given in GiB.

func (SnapshotOutput) SourceInstanceId added in v0.0.30

func (o SnapshotOutput) SourceInstanceId() pulumi.StringPtrOutput

The id of the source instance from which this snapshot was derived. - If the value of this attribute changes, the resource will be replaced.

func (SnapshotOutput) SourceSnapshotId added in v0.0.30

func (o SnapshotOutput) SourceSnapshotId() pulumi.StringPtrOutput

The id of the source snapshot from which this snapsot was derived. - If the value of this attribute changes, the resource will be replaced.

func (SnapshotOutput) Status

func (o SnapshotOutput) Status() pulumi.StringOutput

The snapshot status.

func (SnapshotOutput) Timeouts

func (SnapshotOutput) ToSnapshotOutput

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext

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

type SnapshotState

type SnapshotState struct {
	// The timestamp when this snapshot was created in RFC 3339.
	CreatedAt pulumi.StringPtrInput
	// The human-readable name for the snapshot.
	Name pulumi.StringPtrInput
	// The region identifier. Should only be explicity specified when using the 'source_snapshot_id'.
	Region pulumi.StringPtrInput
	// Target region for snapshot replication. When specified, also creates a copy of the snapshot in the given region. If
	// omitted, the snapshot exists only in the current region.
	ReplicatedRegion pulumi.StringPtrInput
	// Flag to retain the snapshot when the resource is deleted. - Sets the default value "false" if the attribute is not set.
	RetainOnDelete pulumi.BoolPtrInput
	// The storage size of this snapshot given in GiB.
	Size pulumi.IntPtrInput
	// The id of the source instance from which this snapshot was derived. - If the value of this attribute changes, the
	// resource will be replaced.
	SourceInstanceId pulumi.StringPtrInput
	// The id of the source snapshot from which this snapsot was derived. - If the value of this attribute changes, the
	// resource will be replaced.
	SourceSnapshotId pulumi.StringPtrInput
	// The snapshot status.
	Status   pulumi.StringPtrInput
	Timeouts SnapshotTimeoutsPtrInput
}

func (SnapshotState) ElementType

func (SnapshotState) ElementType() reflect.Type

type SnapshotTimeouts

type SnapshotTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read *string `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type SnapshotTimeoutsArgs

type SnapshotTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read pulumi.StringPtrInput `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (SnapshotTimeoutsArgs) ElementType

func (SnapshotTimeoutsArgs) ElementType() reflect.Type

func (SnapshotTimeoutsArgs) ToSnapshotTimeoutsOutput

func (i SnapshotTimeoutsArgs) ToSnapshotTimeoutsOutput() SnapshotTimeoutsOutput

func (SnapshotTimeoutsArgs) ToSnapshotTimeoutsOutputWithContext

func (i SnapshotTimeoutsArgs) ToSnapshotTimeoutsOutputWithContext(ctx context.Context) SnapshotTimeoutsOutput

func (SnapshotTimeoutsArgs) ToSnapshotTimeoutsPtrOutput

func (i SnapshotTimeoutsArgs) ToSnapshotTimeoutsPtrOutput() SnapshotTimeoutsPtrOutput

func (SnapshotTimeoutsArgs) ToSnapshotTimeoutsPtrOutputWithContext

func (i SnapshotTimeoutsArgs) ToSnapshotTimeoutsPtrOutputWithContext(ctx context.Context) SnapshotTimeoutsPtrOutput

type SnapshotTimeoutsInput

type SnapshotTimeoutsInput interface {
	pulumi.Input

	ToSnapshotTimeoutsOutput() SnapshotTimeoutsOutput
	ToSnapshotTimeoutsOutputWithContext(context.Context) SnapshotTimeoutsOutput
}

SnapshotTimeoutsInput is an input type that accepts SnapshotTimeoutsArgs and SnapshotTimeoutsOutput values. You can construct a concrete instance of `SnapshotTimeoutsInput` via:

SnapshotTimeoutsArgs{...}

type SnapshotTimeoutsOutput

type SnapshotTimeoutsOutput struct{ *pulumi.OutputState }

func (SnapshotTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (SnapshotTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (SnapshotTimeoutsOutput) ElementType

func (SnapshotTimeoutsOutput) ElementType() reflect.Type

func (SnapshotTimeoutsOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (SnapshotTimeoutsOutput) ToSnapshotTimeoutsOutput

func (o SnapshotTimeoutsOutput) ToSnapshotTimeoutsOutput() SnapshotTimeoutsOutput

func (SnapshotTimeoutsOutput) ToSnapshotTimeoutsOutputWithContext

func (o SnapshotTimeoutsOutput) ToSnapshotTimeoutsOutputWithContext(ctx context.Context) SnapshotTimeoutsOutput

func (SnapshotTimeoutsOutput) ToSnapshotTimeoutsPtrOutput

func (o SnapshotTimeoutsOutput) ToSnapshotTimeoutsPtrOutput() SnapshotTimeoutsPtrOutput

func (SnapshotTimeoutsOutput) ToSnapshotTimeoutsPtrOutputWithContext

func (o SnapshotTimeoutsOutput) ToSnapshotTimeoutsPtrOutputWithContext(ctx context.Context) SnapshotTimeoutsPtrOutput

func (SnapshotTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type SnapshotTimeoutsPtrInput

type SnapshotTimeoutsPtrInput interface {
	pulumi.Input

	ToSnapshotTimeoutsPtrOutput() SnapshotTimeoutsPtrOutput
	ToSnapshotTimeoutsPtrOutputWithContext(context.Context) SnapshotTimeoutsPtrOutput
}

SnapshotTimeoutsPtrInput is an input type that accepts SnapshotTimeoutsArgs, SnapshotTimeoutsPtr and SnapshotTimeoutsPtrOutput values. You can construct a concrete instance of `SnapshotTimeoutsPtrInput` via:

        SnapshotTimeoutsArgs{...}

or:

        nil

type SnapshotTimeoutsPtrOutput

type SnapshotTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (SnapshotTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (SnapshotTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (SnapshotTimeoutsPtrOutput) Elem

func (SnapshotTimeoutsPtrOutput) ElementType

func (SnapshotTimeoutsPtrOutput) ElementType() reflect.Type

func (SnapshotTimeoutsPtrOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (SnapshotTimeoutsPtrOutput) ToSnapshotTimeoutsPtrOutput

func (o SnapshotTimeoutsPtrOutput) ToSnapshotTimeoutsPtrOutput() SnapshotTimeoutsPtrOutput

func (SnapshotTimeoutsPtrOutput) ToSnapshotTimeoutsPtrOutputWithContext

func (o SnapshotTimeoutsPtrOutput) ToSnapshotTimeoutsPtrOutputWithContext(ctx context.Context) SnapshotTimeoutsPtrOutput

func (SnapshotTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type Volume

type Volume struct {
	pulumi.CustomResourceState

	// The timestamp when this volume was created in RFC 3339.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The human-readable description for the volume. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringOutput `pulumi:"description"`
	// The human-readable name for the volume.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringOutput `pulumi:"region"`
	// Flag to retain the volume when the resource is deleted - Sets the default value "false" if the attribute is not set.
	RetainOnDelete pulumi.BoolOutput `pulumi:"retainOnDelete"`
	// The storage size of this volume given in GiB. - The value must be at least 1.
	Size pulumi.IntOutput `pulumi:"size"`
	// The volume status.
	Status   pulumi.StringOutput     `pulumi:"status"`
	Timeouts VolumeTimeoutsPtrOutput `pulumi:"timeouts"`
	// The storage type of the volume. - If the value of this attribute changes, the resource will be replaced. - The value
	// must be one of: ["hdd" "ssd"].
	Type pulumi.StringOutput `pulumi:"type"`
}

Volume resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := genesiscloud.NewVolume(ctx, "example", &genesiscloud.VolumeArgs{
			Region: pulumi.String("NORD-NO-KRS-1"),
			Size:   pulumi.Int(50),
			Type:   pulumi.String("hdd"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import genesiscloud:index/volume:Volume example 18efeec8-94f0-4776-8ff2-5e9b49c74608 ```

func GetVolume

func GetVolume(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)

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

func NewVolume

func NewVolume(ctx *pulumi.Context,
	name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)

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

func (*Volume) ElementType

func (*Volume) ElementType() reflect.Type

func (*Volume) ToVolumeOutput

func (i *Volume) ToVolumeOutput() VolumeOutput

func (*Volume) ToVolumeOutputWithContext

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

type VolumeArgs

type VolumeArgs struct {
	// The human-readable description for the volume. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringPtrInput
	// The human-readable name for the volume.
	Name pulumi.StringPtrInput
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringInput
	// Flag to retain the volume when the resource is deleted - Sets the default value "false" if the attribute is not set.
	RetainOnDelete pulumi.BoolPtrInput
	// The storage size of this volume given in GiB. - The value must be at least 1.
	Size     pulumi.IntInput
	Timeouts VolumeTimeoutsPtrInput
	// The storage type of the volume. - If the value of this attribute changes, the resource will be replaced. - The value
	// must be one of: ["hdd" "ssd"].
	Type pulumi.StringInput
}

The set of arguments for constructing a Volume resource.

func (VolumeArgs) ElementType

func (VolumeArgs) ElementType() reflect.Type

type VolumeArray

type VolumeArray []VolumeInput

func (VolumeArray) ElementType

func (VolumeArray) ElementType() reflect.Type

func (VolumeArray) ToVolumeArrayOutput

func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArray) ToVolumeArrayOutputWithContext

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

type VolumeArrayInput

type VolumeArrayInput interface {
	pulumi.Input

	ToVolumeArrayOutput() VolumeArrayOutput
	ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput
}

VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:

VolumeArray{ VolumeArgs{...} }

type VolumeArrayOutput

type VolumeArrayOutput struct{ *pulumi.OutputState }

func (VolumeArrayOutput) ElementType

func (VolumeArrayOutput) ElementType() reflect.Type

func (VolumeArrayOutput) Index

func (VolumeArrayOutput) ToVolumeArrayOutput

func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArrayOutput) ToVolumeArrayOutputWithContext

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

type VolumeInput

type VolumeInput interface {
	pulumi.Input

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

type VolumeMap

type VolumeMap map[string]VolumeInput

func (VolumeMap) ElementType

func (VolumeMap) ElementType() reflect.Type

func (VolumeMap) ToVolumeMapOutput

func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMap) ToVolumeMapOutputWithContext

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

type VolumeMapInput

type VolumeMapInput interface {
	pulumi.Input

	ToVolumeMapOutput() VolumeMapOutput
	ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput
}

VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:

VolumeMap{ "key": VolumeArgs{...} }

type VolumeMapOutput

type VolumeMapOutput struct{ *pulumi.OutputState }

func (VolumeMapOutput) ElementType

func (VolumeMapOutput) ElementType() reflect.Type

func (VolumeMapOutput) MapIndex

func (VolumeMapOutput) ToVolumeMapOutput

func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMapOutput) ToVolumeMapOutputWithContext

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

type VolumeOutput

type VolumeOutput struct{ *pulumi.OutputState }

func (VolumeOutput) CreatedAt

func (o VolumeOutput) CreatedAt() pulumi.StringOutput

The timestamp when this volume was created in RFC 3339.

func (VolumeOutput) Description

func (o VolumeOutput) Description() pulumi.StringOutput

The human-readable description for the volume. - Sets the default value "" if the attribute is not set.

func (VolumeOutput) ElementType

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) Name

func (o VolumeOutput) Name() pulumi.StringOutput

The human-readable name for the volume.

func (VolumeOutput) Region

func (o VolumeOutput) Region() pulumi.StringOutput

The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].

func (VolumeOutput) RetainOnDelete

func (o VolumeOutput) RetainOnDelete() pulumi.BoolOutput

Flag to retain the volume when the resource is deleted - Sets the default value "false" if the attribute is not set.

func (VolumeOutput) Size

func (o VolumeOutput) Size() pulumi.IntOutput

The storage size of this volume given in GiB. - The value must be at least 1.

func (VolumeOutput) Status

func (o VolumeOutput) Status() pulumi.StringOutput

The volume status.

func (VolumeOutput) Timeouts

func (VolumeOutput) ToVolumeOutput

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext

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

func (VolumeOutput) Type

func (o VolumeOutput) Type() pulumi.StringOutput

The storage type of the volume. - If the value of this attribute changes, the resource will be replaced. - The value must be one of: ["hdd" "ssd"].

type VolumeState

type VolumeState struct {
	// The timestamp when this volume was created in RFC 3339.
	CreatedAt pulumi.StringPtrInput
	// The human-readable description for the volume. - Sets the default value "" if the attribute is not set.
	Description pulumi.StringPtrInput
	// The human-readable name for the volume.
	Name pulumi.StringPtrInput
	// The region identifier. - If the value of this attribute changes, the resource will be replaced. - The value must be one
	// of: ["EUC-DE-MUC-1" "NORD-NO-KRS-1"].
	Region pulumi.StringPtrInput
	// Flag to retain the volume when the resource is deleted - Sets the default value "false" if the attribute is not set.
	RetainOnDelete pulumi.BoolPtrInput
	// The storage size of this volume given in GiB. - The value must be at least 1.
	Size pulumi.IntPtrInput
	// The volume status.
	Status   pulumi.StringPtrInput
	Timeouts VolumeTimeoutsPtrInput
	// The storage type of the volume. - If the value of this attribute changes, the resource will be replaced. - The value
	// must be one of: ["hdd" "ssd"].
	Type pulumi.StringPtrInput
}

func (VolumeState) ElementType

func (VolumeState) ElementType() reflect.Type

type VolumeTimeouts

type VolumeTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read *string `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type VolumeTimeoutsArgs

type VolumeTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
	Read pulumi.StringPtrInput `pulumi:"read"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (VolumeTimeoutsArgs) ElementType

func (VolumeTimeoutsArgs) ElementType() reflect.Type

func (VolumeTimeoutsArgs) ToVolumeTimeoutsOutput

func (i VolumeTimeoutsArgs) ToVolumeTimeoutsOutput() VolumeTimeoutsOutput

func (VolumeTimeoutsArgs) ToVolumeTimeoutsOutputWithContext

func (i VolumeTimeoutsArgs) ToVolumeTimeoutsOutputWithContext(ctx context.Context) VolumeTimeoutsOutput

func (VolumeTimeoutsArgs) ToVolumeTimeoutsPtrOutput

func (i VolumeTimeoutsArgs) ToVolumeTimeoutsPtrOutput() VolumeTimeoutsPtrOutput

func (VolumeTimeoutsArgs) ToVolumeTimeoutsPtrOutputWithContext

func (i VolumeTimeoutsArgs) ToVolumeTimeoutsPtrOutputWithContext(ctx context.Context) VolumeTimeoutsPtrOutput

type VolumeTimeoutsInput

type VolumeTimeoutsInput interface {
	pulumi.Input

	ToVolumeTimeoutsOutput() VolumeTimeoutsOutput
	ToVolumeTimeoutsOutputWithContext(context.Context) VolumeTimeoutsOutput
}

VolumeTimeoutsInput is an input type that accepts VolumeTimeoutsArgs and VolumeTimeoutsOutput values. You can construct a concrete instance of `VolumeTimeoutsInput` via:

VolumeTimeoutsArgs{...}

type VolumeTimeoutsOutput

type VolumeTimeoutsOutput struct{ *pulumi.OutputState }

func (VolumeTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (VolumeTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (VolumeTimeoutsOutput) ElementType

func (VolumeTimeoutsOutput) ElementType() reflect.Type

func (VolumeTimeoutsOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (VolumeTimeoutsOutput) ToVolumeTimeoutsOutput

func (o VolumeTimeoutsOutput) ToVolumeTimeoutsOutput() VolumeTimeoutsOutput

func (VolumeTimeoutsOutput) ToVolumeTimeoutsOutputWithContext

func (o VolumeTimeoutsOutput) ToVolumeTimeoutsOutputWithContext(ctx context.Context) VolumeTimeoutsOutput

func (VolumeTimeoutsOutput) ToVolumeTimeoutsPtrOutput

func (o VolumeTimeoutsOutput) ToVolumeTimeoutsPtrOutput() VolumeTimeoutsPtrOutput

func (VolumeTimeoutsOutput) ToVolumeTimeoutsPtrOutputWithContext

func (o VolumeTimeoutsOutput) ToVolumeTimeoutsPtrOutputWithContext(ctx context.Context) VolumeTimeoutsPtrOutput

func (VolumeTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type VolumeTimeoutsPtrInput

type VolumeTimeoutsPtrInput interface {
	pulumi.Input

	ToVolumeTimeoutsPtrOutput() VolumeTimeoutsPtrOutput
	ToVolumeTimeoutsPtrOutputWithContext(context.Context) VolumeTimeoutsPtrOutput
}

VolumeTimeoutsPtrInput is an input type that accepts VolumeTimeoutsArgs, VolumeTimeoutsPtr and VolumeTimeoutsPtrOutput values. You can construct a concrete instance of `VolumeTimeoutsPtrInput` via:

        VolumeTimeoutsArgs{...}

or:

        nil

type VolumeTimeoutsPtrOutput

type VolumeTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (VolumeTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (VolumeTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (VolumeTimeoutsPtrOutput) Elem

func (VolumeTimeoutsPtrOutput) ElementType

func (VolumeTimeoutsPtrOutput) ElementType() reflect.Type

func (VolumeTimeoutsPtrOutput) Read

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

func (VolumeTimeoutsPtrOutput) ToVolumeTimeoutsPtrOutput

func (o VolumeTimeoutsPtrOutput) ToVolumeTimeoutsPtrOutput() VolumeTimeoutsPtrOutput

func (VolumeTimeoutsPtrOutput) ToVolumeTimeoutsPtrOutputWithContext

func (o VolumeTimeoutsPtrOutput) ToVolumeTimeoutsPtrOutputWithContext(ctx context.Context) VolumeTimeoutsPtrOutput

func (VolumeTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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