cdwch

package
v1.81.132 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CDWCH_PAY_MODE_HOUR   = "hour"
	CDWCH_PAY_MODE_PREPAY = "prepay"
)
View Source
const (
	CDWCH_CHARGE_TYPE_PREPAID          = "PREPAID"
	CDWCH_CHARGE_TYPE_POSTPAID_BY_HOUR = "POSTPAID_BY_HOUR"
)
View Source
const (
	NODE_TYPE_CLICKHOUSE = "DATA"
	NODE_TYPE_ZOOKEEPER  = "COMMON"
)
View Source
const (
	OPERATION_TYPE_CREATE = "create"
	OPERATION_TYPE_UPDATE = "update"
)
View Source
const (
	SCHEDULE_TYPE_DATA = "data"
	SCHEDULE_TYPE_META = "meta"
)
View Source
const (
	ACTION_ALTER_CK_USER_ADD_SYSTEM_USER    = "AddSystemUser"
	ACTION_ALTER_CK_USER_UPDATE_SYSTEM_USER = "UpdateSystemUser"
)
View Source
const (
	DESCRIBE_CK_SQL_APIS_GET_SYSTEM_USERS    = "GetSystemUsers"
	DESCRIBE_CK_SQL_APIS_REVOKE_CLUSTER_USER = "RevokeClusterUser"
	DESCRIBE_CK_SQL_APIS_DELETE_SYSTEM_USER  = "DeleteSystemUser"
)

Variables

Functions

func DataSourceTencentCloudClickhouseBackupJobDetail

func DataSourceTencentCloudClickhouseBackupJobDetail() *schema.Resource

func DataSourceTencentCloudClickhouseBackupJobs

func DataSourceTencentCloudClickhouseBackupJobs() *schema.Resource

func DataSourceTencentCloudClickhouseBackupTables

func DataSourceTencentCloudClickhouseBackupTables() *schema.Resource

func DataSourceTencentCloudClickhouseInstanceNodes added in v1.81.67

func DataSourceTencentCloudClickhouseInstanceNodes() *schema.Resource

func DataSourceTencentCloudClickhouseInstanceShards

func DataSourceTencentCloudClickhouseInstanceShards() *schema.Resource

func DataSourceTencentCloudClickhouseSpec

func DataSourceTencentCloudClickhouseSpec() *schema.Resource

func ResourceTencentCloudClickhouseAccount

func ResourceTencentCloudClickhouseAccount() *schema.Resource

func ResourceTencentCloudClickhouseAccountPermission

func ResourceTencentCloudClickhouseAccountPermission() *schema.Resource

func ResourceTencentCloudClickhouseBackup

func ResourceTencentCloudClickhouseBackup() *schema.Resource

func ResourceTencentCloudClickhouseBackupStrategy

func ResourceTencentCloudClickhouseBackupStrategy() *schema.Resource

func ResourceTencentCloudClickhouseDeleteBackupData

func ResourceTencentCloudClickhouseDeleteBackupData() *schema.Resource

func ResourceTencentCloudClickhouseInstance

func ResourceTencentCloudClickhouseInstance() *schema.Resource

func ResourceTencentCloudClickhouseKeyvalConfig

func ResourceTencentCloudClickhouseKeyvalConfig() *schema.Resource

func ResourceTencentCloudClickhouseRecoverBackupJob

func ResourceTencentCloudClickhouseRecoverBackupJob() *schema.Resource

func ResourceTencentCloudClickhouseXmlConfig

func ResourceTencentCloudClickhouseXmlConfig() *schema.Resource

Types

type AccountInfo

type AccountInfo struct {
	InstanceId string `json:"InstanceId"`
	UserName   string `json:"UserName"`
	Describe   string `json:"Describe"`
	Type       string `json:"Type"`
	Cluster    string `json:"Cluster"`
}

type AccountPermission

type AccountPermission struct {
	InstanceId            string                         `json:"InstanceId"`
	Cluster               string                         `json:"Cluster"`
	UserName              string                         `json:"UserName"`
	AllDatabase           bool                           `json:"AllDatabase"`
	GlobalPrivileges      []string                       `json:"GlobalPrivileges"`
	DatabasePrivilegeList []*cdwch.DatabasePrivilegeInfo `json:"DatabasePrivilegeList"`
}

type CdwchService

type CdwchService struct {
	// contains filtered or unexported fields
}

func NewCdwchService

func NewCdwchService(client *connectivity.TencentCloudClient) CdwchService

func (*CdwchService) ActionAlterCkUser

