flyio

package
v0.0.0-...-2bb2baf Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

A native Pulumi provider for Fly.io.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	pulumi.CustomResourceState

	FlyId        pulumi.StringOutput      `pulumi:"flyId"`
	Input        AppArgsTypeOutput        `pulumi:"input"`
	Name         pulumi.StringOutput      `pulumi:"name"`
	Organization flyio.OrganizationOutput `pulumi:"organization"`
	Status       pulumi.StringOutput      `pulumi:"status"`
}

func GetApp

func GetApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppState, opts ...pulumi.ResourceOption) (*App, error)

GetApp gets an existing App 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 NewApp

func NewApp(ctx *pulumi.Context,
	name string, args *AppArgs, opts ...pulumi.ResourceOption) (*App, error)

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

func (*App) ElementType

func (*App) ElementType() reflect.Type

func (*App) ToAppOutput

func (i *App) ToAppOutput() AppOutput

func (*App) ToAppOutputWithContext

func (i *App) ToAppOutputWithContext(ctx context.Context) AppOutput

type AppArgs

type AppArgs struct {
	AppName          pulumi.StringInput
	EnableSubdomains pulumi.BoolPtrInput
	Network          pulumi.StringPtrInput
	OrgSlug          pulumi.StringInput
}

The set of arguments for constructing a App resource.

func (AppArgs) ElementType

func (AppArgs) ElementType() reflect.Type

type AppArgsType

type AppArgsType struct {
	AppName          string  `pulumi:"appName"`
	EnableSubdomains *bool   `pulumi:"enableSubdomains"`
	Network          *string `pulumi:"network"`
	OrgSlug          string  `pulumi:"orgSlug"`
}

type AppArgsTypeOutput

type AppArgsTypeOutput struct{ *pulumi.OutputState }

func (AppArgsTypeOutput) AppName

func (AppArgsTypeOutput) ElementType

func (AppArgsTypeOutput) ElementType() reflect.Type

func (AppArgsTypeOutput) EnableSubdomains

func (o AppArgsTypeOutput) EnableSubdomains() pulumi.BoolPtrOutput

func (AppArgsTypeOutput) Network

func (AppArgsTypeOutput) OrgSlug

func (AppArgsTypeOutput) ToAppArgsTypeOutput

func (o AppArgsTypeOutput) ToAppArgsTypeOutput() AppArgsTypeOutput

func (AppArgsTypeOutput) ToAppArgsTypeOutputWithContext

func (o AppArgsTypeOutput) ToAppArgsTypeOutputWithContext(ctx context.Context) AppArgsTypeOutput

type AppArray

type AppArray []AppInput

func (AppArray) ElementType

func (AppArray) ElementType() reflect.Type

func (AppArray) ToAppArrayOutput

func (i AppArray) ToAppArrayOutput() AppArrayOutput

func (AppArray) ToAppArrayOutputWithContext

func (i AppArray) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput

type AppArrayInput

type AppArrayInput interface {
	pulumi.Input

	ToAppArrayOutput() AppArrayOutput
	ToAppArrayOutputWithContext(context.Context) AppArrayOutput
}

AppArrayInput is an input type that accepts AppArray and AppArrayOutput values. You can construct a concrete instance of `AppArrayInput` via:

AppArray{ AppArgs{...} }

type AppArrayOutput

type AppArrayOutput struct{ *pulumi.OutputState }

func (AppArrayOutput) ElementType

func (AppArrayOutput) ElementType() reflect.Type

func (AppArrayOutput) Index

func (AppArrayOutput) ToAppArrayOutput

func (o AppArrayOutput) ToAppArrayOutput() AppArrayOutput

func (AppArrayOutput) ToAppArrayOutputWithContext

func (o AppArrayOutput) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput

type AppInput

type AppInput interface {
	pulumi.Input

	ToAppOutput() AppOutput
	ToAppOutputWithContext(ctx context.Context) AppOutput
}

type AppMap

type AppMap map[string]AppInput

func (AppMap) ElementType

func (AppMap) ElementType() reflect.Type

func (AppMap) ToAppMapOutput

