Documentation ¶
Index ¶
- Constants
- func DataSourceByteplusSecurityGroupRules() *schema.Resource
- func ResourceByteplusSecurityGroupRule() *schema.Resource
- type ByteplusSecurityGroupRuleService
- func (s *ByteplusSecurityGroupRuleService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback
- func (s *ByteplusSecurityGroupRuleService) DatasourceResources(d *schema.ResourceData, r *schema.Resource) bp.DataSourceInfo
- func (s *ByteplusSecurityGroupRuleService) GetClient() *bp.SdkClient
- func (s *ByteplusSecurityGroupRuleService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback
- func (s *ByteplusSecurityGroupRuleService) ReadResource(resourceData *schema.ResourceData, id string) (data map[string]interface{}, err error)
- func (s *ByteplusSecurityGroupRuleService) ReadResourceId(id string) string
- func (s *ByteplusSecurityGroupRuleService) ReadResources(condition map[string]interface{}) (data []interface{}, err error)
- func (s *ByteplusSecurityGroupRuleService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, ...) *resource.StateChangeConf
- func (s *ByteplusSecurityGroupRuleService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []bp.Callback
- func (ByteplusSecurityGroupRuleService) WithResourceResponseHandlers(rule map[string]interface{}) []bp.ResourceResponseHandler
- type Direction
Constants ¶
View Source
const ( DirectionIngress = Direction("ingress") DirectionEgress = Direction("egress") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByteplusSecurityGroupRuleService ¶
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 (s *ByteplusSecurityGroupRuleService) DatasourceResources(d *schema.ResourceData, r *schema.Resource) bp.DataSourceInfo
func (*ByteplusSecurityGroupRuleService) GetClient ¶
func (s *ByteplusSecurityGroupRuleService) GetClient() *bp.SdkClient
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
Click to show internal directories.
Click to hide internal directories.