Documentation ¶
Index ¶
- Constants
- func ResourceByteplusEcsInstanceState() *schema.Resource
- type ByteplusInstanceStateService
- func (s *ByteplusInstanceStateService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback
- func (s *ByteplusInstanceStateService) DatasourceResources(*schema.ResourceData, *schema.Resource) bp.DataSourceInfo
- func (s *ByteplusInstanceStateService) GetClient() *bp.SdkClient
- func (s *ByteplusInstanceStateService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback
- func (s *ByteplusInstanceStateService) ReadResource(resourceData *schema.ResourceData, tmpId string) (data map[string]interface{}, err error)
- func (s *ByteplusInstanceStateService) ReadResourceId(id string) string
- func (s *ByteplusInstanceStateService) ReadResources(condition map[string]interface{}) (data []interface{}, err error)
- func (s *ByteplusInstanceStateService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, ...) *resource.StateChangeConf
- func (s *ByteplusInstanceStateService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []bp.Callback
- func (ByteplusInstanceStateService) WithResourceResponseHandlers(subnet map[string]interface{}) []bp.ResourceResponseHandler
- type InstanceStateAction
Constants ¶
View Source
const ( StartAction = InstanceStateAction("Start") StopAction = InstanceStateAction("Stop") ForceStopAction = InstanceStateAction("ForceStop") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByteplusInstanceStateService ¶
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 (s *ByteplusInstanceStateService) DatasourceResources(*schema.ResourceData, *schema.Resource) bp.DataSourceInfo
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
Click to show internal directories.
Click to hide internal directories.