action

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionPoweron     = Action("poweron")
	ActionBackup      = Action("backup")
	ActionStopInPlace = Action("stop_in_place")
	ActionPoweroff    = Action("poweroff")
	ActionTerminate   = Action("terminate")
	ActionReboot      = Action("reboot")
)
View Source
const (
	ScalewayInstanceV1ListServerActionsResponseActionsItemPoweron     = ScalewayInstanceV1ListServerActionsResponseActionsItem("poweron")
	ScalewayInstanceV1ListServerActionsResponseActionsItemBackup      = ScalewayInstanceV1ListServerActionsResponseActionsItem("backup")
	ScalewayInstanceV1ListServerActionsResponseActionsItemStopInPlace = ScalewayInstanceV1ListServerActionsResponseActionsItem("stop_in_place")
	ScalewayInstanceV1ListServerActionsResponseActionsItemPoweroff    = ScalewayInstanceV1ListServerActionsResponseActionsItem("poweroff")
	ScalewayInstanceV1ListServerActionsResponseActionsItemTerminate   = ScalewayInstanceV1ListServerActionsResponseActionsItem("terminate")
	ScalewayInstanceV1ListServerActionsResponseActionsItemReboot      = ScalewayInstanceV1ListServerActionsResponseActionsItem("reboot")
)
View Source
const (
	ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeLSsd    = ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType("l_ssd")
	ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeBSsd    = ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType("b_ssd")
	ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeUnified = ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType("unified")
)

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Action

type Action string

The action to perform on the server

func (Action) ElementType

func (Action) ElementType() reflect.Type

func (Action) ToActionOutput

func (e Action) ToActionOutput() ActionOutput

func (Action) ToActionOutputWithContext

func (e Action) ToActionOutputWithContext(ctx context.Context) ActionOutput

func (Action) ToActionPtrOutput

func (e Action) ToActionPtrOutput() ActionPtrOutput

func (Action) ToActionPtrOutputWithContext

func (e Action) ToActionPtrOutputWithContext(ctx context.Context) ActionPtrOutput

func (Action) ToStringOutput

func (e Action) ToStringOutput() pulumi.StringOutput

func (Action) ToStringOutputWithContext

func (e Action) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (Action) ToStringPtrOutput

func (e Action) ToStringPtrOutput() pulumi.StringPtrOutput

func (Action) ToStringPtrOutputWithContext

func (e Action) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ActionInput

type ActionInput interface {
	pulumi.Input

	ToActionOutput() ActionOutput
	ToActionOutputWithContext(context.Context) ActionOutput
}

ActionInput is an input type that accepts ActionArgs and ActionOutput values. You can construct a concrete instance of `ActionInput` via:

ActionArgs{...}

type ActionOutput

type ActionOutput struct{ *pulumi.OutputState }

func (ActionOutput) ElementType

func (ActionOutput) ElementType() reflect.Type

func (ActionOutput) ToActionOutput

func (o ActionOutput) ToActionOutput() ActionOutput

func (ActionOutput) ToActionOutputWithContext

func (o ActionOutput) ToActionOutputWithContext(ctx context.Context) ActionOutput

func (ActionOutput) ToActionPtrOutput

func (o ActionOutput) ToActionPtrOutput() ActionPtrOutput

func (ActionOutput) ToActionPtrOutputWithContext

func (o ActionOutput) ToActionPtrOutputWithContext(ctx context.Context) ActionPtrOutput

func (ActionOutput) ToStringOutput

func (o ActionOutput) ToStringOutput() pulumi.StringOutput

func (ActionOutput) ToStringOutputWithContext

func (o ActionOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ActionOutput) ToStringPtrOutput

func (o ActionOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ActionOutput) ToStringPtrOutputWithContext

