clb

package
v1.81.60 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SYSTEM_DISK_TYPE_LOCAL_BASIC   = "LOCAL_BASIC"
	SYSTEM_DISK_TYPE_LOCAL_SSD     = "LOCAL_SSD"
	SYSTEM_DISK_TYPE_CLOUD_BASIC   = "CLOUD_BASIC"
	SYSTEM_DISK_TYPE_CLOUD_PREMIUM = "CLOUD_PREMIUM"
	SYSTEM_DISK_TYPE_CLOUD_SSD     = "CLOUD_SSD"
	SYSTEM_DISK_TYPE_CLOUD_HSSD    = "CLOUD_HSSD"
	SYSTEM_DISK_TYPE_CLOUD_BSSD    = "CLOUD_BSSD"
	SYSTEM_DISK_TYPE_CLOUD_TSSD    = "CLOUD_TSSD"
)
View Source
const (
	INTERNET_CHARGE_TYPE_BANDWIDTH_PREPAID          = "BANDWIDTH_PREPAID"
	INTERNET_CHARGE_TYPE_TRAFFIC_POSTPAID_BY_HOUR   = "TRAFFIC_POSTPAID_BY_HOUR"
	INTERNET_CHARGE_TYPE_BANDWIDTH_POSTPAID_BY_HOUR = "BANDWIDTH_POSTPAID_BY_HOUR"
	INTERNET_CHARGE_TYPE_BANDWIDTH_PACKAGE          = "BANDWIDTH_PACKAGE"
)
View Source
const (
	INSTANCE_CHARGE_TYPE_POSTPAID = "POSTPAID_BY_HOUR"
	INSTANCE_CHARGE_TYPE_SPOTPAID = "SPOTPAID"
	INSTANCE_CHARGE_TYPE_PREPAID  = "PREPAID"
)
View Source
const (
	SCALING_GROUP_TERMINATION_POLICY_NEWEST_INSTANCE = "NEWEST_INSTANCE"
	SCALING_GROUP_TERMINATION_POLICY_OLDEST_INSTANCE = "OLDEST_INSTANCE"
)
View Source
const (
	SCALING_GROUP_RETRY_POLICY_IMMEDIATE_RETRY       = "IMMEDIATE_RETRY"
	SCALING_GROUP_RETRY_POLICY_NO_RETRY              = "NO_RETRY"
	SCALING_GROUP_RETRY_POLICY_INCREMENTAL_INTERVALS = "INCREMENTAL_INTERVALS"
)
View Source
const (
	SCALING_DISK_TYPE_POLICY_ORIGINAL  = "ORIGINAL"
	SCALING_DISK_TYPE_POLICY_AUTOMATIC = "AUTOMATIC"
)
View Source
const (
	INSTANCE_NAME_ORIGINAL = "ORIGINAL"
	INSTANCE_NAME_UNIQUE   = "UNIQUE"
)
View Source
const (
	SCALING_GROUP_ADJUSTMENT_TYPE_CHANGE_IN_CAPACITY         = "CHANGE_IN_CAPACITY"
	SCALING_GROUP_ADJUSTMENT_TYPE_EXACT_CAPACITY             = "EXACT_CAPACITY"
	SCALING_GROUP_ADJUSTMENT_TYPE_PERCENT_CHANGE_IN_CAPACITY = "PERCENT_CHANGE_IN_CAPACITY"
)
View Source
const (
	SCALING_GROUP_COMPARISON_OPERATOR_GREATER       = "GREATER_THAN"
	SCALING_GROUP_COMPARISON_OPERATOR_GREATER_EQUAL = "GREATER_THAN_OR_EQUAL_TO"
	SCALING_GROUP_COMPARISON_OPERATOR_LESS          = "LESS_THAN"
	SCALING_GROUP_COMPARISON_OPERATOR_LESS_EQUAL    = "LESS_THAN_OR_EQUAL_TO"
	SCALING_GROUP_COMPARISON_OPERATOR_EQUAL         = "EQUAL_TO"
	SCALING_GROUP_COMPARISON_OPERATOR_NOT_EQUAL     = "NOT_EQUAL_TO"
)
View Source
const (
	SCALING_GROUP_METRIC_NAME_CPU_UTILIZATION = "CPU_UTILIZATION"
	SCALING_GROUP_METRIC_NAME_MEM_UTILIZATION = "MEM_UTILIZATION"
	SCALING_GROUP_METRIC_NAME_LAN_TRAFFIC_OUT = "LAN_TRAFFIC_OUT"
	SCALING_GROUP_METRIC_NAME_LAN_TRAFFIC_IN  = "LAN_TRAFFIC_IN"
	SCALING_GROUP_METRIC_NAME_WAN_TRAFFIC_OUT = "WAN_TRAFFIC_OUT"
	SCALING_GROUP_METRIC_NAME_WAN_TRAFFIC_IN  = "WAN_TRAFFIC_IN"
)
View Source
const (
	SCALING_GROUP_STATISTIC_AVERAGE = "AVERAGE"
	SCALING_GROUP_STATISTIC_MAXIMUM = "MAXIMUM"
	SCALING_GROUP_STATISTIC_MINIMUM = "MINIMUM"
)
View Source
const (
	SCALING_GROUP_NOTIFICATION_TYPE_SCALE_OUT_SUCCESS = "SCALE_OUT_SUCCESSFUL"
	SCALING_GROUP_NOTIFICATION_TYPE_SCALE_OUT_FAILED  = "SCALE_OUT_FAILED"
	SCALING_GROUP_NOTIFICATION_TYPE_SCALE_IN_SUCCESS  = "SCALE_IN_SUCCESSFUL"
	SCALING_GROUP_NOTIFICATION_TYPE_SCALE_IN_FAILED   = "SCALE_IN_FAILED"
	SCALING_GROUP_NOTIFICATION_TYPE_REPLACE_SUCCESS   = "REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL"
	SCALING_GROUP_NOTIFICATION_TYPE_REPLACE_FAILED    = "REPLACE_UNHEALTHY_INSTANCE_FAILED"
)
View Source
const (
	SCALING_GROUP_ACTIVITY_STATUS_INIT                 = "INIT"
	SCALING_GROUP_ACTIVITY_STATUS_RUNNING              = "RUNNING"
	SCALING_GROUP_ACTIVITY_STATUS_SUCCESSFUL           = "SUCCESSFUL"
	SCALING_GROUP_ACTIVITY_STATUS_PARTIALLY_SUCCESSFUL = "PARTIALLY_SUCCESSFUL"
	SCALING_GROUP_ACTIVITY_STATUS_FAILED               = "FAILED"
	SCALING_GROUP_ACTIVITY_STATUS_CANCELLED            = "CANCELLED"
)
View Source
const (
	AsScheduleNotFound                   = "ResourceNotFound.ScheduledActionNotFound"
	AsScalingGroupInProgress             = "ResourceInUse.ActivityInProgress"
	AsScalingGroupInstanceInGroup        = "ResourceInUse.InstanceInGroup"
	AsScalingGroupNotFound               = "ResourceNotFound.AutoScalingGroupNotFound"
	SCALING_GROUP_IN_ACTIVITY_STATUS     = "IN_ACTIVITY"
	SCALING_GROUP_NOT_IN_ACTIVITY_STATUS = "NOT_IN_ACTIVITY"
)
View Source
const (
	MultiZoneSubnetPolicyPriority = "PRIORITY"
	MultiZoneSubnetPolicyEquality = "EQUALITY"
)
View Source
const (
	SCALING_MODE_CLASSIC         = "CLASSIC_SCALING"
	SCALING_MODE_WAKE_UP_STOPPED = "WAKE_UP_STOPPED_SCALING"
)
View Source
const (
	CLB_NETWORK_TYPE_OPEN     = "OPEN"
	CLB_NETWORK_TYPE_INTERNAL = "INTERNAL"
)
View Source
const (
	CLB_LISTENER_PROTOCOL_TCP    = "TCP"
	CLB_LISTENER_PROTOCOL_UDP    = "UDP"
	CLB_LISTENER_PROTOCOL_HTTP   = "HTTP"
	CLB_LISTENER_PROTOCOL_HTTPS  = "HTTPS"
	CLB_LISTENER_PROTOCOL_TCPSSL = "TCP_SSL"
	CLB_LISTENER_PROTOCOL_QUIC   = "QUIC"
)
View Source
const (
	CLB_HTTP_METHOD_GET  = "GET"
	CLB_HTTP_METHOD_HEAD = "HEAD"
)
View Source
const (
	CLB_LISTENER_SCHEDULER_WRR       = "WRR"
	CLB_LISTENER_SCHEDULER_LEASTCONN = "LEAST_CONN"
	CLB_LISTENER_SCHEDULER_IP_HASH   = "IP_HASH"
)
View Source
const (
	HTTP_VERSION_ONE_ZERO = "HTTP/1.0"
	HTTP_VERSION_ONE_ONE  = "HTTP/1.1"
)
View Source
const (
	HEALTH_CHECK_TYPE_CUSTOM = "CUSTOM"
	HEALTH_CHECK_TYPE_TCP    = "TCP"
	HEALTH_CHECK_TYPE_HTTP   = "HTTP"
)
View Source
const (
	CONTEX_TYPE_HEX  = "HEX"
	CONTEX_TYPE_TEXT = "TEXT"
)
View Source
const (
	CERT_SSL_MODE_UNI = "UNIDIRECTIONAL"
	CERT_SSL_MODE_MUT = "MUTUAL"
)
View Source
const (
	CLB_TASK_SUCCESS   = 0
	CLB_TASK_FAIL      = 1
	CLB_TASK_EXPANDING = 2
)
View Source
const (
	HEALTH_APPLY_TYPE_LISTENER = "listener"
	HEALTH_APPLY_TYPE_RULE     = "rule"
)
View Source
const (
	AUTO_TARGET_PORT = 443
	AUTO_SOURCE_PORT = 80
)
View Source
const (
	CLB_TARGET_TYPE_NODE        = "NODE"
	CLB_TARGET_TYPE_TARGETGROUP = "TARGETGROUP"
)
View Source
const (
	CLB_BACKEND_TYPE_CVM = "CVM"
	CLB_BACKEND_TYPE_ENI = "ENI"
)
View Source
const (
	CLB_SESSION_TYPE_NORMAL = "NORMAL"
	CLB_SESSION_TYPE_QUIC   = "QUIC_CID"
)
View Source
const (
	SSL_MODULE_TYPE = "ssl"
	SSL_WITH_CERT   = "1"
)
View Source
const (
	SSL_STATUS_PENDING = iota
	SSL_STATUS_AVAILABLE
	SSL_STATUS_REJECTED
	SSL_STATUS_EXPIRED
	SSL_STATUS_DNS_ADDED
	SSL_STATUS_PENDING_SUB
	SSL_STATUS_CANCELING
	SSL_STATUS_CANCELED
	SSL_STATUS_DATA_PENDING
	SSL_STATUS_REVOKING
	SSL_STATUS_REVOKED
	SSL_STATUS_REISSUING
	SSL_STATUS_REVOCATION_PENDING
)
View Source
const (
	SSL_CERT_TYPE_SERVER = "SVR"
	SSL_CERT_TYPE_CA     = "CA"
)
View Source
const (
	CsrTypeOnline = "online"
	CsrTypeParse  = "parse"
)
View Source
const (
	DNSAuto = "DNS_AUTO"
	DNS     = "DNS"
	File    = "FILE"
)
View Source
const (
	InvalidParam          = "FailedOperation.InvalidParam"
	CertificateNotFound   = "FailedOperation.CertificateNotFound"
	InvalidParameter      = "InvalidParameter"
	InvalidParameterValue = "InvalidParameterValue"
	CertificateInvalid    = "FailedOperation.CertificateInvalid"
)
View Source
const (
	CLB_PAGE_LIMIT = 100
)
View Source
const DESCRIBE_TAGS_LIMIT = 20
View Source
const (
	FORWARD_TYPE_HTTP = "HTTP"
)
View Source
const SSL_ERR_CANCELING = `` /* 326-byte string literal not displayed */