func (i AppMap) ToAppMapOutput() AppMapOutput

func (AppMap) ToAppMapOutputWithContext

func (i AppMap) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput

type AppMapInput

type AppMapInput interface {
	pulumi.Input

	ToAppMapOutput() AppMapOutput
	ToAppMapOutputWithContext(context.Context) AppMapOutput
}

AppMapInput is an input type that accepts AppMap and AppMapOutput values. You can construct a concrete instance of `AppMapInput` via:

AppMap{ "key": AppArgs{...} }

type AppMapOutput

type AppMapOutput struct{ *pulumi.OutputState }

func (AppMapOutput) ElementType

func (AppMapOutput) ElementType() reflect.Type

func (AppMapOutput) MapIndex

func (o AppMapOutput) MapIndex(k pulumi.StringInput) AppOutput

func (AppMapOutput) ToAppMapOutput

func (o AppMapOutput) ToAppMapOutput() AppMapOutput

func (AppMapOutput) ToAppMapOutputWithContext

func (o AppMapOutput) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput

type AppOutput

type AppOutput struct{ *pulumi.OutputState }

func (AppOutput) ElementType

func (AppOutput) ElementType() reflect.Type

func (AppOutput) FlyId

func (o AppOutput) FlyId() pulumi.StringOutput

func (AppOutput) Input

func (o AppOutput) Input() AppArgsTypeOutput

func (AppOutput) Name

func (o AppOutput) Name() pulumi.StringOutput

func (AppOutput) Organization

func (o AppOutput) Organization() flyio.OrganizationOutput

func (AppOutput) Status

func (o AppOutput) Status() pulumi.StringOutput

func (AppOutput) ToAppOutput

func (o AppOutput) ToAppOutput() AppOutput

func (AppOutput) ToAppOutputWithContext

func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput

type AppState

type AppState struct {
}

func (AppState) ElementType

func (AppState) ElementType() reflect.Type

type Machine

type Machine struct {
	pulumi.CustomResourceState

	AppName     pulumi.StringOutput           `pulumi:"appName"`
	Checks      flyio.CheckStatusArrayOutput  `pulumi:"checks"`
	Config      flyio.FlyMachineConfigOutput  `pulumi:"config"`
	CreatedAt   pulumi.StringPtrOutput        `pulumi:"createdAt"`
	Events      flyio.MachineEventArrayOutput `pulumi:"events"`
	FlyId       pulumi.StringOutput           `pulumi:"flyId"`
	ImageRef    flyio.ImageRefPtrOutput       `pulumi:"imageRef"`
	Input       MachineArgsTypeOutput         `pulumi:"input"`
	InstanceId  pulumi.StringPtrOutput        `pulumi:"instanceId"`
	MachineName pulumi.StringOutput           `pulumi:"machineName"`
	Name        pulumi.StringOutput           `pulumi:"name"`
	Nonce       pulumi.StringPtrOutput        `pulumi:"nonce"`
	PrivateIp   pulumi.StringPtrOutput        `pulumi:"privateIp"`
	Region      pulumi.StringPtrOutput        `pulumi:"region"`
	State       pulumi.StringOutput           `pulumi:"state"`
	UpdatedAt   pulumi.StringPtrOutput        `pulumi:"updatedAt"`
}

func GetMachine

func GetMachine(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MachineState, opts ...pulumi.ResourceOption) (*Machine, error)

GetMachine gets an existing Machine 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 NewMachine

func NewMachine(ctx *pulumi.Context,
	name string, args *MachineArgs, opts ...pulumi.ResourceOption) (*Machine, error)

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

func (*Machine) ElementType

func (*Machine) ElementType() reflect.Type

func (*Machine) ToMachineOutput

func (i *Machine) ToMachineOutput() MachineOutput

func (*Machine) ToMachineOutputWithContext

func (i *Machine) ToMachineOutputWithContext(ctx context.Context) MachineOutput

type MachineArgs

