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