region

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceByteplusRegions

func DataSourceByteplusRegions() *schema.Resource

Types

type ByteplusRegionService

type ByteplusRegionService struct {
	Client *bp.SdkClient
}

func NewRegionService

func NewRegionService(c *bp.SdkClient) *ByteplusRegionService

func (*ByteplusRegionService) CreateResource

func (v *ByteplusRegionService) CreateResource(data *schema.ResourceData, resource *schema.Resource) []bp.Callback

func (*ByteplusRegionService) DatasourceResources

func (v *ByteplusRegionService) DatasourceResources(data *schema.ResourceData, resource *schema.Resource) bp.DataSourceInfo

func (*ByteplusRegionService) GetClient

func (v *ByteplusRegionService) GetClient() *bp.SdkClient

func (*ByteplusRegionService) ModifyResource

func (v *ByteplusRegionService) ModifyResource(data *schema.ResourceData, resource *schema.Resource) []bp.Callback

func (*ByteplusRegionService) ReadResource

func (v *ByteplusRegionService) ReadResource(data *schema.ResourceData, s string) (map[string]interface{}, error)

func (*ByteplusRegionService) ReadResourceId

func (v *ByteplusRegionService) ReadResourceId(s string) string

func (*ByteplusRegionService) ReadResources

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

func (*ByteplusRegionService) RefreshResourceState

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

func (*ByteplusRegionService) RemoveResource

func (v *ByteplusRegionService) RemoveResource(data *schema.ResourceData, resource *schema.Resource) []bp.Callback

func (*ByteplusRegionService) WithResourceResponseHandlers

func (v *ByteplusRegionService) WithResourceResponseHandlers(region map[string]interface{}) []bp.ResourceResponseHandler

Jump to

Keyboard shortcuts

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