Variables

View Source
var CsrTypeArr = []string{
	CsrTypeOnline,
	CsrTypeParse,
}
View Source
var DNSPOD_OV_EV_TYPE = []int64{51, 52, 53}
View Source
var FORWARD_TYPE = []string{
	FORWARD_TYPE_HTTP,
}
View Source
var GEOTRUST_OV_EV_TYPE = []int64{8, 9, 10}
View Source
var GLOBALSIGN_OV_EV_TYPE = []int64{18, 19, 20, 21, 22, 23, 24}
View Source
var SECURESITE_OV_EV_TYPE = []int64{3, 4, 5, 6, 7}
View Source
var SslCanCancelStatus = map[uint64]struct{}{
	SSL_STATUS_PENDING:      {},
	SSL_STATUS_DNS_ADDED:    {},
	SSL_STATUS_DATA_PENDING: {},
}
View Source
var TRUSTASIA_OV_EV_TYPE = []int64{13, 14, 15, 16, 17}
View Source
var VerifyType = []string{
	DNSAuto,
	DNS,
	File,
}

Functions

func DataSourceTencentCloudClbClusterResources

func DataSourceTencentCloudClbClusterResources() *schema.Resource

func DataSourceTencentCloudClbCrossTargets

func DataSourceTencentCloudClbCrossTargets() *schema.Resource

