rule

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceByteplusRules

func DataSourceByteplusRules() *schema.Resource

func ResourceByteplusRule

func ResourceByteplusRule() *schema.Resource

Types

type ByteplusRuleService

type ByteplusRuleService struct {
	Client *bp.SdkClient
}

func NewRuleService

func NewRuleService(c *bp.SdkClient) *ByteplusRuleService

func (*ByteplusRuleService) CreateResource

func (s *ByteplusRuleService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback

func (*ByteplusRuleService) DatasourceResources

func (*ByteplusRuleService) GetClient

func (s *ByteplusRuleService) GetClient() *bp.SdkClient

func (*ByteplusRuleService) ModifyResource

func (s *ByteplusRuleService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback

func (*ByteplusRuleService) ReadResource

func (s *ByteplusRuleService) ReadResource(resourceData *schema.ResourceData, ruleId string) (data map[string]interface{}, err error)

func (*ByteplusRuleService) ReadResourceId

func (s *ByteplusRuleService) ReadResourceId(id string) string

func (*ByteplusRuleService) ReadResources

func (s *ByteplusRuleService) ReadResources(condition map[string]interface{}) (data []interface{}, err error)

func (*ByteplusRuleService) RefreshResourceState

func (s *ByteplusRuleService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, id string) *resource.StateChangeConf

func (*ByteplusRuleService) RemoveResource

func (s *ByteplusRuleService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []bp.Callback

func (ByteplusRuleService) WithResourceResponseHandlers

func (ByteplusRuleService) WithResourceResponseHandlers(rule map[string]interface{}) []bp.ResourceResponseHandler

Jump to

Keyboard shortcuts

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