ecs_instance_state

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StartAction = InstanceStateAction("Start")
	StopAction  = InstanceStateAction("Stop")
)

Variables

This section is empty.

Functions

func ResourceVestackEcsInstanceState

func ResourceVestackEcsInstanceState() *schema.Resource

Types

type InstanceStateAction

type InstanceStateAction string

type VestackInstanceStateService

type VestackInstanceStateService struct {
	Client     *ve.SdkClient
	Dispatcher *ve.Dispatcher
}

func NewInstanceStateService

func NewInstanceStateService(c *ve.SdkClient) *VestackInstanceStateService

func (*VestackInstanceStateService) CreateResource

func (s *VestackInstanceStateService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []ve.Callback

func (*VestackInstanceStateService) DatasourceResources

func (*VestackInstanceStateService) GetClient

func (s *VestackInstanceStateService) GetClient() *ve.SdkClient

func (*VestackInstanceStateService) ModifyResource

func (s *VestackInstanceStateService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) []ve.Callback

func (*VestackInstanceStateService) ReadResource

func (s *VestackInstanceStateService) ReadResource(resourceData *schema.ResourceData, tmpId string) (data map[string]interface{}, err error)

func (*VestackInstanceStateService) ReadResourceId

func (s *VestackInstanceStateService) ReadResourceId(id string) string

func (*VestackInstanceStateService) ReadResources

func (s *VestackInstanceStateService) ReadResources(condition map[string]interface{}) (data []interface{}, err error)

func (*VestackInstanceStateService) RefreshResourceState

func (s *VestackInstanceStateService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, id string) *resource.StateChangeConf

func (*VestackInstanceStateService) RemoveResource

func (s *VestackInstanceStateService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []ve.Callback

func (VestackInstanceStateService) WithResourceResponseHandlers

func (VestackInstanceStateService) WithResourceResponseHandlers(subnet map[string]interface{}) []ve.ResourceResponseHandler

Jump to

Keyboard shortcuts

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