func DataSourceTencentCloudClbExclusiveClusters

func DataSourceTencentCloudClbExclusiveClusters() *schema.Resource

func DataSourceTencentCloudClbIdleInstances

func DataSourceTencentCloudClbIdleInstances() *schema.Resource

func DataSourceTencentCloudClbInstanceByCertId

func DataSourceTencentCloudClbInstanceByCertId() *schema.Resource

func DataSourceTencentCloudClbInstanceDetail

func DataSourceTencentCloudClbInstanceDetail() *schema.Resource

func DataSourceTencentCloudClbInstanceTraffic

func DataSourceTencentCloudClbInstanceTraffic() *schema.Resource

func DataSourceTencentCloudClbInstances

func DataSourceTencentCloudClbInstances() *schema.Resource

func DataSourceTencentCloudClbListenerRules

func DataSourceTencentCloudClbListenerRules() *schema.Resource

func DataSourceTencentCloudClbListeners

func DataSourceTencentCloudClbListeners() *schema.Resource

func DataSourceTencentCloudClbListenersByTargets

func DataSourceTencentCloudClbListenersByTargets() *schema.Resource

func DataSourceTencentCloudClbRedirections

func DataSourceTencentCloudClbRedirections() *schema.Resource

func DataSourceTencentCloudClbResources

func DataSourceTencentCloudClbResources() *schema.Resource

func DataSourceTencentCloudClbServerAttachments

func DataSourceTencentCloudClbServerAttachments() *schema.Resource

func DataSourceTencentCloudClbTargetGroupList

func DataSourceTencentCloudClbTargetGroupList() *schema.Resource

func DataSourceTencentCloudClbTargetGroups

func DataSourceTencentCloudClbTargetGroups() *schema.Resource

func DataSourceTencentCloudClbTargetHealth

func DataSourceTencentCloudClbTargetHealth() *schema.Resource

func IsContainProductId

func IsContainProductId(productId int64, lists ...[]int64) bool

func ListenerIdCheck

func ListenerIdCheck(listenerId string) error

func ResourceTencentCloudAlbServerAttachment

func ResourceTencentCloudAlbServerAttachment() *schema.Resource

func ResourceTencentCloudClbCustomizedConfig

func ResourceTencentCloudClbCustomizedConfig() *schema.Resource

func ResourceTencentCloudClbFunctionTargetsAttachment

func ResourceTencentCloudClbFunctionTargetsAttachment() *schema.Resource

func ResourceTencentCloudClbInstance

func ResourceTencentCloudClbInstance() *schema.Resource

func ResourceTencentCloudClbInstanceMixIpTargetConfig

func ResourceTencentCloudClbInstanceMixIpTargetConfig() *schema.Resource

func ResourceTencentCloudClbInstanceSlaConfig

func ResourceTencentCloudClbInstanceSlaConfig() *schema.Resource

func ResourceTencentCloudClbListener

func ResourceTencentCloudClbListener() *schema.Resource

func ResourceTencentCloudClbListenerRule

func ResourceTencentCloudClbListenerRule() *schema.Resource

func ResourceTencentCloudClbLogSet

func ResourceTencentCloudClbLogSet() *schema.Resource

func ResourceTencentCloudClbLogTopic

func ResourceTencentCloudClbLogTopic() *schema.Resource

func ResourceTencentCloudClbRedirection

func ResourceTencentCloudClbRedirection() *schema.Resource

func ResourceTencentCloudClbReplaceCertForLbs

func ResourceTencentCloudClbReplaceCertForLbs() *schema.Resource

func ResourceTencentCloudClbSecurityGroupAttachment

func ResourceTencentCloudClbSecurityGroupAttachment() *schema.Resource

func ResourceTencentCloudClbServerAttachment

func ResourceTencentCloudClbServerAttachment() *schema.Resource

func ResourceTencentCloudClbSnatIp

