ecs_instance_state

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func ResourceByteplusEcsInstanceState

func ResourceByteplusEcsInstanceState() *schema.Resource

Types

type ByteplusInstanceStateService

type ByteplusInstanceStateService struct {
	Client *bp.SdkClient
}

func NewInstanceStateService

func NewInstanceStateService(c *bp.SdkClient) *ByteplusInstanceStateService

func (*ByteplusInstanceStateService) CreateResource

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

func (*ByteplusInstanceStateService) DatasourceResources

func (*ByteplusInstanceStateService) GetClient

func (s *ByteplusInstanceStateService) GetClient() *bp.SdkClient

func (*ByteplusInstanceStateService) ModifyResource

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

func (*ByteplusInstanceStateService) ReadResource

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

func (*ByteplusInstanceStateService) ReadResourceId

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

func (*ByteplusInstanceStateService) ReadResources

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

func (*ByteplusInstanceStateService) RefreshResourceState

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

func (*ByteplusInstanceStateService) RemoveResource

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

func (ByteplusInstanceStateService) WithResourceResponseHandlers

func (ByteplusInstanceStateService) WithResourceResponseHandlers(subnet map[string]interface{}) []bp.ResourceResponseHandler

type InstanceStateAction

type InstanceStateAction string

Jump to

Keyboard shortcuts

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