type MachineArgs struct {
	AppName                 pulumi.StringInput
	Config                  flyio.FlyMachineConfigInput
	LeaseTtl                pulumi.IntPtrInput
	Lsvd                    pulumi.BoolPtrInput
	Name                    pulumi.StringPtrInput
	Region                  pulumi.StringPtrInput
	SkipLaunch              pulumi.BoolPtrInput
	SkipServiceRegistration pulumi.BoolPtrInput
	UpdateStrategy          pulumi.StringPtrInput
	WaitForChecks           pulumi.IntPtrInput
	WaitForUpdate           pulumi.IntPtrInput
}

The set of arguments for constructing a Machine resource.

func (MachineArgs) ElementType

func (MachineArgs) ElementType() reflect.Type

type MachineArgsType

type MachineArgsType struct {
	AppName                 string                 `pulumi:"appName"`
	Config                  flyio.FlyMachineConfig `pulumi:"config"`
	LeaseTtl                *int                   `pulumi:"leaseTtl"`
	Lsvd                    *bool                  `pulumi:"lsvd"`
	Name                    *string                `pulumi:"name"`
	Region                  *string                `pulumi:"region"`
	SkipLaunch              *bool                  `pulumi:"skipLaunch"`
	SkipServiceRegistration *bool                  `pulumi:"skipServiceRegistration"`
	UpdateStrategy          *string                `pulumi:"updateStrategy"`
	WaitForChecks           *int                   `pulumi:"waitForChecks"`
	WaitForUpdate           *int                   `pulumi:"waitForUpdate"`
}

type MachineArgsTypeOutput

type MachineArgsTypeOutput struct{ *pulumi.OutputState }

func (MachineArgsTypeOutput) AppName

func (MachineArgsTypeOutput) Config

func (MachineArgsTypeOutput) ElementType

func (MachineArgsTypeOutput) ElementType() reflect.Type

func (MachineArgsTypeOutput) LeaseTtl

func (MachineArgsTypeOutput) Lsvd

func (MachineArgsTypeOutput) Name

func (MachineArgsTypeOutput) Region

func (MachineArgsTypeOutput) SkipLaunch

func (MachineArgsTypeOutput) SkipServiceRegistration

func (o MachineArgsTypeOutput) SkipServiceRegistration() pulumi.BoolPtrOutput

func (MachineArgsTypeOutput) ToMachineArgsTypeOutput

func (o MachineArgsTypeOutput) ToMachineArgsTypeOutput() MachineArgsTypeOutput

func (MachineArgsTypeOutput) ToMachineArgsTypeOutputWithContext

func (o MachineArgsTypeOutput) ToMachineArgsTypeOutputWithContext(ctx context.Context) MachineArgsTypeOutput

func (MachineArgsTypeOutput) UpdateStrategy

func (o MachineArgsTypeOutput) UpdateStrategy() pulumi.StringPtrOutput

func (MachineArgsTypeOutput) WaitForChecks

func (o MachineArgsTypeOutput) WaitForChecks() pulumi.IntPtrOutput

func (MachineArgsTypeOutput) WaitForUpdate

func (o MachineArgsTypeOutput) WaitForUpdate() pulumi.IntPtrOutput

type MachineArray

type MachineArray []MachineInput

func (MachineArray) ElementType

func (MachineArray) ElementType() reflect.Type

func (MachineArray) ToMachineArrayOutput

func (i MachineArray) ToMachineArrayOutput() MachineArrayOutput

func (MachineArray) ToMachineArrayOutputWithContext

func (i MachineArray) ToMachineArrayOutputWithContext(ctx context.Context) MachineArrayOutput

type MachineArrayInput

type MachineArrayInput interface {
	pulumi.Input

	ToMachineArrayOutput() MachineArrayOutput
	ToMachineArrayOutputWithContext(context.Context) MachineArrayOutput
}

MachineArrayInput is an input type that accepts MachineArray and MachineArrayOutput values. You can construct a concrete instance of `MachineArrayInput` via:

MachineArray{ MachineArgs{...} }

type MachineArrayOutput

type MachineArrayOutput struct{ *pulumi.OutputState }

func (MachineArrayOutput) ElementType