func ResourceTencentCloudClbSnatIp() *schema.Resource

func ResourceTencentCloudClbTGAttachmentInstance

func ResourceTencentCloudClbTGAttachmentInstance() *schema.Resource

func ResourceTencentCloudClbTargetGroup

func ResourceTencentCloudClbTargetGroup() *schema.Resource

func ResourceTencentCloudClbTargetGroupAttachment

func ResourceTencentCloudClbTargetGroupAttachment() *schema.Resource

func ResourceTencentCloudClbTargetGroupAttachments

func ResourceTencentCloudClbTargetGroupAttachments() *schema.Resource

func ResourceTencentCloudLB

func ResourceTencentCloudLB() *schema.Resource

func RuleIdCheck

func RuleIdCheck(ruleId string) error

Types

type ClbService

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

func NewClbService

func NewClbService(client *connectivity.TencentCloudClient) ClbService

func (*ClbService) AssociateTargetGroups

func (me *ClbService) AssociateTargetGroups(ctx context.Context, listenerId, clbId, targetGroupId, locationId string) (errRet error)

func (*ClbService) BindOrUnBindCustomizedConfigWithLbId

func (me *ClbService) BindOrUnBindCustomizedConfigWithLbId(ctx context.Context, action string,
	configId string, lbIdsList []interface{}) (errRet error)

func (*ClbService) CreateClbLogSet

func (me *ClbService) CreateClbLogSet(ctx context.Context, name string, logsetType string, period int) (id string, errRet error)

func (*ClbService) CreateLoadBalancerSnatIps

func (me *ClbService) CreateLoadBalancerSnatIps(ctx context.Context, id string, ips []*clb.SnatIp) (taskId string, errRet error)

func (*ClbService) CreateTargetGroup

func (me *ClbService) CreateTargetGroup(ctx context.Context, targetGroupName string, vpcId string, port uint64,
	targetGroupInstances []*clb.TargetGroupInstance) (targetGroupId string, err error)

func (*ClbService) CreateTopic

func (me *ClbService) CreateTopic(ctx context.Context, params map[string]interface{}) (response *clb.CreateTopicResponse, err error)

func (*ClbService) DeleteAttachmentById

func (me *ClbService) DeleteAttachmentById(ctx context.Context, clbId string, listenerId string, locationId string, targets []interface{}) error

func (*ClbService) DeleteClbFunctionTargetsAttachmentById

func (me *ClbService) DeleteClbFunctionTargetsAttachmentById(ctx context.Context, loadBalancerId string, listenerId string) (errRet error)

func (*ClbService) DeleteLbCustomizedConfigById

func (me *ClbService) DeleteLbCustomizedConfigById(ctx context.Context, configId string) (errRet error)

func (*ClbService) DeleteListenerById

func (me *ClbService) DeleteListenerById(ctx context.Context, clbId string, listenerId string) error

func (*ClbService) DeleteLoadBalancerById

func (me *ClbService) DeleteLoadBalancerById(ctx context.Context, clbId string) error

func (*ClbService) DeleteLoadBalancerSnatIps

func (me *ClbService) DeleteLoadBalancerSnatIps(ctx context.Context, id string, ips []*string) (taskId string, errRet error)

func (*ClbService) DeleteRedirectionById

func (me *ClbService) DeleteRedirectionById(ctx context.Context, rewriteId string) error

func (*ClbService) DeleteRuleById

func (me *ClbService) DeleteRuleById(ctx context.Context, clbId string, listenerId string, locationId string) error

func (*ClbService) DeleteTarget

func (me *ClbService) DeleteTarget(ctx context.Context, targetGroupId string) error

func (*ClbService) DeregisterTargetInstances

func (me *ClbService) DeregisterTargetInstances(ctx context.Context, targetGroupId, bindIp string, port uint64) (err error)

func (*ClbService) DescribeAllAutoRedirections

func (me *ClbService) DescribeAllAutoRedirections(ctx context.Context, rewriteId string) (rewriteInfos []*map[string]string, errRet error)

func (*ClbService) DescribeAssociateTargetGroups

func (me *ClbService) DescribeAssociateTargetGroups(ctx context.Context, ids []string) (has bool, err error)

func (*ClbService) DescribeAttachmentByPara

func (me *ClbService) DescribeAttachmentByPara(ctx context.Context, clbId string, listenerId string, locationId string) (clbAttachment *clb.ListenerBackend, errRet error)

func (*ClbService) DescribeAttachmentsByFilter

func (me *ClbService) DescribeAttachmentsByFilter(ctx context.Context, params map[string]string) (clbAttachments []*clb.ListenerBackend, errRet error)

func (*ClbService) DescribeClbClusterResourcesByFilter

func (me *ClbService) DescribeClbClusterResourcesByFilter(ctx context.Context, param map[string]interface{}) (clusterResources []*clb.ClusterResource, errRet error)

func (*ClbService) DescribeClbCrossTargetsByFilter

func (me *ClbService) DescribeClbCrossTargetsByFilter(ctx context.Context, param map[string]interface{}) (crossTargets []*clb.CrossTargets, errRet error)

func (*ClbService) DescribeClbExclusiveClustersByFilter

func (me *ClbService) DescribeClbExclusiveClustersByFilter(ctx context.Context, param map[string]interface{}) (exclusiveClusters []*clb.Cluster, errRet error)

func (*ClbService) DescribeClbFunctionTargetsAttachmentById

func (me *ClbService) DescribeClbFunctionTargetsAttachmentById(ctx context.Context, loadBalancerId string, listenerId string,
	locationId string, domain string, url string) (functionTargets []*clb.FunctionTarget, locationIdTarget, domainTarget, urlTarget string, errRet error)

func (*ClbService) DescribeClbIdleInstancesByFilter