func (me *CdwchService) ActionAlterCkUser(ctx context.Context, apiType string, userInfo map[string]interface{}) error

func (*CdwchService) CreateBackUpSchedule

func (me *CdwchService) CreateBackUpSchedule(ctx context.Context, instanceId string, paramMap map[string]interface{}) error

func (*CdwchService) DescribeBackUpScheduleById

func (me *CdwchService) DescribeBackUpScheduleById(ctx context.Context, instanceId string) (backup *cdwch.DescribeBackUpScheduleResponseParams, errRet error)

func (*CdwchService) DescribeCdwchAccountPermission

func (me *CdwchService) DescribeCdwchAccountPermission(ctx context.Context, instanceId, cluster, username string) (userNewPrivilege *cdwch.ModifyUserNewPrivilegeRequestParams, errRet error)

func (*CdwchService) DescribeCkSqlApis

func (me *CdwchService) DescribeCkSqlApis(ctx context.Context, instanceId, cluster, userName, apiType string) error

func (*CdwchService) DescribeClickhouseAccountByUserName

func (me *CdwchService) DescribeClickhouseAccountByUserName(ctx context.Context, instanceId, userName string) (accounts []*AccountInfo, errRet error)

func (*CdwchService) DescribeClickhouseBackupJobsByFilter

func (me *CdwchService) DescribeClickhouseBackupJobsByFilter(ctx context.Context, param map[string]interface{}) (backupJobs []*clickhouse.BackUpJobDisplay, errRet error)

func (*CdwchService) DescribeClickhouseBackupTablesByFilter

func (me *CdwchService) DescribeClickhouseBackupTablesByFilter(ctx context.Context, instanceId string) (backupTables []*clickhouse.BackupTableContent, errRet error)

func (*CdwchService) DescribeClickhouseInstanceNodesByFilter added in v1.81.67

func (me *CdwchService) DescribeClickhouseInstanceNodesByFilter(ctx context.Context, param map[string]interface{}) (instanceNodes []*cdwch.InstanceNode, errRet error)

func (*CdwchService) DescribeClickhouseInstanceShardsByFilter

func (me *CdwchService) DescribeClickhouseInstanceShardsByFilter(ctx context.Context, param map[string]interface{}) (instanceShards *cdwch.DescribeInstanceShardsResponseParams, errRet error)

func (*CdwchService) DescribeClickhouseKeyvalConfigById

func (me *CdwchService) DescribeClickhouseKeyvalConfigById(ctx context.Context, instanceId string) (config []*cdwch.InstanceConfigInfo, errRet error)

func (*CdwchService) DescribeClickhouseSpecByFilter

func (me *CdwchService) DescribeClickhouseSpecByFilter(ctx context.Context, param map[string]interface{}) (spec *cdwch.DescribeSpecResponseParams, errRet error)

func (*CdwchService) DescribeClickhouseXmlConfigById

func (me *CdwchService) DescribeClickhouseXmlConfigById(ctx context.Context, instanceId string) (xmlConfig []*cdwch.ClusterConfigsInfoFromEMR, errRet error)

func (*CdwchService) DescribeInstance

func (me *CdwchService) DescribeInstance(ctx context.Context, instanceId string) (InstanceInfo *cdwch.InstanceInfo, errRet error)

func (*CdwchService) DescribeInstanceClusters

func (me *CdwchService) DescribeInstanceClusters(ctx context.Context, instanceId string) (clusterInfos []*cdwch.ClusterInfo, errRet error)

func (*CdwchService) DescribeInstancesNew

func (me *CdwchService) DescribeInstancesNew(ctx context.Context, instanceId string) (instancesList []*cdwch.InstanceInfo, errRet error)

func (*CdwchService) DestroyInstance

func (me *CdwchService) DestroyInstance(ctx context.Context, instanceId string) (errRet error)

func (*CdwchService) InstanceStateRefreshFunc

func (me *CdwchService) InstanceStateRefreshFunc(instanceId string) resource.StateRefreshFunc

func (*CdwchService) ResizeDisk

func (me *CdwchService) ResizeDisk(ctx context.Context, instanceId string, nodeType string, resizeDisk int) (errRet error)

func (*CdwchService) ScaleOutInstance

func (me *CdwchService) ScaleOutInstance(ctx context.Context, instanceId string, nodeType string, scaleOutCluster string, nodeCount int, userSubnetIPNum int, shardIps []*string) (errRet error)

func (*CdwchService) ScaleUpInstance

func (me *CdwchService) ScaleUpInstance(ctx context.Context, instanceId, nodeType, specName string) (errRet error)

Jump to

Keyboard shortcuts

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