func (MachineArrayOutput) ElementType() reflect.Type

func (MachineArrayOutput) Index

func (MachineArrayOutput) ToMachineArrayOutput

func (o MachineArrayOutput) ToMachineArrayOutput() MachineArrayOutput

func (MachineArrayOutput) ToMachineArrayOutputWithContext

func (o MachineArrayOutput) ToMachineArrayOutputWithContext(ctx context.Context) MachineArrayOutput

type MachineInput

type MachineInput interface {
	pulumi.Input

	ToMachineOutput() MachineOutput
	ToMachineOutputWithContext(ctx context.Context) MachineOutput
}

type MachineMap

type MachineMap map[string]MachineInput

func (MachineMap) ElementType

func (MachineMap) ElementType() reflect.Type

func (MachineMap) ToMachineMapOutput

func (i MachineMap) ToMachineMapOutput() MachineMapOutput

func (MachineMap) ToMachineMapOutputWithContext

func (i MachineMap) ToMachineMapOutputWithContext(ctx context.Context) MachineMapOutput

type MachineMapInput

type MachineMapInput interface {
	pulumi.Input

	ToMachineMapOutput() MachineMapOutput
	ToMachineMapOutputWithContext(context.Context) MachineMapOutput
}

MachineMapInput is an input type that accepts MachineMap and MachineMapOutput values. You can construct a concrete instance of `MachineMapInput` via:

MachineMap{ "key": MachineArgs{...} }

type MachineMapOutput

type MachineMapOutput struct{ *pulumi.OutputState }

func (MachineMapOutput) ElementType

func (MachineMapOutput) ElementType() reflect.Type

func (MachineMapOutput) MapIndex

func (MachineMapOutput) ToMachineMapOutput

func (o MachineMapOutput) ToMachineMapOutput() MachineMapOutput

func (MachineMapOutput) ToMachineMapOutputWithContext

func (o MachineMapOutput) ToMachineMapOutputWithContext(ctx context.Context) MachineMapOutput

type MachineOutput

type MachineOutput struct{ *pulumi.OutputState }

func (MachineOutput) AppName

func (o MachineOutput) AppName() pulumi.StringOutput

func (MachineOutput) Checks

func (MachineOutput) Config

func (MachineOutput) CreatedAt

func (o MachineOutput) CreatedAt() pulumi.StringPtrOutput

func (MachineOutput) ElementType

func (MachineOutput) ElementType() reflect.Type

func (MachineOutput) Events

func (MachineOutput) FlyId

func (o MachineOutput) FlyId() pulumi.StringOutput

func (MachineOutput) ImageRef

func (o MachineOutput) ImageRef() flyio.ImageRefPtrOutput

func (MachineOutput) Input

func (MachineOutput) InstanceId

func (o MachineOutput) InstanceId() pulumi.StringPtrOutput

func (MachineOutput) MachineName

func (o MachineOutput) MachineName() pulumi.StringOutput

func (MachineOutput) Name

func (MachineOutput) Nonce

func (MachineOutput) PrivateIp

func (o MachineOutput) PrivateIp() pulumi.StringPtrOutput

func (MachineOutput) Region

func (MachineOutput) State

func (o MachineOutput) State() pulumi.StringOutput

func (MachineOutput) ToMachineOutput

func (o MachineOutput) ToMachineOutput() MachineOutput

func (MachineOutput) ToMachineOutputWithContext

func (o MachineOutput) ToMachineOutputWithContext(ctx context.Context) MachineOutput

func (MachineOutput) UpdatedAt

func (o MachineOutput) UpdatedAt() pulumi.StringPtrOutput

type MachineState

type MachineState struct {
}

func (MachineState) ElementType

func (MachineState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

func NewProvider

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

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

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

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

type ProviderArgs

type ProviderArgs struct {
}

The 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) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

type Random

type Random struct {
	pulumi.CustomResourceState

	Length pulumi.IntOutput    `pulumi:"length"`
	Result pulumi.StringOutput `pulumi:"result"`
}

func GetRandom

func GetRandom(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RandomState, opts ...pulumi.ResourceOption) (*Random, error)