func (me *ClbService) DescribeClbIdleInstancesByFilter(ctx context.Context, param map[string]interface{}) (idleLoadbalancers []*clb.IdleLoadBalancer, errRet error)

func (*ClbService) DescribeClbInstanceByCertId

func (me *ClbService) DescribeClbInstanceByCertId(ctx context.Context, param map[string]interface{}) (instances []*clb.CertIdRelatedWithLoadBalancers, errRet error)

func (*ClbService) DescribeClbInstanceDetailByFilter

func (me *ClbService) DescribeClbInstanceDetailByFilter(ctx context.Context, param map[string]interface{}) (instanceDetail []*clb.LoadBalancerDetail, errRet error)

func (*ClbService) DescribeClbInstanceTraffic

func (me *ClbService) DescribeClbInstanceTraffic(ctx context.Context, param map[string]interface{}) (instanceTraffic []*clb.LoadBalancerTraffic, errRet error)

func (*ClbService) DescribeClbListenersByTargets

func (me *ClbService) DescribeClbListenersByTargets(ctx context.Context, param map[string]interface{}) (listenersByTargets []*clb.LBItem, errRet error)

func (*ClbService) DescribeClbLogSet

func (me *ClbService) DescribeClbLogSet(ctx context.Context) (logSetId string, healthId string, errRet error)

func (*ClbService) DescribeClbResourcesByFilter

func (me *ClbService) DescribeClbResourcesByFilter(ctx context.Context, param map[string]interface{}) (resources []*clb.ZoneResource, errRet error)

func (*ClbService) DescribeClbTargetGroupAttachmentsById

func (me *ClbService) DescribeClbTargetGroupAttachmentsById(ctx context.Context, targetGroups []string, associationsSet map[string]struct{}) (targetGroupAttachments []string, errRet error)

func (*ClbService) DescribeClbTargetGroupListByFilter

func (me *ClbService) DescribeClbTargetGroupListByFilter(ctx context.Context, param map[string]interface{}) (targetGroupList []*clb.TargetGroupInfo, errRet error)

func (*ClbService) DescribeClbTargetHealthByFilter

func (me *ClbService) DescribeClbTargetHealthByFilter(ctx context.Context, param map[string]interface{}) (targetHealth []*clb.LoadBalancerHealth, errRet error)

func (*ClbService) DescribeLbCustomizedConfigById

func (me *ClbService) DescribeLbCustomizedConfigById(ctx context.Context, configId string) (customizedConfig *clb.ConfigListItem, errRet error)

func (*ClbService) DescribeListenerById

func (me *ClbService) DescribeListenerById(ctx context.Context, listenerId string, clbId string) (clbListener *clb.Listener, errRet error)

func (*ClbService) DescribeListenersByFilter

func (me *ClbService) DescribeListenersByFilter(ctx context.Context, params map[string]interface{}) (listeners []*clb.Listener, errRet error)

func (*ClbService) DescribeLoadBalancerByFilter

func (me *ClbService) DescribeLoadBalancerByFilter(ctx context.Context, params map[string]interface{}) (clbs []*clb.LoadBalancer, errRet error)

func (*ClbService) DescribeLoadBalancerById

func (me *ClbService) DescribeLoadBalancerById(ctx context.Context, clbId string) (clbInstance *clb.LoadBalancer, errRet error)

func (*ClbService) DescribeRedirectionById

func (me *ClbService) DescribeRedirectionById(ctx context.Context, rewriteId string) (rewriteInfo *map[string]string, errRet error)

func (*ClbService) DescribeRedirectionsByFilter

func (me *ClbService) DescribeRedirectionsByFilter(ctx context.Context, params map[string]string) (rewriteInfos []*map[string]string, errRet error)

func (*ClbService) DescribeRuleByPara

func (me *ClbService) DescribeRuleByPara(ctx context.Context, clbId string, listenerId string, domain string, url string) (clbRule *clb.RuleOutput, errRet error)

func (*ClbService) DescribeRulesByFilter

func (me *ClbService) DescribeRulesByFilter(ctx context.Context, params map[string]string) (rules []*clb.RuleOutput, errRet error)

func (*ClbService) DescribeTargetGroupInstances

func (me *ClbService) DescribeTargetGroupInstances(ctx context.Context, filters map[string]string) (targetGroupInstances []*clb.TargetGroupBackend, errRet error)

func (*ClbService) DescribeTargetGroups

func (me *ClbService) DescribeTargetGroups(ctx context.Context, targetGroupId string, filters map[string]string) (targetGroupInfos []*clb.TargetGroupInfo, errRet error)

func (*ClbService) DescribeTaskStatusById

func (me *ClbService) DescribeTaskStatusById(ctx context.Context, taskId string) (status int64, errRet error)

func (*ClbService) DisassociateTargetGroups

func (me *ClbService) DisassociateTargetGroups(ctx context.Context, targetGroupId, listenerId, clbId, locationId string) (errRet error)

func (*ClbService) ModifyTargetGroup

func (me *ClbService) ModifyTargetGroup(ctx context.Context, targetGroupId, targetGroupName string, port uint64) (err error)

func (*ClbService) ModifyTargetGroupInstancesPort

func (me *ClbService) ModifyTargetGroupInstancesPort(ctx context.Context, targetGroupId, bindIp string, port, weight uint64) (errRet error)

func (*ClbService) ModifyTargetGroupInstancesWeight

func (me *ClbService) ModifyTargetGroupInstancesWeight(ctx context.Context, targetGroupId, bindIp string, port, weight uint64) (errRet error)

func (*ClbService) ModifyTargetPort

func (me *ClbService) ModifyTargetPort(ctx context.Context, loadBalancerId, listenerId string, target clb.Target, newPort int64) (errRet error)

not use

func (*ClbService) ModifyTargetWeight

