scaling_policy

package
v0.0.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceByteplusScalingPolicies

func DataSourceByteplusScalingPolicies() *schema.Resource

func ResourceByteplusScalingPolicy

func ResourceByteplusScalingPolicy() *schema.Resource

Types

type ByteplusScalingPolicyService

type ByteplusScalingPolicyService struct {
	Client *bp.SdkClient
}

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 (*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

Jump to

Keyboard shortcuts

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