GetRandom gets an existing Random 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 NewRandom

func NewRandom(ctx *pulumi.Context,
	name string, args *RandomArgs, opts ...pulumi.ResourceOption) (*Random, error)

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

func (*Random) ElementType

func (*Random) ElementType() reflect.Type

func (*Random) ToRandomOutput

func (i *Random) ToRandomOutput() RandomOutput

func (*Random) ToRandomOutputWithContext

func (i *Random) ToRandomOutputWithContext(ctx context.Context) RandomOutput

type RandomArgs

type RandomArgs struct {
	Length pulumi.IntInput
}

The set of arguments for constructing a Random resource.

func (RandomArgs) ElementType

func (RandomArgs) ElementType() reflect.Type

type RandomArray

type RandomArray []RandomInput

func (RandomArray) ElementType

func (RandomArray) ElementType() reflect.Type

func (RandomArray) ToRandomArrayOutput

func (i RandomArray) ToRandomArrayOutput() RandomArrayOutput

func (RandomArray) ToRandomArrayOutputWithContext

func (i RandomArray) ToRandomArrayOutputWithContext(ctx context.Context) RandomArrayOutput

type RandomArrayInput

type RandomArrayInput interface {
	pulumi.Input

	ToRandomArrayOutput() RandomArrayOutput
	ToRandomArrayOutputWithContext(context.Context) RandomArrayOutput
}

RandomArrayInput is an input type that accepts RandomArray and RandomArrayOutput values. You can construct a concrete instance of `RandomArrayInput` via:

RandomArray{ RandomArgs{...} }

type RandomArrayOutput

type RandomArrayOutput struct{ *pulumi.OutputState }

func (RandomArrayOutput) ElementType

func (RandomArrayOutput) ElementType() reflect.Type

func (RandomArrayOutput) Index

func (RandomArrayOutput) ToRandomArrayOutput

func (o RandomArrayOutput) ToRandomArrayOutput() RandomArrayOutput

func (RandomArrayOutput) ToRandomArrayOutputWithContext

func (o RandomArrayOutput) ToRandomArrayOutputWithContext(ctx context.Context) RandomArrayOutput

type RandomInput

type RandomInput interface {
	pulumi.Input

	ToRandomOutput() RandomOutput
	ToRandomOutputWithContext(ctx context.Context) RandomOutput
}

type RandomMap

type RandomMap map[string]RandomInput

func (RandomMap) ElementType

func (RandomMap) ElementType() reflect.Type

func (RandomMap) ToRandomMapOutput

func (i RandomMap) ToRandomMapOutput() RandomMapOutput

func (RandomMap) ToRandomMapOutputWithContext

func (i RandomMap) ToRandomMapOutputWithContext(ctx context.Context) RandomMapOutput

type RandomMapInput

type RandomMapInput interface {
	pulumi.Input

	ToRandomMapOutput() RandomMapOutput
	ToRandomMapOutputWithContext(context.Context) RandomMapOutput
}

RandomMapInput is an input type that accepts RandomMap and RandomMapOutput values. You can construct a concrete instance of `RandomMapInput` via:

RandomMap{ "key": RandomArgs{...} }

type RandomMapOutput

type RandomMapOutput struct{ *pulumi.OutputState }

func (RandomMapOutput) ElementType

func (RandomMapOutput) ElementType() reflect.Type

func (RandomMapOutput) MapIndex

func (RandomMapOutput) ToRandomMapOutput

func (o RandomMapOutput) ToRandomMapOutput() RandomMapOutput

func (RandomMapOutput) ToRandomMapOutputWithContext

func (o RandomMapOutput) ToRandomMapOutputWithContext(ctx context.Context) RandomMapOutput

type RandomOutput

type RandomOutput struct{ *pulumi.OutputState }

func (RandomOutput) ElementType

func (RandomOutput) ElementType() reflect.Type

func (RandomOutput) Length

func (o RandomOutput) Length() pulumi.IntOutput

func (RandomOutput) Result

func (o RandomOutput) Result() pulumi.StringOutput

func (RandomOutput) ToRandomOutput