func (me *ClbService) ModifyTargetWeight(ctx context.Context, loadBalancerId, listenerId string, target clb.Target, weight int64) (errRet error)

not use

func (*ClbService) RegisterTargetInstances

func (me *ClbService) RegisterTargetInstances(ctx context.Context, targetGroupId, bindIp string, port, weight uint64) (err error)

func (*ClbService) SetClbSecurityGroup

func (me *ClbService) SetClbSecurityGroup(ctx context.Context, securityGroup string, lbId string, operation string) (errRet error)

func (*ClbService) UpdateClsLogSet

func (me *ClbService) UpdateClsLogSet(ctx context.Context, request *cls.ModifyLogsetRequest) (errRet error)

type ClsService

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

func NewClsService

func NewClsService(client *connectivity.TencentCloudClient) ClsService

func (*ClsService) DeleteClsAlarmById

func (me *ClsService) DeleteClsAlarmById(ctx context.Context, alarmId string) (errRet error)

func (*ClsService) DeleteClsAlarmNoticeById

func (me *ClsService) DeleteClsAlarmNoticeById(ctx context.Context, alarmNoticeId string) (errRet error)

func (*ClsService) DeleteClsCkafkaConsumerById

func (me *ClsService) DeleteClsCkafkaConsumerById(ctx context.Context, topicId string) (errRet error)

func (*ClsService) DeleteClsConfig

func (me *ClsService) DeleteClsConfig(ctx context.Context, id string) (errRet error)

func (*ClsService) DeleteClsConfigExtra

func (me *ClsService) DeleteClsConfigExtra(ctx context.Context, id string) (errRet error)

func (*ClsService) DeleteClsCosShipper

func (me *ClsService) DeleteClsCosShipper(ctx context.Context, id string) (errRet error)

func (*ClsService) DeleteClsDataTransformById

func (me *ClsService) DeleteClsDataTransformById(ctx context.Context, taskId string) (errRet error)

func (*ClsService) DeleteClsExportById

func (me *ClsService) DeleteClsExportById(ctx context.Context, exportId string) (errRet error)

func (*ClsService) DeleteClsIndex

func (me *ClsService) DeleteClsIndex(ctx context.Context, id string) (errRet error)

cls index

func (*ClsService) DeleteClsKafkaRechargeById

func (me *ClsService) DeleteClsKafkaRechargeById(ctx context.Context, id string, topic string) (errRet error)

func (*ClsService) DeleteClsLogsetById

func (me *ClsService) DeleteClsLogsetById(ctx context.Context, logsetId string) (errRet error)

func (*ClsService) DeleteClsMachineGroup

func (me *ClsService) DeleteClsMachineGroup(ctx context.Context, id string) (errRet error)

func (*ClsService) DeleteClsScheduledSqlById

func (me *ClsService) DeleteClsScheduledSqlById(ctx context.Context, taskId string, srcTopicId string) (errRet error)

func (*ClsService) DeleteClsTopic

func (me *ClsService) DeleteClsTopic(ctx context.Context, id string) (errRet error)

func (*ClsService) DescribeClsAlarmById

func (me *ClsService) DescribeClsAlarmById(ctx context.Context, alarmId string) (alarm *cls.AlarmInfo, errRet error)

func (*ClsService) DescribeClsAlarmNoticeById

func (me *ClsService) DescribeClsAlarmNoticeById(ctx context.Context, alarmNoticeId string) (alarmNotice *cls.AlarmNotice, errRet error)

func (*ClsService) DescribeClsCkafkaConsumerById

func (me *ClsService) DescribeClsCkafkaConsumerById(ctx context.Context, topicId string) (ckafkaConsumer *cls.DescribeConsumerResponseParams, errRet error)

func (*ClsService) DescribeClsConfigById

func (me *ClsService) DescribeClsConfigById(ctx context.Context, configId string) (config *cls.ConfigInfo, errRet error)

cls config

func (*ClsService) DescribeClsConfigExtraById

func (me *ClsService) DescribeClsConfigExtraById(ctx context.Context, configExtraId string) (config *cls.ConfigExtraInfo, errRet error)

cls config extra

func (*ClsService) DescribeClsCosRechargeById

func (me *ClsService) DescribeClsCosRechargeById(ctx context.Context, topicId string, rechargeId string) (cosRecharge *cls.CosRechargeInfo, errRet error)

func (*ClsService) DescribeClsCosShipperById

func (me *ClsService) DescribeClsCosShipperById(ctx context.Context, shipperId string) (instance *cls.ShipperInfo, errRet error)

func (*ClsService) DescribeClsCosShippersByFilter

func (me *ClsService) DescribeClsCosShippersByFilter(ctx context.Context, filters map[string]string) (instances []*cls.ShipperInfo, errRet error)

cls cos shipper

func (*ClsService) DescribeClsDataTransformById

func (me *ClsService) DescribeClsDataTransformById(ctx context.Context, taskId string) (dataTransform *cls.DataTransformTaskInfo, errRet error)

func (*ClsService) DescribeClsExportById

func (me *ClsService) DescribeClsExportById(ctx context.Context, topicId string, exportId string) (export *cls.ExportInfo, errRet error)

func (*ClsService) DescribeClsKafkaRechargeById

func (me *ClsService) DescribeClsKafkaRechargeById(ctx context.Context, id string, topic string) (kafkaRecharge *cls.KafkaRechargeInfo, errRet error)

func (*ClsService) DescribeClsLogset

func (me *ClsService) DescribeClsLogset(ctx context.Context, logsetId string) (logset *cls.LogsetInfo, errRet error)

cls logset

func (*ClsService) DescribeClsLogsetByFilter

func (me *ClsService) DescribeClsLogsetByFilter(ctx context.Context, filters map[string]string) (instances []*cls.LogsetInfo, errRet error)

