Documentation ¶
Index ¶
- func DataSourceByteplusServerGroups() *schema.Resource
- func ResourceByteplusServerGroup() *schema.Resource
- type ByteplusServerGroupService
- func (s *ByteplusServerGroupService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback
- func (s *ByteplusServerGroupService) DatasourceResources(*schema.ResourceData, *schema.Resource) bp.DataSourceInfo
- func (s *ByteplusServerGroupService) GetClient() *bp.SdkClient
- func (s *ByteplusServerGroupService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback
- func (s *ByteplusServerGroupService) ReadResource(resourceData *schema.ResourceData, serverGroupId string) (data map[string]interface{}, err error)
- func (s *ByteplusServerGroupService) ReadResourceId(id string) string
- func (s *ByteplusServerGroupService) ReadResources(condition map[string]interface{}) (data []interface{}, err error)
- func (s *ByteplusServerGroupService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, ...) *resource.StateChangeConf
- func (s *ByteplusServerGroupService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []bp.Callback
- func (ByteplusServerGroupService) WithResourceResponseHandlers(serverGroup map[string]interface{}) []bp.ResourceResponseHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByteplusServerGroupService ¶
func NewServerGroupService ¶
func NewServerGroupService(c *bp.SdkClient) *ByteplusServerGroupService
func (*ByteplusServerGroupService) CreateResource ¶
func (s *ByteplusServerGroupService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback
func (*ByteplusServerGroupService) DatasourceResources ¶
func (s *ByteplusServerGroupService) DatasourceResources(*schema.ResourceData, *schema.Resource) bp.DataSourceInfo
func (*ByteplusServerGroupService) GetClient ¶
func (s *ByteplusServerGroupService) GetClient() *bp.SdkClient
func (*ByteplusServerGroupService) ModifyResource ¶
func (s *ByteplusServerGroupService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback
func (*ByteplusServerGroupService) ReadResource ¶
func (s *ByteplusServerGroupService) ReadResource(resourceData *schema.ResourceData, serverGroupId string) (data map[string]interface{}, err error)
func (*ByteplusServerGroupService) ReadResourceId ¶
func (s *ByteplusServerGroupService) ReadResourceId(id string) string
func (*ByteplusServerGroupService) ReadResources ¶
func (s *ByteplusServerGroupService) ReadResources(condition map[string]interface{}) (data []interface{}, err error)
func (*ByteplusServerGroupService) RefreshResourceState ¶
func (s *ByteplusServerGroupService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, id string) *resource.StateChangeConf
func (*ByteplusServerGroupService) RemoveResource ¶
func (s *ByteplusServerGroupService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []bp.Callback
func (ByteplusServerGroupService) WithResourceResponseHandlers ¶
func (ByteplusServerGroupService) WithResourceResponseHandlers(serverGroup map[string]interface{}) []bp.ResourceResponseHandler
Click to show internal directories.
Click to hide internal directories.