zone

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceByteplusZones

func DataSourceByteplusZones() *schema.Resource

Types

type ByteplusZoneService

type ByteplusZoneService struct {
	Client *bp.SdkClient
}

func NewZoneService

func NewZoneService(c *bp.SdkClient) *ByteplusZoneService

func (*ByteplusZoneService) CreateResource

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

func (*ByteplusZoneService) DatasourceResources

func (s *ByteplusZoneService) DatasourceResources(data *schema.ResourceData, resource *schema.Resource) bp.DataSourceInfo

func (*ByteplusZoneService) GetClient

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

func (*ByteplusZoneService) ModifyResource

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

func (*ByteplusZoneService) ReadResource

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

func (*ByteplusZoneService) ReadResourceId

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

func (*ByteplusZoneService) ReadResources

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

func (*ByteplusZoneService) RefreshResourceState

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

func (*ByteplusZoneService) RemoveResource

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

func (*ByteplusZoneService) WithResourceResponseHandlers

func (s *ByteplusZoneService) WithResourceResponseHandlers(zone map[string]interface{}) []bp.ResourceResponseHandler

Jump to

Keyboard shortcuts

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