func (*ClsService) DescribeClsMachineGroupByConfigId

func (me *ClsService) DescribeClsMachineGroupByConfigId(ctx context.Context, configId, groupId string) (machineGroup *cls.MachineGroupInfo, errRet error)

func (*ClsService) DescribeClsMachineGroupByFilter

func (me *ClsService) DescribeClsMachineGroupByFilter(ctx context.Context, filters map[string]string) (instances []*cls.MachineGroupInfo, errRet error)

cls machine group

func (*ClsService) DescribeClsMachineGroupById

func (me *ClsService) DescribeClsMachineGroupById(ctx context.Context, id string) (machineGroup *cls.MachineGroupInfo, errRet error)

func (*ClsService) DescribeClsMachineGroupConfigsByFilter

func (me *ClsService) DescribeClsMachineGroupConfigsByFilter(ctx context.Context, param map[string]interface{}) (machineGroupConfigs []*cls.ConfigInfo, errRet error)

func (*ClsService) DescribeClsMachinesByFilter

func (me *ClsService) DescribeClsMachinesByFilter(ctx context.Context, param map[string]interface{}) (machines []*cls.MachineInfo, errRet error)

func (*ClsService) DescribeClsScheduledSqlById

func (me *ClsService) DescribeClsScheduledSqlById(ctx context.Context, taskId string) (scheduledSql *cls.ScheduledSqlTaskInfo, errRet error)

func (*ClsService) DescribeClsShipperTasksByFilter

func (me *ClsService) DescribeClsShipperTasksByFilter(ctx context.Context, param map[string]interface{}) (shipperTasks []*cls.ShipperTaskInfo, errRet error)

func (*ClsService) DescribeClsTopicByFilter

func (me *ClsService) DescribeClsTopicByFilter(ctx context.Context, filters map[string]string) (instances []*cls.TopicInfo, errRet error)

cls topic

func (*ClsService) DescribeClsTopicById

func (me *ClsService) DescribeClsTopicById(ctx context.Context, topicId string) (topic *cls.TopicInfo, errRet error)

type SSLService

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

func (*SSLService) ApplyCertificate

func (me *SSLService) ApplyCertificate(ctx context.Context, request *ssl.ApplyCertificateRequest) (id string, errRet error)

func (*SSLService) CancelAuditCertificate

func (me *SSLService) CancelAuditCertificate(ctx context.Context, request *ssl.CancelAuditCertificateRequest) (err error)

func (*SSLService) CancelCertificateOrder

func (me *SSLService) CancelCertificateOrder(ctx context.Context, request *ssl.CancelCertificateOrderRequest) (err error)

func (*SSLService) CommitCertificateInformation

func (me *SSLService) CommitCertificateInformation(ctx context.Context, request *ssl.CommitCertificateInformationRequest) (errRet error)

func (*SSLService) CreateCertificate

func (me *SSLService) CreateCertificate(ctx context.Context, request *ssl.CreateCertificateRequest) (certificateId, dealId string, errRet error)

func (*SSLService) DeleteCertificate

func (me *SSLService) DeleteCertificate(ctx context.Context, request *ssl.DeleteCertificateRequest) (deleteResult bool, err error)

func (*SSLService) DescribeCertificateDetail

func (me *SSLService) DescribeCertificateDetail(ctx context.Context, request *ssl.DescribeCertificateDetailRequest) (response *ssl.DescribeCertificateDetailResponse, err error)

func (*SSLService) DescribeCertificates

func (me *SSLService) DescribeCertificates(ctx context.Context, request *ssl.DescribeCertificatesRequest) (certificateList []*ssl.Certificates, err error)

func (*SSLService) ModifyCertificateAlias

func (me *SSLService) ModifyCertificateAlias(ctx context.Context, request *ssl.ModifyCertificateAliasRequest) (err error)

func (*SSLService) ModifyCertificateProject

func (me *SSLService) ModifyCertificateProject(ctx context.Context, request *ssl.ModifyCertificateProjectRequest) (err error)

func (*SSLService) ModifyCertificateResubmit

func (me *SSLService) ModifyCertificateResubmit(ctx context.Context, request *ssl.ModifyCertificateResubmitRequest) (err error)

func (*SSLService) SubmitCertificateInformation

func (me *SSLService) SubmitCertificateInformation(ctx context.Context, request *ssl.SubmitCertificateInformationRequest) (err error)

func (*SSLService) UploadCertificate

func (me *SSLService) UploadCertificate(ctx context.Context, request *ssl.UploadCertificateRequest) (id string, err error)

func (*SSLService) UploadConfirmLetter

func (me *SSLService) UploadConfirmLetter(ctx context.Context, request *ssl.UploadConfirmLetterRequest) (err error)

type SslService

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

func (*SslService) CheckCertificateType

func (me *SslService) CheckCertificateType(ctx context.Context, certId string, checkType string) (bool, error)

func (*SslService) CreateCertificate

func (me *SslService) CreateCertificate(ctx context.Context, certType, cert, name string, projectId int, key *string) (id string, err error)

func (*SslService) DeleteCertificate

func (me *SslService) DeleteCertificate(ctx context.Context, id string) error

func (*SslService) DescribeCertificates

func (me *SslService) DescribeCertificates(ctx context.Context, id, name, certType *string) (certificates []*ssl.SSLCertificate, err error)

func (*SslService) DescribeSslDescribeCertificateBindResourceTaskDetailByFilter

func (me *SslService) DescribeSslDescribeCertificateBindResourceTaskDetailByFilter(ctx context.Context, param map[string]interface{}) (describeCertificateBindResourceTaskDetail *ssl.DescribeCertificateBindResourceTaskDetailResponseParams, errRet error)

func (*SslService) DescribeSslDescribeCertificateBindResourceTaskResultByFilter