func (o RandomOutput) ToRandomOutput() RandomOutput

func (RandomOutput) ToRandomOutputWithContext

func (o RandomOutput) ToRandomOutputWithContext(ctx context.Context) RandomOutput

type RandomState

type RandomState struct {
}

func (RandomState) ElementType

func (RandomState) ElementType() reflect.Type

type Volume

type Volume struct {
	pulumi.CustomResourceState

	AppName           pulumi.StringOutput    `pulumi:"appName"`
	AttachedAllocId   pulumi.StringPtrOutput `pulumi:"attachedAllocId"`
	AttachedMachineId pulumi.StringPtrOutput `pulumi:"attachedMachineId"`
	AutoBackupEnabled pulumi.BoolPtrOutput   `pulumi:"autoBackupEnabled"`
	BlockSize         pulumi.IntPtrOutput    `pulumi:"blockSize"`
	Blocks            pulumi.IntPtrOutput    `pulumi:"blocks"`
	BlocksAvail       pulumi.IntPtrOutput    `pulumi:"blocksAvail"`
	BlocksFree        pulumi.IntPtrOutput    `pulumi:"blocksFree"`
	CreatedAt         pulumi.StringPtrOutput `pulumi:"createdAt"`
	Encrypted         pulumi.BoolPtrOutput   `pulumi:"encrypted"`
	FlyId             pulumi.StringOutput    `pulumi:"flyId"`
	Fstype            pulumi.StringPtrOutput `pulumi:"fstype"`
	Input             VolumeArgsTypeOutput   `pulumi:"input"`
	Name              pulumi.StringPtrOutput `pulumi:"name"`
	Region            pulumi.StringPtrOutput `pulumi:"region"`
	SizeGb            pulumi.IntPtrOutput    `pulumi:"sizeGb"`
	SnapshotRetention pulumi.IntPtrOutput    `pulumi:"snapshotRetention"`
	State             pulumi.StringPtrOutput `pulumi:"state"`
	Zone              pulumi.StringPtrOutput `pulumi:"zone"`
}

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 {
	AppName           pulumi.StringInput
	AutoBackupEnabled pulumi.BoolPtrInput
	Compute           flyio.FlyMachineGuestPtrInput
	ComputeImage      pulumi.StringPtrInput
	Encrypted         pulumi.BoolPtrInput
	Fstype            pulumi.StringPtrInput
	MachinesOnly      pulumi.BoolPtrInput
	Name              pulumi.StringPtrInput
	Region            pulumi.StringPtrInput
	RequireUniqueZone pulumi.BoolPtrInput
	SizeGb            pulumi.IntPtrInput
	SnapshotId        pulumi.StringPtrInput
	SnapshotRetention pulumi.IntPtrInput
	SourceVolumeId    pulumi.StringPtrInput
}

The set of arguments for constructing a Volume resource.

func (VolumeArgs) ElementType

func (VolumeArgs) ElementType() reflect.Type

type VolumeArgsType

type VolumeArgsType struct {
	AppName           string                 `pulumi:"appName"`
	AutoBackupEnabled *bool                  `pulumi:"autoBackupEnabled"`
	Compute           *flyio.FlyMachineGuest `pulumi:"compute"`
	ComputeImage      *string                `pulumi:"computeImage"`
	Encrypted         *bool                  `pulumi:"encrypted"`
	Fstype            *string                `pulumi:"fstype"`
	MachinesOnly      *bool                  `pulumi:"machinesOnly"`
	Name              *string                `pulumi:"name"`
	Region            *string                `pulumi:"region"`
	RequireUniqueZone *bool                  `pulumi:"requireUniqueZone"`
	SizeGb            *int                   `pulumi:"sizeGb"`
	SnapshotId        *string                `pulumi:"snapshotId"`
	SnapshotRetention *int                   `pulumi:"snapshotRetention"`
	SourceVolumeId    *string                `pulumi:"sourceVolumeId"`
}

type VolumeArgsTypeOutput

type VolumeArgsTypeOutput struct{ *pulumi.OutputState }

