plans

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PreviousIDTagName = "@previous-id"
)

Functions

func AppendPreviousIDTagIfAbsent

func AppendPreviousIDTagIfAbsent(tags types.Tags, currentID types.ID) types.Tags

func ChangeProxyLBPlan

func ChangeProxyLBPlan(
	ctx context.Context,
	caller iaas.APICaller,
	id types.ID,
	cps int,
) (*iaas.ProxyLB, error)

ChangeProxyLBPlan 現在のIDをタグとして保持しつつプランを変更する

もしすでにタグが上限(10)まで付与されている場合はプラン変更だけ行う

func ChangeRouterPlan

func ChangeRouterPlan(
	ctx context.Context,
	caller iaas.APICaller,
	zone string,
	id types.ID,
	bandWidth int,
) (*iaas.Internet, error)

ChangeRouterPlan 現在のIDをタグとして保持しつつプランを変更する

もしすでにタグが上限(10)まで付与されている場合はプラン変更だけ行う

func ChangeServerPlan

func ChangeServerPlan(
	ctx context.Context,
	caller iaas.APICaller,
	zone string,
	id types.ID,
	planRequest *iaas.ServerChangePlanRequest,
) (*iaas.Server, error)

ChangeServerPlan 現在のIDをタグとして保持しつつプランを変更する

もしすでにタグが上限(10)まで付与されている場合はプラン変更だけ行う

Types

This section is empty.

Jump to

Keyboard shortcuts

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