func (me *SslService) DescribeSslDescribeCertificateBindResourceTaskResultByFilter(ctx context.Context, param map[string]interface{}) (describeCertificateBindResourceTaskResult []*ssl.SyncTaskBindResourceResult, errRet error)

func (*SslService) DescribeSslDescribeCertificateByID

func (me *SslService) DescribeSslDescribeCertificateByID(ctx context.Context, certificateId string) (describeCertificate *ssl.DescribeCertificateResponseParams, errRet error)

func (*SslService) DescribeSslDescribeCompaniesByFilter

func (me *SslService) DescribeSslDescribeCompaniesByFilter(ctx context.Context, param map[string]interface{}) (describeCompanies []*ssl.CompanyInfo, errRet error)

func (*SslService) DescribeSslDescribeHostApiGatewayInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostApiGatewayInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostApiGatewayInstanceList []*ssl.ApiGatewayInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostCdnInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostCdnInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostCdnInstanceList *ssl.DescribeHostCdnInstanceListResponseParams, err error)

func (*SslService) DescribeSslDescribeHostClbInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostClbInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostClbInstanceList *ssl.DescribeHostClbInstanceListResponseParams, err error)

func (*SslService) DescribeSslDescribeHostCosInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostCosInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostCosInstanceList *ssl.DescribeHostCosInstanceListResponseParams, errRet error)

func (*SslService) DescribeSslDescribeHostDdosInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostDdosInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostDdosInstanceList []*ssl.DdosInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostDeployRecordByFilter

func (me *SslService) DescribeSslDescribeHostDeployRecordByFilter(ctx context.Context, param map[string]interface{}) (describeHostDeployRecord []*ssl.DeployRecordInfo, errRet error)

func (*SslService) DescribeSslDescribeHostDeployRecordDetailByFilter

func (me *SslService) DescribeSslDescribeHostDeployRecordDetailByFilter(
	ctx context.Context, param map[string]interface{}) (
	describeHostDeployRecordDetail []*ssl.DeployRecordDetail,
	successTotalCount *int64, failedTotalCount *int64, runningTotalCount *int64,
	errRet error)

func (*SslService) DescribeSslDescribeHostLighthouseInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostLighthouseInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostLighthouseInstanceList []*ssl.LighthouseInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostLiveInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostLiveInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostLiveInstanceList []*ssl.LiveInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostTeoInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostTeoInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostTeoInstanceList []*ssl.TeoInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostTkeInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostTkeInstanceListByFilter(
	ctx context.Context, param map[string]interface{}) (
	describeHostTkeInstanceList []*ssl.TkeInstanceDetail,
	asyncTotalNum *int64, asyncOffset *int64, asyncCacheTime *string, errRet error)

func (*SslService) DescribeSslDescribeHostUpdateRecordByFilter

func (me *SslService) DescribeSslDescribeHostUpdateRecordByFilter(ctx context.Context, param map[string]interface{}) (describeHostUpdateRecord []*ssl.UpdateRecordInfo, errRet error)

func (*SslService) DescribeSslDescribeHostUpdateRecordDetailByFilter

func (me *SslService) DescribeSslDescribeHostUpdateRecordDetailByFilter(
	ctx context.Context, param map[string]interface{}) (
	describeHostUpdateRecordDetail []*ssl.UpdateRecordDetails,
	successTotalCount *int64, failedTotalCount *int64, runningTotalCount *int64, errRet error)

func (*SslService) DescribeSslDescribeHostVodInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostVodInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostVodInstanceList []*ssl.VodInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostWafInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostWafInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostWafInstanceList []*ssl.LiveInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeManagerDetailByFilter

func (me *SslService) DescribeSslDescribeManagerDetailByFilter(ctx context.Context, managerId string) (describeManagerDetailResponse *ssl.DescribeManagerDetailResponseParams, errRet error)

func (*SslService) DescribeSslDescribeManagersByFilter

func (me *SslService) DescribeSslDescribeManagersByFilter(ctx context.Context, param map[string]interface{}) (describeManagers []*ssl.ManagerInfo, errRet error)

type TagService

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

func (*TagService) DeleteTagResourceById

func (me *TagService) DeleteTagResourceById(ctx context.Context, tagKey string, tagValue string) (errRet error)

func (*TagService) DeleteTagTagAttachmentById

func (me *TagService) DeleteTagTagAttachmentById(ctx context.Context, tagKey string, resource string) (errRet error)

func (*TagService) DescribeProjectById

func (me *TagService) DescribeProjectById(ctx context.Context, projectId uint64) (project *tag.Project, disable *uint64, errRet error)

func (*TagService) DescribeProjects

func (me *TagService) DescribeProjects(ctx context.Context, param map[string]interface{}) (project []*tag.Project, errRet error)

func (*TagService) DescribeResourceTags

func (me *TagService) DescribeResourceTags(ctx context.Context, serviceType, resourceType, region, resourceId string) (tags map[string]string, err error)

func (*TagService) DescribeTagResourceById

func (me *TagService) DescribeTagResourceById(ctx context.Context, tagKey string, tagValue string) (tagRes *tag.Tag, errRet error)

func (*TagService) DescribeTagTagAttachmentById

func (me *TagService) DescribeTagTagAttachmentById(ctx context.Context, tagKey string, tagValue string, resource string) (resourceTag *tag.ResourceTagMapping, errRet error)

func (*TagService) DisableProjectById

func (me *TagService) DisableProjectById(ctx context.Context, projectId uint64) (errRet error)

func (*TagService) ModifyTags

func (me *TagService) ModifyTags(ctx context.Context, resourceName string, replaceTags map[string]string, deleteKeys []string) error

Source Files

Jump to

Keyboard shortcuts

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