Documentation ¶
Index ¶
- func AutoRenewDiffSuppress(k, old, new string, d *schema.ResourceData) bool
- func DataSourceByteplusEcsInstances() *schema.Resource
- func EcsInstanceImportDiffSuppress(k, old, new string, d *schema.ResourceData) bool
- func RemoveSystemTags(data []interface{}) ([]interface{}, error)
- func ResourceByteplusEcsInstance() *schema.Resource
- func UserDateImportDiffSuppress(k, old, new string, d *schema.ResourceData) bool
- type ByteplusEcsService
- func (s *ByteplusEcsService) CommonResponseConvert() map[string]bp.ResponseConvert
- func (s *ByteplusEcsService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback
- func (s *ByteplusEcsService) DatasourceResources(data *schema.ResourceData, resource *schema.Resource) bp.DataSourceInfo
- func (s *ByteplusEcsService) GetClient() *bp.SdkClient
- func (s *ByteplusEcsService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) (callbacks []bp.Callback)
- func (s *ByteplusEcsService) ProjectTrn() *bp.ProjectTrn
- func (s *ByteplusEcsService) ReadResource(resourceData *schema.ResourceData, instanceId string) (data map[string]interface{}, err error)
- func (s *ByteplusEcsService) ReadResourceId(id string) string
- func (s *ByteplusEcsService) ReadResources(condition map[string]interface{}) (data []interface{}, err error)
- func (s *ByteplusEcsService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, ...) *resource.StateChangeConf
- func (s *ByteplusEcsService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []bp.Callback
- func (s *ByteplusEcsService) StartOrStopInstanceCallback(resourceData *schema.ResourceData, isStop bool, flag *bool) bp.Callback
- func (s *ByteplusEcsService) UnsubscribeInfo(resourceData *schema.ResourceData, resource *schema.Resource) (*bp.UnsubscribeInfo, error)
- func (s *ByteplusEcsService) WithResourceResponseHandlers(ecs map[string]interface{}) []bp.ResourceResponseHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoRenewDiffSuppress ¶
func AutoRenewDiffSuppress(k, old, new string, d *schema.ResourceData) bool
func EcsInstanceImportDiffSuppress ¶
func EcsInstanceImportDiffSuppress(k, old, new string, d *schema.ResourceData) bool
func RemoveSystemTags ¶
func RemoveSystemTags(data []interface{}) ([]interface{}, error)
func UserDateImportDiffSuppress ¶
func UserDateImportDiffSuppress(k, old, new string, d *schema.ResourceData) bool
Types ¶
type ByteplusEcsService ¶
type ByteplusEcsService struct { Client *bp.SdkClient SubnetService *subnet.ByteplusSubnetService }
func NewEcsService ¶
func NewEcsService(c *bp.SdkClient) *ByteplusEcsService
func (*ByteplusEcsService) CommonResponseConvert ¶
func (s *ByteplusEcsService) CommonResponseConvert() map[string]bp.ResponseConvert
func (*ByteplusEcsService) CreateResource ¶
func (s *ByteplusEcsService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback
func (*ByteplusEcsService) DatasourceResources ¶
func (s *ByteplusEcsService) DatasourceResources(data *schema.ResourceData, resource *schema.Resource) bp.DataSourceInfo
func (*ByteplusEcsService) GetClient ¶
func (s *ByteplusEcsService) GetClient() *bp.SdkClient
func (*ByteplusEcsService) ModifyResource ¶
func (s *ByteplusEcsService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) (callbacks []bp.Callback)
func (*ByteplusEcsService) ProjectTrn ¶
func (s *ByteplusEcsService) ProjectTrn() *bp.ProjectTrn
func (*ByteplusEcsService) ReadResource ¶
func (s *ByteplusEcsService) ReadResource(resourceData *schema.ResourceData, instanceId string) (data map[string]interface{}, err error)
func (*ByteplusEcsService) ReadResourceId ¶
func (s *ByteplusEcsService) ReadResourceId(id string) string
func (*ByteplusEcsService) ReadResources ¶
func (s *ByteplusEcsService) ReadResources(condition map[string]interface{}) (data []interface{}, err error)
func (*ByteplusEcsService) RefreshResourceState ¶
func (s *ByteplusEcsService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, id string) *resource.StateChangeConf
func (*ByteplusEcsService) RemoveResource ¶
func (s *ByteplusEcsService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []bp.Callback
func (*ByteplusEcsService) StartOrStopInstanceCallback ¶
func (s *ByteplusEcsService) StartOrStopInstanceCallback(resourceData *schema.ResourceData, isStop bool, flag *bool) bp.Callback
func (*ByteplusEcsService) UnsubscribeInfo ¶
func (s *ByteplusEcsService) UnsubscribeInfo(resourceData *schema.ResourceData, resource *schema.Resource) (*bp.UnsubscribeInfo, error)
func (*ByteplusEcsService) WithResourceResponseHandlers ¶
func (s *ByteplusEcsService) WithResourceResponseHandlers(ecs map[string]interface{}) []bp.ResourceResponseHandler
Click to show internal directories.
Click to hide internal directories.