func (o ActionOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ActionPtrInput

type ActionPtrInput interface {
	pulumi.Input

	ToActionPtrOutput() ActionPtrOutput
	ToActionPtrOutputWithContext(context.Context) ActionPtrOutput
}

func ActionPtr

func ActionPtr(v string) ActionPtrInput

type ActionPtrOutput

type ActionPtrOutput struct{ *pulumi.OutputState }

func (ActionPtrOutput) Elem

func (o ActionPtrOutput) Elem() ActionOutput

func (ActionPtrOutput) ElementType

func (ActionPtrOutput) ElementType() reflect.Type

func (ActionPtrOutput) ToActionPtrOutput

func (o ActionPtrOutput) ToActionPtrOutput() ActionPtrOutput

func (ActionPtrOutput) ToActionPtrOutputWithContext

func (o ActionPtrOutput) ToActionPtrOutputWithContext(ctx context.Context) ActionPtrOutput

func (ActionPtrOutput) ToStringPtrOutput

func (o ActionPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ActionPtrOutput) ToStringPtrOutputWithContext

func (o ActionPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ListServerActionsArgs

type ListServerActionsArgs struct {
	Server_id string `pulumi:"server_id"`
	// The zone you want to target
	Zone string `pulumi:"zone"`
}

type ListServerActionsOutputArgs

type ListServerActionsOutputArgs struct {
	Server_id pulumi.StringInput `pulumi:"server_id"`
	// The zone you want to target
	Zone pulumi.StringInput `pulumi:"zone"`
}

func (ListServerActionsOutputArgs) ElementType

type ListServerActionsResult

type ListServerActionsResult struct {
	Items ScalewayInstanceV1ListServerActionsResponse `pulumi:"items"`
}

type ListServerActionsResultOutput

type ListServerActionsResultOutput struct{ *pulumi.OutputState }

func (ListServerActionsResultOutput) ElementType

func (ListServerActionsResultOutput) Items

func (ListServerActionsResultOutput) ToListServerActionsResultOutput

func (o ListServerActionsResultOutput) ToListServerActionsResultOutput() ListServerActionsResultOutput

func (ListServerActionsResultOutput) ToListServerActionsResultOutputWithContext

func (o ListServerActionsResultOutput) ToListServerActionsResultOutputWithContext(ctx context.Context) ListServerActionsResultOutput

type ScalewayInstanceV1ListServerActionsResponse

type ScalewayInstanceV1ListServerActionsResponse struct {
	Actions []ScalewayInstanceV1ListServerActionsResponseActionsItem `pulumi:"actions"`
}

type ScalewayInstanceV1ListServerActionsResponseActionsItem

type ScalewayInstanceV1ListServerActionsResponseActionsItem string

type ScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutput

type ScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutput struct{ *pulumi.OutputState }

func (ScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutput) ElementType

func (ScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutput) Index

func (ScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutput

func (ScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutputWithContext

func (o ScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutputWithContext(ctx context.Context) ScalewayInstanceV1ListServerActionsResponseActionsItemArrayOutput

type ScalewayInstanceV1ListServerActionsResponseActionsItemOutput

type ScalewayInstanceV1ListServerActionsResponseActionsItemOutput struct{ *pulumi.OutputState }

func (ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ElementType

func (ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemOutput

func (ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemOutputWithContext

func (o ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemOutputWithContext(ctx context.Context) ScalewayInstanceV1ListServerActionsResponseActionsItemOutput

func (ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput

func (ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutputWithContext

func (o ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutputWithContext(ctx context.Context) ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput

func (ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ToStringOutput

func (ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ToStringOutputWithContext

func (ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ToStringPtrOutput

func (ScalewayInstanceV1ListServerActionsResponseActionsItemOutput) ToStringPtrOutputWithContext

type ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput

type ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput struct{ *pulumi.OutputState }

func (ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput) Elem

func (ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput) ElementType

func (ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput

func (ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutputWithContext

func (o ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput) ToScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutputWithContext(ctx context.Context) ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput

func (ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput) ToStringPtrOutput

func (ScalewayInstanceV1ListServerActionsResponseActionsItemPtrOutput) ToStringPtrOutputWithContext

type ScalewayInstanceV1ListServerActionsResponseOutput

type ScalewayInstanceV1ListServerActionsResponseOutput struct{ *pulumi.OutputState }

func (ScalewayInstanceV1ListServerActionsResponseOutput) ElementType

func (ScalewayInstanceV1ListServerActionsResponseOutput) ToScalewayInstanceV1ListServerActionsResponseOutput

func (o ScalewayInstanceV1ListServerActionsResponseOutput) ToScalewayInstanceV1ListServerActionsResponseOutput() ScalewayInstanceV1ListServerActionsResponseOutput

func (ScalewayInstanceV1ListServerActionsResponseOutput) ToScalewayInstanceV1ListServerActionsResponseOutputWithContext

func (o ScalewayInstanceV1ListServerActionsResponseOutput) ToScalewayInstanceV1ListServerActionsResponseOutputWithContext(ctx context.Context) ScalewayInstanceV1ListServerActionsResponseOutput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplate

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplate struct {
	Volume_type *ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType `pulumi:"volume_type"`
}

func (*ScalewayInstanceV1ServerActionRequestVolumeBackupTemplate) Defaults

Defaults sets the appropriate defaults for ScalewayInstanceV1ServerActionRequestVolumeBackupTemplate

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs struct {
	Volume_type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrInput `pulumi:"volume_type"`
}

func (*ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs) Defaults

Defaults sets the appropriate defaults for ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs) ElementType

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutputWithContext

func (i ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutputWithContext(ctx context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateInput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateInput interface {
	pulumi.Input

	ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput() ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput
	ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutputWithContext(context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput
}

ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateInput is an input type that accepts ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs and ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput values. You can construct a concrete instance of `ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateInput` via:

ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs{...}

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMap

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMap map[string]ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateInput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMap) ElementType

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMap) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMap) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutputWithContext

func (i ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMap) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutputWithContext(ctx context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapInput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapInput interface {
	pulumi.Input

	ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput() ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput
	ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutputWithContext(context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput
}

ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapInput is an input type that accepts ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMap and ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput values. You can construct a concrete instance of `ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapInput` via:

ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMap{ "key": ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateArgs{...} }

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput struct{ *pulumi.OutputState }

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput) ElementType

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutputWithContext

func (o ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutputWithContext(ctx context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput struct{ *pulumi.OutputState }

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput) ElementType

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutputWithContext

func (o ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutputWithContext(ctx context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateOutput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType string

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ElementType

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutputWithContext

func (e ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutputWithContext(ctx context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutputWithContext

func (e ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutputWithContext(ctx context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ToStringOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ToStringOutputWithContext

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ToStringPtrOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeType) ToStringPtrOutputWithContext

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeInput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeInput interface {
	pulumi.Input

	ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput() ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput
	ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutputWithContext(context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput
}

ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeInput is an input type that accepts ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeArgs and ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput values. You can construct a concrete instance of `ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeInput` via:

ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeArgs{...}

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput struct{ *pulumi.OutputState }

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput) ElementType

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutputWithContext

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutputWithContext

func (o ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutputWithContext(ctx context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput) ToStringOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput) ToStringOutputWithContext

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput) ToStringPtrOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypeOutput) ToStringPtrOutputWithContext

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrInput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrInput interface {
	pulumi.Input

	ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput() ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput
	ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutputWithContext(context.Context) ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput
}

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput

type ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput struct{ *pulumi.OutputState }

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput) Elem

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput) ElementType

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput) ToScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutputWithContext

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput) ToStringPtrOutput

func (ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateVolumeTypePtrOutput) ToStringPtrOutputWithContext

type ServerAction

type ServerAction struct {
	pulumi.CustomResourceState

	// The action to perform on the server
	Action ActionPtrOutput `pulumi:"action"`
	// The name of the backup you want to create.
	// This field should only be specified when performing a backup action.
	Name    pulumi.StringPtrOutput                                             `pulumi:"name"`
	Volumes ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapOutput `pulumi:"volumes"`
}

func GetServerAction

func GetServerAction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerActionState, opts ...pulumi.ResourceOption) (*ServerAction, error)

GetServerAction gets an existing ServerAction 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 NewServerAction

func NewServerAction(ctx *pulumi.Context,
	name string, args *ServerActionArgs, opts ...pulumi.ResourceOption) (*ServerAction, error)

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

func (*ServerAction) ElementType

func (*ServerAction) ElementType() reflect.Type

func (*ServerAction) ToServerActionOutput

func (i *ServerAction) ToServerActionOutput() ServerActionOutput

func (*ServerAction) ToServerActionOutputWithContext

func (i *ServerAction) ToServerActionOutputWithContext(ctx context.Context) ServerActionOutput

type ServerActionArgs

type ServerActionArgs struct {
	// The action to perform on the server
	Action ActionPtrInput
	// The name of the backup you want to create.
	// This field should only be specified when performing a backup action.
	Name pulumi.StringPtrInput
	// UUID of the server
	Server_id pulumi.StringPtrInput
	Volumes   ScalewayInstanceV1ServerActionRequestVolumeBackupTemplateMapInput
	// The zone you want to target
	Zone pulumi.StringPtrInput
}

The set of arguments for constructing a ServerAction resource.

func (ServerActionArgs) ElementType

func (ServerActionArgs) ElementType() reflect.Type

type ServerActionInput

type ServerActionInput interface {
	pulumi.Input

	ToServerActionOutput() ServerActionOutput
	ToServerActionOutputWithContext(ctx context.Context) ServerActionOutput
}

type ServerActionOutput

type ServerActionOutput struct{ *pulumi.OutputState }

func (ServerActionOutput) Action

The action to perform on the server

func (ServerActionOutput) ElementType

func (ServerActionOutput) ElementType() reflect.Type

func (ServerActionOutput) Name

The name of the backup you want to create. This field should only be specified when performing a backup action.

func (ServerActionOutput) ToServerActionOutput

func (o ServerActionOutput) ToServerActionOutput() ServerActionOutput

func (ServerActionOutput) ToServerActionOutputWithContext

func (o ServerActionOutput) ToServerActionOutputWithContext(ctx context.Context) ServerActionOutput

type ServerActionState

type ServerActionState struct {
}

func (ServerActionState) ElementType

func (ServerActionState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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