func (VolumeArgsTypeOutput) AppName

func (VolumeArgsTypeOutput) AutoBackupEnabled

func (o VolumeArgsTypeOutput) AutoBackupEnabled() pulumi.BoolPtrOutput

func (VolumeArgsTypeOutput) Compute

func (VolumeArgsTypeOutput) ComputeImage

func (o VolumeArgsTypeOutput) ComputeImage() pulumi.StringPtrOutput

func (VolumeArgsTypeOutput) ElementType

func (VolumeArgsTypeOutput) ElementType() reflect.Type

func (VolumeArgsTypeOutput) Encrypted

func (VolumeArgsTypeOutput) Fstype

func (VolumeArgsTypeOutput) MachinesOnly

func (o VolumeArgsTypeOutput) MachinesOnly() pulumi.BoolPtrOutput

func (VolumeArgsTypeOutput) Name

func (VolumeArgsTypeOutput) Region

func (VolumeArgsTypeOutput) RequireUniqueZone

func (o VolumeArgsTypeOutput) RequireUniqueZone() pulumi.BoolPtrOutput

func (VolumeArgsTypeOutput) SizeGb

func (VolumeArgsTypeOutput) SnapshotId

func (VolumeArgsTypeOutput) SnapshotRetention

func (o VolumeArgsTypeOutput) SnapshotRetention() pulumi.IntPtrOutput

func (VolumeArgsTypeOutput) SourceVolumeId

func (o VolumeArgsTypeOutput) SourceVolumeId() pulumi.StringPtrOutput

func (VolumeArgsTypeOutput) ToVolumeArgsTypeOutput

func (o VolumeArgsTypeOutput) ToVolumeArgsTypeOutput() VolumeArgsTypeOutput

func (VolumeArgsTypeOutput) ToVolumeArgsTypeOutputWithContext

func (o VolumeArgsTypeOutput) ToVolumeArgsTypeOutputWithContext(ctx context.Context) VolumeArgsTypeOutput

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) AppName

func (o VolumeOutput) AppName() pulumi.StringOutput

func (VolumeOutput) AttachedAllocId

func (o VolumeOutput) AttachedAllocId() pulumi.StringPtrOutput

func (VolumeOutput) AttachedMachineId

func (o VolumeOutput) AttachedMachineId() pulumi.StringPtrOutput

func (VolumeOutput) AutoBackupEnabled

func (o VolumeOutput) AutoBackupEnabled() pulumi.BoolPtrOutput

func (VolumeOutput) BlockSize

func (o VolumeOutput) BlockSize() pulumi.IntPtrOutput

func (VolumeOutput) Blocks

func (o VolumeOutput) Blocks() pulumi.IntPtrOutput

func (VolumeOutput) BlocksAvail

func (o VolumeOutput) BlocksAvail() pulumi.IntPtrOutput

func (VolumeOutput) BlocksFree

func (o VolumeOutput) BlocksFree() pulumi.IntPtrOutput

func (VolumeOutput) CreatedAt

func (o VolumeOutput) CreatedAt() pulumi.StringPtrOutput

func (VolumeOutput) ElementType

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) Encrypted

func (o VolumeOutput) Encrypted() pulumi.BoolPtrOutput

func (VolumeOutput) FlyId

func (o VolumeOutput) FlyId() pulumi.StringOutput

func (VolumeOutput) Fstype

func (o VolumeOutput) Fstype() pulumi.StringPtrOutput

func (VolumeOutput) Input

func (VolumeOutput) Name

func (VolumeOutput) Region

func (o VolumeOutput) Region() pulumi.StringPtrOutput

func (VolumeOutput) SizeGb

func (o VolumeOutput) SizeGb() pulumi.IntPtrOutput

func (VolumeOutput) SnapshotRetention

func (o VolumeOutput) SnapshotRetention() pulumi.IntPtrOutput

func (VolumeOutput) State

func (VolumeOutput) ToVolumeOutput

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext

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

func (VolumeOutput) Zone

type VolumeState

type VolumeState struct {
}

func (VolumeState) ElementType

func (VolumeState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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