security_group_rule

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DirectionIngress = Direction("ingress")
	DirectionEgress  = Direction("egress")
)

Variables

This section is empty.

Functions

func DataSourceByteplusSecurityGroupRules

func DataSourceByteplusSecurityGroupRules() *schema.Resource

func ResourceByteplusSecurityGroupRule

func ResourceByteplusSecurityGroupRule() *schema.Resource

Types

type ByteplusSecurityGroupRuleService

type ByteplusSecurityGroupRuleService struct {
	Client *bp.SdkClient
}

func NewSecurityGroupRuleService

func NewSecurityGroupRuleService(c *bp.SdkClient) *ByteplusSecurityGroupRuleService

func (*ByteplusSecurityGroupRuleService) CreateResource

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

func (*ByteplusSecurityGroupRuleService) DatasourceResources

func (*ByteplusSecurityGroupRuleService) GetClient

func (*ByteplusSecurityGroupRuleService) ModifyResource

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

func (*ByteplusSecurityGroupRuleService) ReadResource

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

func (*ByteplusSecurityGroupRuleService) ReadResourceId

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

func (*ByteplusSecurityGroupRuleService) ReadResources

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

func (*ByteplusSecurityGroupRuleService) RefreshResourceState

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

func (*ByteplusSecurityGroupRuleService) RemoveResource

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

func (ByteplusSecurityGroupRuleService) WithResourceResponseHandlers

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

type Direction

type Direction string

Jump to

Keyboard shortcuts

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