Documentation ¶
Index ¶
- Constants
- type AssociateTargetGroupsRequest
- type AssociateTargetGroupsRequestParams
- type AssociateTargetGroupsResponse
- type AssociateTargetGroupsResponseParams
- type AssociationItem
- type AutoRewriteRequest
- type AutoRewriteRequestParams
- type AutoRewriteResponse
- type AutoRewriteResponseParams
- type Backend
- type BasicTargetGroupInfo
- type BatchDeregisterTargetsRequest
- type BatchDeregisterTargetsRequestParams
- type BatchDeregisterTargetsResponse
- type BatchDeregisterTargetsResponseParams
- type BatchModifyTargetWeightRequest
- type BatchModifyTargetWeightRequestParams
- type BatchModifyTargetWeightResponse
- type BatchModifyTargetWeightResponseParams
- type BatchRegisterTargetsRequest
- type BatchRegisterTargetsRequestParams
- type BatchRegisterTargetsResponse
- type BatchRegisterTargetsResponseParams
- type BatchTarget
- type BindDetailItem
- type BlockedIP
- type CertIdRelatedWithLoadBalancers
- type CertInfo
- type CertificateInput
- type CertificateOutput
- type ClassicalHealth
- type ClassicalListener
- type ClassicalLoadBalancerInfo
- type ClassicalTarget
- type ClassicalTargetInfo
- type Client
- func (c *Client) AssociateTargetGroups(request *AssociateTargetGroupsRequest) (response *AssociateTargetGroupsResponse, err error)
- func (c *Client) AssociateTargetGroupsWithContext(ctx context.Context, request *AssociateTargetGroupsRequest) (response *AssociateTargetGroupsResponse, err error)
- func (c *Client) AutoRewrite(request *AutoRewriteRequest) (response *AutoRewriteResponse, err error)
- func (c *Client) AutoRewriteWithContext(ctx context.Context, request *AutoRewriteRequest) (response *AutoRewriteResponse, err error)
- func (c *Client) BatchDeregisterTargets(request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)
- func (c *Client) BatchDeregisterTargetsWithContext(ctx context.Context, request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)
- func (c *Client) BatchModifyTargetWeight(request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)
- func (c *Client) BatchModifyTargetWeightWithContext(ctx context.Context, request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)
- func (c *Client) BatchRegisterTargets(request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)
- func (c *Client) BatchRegisterTargetsWithContext(ctx context.Context, request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)
- func (c *Client) CloneLoadBalancer(request *CloneLoadBalancerRequest) (response *CloneLoadBalancerResponse, err error)
- func (c *Client) CloneLoadBalancerWithContext(ctx context.Context, request *CloneLoadBalancerRequest) (response *CloneLoadBalancerResponse, err error)
- func (c *Client) CreateClsLogSet(request *CreateClsLogSetRequest) (response *CreateClsLogSetResponse, err error)
- func (c *Client) CreateClsLogSetWithContext(ctx context.Context, request *CreateClsLogSetRequest) (response *CreateClsLogSetResponse, err error)
- func (c *Client) CreateListener(request *CreateListenerRequest) (response *CreateListenerResponse, err error)
- func (c *Client) CreateListenerWithContext(ctx context.Context, request *CreateListenerRequest) (response *CreateListenerResponse, err error)
- func (c *Client) CreateLoadBalancer(request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
- func (c *Client) CreateLoadBalancerSnatIps(request *CreateLoadBalancerSnatIpsRequest) (response *CreateLoadBalancerSnatIpsResponse, err error)
- func (c *Client) CreateLoadBalancerSnatIpsWithContext(ctx context.Context, request *CreateLoadBalancerSnatIpsRequest) (response *CreateLoadBalancerSnatIpsResponse, err error)
- func (c *Client) CreateLoadBalancerWithContext(ctx context.Context, request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
- func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
- func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
- func (c *Client) CreateTargetGroup(request *CreateTargetGroupRequest) (response *CreateTargetGroupResponse, err error)
- func (c *Client) CreateTargetGroupWithContext(ctx context.Context, request *CreateTargetGroupRequest) (response *CreateTargetGroupResponse, err error)
- func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)
- func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)
- func (c *Client) DeleteListener(request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)
- func (c *Client) DeleteListenerWithContext(ctx context.Context, request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)
- func (c *Client) DeleteLoadBalancer(request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
- func (c *Client) DeleteLoadBalancerListeners(request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)
- func (c *Client) DeleteLoadBalancerListenersWithContext(ctx context.Context, request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)
- func (c *Client) DeleteLoadBalancerSnatIps(request *DeleteLoadBalancerSnatIpsRequest) (response *DeleteLoadBalancerSnatIpsResponse, err error)
- func (c *Client) DeleteLoadBalancerSnatIpsWithContext(ctx context.Context, request *DeleteLoadBalancerSnatIpsRequest) (response *DeleteLoadBalancerSnatIpsResponse, err error)
- func (c *Client) DeleteLoadBalancerWithContext(ctx context.Context, request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
- func (c *Client) DeleteRewrite(request *DeleteRewriteRequest) (response *DeleteRewriteResponse, err error)
- func (c *Client) DeleteRewriteWithContext(ctx context.Context, request *DeleteRewriteRequest) (response *DeleteRewriteResponse, err error)
- func (c *Client) DeleteRule(request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
- func (c *Client) DeleteRuleWithContext(ctx context.Context, request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
- func (c *Client) DeleteTargetGroups(request *DeleteTargetGroupsRequest) (response *DeleteTargetGroupsResponse, err error)
- func (c *Client) DeleteTargetGroupsWithContext(ctx context.Context, request *DeleteTargetGroupsRequest) (response *DeleteTargetGroupsResponse, err error)
- func (c *Client) DeregisterFunctionTargets(request *DeregisterFunctionTargetsRequest) (response *DeregisterFunctionTargetsResponse, err error)
- func (c *Client) DeregisterFunctionTargetsWithContext(ctx context.Context, request *DeregisterFunctionTargetsRequest) (response *DeregisterFunctionTargetsResponse, err error)
- func (c *Client) DeregisterTargetGroupInstances(request *DeregisterTargetGroupInstancesRequest) (response *DeregisterTargetGroupInstancesResponse, err error)
- func (c *Client) DeregisterTargetGroupInstancesWithContext(ctx context.Context, request *DeregisterTargetGroupInstancesRequest) (response *DeregisterTargetGroupInstancesResponse, err error)
- func (c *Client) DeregisterTargets(request *DeregisterTargetsRequest) (response *DeregisterTargetsResponse, err error)
- func (c *Client) DeregisterTargetsFromClassicalLB(request *DeregisterTargetsFromClassicalLBRequest) (response *DeregisterTargetsFromClassicalLBResponse, err error)
- func (c *Client) DeregisterTargetsFromClassicalLBWithContext(ctx context.Context, request *DeregisterTargetsFromClassicalLBRequest) (response *DeregisterTargetsFromClassicalLBResponse, err error)
- func (c *Client) DeregisterTargetsWithContext(ctx context.Context, request *DeregisterTargetsRequest) (response *DeregisterTargetsResponse, err error)
- func (c *Client) DescribeBlockIPList(request *DescribeBlockIPListRequest) (response *DescribeBlockIPListResponse, err error)
- func (c *Client) DescribeBlockIPListWithContext(ctx context.Context, request *DescribeBlockIPListRequest) (response *DescribeBlockIPListResponse, err error)
- func (c *Client) DescribeBlockIPTask(request *DescribeBlockIPTaskRequest) (response *DescribeBlockIPTaskResponse, err error)
- func (c *Client) DescribeBlockIPTaskWithContext(ctx context.Context, request *DescribeBlockIPTaskRequest) (response *DescribeBlockIPTaskResponse, err error)
- func (c *Client) DescribeClassicalLBByInstanceId(request *DescribeClassicalLBByInstanceIdRequest) (response *DescribeClassicalLBByInstanceIdResponse, err error)
- func (c *Client) DescribeClassicalLBByInstanceIdWithContext(ctx context.Context, request *DescribeClassicalLBByInstanceIdRequest) (response *DescribeClassicalLBByInstanceIdResponse, err error)
- func (c *Client) DescribeClassicalLBHealthStatus(request *DescribeClassicalLBHealthStatusRequest) (response *DescribeClassicalLBHealthStatusResponse, err error)
- func (c *Client) DescribeClassicalLBHealthStatusWithContext(ctx context.Context, request *DescribeClassicalLBHealthStatusRequest) (response *DescribeClassicalLBHealthStatusResponse, err error)
- func (c *Client) DescribeClassicalLBListeners(request *DescribeClassicalLBListenersRequest) (response *DescribeClassicalLBListenersResponse, err error)
- func (c *Client) DescribeClassicalLBListenersWithContext(ctx context.Context, request *DescribeClassicalLBListenersRequest) (response *DescribeClassicalLBListenersResponse, err error)
- func (c *Client) DescribeClassicalLBTargets(request *DescribeClassicalLBTargetsRequest) (response *DescribeClassicalLBTargetsResponse, err error)
- func (c *Client) DescribeClassicalLBTargetsWithContext(ctx context.Context, request *DescribeClassicalLBTargetsRequest) (response *DescribeClassicalLBTargetsResponse, err error)
- func (c *Client) DescribeClsLogSet(request *DescribeClsLogSetRequest) (response *DescribeClsLogSetResponse, err error)
- func (c *Client) DescribeClsLogSetWithContext(ctx context.Context, request *DescribeClsLogSetRequest) (response *DescribeClsLogSetResponse, err error)
- func (c *Client) DescribeCrossTargets(request *DescribeCrossTargetsRequest) (response *DescribeCrossTargetsResponse, err error)
- func (c *Client) DescribeCrossTargetsWithContext(ctx context.Context, request *DescribeCrossTargetsRequest) (response *DescribeCrossTargetsResponse, err error)
- func (c *Client) DescribeCustomizedConfigAssociateList(request *DescribeCustomizedConfigAssociateListRequest) (response *DescribeCustomizedConfigAssociateListResponse, err error)
- func (c *Client) DescribeCustomizedConfigAssociateListWithContext(ctx context.Context, request *DescribeCustomizedConfigAssociateListRequest) (response *DescribeCustomizedConfigAssociateListResponse, err error)
- func (c *Client) DescribeCustomizedConfigList(request *DescribeCustomizedConfigListRequest) (response *DescribeCustomizedConfigListResponse, err error)
- func (c *Client) DescribeCustomizedConfigListWithContext(ctx context.Context, request *DescribeCustomizedConfigListRequest) (response *DescribeCustomizedConfigListResponse, err error)
- func (c *Client) DescribeIdleLoadBalancers(request *DescribeIdleLoadBalancersRequest) (response *DescribeIdleLoadBalancersResponse, err error)
- func (c *Client) DescribeIdleLoadBalancersWithContext(ctx context.Context, request *DescribeIdleLoadBalancersRequest) (response *DescribeIdleLoadBalancersResponse, err error)
- func (c *Client) DescribeLBListeners(request *DescribeLBListenersRequest) (response *DescribeLBListenersResponse, err error)
- func (c *Client) DescribeLBListenersWithContext(ctx context.Context, request *DescribeLBListenersRequest) (response *DescribeLBListenersResponse, err error)
- func (c *Client) DescribeListeners(request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)
- func (c *Client) DescribeListenersWithContext(ctx context.Context, request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)
- func (c *Client) DescribeLoadBalancerListByCertId(request *DescribeLoadBalancerListByCertIdRequest) (response *DescribeLoadBalancerListByCertIdResponse, err error)
- func (c *Client) DescribeLoadBalancerListByCertIdWithContext(ctx context.Context, request *DescribeLoadBalancerListByCertIdRequest) (response *DescribeLoadBalancerListByCertIdResponse, err error)
- func (c *Client) DescribeLoadBalancerOverview(request *DescribeLoadBalancerOverviewRequest) (response *DescribeLoadBalancerOverviewResponse, err error)
- func (c *Client) DescribeLoadBalancerOverviewWithContext(ctx context.Context, request *DescribeLoadBalancerOverviewRequest) (response *DescribeLoadBalancerOverviewResponse, err error)
- func (c *Client) DescribeLoadBalancerTraffic(request *DescribeLoadBalancerTrafficRequest) (response *DescribeLoadBalancerTrafficResponse, err error)
- func (c *Client) DescribeLoadBalancerTrafficWithContext(ctx context.Context, request *DescribeLoadBalancerTrafficRequest) (response *DescribeLoadBalancerTrafficResponse, err error)
- func (c *Client) DescribeLoadBalancers(request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)
- func (c *Client) DescribeLoadBalancersDetail(request *DescribeLoadBalancersDetailRequest) (response *DescribeLoadBalancersDetailResponse, err error)
- func (c *Client) DescribeLoadBalancersDetailWithContext(ctx context.Context, request *DescribeLoadBalancersDetailRequest) (response *DescribeLoadBalancersDetailResponse, err error)
- func (c *Client) DescribeLoadBalancersWithContext(ctx context.Context, request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)
- func (c *Client) DescribeQuota(request *DescribeQuotaRequest) (response *DescribeQuotaResponse, err error)
- func (c *Client) DescribeQuotaWithContext(ctx context.Context, request *DescribeQuotaRequest) (response *DescribeQuotaResponse, err error)
- func (c *Client) DescribeResources(request *DescribeResourcesRequest) (response *DescribeResourcesResponse, err error)
- func (c *Client) DescribeResourcesWithContext(ctx context.Context, request *DescribeResourcesRequest) (response *DescribeResourcesResponse, err error)
- func (c *Client) DescribeRewrite(request *DescribeRewriteRequest) (response *DescribeRewriteResponse, err error)
- func (c *Client) DescribeRewriteWithContext(ctx context.Context, request *DescribeRewriteRequest) (response *DescribeRewriteResponse, err error)
- func (c *Client) DescribeTargetGroupInstances(request *DescribeTargetGroupInstancesRequest) (response *DescribeTargetGroupInstancesResponse, err error)
- func (c *Client) DescribeTargetGroupInstancesWithContext(ctx context.Context, request *DescribeTargetGroupInstancesRequest) (response *DescribeTargetGroupInstancesResponse, err error)
- func (c *Client) DescribeTargetGroupList(request *DescribeTargetGroupListRequest) (response *DescribeTargetGroupListResponse, err error)
- func (c *Client) DescribeTargetGroupListWithContext(ctx context.Context, request *DescribeTargetGroupListRequest) (response *DescribeTargetGroupListResponse, err error)
- func (c *Client) DescribeTargetGroups(request *DescribeTargetGroupsRequest) (response *DescribeTargetGroupsResponse, err error)
- func (c *Client) DescribeTargetGroupsWithContext(ctx context.Context, request *DescribeTargetGroupsRequest) (response *DescribeTargetGroupsResponse, err error)
- func (c *Client) DescribeTargetHealth(request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)
- func (c *Client) DescribeTargetHealthWithContext(ctx context.Context, request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)
- func (c *Client) DescribeTargets(request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)
- func (c *Client) DescribeTargetsWithContext(ctx context.Context, request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)
- func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
- func (c *Client) DescribeTaskStatusWithContext(ctx context.Context, request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
- func (c *Client) DisassociateTargetGroups(request *DisassociateTargetGroupsRequest) (response *DisassociateTargetGroupsResponse, err error)
- func (c *Client) DisassociateTargetGroupsWithContext(ctx context.Context, request *DisassociateTargetGroupsRequest) (response *DisassociateTargetGroupsResponse, err error)
- func (c *Client) InquiryPriceCreateLoadBalancer(request *InquiryPriceCreateLoadBalancerRequest) (response *InquiryPriceCreateLoadBalancerResponse, err error)
- func (c *Client) InquiryPriceCreateLoadBalancerWithContext(ctx context.Context, request *InquiryPriceCreateLoadBalancerRequest) (response *InquiryPriceCreateLoadBalancerResponse, err error)
- func (c *Client) InquiryPriceModifyLoadBalancer(request *InquiryPriceModifyLoadBalancerRequest) (response *InquiryPriceModifyLoadBalancerResponse, err error)
- func (c *Client) InquiryPriceModifyLoadBalancerWithContext(ctx context.Context, request *InquiryPriceModifyLoadBalancerRequest) (response *InquiryPriceModifyLoadBalancerResponse, err error)
- func (c *Client) InquiryPriceRefundLoadBalancer(request *InquiryPriceRefundLoadBalancerRequest) (response *InquiryPriceRefundLoadBalancerResponse, err error)
- func (c *Client) InquiryPriceRefundLoadBalancerWithContext(ctx context.Context, request *InquiryPriceRefundLoadBalancerRequest) (response *InquiryPriceRefundLoadBalancerResponse, err error)
- func (c *Client) InquiryPriceRenewLoadBalancer(request *InquiryPriceRenewLoadBalancerRequest) (response *InquiryPriceRenewLoadBalancerResponse, err error)
- func (c *Client) InquiryPriceRenewLoadBalancerWithContext(ctx context.Context, request *InquiryPriceRenewLoadBalancerRequest) (response *InquiryPriceRenewLoadBalancerResponse, err error)
- func (c *Client) ManualRewrite(request *ManualRewriteRequest) (response *ManualRewriteResponse, err error)
- func (c *Client) ManualRewriteWithContext(ctx context.Context, request *ManualRewriteRequest) (response *ManualRewriteResponse, err error)
- func (c *Client) MigrateClassicalLoadBalancers(request *MigrateClassicalLoadBalancersRequest) (response *MigrateClassicalLoadBalancersResponse, err error)
- func (c *Client) MigrateClassicalLoadBalancersWithContext(ctx context.Context, request *MigrateClassicalLoadBalancersRequest) (response *MigrateClassicalLoadBalancersResponse, err error)
- func (c *Client) ModifyBlockIPList(request *ModifyBlockIPListRequest) (response *ModifyBlockIPListResponse, err error)
- func (c *Client) ModifyBlockIPListWithContext(ctx context.Context, request *ModifyBlockIPListRequest) (response *ModifyBlockIPListResponse, err error)
- func (c *Client) ModifyDomain(request *ModifyDomainRequest) (response *ModifyDomainResponse, err error)
- func (c *Client) ModifyDomainAttributes(request *ModifyDomainAttributesRequest) (response *ModifyDomainAttributesResponse, err error)
- func (c *Client) ModifyDomainAttributesWithContext(ctx context.Context, request *ModifyDomainAttributesRequest) (response *ModifyDomainAttributesResponse, err error)
- func (c *Client) ModifyDomainWithContext(ctx context.Context, request *ModifyDomainRequest) (response *ModifyDomainResponse, err error)
- func (c *Client) ModifyFunctionTargets(request *ModifyFunctionTargetsRequest) (response *ModifyFunctionTargetsResponse, err error)
- func (c *Client) ModifyFunctionTargetsWithContext(ctx context.Context, request *ModifyFunctionTargetsRequest) (response *ModifyFunctionTargetsResponse, err error)
- func (c *Client) ModifyListener(request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)
- func (c *Client) ModifyListenerWithContext(ctx context.Context, request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)
- func (c *Client) ModifyLoadBalancerAttributes(request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)
- func (c *Client) ModifyLoadBalancerAttributesWithContext(ctx context.Context, request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)
- func (c *Client) ModifyLoadBalancerSla(request *ModifyLoadBalancerSlaRequest) (response *ModifyLoadBalancerSlaResponse, err error)
- func (c *Client) ModifyLoadBalancerSlaWithContext(ctx context.Context, request *ModifyLoadBalancerSlaRequest) (response *ModifyLoadBalancerSlaResponse, err error)
- func (c *Client) ModifyLoadBalancersProject(request *ModifyLoadBalancersProjectRequest) (response *ModifyLoadBalancersProjectResponse, err error)
- func (c *Client) ModifyLoadBalancersProjectWithContext(ctx context.Context, request *ModifyLoadBalancersProjectRequest) (response *ModifyLoadBalancersProjectResponse, err error)
- func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
- func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
- func (c *Client) ModifyTargetGroupAttribute(request *ModifyTargetGroupAttributeRequest) (response *ModifyTargetGroupAttributeResponse, err error)
- func (c *Client) ModifyTargetGroupAttributeWithContext(ctx context.Context, request *ModifyTargetGroupAttributeRequest) (response *ModifyTargetGroupAttributeResponse, err error)
- func (c *Client) ModifyTargetGroupInstancesPort(request *ModifyTargetGroupInstancesPortRequest) (response *ModifyTargetGroupInstancesPortResponse, err error)
- func (c *Client) ModifyTargetGroupInstancesPortWithContext(ctx context.Context, request *ModifyTargetGroupInstancesPortRequest) (response *ModifyTargetGroupInstancesPortResponse, err error)
- func (c *Client) ModifyTargetGroupInstancesWeight(request *ModifyTargetGroupInstancesWeightRequest) (response *ModifyTargetGroupInstancesWeightResponse, err error)
- func (c *Client) ModifyTargetGroupInstancesWeightWithContext(ctx context.Context, request *ModifyTargetGroupInstancesWeightRequest) (response *ModifyTargetGroupInstancesWeightResponse, err error)
- func (c *Client) ModifyTargetPort(request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)
- func (c *Client) ModifyTargetPortWithContext(ctx context.Context, request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)
- func (c *Client) ModifyTargetWeight(request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)
- func (c *Client) ModifyTargetWeightWithContext(ctx context.Context, request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)
- func (c *Client) RegisterFunctionTargets(request *RegisterFunctionTargetsRequest) (response *RegisterFunctionTargetsResponse, err error)
- func (c *Client) RegisterFunctionTargetsWithContext(ctx context.Context, request *RegisterFunctionTargetsRequest) (response *RegisterFunctionTargetsResponse, err error)
- func (c *Client) RegisterTargetGroupInstances(request *RegisterTargetGroupInstancesRequest) (response *RegisterTargetGroupInstancesResponse, err error)
- func (c *Client) RegisterTargetGroupInstancesWithContext(ctx context.Context, request *RegisterTargetGroupInstancesRequest) (response *RegisterTargetGroupInstancesResponse, err error)
- func (c *Client) RegisterTargets(request *RegisterTargetsRequest) (response *RegisterTargetsResponse, err error)
- func (c *Client) RegisterTargetsWithClassicalLB(request *RegisterTargetsWithClassicalLBRequest) (response *RegisterTargetsWithClassicalLBResponse, err error)
- func (c *Client) RegisterTargetsWithClassicalLBWithContext(ctx context.Context, request *RegisterTargetsWithClassicalLBRequest) (response *RegisterTargetsWithClassicalLBResponse, err error)
- func (c *Client) RegisterTargetsWithContext(ctx context.Context, request *RegisterTargetsRequest) (response *RegisterTargetsResponse, err error)
- func (c *Client) ReplaceCertForLoadBalancers(request *ReplaceCertForLoadBalancersRequest) (response *ReplaceCertForLoadBalancersResponse, err error)
- func (c *Client) ReplaceCertForLoadBalancersWithContext(ctx context.Context, request *ReplaceCertForLoadBalancersRequest) (response *ReplaceCertForLoadBalancersResponse, err error)
- func (c *Client) SetCustomizedConfigForLoadBalancer(request *SetCustomizedConfigForLoadBalancerRequest) (response *SetCustomizedConfigForLoadBalancerResponse, err error)
- func (c *Client) SetCustomizedConfigForLoadBalancerWithContext(ctx context.Context, request *SetCustomizedConfigForLoadBalancerRequest) (response *SetCustomizedConfigForLoadBalancerResponse, err error)
- func (c *Client) SetLoadBalancerClsLog(request *SetLoadBalancerClsLogRequest) (response *SetLoadBalancerClsLogResponse, err error)
- func (c *Client) SetLoadBalancerClsLogWithContext(ctx context.Context, request *SetLoadBalancerClsLogRequest) (response *SetLoadBalancerClsLogResponse, err error)
- func (c *Client) SetLoadBalancerSecurityGroups(request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)
- func (c *Client) SetLoadBalancerSecurityGroupsWithContext(ctx context.Context, request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)
- func (c *Client) SetSecurityGroupForLoadbalancers(request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)
- func (c *Client) SetSecurityGroupForLoadbalancersWithContext(ctx context.Context, request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)
- type CloneLoadBalancerRequest
- type CloneLoadBalancerRequestParams
- type CloneLoadBalancerResponse
- type CloneLoadBalancerResponseParams
- type ClusterItem
- type ConfigListItem
- type CreateClsLogSetRequest
- type CreateClsLogSetRequestParams
- type CreateClsLogSetResponse
- type CreateClsLogSetResponseParams
- type CreateListenerRequest
- type CreateListenerRequestParams
- type CreateListenerResponse
- type CreateListenerResponseParams
- type CreateLoadBalancerRequest
- type CreateLoadBalancerRequestParams
- type CreateLoadBalancerResponse
- type CreateLoadBalancerResponseParams
- type CreateLoadBalancerSnatIpsRequest
- type CreateLoadBalancerSnatIpsRequestParams
- type CreateLoadBalancerSnatIpsResponse
- type CreateLoadBalancerSnatIpsResponseParams
- type CreateRuleRequest
- type CreateRuleRequestParams
- type CreateRuleResponse
- type CreateRuleResponseParams
- type CreateTargetGroupRequest
- type CreateTargetGroupRequestParams
- type CreateTargetGroupResponse
- type CreateTargetGroupResponseParams
- type CreateTopicRequest
- type CreateTopicRequestParams
- type CreateTopicResponse
- type CreateTopicResponseParams
- type CrossTargets
- type DeleteListenerRequest
- type DeleteListenerRequestParams
- type DeleteListenerResponse
- type DeleteListenerResponseParams
- type DeleteLoadBalancerListenersRequest
- type DeleteLoadBalancerListenersRequestParams
- type DeleteLoadBalancerListenersResponse
- type DeleteLoadBalancerListenersResponseParams
- type DeleteLoadBalancerRequest
- type DeleteLoadBalancerRequestParams
- type DeleteLoadBalancerResponse
- type DeleteLoadBalancerResponseParams
- type DeleteLoadBalancerSnatIpsRequest
- type DeleteLoadBalancerSnatIpsRequestParams
- type DeleteLoadBalancerSnatIpsResponse
- type DeleteLoadBalancerSnatIpsResponseParams
- type DeleteRewriteRequest
- type DeleteRewriteRequestParams
- type DeleteRewriteResponse
- type DeleteRewriteResponseParams
- type DeleteRuleRequest
- type DeleteRuleRequestParams
- type DeleteRuleResponse
- type DeleteRuleResponseParams
- type DeleteTargetGroupsRequest
- type DeleteTargetGroupsRequestParams
- type DeleteTargetGroupsResponse
- type DeleteTargetGroupsResponseParams
- type DeregisterFunctionTargetsRequest
- type DeregisterFunctionTargetsRequestParams
- type DeregisterFunctionTargetsResponse
- type DeregisterFunctionTargetsResponseParams
- type DeregisterTargetGroupInstancesRequest
- type DeregisterTargetGroupInstancesRequestParams
- type DeregisterTargetGroupInstancesResponse
- type DeregisterTargetGroupInstancesResponseParams
- type DeregisterTargetsFromClassicalLBRequest
- type DeregisterTargetsFromClassicalLBRequestParams
- type DeregisterTargetsFromClassicalLBResponse
- type DeregisterTargetsFromClassicalLBResponseParams
- type DeregisterTargetsRequest
- type DeregisterTargetsRequestParams
- type DeregisterTargetsResponse
- type DeregisterTargetsResponseParams
- type DescribeBlockIPListRequest
- type DescribeBlockIPListRequestParams
- type DescribeBlockIPListResponse
- type DescribeBlockIPListResponseParams
- type DescribeBlockIPTaskRequest
- type DescribeBlockIPTaskRequestParams
- type DescribeBlockIPTaskResponse
- type DescribeBlockIPTaskResponseParams
- type DescribeClassicalLBByInstanceIdRequest
- type DescribeClassicalLBByInstanceIdRequestParams
- type DescribeClassicalLBByInstanceIdResponse
- type DescribeClassicalLBByInstanceIdResponseParams
- type DescribeClassicalLBHealthStatusRequest
- type DescribeClassicalLBHealthStatusRequestParams
- type DescribeClassicalLBHealthStatusResponse
- type DescribeClassicalLBHealthStatusResponseParams
- type DescribeClassicalLBListenersRequest
- type DescribeClassicalLBListenersRequestParams
- type DescribeClassicalLBListenersResponse
- type DescribeClassicalLBListenersResponseParams
- type DescribeClassicalLBTargetsRequest
- type DescribeClassicalLBTargetsRequestParams
- type DescribeClassicalLBTargetsResponse
- type DescribeClassicalLBTargetsResponseParams
- type DescribeClsLogSetRequest
- type DescribeClsLogSetRequestParams
- type DescribeClsLogSetResponse
- type DescribeClsLogSetResponseParams
- type DescribeCrossTargetsRequest
- type DescribeCrossTargetsRequestParams
- type DescribeCrossTargetsResponse
- type DescribeCrossTargetsResponseParams
- type DescribeCustomizedConfigAssociateListRequest
- type DescribeCustomizedConfigAssociateListRequestParams
- type DescribeCustomizedConfigAssociateListResponse
- type DescribeCustomizedConfigAssociateListResponseParams
- type DescribeCustomizedConfigListRequest
- type DescribeCustomizedConfigListRequestParams
- type DescribeCustomizedConfigListResponse
- type DescribeCustomizedConfigListResponseParams
- type DescribeIdleLoadBalancersRequest
- type DescribeIdleLoadBalancersRequestParams
- type DescribeIdleLoadBalancersResponse
- type DescribeIdleLoadBalancersResponseParams
- type DescribeLBListenersRequest
- type DescribeLBListenersRequestParams
- type DescribeLBListenersResponse
- type DescribeLBListenersResponseParams
- type DescribeListenersRequest
- type DescribeListenersRequestParams
- type DescribeListenersResponse
- type DescribeListenersResponseParams
- type DescribeLoadBalancerListByCertIdRequest
- type DescribeLoadBalancerListByCertIdRequestParams
- type DescribeLoadBalancerListByCertIdResponse
- type DescribeLoadBalancerListByCertIdResponseParams
- type DescribeLoadBalancerOverviewRequest
- type DescribeLoadBalancerOverviewRequestParams
- type DescribeLoadBalancerOverviewResponse
- type DescribeLoadBalancerOverviewResponseParams
- type DescribeLoadBalancerTrafficRequest
- type DescribeLoadBalancerTrafficRequestParams
- type DescribeLoadBalancerTrafficResponse
- type DescribeLoadBalancerTrafficResponseParams
- type DescribeLoadBalancersDetailRequest
- type DescribeLoadBalancersDetailRequestParams
- type DescribeLoadBalancersDetailResponse
- type DescribeLoadBalancersDetailResponseParams
- type DescribeLoadBalancersRequest
- type DescribeLoadBalancersRequestParams
- type DescribeLoadBalancersResponse
- type DescribeLoadBalancersResponseParams
- type DescribeQuotaRequest
- type DescribeQuotaRequestParams
- type DescribeQuotaResponse
- type DescribeQuotaResponseParams
- type DescribeResourcesRequest
- type DescribeResourcesRequestParams
- type DescribeResourcesResponse
- type DescribeResourcesResponseParams
- type DescribeRewriteRequest
- type DescribeRewriteRequestParams
- type DescribeRewriteResponse
- type DescribeRewriteResponseParams
- type DescribeTargetGroupInstancesRequest
- type DescribeTargetGroupInstancesRequestParams
- type DescribeTargetGroupInstancesResponse
- type DescribeTargetGroupInstancesResponseParams
- type DescribeTargetGroupListRequest
- type DescribeTargetGroupListRequestParams
- type DescribeTargetGroupListResponse
- type DescribeTargetGroupListResponseParams
- type DescribeTargetGroupsRequest
- type DescribeTargetGroupsRequestParams
- type DescribeTargetGroupsResponse
- type DescribeTargetGroupsResponseParams
- type DescribeTargetHealthRequest
- type DescribeTargetHealthRequestParams
- type DescribeTargetHealthResponse
- type DescribeTargetHealthResponseParams
- type DescribeTargetsRequest
- type DescribeTargetsRequestParams
- type DescribeTargetsResponse
- type DescribeTargetsResponseParams
- type DescribeTaskStatusRequest
- type DescribeTaskStatusRequestParams
- type DescribeTaskStatusResponse
- type DescribeTaskStatusResponseParams
- type DisassociateTargetGroupsRequest
- type DisassociateTargetGroupsRequestParams
- type DisassociateTargetGroupsResponse
- type DisassociateTargetGroupsResponseParams
- type ExclusiveCluster
- type ExtraInfo
- type Filter
- type FunctionInfo
- type FunctionTarget
- type HealthCheck
- type IdleLoadBalancer
- type InquiryPriceCreateLoadBalancerRequest
- type InquiryPriceCreateLoadBalancerRequestParams
- type InquiryPriceCreateLoadBalancerResponse
- type InquiryPriceCreateLoadBalancerResponseParams
- type InquiryPriceModifyLoadBalancerRequest
- type InquiryPriceModifyLoadBalancerRequestParams
- type InquiryPriceModifyLoadBalancerResponse
- type InquiryPriceModifyLoadBalancerResponseParams
- type InquiryPriceRefundLoadBalancerRequest
- type InquiryPriceRefundLoadBalancerRequestParams
- type InquiryPriceRefundLoadBalancerResponse
- type InquiryPriceRefundLoadBalancerResponseParams
- type InquiryPriceRenewLoadBalancerRequest
- type InquiryPriceRenewLoadBalancerRequestParams
- type InquiryPriceRenewLoadBalancerResponse
- type InquiryPriceRenewLoadBalancerResponseParams
- type InternetAccessible
- type ItemPrice
- type LBChargePrepaid
- type LBItem
- type LbRsItem
- type LbRsTargets
- type Listener
- type ListenerBackend
- type ListenerHealth
- type ListenerItem
- type LoadBalancer
- type LoadBalancerDetail
- type LoadBalancerHealth
- type LoadBalancerTraffic
- type ManualRewriteRequest
- type ManualRewriteRequestParams
- type ManualRewriteResponse
- type ManualRewriteResponseParams
- type MigrateClassicalLoadBalancersRequest
- type MigrateClassicalLoadBalancersRequestParams
- type MigrateClassicalLoadBalancersResponse
- type MigrateClassicalLoadBalancersResponseParams
- type ModifyBlockIPListRequest
- type ModifyBlockIPListRequestParams
- type ModifyBlockIPListResponse
- type ModifyBlockIPListResponseParams
- type ModifyDomainAttributesRequest
- type ModifyDomainAttributesRequestParams
- type ModifyDomainAttributesResponse
- type ModifyDomainAttributesResponseParams
- type ModifyDomainRequest
- type ModifyDomainRequestParams
- type ModifyDomainResponse
- type ModifyDomainResponseParams
- type ModifyFunctionTargetsRequest
- type ModifyFunctionTargetsRequestParams
- type ModifyFunctionTargetsResponse
- type ModifyFunctionTargetsResponseParams
- type ModifyListenerRequest
- type ModifyListenerRequestParams
- type ModifyListenerResponse
- type ModifyListenerResponseParams
- type ModifyLoadBalancerAttributesRequest
- type ModifyLoadBalancerAttributesRequestParams
- type ModifyLoadBalancerAttributesResponse
- type ModifyLoadBalancerAttributesResponseParams
- type ModifyLoadBalancerSlaRequest
- type ModifyLoadBalancerSlaRequestParams
- type ModifyLoadBalancerSlaResponse
- type ModifyLoadBalancerSlaResponseParams
- type ModifyLoadBalancersProjectRequest
- type ModifyLoadBalancersProjectRequestParams
- type ModifyLoadBalancersProjectResponse
- type ModifyLoadBalancersProjectResponseParams
- type ModifyRuleRequest
- type ModifyRuleRequestParams
- type ModifyRuleResponse
- type ModifyRuleResponseParams
- type ModifyTargetGroupAttributeRequest
- type ModifyTargetGroupAttributeRequestParams
- type ModifyTargetGroupAttributeResponse
- type ModifyTargetGroupAttributeResponseParams
- type ModifyTargetGroupInstancesPortRequest
- type ModifyTargetGroupInstancesPortRequestParams
- type ModifyTargetGroupInstancesPortResponse
- type ModifyTargetGroupInstancesPortResponseParams
- type ModifyTargetGroupInstancesWeightRequest
- type ModifyTargetGroupInstancesWeightRequestParams
- type ModifyTargetGroupInstancesWeightResponse
- type ModifyTargetGroupInstancesWeightResponseParams
- type ModifyTargetPortRequest
- type ModifyTargetPortRequestParams
- type ModifyTargetPortResponse
- type ModifyTargetPortResponseParams
- type ModifyTargetWeightRequest
- type ModifyTargetWeightRequestParams
- type ModifyTargetWeightResponse
- type ModifyTargetWeightResponseParams
- type MultiCertInfo
- type Price
- type Quota
- type RegisterFunctionTargetsRequest
- type RegisterFunctionTargetsRequestParams
- type RegisterFunctionTargetsResponse
- type RegisterFunctionTargetsResponseParams
- type RegisterTargetGroupInstancesRequest
- type RegisterTargetGroupInstancesRequestParams
- type RegisterTargetGroupInstancesResponse
- type RegisterTargetGroupInstancesResponseParams
- type RegisterTargetsRequest
- type RegisterTargetsRequestParams
- type RegisterTargetsResponse
- type RegisterTargetsResponseParams
- type RegisterTargetsWithClassicalLBRequest
- type RegisterTargetsWithClassicalLBRequestParams
- type RegisterTargetsWithClassicalLBResponse
- type RegisterTargetsWithClassicalLBResponseParams
- type ReplaceCertForLoadBalancersRequest
- type ReplaceCertForLoadBalancersRequestParams
- type ReplaceCertForLoadBalancersResponse
- type ReplaceCertForLoadBalancersResponseParams
- type Resource
- type ResourceAvailability
- type RewriteLocationMap
- type RewriteTarget
- type RsWeightRule
- type RuleHealth
- type RuleInput
- type RuleOutput
- type RuleTargets
- type RulesItems
- type SetCustomizedConfigForLoadBalancerRequest
- type SetCustomizedConfigForLoadBalancerRequestParams
- type SetCustomizedConfigForLoadBalancerResponse
- type SetCustomizedConfigForLoadBalancerResponseParams
- type SetLoadBalancerClsLogRequest
- type SetLoadBalancerClsLogRequestParams
- type SetLoadBalancerClsLogResponse
- type SetLoadBalancerClsLogResponseParams
- type SetLoadBalancerSecurityGroupsRequest
- type SetLoadBalancerSecurityGroupsRequestParams
- type SetLoadBalancerSecurityGroupsResponse
- type SetLoadBalancerSecurityGroupsResponseParams
- type SetSecurityGroupForLoadbalancersRequest
- type SetSecurityGroupForLoadbalancersRequestParams
- type SetSecurityGroupForLoadbalancersResponse
- type SetSecurityGroupForLoadbalancersResponseParams
- type SlaUpdateParam
- type SnatIp
- type SpecAvailability
- type TagInfo
- type Target
- type TargetGroupAssociation
- type TargetGroupBackend
- type TargetGroupInfo
- type TargetGroupInstance
- type TargetHealth
- type TargetRegionInfo
- type TypeInfo
- type ZoneInfo
- type ZoneResource
Constants ¶
const ( // CAM signature/authentication error AUTHFAILURE = "AuthFailure" // DryRun operation, which means the DryRun parameter is passed in yet the request will still be successful. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Exceptional CLB instance status FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" // Internal error. INTERNALERROR = "InternalError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // Wrong parameter format. INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" // Failed to query the parameter INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" // Wrong CLB instance ID. INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" // Wrong listener ID. INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" // Unable to find eligible forwarding rules. INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" // Listener port checks failed due to port conflicts or other reasons. INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" // Listener protocol checks failed because the protocol used is incompatible with the corresponding operation. INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" // Invalid region. INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" // The forwarding rule has already been bound to a redirection relationship. INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist" // Some redirection rules do not exist. INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound" // Incorrect parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // Duplicate parameter value. INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" // Incorrect `Filter` parameter. INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" // Wrong parameter length. INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" // Wrong parameter value range. INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" // Quota exceeded. LIMITEXCEEDED = "LimitExceeded" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // The number of requests exceeds the frequency limit. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // Insufficient resources. RESOURCEINSUFFICIENT = "ResourceInsufficient" // Resources do not exist. RESOURCENOTFOUND = "ResourceNotFound" // The resources have been sold out. RESOURCESSOLDOUT = "ResourcesSoldOut" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2018-03-17"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociateTargetGroupsRequest ¶
type AssociateTargetGroupsRequest struct { *tchttp.BaseRequest // Association array Associations []*TargetGroupAssociation `json:"Associations,omitnil,omitempty" name:"Associations"` }
func NewAssociateTargetGroupsRequest ¶
func NewAssociateTargetGroupsRequest() (request *AssociateTargetGroupsRequest)
func (*AssociateTargetGroupsRequest) FromJsonString ¶
func (r *AssociateTargetGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateTargetGroupsRequest) ToJsonString ¶
func (r *AssociateTargetGroupsRequest) ToJsonString() string
type AssociateTargetGroupsRequestParams ¶
type AssociateTargetGroupsRequestParams struct { // Association array Associations []*TargetGroupAssociation `json:"Associations,omitnil,omitempty" name:"Associations"` }
Predefined struct for user
type AssociateTargetGroupsResponse ¶
type AssociateTargetGroupsResponse struct { *tchttp.BaseResponse Response *AssociateTargetGroupsResponseParams `json:"Response"` }
func NewAssociateTargetGroupsResponse ¶
func NewAssociateTargetGroupsResponse() (response *AssociateTargetGroupsResponse)
func (*AssociateTargetGroupsResponse) FromJsonString ¶
func (r *AssociateTargetGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateTargetGroupsResponse) ToJsonString ¶
func (r *AssociateTargetGroupsResponse) ToJsonString() string
type AssociateTargetGroupsResponseParams ¶
type AssociateTargetGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AssociationItem ¶
type AssociationItem struct { // ID of associated CLB instance LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // ID of associated listener ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // ID of associated forwarding rule // Note: this field may return null, indicating that no valid values can be obtained. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Protocol type of associated listener, such as HTTP or TCP Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Port of associated listener Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Domain name of associated forwarding rule // Note: this field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // URL of associated forwarding rule // Note: this field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // Listener name ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` }
type AutoRewriteRequest ¶
type AutoRewriteRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // `HTTPS:443` listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // The domain name to be redirected under the listener `HTTPS:443`. If it is left empty, all domain names under the listener `HTTPS:443` will be configured with redirects. Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"` // Redirection status code. Valid values: 301, 302, and 307. RewriteCodes []*int64 `json:"RewriteCodes,omitnil,omitempty" name:"RewriteCodes"` // Whether the matched URL is carried in redirection. TakeUrls []*bool `json:"TakeUrls,omitnil,omitempty" name:"TakeUrls"` }
func NewAutoRewriteRequest ¶
func NewAutoRewriteRequest() (request *AutoRewriteRequest)
func (*AutoRewriteRequest) FromJsonString ¶
func (r *AutoRewriteRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AutoRewriteRequest) ToJsonString ¶
func (r *AutoRewriteRequest) ToJsonString() string
type AutoRewriteRequestParams ¶
type AutoRewriteRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // `HTTPS:443` listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // The domain name to be redirected under the listener `HTTPS:443`. If it is left empty, all domain names under the listener `HTTPS:443` will be configured with redirects. Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"` // Redirection status code. Valid values: 301, 302, and 307. RewriteCodes []*int64 `json:"RewriteCodes,omitnil,omitempty" name:"RewriteCodes"` // Whether the matched URL is carried in redirection. TakeUrls []*bool `json:"TakeUrls,omitnil,omitempty" name:"TakeUrls"` }
Predefined struct for user
type AutoRewriteResponse ¶
type AutoRewriteResponse struct { *tchttp.BaseResponse Response *AutoRewriteResponseParams `json:"Response"` }
func NewAutoRewriteResponse ¶
func NewAutoRewriteResponse() (response *AutoRewriteResponse)
func (*AutoRewriteResponse) FromJsonString ¶
func (r *AutoRewriteResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AutoRewriteResponse) ToJsonString ¶
func (r *AutoRewriteResponse) ToJsonString() string
type AutoRewriteResponseParams ¶
type AutoRewriteResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Backend ¶
type Backend struct { // Real server type. Valid values: CVM, ENI. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Unique ID of a real server, which can be obtained from the unInstanceId field in the return of the DescribeInstances API InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Listening port of a real server Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Forwarding weight of a real server. Value range: [0, 100]. Default value: 10. Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"` // Public IP of a real server // Note: This field may return null, indicating that no valid values can be obtained. PublicIpAddresses []*string `json:"PublicIpAddresses,omitnil,omitempty" name:"PublicIpAddresses"` // Private IP of a real server // Note: This field may return null, indicating that no valid values can be obtained. PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil,omitempty" name:"PrivateIpAddresses"` // Real server instance names // Note: This field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Bound time of a real server // Note: This field may return null, indicating that no valid values can be obtained. RegisteredTime *string `json:"RegisteredTime,omitnil,omitempty" name:"RegisteredTime"` // Unique ENI ID // Note: This field may return null, indicating that no valid values can be obtained. EniId *string `json:"EniId,omitnil,omitempty" name:"EniId"` }
type BasicTargetGroupInfo ¶
type BatchDeregisterTargetsRequest ¶
type BatchDeregisterTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Unbinding targets Targets []*BatchTarget `json:"Targets,omitnil,omitempty" name:"Targets"` }
func NewBatchDeregisterTargetsRequest ¶
func NewBatchDeregisterTargetsRequest() (request *BatchDeregisterTargetsRequest)
func (*BatchDeregisterTargetsRequest) FromJsonString ¶
func (r *BatchDeregisterTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeregisterTargetsRequest) ToJsonString ¶
func (r *BatchDeregisterTargetsRequest) ToJsonString() string
type BatchDeregisterTargetsRequestParams ¶
type BatchDeregisterTargetsRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Unbinding targets Targets []*BatchTarget `json:"Targets,omitnil,omitempty" name:"Targets"` }
Predefined struct for user
type BatchDeregisterTargetsResponse ¶
type BatchDeregisterTargetsResponse struct { *tchttp.BaseResponse Response *BatchDeregisterTargetsResponseParams `json:"Response"` }
func NewBatchDeregisterTargetsResponse ¶
func NewBatchDeregisterTargetsResponse() (response *BatchDeregisterTargetsResponse)
func (*BatchDeregisterTargetsResponse) FromJsonString ¶
func (r *BatchDeregisterTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeregisterTargetsResponse) ToJsonString ¶
func (r *BatchDeregisterTargetsResponse) ToJsonString() string
type BatchDeregisterTargetsResponseParams ¶
type BatchDeregisterTargetsResponseParams struct { // IDs of the listeners failed to unbind FailListenerIdSet []*string `json:"FailListenerIdSet,omitnil,omitempty" name:"FailListenerIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchModifyTargetWeightRequest ¶
type BatchModifyTargetWeightRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // List of weights to be modified in batches ModifyList []*RsWeightRule `json:"ModifyList,omitnil,omitempty" name:"ModifyList"` }
func NewBatchModifyTargetWeightRequest ¶
func NewBatchModifyTargetWeightRequest() (request *BatchModifyTargetWeightRequest)
func (*BatchModifyTargetWeightRequest) FromJsonString ¶
func (r *BatchModifyTargetWeightRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchModifyTargetWeightRequest) ToJsonString ¶
func (r *BatchModifyTargetWeightRequest) ToJsonString() string
type BatchModifyTargetWeightRequestParams ¶
type BatchModifyTargetWeightRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // List of weights to be modified in batches ModifyList []*RsWeightRule `json:"ModifyList,omitnil,omitempty" name:"ModifyList"` }
Predefined struct for user
type BatchModifyTargetWeightResponse ¶
type BatchModifyTargetWeightResponse struct { *tchttp.BaseResponse Response *BatchModifyTargetWeightResponseParams `json:"Response"` }
func NewBatchModifyTargetWeightResponse ¶
func NewBatchModifyTargetWeightResponse() (response *BatchModifyTargetWeightResponse)
func (*BatchModifyTargetWeightResponse) FromJsonString ¶
func (r *BatchModifyTargetWeightResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchModifyTargetWeightResponse) ToJsonString ¶
func (r *BatchModifyTargetWeightResponse) ToJsonString() string
type BatchModifyTargetWeightResponseParams ¶
type BatchModifyTargetWeightResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchRegisterTargetsRequest ¶
type BatchRegisterTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Binding target Targets []*BatchTarget `json:"Targets,omitnil,omitempty" name:"Targets"` }
func NewBatchRegisterTargetsRequest ¶
func NewBatchRegisterTargetsRequest() (request *BatchRegisterTargetsRequest)
func (*BatchRegisterTargetsRequest) FromJsonString ¶
func (r *BatchRegisterTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchRegisterTargetsRequest) ToJsonString ¶
func (r *BatchRegisterTargetsRequest) ToJsonString() string
type BatchRegisterTargetsRequestParams ¶
type BatchRegisterTargetsRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Binding target Targets []*BatchTarget `json:"Targets,omitnil,omitempty" name:"Targets"` }
Predefined struct for user
type BatchRegisterTargetsResponse ¶
type BatchRegisterTargetsResponse struct { *tchttp.BaseResponse Response *BatchRegisterTargetsResponseParams `json:"Response"` }
func NewBatchRegisterTargetsResponse ¶
func NewBatchRegisterTargetsResponse() (response *BatchRegisterTargetsResponse)
func (*BatchRegisterTargetsResponse) FromJsonString ¶
func (r *BatchRegisterTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchRegisterTargetsResponse) ToJsonString ¶
func (r *BatchRegisterTargetsResponse) ToJsonString() string
type BatchRegisterTargetsResponseParams ¶
type BatchRegisterTargetsResponseParams struct { // IDs of the listeners failed to bind. If this is blank, all listeners are bound successfully. // Note: This field may return null, indicating that no valid values can be obtained. FailListenerIdSet []*string `json:"FailListenerIdSet,omitnil,omitempty" name:"FailListenerIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchTarget ¶
type BatchTarget struct { // Listener ID. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // The port to Bind Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // CVM instance ID. The primary IP of the primary ENI will be bound. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // It is required for binding an IP. It supports an ENI IP or any other private IP. To bind an ENI IP, the ENI should be bound to a CVM instance before being bound to a CLB instance. // Note: either `InstanceId` or `EniIp` must be passed in, which is required for binding a dual-stack IPv6 CVM instance. EniIp *string `json:"EniIp,omitnil,omitempty" name:"EniIp"` // Weight of the CVM instance. Value range: [0, 100]. If it is not specified for binding the instance, 10 will be used by default. Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"` // Layer-7 rule ID. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` }
type BindDetailItem ¶
type BindDetailItem struct { // Specifies the ID of CLB to be bound LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Specifies the ID of listener to be bound // Note: this field may return `null`, indicating that no valid values can be obtained. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Specifies the domain name to be bound // Note: this field may return `null`, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Sets the bound rule. // Note: this field may return `null`, indicating that no valid values can be obtained. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Listener name. // Note: this field may return `null`, indicating that no valid values can be obtained. ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // Listener protocol. // Note: this field may return `null`, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Listener port. // Note: this field may return `null`, indicating that no valid values can be obtained. Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // URL of the location. // Note: this field may return `null`, indicating that no valid values can be obtained. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Configuration ID. // Note: this field may return `null`, indicating that no valid values can be obtained. UconfigId *string `json:"UconfigId,omitnil,omitempty" name:"UconfigId"` }
type CertIdRelatedWithLoadBalancers ¶
type CertIdRelatedWithLoadBalancers struct { // Certificate ID CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // List of CLB instances associated with certificate // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancers []*LoadBalancer `json:"LoadBalancers,omitnil,omitempty" name:"LoadBalancers"` }
type CertInfo ¶
type CertInfo struct { // ID of the certificate. If it's not specified, `CertContent` and `CertKey` are required. For a server certificate, you also need to specify `CertName`. CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // Name of the uploaded certificate. It's required if `CertId` is not specified. CertName *string `json:"CertName,omitnil,omitempty" name:"CertName"` // Public key of the uploaded certificate. This is required if `CertId` is not specified. CertContent *string `json:"CertContent,omitnil,omitempty" name:"CertContent"` // Private key of the uploaded server certificate. This is required if `CertId` is not specified. CertKey *string `json:"CertKey,omitnil,omitempty" name:"CertKey"` }
type CertificateInput ¶
type CertificateInput struct { // Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication) SSLMode *string `json:"SSLMode,omitnil,omitempty" name:"SSLMode"` // ID of a server certificate. If you leave this parameter empty, you must upload the certificate, including CertContent, CertKey, and CertName. CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // ID of a client certificate. When the listener adopts mutual authentication (i.e., SSLMode = mutual), if you leave this parameter empty, you must upload the client certificate, including CertCaContent and CertCaName. CertCaId *string `json:"CertCaId,omitnil,omitempty" name:"CertCaId"` // Name of the uploaded server certificate. If there is no CertId, this parameter is required. CertName *string `json:"CertName,omitnil,omitempty" name:"CertName"` // Key of the uploaded server certificate. If there is no CertId, this parameter is required. CertKey *string `json:"CertKey,omitnil,omitempty" name:"CertKey"` // Content of the uploaded server certificate. If there is no CertId, this parameter is required. CertContent *string `json:"CertContent,omitnil,omitempty" name:"CertContent"` // Name of the uploaded client CA certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required. CertCaName *string `json:"CertCaName,omitnil,omitempty" name:"CertCaName"` // Content of the uploaded client certificate. When SSLMode = mutual, if there is no CertCaId, this parameter is required. CertCaContent *string `json:"CertCaContent,omitnil,omitempty" name:"CertCaContent"` }
type CertificateOutput ¶
type CertificateOutput struct { // Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication) SSLMode *string `json:"SSLMode,omitnil,omitempty" name:"SSLMode"` // Server certificate ID. CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // Client certificate ID. // Note: This field may return null, indicating that no valid values can be obtained. CertCaId *string `json:"CertCaId,omitnil,omitempty" name:"CertCaId"` // IDs of extra server certificates // Note: This field may return `null`, indicating that no valid values can be obtained. ExtCertIds []*string `json:"ExtCertIds,omitnil,omitempty" name:"ExtCertIds"` }
type ClassicalHealth ¶
type ClassicalHealth struct { // Private IP of a real server IP *string `json:"IP,omitnil,omitempty" name:"IP"` // Real server port Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // CLB listener port ListenerPort *int64 `json:"ListenerPort,omitnil,omitempty" name:"ListenerPort"` // Forwarding protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Health check result. Value range: 1 (healthy), 0 (unhealthy) HealthStatus *int64 `json:"HealthStatus,omitnil,omitempty" name:"HealthStatus"` }
type ClassicalListener ¶
type ClassicalListener struct { // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // CLB listener port ListenerPort *int64 `json:"ListenerPort,omitnil,omitempty" name:"ListenerPort"` // Backend forwarding port of a listener InstancePort *int64 `json:"InstancePort,omitnil,omitempty" name:"InstancePort"` // Listener name ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // Listener protocol type Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Session persistence time SessionExpire *int64 `json:"SessionExpire,omitnil,omitempty" name:"SessionExpire"` // Whether health check is enabled. 1: enabled; 0: disabled. HealthSwitch *int64 `json:"HealthSwitch,omitnil,omitempty" name:"HealthSwitch"` // Response timeout period TimeOut *int64 `json:"TimeOut,omitnil,omitempty" name:"TimeOut"` // Check interval IntervalTime *int64 `json:"IntervalTime,omitnil,omitempty" name:"IntervalTime"` // Health threshold HealthNum *int64 `json:"HealthNum,omitnil,omitempty" name:"HealthNum"` // Unhealthy threshold UnhealthNum *int64 `json:"UnhealthNum,omitnil,omitempty" name:"UnhealthNum"` // A request balancing method for HTTP and HTTPS listeners of a public network classic CLB. wrr means weighted round robin, while ip_hash means consistent hashing based on source IPs of access requests. HttpHash *string `json:"HttpHash,omitnil,omitempty" name:"HttpHash"` // Health check return code for HTTP and HTTPS listeners of a public network classic CLB. For more information, see the explanation of the field in the listener creating API. HttpCode *int64 `json:"HttpCode,omitnil,omitempty" name:"HttpCode"` // Health check path for HTTP and HTTPS listeners of a public network classic CLB HttpCheckPath *string `json:"HttpCheckPath,omitnil,omitempty" name:"HttpCheckPath"` // Authentication method for an HTTPS listener of a public network classic CLB SSLMode *string `json:"SSLMode,omitnil,omitempty" name:"SSLMode"` // Server certificate ID for an HTTPS listener of a public network classic CLB CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // Client certificate ID for an HTTPS listener of a public network classic CLB CertCaId *string `json:"CertCaId,omitnil,omitempty" name:"CertCaId"` // Listener status. Value range: 0 (creating), 1 (running) Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` }
type ClassicalLoadBalancerInfo ¶
type ClassicalLoadBalancerInfo struct { // Real server ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of CLB instance IDs // Note: This field may return null, indicating that no valid values can be obtained. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` }
type ClassicalTarget ¶
type ClassicalTarget struct { // Real server type. Value range: CVM, ENI (coming soon) Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Unique ID of a real server, which can be obtained from the unInstanceId field in the return of the DescribeInstances API InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Forwarding weight of a real server. Value range: [0, 100]. Default value: 10. Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"` // Public IP of a real server // Note: This field may return null, indicating that no valid values can be obtained. PublicIpAddresses []*string `json:"PublicIpAddresses,omitnil,omitempty" name:"PublicIpAddresses"` // Private IP of a real server // Note: This field may return null, indicating that no valid values can be obtained. PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil,omitempty" name:"PrivateIpAddresses"` // Real server instance names // Note: This field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Real server status // 1: failed; 2: running; 3: creating; 4: shut down; 5: returned; 6: returning; 7: restarting; 8: starting; 9: shutting down; 10: resetting password; 11: formatting; 12: making image; 13: setting bandwidth; 14: reinstalling system; 19: upgrading; 21: hot migrating // Note: This field may return null, indicating that no valid values can be obtained. RunFlag *int64 `json:"RunFlag,omitnil,omitempty" name:"RunFlag"` }
type ClassicalTargetInfo ¶
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AssociateTargetGroups ¶
func (c *Client) AssociateTargetGroups(request *AssociateTargetGroupsRequest) (response *AssociateTargetGroupsResponse, err error)
AssociateTargetGroups This API is used to bind target groups to CLB listeners (layer-4 protocol) or forwarding rules (layer-7 protocol).
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AssociateTargetGroupsWithContext ¶
func (c *Client) AssociateTargetGroupsWithContext(ctx context.Context, request *AssociateTargetGroupsRequest) (response *AssociateTargetGroupsResponse, err error)
AssociateTargetGroups This API is used to bind target groups to CLB listeners (layer-4 protocol) or forwarding rules (layer-7 protocol).
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AutoRewrite ¶
func (c *Client) AutoRewrite(request *AutoRewriteRequest) (response *AutoRewriteResponse, err error)
AutoRewrite An HTTPS:443 listener needs to be created first, along with a forwarding rule. When this API is called, an HTTP:80 listener will be created automatically if it did not exist and a forwarding rule corresponding to `Domains` (specified in the input parameter) under the HTTPS:443 listener will also be created. After successful creation, access requests to an HTTP:80 address will be redirected to an HTTPS:443 address automatically.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AutoRewriteWithContext ¶
func (c *Client) AutoRewriteWithContext(ctx context.Context, request *AutoRewriteRequest) (response *AutoRewriteResponse, err error)
AutoRewrite An HTTPS:443 listener needs to be created first, along with a forwarding rule. When this API is called, an HTTP:80 listener will be created automatically if it did not exist and a forwarding rule corresponding to `Domains` (specified in the input parameter) under the HTTPS:443 listener will also be created. After successful creation, access requests to an HTTP:80 address will be redirected to an HTTPS:443 address automatically.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BatchDeregisterTargets ¶
func (c *Client) BatchDeregisterTargets(request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)
BatchDeregisterTargets This API is used to batch unbind real servers of the layer-4 and layer-7 VPC-based CLBs. Up to 500 real servers can be unbound in a batch.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BatchDeregisterTargetsWithContext ¶
func (c *Client) BatchDeregisterTargetsWithContext(ctx context.Context, request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)
BatchDeregisterTargets This API is used to batch unbind real servers of the layer-4 and layer-7 VPC-based CLBs. Up to 500 real servers can be unbound in a batch.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BatchModifyTargetWeight ¶
func (c *Client) BatchModifyTargetWeight(request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)
BatchModifyTargetWeight This API is used to modify forwarding weights of real servers bound to CLB listeners in batches. Up to 500 servers can be unbound in a batch. As this API is async, you should check whether the task is successful by passing the RequestId returned to the API call `DescribeTaskStatus`.<br/> This API is supported by CLB layer-4 and layer-7 listeners, but not Classis CLB counterparts.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BatchModifyTargetWeightWithContext ¶
func (c *Client) BatchModifyTargetWeightWithContext(ctx context.Context, request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)
BatchModifyTargetWeight This API is used to modify forwarding weights of real servers bound to CLB listeners in batches. Up to 500 servers can be unbound in a batch. As this API is async, you should check whether the task is successful by passing the RequestId returned to the API call `DescribeTaskStatus`.<br/> This API is supported by CLB layer-4 and layer-7 listeners, but not Classis CLB counterparts.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BatchRegisterTargets ¶
func (c *Client) BatchRegisterTargets(request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)
BatchRegisterTargets This API is used to batch bind CVM instances or ENIs. Up to 500 servers can be bound in a batch. It supports cross-region binding, layer-4 and layer-7 (TCP/UDP/HTTP/HTTPS) protocols, and VPC-based CLBs only.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BatchRegisterTargetsWithContext ¶
func (c *Client) BatchRegisterTargetsWithContext(ctx context.Context, request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)
BatchRegisterTargets This API is used to batch bind CVM instances or ENIs. Up to 500 servers can be bound in a batch. It supports cross-region binding, layer-4 and layer-7 (TCP/UDP/HTTP/HTTPS) protocols, and VPC-based CLBs only.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CloneLoadBalancer ¶
func (c *Client) CloneLoadBalancer(request *CloneLoadBalancerRequest) (response *CloneLoadBalancerResponse, err error)
CloneLoadBalancer This API is used to create a clone of the source CLB instance with the same forwarding rules and binding relations. Note that this API is asynchronous, which means that changes to the source CLB after invocation of the API are not included in the clone.
Limits:
Instance attribute restrictions
Only pay-as-you-go instances can be cloned. Monthly-subscribed instances cannot be cloned. CLB instances without any billable items cannot be cloned. Classic CLB instances and CLB u200dinstances created for Anti-DDoS service cannot be cloned. Classic network-based instances cannot be cloned. IPv6 instances, IPv6 NAT64 instances, and instances bound with both IPv4 and IPv6 cannot be cloned. The following settings will not be cloned: **Custom configuration**, **Redirection configurations**, and **Allow Traffic by Default** in security groups. Before cloning an instance, make sure all certificates used on the instance are valid. Cloning will fail if there are any expired certificates.
Listener restrictions
Instances with QUIC listeners or port range listeners cannot be cloned. Private network CLB instances with TCP_SSL listeners cannot be cloned. Instances with layer-7 listeners that have no forwarding rules cannot be cloned. u200dInstances u200dwith more than 50 listeners cannot be cloned.
Backend service restrictions
Instances with target groups and SCF cloud functions as the backend services cannot be cloned.
Notes:
If you are using a BGP bandwidth package, you need to pass the package ID.
To create a dedicated cluster-based CLB by cloning the source CLB, you need to pass the cluster ID. Otherwise, a normal CLB is created.
This API is only available for beta users. To try it out, [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&step=1).
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCESSOLDOUT = "ResourcesSoldOut"
func (*Client) CloneLoadBalancerWithContext ¶
func (c *Client) CloneLoadBalancerWithContext(ctx context.Context, request *CloneLoadBalancerRequest) (response *CloneLoadBalancerResponse, err error)
CloneLoadBalancer This API is used to create a clone of the source CLB instance with the same forwarding rules and binding relations. Note that this API is asynchronous, which means that changes to the source CLB after invocation of the API are not included in the clone.
Limits:
Instance attribute restrictions
Only pay-as-you-go instances can be cloned. Monthly-subscribed instances cannot be cloned. CLB instances without any billable items cannot be cloned. Classic CLB instances and CLB u200dinstances created for Anti-DDoS service cannot be cloned. Classic network-based instances cannot be cloned. IPv6 instances, IPv6 NAT64 instances, and instances bound with both IPv4 and IPv6 cannot be cloned. The following settings will not be cloned: **Custom configuration**, **Redirection configurations**, and **Allow Traffic by Default** in security groups. Before cloning an instance, make sure all certificates used on the instance are valid. Cloning will fail if there are any expired certificates.
Listener restrictions
Instances with QUIC listeners or port range listeners cannot be cloned. Private network CLB instances with TCP_SSL listeners cannot be cloned. Instances with layer-7 listeners that have no forwarding rules cannot be cloned. u200dInstances u200dwith more than 50 listeners cannot be cloned.
Backend service restrictions
Instances with target groups and SCF cloud functions as the backend services cannot be cloned.
Notes:
If you are using a BGP bandwidth package, you need to pass the package ID.
To create a dedicated cluster-based CLB by cloning the source CLB, you need to pass the cluster ID. Otherwise, a normal CLB is created.
This API is only available for beta users. To try it out, [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&step=1).
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCESSOLDOUT = "ResourcesSoldOut"
func (*Client) CreateClsLogSet ¶
func (c *Client) CreateClsLogSet(request *CreateClsLogSetRequest) (response *CreateClsLogSetResponse, err error)
CreateClsLogSet This API is used to create a CLB exclusive logset for storing CLB logs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateClsLogSetWithContext ¶
func (c *Client) CreateClsLogSetWithContext(ctx context.Context, request *CreateClsLogSetRequest) (response *CreateClsLogSetResponse, err error)
CreateClsLogSet This API is used to create a CLB exclusive logset for storing CLB logs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateListener ¶
func (c *Client) CreateListener(request *CreateListenerRequest) (response *CreateListenerResponse, err error)
CreateListener This API is used to create a listener for a CLB instance.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateListenerWithContext ¶
func (c *Client) CreateListenerWithContext(ctx context.Context, request *CreateListenerRequest) (response *CreateListenerResponse, err error)
CreateListener This API is used to create a listener for a CLB instance.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateLoadBalancer ¶
func (c *Client) CreateLoadBalancer(request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
CreateLoadBalancer This API (CreateLoadBalancer) is used to create a CLB instance. To use the CLB service, you first need to purchase one or more instances. After this API is called successfully, a unique instance ID will be returned. There are two types of instances: public network and private network. For more information, see the product types in the product documentation.
Note: (1) To apply for a CLB instance in the specified AZ and cross-AZ disaster recovery, please [submit a ticket](https://console.cloud.tencent.com/workorder/category); (2) Currently, IPv6 is supported only in Beijing, Shanghai, and Guangzhou regions.
This is an async API. After it is returned successfully, you can call the DescribeLoadBalancers API to query the status of the instance (such as creating and normal) to check whether it is successfully created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateLoadBalancerSnatIps ¶
func (c *Client) CreateLoadBalancerSnatIps(request *CreateLoadBalancerSnatIpsRequest) (response *CreateLoadBalancerSnatIpsResponse, err error)
CreateLoadBalancerSnatIps This API is used to add an SNAT IP for an SnatPro CLB instance. If SnatPro is not enabled for CLB, it will be automatically enabled after the SNAT IP is added.
This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded"
func (*Client) CreateLoadBalancerSnatIpsWithContext ¶
func (c *Client) CreateLoadBalancerSnatIpsWithContext(ctx context.Context, request *CreateLoadBalancerSnatIpsRequest) (response *CreateLoadBalancerSnatIpsResponse, err error)
CreateLoadBalancerSnatIps This API is used to add an SNAT IP for an SnatPro CLB instance. If SnatPro is not enabled for CLB, it will be automatically enabled after the SNAT IP is added.
This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded"
func (*Client) CreateLoadBalancerWithContext ¶
func (c *Client) CreateLoadBalancerWithContext(ctx context.Context, request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
CreateLoadBalancer This API (CreateLoadBalancer) is used to create a CLB instance. To use the CLB service, you first need to purchase one or more instances. After this API is called successfully, a unique instance ID will be returned. There are two types of instances: public network and private network. For more information, see the product types in the product documentation.
Note: (1) To apply for a CLB instance in the specified AZ and cross-AZ disaster recovery, please [submit a ticket](https://console.cloud.tencent.com/workorder/category); (2) Currently, IPv6 is supported only in Beijing, Shanghai, and Guangzhou regions.
This is an async API. After it is returned successfully, you can call the DescribeLoadBalancers API to query the status of the instance (such as creating and normal) to check whether it is successfully created.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateRule ¶
func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule This API (CreateRule) is used to create a forwarding rule under an existing layer-7 CLB listener, where real servers must be bound to the rule instead of the listener.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateRuleWithContext ¶
func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule This API (CreateRule) is used to create a forwarding rule under an existing layer-7 CLB listener, where real servers must be bound to the rule instead of the listener.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateTargetGroup ¶
func (c *Client) CreateTargetGroup(request *CreateTargetGroupRequest) (response *CreateTargetGroupResponse, err error)
CreateTargetGroup This API is used to create a target group. This feature is in beta test, if you want to try it out, please [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20LB&step=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateTargetGroupWithContext ¶
func (c *Client) CreateTargetGroupWithContext(ctx context.Context, request *CreateTargetGroupRequest) (response *CreateTargetGroupResponse, err error)
CreateTargetGroup This API is used to create a target group. This feature is in beta test, if you want to try it out, please [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20LB&step=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateTopic ¶
func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)
CreateTopic This API is used to create a topic with the full-text index and key-value index enabled by default. The creation will fail if there is no CLB exclusive logset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateTopicWithContext ¶
func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)
CreateTopic This API is used to create a topic with the full-text index and key-value index enabled by default. The creation will fail if there is no CLB exclusive logset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteListener ¶
func (c *Client) DeleteListener(request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)
DeleteListener This API is used to delete a listener from a CLB instance (layer-4 or layer-7).
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteListenerWithContext ¶
func (c *Client) DeleteListenerWithContext(ctx context.Context, request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)
DeleteListener This API is used to delete a listener from a CLB instance (layer-4 or layer-7).
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteLoadBalancer ¶
func (c *Client) DeleteLoadBalancer(request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
DeleteLoadBalancer This API (DeleteLoadBalancer) is used to delete one or more specified CLB instances.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteLoadBalancerListeners ¶
func (c *Client) DeleteLoadBalancerListeners(request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)
DeleteLoadBalancerListeners This API is used to delete multiple listeners of a CLB instance.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteLoadBalancerListenersWithContext ¶
func (c *Client) DeleteLoadBalancerListenersWithContext(ctx context.Context, request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)
DeleteLoadBalancerListeners This API is used to delete multiple listeners of a CLB instance.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteLoadBalancerSnatIps ¶
func (c *Client) DeleteLoadBalancerSnatIps(request *DeleteLoadBalancerSnatIpsRequest) (response *DeleteLoadBalancerSnatIpsResponse, err error)
DeleteLoadBalancerSnatIps This API is used to delete the SNAT IP for an SnatPro CLB instance.
This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded"
func (*Client) DeleteLoadBalancerSnatIpsWithContext ¶
func (c *Client) DeleteLoadBalancerSnatIpsWithContext(ctx context.Context, request *DeleteLoadBalancerSnatIpsRequest) (response *DeleteLoadBalancerSnatIpsResponse, err error)
DeleteLoadBalancerSnatIps This API is used to delete the SNAT IP for an SnatPro CLB instance.
This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded"
func (*Client) DeleteLoadBalancerWithContext ¶
func (c *Client) DeleteLoadBalancerWithContext(ctx context.Context, request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
DeleteLoadBalancer This API (DeleteLoadBalancer) is used to delete one or more specified CLB instances.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteRewrite ¶
func (c *Client) DeleteRewrite(request *DeleteRewriteRequest) (response *DeleteRewriteResponse, err error)
DeleteRewrite This API (DeleteRewrite) is used to delete the redirection relationship between the specified forwarding rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteRewriteWithContext ¶
func (c *Client) DeleteRewriteWithContext(ctx context.Context, request *DeleteRewriteRequest) (response *DeleteRewriteResponse, err error)
DeleteRewrite This API (DeleteRewrite) is used to delete the redirection relationship between the specified forwarding rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteRule ¶
func (c *Client) DeleteRule(request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
DeleteRule This API (DeleteRule) is used to delete a forwarding rule under a layer-7 CLB instance listener
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteRuleWithContext ¶
func (c *Client) DeleteRuleWithContext(ctx context.Context, request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
DeleteRule This API (DeleteRule) is used to delete a forwarding rule under a layer-7 CLB instance listener
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteTargetGroups ¶
func (c *Client) DeleteTargetGroups(request *DeleteTargetGroupsRequest) (response *DeleteTargetGroupsResponse, err error)
DeleteTargetGroups This API is used to delete a target group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteTargetGroupsWithContext ¶
func (c *Client) DeleteTargetGroupsWithContext(ctx context.Context, request *DeleteTargetGroupsRequest) (response *DeleteTargetGroupsResponse, err error)
DeleteTargetGroups This API is used to delete a target group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeregisterFunctionTargets ¶
func (c *Client) DeregisterFunctionTargets(request *DeregisterFunctionTargetsRequest) (response *DeregisterFunctionTargetsResponse, err error)
DeregisterFunctionTargets This API is used to unbind a SCF function with a CLB forwarding rule. For L7 listeners, you need to specify the forwarding rule by using `LocationId` or `Domain+Url`.
This is an async API. After it is returned successfully, you can call the [DescribeTaskStatus](https://intl.cloud.tencent.com/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID to check whether this task is successful.
<br/>Limits:
- Binding with SCF is only available in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Mumbai, Tokyo, and Silicon Valley.
- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account. For more information, please see [Checking Account Type](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1).
- SCF functions cannot be bound with classic CLB instances.
- SCF functions cannot be bound with classic network-based CLB instances.
- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.
- SCF functions can only be bound with IPv4 and IPv6 NAT64 CLB instances, but currently not with IPv6 CLB instances.
- SCF functions can only be bound with layer-7 HTTP and HTTPS listeners, but not with layer-7 QUIC listeners or layer-4 (TCP, UDP, and TCP SSL) listeners.
- Only SCF event-triggered functions can be bound with CLB instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeregisterFunctionTargetsWithContext ¶
func (c *Client) DeregisterFunctionTargetsWithContext(ctx context.Context, request *DeregisterFunctionTargetsRequest) (response *DeregisterFunctionTargetsResponse, err error)
DeregisterFunctionTargets This API is used to unbind a SCF function with a CLB forwarding rule. For L7 listeners, you need to specify the forwarding rule by using `LocationId` or `Domain+Url`.
This is an async API. After it is returned successfully, you can call the [DescribeTaskStatus](https://intl.cloud.tencent.com/document/product/214/30683?from_cn_redirect=1) API with the returned RequestID to check whether this task is successful.
<br/>Limits:
- Binding with SCF is only available in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Mumbai, Tokyo, and Silicon Valley.
- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account. For more information, please see [Checking Account Type](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1).
- SCF functions cannot be bound with classic CLB instances.
- SCF functions cannot be bound with classic network-based CLB instances.
- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.
- SCF functions can only be bound with IPv4 and IPv6 NAT64 CLB instances, but currently not with IPv6 CLB instances.
- SCF functions can only be bound with layer-7 HTTP and HTTPS listeners, but not with layer-7 QUIC listeners or layer-4 (TCP, UDP, and TCP SSL) listeners.
- Only SCF event-triggered functions can be bound with CLB instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeregisterTargetGroupInstances ¶
func (c *Client) DeregisterTargetGroupInstances(request *DeregisterTargetGroupInstancesRequest) (response *DeregisterTargetGroupInstancesResponse, err error)
DeregisterTargetGroupInstances This API is used to unbind a server from a target group.
This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeregisterTargetGroupInstancesWithContext ¶
func (c *Client) DeregisterTargetGroupInstancesWithContext(ctx context.Context, request *DeregisterTargetGroupInstancesRequest) (response *DeregisterTargetGroupInstancesResponse, err error)
DeregisterTargetGroupInstances This API is used to unbind a server from a target group.
This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeregisterTargets ¶
func (c *Client) DeregisterTargets(request *DeregisterTargetsRequest) (response *DeregisterTargetsResponse, err error)
DeregisterTargets This API (DeregisterTargets) is used to unbind one or more real servers from a CLB listener or forwarding rule. For layer-4 listeners, only the listener ID needs to be specified. For layer-7 listeners, the forwarding rule also needs to be specified through LocationId or Domain+Url.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeregisterTargetsFromClassicalLB ¶
func (c *Client) DeregisterTargetsFromClassicalLB(request *DeregisterTargetsFromClassicalLBRequest) (response *DeregisterTargetsFromClassicalLBResponse, err error)
DeregisterTargetsFromClassicalLB This API is used to unbind a CLB real server. This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeregisterTargetsFromClassicalLBWithContext ¶
func (c *Client) DeregisterTargetsFromClassicalLBWithContext(ctx context.Context, request *DeregisterTargetsFromClassicalLBRequest) (response *DeregisterTargetsFromClassicalLBResponse, err error)
DeregisterTargetsFromClassicalLB This API is used to unbind a CLB real server. This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeregisterTargetsWithContext ¶
func (c *Client) DeregisterTargetsWithContext(ctx context.Context, request *DeregisterTargetsRequest) (response *DeregisterTargetsResponse, err error)
DeregisterTargets This API (DeregisterTargets) is used to unbind one or more real servers from a CLB listener or forwarding rule. For layer-4 listeners, only the listener ID needs to be specified. For layer-7 listeners, the forwarding rule also needs to be specified through LocationId or Domain+Url.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeBlockIPList ¶
func (c *Client) DescribeBlockIPList(request *DescribeBlockIPListRequest) (response *DescribeBlockIPListResponse, err error)
DescribeBlockIPList This API is used to query the list of blocked IPs (blocklist) of a CLB instance. (This API is in beta test. To use it, please submit a ticket.)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeBlockIPListWithContext ¶
func (c *Client) DescribeBlockIPListWithContext(ctx context.Context, request *DescribeBlockIPListRequest) (response *DescribeBlockIPListResponse, err error)
DescribeBlockIPList This API is used to query the list of blocked IPs (blocklist) of a CLB instance. (This API is in beta test. To use it, please submit a ticket.)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeBlockIPTask ¶
func (c *Client) DescribeBlockIPTask(request *DescribeBlockIPTaskRequest) (response *DescribeBlockIPTaskResponse, err error)
DescribeBlockIPTask This API is used to query the execution status of an async IP blocking (blocklisting) task by the async task ID returned by the `ModifyBlockIPList` API. (This API is in beta test. To use it, please submit a ticket.)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeBlockIPTaskWithContext ¶
func (c *Client) DescribeBlockIPTaskWithContext(ctx context.Context, request *DescribeBlockIPTaskRequest) (response *DescribeBlockIPTaskResponse, err error)
DescribeBlockIPTask This API is used to query the execution status of an async IP blocking (blocklisting) task by the async task ID returned by the `ModifyBlockIPList` API. (This API is in beta test. To use it, please submit a ticket.)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeClassicalLBByInstanceId ¶
func (c *Client) DescribeClassicalLBByInstanceId(request *DescribeClassicalLBByInstanceIdRequest) (response *DescribeClassicalLBByInstanceIdResponse, err error)
DescribeClassicalLBByInstanceId This API is used to get the list of classic CLB instance IDs through a real server ID.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeClassicalLBByInstanceIdWithContext ¶
func (c *Client) DescribeClassicalLBByInstanceIdWithContext(ctx context.Context, request *DescribeClassicalLBByInstanceIdRequest) (response *DescribeClassicalLBByInstanceIdResponse, err error)
DescribeClassicalLBByInstanceId This API is used to get the list of classic CLB instance IDs through a real server ID.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeClassicalLBHealthStatus ¶
func (c *Client) DescribeClassicalLBHealthStatus(request *DescribeClassicalLBHealthStatusRequest) (response *DescribeClassicalLBHealthStatusResponse, err error)
DescribeClassicalLBHealthStatus This API (DescribeClassicalLBHealthStatus) is used to get the real server health status of a classic CLB
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeClassicalLBHealthStatusWithContext ¶
func (c *Client) DescribeClassicalLBHealthStatusWithContext(ctx context.Context, request *DescribeClassicalLBHealthStatusRequest) (response *DescribeClassicalLBHealthStatusResponse, err error)
DescribeClassicalLBHealthStatus This API (DescribeClassicalLBHealthStatus) is used to get the real server health status of a classic CLB
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeClassicalLBListeners ¶
func (c *Client) DescribeClassicalLBListeners(request *DescribeClassicalLBListenersRequest) (response *DescribeClassicalLBListenersResponse, err error)
DescribeClassicalLBListeners This API (DescribeClassicalLBListeners) is used to get the listener information of a classic CLB.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClassicalLBListenersWithContext ¶
func (c *Client) DescribeClassicalLBListenersWithContext(ctx context.Context, request *DescribeClassicalLBListenersRequest) (response *DescribeClassicalLBListenersResponse, err error)
DescribeClassicalLBListeners This API (DescribeClassicalLBListeners) is used to get the listener information of a classic CLB.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClassicalLBTargets ¶
func (c *Client) DescribeClassicalLBTargets(request *DescribeClassicalLBTargetsRequest) (response *DescribeClassicalLBTargetsResponse, err error)
DescribeClassicalLBTargets This API is used to get the real servers bound to a classic CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeClassicalLBTargetsWithContext ¶
func (c *Client) DescribeClassicalLBTargetsWithContext(ctx context.Context, request *DescribeClassicalLBTargetsRequest) (response *DescribeClassicalLBTargetsResponse, err error)
DescribeClassicalLBTargets This API is used to get the real servers bound to a classic CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeClsLogSet ¶
func (c *Client) DescribeClsLogSet(request *DescribeClsLogSetRequest) (response *DescribeClsLogSetResponse, err error)
DescribeClsLogSet This API is used to get the CLB exclusive logset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeClsLogSetWithContext ¶
func (c *Client) DescribeClsLogSetWithContext(ctx context.Context, request *DescribeClsLogSetRequest) (response *DescribeClsLogSetResponse, err error)
DescribeClsLogSet This API is used to get the CLB exclusive logset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeCrossTargets ¶
func (c *Client) DescribeCrossTargets(request *DescribeCrossTargetsRequest) (response *DescribeCrossTargetsResponse, err error)
DescribeCrossTargets Queries information of CVMs and ENIs that use cross-region binding 2.0
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeCrossTargetsWithContext ¶
func (c *Client) DescribeCrossTargetsWithContext(ctx context.Context, request *DescribeCrossTargetsRequest) (response *DescribeCrossTargetsResponse, err error)
DescribeCrossTargets Queries information of CVMs and ENIs that use cross-region binding 2.0
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeCustomizedConfigAssociateList ¶
func (c *Client) DescribeCustomizedConfigAssociateList(request *DescribeCustomizedConfigAssociateListRequest) (response *DescribeCustomizedConfigAssociateListResponse, err error)
DescribeCustomizedConfigAssociateList This API is used to query the configured location, bound server or bound CLB instance. If there are domain names, the result will be filtered by domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeCustomizedConfigAssociateListWithContext ¶
func (c *Client) DescribeCustomizedConfigAssociateListWithContext(ctx context.Context, request *DescribeCustomizedConfigAssociateListRequest) (response *DescribeCustomizedConfigAssociateListResponse, err error)
DescribeCustomizedConfigAssociateList This API is used to query the configured location, bound server or bound CLB instance. If there are domain names, the result will be filtered by domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeCustomizedConfigList ¶
func (c *Client) DescribeCustomizedConfigList(request *DescribeCustomizedConfigListRequest) (response *DescribeCustomizedConfigListResponse, err error)
DescribeCustomizedConfigList This API is used to pull custom configuration lists to return the user configuration of `AppId`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist" INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeCustomizedConfigListWithContext ¶
func (c *Client) DescribeCustomizedConfigListWithContext(ctx context.Context, request *DescribeCustomizedConfigListRequest) (response *DescribeCustomizedConfigListResponse, err error)
DescribeCustomizedConfigList This API is used to pull custom configuration lists to return the user configuration of `AppId`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist" INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeIdleLoadBalancers ¶
func (c *Client) DescribeIdleLoadBalancers(request *DescribeIdleLoadBalancersRequest) (response *DescribeIdleLoadBalancersResponse, err error)
DescribeIdleLoadBalancers Idle CLB instances are pay-as-you-go load balancers that, within seven days after the creation, do not have rules configured or the configured rules are not associated with any servers.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
func (*Client) DescribeIdleLoadBalancersWithContext ¶
func (c *Client) DescribeIdleLoadBalancersWithContext(ctx context.Context, request *DescribeIdleLoadBalancersRequest) (response *DescribeIdleLoadBalancersResponse, err error)
DescribeIdleLoadBalancers Idle CLB instances are pay-as-you-go load balancers that, within seven days after the creation, do not have rules configured or the configured rules are not associated with any servers.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
func (*Client) DescribeLBListeners ¶
func (c *Client) DescribeLBListeners(request *DescribeLBListenersRequest) (response *DescribeLBListenersResponse, err error)
DescribeLBListeners This API is used to query CLB instances bound to the CVM or ENI.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLBListenersWithContext ¶
func (c *Client) DescribeLBListenersWithContext(ctx context.Context, request *DescribeLBListenersRequest) (response *DescribeLBListenersResponse, err error)
DescribeLBListeners This API is used to query CLB instances bound to the CVM or ENI.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeListeners ¶
func (c *Client) DescribeListeners(request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)
DescribeListeners This API is used to get the list of listeners by CLB ID, listener protocol, or listener port. If no filter is specified, all listeners for the CLB instance will be returned.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeListenersWithContext ¶
func (c *Client) DescribeListenersWithContext(ctx context.Context, request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)
DescribeListeners This API is used to get the list of listeners by CLB ID, listener protocol, or listener port. If no filter is specified, all listeners for the CLB instance will be returned.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLoadBalancerListByCertId ¶
func (c *Client) DescribeLoadBalancerListByCertId(request *DescribeLoadBalancerListByCertIdRequest) (response *DescribeLoadBalancerListByCertIdResponse, err error)
DescribeLoadBalancerListByCertId This API is used to query the list of CLB instances associated with a certificate in a region by certificate ID.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLoadBalancerListByCertIdWithContext ¶
func (c *Client) DescribeLoadBalancerListByCertIdWithContext(ctx context.Context, request *DescribeLoadBalancerListByCertIdRequest) (response *DescribeLoadBalancerListByCertIdResponse, err error)
DescribeLoadBalancerListByCertId This API is used to query the list of CLB instances associated with a certificate in a region by certificate ID.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLoadBalancerOverview ¶
func (c *Client) DescribeLoadBalancerOverview(request *DescribeLoadBalancerOverviewRequest) (response *DescribeLoadBalancerOverviewResponse, err error)
DescribeLoadBalancerOverview Queries the total number of CLB instances and the number of CLB instances in different status (running, isolated and about to expire).
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
func (*Client) DescribeLoadBalancerOverviewWithContext ¶
func (c *Client) DescribeLoadBalancerOverviewWithContext(ctx context.Context, request *DescribeLoadBalancerOverviewRequest) (response *DescribeLoadBalancerOverviewResponse, err error)
DescribeLoadBalancerOverview Queries the total number of CLB instances and the number of CLB instances in different status (running, isolated and about to expire).
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
func (*Client) DescribeLoadBalancerTraffic ¶
func (c *Client) DescribeLoadBalancerTraffic(request *DescribeLoadBalancerTrafficRequest) (response *DescribeLoadBalancerTrafficResponse, err error)
DescribeLoadBalancerTraffic This API is used to query CLB instances with high traffic under the current account, and return the top 10 results. For queries using a sub-account, only the CLB instances authorized to the sub-account will be returned.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
func (*Client) DescribeLoadBalancerTrafficWithContext ¶
func (c *Client) DescribeLoadBalancerTrafficWithContext(ctx context.Context, request *DescribeLoadBalancerTrafficRequest) (response *DescribeLoadBalancerTrafficResponse, err error)
DescribeLoadBalancerTraffic This API is used to query CLB instances with high traffic under the current account, and return the top 10 results. For queries using a sub-account, only the CLB instances authorized to the sub-account will be returned.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
func (*Client) DescribeLoadBalancers ¶
func (c *Client) DescribeLoadBalancers(request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)
DescribeLoadBalancers This API is used to query the list of CLB instances in a region.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeLoadBalancersDetail ¶
func (c *Client) DescribeLoadBalancersDetail(request *DescribeLoadBalancersDetailRequest) (response *DescribeLoadBalancersDetailResponse, err error)
DescribeLoadBalancersDetail This API is used to query CLB instance details, including listener, rules, and target real servers.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLoadBalancersDetailWithContext ¶
func (c *Client) DescribeLoadBalancersDetailWithContext(ctx context.Context, request *DescribeLoadBalancersDetailRequest) (response *DescribeLoadBalancersDetailResponse, err error)
DescribeLoadBalancersDetail This API is used to query CLB instance details, including listener, rules, and target real servers.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLoadBalancersWithContext ¶
func (c *Client) DescribeLoadBalancersWithContext(ctx context.Context, request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)
DescribeLoadBalancers This API is used to query the list of CLB instances in a region.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeQuota ¶
func (c *Client) DescribeQuota(request *DescribeQuotaRequest) (response *DescribeQuotaResponse, err error)
DescribeQuota This API is used to query various quotas in the current region.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeQuotaWithContext ¶
func (c *Client) DescribeQuotaWithContext(ctx context.Context, request *DescribeQuotaRequest) (response *DescribeQuotaResponse, err error)
DescribeQuota This API is used to query various quotas in the current region.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeResources ¶
func (c *Client) DescribeResources(request *DescribeResourcesRequest) (response *DescribeResourcesResponse, err error)
DescribeResources This API is used to query the list of AZs and resources supported for the user in the current region.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
func (*Client) DescribeResourcesWithContext ¶
func (c *Client) DescribeResourcesWithContext(ctx context.Context, request *DescribeResourcesRequest) (response *DescribeResourcesResponse, err error)
DescribeResources This API is used to query the list of AZs and resources supported for the user in the current region.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
func (*Client) DescribeRewrite ¶
func (c *Client) DescribeRewrite(request *DescribeRewriteRequest) (response *DescribeRewriteResponse, err error)
DescribeRewrite This API (DescribeRewrite) is used to query the redirection relationship between the forwarding rules of a CLB instance by instance ID. If no listener ID or forwarding rule ID is specified, all redirection relationships in the instance will be returned.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeRewriteWithContext ¶
func (c *Client) DescribeRewriteWithContext(ctx context.Context, request *DescribeRewriteRequest) (response *DescribeRewriteResponse, err error)
DescribeRewrite This API (DescribeRewrite) is used to query the redirection relationship between the forwarding rules of a CLB instance by instance ID. If no listener ID or forwarding rule ID is specified, all redirection relationships in the instance will be returned.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTargetGroupInstances ¶
func (c *Client) DescribeTargetGroupInstances(request *DescribeTargetGroupInstancesRequest) (response *DescribeTargetGroupInstancesResponse, err error)
DescribeTargetGroupInstances This API is used to get the information of servers bound to a target group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTargetGroupInstancesWithContext ¶
func (c *Client) DescribeTargetGroupInstancesWithContext(ctx context.Context, request *DescribeTargetGroupInstancesRequest) (response *DescribeTargetGroupInstancesResponse, err error)
DescribeTargetGroupInstances This API is used to get the information of servers bound to a target group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTargetGroupList ¶
func (c *Client) DescribeTargetGroupList(request *DescribeTargetGroupListRequest) (response *DescribeTargetGroupListResponse, err error)
DescribeTargetGroupList This API is used to get the target group list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTargetGroupListWithContext ¶
func (c *Client) DescribeTargetGroupListWithContext(ctx context.Context, request *DescribeTargetGroupListRequest) (response *DescribeTargetGroupListResponse, err error)
DescribeTargetGroupList This API is used to get the target group list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTargetGroups ¶
func (c *Client) DescribeTargetGroups(request *DescribeTargetGroupsRequest) (response *DescribeTargetGroupsResponse, err error)
DescribeTargetGroups This API is used to query the target group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTargetGroupsWithContext ¶
func (c *Client) DescribeTargetGroupsWithContext(ctx context.Context, request *DescribeTargetGroupsRequest) (response *DescribeTargetGroupsResponse, err error)
DescribeTargetGroups This API is used to query the target group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTargetHealth ¶
func (c *Client) DescribeTargetHealth(request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)
DescribeTargetHealth This API (DescribeTargetHealth) is used to query the health check result of a real server of a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTargetHealthWithContext ¶
func (c *Client) DescribeTargetHealthWithContext(ctx context.Context, request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)
DescribeTargetHealth This API (DescribeTargetHealth) is used to query the health check result of a real server of a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTargets ¶
func (c *Client) DescribeTargets(request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)
DescribeTargets This API (DescribeTargets) is used to query the list of real servers bound to some listeners of a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTargetsWithContext ¶
func (c *Client) DescribeTargetsWithContext(ctx context.Context, request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)
DescribeTargets This API (DescribeTargets) is used to query the list of real servers bound to some listeners of a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTaskStatus ¶
func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
DescribeTaskStatus This API is used to query the execution status of an async task. After non-query APIs (used to create/delete CLB instances, listeners, or rules or to bind/unbind real servers) are called successfully, this API needs to be used to query whether the task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
func (*Client) DescribeTaskStatusWithContext ¶
func (c *Client) DescribeTaskStatusWithContext(ctx context.Context, request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
DescribeTaskStatus This API is used to query the execution status of an async task. After non-query APIs (used to create/delete CLB instances, listeners, or rules or to bind/unbind real servers) are called successfully, this API needs to be used to query whether the task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
func (*Client) DisassociateTargetGroups ¶
func (c *Client) DisassociateTargetGroups(request *DisassociateTargetGroupsRequest) (response *DisassociateTargetGroupsResponse, err error)
DisassociateTargetGroups This API is used to unbind target groups from a rule.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DisassociateTargetGroupsWithContext ¶
func (c *Client) DisassociateTargetGroupsWithContext(ctx context.Context, request *DisassociateTargetGroupsRequest) (response *DisassociateTargetGroupsResponse, err error)
DisassociateTargetGroups This API is used to unbind target groups from a rule.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) InquiryPriceCreateLoadBalancer ¶
func (c *Client) InquiryPriceCreateLoadBalancer(request *InquiryPriceCreateLoadBalancerRequest) (response *InquiryPriceCreateLoadBalancerResponse, err error)
InquiryPriceCreateLoadBalancer This API is used to query the price of creating a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) InquiryPriceCreateLoadBalancerWithContext ¶
func (c *Client) InquiryPriceCreateLoadBalancerWithContext(ctx context.Context, request *InquiryPriceCreateLoadBalancerRequest) (response *InquiryPriceCreateLoadBalancerResponse, err error)
InquiryPriceCreateLoadBalancer This API is used to query the price of creating a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) InquiryPriceModifyLoadBalancer ¶
func (c *Client) InquiryPriceModifyLoadBalancer(request *InquiryPriceModifyLoadBalancerRequest) (response *InquiryPriceModifyLoadBalancerResponse, err error)
InquiryPriceModifyLoadBalancer This API is used to query the price of adjusting the specification of a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) InquiryPriceModifyLoadBalancerWithContext ¶
func (c *Client) InquiryPriceModifyLoadBalancerWithContext(ctx context.Context, request *InquiryPriceModifyLoadBalancerRequest) (response *InquiryPriceModifyLoadBalancerResponse, err error)
InquiryPriceModifyLoadBalancer This API is used to query the price of adjusting the specification of a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) InquiryPriceRefundLoadBalancer ¶
func (c *Client) InquiryPriceRefundLoadBalancer(request *InquiryPriceRefundLoadBalancerRequest) (response *InquiryPriceRefundLoadBalancerResponse, err error)
InquiryPriceRefundLoadBalancer This API is used to query the refund amount of returning a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEINSUFFICIENT = "ResourceInsufficient"
func (*Client) InquiryPriceRefundLoadBalancerWithContext ¶
func (c *Client) InquiryPriceRefundLoadBalancerWithContext(ctx context.Context, request *InquiryPriceRefundLoadBalancerRequest) (response *InquiryPriceRefundLoadBalancerResponse, err error)
InquiryPriceRefundLoadBalancer This API is used to query the refund amount of returning a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEINSUFFICIENT = "ResourceInsufficient"
func (*Client) InquiryPriceRenewLoadBalancer ¶
func (c *Client) InquiryPriceRenewLoadBalancer(request *InquiryPriceRenewLoadBalancerRequest) (response *InquiryPriceRenewLoadBalancerResponse, err error)
InquiryPriceRenewLoadBalancer This API is used to query the price of renewing a CLB instance. It's only available to prepaid CLB instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) InquiryPriceRenewLoadBalancerWithContext ¶
func (c *Client) InquiryPriceRenewLoadBalancerWithContext(ctx context.Context, request *InquiryPriceRenewLoadBalancerRequest) (response *InquiryPriceRenewLoadBalancerResponse, err error)
InquiryPriceRenewLoadBalancer This API is used to query the price of renewing a CLB instance. It's only available to prepaid CLB instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ManualRewrite ¶
func (c *Client) ManualRewrite(request *ManualRewriteRequest) (response *ManualRewriteResponse, err error)
ManualRewrite After the original access address and the address to be redirected are configured manually, the system will automatically redirect requests made to the original access address to the target address of the corresponding path. Multiple paths can be configured as a redirection policy under one domain name to achieve automatic redirection between HTTP and HTTPS. A redirection policy should meet the following rules: if A has already been redirected to B, then it cannot be redirected to C (unless the original redirection relationship is deleted and a new one is created), and B cannot be redirected to any other addresses.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist" INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ManualRewriteWithContext ¶
func (c *Client) ManualRewriteWithContext(ctx context.Context, request *ManualRewriteRequest) (response *ManualRewriteResponse, err error)
ManualRewrite After the original access address and the address to be redirected are configured manually, the system will automatically redirect requests made to the original access address to the target address of the corresponding path. Multiple paths can be configured as a redirection policy under one domain name to achieve automatic redirection between HTTP and HTTPS. A redirection policy should meet the following rules: if A has already been redirected to B, then it cannot be redirected to C (unless the original redirection relationship is deleted and a new one is created), and B cannot be redirected to any other addresses.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDLBSTATUS = "FailedOperation.InvalidLBStatus" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REWRITEALREADYEXIST = "InvalidParameter.RewriteAlreadyExist" INVALIDPARAMETER_SOMEREWRITENOTFOUND = "InvalidParameter.SomeRewriteNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) MigrateClassicalLoadBalancers ¶
func (c *Client) MigrateClassicalLoadBalancers(request *MigrateClassicalLoadBalancersRequest) (response *MigrateClassicalLoadBalancersResponse, err error)
MigrateClassicalLoadBalancers This API is used to upgrade classic CLB instances to application CLB instances.
This is an async API. After it is returned successfully, you can check the action result by calling `DescribeLoadBalancers`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) MigrateClassicalLoadBalancersWithContext ¶
func (c *Client) MigrateClassicalLoadBalancersWithContext(ctx context.Context, request *MigrateClassicalLoadBalancersRequest) (response *MigrateClassicalLoadBalancersResponse, err error)
MigrateClassicalLoadBalancers This API is used to upgrade classic CLB instances to application CLB instances.
This is an async API. After it is returned successfully, you can check the action result by calling `DescribeLoadBalancers`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyBlockIPList ¶
func (c *Client) ModifyBlockIPList(request *ModifyBlockIPListRequest) (response *ModifyBlockIPListResponse, err error)
ModifyBlockIPList This API is used to modify the client IP blocklist of a CLB instance. One forwarding rule supports blocking up to 2,000,000 IPs. One blocklist can contain up to 2,000,000 entries.
(This API is in beta test. To use it, please submit a ticket.)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyBlockIPListWithContext ¶
func (c *Client) ModifyBlockIPListWithContext(ctx context.Context, request *ModifyBlockIPListRequest) (response *ModifyBlockIPListResponse, err error)
ModifyBlockIPList This API is used to modify the client IP blocklist of a CLB instance. One forwarding rule supports blocking up to 2,000,000 IPs. One blocklist can contain up to 2,000,000 entries.
(This API is in beta test. To use it, please submit a ticket.)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyDomain ¶
func (c *Client) ModifyDomain(request *ModifyDomainRequest) (response *ModifyDomainResponse, err error)
ModifyDomain This API (ModifyDomain) is used to modify a domain name under a layer-7 CLB listener.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyDomainAttributes ¶
func (c *Client) ModifyDomainAttributes(request *ModifyDomainAttributesRequest) (response *ModifyDomainAttributesResponse, err error)
ModifyDomainAttributes This API is used to modify the domain name-level attributes of a layer-7 listener's forwarding rule, such as modifying the domain name, changing the DefaultServer, enabling/disabling HTTP/2, and modifying certificates.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyDomainAttributesWithContext ¶
func (c *Client) ModifyDomainAttributesWithContext(ctx context.Context, request *ModifyDomainAttributesRequest) (response *ModifyDomainAttributesResponse, err error)
ModifyDomainAttributes This API is used to modify the domain name-level attributes of a layer-7 listener's forwarding rule, such as modifying the domain name, changing the DefaultServer, enabling/disabling HTTP/2, and modifying certificates.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyDomainWithContext ¶
func (c *Client) ModifyDomainWithContext(ctx context.Context, request *ModifyDomainRequest) (response *ModifyDomainResponse, err error)
ModifyDomain This API (ModifyDomain) is used to modify a domain name under a layer-7 CLB listener.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyFunctionTargets ¶
func (c *Client) ModifyFunctionTargets(request *ModifyFunctionTargetsRequest) (response *ModifyFunctionTargetsResponse, err error)
ModifyFunctionTargets This API is used to modify the cloud functions associated with a load balancing forwarding rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyFunctionTargetsWithContext ¶
func (c *Client) ModifyFunctionTargetsWithContext(ctx context.Context, request *ModifyFunctionTargetsRequest) (response *ModifyFunctionTargetsResponse, err error)
ModifyFunctionTargets This API is used to modify the cloud functions associated with a load balancing forwarding rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyListener ¶
func (c *Client) ModifyListener(request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)
ModifyListener This API (ModifyListener) is used to modify the attributes of a CLB listener, such as listener name, health check parameter, certificate information, and forwarding policy.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyListenerWithContext ¶
func (c *Client) ModifyListenerWithContext(ctx context.Context, request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)
ModifyListener This API (ModifyListener) is used to modify the attributes of a CLB listener, such as listener name, health check parameter, certificate information, and forwarding policy.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyLoadBalancerAttributes ¶
func (c *Client) ModifyLoadBalancerAttributes(request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)
ModifyLoadBalancerAttributes This API is used to modify the attributes of a CLB instance such as name and cross-region attributes.
This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyLoadBalancerAttributesWithContext ¶
func (c *Client) ModifyLoadBalancerAttributesWithContext(ctx context.Context, request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)
ModifyLoadBalancerAttributes This API is used to modify the attributes of a CLB instance such as name and cross-region attributes.
This is an async API. After it is returned successfully, you can check the task result by calling `DescribeTaskStatus` with the returned `RequestID`.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyLoadBalancerSla ¶
func (c *Client) ModifyLoadBalancerSla(request *ModifyLoadBalancerSlaRequest) (response *ModifyLoadBalancerSlaResponse, err error)
ModifyLoadBalancerSla This API is used to upgrade a pay-as-you-go shared CLB instance to an LCU-supported CLB instance. <br/>
Limits ¶
- This API can only be used to upgrade pay-as-you-go shared instances. To upgrade monthly-subscribed shared instances, please go to the CLB console.
- An LCU-supported instance cannot be changed back to a shared instance.
- Classic CLB instances cannot be upgraded to LCU-supported instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyLoadBalancerSlaWithContext ¶
func (c *Client) ModifyLoadBalancerSlaWithContext(ctx context.Context, request *ModifyLoadBalancerSlaRequest) (response *ModifyLoadBalancerSlaResponse, err error)
ModifyLoadBalancerSla This API is used to upgrade a pay-as-you-go shared CLB instance to an LCU-supported CLB instance. <br/>
Limits ¶
- This API can only be used to upgrade pay-as-you-go shared instances. To upgrade monthly-subscribed shared instances, please go to the CLB console.
- An LCU-supported instance cannot be changed back to a shared instance.
- Classic CLB instances cannot be upgraded to LCU-supported instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyLoadBalancersProject ¶
func (c *Client) ModifyLoadBalancersProject(request *ModifyLoadBalancersProjectRequest) (response *ModifyLoadBalancersProjectResponse, err error)
ModifyLoadBalancersProject This API is used to modify the projects of CLB instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyLoadBalancersProjectWithContext ¶
func (c *Client) ModifyLoadBalancersProjectWithContext(ctx context.Context, request *ModifyLoadBalancersProjectRequest) (response *ModifyLoadBalancersProjectResponse, err error)
ModifyLoadBalancersProject This API is used to modify the projects of CLB instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyRule ¶
func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule This API (ModifyRule) is used to modify the attributes of a forwarding rule under a layer-7 CLB listener, such as forwarding path, health check attribute, and forwarding policy.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyRuleWithContext ¶
func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule This API (ModifyRule) is used to modify the attributes of a forwarding rule under a layer-7 CLB listener, such as forwarding path, health check attribute, and forwarding policy.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTargetGroupAttribute ¶
func (c *Client) ModifyTargetGroupAttribute(request *ModifyTargetGroupAttributeRequest) (response *ModifyTargetGroupAttributeResponse, err error)
ModifyTargetGroupAttribute This API is used to rename a target group or modify its default port attribute.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTargetGroupAttributeWithContext ¶
func (c *Client) ModifyTargetGroupAttributeWithContext(ctx context.Context, request *ModifyTargetGroupAttributeRequest) (response *ModifyTargetGroupAttributeResponse, err error)
ModifyTargetGroupAttribute This API is used to rename a target group or modify its default port attribute.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTargetGroupInstancesPort ¶
func (c *Client) ModifyTargetGroupInstancesPort(request *ModifyTargetGroupInstancesPortRequest) (response *ModifyTargetGroupInstancesPortResponse, err error)
ModifyTargetGroupInstancesPort This API is used to modify server ports of a target group in batches.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTargetGroupInstancesPortWithContext ¶
func (c *Client) ModifyTargetGroupInstancesPortWithContext(ctx context.Context, request *ModifyTargetGroupInstancesPortRequest) (response *ModifyTargetGroupInstancesPortResponse, err error)
ModifyTargetGroupInstancesPort This API is used to modify server ports of a target group in batches.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTargetGroupInstancesWeight ¶
func (c *Client) ModifyTargetGroupInstancesWeight(request *ModifyTargetGroupInstancesWeightRequest) (response *ModifyTargetGroupInstancesWeightResponse, err error)
ModifyTargetGroupInstancesWeight This API is used to modify server weights of a target group in batches.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTargetGroupInstancesWeightWithContext ¶
func (c *Client) ModifyTargetGroupInstancesWeightWithContext(ctx context.Context, request *ModifyTargetGroupInstancesWeightRequest) (response *ModifyTargetGroupInstancesWeightResponse, err error)
ModifyTargetGroupInstancesWeight This API is used to modify server weights of a target group in batches.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTargetPort ¶
func (c *Client) ModifyTargetPort(request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)
ModifyTargetPort This API (ModifyTargetPort) is used to modify the port of a real server bound to a listener.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTargetPortWithContext ¶
func (c *Client) ModifyTargetPortWithContext(ctx context.Context, request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)
ModifyTargetPort This API (ModifyTargetPort) is used to modify the port of a real server bound to a listener.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTargetWeight ¶
func (c *Client) ModifyTargetWeight(request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)
ModifyTargetWeight This API (ModifyTargetWeight) is used to modify the forwarding weight of a real server bound to a CLB instance.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTargetWeightWithContext ¶
func (c *Client) ModifyTargetWeightWithContext(ctx context.Context, request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)
ModifyTargetWeight This API (ModifyTargetWeight) is used to modify the forwarding weight of a real server bound to a CLB instance.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RegisterFunctionTargets ¶
func (c *Client) RegisterFunctionTargets(request *RegisterFunctionTargetsRequest) (response *RegisterFunctionTargetsResponse, err error)
RegisterFunctionTargets This API is used to bind an SCF function with the L7 forwarding rule of a CLB instance. Note that you need to create an L7 listener (HTTP, HTTPS) and forwarding rule first.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.<br/>
**Limits:**
- Binding with SCF is only available in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Mumbai, Tokyo, and Silicon Valley.
- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account. For more information, please see [Checking Account Type](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1).
- SCF functions cannot be bound with classic CLB instances.
- SCF functions cannot be bound with classic network-based CLB instances.
- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.
- SCF functions can only be bound with IPv4 and IPv6 NAT64 CLB instances, but currently not with IPv6 CLB instances.
- SCF functions can only be bound with layer-7 HTTP and HTTPS listeners, but not with layer-7 QUIC listeners or layer-4 (TCP, UDP, and TCP SSL) listeners.
- Only SCF event-triggered functions can be bound with CLB instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RegisterFunctionTargetsWithContext ¶
func (c *Client) RegisterFunctionTargetsWithContext(ctx context.Context, request *RegisterFunctionTargetsRequest) (response *RegisterFunctionTargetsResponse, err error)
RegisterFunctionTargets This API is used to bind an SCF function with the L7 forwarding rule of a CLB instance. Note that you need to create an L7 listener (HTTP, HTTPS) and forwarding rule first.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.<br/>
**Limits:**
- Binding with SCF is only available in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Mumbai, Tokyo, and Silicon Valley.
- SCF functions can only be bound with CLB instances of bill-by-IP accounts but not with bill-by-CVM accounts. If you are using a bill-by-CVM account, we recommend upgrading it to a bill-by-IP account. For more information, please see [Checking Account Type](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1).
- SCF functions cannot be bound with classic CLB instances.
- SCF functions cannot be bound with classic network-based CLB instances.
- SCF functions in the same region can be bound with CLB instances. SCF functions can only be bound across VPCs but not regions.
- SCF functions can only be bound with IPv4 and IPv6 NAT64 CLB instances, but currently not with IPv6 CLB instances.
- SCF functions can only be bound with layer-7 HTTP and HTTPS listeners, but not with layer-7 QUIC listeners or layer-4 (TCP, UDP, and TCP SSL) listeners.
- Only SCF event-triggered functions can be bound with CLB instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RegisterTargetGroupInstances ¶
func (c *Client) RegisterTargetGroupInstances(request *RegisterTargetGroupInstancesRequest) (response *RegisterTargetGroupInstancesResponse, err error)
RegisterTargetGroupInstances This API is used to register servers to a target group.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RegisterTargetGroupInstancesWithContext ¶
func (c *Client) RegisterTargetGroupInstancesWithContext(ctx context.Context, request *RegisterTargetGroupInstancesRequest) (response *RegisterTargetGroupInstancesResponse, err error)
RegisterTargetGroupInstances This API is used to register servers to a target group.
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RegisterTargets ¶
func (c *Client) RegisterTargets(request *RegisterTargetsRequest) (response *RegisterTargetsResponse, err error)
RegisterTargets This API (RegisterTargets) is used to bind one or more real servers to a CLB listener or layer-7 forwarding rule. Before using this API, you need to create relevant layer-4 listeners or layer-7 forwarding rules. For the former (TCP/UDP), only the listener ID needs to be specified, while for the latter (HTTP/HTTPS), the forwarding rule also needs to be specified through LocationId or Domain+Url.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RegisterTargetsWithClassicalLB ¶
func (c *Client) RegisterTargetsWithClassicalLB(request *RegisterTargetsWithClassicalLBRequest) (response *RegisterTargetsWithClassicalLBResponse, err error)
RegisterTargetsWithClassicalLB This API is used to bind a real server with a classic CLB instance. This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RegisterTargetsWithClassicalLBWithContext ¶
func (c *Client) RegisterTargetsWithClassicalLBWithContext(ctx context.Context, request *RegisterTargetsWithClassicalLBRequest) (response *RegisterTargetsWithClassicalLBResponse, err error)
RegisterTargetsWithClassicalLB This API is used to bind a real server with a classic CLB instance. This is an async API. After it is returned successfully, you can call the API `DescribeTaskStatus` with the returned RequestId as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RegisterTargetsWithContext ¶
func (c *Client) RegisterTargetsWithContext(ctx context.Context, request *RegisterTargetsRequest) (response *RegisterTargetsResponse, err error)
RegisterTargets This API (RegisterTargets) is used to bind one or more real servers to a CLB listener or layer-7 forwarding rule. Before using this API, you need to create relevant layer-4 listeners or layer-7 forwarding rules. For the former (TCP/UDP), only the listener ID needs to be specified, while for the latter (HTTP/HTTPS), the forwarding rule also needs to be specified through LocationId or Domain+Url.
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ReplaceCertForLoadBalancers ¶
func (c *Client) ReplaceCertForLoadBalancers(request *ReplaceCertForLoadBalancersRequest) (response *ReplaceCertForLoadBalancersResponse, err error)
ReplaceCertForLoadBalancers This API (ReplaceCertForLoadBalancers) is used to replace the certificate associated with a CLB instance. A new certificates can be associated with a CLB only after the original certificate is disassociated from it.
This API supports replacing server certificates and client certificates.
The new certificate to be used can be specified by passing in the certificate ID. If no certificate ID is specified, relevant information such as certificate content must be passed in to create a new certificate and bind it to the CLB.
Note: This API can only be called in the Guangzhou region; for other regions, an error will occur due to domain name resolution problems.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
func (*Client) ReplaceCertForLoadBalancersWithContext ¶
func (c *Client) ReplaceCertForLoadBalancersWithContext(ctx context.Context, request *ReplaceCertForLoadBalancersRequest) (response *ReplaceCertForLoadBalancersResponse, err error)
ReplaceCertForLoadBalancers This API (ReplaceCertForLoadBalancers) is used to replace the certificate associated with a CLB instance. A new certificates can be associated with a CLB only after the original certificate is disassociated from it.
This API supports replacing server certificates and client certificates.
The new certificate to be used can be specified by passing in the certificate ID. If no certificate ID is specified, relevant information such as certificate content must be passed in to create a new certificate and bind it to the CLB.
Note: This API can only be called in the Guangzhou region; for other regions, an error will occur due to domain name resolution problems.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
func (*Client) SetCustomizedConfigForLoadBalancer ¶
func (c *Client) SetCustomizedConfigForLoadBalancer(request *SetCustomizedConfigForLoadBalancerRequest) (response *SetCustomizedConfigForLoadBalancerResponse, err error)
SetCustomizedConfigForLoadBalancer This API is used to create or manage a user-defined CLB configuration template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SetCustomizedConfigForLoadBalancerWithContext ¶
func (c *Client) SetCustomizedConfigForLoadBalancerWithContext(ctx context.Context, request *SetCustomizedConfigForLoadBalancerRequest) (response *SetCustomizedConfigForLoadBalancerResponse, err error)
SetCustomizedConfigForLoadBalancer This API is used to create or manage a user-defined CLB configuration template.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SetLoadBalancerClsLog ¶
func (c *Client) SetLoadBalancerClsLog(request *SetLoadBalancerClsLogRequest) (response *SetLoadBalancerClsLogResponse, err error)
SetLoadBalancerClsLog This API is used to add, delete, and update the CLS topic of a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SetLoadBalancerClsLogWithContext ¶
func (c *Client) SetLoadBalancerClsLogWithContext(ctx context.Context, request *SetLoadBalancerClsLogRequest) (response *SetLoadBalancerClsLogResponse, err error)
SetLoadBalancerClsLog This API is used to add, delete, and update the CLS topic of a CLB instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SetLoadBalancerSecurityGroups ¶
func (c *Client) SetLoadBalancerSecurityGroups(request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)
SetLoadBalancerSecurityGroups This API (SetLoadBalancerSecurityGroups) is used to bind/unbind security groups for a public network CLB instance. You can use the DescribeLoadBalancers API to query the security groups bound to a CLB instance. This API uses `set` semantics.
During a binding operation, the input parameters need to be all security groups to be bound to the CLB instance (including those already bound ones and new ones).
During an unbinding operation, the input parameters need to be all the security groups still bound to the CLB instance after the unbinding operation. To unbind all security groups, you can leave this parameter empty or pass in an empty array. Note: Private network CLB do not support binding security groups.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SetLoadBalancerSecurityGroupsWithContext ¶
func (c *Client) SetLoadBalancerSecurityGroupsWithContext(ctx context.Context, request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)
SetLoadBalancerSecurityGroups This API (SetLoadBalancerSecurityGroups) is used to bind/unbind security groups for a public network CLB instance. You can use the DescribeLoadBalancers API to query the security groups bound to a CLB instance. This API uses `set` semantics.
During a binding operation, the input parameters need to be all security groups to be bound to the CLB instance (including those already bound ones and new ones).
During an unbinding operation, the input parameters need to be all the security groups still bound to the CLB instance after the unbinding operation. To unbind all security groups, you can leave this parameter empty or pass in an empty array. Note: Private network CLB do not support binding security groups.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SetSecurityGroupForLoadbalancers ¶
func (c *Client) SetSecurityGroupForLoadbalancers(request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)
SetSecurityGroupForLoadbalancers This API is used to bind or unbind a security group for multiple public network CLB instances. Note: Private network CLB do not support binding security groups.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SetSecurityGroupForLoadbalancersWithContext ¶
func (c *Client) SetSecurityGroupForLoadbalancersWithContext(ctx context.Context, request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)
SetSecurityGroupForLoadbalancers This API is used to bind or unbind a security group for multiple public network CLB instances. Note: Private network CLB do not support binding security groups.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
type CloneLoadBalancerRequest ¶
type CloneLoadBalancerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Clones the name of the CLB instance. The name must be 1-60 characters containing letters, numbers, "-" or "_". // Note: if the name of a new CLB instance already exists, a default name will be generated automatically. LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // ID of the project to which a CLB instance belongs, which can be obtained through the `DescribeProject` API. If this parameter is not passed in, the default project will be used. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Sets the primary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB. // Note: A primary AZ loads traffic, while a secondary AZ does not load traffic by default and will be used only if the primary AZ becomes unavailable. The platform will automatically select the optimal secondary AZ. You can use the `DescribeResource` API to query the primary AZ list of a region. MasterZoneId *string `json:"MasterZoneId,omitnil,omitempty" name:"MasterZoneId"` // Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB. // Note: A secondary AZ will load traffic if the primary AZ is faulty. You can use the `DescribeMasterZones` API to query the primary and secondary AZ list of a region. SlaveZoneId *string `json:"SlaveZoneId,omitnil,omitempty" name:"SlaveZoneId"` // Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances. ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // CLB network billing mode. This parameter is applicable only to public network CLB instances. InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil,omitempty" name:"InternetAccessible"` // ISP of VIP. Values: `CMCC` (China Mobile), `CUCC` (China Unicom) and `CTCC` (China Telecom). You need to activate static single-line IPs. This feature is in beta and is only available in Guangzhou, Shanghai, Nanjing, Jinan, Hangzhou, Fuzhou, Beijing, Shijiazhuang, Wuhan, Changsha, Chengdu and Chongqing regions. To try it out, please contact your sales rep. If it's specified, the network billing mode must be `BANDWIDTH_PACKAGE`. If it's not specified, BGP is used by default. To query ISPs supported in a region, please use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). VipIsp *string `json:"VipIsp,omitnil,omitempty" name:"VipIsp"` // Applies for CLB instances for a specified VIP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Tags a CLB instance when purchasing it Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` // Dedicated cluster information ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil,omitempty" name:"ExclusiveCluster"` // Bandwidth package ID. If this parameter is specified, the network billing mode (`InternetAccessible.InternetChargeType`) will only support bill-by-bandwidth package (`BANDWIDTH_PACKAGE`). BandwidthPackageId *string `json:"BandwidthPackageId,omitnil,omitempty" name:"BandwidthPackageId"` // Whether to support binding cross-VPC IPs or cross-region IPs SnatPro *bool `json:"SnatPro,omitnil,omitempty" name:"SnatPro"` // Creates `SnatIp` when the binding IPs of other VPCs feature is enabled SnatIps []*SnatIp `json:"SnatIps,omitnil,omitempty" name:"SnatIps"` // ID of the public network CLB dedicated cluster ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // Specification of the LCU-supported instance. SlaType *string `json:"SlaType,omitnil,omitempty" name:"SlaType"` // Tag of the STGW dedicated cluster ClusterTag *string `json:"ClusterTag,omitnil,omitempty" name:"ClusterTag"` // Availability zones for nearby access of private network CLB instances to distribute traffic Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` // Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance (e.g., `eip-11112222`) EipAddressId *string `json:"EipAddressId,omitnil,omitempty" name:"EipAddressId"` }
func NewCloneLoadBalancerRequest ¶
func NewCloneLoadBalancerRequest() (request *CloneLoadBalancerRequest)
func (*CloneLoadBalancerRequest) FromJsonString ¶
func (r *CloneLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloneLoadBalancerRequest) ToJsonString ¶
func (r *CloneLoadBalancerRequest) ToJsonString() string
type CloneLoadBalancerRequestParams ¶
type CloneLoadBalancerRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Clones the name of the CLB instance. The name must be 1-60 characters containing letters, numbers, "-" or "_". // Note: if the name of a new CLB instance already exists, a default name will be generated automatically. LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // ID of the project to which a CLB instance belongs, which can be obtained through the `DescribeProject` API. If this parameter is not passed in, the default project will be used. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Sets the primary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB. // Note: A primary AZ loads traffic, while a secondary AZ does not load traffic by default and will be used only if the primary AZ becomes unavailable. The platform will automatically select the optimal secondary AZ. You can use the `DescribeResource` API to query the primary AZ list of a region. MasterZoneId *string `json:"MasterZoneId,omitnil,omitempty" name:"MasterZoneId"` // Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB. // Note: A secondary AZ will load traffic if the primary AZ is faulty. You can use the `DescribeMasterZones` API to query the primary and secondary AZ list of a region. SlaveZoneId *string `json:"SlaveZoneId,omitnil,omitempty" name:"SlaveZoneId"` // Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances. ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // CLB network billing mode. This parameter is applicable only to public network CLB instances. InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil,omitempty" name:"InternetAccessible"` // ISP of VIP. Values: `CMCC` (China Mobile), `CUCC` (China Unicom) and `CTCC` (China Telecom). You need to activate static single-line IPs. This feature is in beta and is only available in Guangzhou, Shanghai, Nanjing, Jinan, Hangzhou, Fuzhou, Beijing, Shijiazhuang, Wuhan, Changsha, Chengdu and Chongqing regions. To try it out, please contact your sales rep. If it's specified, the network billing mode must be `BANDWIDTH_PACKAGE`. If it's not specified, BGP is used by default. To query ISPs supported in a region, please use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). VipIsp *string `json:"VipIsp,omitnil,omitempty" name:"VipIsp"` // Applies for CLB instances for a specified VIP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Tags a CLB instance when purchasing it Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` // Dedicated cluster information ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil,omitempty" name:"ExclusiveCluster"` // Bandwidth package ID. If this parameter is specified, the network billing mode (`InternetAccessible.InternetChargeType`) will only support bill-by-bandwidth package (`BANDWIDTH_PACKAGE`). BandwidthPackageId *string `json:"BandwidthPackageId,omitnil,omitempty" name:"BandwidthPackageId"` // Whether to support binding cross-VPC IPs or cross-region IPs SnatPro *bool `json:"SnatPro,omitnil,omitempty" name:"SnatPro"` // Creates `SnatIp` when the binding IPs of other VPCs feature is enabled SnatIps []*SnatIp `json:"SnatIps,omitnil,omitempty" name:"SnatIps"` // ID of the public network CLB dedicated cluster ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // Specification of the LCU-supported instance. SlaType *string `json:"SlaType,omitnil,omitempty" name:"SlaType"` // Tag of the STGW dedicated cluster ClusterTag *string `json:"ClusterTag,omitnil,omitempty" name:"ClusterTag"` // Availability zones for nearby access of private network CLB instances to distribute traffic Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` // Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance (e.g., `eip-11112222`) EipAddressId *string `json:"EipAddressId,omitnil,omitempty" name:"EipAddressId"` }
Predefined struct for user
type CloneLoadBalancerResponse ¶
type CloneLoadBalancerResponse struct { *tchttp.BaseResponse Response *CloneLoadBalancerResponseParams `json:"Response"` }
func NewCloneLoadBalancerResponse ¶
func NewCloneLoadBalancerResponse() (response *CloneLoadBalancerResponse)
func (*CloneLoadBalancerResponse) FromJsonString ¶
func (r *CloneLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloneLoadBalancerResponse) ToJsonString ¶
func (r *CloneLoadBalancerResponse) ToJsonString() string
type CloneLoadBalancerResponseParams ¶
type CloneLoadBalancerResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ClusterItem ¶
type ClusterItem struct { // Unique cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster name // Note: this field may return null, indicating that no valid values can be obtained. ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Cluster AZ, such as ap-guangzhou-1 // Note: this field may return null, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` }
type ConfigListItem ¶
type ConfigListItem struct { // Configuration ID. UconfigId *string `json:"UconfigId,omitnil,omitempty" name:"UconfigId"` // Configuration type. ConfigType *string `json:"ConfigType,omitnil,omitempty" name:"ConfigType"` // Configuration name. // Note: this field may return `null`, indicating that no valid values can be obtained. ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // Configuration content. ConfigContent *string `json:"ConfigContent,omitnil,omitempty" name:"ConfigContent"` // Creates configuration time. CreateTimestamp *string `json:"CreateTimestamp,omitnil,omitempty" name:"CreateTimestamp"` // Modifies configuration time. UpdateTimestamp *string `json:"UpdateTimestamp,omitnil,omitempty" name:"UpdateTimestamp"` }
type CreateClsLogSetRequest ¶
type CreateClsLogSetRequest struct { *tchttp.BaseRequest // Logset name, which must be unique among all CLS logsets; default value: clb_logset LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // Logset retention period (in days) Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // Logset type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs). LogsetType *string `json:"LogsetType,omitnil,omitempty" name:"LogsetType"` }
func NewCreateClsLogSetRequest ¶
func NewCreateClsLogSetRequest() (request *CreateClsLogSetRequest)
func (*CreateClsLogSetRequest) FromJsonString ¶
func (r *CreateClsLogSetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClsLogSetRequest) ToJsonString ¶
func (r *CreateClsLogSetRequest) ToJsonString() string
type CreateClsLogSetRequestParams ¶
type CreateClsLogSetRequestParams struct { // Logset name, which must be unique among all CLS logsets; default value: clb_logset LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // Logset retention period (in days) Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // Logset type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs). LogsetType *string `json:"LogsetType,omitnil,omitempty" name:"LogsetType"` }
Predefined struct for user
type CreateClsLogSetResponse ¶
type CreateClsLogSetResponse struct { *tchttp.BaseResponse Response *CreateClsLogSetResponseParams `json:"Response"` }
func NewCreateClsLogSetResponse ¶
func NewCreateClsLogSetResponse() (response *CreateClsLogSetResponse)
func (*CreateClsLogSetResponse) FromJsonString ¶
func (r *CreateClsLogSetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClsLogSetResponse) ToJsonString ¶
func (r *CreateClsLogSetResponse) ToJsonString() string
type CreateClsLogSetResponseParams ¶
type CreateClsLogSetResponseParams struct { // Logset ID. LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateListenerRequest ¶
type CreateListenerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Specifies for which ports to create listeners. Each port corresponds to a new listener. Ports []*int64 `json:"Ports,omitnil,omitempty" name:"Ports"` // Listener protocol. Values: TCP | UDP | HTTP | HTTPS | TCP_SSL | QUIC Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // List of names of the listeners to be created. The array of names and array of ports are in one-to-one correspondence. If you do not want to name them now, you do not need to provide this parameter. ListenerNames []*string `json:"ListenerNames,omitnil,omitempty" name:"ListenerNames"` // Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners. HealthCheck *HealthCheck `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // Certificate information. This parameter is only applicable to TCP_SSL listeners and HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time. Certificate *CertificateInput `json:"Certificate,omitnil,omitempty" name:"Certificate"` // Session persistence time in seconds. Value range: 30-3,600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil,omitempty" name:"SessionExpireTime"` // Listener forwarding mode. u200dValues: `WRR` (weighted round robin) and `LEAST_CONN` (least connections). // Default value: `WRR`. This parameter is only applicable to TCP, UDP, TCP_SSL and QUIC listeners. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Whether to enable the SNI feature. This parameter is applicable only to HTTPS listeners SniSwitch *int64 `json:"SniSwitch,omitnil,omitempty" name:"SniSwitch"` // Target real server type. `NODE`: binding a general node; `TARGETGROUP`: binding a target group. TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"` // Session persistence type. Valid values: Normal: the default session persistence type; QUIC_CID: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners. If this field is not specified, the default session persistence type will be used. SessionType *string `json:"SessionType,omitnil,omitempty" name:"SessionType"` // Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners. Valid values: 0 (disable; default value) and 1 (enable). KeepaliveEnable *int64 `json:"KeepaliveEnable,omitnil,omitempty" name:"KeepaliveEnable"` // This parameter is used to specify the end port and is required when creating a port range listener. Only one member can be passed in when inputting the `Ports` parameter, which is used to specify the start port. If you want to try the port range feature, please [submit a ticket](https://console.cloud.tencent.com/workorder/category). EndPort *uint64 `json:"EndPort,omitnil,omitempty" name:"EndPort"` // Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only. DeregisterTargetRst *bool `json:"DeregisterTargetRst,omitnil,omitempty" name:"DeregisterTargetRst"` // Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time. MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil,omitempty" name:"MultiCertInfo"` // Maximum number of concurrent listener connections. It’s available for TCP/UDP/TCP_SSL/QUIC listeners. If it’s set to `-1` or not specified, the listener speed is not limited. MaxConn *int64 `json:"MaxConn,omitnil,omitempty" name:"MaxConn"` // Maximum number of new listener connections. It’s available for TCP/UDP/TCP_SSL/QUIC listeners. If it’s set to `-1` or not specified, the listener speed is not limited. MaxCps *int64 `json:"MaxCps,omitnil,omitempty" name:"MaxCps"` // Connection idle timeout period (in seconds). It’s only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. To set a period longer than 2000 seconds (up to 3600 seconds), please submit a [submit](https://console.cloud.tencent.com/workorder/category). IdleConnectTimeout *int64 `json:"IdleConnectTimeout,omitnil,omitempty" name:"IdleConnectTimeout"` }
func NewCreateListenerRequest ¶
func NewCreateListenerRequest() (request *CreateListenerRequest)
func (*CreateListenerRequest) FromJsonString ¶
func (r *CreateListenerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateListenerRequest) ToJsonString ¶
func (r *CreateListenerRequest) ToJsonString() string
type CreateListenerRequestParams ¶
type CreateListenerRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Specifies for which ports to create listeners. Each port corresponds to a new listener. Ports []*int64 `json:"Ports,omitnil,omitempty" name:"Ports"` // Listener protocol. Values: TCP | UDP | HTTP | HTTPS | TCP_SSL | QUIC Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // List of names of the listeners to be created. The array of names and array of ports are in one-to-one correspondence. If you do not want to name them now, you do not need to provide this parameter. ListenerNames []*string `json:"ListenerNames,omitnil,omitempty" name:"ListenerNames"` // Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners. HealthCheck *HealthCheck `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // Certificate information. This parameter is only applicable to TCP_SSL listeners and HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time. Certificate *CertificateInput `json:"Certificate,omitnil,omitempty" name:"Certificate"` // Session persistence time in seconds. Value range: 30-3,600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil,omitempty" name:"SessionExpireTime"` // Listener forwarding mode. u200dValues: `WRR` (weighted round robin) and `LEAST_CONN` (least connections). // Default value: `WRR`. This parameter is only applicable to TCP, UDP, TCP_SSL and QUIC listeners. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Whether to enable the SNI feature. This parameter is applicable only to HTTPS listeners SniSwitch *int64 `json:"SniSwitch,omitnil,omitempty" name:"SniSwitch"` // Target real server type. `NODE`: binding a general node; `TARGETGROUP`: binding a target group. TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"` // Session persistence type. Valid values: Normal: the default session persistence type; QUIC_CID: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners. If this field is not specified, the default session persistence type will be used. SessionType *string `json:"SessionType,omitnil,omitempty" name:"SessionType"` // Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners. Valid values: 0 (disable; default value) and 1 (enable). KeepaliveEnable *int64 `json:"KeepaliveEnable,omitnil,omitempty" name:"KeepaliveEnable"` // This parameter is used to specify the end port and is required when creating a port range listener. Only one member can be passed in when inputting the `Ports` parameter, which is used to specify the start port. If you want to try the port range feature, please [submit a ticket](https://console.cloud.tencent.com/workorder/category). EndPort *uint64 `json:"EndPort,omitnil,omitempty" name:"EndPort"` // Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only. DeregisterTargetRst *bool `json:"DeregisterTargetRst,omitnil,omitempty" name:"DeregisterTargetRst"` // Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time. MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil,omitempty" name:"MultiCertInfo"` // Maximum number of concurrent listener connections. It’s available for TCP/UDP/TCP_SSL/QUIC listeners. If it’s set to `-1` or not specified, the listener speed is not limited. MaxConn *int64 `json:"MaxConn,omitnil,omitempty" name:"MaxConn"` // Maximum number of new listener connections. It’s available for TCP/UDP/TCP_SSL/QUIC listeners. If it’s set to `-1` or not specified, the listener speed is not limited. MaxCps *int64 `json:"MaxCps,omitnil,omitempty" name:"MaxCps"` // Connection idle timeout period (in seconds). It’s only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. To set a period longer than 2000 seconds (up to 3600 seconds), please submit a [submit](https://console.cloud.tencent.com/workorder/category). IdleConnectTimeout *int64 `json:"IdleConnectTimeout,omitnil,omitempty" name:"IdleConnectTimeout"` }
Predefined struct for user
type CreateListenerResponse ¶
type CreateListenerResponse struct { *tchttp.BaseResponse Response *CreateListenerResponseParams `json:"Response"` }
func NewCreateListenerResponse ¶
func NewCreateListenerResponse() (response *CreateListenerResponse)
func (*CreateListenerResponse) FromJsonString ¶
func (r *CreateListenerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateListenerResponse) ToJsonString ¶
func (r *CreateListenerResponse) ToJsonString() string
type CreateListenerResponseParams ¶
type CreateListenerResponseParams struct { // Array of unique IDs of the created listeners ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLoadBalancerRequest ¶
type CreateLoadBalancerRequest struct { *tchttp.BaseRequest // CLB instance network type: // OPEN: public network; INTERNAL: private network. LoadBalancerType *string `json:"LoadBalancerType,omitnil,omitempty" name:"LoadBalancerType"` // CLB instance type. Valid value: 1 (generic CLB instance). Forward *int64 `json:"Forward,omitnil,omitempty" name:"Forward"` // CLB instance name, which takes effect only when only one instance is to be created in the request. It can consist 1 to 60 letters, digits, hyphens (-), or underscores (_). // Note: if the name of the new CLB instance already exists, a default name will be generated automatically. LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // Network ID of the target device on the CLB backend, such as `vpc-12345678`, which can be obtained through the `DescribeVpcEx` API. If this parameter is not entered, `DefaultVPC` is used by default. This parameter is required when creating a private network instance. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // A subnet ID must be specified when you purchase a private network CLB instance in a VPC, and the VIP of this instance will be generated in this subnet. This parameter is required for creating a CLB instance. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // ID of the project to which a CLB instance belongs, which can be obtained through the `DescribeProject` API. If this parameter is not entered, the default project will be used. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // It's only applicable to public network CLB instances. IP version. Values: `IPV4`, `IPV6` and `IPv6FullChain` (case-insensitive). Default: `IPV4`. Note: `IPV6` indicates IPv6 NAT64, while `IPv6FullChain` indicates IPv6. AddressIPVersion *string `json:"AddressIPVersion,omitnil,omitempty" name:"AddressIPVersion"` // Number of CLBs to be created. Default value: 1. Number *uint64 `json:"Number,omitnil,omitempty" name:"Number"` // ID of the primary AZ for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It's only available to public CLB instances. // Note: The traffic only goes to the primary AZ in normal cases. The secondary AZ is used only when the primary AZ is unavailable. To query the list of primary AZs in a region, use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). MasterZoneId *string `json:"MasterZoneId,omitnil,omitempty" name:"MasterZoneId"` // Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances. ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // It only works on LCU-supported instances on private networks and all instances on public networks. InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil,omitempty" name:"InternetAccessible"` // ISP of VIP. Values: `CMCC` (China Mobile), `CUCC` (China Unicom) and `CTCC` (China Telecom). You need to activate static single-line IPs. This feature is in beta and is only available in Guangzhou, Shanghai, Nanjing, Jinan, Hangzhou, Fuzhou, Beijing, Shijiazhuang, Wuhan, Changsha, Chengdu and Chongqing regions. To try it out, please contact your sales rep. If it's specified, the network billing mode must be `BANDWIDTH_PACKAGE`. If it's not specified, BGP is used by default. To query ISPs supported in a region, please use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). VipIsp *string `json:"VipIsp,omitnil,omitempty" name:"VipIsp"` // Tags the CLB instance when purchasing it. Up to 20 tag key value pairs are supported. Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` // Specifies the VIP for the application of a CLB instance. This parameter is optional. If you do not specify this parameter, the system automatically assigns a value for the parameter. IPv4 and IPv6 CLB instances support this parameter, but IPv6 NAT64 CLB instances do not. // Note: If the specified VIP is occupied or is not within the IP range of the specified VPC subnet, you cannot use the VIP to create a CLB instance in a private network or an IPv6 BGP CLB instance in a public network. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Bandwidth package ID. If this parameter is specified, the network billing mode (`InternetAccessible.InternetChargeType`) will only support bill-by-bandwidth package (`BANDWIDTH_PACKAGE`). BandwidthPackageId *string `json:"BandwidthPackageId,omitnil,omitempty" name:"BandwidthPackageId"` // Information about the dedicated CLB instance. You must specify this parameter when you create a dedicated CLB instance in a private network. ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil,omitempty" name:"ExclusiveCluster"` // Specification of LCU-supported instance. // <ul><li>This parameter is required to create LCU-supported instances. Values: <ul><li>`SLA`: Super Large 4. When you have activated Super Large models, `SLA` refers to Super Large 4.</li><li>`clb.c2.medium`: Standard</li><li>`clb.c3.small`: Advanced 1</li><li>`clb.c3.medium`: Advanced 1</li><li>`clb.c4.small`: Super Large 1</li><li>`clb.c4.medium`: Super Large 2</li><li>`clb.c4.large`: Super Large 3</li><li>`clb.c4.xlarge`: Super Large 4</li> For Super Large 2 and above models, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).</ul></li><li> This parameter is not required for creating shared instances.</li></ul>For more details, see [Instance Specifications](https://intl.cloud.tencent.com/document/product/214/84689?from_cn_redirect=1). SlaType *string `json:"SlaType,omitnil,omitempty" name:"SlaType"` // A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Whether Binding IPs of other VPCs feature switch SnatPro *bool `json:"SnatPro,omitnil,omitempty" name:"SnatPro"` // Creates `SnatIp` when the binding IPs of other VPCs feature is enabled SnatIps []*SnatIp `json:"SnatIps,omitnil,omitempty" name:"SnatIps"` // Tag for the STGW exclusive cluster. ClusterTag *string `json:"ClusterTag,omitnil,omitempty" name:"ClusterTag"` // Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB. // Note: The traffic only goes to the secondary AZ when the primary AZ is unavailable. You can query the list of primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). SlaveZoneId *string `json:"SlaveZoneId,omitnil,omitempty" name:"SlaveZoneId"` // Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance. E.g., `eip-11112222`. EipAddressId *string `json:"EipAddressId,omitnil,omitempty" name:"EipAddressId"` // Whether to allow CLB traffic to the target group. `true`: allows CLB traffic to the target group and verifies security groups only on CLB; `false`: denies CLB traffic to the target group and verifies security groups on both CLB and backend instances. LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil,omitempty" name:"LoadBalancerPassToTarget"` // Upgrades to domain name-based CLB DynamicVip *bool `json:"DynamicVip,omitnil,omitempty" name:"DynamicVip"` // Network egress point Egress *string `json:"Egress,omitnil,omitempty" name:"Egress"` }
func NewCreateLoadBalancerRequest ¶
func NewCreateLoadBalancerRequest() (request *CreateLoadBalancerRequest)
func (*CreateLoadBalancerRequest) FromJsonString ¶
func (r *CreateLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancerRequest) ToJsonString ¶
func (r *CreateLoadBalancerRequest) ToJsonString() string
type CreateLoadBalancerRequestParams ¶
type CreateLoadBalancerRequestParams struct { // CLB instance network type: // OPEN: public network; INTERNAL: private network. LoadBalancerType *string `json:"LoadBalancerType,omitnil,omitempty" name:"LoadBalancerType"` // CLB instance type. Valid value: 1 (generic CLB instance). Forward *int64 `json:"Forward,omitnil,omitempty" name:"Forward"` // CLB instance name, which takes effect only when only one instance is to be created in the request. It can consist 1 to 60 letters, digits, hyphens (-), or underscores (_). // Note: if the name of the new CLB instance already exists, a default name will be generated automatically. LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // Network ID of the target device on the CLB backend, such as `vpc-12345678`, which can be obtained through the `DescribeVpcEx` API. If this parameter is not entered, `DefaultVPC` is used by default. This parameter is required when creating a private network instance. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // A subnet ID must be specified when you purchase a private network CLB instance in a VPC, and the VIP of this instance will be generated in this subnet. This parameter is required for creating a CLB instance. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // ID of the project to which a CLB instance belongs, which can be obtained through the `DescribeProject` API. If this parameter is not entered, the default project will be used. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // It's only applicable to public network CLB instances. IP version. Values: `IPV4`, `IPV6` and `IPv6FullChain` (case-insensitive). Default: `IPV4`. Note: `IPV6` indicates IPv6 NAT64, while `IPv6FullChain` indicates IPv6. AddressIPVersion *string `json:"AddressIPVersion,omitnil,omitempty" name:"AddressIPVersion"` // Number of CLBs to be created. Default value: 1. Number *uint64 `json:"Number,omitnil,omitempty" name:"Number"` // ID of the primary AZ for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It's only available to public CLB instances. // Note: The traffic only goes to the primary AZ in normal cases. The secondary AZ is used only when the primary AZ is unavailable. To query the list of primary AZs in a region, use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). MasterZoneId *string `json:"MasterZoneId,omitnil,omitempty" name:"MasterZoneId"` // Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances. ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // It only works on LCU-supported instances on private networks and all instances on public networks. InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil,omitempty" name:"InternetAccessible"` // ISP of VIP. Values: `CMCC` (China Mobile), `CUCC` (China Unicom) and `CTCC` (China Telecom). You need to activate static single-line IPs. This feature is in beta and is only available in Guangzhou, Shanghai, Nanjing, Jinan, Hangzhou, Fuzhou, Beijing, Shijiazhuang, Wuhan, Changsha, Chengdu and Chongqing regions. To try it out, please contact your sales rep. If it's specified, the network billing mode must be `BANDWIDTH_PACKAGE`. If it's not specified, BGP is used by default. To query ISPs supported in a region, please use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). VipIsp *string `json:"VipIsp,omitnil,omitempty" name:"VipIsp"` // Tags the CLB instance when purchasing it. Up to 20 tag key value pairs are supported. Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` // Specifies the VIP for the application of a CLB instance. This parameter is optional. If you do not specify this parameter, the system automatically assigns a value for the parameter. IPv4 and IPv6 CLB instances support this parameter, but IPv6 NAT64 CLB instances do not. // Note: If the specified VIP is occupied or is not within the IP range of the specified VPC subnet, you cannot use the VIP to create a CLB instance in a private network or an IPv6 BGP CLB instance in a public network. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Bandwidth package ID. If this parameter is specified, the network billing mode (`InternetAccessible.InternetChargeType`) will only support bill-by-bandwidth package (`BANDWIDTH_PACKAGE`). BandwidthPackageId *string `json:"BandwidthPackageId,omitnil,omitempty" name:"BandwidthPackageId"` // Information about the dedicated CLB instance. You must specify this parameter when you create a dedicated CLB instance in a private network. ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil,omitempty" name:"ExclusiveCluster"` // Specification of LCU-supported instance. // <ul><li>This parameter is required to create LCU-supported instances. Values: <ul><li>`SLA`: Super Large 4. When you have activated Super Large models, `SLA` refers to Super Large 4.</li><li>`clb.c2.medium`: Standard</li><li>`clb.c3.small`: Advanced 1</li><li>`clb.c3.medium`: Advanced 1</li><li>`clb.c4.small`: Super Large 1</li><li>`clb.c4.medium`: Super Large 2</li><li>`clb.c4.large`: Super Large 3</li><li>`clb.c4.xlarge`: Super Large 4</li> For Super Large 2 and above models, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).</ul></li><li> This parameter is not required for creating shared instances.</li></ul>For more details, see [Instance Specifications](https://intl.cloud.tencent.com/document/product/214/84689?from_cn_redirect=1). SlaType *string `json:"SlaType,omitnil,omitempty" name:"SlaType"` // A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Whether Binding IPs of other VPCs feature switch SnatPro *bool `json:"SnatPro,omitnil,omitempty" name:"SnatPro"` // Creates `SnatIp` when the binding IPs of other VPCs feature is enabled SnatIps []*SnatIp `json:"SnatIps,omitnil,omitempty" name:"SnatIps"` // Tag for the STGW exclusive cluster. ClusterTag *string `json:"ClusterTag,omitnil,omitempty" name:"ClusterTag"` // Specifies the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`. It is applicable only to public network CLB. // Note: The traffic only goes to the secondary AZ when the primary AZ is unavailable. You can query the list of primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). SlaveZoneId *string `json:"SlaveZoneId,omitnil,omitempty" name:"SlaveZoneId"` // Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance. E.g., `eip-11112222`. EipAddressId *string `json:"EipAddressId,omitnil,omitempty" name:"EipAddressId"` // Whether to allow CLB traffic to the target group. `true`: allows CLB traffic to the target group and verifies security groups only on CLB; `false`: denies CLB traffic to the target group and verifies security groups on both CLB and backend instances. LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil,omitempty" name:"LoadBalancerPassToTarget"` // Upgrades to domain name-based CLB DynamicVip *bool `json:"DynamicVip,omitnil,omitempty" name:"DynamicVip"` // Network egress point Egress *string `json:"Egress,omitnil,omitempty" name:"Egress"` }
Predefined struct for user
type CreateLoadBalancerResponse ¶
type CreateLoadBalancerResponse struct { *tchttp.BaseResponse Response *CreateLoadBalancerResponseParams `json:"Response"` }
func NewCreateLoadBalancerResponse ¶
func NewCreateLoadBalancerResponse() (response *CreateLoadBalancerResponse)
func (*CreateLoadBalancerResponse) FromJsonString ¶
func (r *CreateLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancerResponse) ToJsonString ¶
func (r *CreateLoadBalancerResponse) ToJsonString() string
type CreateLoadBalancerResponseParams ¶
type CreateLoadBalancerResponseParams struct { // Array of unique CLB instance IDs. // This field may return `null` in some cases, such as there is delay during instance creation. You can query the IDs of the created instances by invoking `DescribeTaskStatus` with the `RequestId` or `DealName` returned by this API. // Note: This field may return `null`, indicating that no valid values can be obtained. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` // Order ID. // Note: this field may return `null`, indicating that no valid values can be obtained. DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLoadBalancerSnatIpsRequest ¶
type CreateLoadBalancerSnatIpsRequest struct { *tchttp.BaseRequest // Unique ID of a CLB instance, e.g., lb-12345678. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Information of the SNAT IP to be added. You can specify a SNAT IP or use the one automatically assigned by a subnet. SnatIps []*SnatIp `json:"SnatIps,omitnil,omitempty" name:"SnatIps"` // Number of SNAT IPs to be added. This parameter is used in conjunction with `SnatIps`. Note that if `Ip` is specified in `SnapIps`, this parameter is not available. It defaults to `1` and the upper limit is `10`. Number *uint64 `json:"Number,omitnil,omitempty" name:"Number"` }
func NewCreateLoadBalancerSnatIpsRequest ¶
func NewCreateLoadBalancerSnatIpsRequest() (request *CreateLoadBalancerSnatIpsRequest)
func (*CreateLoadBalancerSnatIpsRequest) FromJsonString ¶
func (r *CreateLoadBalancerSnatIpsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancerSnatIpsRequest) ToJsonString ¶
func (r *CreateLoadBalancerSnatIpsRequest) ToJsonString() string
type CreateLoadBalancerSnatIpsRequestParams ¶
type CreateLoadBalancerSnatIpsRequestParams struct { // Unique ID of a CLB instance, e.g., lb-12345678. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Information of the SNAT IP to be added. You can specify a SNAT IP or use the one automatically assigned by a subnet. SnatIps []*SnatIp `json:"SnatIps,omitnil,omitempty" name:"SnatIps"` // Number of SNAT IPs to be added. This parameter is used in conjunction with `SnatIps`. Note that if `Ip` is specified in `SnapIps`, this parameter is not available. It defaults to `1` and the upper limit is `10`. Number *uint64 `json:"Number,omitnil,omitempty" name:"Number"` }
Predefined struct for user
type CreateLoadBalancerSnatIpsResponse ¶
type CreateLoadBalancerSnatIpsResponse struct { *tchttp.BaseResponse Response *CreateLoadBalancerSnatIpsResponseParams `json:"Response"` }
func NewCreateLoadBalancerSnatIpsResponse ¶
func NewCreateLoadBalancerSnatIpsResponse() (response *CreateLoadBalancerSnatIpsResponse)
func (*CreateLoadBalancerSnatIpsResponse) FromJsonString ¶
func (r *CreateLoadBalancerSnatIpsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancerSnatIpsResponse) ToJsonString ¶
func (r *CreateLoadBalancerSnatIpsResponse) ToJsonString() string
type CreateLoadBalancerSnatIpsResponseParams ¶
type CreateLoadBalancerSnatIpsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRuleRequest ¶
type CreateRuleRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Information of the new forwarding rule Rules []*RuleInput `json:"Rules,omitnil,omitempty" name:"Rules"` }
func NewCreateRuleRequest ¶
func NewCreateRuleRequest() (request *CreateRuleRequest)
func (*CreateRuleRequest) FromJsonString ¶
func (r *CreateRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRuleRequest) ToJsonString ¶
func (r *CreateRuleRequest) ToJsonString() string
type CreateRuleRequestParams ¶
type CreateRuleRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Information of the new forwarding rule Rules []*RuleInput `json:"Rules,omitnil,omitempty" name:"Rules"` }
Predefined struct for user
type CreateRuleResponse ¶
type CreateRuleResponse struct { *tchttp.BaseResponse Response *CreateRuleResponseParams `json:"Response"` }
func NewCreateRuleResponse ¶
func NewCreateRuleResponse() (response *CreateRuleResponse)
func (*CreateRuleResponse) FromJsonString ¶
func (r *CreateRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRuleResponse) ToJsonString ¶
func (r *CreateRuleResponse) ToJsonString() string
type CreateRuleResponseParams ¶
type CreateRuleResponseParams struct { // Array of unique IDs of created forwarding rules LocationIds []*string `json:"LocationIds,omitnil,omitempty" name:"LocationIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTargetGroupRequest ¶
type CreateTargetGroupRequest struct { *tchttp.BaseRequest // Target group name (up to 50 characters) TargetGroupName *string `json:"TargetGroupName,omitnil,omitempty" name:"TargetGroupName"` // `vpcid` attribute of a target group. If this parameter is left empty, the default VPC will be used. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Default port of a target group, which can be used for subsequently added servers. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Real server bound to a target group TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil,omitempty" name:"TargetGroupInstances"` }
func NewCreateTargetGroupRequest ¶
func NewCreateTargetGroupRequest() (request *CreateTargetGroupRequest)
func (*CreateTargetGroupRequest) FromJsonString ¶
func (r *CreateTargetGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTargetGroupRequest) ToJsonString ¶
func (r *CreateTargetGroupRequest) ToJsonString() string
type CreateTargetGroupRequestParams ¶
type CreateTargetGroupRequestParams struct { // Target group name (up to 50 characters) TargetGroupName *string `json:"TargetGroupName,omitnil,omitempty" name:"TargetGroupName"` // `vpcid` attribute of a target group. If this parameter is left empty, the default VPC will be used. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Default port of a target group, which can be used for subsequently added servers. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Real server bound to a target group TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil,omitempty" name:"TargetGroupInstances"` }
Predefined struct for user
type CreateTargetGroupResponse ¶
type CreateTargetGroupResponse struct { *tchttp.BaseResponse Response *CreateTargetGroupResponseParams `json:"Response"` }
func NewCreateTargetGroupResponse ¶
func NewCreateTargetGroupResponse() (response *CreateTargetGroupResponse)
func (*CreateTargetGroupResponse) FromJsonString ¶
func (r *CreateTargetGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTargetGroupResponse) ToJsonString ¶
func (r *CreateTargetGroupResponse) ToJsonString() string
type CreateTargetGroupResponseParams ¶
type CreateTargetGroupResponseParams struct { // ID generated after target group creation TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTopicRequest ¶
type CreateTopicRequest struct { *tchttp.BaseRequest // Log topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // The number of topic partitions, which changes as partitions are split or merged. Each log topic can have up to 50 partitions. If this parameter is not passed in, 1 partition will be created by default and up to 10 partitions are allowed to be created. PartitionCount *uint64 `json:"PartitionCount,omitnil,omitempty" name:"PartitionCount"` // Log type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs). TopicType *string `json:"TopicType,omitnil,omitempty" name:"TopicType"` // Logset retention period (in days). Default: 30 days. Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // Log topic storage type. Valid values: `hot` (STANDARD storage); `cold` (IA storage). Default value: `hot`. StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
func NewCreateTopicRequest ¶
func NewCreateTopicRequest() (request *CreateTopicRequest)
func (*CreateTopicRequest) FromJsonString ¶
func (r *CreateTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicRequest) ToJsonString ¶
func (r *CreateTopicRequest) ToJsonString() string
type CreateTopicRequestParams ¶
type CreateTopicRequestParams struct { // Log topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // The number of topic partitions, which changes as partitions are split or merged. Each log topic can have up to 50 partitions. If this parameter is not passed in, 1 partition will be created by default and up to 10 partitions are allowed to be created. PartitionCount *uint64 `json:"PartitionCount,omitnil,omitempty" name:"PartitionCount"` // Log type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs). TopicType *string `json:"TopicType,omitnil,omitempty" name:"TopicType"` // Logset retention period (in days). Default: 30 days. Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"` // Log topic storage type. Valid values: `hot` (STANDARD storage); `cold` (IA storage). Default value: `hot`. StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
Predefined struct for user
type CreateTopicResponse ¶
type CreateTopicResponse struct { *tchttp.BaseResponse Response *CreateTopicResponseParams `json:"Response"` }
func NewCreateTopicResponse ¶
func NewCreateTopicResponse() (response *CreateTopicResponse)
func (*CreateTopicResponse) FromJsonString ¶
func (r *CreateTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicResponse) ToJsonString ¶
func (r *CreateTopicResponse) ToJsonString() string
type CreateTopicResponseParams ¶
type CreateTopicResponseParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CrossTargets ¶
type CrossTargets struct { // VPC ID of the CLB instance LocalVpcId *string `json:"LocalVpcId,omitnil,omitempty" name:"LocalVpcId"` // VPC ID of the CVM or ENI instance VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // IP address of the CVM or ENI instance IP *string `json:"IP,omitnil,omitempty" name:"IP"` // VPC name of the CVM or ENI instance VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // ENI ID of the CVM instance EniId *string `json:"EniId,omitnil,omitempty" name:"EniId"` // ID of the CVM instance // Note: This field may return `null`, indicating that no valid value was found. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Name of the CVM instance // Note: This field may return `null`, indicating that no valid value was found. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Region of the CVM or ENI instance Region *string `json:"Region,omitnil,omitempty" name:"Region"` }
type DeleteListenerRequest ¶
type DeleteListenerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // ID of the listener to be deleted ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` }
func NewDeleteListenerRequest ¶
func NewDeleteListenerRequest() (request *DeleteListenerRequest)
func (*DeleteListenerRequest) FromJsonString ¶
func (r *DeleteListenerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteListenerRequest) ToJsonString ¶
func (r *DeleteListenerRequest) ToJsonString() string
type DeleteListenerRequestParams ¶
type DeleteListenerRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // ID of the listener to be deleted ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` }
Predefined struct for user
type DeleteListenerResponse ¶
type DeleteListenerResponse struct { *tchttp.BaseResponse Response *DeleteListenerResponseParams `json:"Response"` }
func NewDeleteListenerResponse ¶
func NewDeleteListenerResponse() (response *DeleteListenerResponse)
func (*DeleteListenerResponse) FromJsonString ¶
func (r *DeleteListenerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteListenerResponse) ToJsonString ¶
func (r *DeleteListenerResponse) ToJsonString() string
type DeleteListenerResponseParams ¶
type DeleteListenerResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLoadBalancerListenersRequest ¶
type DeleteLoadBalancerListenersRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Array of listener IDs to delete (20 IDs at most). If this parameter is left empty, all listeners of the CLB instance will be deleted. ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` }
func NewDeleteLoadBalancerListenersRequest ¶
func NewDeleteLoadBalancerListenersRequest() (request *DeleteLoadBalancerListenersRequest)
func (*DeleteLoadBalancerListenersRequest) FromJsonString ¶
func (r *DeleteLoadBalancerListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerListenersRequest) ToJsonString ¶
func (r *DeleteLoadBalancerListenersRequest) ToJsonString() string
type DeleteLoadBalancerListenersRequestParams ¶
type DeleteLoadBalancerListenersRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Array of listener IDs to delete (20 IDs at most). If this parameter is left empty, all listeners of the CLB instance will be deleted. ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` }
Predefined struct for user
type DeleteLoadBalancerListenersResponse ¶
type DeleteLoadBalancerListenersResponse struct { *tchttp.BaseResponse Response *DeleteLoadBalancerListenersResponseParams `json:"Response"` }
func NewDeleteLoadBalancerListenersResponse ¶
func NewDeleteLoadBalancerListenersResponse() (response *DeleteLoadBalancerListenersResponse)
func (*DeleteLoadBalancerListenersResponse) FromJsonString ¶
func (r *DeleteLoadBalancerListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerListenersResponse) ToJsonString ¶
func (r *DeleteLoadBalancerListenersResponse) ToJsonString() string
type DeleteLoadBalancerListenersResponseParams ¶
type DeleteLoadBalancerListenersResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLoadBalancerRequest ¶
type DeleteLoadBalancerRequest struct { *tchttp.BaseRequest // Array of IDs of the CLB instances to be deleted. Array length limit: 20. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` }
func NewDeleteLoadBalancerRequest ¶
func NewDeleteLoadBalancerRequest() (request *DeleteLoadBalancerRequest)
func (*DeleteLoadBalancerRequest) FromJsonString ¶
func (r *DeleteLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerRequest) ToJsonString ¶
func (r *DeleteLoadBalancerRequest) ToJsonString() string
type DeleteLoadBalancerRequestParams ¶
type DeleteLoadBalancerRequestParams struct { // Array of IDs of the CLB instances to be deleted. Array length limit: 20. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` }
Predefined struct for user
type DeleteLoadBalancerResponse ¶
type DeleteLoadBalancerResponse struct { *tchttp.BaseResponse Response *DeleteLoadBalancerResponseParams `json:"Response"` }
func NewDeleteLoadBalancerResponse ¶
func NewDeleteLoadBalancerResponse() (response *DeleteLoadBalancerResponse)
func (*DeleteLoadBalancerResponse) FromJsonString ¶
func (r *DeleteLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerResponse) ToJsonString ¶
func (r *DeleteLoadBalancerResponse) ToJsonString() string
type DeleteLoadBalancerResponseParams ¶
type DeleteLoadBalancerResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLoadBalancerSnatIpsRequest ¶
type DeleteLoadBalancerSnatIpsRequest struct { *tchttp.BaseRequest // Unique ID of a CLB instance, e.g., lb-12345678. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Array of the SNAT IP addresses to be deleted Ips []*string `json:"Ips,omitnil,omitempty" name:"Ips"` }
func NewDeleteLoadBalancerSnatIpsRequest ¶
func NewDeleteLoadBalancerSnatIpsRequest() (request *DeleteLoadBalancerSnatIpsRequest)
func (*DeleteLoadBalancerSnatIpsRequest) FromJsonString ¶
func (r *DeleteLoadBalancerSnatIpsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerSnatIpsRequest) ToJsonString ¶
func (r *DeleteLoadBalancerSnatIpsRequest) ToJsonString() string
type DeleteLoadBalancerSnatIpsRequestParams ¶
type DeleteLoadBalancerSnatIpsRequestParams struct { // Unique ID of a CLB instance, e.g., lb-12345678. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Array of the SNAT IP addresses to be deleted Ips []*string `json:"Ips,omitnil,omitempty" name:"Ips"` }
Predefined struct for user
type DeleteLoadBalancerSnatIpsResponse ¶
type DeleteLoadBalancerSnatIpsResponse struct { *tchttp.BaseResponse Response *DeleteLoadBalancerSnatIpsResponseParams `json:"Response"` }
func NewDeleteLoadBalancerSnatIpsResponse ¶
func NewDeleteLoadBalancerSnatIpsResponse() (response *DeleteLoadBalancerSnatIpsResponse)
func (*DeleteLoadBalancerSnatIpsResponse) FromJsonString ¶
func (r *DeleteLoadBalancerSnatIpsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerSnatIpsResponse) ToJsonString ¶
func (r *DeleteLoadBalancerSnatIpsResponse) ToJsonString() string
type DeleteLoadBalancerSnatIpsResponseParams ¶
type DeleteLoadBalancerSnatIpsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRewriteRequest ¶
type DeleteRewriteRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Source listener ID SourceListenerId *string `json:"SourceListenerId,omitnil,omitempty" name:"SourceListenerId"` // Target listener ID TargetListenerId *string `json:"TargetListenerId,omitnil,omitempty" name:"TargetListenerId"` // Redirection relationship between forwarding rules RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,omitnil,omitempty" name:"RewriteInfos"` }
func NewDeleteRewriteRequest ¶
func NewDeleteRewriteRequest() (request *DeleteRewriteRequest)
func (*DeleteRewriteRequest) FromJsonString ¶
func (r *DeleteRewriteRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRewriteRequest) ToJsonString ¶
func (r *DeleteRewriteRequest) ToJsonString() string
type DeleteRewriteRequestParams ¶
type DeleteRewriteRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Source listener ID SourceListenerId *string `json:"SourceListenerId,omitnil,omitempty" name:"SourceListenerId"` // Target listener ID TargetListenerId *string `json:"TargetListenerId,omitnil,omitempty" name:"TargetListenerId"` // Redirection relationship between forwarding rules RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,omitnil,omitempty" name:"RewriteInfos"` }
Predefined struct for user
type DeleteRewriteResponse ¶
type DeleteRewriteResponse struct { *tchttp.BaseResponse Response *DeleteRewriteResponseParams `json:"Response"` }
func NewDeleteRewriteResponse ¶
func NewDeleteRewriteResponse() (response *DeleteRewriteResponse)
func (*DeleteRewriteResponse) FromJsonString ¶
func (r *DeleteRewriteResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRewriteResponse) ToJsonString ¶
func (r *DeleteRewriteResponse) ToJsonString() string
type DeleteRewriteResponseParams ¶
type DeleteRewriteResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRuleRequest ¶
type DeleteRuleRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Array of IDs of the forwarding rules to be deleted LocationIds []*string `json:"LocationIds,omitnil,omitempty" name:"LocationIds"` // The domain name associated with the forwarding rule to delete. If the rule is associated with multiple domain names, specify any one of them. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // The forwarding path of the forwarding rule to delete. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Specifies a new default domain name for the listener. This field is used when the original default domain name is disabled. If there are multiple domain names, specify one of them. NewDefaultServerDomain *string `json:"NewDefaultServerDomain,omitnil,omitempty" name:"NewDefaultServerDomain"` }
func NewDeleteRuleRequest ¶
func NewDeleteRuleRequest() (request *DeleteRuleRequest)
func (*DeleteRuleRequest) FromJsonString ¶
func (r *DeleteRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRuleRequest) ToJsonString ¶
func (r *DeleteRuleRequest) ToJsonString() string
type DeleteRuleRequestParams ¶
type DeleteRuleRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Array of IDs of the forwarding rules to be deleted LocationIds []*string `json:"LocationIds,omitnil,omitempty" name:"LocationIds"` // The domain name associated with the forwarding rule to delete. If the rule is associated with multiple domain names, specify any one of them. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // The forwarding path of the forwarding rule to delete. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Specifies a new default domain name for the listener. This field is used when the original default domain name is disabled. If there are multiple domain names, specify one of them. NewDefaultServerDomain *string `json:"NewDefaultServerDomain,omitnil,omitempty" name:"NewDefaultServerDomain"` }
Predefined struct for user
type DeleteRuleResponse ¶
type DeleteRuleResponse struct { *tchttp.BaseResponse Response *DeleteRuleResponseParams `json:"Response"` }
func NewDeleteRuleResponse ¶
func NewDeleteRuleResponse() (response *DeleteRuleResponse)
func (*DeleteRuleResponse) FromJsonString ¶
func (r *DeleteRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRuleResponse) ToJsonString ¶
func (r *DeleteRuleResponse) ToJsonString() string
type DeleteRuleResponseParams ¶
type DeleteRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTargetGroupsRequest ¶
type DeleteTargetGroupsRequest struct { *tchttp.BaseRequest // Target group ID array TargetGroupIds []*string `json:"TargetGroupIds,omitnil,omitempty" name:"TargetGroupIds"` }
func NewDeleteTargetGroupsRequest ¶
func NewDeleteTargetGroupsRequest() (request *DeleteTargetGroupsRequest)
func (*DeleteTargetGroupsRequest) FromJsonString ¶
func (r *DeleteTargetGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTargetGroupsRequest) ToJsonString ¶
func (r *DeleteTargetGroupsRequest) ToJsonString() string
type DeleteTargetGroupsRequestParams ¶
type DeleteTargetGroupsRequestParams struct { // Target group ID array TargetGroupIds []*string `json:"TargetGroupIds,omitnil,omitempty" name:"TargetGroupIds"` }
Predefined struct for user
type DeleteTargetGroupsResponse ¶
type DeleteTargetGroupsResponse struct { *tchttp.BaseResponse Response *DeleteTargetGroupsResponseParams `json:"Response"` }
func NewDeleteTargetGroupsResponse ¶
func NewDeleteTargetGroupsResponse() (response *DeleteTargetGroupsResponse)
func (*DeleteTargetGroupsResponse) FromJsonString ¶
func (r *DeleteTargetGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTargetGroupsResponse) ToJsonString ¶
func (r *DeleteTargetGroupsResponse) ToJsonString() string
type DeleteTargetGroupsResponseParams ¶
type DeleteTargetGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeregisterFunctionTargetsRequest ¶
type DeregisterFunctionTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // List of functions to be unbound FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil,omitempty" name:"FunctionTargets"` // The ID of target forwarding rule. To unbind a function from an L7 forwarding rule, either `LocationId` or `Domain+Url` is required. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Domain name of the target forwarding rule. It is ignored if `LocationId` is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // URL of the target forwarding rule. It is ignored if `LocationId` is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
func NewDeregisterFunctionTargetsRequest ¶
func NewDeregisterFunctionTargetsRequest() (request *DeregisterFunctionTargetsRequest)
func (*DeregisterFunctionTargetsRequest) FromJsonString ¶
func (r *DeregisterFunctionTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeregisterFunctionTargetsRequest) ToJsonString ¶
func (r *DeregisterFunctionTargetsRequest) ToJsonString() string
type DeregisterFunctionTargetsRequestParams ¶
type DeregisterFunctionTargetsRequestParams struct { // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // List of functions to be unbound FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil,omitempty" name:"FunctionTargets"` // The ID of target forwarding rule. To unbind a function from an L7 forwarding rule, either `LocationId` or `Domain+Url` is required. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Domain name of the target forwarding rule. It is ignored if `LocationId` is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // URL of the target forwarding rule. It is ignored if `LocationId` is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
Predefined struct for user
type DeregisterFunctionTargetsResponse ¶
type DeregisterFunctionTargetsResponse struct { *tchttp.BaseResponse Response *DeregisterFunctionTargetsResponseParams `json:"Response"` }
func NewDeregisterFunctionTargetsResponse ¶
func NewDeregisterFunctionTargetsResponse() (response *DeregisterFunctionTargetsResponse)
func (*DeregisterFunctionTargetsResponse) FromJsonString ¶
func (r *DeregisterFunctionTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeregisterFunctionTargetsResponse) ToJsonString ¶
func (r *DeregisterFunctionTargetsResponse) ToJsonString() string
type DeregisterFunctionTargetsResponseParams ¶
type DeregisterFunctionTargetsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeregisterTargetGroupInstancesRequest ¶
type DeregisterTargetGroupInstancesRequest struct { *tchttp.BaseRequest // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // Information of server to be unbound TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil,omitempty" name:"TargetGroupInstances"` }
func NewDeregisterTargetGroupInstancesRequest ¶
func NewDeregisterTargetGroupInstancesRequest() (request *DeregisterTargetGroupInstancesRequest)
func (*DeregisterTargetGroupInstancesRequest) FromJsonString ¶
func (r *DeregisterTargetGroupInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeregisterTargetGroupInstancesRequest) ToJsonString ¶
func (r *DeregisterTargetGroupInstancesRequest) ToJsonString() string
type DeregisterTargetGroupInstancesRequestParams ¶
type DeregisterTargetGroupInstancesRequestParams struct { // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // Information of server to be unbound TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil,omitempty" name:"TargetGroupInstances"` }
Predefined struct for user
type DeregisterTargetGroupInstancesResponse ¶
type DeregisterTargetGroupInstancesResponse struct { *tchttp.BaseResponse Response *DeregisterTargetGroupInstancesResponseParams `json:"Response"` }
func NewDeregisterTargetGroupInstancesResponse ¶
func NewDeregisterTargetGroupInstancesResponse() (response *DeregisterTargetGroupInstancesResponse)
func (*DeregisterTargetGroupInstancesResponse) FromJsonString ¶
func (r *DeregisterTargetGroupInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeregisterTargetGroupInstancesResponse) ToJsonString ¶
func (r *DeregisterTargetGroupInstancesResponse) ToJsonString() string
type DeregisterTargetGroupInstancesResponseParams ¶
type DeregisterTargetGroupInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeregisterTargetsFromClassicalLBRequest ¶
type DeregisterTargetsFromClassicalLBRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // List of real server IDs InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewDeregisterTargetsFromClassicalLBRequest ¶
func NewDeregisterTargetsFromClassicalLBRequest() (request *DeregisterTargetsFromClassicalLBRequest)
func (*DeregisterTargetsFromClassicalLBRequest) FromJsonString ¶
func (r *DeregisterTargetsFromClassicalLBRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeregisterTargetsFromClassicalLBRequest) ToJsonString ¶
func (r *DeregisterTargetsFromClassicalLBRequest) ToJsonString() string
type DeregisterTargetsFromClassicalLBRequestParams ¶
type DeregisterTargetsFromClassicalLBRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // List of real server IDs InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DeregisterTargetsFromClassicalLBResponse ¶
type DeregisterTargetsFromClassicalLBResponse struct { *tchttp.BaseResponse Response *DeregisterTargetsFromClassicalLBResponseParams `json:"Response"` }
func NewDeregisterTargetsFromClassicalLBResponse ¶
func NewDeregisterTargetsFromClassicalLBResponse() (response *DeregisterTargetsFromClassicalLBResponse)
func (*DeregisterTargetsFromClassicalLBResponse) FromJsonString ¶
func (r *DeregisterTargetsFromClassicalLBResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeregisterTargetsFromClassicalLBResponse) ToJsonString ¶
func (r *DeregisterTargetsFromClassicalLBResponse) ToJsonString() string
type DeregisterTargetsFromClassicalLBResponseParams ¶
type DeregisterTargetsFromClassicalLBResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeregisterTargetsRequest ¶
type DeregisterTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID in the format of "lb-12345678" LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Listener ID in the format of "lbl-12345678" ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // List of real servers to be unbound. Array length limit: 20. Targets []*Target `json:"Targets,omitnil,omitempty" name:"Targets"` // Forwarding rule ID in the format of "loc-12345678". When unbinding a server from a layer-7 forwarding rule, you must provide either this parameter or Domain+Url. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
func NewDeregisterTargetsRequest ¶
func NewDeregisterTargetsRequest() (request *DeregisterTargetsRequest)
func (*DeregisterTargetsRequest) FromJsonString ¶
func (r *DeregisterTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeregisterTargetsRequest) ToJsonString ¶
func (r *DeregisterTargetsRequest) ToJsonString() string
type DeregisterTargetsRequestParams ¶
type DeregisterTargetsRequestParams struct { // CLB instance ID in the format of "lb-12345678" LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Listener ID in the format of "lbl-12345678" ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // List of real servers to be unbound. Array length limit: 20. Targets []*Target `json:"Targets,omitnil,omitempty" name:"Targets"` // Forwarding rule ID in the format of "loc-12345678". When unbinding a server from a layer-7 forwarding rule, you must provide either this parameter or Domain+Url. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
Predefined struct for user
type DeregisterTargetsResponse ¶
type DeregisterTargetsResponse struct { *tchttp.BaseResponse Response *DeregisterTargetsResponseParams `json:"Response"` }
func NewDeregisterTargetsResponse ¶
func NewDeregisterTargetsResponse() (response *DeregisterTargetsResponse)
func (*DeregisterTargetsResponse) FromJsonString ¶
func (r *DeregisterTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeregisterTargetsResponse) ToJsonString ¶
func (r *DeregisterTargetsResponse) ToJsonString() string
type DeregisterTargetsResponseParams ¶
type DeregisterTargetsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBlockIPListRequest ¶
type DescribeBlockIPListRequest struct { *tchttp.BaseRequest // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Data offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of IPs to be returned. Default value: 100,000. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeBlockIPListRequest ¶
func NewDescribeBlockIPListRequest() (request *DescribeBlockIPListRequest)
func (*DescribeBlockIPListRequest) FromJsonString ¶
func (r *DescribeBlockIPListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlockIPListRequest) ToJsonString ¶
func (r *DescribeBlockIPListRequest) ToJsonString() string
type DescribeBlockIPListRequestParams ¶
type DescribeBlockIPListRequestParams struct { // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Data offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of IPs to be returned. Default value: 100,000. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeBlockIPListResponse ¶
type DescribeBlockIPListResponse struct { *tchttp.BaseResponse Response *DescribeBlockIPListResponseParams `json:"Response"` }
func NewDescribeBlockIPListResponse ¶
func NewDescribeBlockIPListResponse() (response *DescribeBlockIPListResponse)
func (*DescribeBlockIPListResponse) FromJsonString ¶
func (r *DescribeBlockIPListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlockIPListResponse) ToJsonString ¶
func (r *DescribeBlockIPListResponse) ToJsonString() string
type DescribeBlockIPListResponseParams ¶
type DescribeBlockIPListResponseParams struct { // Number of returned IPs BlockedIPCount *uint64 `json:"BlockedIPCount,omitnil,omitempty" name:"BlockedIPCount"` // Field for getting real client IP ClientIPField *string `json:"ClientIPField,omitnil,omitempty" name:"ClientIPField"` // List of IPs added to blocklist 12360 BlockedIPList []*BlockedIP `json:"BlockedIPList,omitnil,omitempty" name:"BlockedIPList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBlockIPTaskRequest ¶
type DescribeBlockIPTaskRequest struct { *tchttp.BaseRequest // Async task ID returned by the `ModifyBlockIPList` API TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewDescribeBlockIPTaskRequest ¶
func NewDescribeBlockIPTaskRequest() (request *DescribeBlockIPTaskRequest)
func (*DescribeBlockIPTaskRequest) FromJsonString ¶
func (r *DescribeBlockIPTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlockIPTaskRequest) ToJsonString ¶
func (r *DescribeBlockIPTaskRequest) ToJsonString() string
type DescribeBlockIPTaskRequestParams ¶
type DescribeBlockIPTaskRequestParams struct { // Async task ID returned by the `ModifyBlockIPList` API TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type DescribeBlockIPTaskResponse ¶
type DescribeBlockIPTaskResponse struct { *tchttp.BaseResponse Response *DescribeBlockIPTaskResponseParams `json:"Response"` }
func NewDescribeBlockIPTaskResponse ¶
func NewDescribeBlockIPTaskResponse() (response *DescribeBlockIPTaskResponse)
func (*DescribeBlockIPTaskResponse) FromJsonString ¶
func (r *DescribeBlockIPTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlockIPTaskResponse) ToJsonString ¶
func (r *DescribeBlockIPTaskResponse) ToJsonString() string
type DescribeBlockIPTaskResponseParams ¶
type DescribeBlockIPTaskResponseParams struct { // 1: running; 2: failed; 6: succeeded Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClassicalLBByInstanceIdRequest ¶
type DescribeClassicalLBByInstanceIdRequest struct { *tchttp.BaseRequest // List of real server IDs InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewDescribeClassicalLBByInstanceIdRequest ¶
func NewDescribeClassicalLBByInstanceIdRequest() (request *DescribeClassicalLBByInstanceIdRequest)
func (*DescribeClassicalLBByInstanceIdRequest) FromJsonString ¶
func (r *DescribeClassicalLBByInstanceIdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClassicalLBByInstanceIdRequest) ToJsonString ¶
func (r *DescribeClassicalLBByInstanceIdRequest) ToJsonString() string
type DescribeClassicalLBByInstanceIdRequestParams ¶
type DescribeClassicalLBByInstanceIdRequestParams struct { // List of real server IDs InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DescribeClassicalLBByInstanceIdResponse ¶
type DescribeClassicalLBByInstanceIdResponse struct { *tchttp.BaseResponse Response *DescribeClassicalLBByInstanceIdResponseParams `json:"Response"` }
func NewDescribeClassicalLBByInstanceIdResponse ¶
func NewDescribeClassicalLBByInstanceIdResponse() (response *DescribeClassicalLBByInstanceIdResponse)
func (*DescribeClassicalLBByInstanceIdResponse) FromJsonString ¶
func (r *DescribeClassicalLBByInstanceIdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClassicalLBByInstanceIdResponse) ToJsonString ¶
func (r *DescribeClassicalLBByInstanceIdResponse) ToJsonString() string
type DescribeClassicalLBByInstanceIdResponseParams ¶
type DescribeClassicalLBByInstanceIdResponseParams struct { // CLB information list LoadBalancerInfoList []*ClassicalLoadBalancerInfo `json:"LoadBalancerInfoList,omitnil,omitempty" name:"LoadBalancerInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClassicalLBHealthStatusRequest ¶
type DescribeClassicalLBHealthStatusRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` }
func NewDescribeClassicalLBHealthStatusRequest ¶
func NewDescribeClassicalLBHealthStatusRequest() (request *DescribeClassicalLBHealthStatusRequest)
func (*DescribeClassicalLBHealthStatusRequest) FromJsonString ¶
func (r *DescribeClassicalLBHealthStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClassicalLBHealthStatusRequest) ToJsonString ¶
func (r *DescribeClassicalLBHealthStatusRequest) ToJsonString() string
type DescribeClassicalLBHealthStatusRequestParams ¶
type DescribeClassicalLBHealthStatusRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` }
Predefined struct for user
type DescribeClassicalLBHealthStatusResponse ¶
type DescribeClassicalLBHealthStatusResponse struct { *tchttp.BaseResponse Response *DescribeClassicalLBHealthStatusResponseParams `json:"Response"` }
func NewDescribeClassicalLBHealthStatusResponse ¶
func NewDescribeClassicalLBHealthStatusResponse() (response *DescribeClassicalLBHealthStatusResponse)
func (*DescribeClassicalLBHealthStatusResponse) FromJsonString ¶
func (r *DescribeClassicalLBHealthStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClassicalLBHealthStatusResponse) ToJsonString ¶
func (r *DescribeClassicalLBHealthStatusResponse) ToJsonString() string
type DescribeClassicalLBHealthStatusResponseParams ¶
type DescribeClassicalLBHealthStatusResponseParams struct { // List of real server health statuses // Note: This field may return `null`, indicating that no valid values can be obtained. HealthList []*ClassicalHealth `json:"HealthList,omitnil,omitempty" name:"HealthList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClassicalLBListenersRequest ¶
type DescribeClassicalLBListenersRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // List of CLB listener IDs ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // CLB listening protocol. Valid values: TCP, UDP, HTTP, and HTTPS. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // CLB listening port. Value range: 1 - 65535. ListenerPort *int64 `json:"ListenerPort,omitnil,omitempty" name:"ListenerPort"` // Listener status. Valid values: 0 (creating) and 1 (running). Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` }
func NewDescribeClassicalLBListenersRequest ¶
func NewDescribeClassicalLBListenersRequest() (request *DescribeClassicalLBListenersRequest)
func (*DescribeClassicalLBListenersRequest) FromJsonString ¶
func (r *DescribeClassicalLBListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClassicalLBListenersRequest) ToJsonString ¶
func (r *DescribeClassicalLBListenersRequest) ToJsonString() string
type DescribeClassicalLBListenersRequestParams ¶
type DescribeClassicalLBListenersRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // List of CLB listener IDs ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // CLB listening protocol. Valid values: TCP, UDP, HTTP, and HTTPS. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // CLB listening port. Value range: 1 - 65535. ListenerPort *int64 `json:"ListenerPort,omitnil,omitempty" name:"ListenerPort"` // Listener status. Valid values: 0 (creating) and 1 (running). Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type DescribeClassicalLBListenersResponse ¶
type DescribeClassicalLBListenersResponse struct { *tchttp.BaseResponse Response *DescribeClassicalLBListenersResponseParams `json:"Response"` }
func NewDescribeClassicalLBListenersResponse ¶
func NewDescribeClassicalLBListenersResponse() (response *DescribeClassicalLBListenersResponse)
func (*DescribeClassicalLBListenersResponse) FromJsonString ¶
func (r *DescribeClassicalLBListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClassicalLBListenersResponse) ToJsonString ¶
func (r *DescribeClassicalLBListenersResponse) ToJsonString() string
type DescribeClassicalLBListenersResponseParams ¶
type DescribeClassicalLBListenersResponseParams struct { // Listener list // Note: This field may return `null`, indicating that no valid values can be obtained. Listeners []*ClassicalListener `json:"Listeners,omitnil,omitempty" name:"Listeners"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClassicalLBTargetsRequest ¶
type DescribeClassicalLBTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` }
func NewDescribeClassicalLBTargetsRequest ¶
func NewDescribeClassicalLBTargetsRequest() (request *DescribeClassicalLBTargetsRequest)
func (*DescribeClassicalLBTargetsRequest) FromJsonString ¶
func (r *DescribeClassicalLBTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClassicalLBTargetsRequest) ToJsonString ¶
func (r *DescribeClassicalLBTargetsRequest) ToJsonString() string
type DescribeClassicalLBTargetsRequestParams ¶
type DescribeClassicalLBTargetsRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` }
Predefined struct for user
type DescribeClassicalLBTargetsResponse ¶
type DescribeClassicalLBTargetsResponse struct { *tchttp.BaseResponse Response *DescribeClassicalLBTargetsResponseParams `json:"Response"` }
func NewDescribeClassicalLBTargetsResponse ¶
func NewDescribeClassicalLBTargetsResponse() (response *DescribeClassicalLBTargetsResponse)
func (*DescribeClassicalLBTargetsResponse) FromJsonString ¶
func (r *DescribeClassicalLBTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClassicalLBTargetsResponse) ToJsonString ¶
func (r *DescribeClassicalLBTargetsResponse) ToJsonString() string
type DescribeClassicalLBTargetsResponseParams ¶
type DescribeClassicalLBTargetsResponseParams struct { // Real server list // Note: This field may return `null`, indicating that no valid values can be obtained. Targets []*ClassicalTarget `json:"Targets,omitnil,omitempty" name:"Targets"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClsLogSetRequest ¶
type DescribeClsLogSetRequest struct {
*tchttp.BaseRequest
}
func NewDescribeClsLogSetRequest ¶
func NewDescribeClsLogSetRequest() (request *DescribeClsLogSetRequest)
func (*DescribeClsLogSetRequest) FromJsonString ¶
func (r *DescribeClsLogSetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClsLogSetRequest) ToJsonString ¶
func (r *DescribeClsLogSetRequest) ToJsonString() string
type DescribeClsLogSetRequestParams ¶
type DescribeClsLogSetRequestParams struct { }
Predefined struct for user
type DescribeClsLogSetResponse ¶
type DescribeClsLogSetResponse struct { *tchttp.BaseResponse Response *DescribeClsLogSetResponseParams `json:"Response"` }
func NewDescribeClsLogSetResponse ¶
func NewDescribeClsLogSetResponse() (response *DescribeClsLogSetResponse)
func (*DescribeClsLogSetResponse) FromJsonString ¶
func (r *DescribeClsLogSetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClsLogSetResponse) ToJsonString ¶
func (r *DescribeClsLogSetResponse) ToJsonString() string
type DescribeClsLogSetResponseParams ¶
type DescribeClsLogSetResponseParams struct { // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Health check logset ID HealthLogsetId *string `json:"HealthLogsetId,omitnil,omitempty" name:"HealthLogsetId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCrossTargetsRequest ¶
type DescribeCrossTargetsRequest struct { *tchttp.BaseRequest // Number of real server lists returned. Default value: 20; maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Starting offset of the real server list returned. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Filter conditions to query CVMs and ENIs // <li> `vpc-id` - String - Required: No - (Filter condition) Filter by VPC ID, such as "vpc-12345678".</li> // <li> `ip` - String - Required: No - (Filter condition) Filter by real server IP, such as "192.168.0.1".</li> // <li> `listener-id` - String - Required: No - (Filter condition) Filter by listener ID, such as "lbl-12345678".</li> // <li> `location-id` - String - Required: No - (Filter condition) Filter by forwarding rule ID of the layer-7 listener, such as "loc-12345678".</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeCrossTargetsRequest ¶
func NewDescribeCrossTargetsRequest() (request *DescribeCrossTargetsRequest)
func (*DescribeCrossTargetsRequest) FromJsonString ¶
func (r *DescribeCrossTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCrossTargetsRequest) ToJsonString ¶
func (r *DescribeCrossTargetsRequest) ToJsonString() string
type DescribeCrossTargetsRequestParams ¶
type DescribeCrossTargetsRequestParams struct { // Number of real server lists returned. Default value: 20; maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Starting offset of the real server list returned. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Filter conditions to query CVMs and ENIs // <li> `vpc-id` - String - Required: No - (Filter condition) Filter by VPC ID, such as "vpc-12345678".</li> // <li> `ip` - String - Required: No - (Filter condition) Filter by real server IP, such as "192.168.0.1".</li> // <li> `listener-id` - String - Required: No - (Filter condition) Filter by listener ID, such as "lbl-12345678".</li> // <li> `location-id` - String - Required: No - (Filter condition) Filter by forwarding rule ID of the layer-7 listener, such as "loc-12345678".</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeCrossTargetsResponse ¶
type DescribeCrossTargetsResponse struct { *tchttp.BaseResponse Response *DescribeCrossTargetsResponseParams `json:"Response"` }
func NewDescribeCrossTargetsResponse ¶
func NewDescribeCrossTargetsResponse() (response *DescribeCrossTargetsResponse)
func (*DescribeCrossTargetsResponse) FromJsonString ¶
func (r *DescribeCrossTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCrossTargetsResponse) ToJsonString ¶
func (r *DescribeCrossTargetsResponse) ToJsonString() string
type DescribeCrossTargetsResponseParams ¶
type DescribeCrossTargetsResponseParams struct { // Total number of real server lists TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Real server list CrossTargetSet []*CrossTargets `json:"CrossTargetSet,omitnil,omitempty" name:"CrossTargetSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomizedConfigAssociateListRequest ¶
type DescribeCustomizedConfigAssociateListRequest struct { *tchttp.BaseRequest // Configuration ID. UconfigId *string `json:"UconfigId,omitnil,omitempty" name:"UconfigId"` // Start position of the binding list. Default: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of binding lists to pull. Default: 20. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Searches for the domain name. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` }
func NewDescribeCustomizedConfigAssociateListRequest ¶
func NewDescribeCustomizedConfigAssociateListRequest() (request *DescribeCustomizedConfigAssociateListRequest)
func (*DescribeCustomizedConfigAssociateListRequest) FromJsonString ¶
func (r *DescribeCustomizedConfigAssociateListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomizedConfigAssociateListRequest) ToJsonString ¶
func (r *DescribeCustomizedConfigAssociateListRequest) ToJsonString() string
type DescribeCustomizedConfigAssociateListRequestParams ¶
type DescribeCustomizedConfigAssociateListRequestParams struct { // Configuration ID. UconfigId *string `json:"UconfigId,omitnil,omitempty" name:"UconfigId"` // Start position of the binding list. Default: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of binding lists to pull. Default: 20. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Searches for the domain name. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` }
Predefined struct for user
type DescribeCustomizedConfigAssociateListResponse ¶
type DescribeCustomizedConfigAssociateListResponse struct { *tchttp.BaseResponse Response *DescribeCustomizedConfigAssociateListResponseParams `json:"Response"` }
func NewDescribeCustomizedConfigAssociateListResponse ¶
func NewDescribeCustomizedConfigAssociateListResponse() (response *DescribeCustomizedConfigAssociateListResponse)
func (*DescribeCustomizedConfigAssociateListResponse) FromJsonString ¶
func (r *DescribeCustomizedConfigAssociateListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomizedConfigAssociateListResponse) ToJsonString ¶
func (r *DescribeCustomizedConfigAssociateListResponse) ToJsonString() string
type DescribeCustomizedConfigAssociateListResponseParams ¶
type DescribeCustomizedConfigAssociateListResponseParams struct { // List of bound resources BindList []*BindDetailItem `json:"BindList,omitnil,omitempty" name:"BindList"` // Total number of bound resources TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomizedConfigListRequest ¶
type DescribeCustomizedConfigListRequest struct { *tchttp.BaseRequest // Configuration type. Valid values: `CLB` (CLB-specific configs), `SERVER` (domain name-specific configs), and `LOCATION` (forwarding rule-specific configs). ConfigType *string `json:"ConfigType,omitnil,omitempty" name:"ConfigType"` // Pagination offset. Default: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results per page. Default: 20. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Specifies the name of configs to query. Fuzzy match is supported. ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // Configuration ID. UconfigIds []*string `json:"UconfigIds,omitnil,omitempty" name:"UconfigIds"` // The filters are: // <li> loadbalancer-id - String - Required: no - (filter) CLB instance ID, such as "lb-12345678". </li> // <li> vip - String - Required: no - (filter) CLB instance VIP, such as "1.1.1.1" and "2204::22:3". </li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeCustomizedConfigListRequest ¶
func NewDescribeCustomizedConfigListRequest() (request *DescribeCustomizedConfigListRequest)
func (*DescribeCustomizedConfigListRequest) FromJsonString ¶
func (r *DescribeCustomizedConfigListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomizedConfigListRequest) ToJsonString ¶
func (r *DescribeCustomizedConfigListRequest) ToJsonString() string
type DescribeCustomizedConfigListRequestParams ¶
type DescribeCustomizedConfigListRequestParams struct { // Configuration type. Valid values: `CLB` (CLB-specific configs), `SERVER` (domain name-specific configs), and `LOCATION` (forwarding rule-specific configs). ConfigType *string `json:"ConfigType,omitnil,omitempty" name:"ConfigType"` // Pagination offset. Default: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results per page. Default: 20. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Specifies the name of configs to query. Fuzzy match is supported. ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // Configuration ID. UconfigIds []*string `json:"UconfigIds,omitnil,omitempty" name:"UconfigIds"` // The filters are: // <li> loadbalancer-id - String - Required: no - (filter) CLB instance ID, such as "lb-12345678". </li> // <li> vip - String - Required: no - (filter) CLB instance VIP, such as "1.1.1.1" and "2204::22:3". </li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeCustomizedConfigListResponse ¶
type DescribeCustomizedConfigListResponse struct { *tchttp.BaseResponse Response *DescribeCustomizedConfigListResponseParams `json:"Response"` }
func NewDescribeCustomizedConfigListResponse ¶
func NewDescribeCustomizedConfigListResponse() (response *DescribeCustomizedConfigListResponse)
func (*DescribeCustomizedConfigListResponse) FromJsonString ¶
func (r *DescribeCustomizedConfigListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomizedConfigListResponse) ToJsonString ¶
func (r *DescribeCustomizedConfigListResponse) ToJsonString() string
type DescribeCustomizedConfigListResponseParams ¶
type DescribeCustomizedConfigListResponseParams struct { // Configuration list. ConfigList []*ConfigListItem `json:"ConfigList,omitnil,omitempty" name:"ConfigList"` // Number of configurations. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIdleLoadBalancersRequest ¶
type DescribeIdleLoadBalancersRequest struct { *tchttp.BaseRequest // Data offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned CLB instances. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // CLB instance region LoadBalancerRegion *string `json:"LoadBalancerRegion,omitnil,omitempty" name:"LoadBalancerRegion"` }
func NewDescribeIdleLoadBalancersRequest ¶
func NewDescribeIdleLoadBalancersRequest() (request *DescribeIdleLoadBalancersRequest)
func (*DescribeIdleLoadBalancersRequest) FromJsonString ¶
func (r *DescribeIdleLoadBalancersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIdleLoadBalancersRequest) ToJsonString ¶
func (r *DescribeIdleLoadBalancersRequest) ToJsonString() string
type DescribeIdleLoadBalancersRequestParams ¶
type DescribeIdleLoadBalancersRequestParams struct { // Data offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned CLB instances. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // CLB instance region LoadBalancerRegion *string `json:"LoadBalancerRegion,omitnil,omitempty" name:"LoadBalancerRegion"` }
Predefined struct for user
type DescribeIdleLoadBalancersResponse ¶
type DescribeIdleLoadBalancersResponse struct { *tchttp.BaseResponse Response *DescribeIdleLoadBalancersResponseParams `json:"Response"` }
func NewDescribeIdleLoadBalancersResponse ¶
func NewDescribeIdleLoadBalancersResponse() (response *DescribeIdleLoadBalancersResponse)
func (*DescribeIdleLoadBalancersResponse) FromJsonString ¶
func (r *DescribeIdleLoadBalancersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIdleLoadBalancersResponse) ToJsonString ¶
func (r *DescribeIdleLoadBalancersResponse) ToJsonString() string
type DescribeIdleLoadBalancersResponseParams ¶
type DescribeIdleLoadBalancersResponseParams struct { // List of idle CLBs // Note: This field may return `null`, indicating that no valid values can be obtained. IdleLoadBalancers []*IdleLoadBalancer `json:"IdleLoadBalancers,omitnil,omitempty" name:"IdleLoadBalancers"` // Total number of idle CLB instances TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLBListenersRequest ¶
type DescribeLBListenersRequest struct { *tchttp.BaseRequest // List of private network IPs to be queried. Backends []*LbRsItem `json:"Backends,omitnil,omitempty" name:"Backends"` }
func NewDescribeLBListenersRequest ¶
func NewDescribeLBListenersRequest() (request *DescribeLBListenersRequest)
func (*DescribeLBListenersRequest) FromJsonString ¶
func (r *DescribeLBListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLBListenersRequest) ToJsonString ¶
func (r *DescribeLBListenersRequest) ToJsonString() string
type DescribeLBListenersRequestParams ¶
type DescribeLBListenersRequestParams struct { // List of private network IPs to be queried. Backends []*LbRsItem `json:"Backends,omitnil,omitempty" name:"Backends"` }
Predefined struct for user
type DescribeLBListenersResponse ¶
type DescribeLBListenersResponse struct { *tchttp.BaseResponse Response *DescribeLBListenersResponseParams `json:"Response"` }
func NewDescribeLBListenersResponse ¶
func NewDescribeLBListenersResponse() (response *DescribeLBListenersResponse)
func (*DescribeLBListenersResponse) FromJsonString ¶
func (r *DescribeLBListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLBListenersResponse) ToJsonString ¶
func (r *DescribeLBListenersResponse) ToJsonString() string
type DescribeLBListenersResponseParams ¶
type DescribeLBListenersResponseParams struct { // Listener rule associated with the real server. LoadBalancers []*LBItem `json:"LoadBalancers,omitnil,omitempty" name:"LoadBalancers"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListenersRequest ¶
type DescribeListenersRequest struct { *tchttp.BaseRequest // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Array of CLB listener IDs to query (100 IDs at most). ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // Type of the listener protocols to be queried. Values: TCP`, `UDP`, `HTTP`, `HTTPS`, `TCP_SSL` and `QUIC`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Port of the listeners to be queried Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` }
func NewDescribeListenersRequest ¶
func NewDescribeListenersRequest() (request *DescribeListenersRequest)
func (*DescribeListenersRequest) FromJsonString ¶
func (r *DescribeListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListenersRequest) ToJsonString ¶
func (r *DescribeListenersRequest) ToJsonString() string
type DescribeListenersRequestParams ¶
type DescribeListenersRequestParams struct { // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Array of CLB listener IDs to query (100 IDs at most). ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // Type of the listener protocols to be queried. Values: TCP`, `UDP`, `HTTP`, `HTTPS`, `TCP_SSL` and `QUIC`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Port of the listeners to be queried Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` }
Predefined struct for user
type DescribeListenersResponse ¶
type DescribeListenersResponse struct { *tchttp.BaseResponse Response *DescribeListenersResponseParams `json:"Response"` }
func NewDescribeListenersResponse ¶
func NewDescribeListenersResponse() (response *DescribeListenersResponse)
func (*DescribeListenersResponse) FromJsonString ¶
func (r *DescribeListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListenersResponse) ToJsonString ¶
func (r *DescribeListenersResponse) ToJsonString() string
type DescribeListenersResponseParams ¶
type DescribeListenersResponseParams struct { // Listener list Listeners []*Listener `json:"Listeners,omitnil,omitempty" name:"Listeners"` // Total number of listeners (with filters of port, protocol, and listener ID applied). // Note: This field may return `null`, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancerListByCertIdRequest ¶
type DescribeLoadBalancerListByCertIdRequest struct { *tchttp.BaseRequest // Server or client certificate ID CertIds []*string `json:"CertIds,omitnil,omitempty" name:"CertIds"` }
func NewDescribeLoadBalancerListByCertIdRequest ¶
func NewDescribeLoadBalancerListByCertIdRequest() (request *DescribeLoadBalancerListByCertIdRequest)
func (*DescribeLoadBalancerListByCertIdRequest) FromJsonString ¶
func (r *DescribeLoadBalancerListByCertIdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancerListByCertIdRequest) ToJsonString ¶
func (r *DescribeLoadBalancerListByCertIdRequest) ToJsonString() string
type DescribeLoadBalancerListByCertIdRequestParams ¶
type DescribeLoadBalancerListByCertIdRequestParams struct { // Server or client certificate ID CertIds []*string `json:"CertIds,omitnil,omitempty" name:"CertIds"` }
Predefined struct for user
type DescribeLoadBalancerListByCertIdResponse ¶
type DescribeLoadBalancerListByCertIdResponse struct { *tchttp.BaseResponse Response *DescribeLoadBalancerListByCertIdResponseParams `json:"Response"` }
func NewDescribeLoadBalancerListByCertIdResponse ¶
func NewDescribeLoadBalancerListByCertIdResponse() (response *DescribeLoadBalancerListByCertIdResponse)
func (*DescribeLoadBalancerListByCertIdResponse) FromJsonString ¶
func (r *DescribeLoadBalancerListByCertIdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancerListByCertIdResponse) ToJsonString ¶
func (r *DescribeLoadBalancerListByCertIdResponse) ToJsonString() string
type DescribeLoadBalancerListByCertIdResponseParams ¶
type DescribeLoadBalancerListByCertIdResponseParams struct { // Certificate ID and list of CLB instances associated with it CertSet []*CertIdRelatedWithLoadBalancers `json:"CertSet,omitnil,omitempty" name:"CertSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancerOverviewRequest ¶
type DescribeLoadBalancerOverviewRequest struct {
*tchttp.BaseRequest
}
func NewDescribeLoadBalancerOverviewRequest ¶
func NewDescribeLoadBalancerOverviewRequest() (request *DescribeLoadBalancerOverviewRequest)
func (*DescribeLoadBalancerOverviewRequest) FromJsonString ¶
func (r *DescribeLoadBalancerOverviewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancerOverviewRequest) ToJsonString ¶
func (r *DescribeLoadBalancerOverviewRequest) ToJsonString() string
type DescribeLoadBalancerOverviewRequestParams ¶
type DescribeLoadBalancerOverviewRequestParams struct { }
Predefined struct for user
type DescribeLoadBalancerOverviewResponse ¶
type DescribeLoadBalancerOverviewResponse struct { *tchttp.BaseResponse Response *DescribeLoadBalancerOverviewResponseParams `json:"Response"` }
func NewDescribeLoadBalancerOverviewResponse ¶
func NewDescribeLoadBalancerOverviewResponse() (response *DescribeLoadBalancerOverviewResponse)
func (*DescribeLoadBalancerOverviewResponse) FromJsonString ¶
func (r *DescribeLoadBalancerOverviewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancerOverviewResponse) ToJsonString ¶
func (r *DescribeLoadBalancerOverviewResponse) ToJsonString() string
type DescribeLoadBalancerOverviewResponseParams ¶
type DescribeLoadBalancerOverviewResponseParams struct { // Total number of CLB instances TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Number of CLB instances that are running RunningCount *int64 `json:"RunningCount,omitnil,omitempty" name:"RunningCount"` // Number of CLB instances that are isolated IsolationCount *int64 `json:"IsolationCount,omitnil,omitempty" name:"IsolationCount"` // Number of CLB instances that are about to expire WillExpireCount *int64 `json:"WillExpireCount,omitnil,omitempty" name:"WillExpireCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancerTrafficRequest ¶
type DescribeLoadBalancerTrafficRequest struct { *tchttp.BaseRequest // CLB instance region. If this parameter is not passed in, CLB instances in all regions will be returned. LoadBalancerRegion *string `json:"LoadBalancerRegion,omitnil,omitempty" name:"LoadBalancerRegion"` }
func NewDescribeLoadBalancerTrafficRequest ¶
func NewDescribeLoadBalancerTrafficRequest() (request *DescribeLoadBalancerTrafficRequest)
func (*DescribeLoadBalancerTrafficRequest) FromJsonString ¶
func (r *DescribeLoadBalancerTrafficRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancerTrafficRequest) ToJsonString ¶
func (r *DescribeLoadBalancerTrafficRequest) ToJsonString() string
type DescribeLoadBalancerTrafficRequestParams ¶
type DescribeLoadBalancerTrafficRequestParams struct { // CLB instance region. If this parameter is not passed in, CLB instances in all regions will be returned. LoadBalancerRegion *string `json:"LoadBalancerRegion,omitnil,omitempty" name:"LoadBalancerRegion"` }
Predefined struct for user
type DescribeLoadBalancerTrafficResponse ¶
type DescribeLoadBalancerTrafficResponse struct { *tchttp.BaseResponse Response *DescribeLoadBalancerTrafficResponseParams `json:"Response"` }
func NewDescribeLoadBalancerTrafficResponse ¶
func NewDescribeLoadBalancerTrafficResponse() (response *DescribeLoadBalancerTrafficResponse)
func (*DescribeLoadBalancerTrafficResponse) FromJsonString ¶
func (r *DescribeLoadBalancerTrafficResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancerTrafficResponse) ToJsonString ¶
func (r *DescribeLoadBalancerTrafficResponse) ToJsonString() string
type DescribeLoadBalancerTrafficResponseParams ¶
type DescribeLoadBalancerTrafficResponseParams struct { // Information of CLB instances sorted by outbound bandwidth from highest to lowest // Note: This field may return `null`, indicating that no valid values can be obtained. LoadBalancerTraffic []*LoadBalancerTraffic `json:"LoadBalancerTraffic,omitnil,omitempty" name:"LoadBalancerTraffic"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancersDetailRequest ¶
type DescribeLoadBalancersDetailRequest struct { *tchttp.BaseRequest // Number of CLB instance lists returned. Default value: 20; maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Starting offset of the CLB instance list returned. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // List of fields. Only fields specified will be returned. If it’s left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see <a href="https://intl.cloud.tencent.com/document/api/214/30694?from_cn_redirect=1#LoadBalancerDetail">LoadBalancerDetail</a>. Fields []*string `json:"Fields,omitnil,omitempty" name:"Fields"` // Target type. Valid values: NODE and GROUP. If the list of fields contains `TargetId`, `TargetAddress`, `TargetPort`, `TargetWeight` and other fields, `Target` of the target group or non-target group must be exported. TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"` // Filter condition of querying lists describing CLB instance details: // <li> loadbalancer-id - String - Required: no - (Filter condition) CLB instance ID, such as "lb-12345678". </li> // <li> project-id - String - Required: no - (Filter condition) Project ID, such as "0" and "123".</li> // <li> network - String - Required: no - (Filter condition) Network type of the CLB instance, such as "Public" and "Private".</li> // <li> vip - String - Required: no - (Filter condition) CLB instance VIP, such as "1.1.1.1" and "2204::22:3". </li> // <li> target-ip - String - Required: no - (Filter condition) Private IP of the target real servers, such as"1.1.1.1" and "2203::214:4".</li> // <li> vpcid - String - Required: no - (Filter condition) Identifier of the VPC instance to which the CLB instance belongs, such as "vpc-12345678".</li> // <li> zone - String - Required: no - (Filter condition) Availability zone where the CLB instance resides, such as "ap-guangzhou-1".</li> // <li> tag-key - String - Required: no - (Filter condition) Tag key of the CLB instance, such as "name".</li> // <li> tag:* - String - Required: no - (Filter condition) CLB instance tag, followed by tag key after the colon ':'. For example, use {"Name": "tag:name","Values": ["zhangsan", "lisi"]} to filter the tag key “name” with the tag value “zhangsan” and “lisi”.</li> // <li> fuzzy-search - String - Required: no - (Filter condition) Fuzzy search for CLB instance VIP and CLB instance name, such as "1.1".</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeLoadBalancersDetailRequest ¶
func NewDescribeLoadBalancersDetailRequest() (request *DescribeLoadBalancersDetailRequest)
func (*DescribeLoadBalancersDetailRequest) FromJsonString ¶
func (r *DescribeLoadBalancersDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancersDetailRequest) ToJsonString ¶
func (r *DescribeLoadBalancersDetailRequest) ToJsonString() string
type DescribeLoadBalancersDetailRequestParams ¶
type DescribeLoadBalancersDetailRequestParams struct { // Number of CLB instance lists returned. Default value: 20; maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Starting offset of the CLB instance list returned. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // List of fields. Only fields specified will be returned. If it’s left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see <a href="https://intl.cloud.tencent.com/document/api/214/30694?from_cn_redirect=1#LoadBalancerDetail">LoadBalancerDetail</a>. Fields []*string `json:"Fields,omitnil,omitempty" name:"Fields"` // Target type. Valid values: NODE and GROUP. If the list of fields contains `TargetId`, `TargetAddress`, `TargetPort`, `TargetWeight` and other fields, `Target` of the target group or non-target group must be exported. TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"` // Filter condition of querying lists describing CLB instance details: // <li> loadbalancer-id - String - Required: no - (Filter condition) CLB instance ID, such as "lb-12345678". </li> // <li> project-id - String - Required: no - (Filter condition) Project ID, such as "0" and "123".</li> // <li> network - String - Required: no - (Filter condition) Network type of the CLB instance, such as "Public" and "Private".</li> // <li> vip - String - Required: no - (Filter condition) CLB instance VIP, such as "1.1.1.1" and "2204::22:3". </li> // <li> target-ip - String - Required: no - (Filter condition) Private IP of the target real servers, such as"1.1.1.1" and "2203::214:4".</li> // <li> vpcid - String - Required: no - (Filter condition) Identifier of the VPC instance to which the CLB instance belongs, such as "vpc-12345678".</li> // <li> zone - String - Required: no - (Filter condition) Availability zone where the CLB instance resides, such as "ap-guangzhou-1".</li> // <li> tag-key - String - Required: no - (Filter condition) Tag key of the CLB instance, such as "name".</li> // <li> tag:* - String - Required: no - (Filter condition) CLB instance tag, followed by tag key after the colon ':'. For example, use {"Name": "tag:name","Values": ["zhangsan", "lisi"]} to filter the tag key “name” with the tag value “zhangsan” and “lisi”.</li> // <li> fuzzy-search - String - Required: no - (Filter condition) Fuzzy search for CLB instance VIP and CLB instance name, such as "1.1".</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeLoadBalancersDetailResponse ¶
type DescribeLoadBalancersDetailResponse struct { *tchttp.BaseResponse Response *DescribeLoadBalancersDetailResponseParams `json:"Response"` }
func NewDescribeLoadBalancersDetailResponse ¶
func NewDescribeLoadBalancersDetailResponse() (response *DescribeLoadBalancersDetailResponse)
func (*DescribeLoadBalancersDetailResponse) FromJsonString ¶
func (r *DescribeLoadBalancersDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancersDetailResponse) ToJsonString ¶
func (r *DescribeLoadBalancersDetailResponse) ToJsonString() string
type DescribeLoadBalancersDetailResponseParams ¶
type DescribeLoadBalancersDetailResponseParams struct { // Total number of lists describing CLB instance details. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of CLB instance details. // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerDetailSet []*LoadBalancerDetail `json:"LoadBalancerDetailSet,omitnil,omitempty" name:"LoadBalancerDetailSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancersRequest ¶
type DescribeLoadBalancersRequest struct { *tchttp.BaseRequest // CLB instance IDs. There can be up to 20 IDs. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` // CLB instance network type: // OPEN: public network; INTERNAL: private network. LoadBalancerType *string `json:"LoadBalancerType,omitnil,omitempty" name:"LoadBalancerType"` // CLB instance type. 1: generic CLB instance; 0: classic CLB instance Forward *int64 `json:"Forward,omitnil,omitempty" name:"Forward"` // CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // The domain name that Tencent Cloud assigned for the CLB instance. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // VIP address of a CLB instance (there can be multiple addresses) LoadBalancerVips []*string `json:"LoadBalancerVips,omitnil,omitempty" name:"LoadBalancerVips"` // Public IPs of the backend services bound with the load balancer. Only the public IPs of CVMs are supported now. BackendPublicIps []*string `json:"BackendPublicIps,omitnil,omitempty" name:"BackendPublicIps"` // Private IPs of the backend services bound with the load balancer. Only the private IPs of CVMs are supported now. BackendPrivateIps []*string `json:"BackendPrivateIps,omitnil,omitempty" name:"BackendPrivateIps"` // Data offset. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned CLB instances. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Sort by parameter. Value range: LoadBalancerName, CreateTime, Domain, LoadBalancerType. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 1: reverse; 0: sequential. Default value: reverse by creation time | OrderType *int64 `json:"OrderType,omitnil,omitempty" name:"OrderType"` // Search field which fuzzy matches name, domain name, or VIP. SearchKey *string `json:"SearchKey,omitnil,omitempty" name:"SearchKey"` // ID of the project to which a CLB instance belongs, which can be obtained through the DescribeProject API. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Whether a CLB instance is bound to a real server. 0: no; 1: yes; -1: query all. WithRs *int64 `json:"WithRs,omitnil,omitempty" name:"WithRs"` // VPC where a CLB instance resides, such as vpc-bhqkbhdx. // Basic network does not support queries by VpcId. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Security group ID, e.g., `sg-m1cc****`. SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` // Primary AZ ID, e.g., `100001` (Guangzhou Zone 1). MasterZone *string `json:"MasterZone,omitnil,omitempty" name:"MasterZone"` // Each request can have up to 10 `Filters` and 100 `Filter.Values`. Detailed filter conditions: // <li> internet-charge-type - Type: String - Required: No - Filter by CLB network billing mode, including `TRAFFIC_POSTPAID_BY_HOUR`</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeLoadBalancersRequest ¶
func NewDescribeLoadBalancersRequest() (request *DescribeLoadBalancersRequest)
func (*DescribeLoadBalancersRequest) FromJsonString ¶
func (r *DescribeLoadBalancersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancersRequest) ToJsonString ¶
func (r *DescribeLoadBalancersRequest) ToJsonString() string
type DescribeLoadBalancersRequestParams ¶
type DescribeLoadBalancersRequestParams struct { // CLB instance IDs. There can be up to 20 IDs. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` // CLB instance network type: // OPEN: public network; INTERNAL: private network. LoadBalancerType *string `json:"LoadBalancerType,omitnil,omitempty" name:"LoadBalancerType"` // CLB instance type. 1: generic CLB instance; 0: classic CLB instance Forward *int64 `json:"Forward,omitnil,omitempty" name:"Forward"` // CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // The domain name that Tencent Cloud assigned for the CLB instance. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // VIP address of a CLB instance (there can be multiple addresses) LoadBalancerVips []*string `json:"LoadBalancerVips,omitnil,omitempty" name:"LoadBalancerVips"` // Public IPs of the backend services bound with the load balancer. Only the public IPs of CVMs are supported now. BackendPublicIps []*string `json:"BackendPublicIps,omitnil,omitempty" name:"BackendPublicIps"` // Private IPs of the backend services bound with the load balancer. Only the private IPs of CVMs are supported now. BackendPrivateIps []*string `json:"BackendPrivateIps,omitnil,omitempty" name:"BackendPrivateIps"` // Data offset. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned CLB instances. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Sort by parameter. Value range: LoadBalancerName, CreateTime, Domain, LoadBalancerType. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 1: reverse; 0: sequential. Default value: reverse by creation time | OrderType *int64 `json:"OrderType,omitnil,omitempty" name:"OrderType"` // Search field which fuzzy matches name, domain name, or VIP. SearchKey *string `json:"SearchKey,omitnil,omitempty" name:"SearchKey"` // ID of the project to which a CLB instance belongs, which can be obtained through the DescribeProject API. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Whether a CLB instance is bound to a real server. 0: no; 1: yes; -1: query all. WithRs *int64 `json:"WithRs,omitnil,omitempty" name:"WithRs"` // VPC where a CLB instance resides, such as vpc-bhqkbhdx. // Basic network does not support queries by VpcId. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Security group ID, e.g., `sg-m1cc****`. SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` // Primary AZ ID, e.g., `100001` (Guangzhou Zone 1). MasterZone *string `json:"MasterZone,omitnil,omitempty" name:"MasterZone"` // Each request can have up to 10 `Filters` and 100 `Filter.Values`. Detailed filter conditions: // <li> internet-charge-type - Type: String - Required: No - Filter by CLB network billing mode, including `TRAFFIC_POSTPAID_BY_HOUR`</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeLoadBalancersResponse ¶
type DescribeLoadBalancersResponse struct { *tchttp.BaseResponse Response *DescribeLoadBalancersResponseParams `json:"Response"` }
func NewDescribeLoadBalancersResponse ¶
func NewDescribeLoadBalancersResponse() (response *DescribeLoadBalancersResponse)
func (*DescribeLoadBalancersResponse) FromJsonString ¶
func (r *DescribeLoadBalancersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancersResponse) ToJsonString ¶
func (r *DescribeLoadBalancersResponse) ToJsonString() string
type DescribeLoadBalancersResponseParams ¶
type DescribeLoadBalancersResponseParams struct { // Total number of CLB instances that meet the filter criteria. This value is independent of the Limit in the input parameter. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Array of returned CLB instances. LoadBalancerSet []*LoadBalancer `json:"LoadBalancerSet,omitnil,omitempty" name:"LoadBalancerSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeQuotaRequest ¶
type DescribeQuotaRequest struct {
*tchttp.BaseRequest
}
func NewDescribeQuotaRequest ¶
func NewDescribeQuotaRequest() (request *DescribeQuotaRequest)
func (*DescribeQuotaRequest) FromJsonString ¶
func (r *DescribeQuotaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeQuotaRequest) ToJsonString ¶
func (r *DescribeQuotaRequest) ToJsonString() string
type DescribeQuotaRequestParams ¶
type DescribeQuotaRequestParams struct { }
Predefined struct for user
type DescribeQuotaResponse ¶
type DescribeQuotaResponse struct { *tchttp.BaseResponse Response *DescribeQuotaResponseParams `json:"Response"` }
func NewDescribeQuotaResponse ¶
func NewDescribeQuotaResponse() (response *DescribeQuotaResponse)
func (*DescribeQuotaResponse) FromJsonString ¶
func (r *DescribeQuotaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeQuotaResponse) ToJsonString ¶
func (r *DescribeQuotaResponse) ToJsonString() string
type DescribeQuotaResponseParams ¶
type DescribeQuotaResponseParams struct { // Quota list QuotaSet []*Quota `json:"QuotaSet,omitnil,omitempty" name:"QuotaSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourcesRequest ¶
type DescribeResourcesRequest struct { *tchttp.BaseRequest // Number of returned AZ resources. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Starting offset of the returned AZ resource list. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Filter to query the list of AZ resources as detailed below: // <li> `zone` - String - Optional - Filter by AZ, such as "ap-guangzhou-1".</li> // <li> `isp` -- String - Optional - Filter by the ISP. Values: `BGP`, `CMCC`, `CUCC` and `CTCC`.</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeResourcesRequest ¶
func NewDescribeResourcesRequest() (request *DescribeResourcesRequest)
func (*DescribeResourcesRequest) FromJsonString ¶
func (r *DescribeResourcesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesRequest) ToJsonString ¶
func (r *DescribeResourcesRequest) ToJsonString() string
type DescribeResourcesRequestParams ¶
type DescribeResourcesRequestParams struct { // Number of returned AZ resources. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Starting offset of the returned AZ resource list. Default value: 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Filter to query the list of AZ resources as detailed below: // <li> `zone` - String - Optional - Filter by AZ, such as "ap-guangzhou-1".</li> // <li> `isp` -- String - Optional - Filter by the ISP. Values: `BGP`, `CMCC`, `CUCC` and `CTCC`.</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeResourcesResponse ¶
type DescribeResourcesResponse struct { *tchttp.BaseResponse Response *DescribeResourcesResponseParams `json:"Response"` }
func NewDescribeResourcesResponse ¶
func NewDescribeResourcesResponse() (response *DescribeResourcesResponse)
func (*DescribeResourcesResponse) FromJsonString ¶
func (r *DescribeResourcesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesResponse) ToJsonString ¶
func (r *DescribeResourcesResponse) ToJsonString() string
type DescribeResourcesResponseParams ¶
type DescribeResourcesResponseParams struct { // List of resources supported by the AZ ZoneResourceSet []*ZoneResource `json:"ZoneResourceSet,omitnil,omitempty" name:"ZoneResourceSet"` // Number of entries in the AZ resource list. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRewriteRequest ¶
type DescribeRewriteRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Array of CLB listener IDs SourceListenerIds []*string `json:"SourceListenerIds,omitnil,omitempty" name:"SourceListenerIds"` // Array of CLB forwarding rule IDs SourceLocationIds []*string `json:"SourceLocationIds,omitnil,omitempty" name:"SourceLocationIds"` }
func NewDescribeRewriteRequest ¶
func NewDescribeRewriteRequest() (request *DescribeRewriteRequest)
func (*DescribeRewriteRequest) FromJsonString ¶
func (r *DescribeRewriteRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRewriteRequest) ToJsonString ¶
func (r *DescribeRewriteRequest) ToJsonString() string
type DescribeRewriteRequestParams ¶
type DescribeRewriteRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Array of CLB listener IDs SourceListenerIds []*string `json:"SourceListenerIds,omitnil,omitempty" name:"SourceListenerIds"` // Array of CLB forwarding rule IDs SourceLocationIds []*string `json:"SourceLocationIds,omitnil,omitempty" name:"SourceLocationIds"` }
Predefined struct for user
type DescribeRewriteResponse ¶
type DescribeRewriteResponse struct { *tchttp.BaseResponse Response *DescribeRewriteResponseParams `json:"Response"` }
func NewDescribeRewriteResponse ¶
func NewDescribeRewriteResponse() (response *DescribeRewriteResponse)
func (*DescribeRewriteResponse) FromJsonString ¶
func (r *DescribeRewriteResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRewriteResponse) ToJsonString ¶
func (r *DescribeRewriteResponse) ToJsonString() string
type DescribeRewriteResponseParams ¶
type DescribeRewriteResponseParams struct { // Array of redirection forwarding rules. If there are no redirection rules, an empty array will be returned. RewriteSet []*RuleOutput `json:"RewriteSet,omitnil,omitempty" name:"RewriteSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTargetGroupInstancesRequest ¶
type DescribeTargetGroupInstancesRequest struct { *tchttp.BaseRequest // Filter. Currently, only filtering by `TargetGroupId`, `BindIP`, or `InstanceId` is supported. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Number of displayed results. Default value: 20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Display offset. Default value: 0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeTargetGroupInstancesRequest ¶
func NewDescribeTargetGroupInstancesRequest() (request *DescribeTargetGroupInstancesRequest)
func (*DescribeTargetGroupInstancesRequest) FromJsonString ¶
func (r *DescribeTargetGroupInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetGroupInstancesRequest) ToJsonString ¶
func (r *DescribeTargetGroupInstancesRequest) ToJsonString() string
type DescribeTargetGroupInstancesRequestParams ¶
type DescribeTargetGroupInstancesRequestParams struct { // Filter. Currently, only filtering by `TargetGroupId`, `BindIP`, or `InstanceId` is supported. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Number of displayed results. Default value: 20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Display offset. Default value: 0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeTargetGroupInstancesResponse ¶
type DescribeTargetGroupInstancesResponse struct { *tchttp.BaseResponse Response *DescribeTargetGroupInstancesResponseParams `json:"Response"` }
func NewDescribeTargetGroupInstancesResponse ¶
func NewDescribeTargetGroupInstancesResponse() (response *DescribeTargetGroupInstancesResponse)
func (*DescribeTargetGroupInstancesResponse) FromJsonString ¶
func (r *DescribeTargetGroupInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetGroupInstancesResponse) ToJsonString ¶
func (r *DescribeTargetGroupInstancesResponse) ToJsonString() string
type DescribeTargetGroupInstancesResponseParams ¶
type DescribeTargetGroupInstancesResponseParams struct { // Number of results returned for the current query TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Information of the bound server TargetGroupInstanceSet []*TargetGroupBackend `json:"TargetGroupInstanceSet,omitnil,omitempty" name:"TargetGroupInstanceSet"` // The actual total number of bound instances, which is not affected by the setting of `Limit`, `Offset` and the CAM permissions. RealCount *uint64 `json:"RealCount,omitnil,omitempty" name:"RealCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTargetGroupListRequest ¶
type DescribeTargetGroupListRequest struct { *tchttp.BaseRequest // Target group ID array TargetGroupIds []*string `json:"TargetGroupIds,omitnil,omitempty" name:"TargetGroupIds"` // Filter array, which is exclusive of `TargetGroupIds`. Valid values: `TargetGroupVpcId` and `TargetGroupName`. Target group ID will be used first. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Starting display offset Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Limit of the number of displayed results. Default value: 20. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeTargetGroupListRequest ¶
func NewDescribeTargetGroupListRequest() (request *DescribeTargetGroupListRequest)
func (*DescribeTargetGroupListRequest) FromJsonString ¶
func (r *DescribeTargetGroupListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetGroupListRequest) ToJsonString ¶
func (r *DescribeTargetGroupListRequest) ToJsonString() string
type DescribeTargetGroupListRequestParams ¶
type DescribeTargetGroupListRequestParams struct { // Target group ID array TargetGroupIds []*string `json:"TargetGroupIds,omitnil,omitempty" name:"TargetGroupIds"` // Filter array, which is exclusive of `TargetGroupIds`. Valid values: `TargetGroupVpcId` and `TargetGroupName`. Target group ID will be used first. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Starting display offset Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Limit of the number of displayed results. Default value: 20. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeTargetGroupListResponse ¶
type DescribeTargetGroupListResponse struct { *tchttp.BaseResponse Response *DescribeTargetGroupListResponseParams `json:"Response"` }
func NewDescribeTargetGroupListResponse ¶
func NewDescribeTargetGroupListResponse() (response *DescribeTargetGroupListResponse)
func (*DescribeTargetGroupListResponse) FromJsonString ¶
func (r *DescribeTargetGroupListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetGroupListResponse) ToJsonString ¶
func (r *DescribeTargetGroupListResponse) ToJsonString() string
type DescribeTargetGroupListResponseParams ¶
type DescribeTargetGroupListResponseParams struct { // Number of displayed results TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Information set of displayed target groups TargetGroupSet []*TargetGroupInfo `json:"TargetGroupSet,omitnil,omitempty" name:"TargetGroupSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTargetGroupsRequest ¶
type DescribeTargetGroupsRequest struct { *tchttp.BaseRequest // Target group ID, which is exclusive of `Filters`. TargetGroupIds []*string `json:"TargetGroupIds,omitnil,omitempty" name:"TargetGroupIds"` // Limit of the number of displayed results. Default value: 20. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Starting display offset Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Filter array, which is exclusive of `TargetGroupIds`. Valid values: `TargetGroupVpcId` and `TargetGroupName`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeTargetGroupsRequest ¶
func NewDescribeTargetGroupsRequest() (request *DescribeTargetGroupsRequest)
func (*DescribeTargetGroupsRequest) FromJsonString ¶
func (r *DescribeTargetGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetGroupsRequest) ToJsonString ¶
func (r *DescribeTargetGroupsRequest) ToJsonString() string
type DescribeTargetGroupsRequestParams ¶
type DescribeTargetGroupsRequestParams struct { // Target group ID, which is exclusive of `Filters`. TargetGroupIds []*string `json:"TargetGroupIds,omitnil,omitempty" name:"TargetGroupIds"` // Limit of the number of displayed results. Default value: 20. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Starting display offset Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Filter array, which is exclusive of `TargetGroupIds`. Valid values: `TargetGroupVpcId` and `TargetGroupName`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeTargetGroupsResponse ¶
type DescribeTargetGroupsResponse struct { *tchttp.BaseResponse Response *DescribeTargetGroupsResponseParams `json:"Response"` }
func NewDescribeTargetGroupsResponse ¶
func NewDescribeTargetGroupsResponse() (response *DescribeTargetGroupsResponse)
func (*DescribeTargetGroupsResponse) FromJsonString ¶
func (r *DescribeTargetGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetGroupsResponse) ToJsonString ¶
func (r *DescribeTargetGroupsResponse) ToJsonString() string
type DescribeTargetGroupsResponseParams ¶
type DescribeTargetGroupsResponseParams struct { // Number of displayed results TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Information set of displayed target groups TargetGroupSet []*TargetGroupInfo `json:"TargetGroupSet,omitnil,omitempty" name:"TargetGroupSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTargetHealthRequest ¶
type DescribeTargetHealthRequest struct { *tchttp.BaseRequest // List of IDs of CLB instances to be queried LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` }
func NewDescribeTargetHealthRequest ¶
func NewDescribeTargetHealthRequest() (request *DescribeTargetHealthRequest)
func (*DescribeTargetHealthRequest) FromJsonString ¶
func (r *DescribeTargetHealthRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetHealthRequest) ToJsonString ¶
func (r *DescribeTargetHealthRequest) ToJsonString() string
type DescribeTargetHealthRequestParams ¶
type DescribeTargetHealthRequestParams struct { // List of IDs of CLB instances to be queried LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` }
Predefined struct for user
type DescribeTargetHealthResponse ¶
type DescribeTargetHealthResponse struct { *tchttp.BaseResponse Response *DescribeTargetHealthResponseParams `json:"Response"` }
func NewDescribeTargetHealthResponse ¶
func NewDescribeTargetHealthResponse() (response *DescribeTargetHealthResponse)
func (*DescribeTargetHealthResponse) FromJsonString ¶
func (r *DescribeTargetHealthResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetHealthResponse) ToJsonString ¶
func (r *DescribeTargetHealthResponse) ToJsonString() string
type DescribeTargetHealthResponseParams ¶
type DescribeTargetHealthResponseParams struct { // CLB instance list // Note: This field may return `null`, indicating that no valid values can be obtained. LoadBalancers []*LoadBalancerHealth `json:"LoadBalancers,omitnil,omitempty" name:"LoadBalancers"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTargetsRequest ¶
type DescribeTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // List of listener IDs (20 IDs at most). ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // Listener protocol type Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Listener port Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Query the list of backend services associated with a load balancer // <li> `location-id` - String - Optional - Rule ID, such as "loc-12345678".</li> // <li> `private-ip-address` - String - Optional - Backend service private IP, such as `172.16.1.1`</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeTargetsRequest ¶
func NewDescribeTargetsRequest() (request *DescribeTargetsRequest)
func (*DescribeTargetsRequest) FromJsonString ¶
func (r *DescribeTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetsRequest) ToJsonString ¶
func (r *DescribeTargetsRequest) ToJsonString() string
type DescribeTargetsRequestParams ¶
type DescribeTargetsRequestParams struct { // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // List of listener IDs (20 IDs at most). ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // Listener protocol type Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Listener port Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Query the list of backend services associated with a load balancer // <li> `location-id` - String - Optional - Rule ID, such as "loc-12345678".</li> // <li> `private-ip-address` - String - Optional - Backend service private IP, such as `172.16.1.1`</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeTargetsResponse ¶
type DescribeTargetsResponse struct { *tchttp.BaseResponse Response *DescribeTargetsResponseParams `json:"Response"` }
func NewDescribeTargetsResponse ¶
func NewDescribeTargetsResponse() (response *DescribeTargetsResponse)
func (*DescribeTargetsResponse) FromJsonString ¶
func (r *DescribeTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetsResponse) ToJsonString ¶
func (r *DescribeTargetsResponse) ToJsonString() string
type DescribeTargetsResponseParams ¶
type DescribeTargetsResponseParams struct { // Information of real servers bound to the listener // Note: This field may return `null`, indicating that no valid values can be obtained. Listeners []*ListenerBackend `json:"Listeners,omitnil,omitempty" name:"Listeners"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTaskStatusRequest ¶
type DescribeTaskStatusRequest struct { *tchttp.BaseRequest // Request ID, i.e., the RequestId parameter returned by the API. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Order ID. // Note: Either `TaskId` or `DealName` is required. DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` }
func NewDescribeTaskStatusRequest ¶
func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)
func (*DescribeTaskStatusRequest) FromJsonString ¶
func (r *DescribeTaskStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskStatusRequest) ToJsonString ¶
func (r *DescribeTaskStatusRequest) ToJsonString() string
type DescribeTaskStatusRequestParams ¶
type DescribeTaskStatusRequestParams struct { // Request ID, i.e., the RequestId parameter returned by the API. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Order ID. // Note: Either `TaskId` or `DealName` is required. DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` }
Predefined struct for user
type DescribeTaskStatusResponse ¶
type DescribeTaskStatusResponse struct { *tchttp.BaseResponse Response *DescribeTaskStatusResponseParams `json:"Response"` }
func NewDescribeTaskStatusResponse ¶
func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)
func (*DescribeTaskStatusResponse) FromJsonString ¶
func (r *DescribeTaskStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskStatusResponse) ToJsonString ¶
func (r *DescribeTaskStatusResponse) ToJsonString() string
type DescribeTaskStatusResponseParams ¶
type DescribeTaskStatusResponseParams struct { // Current status of a task. Value range: 0 (succeeded), 1 (failed), 2 (in progress). Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Array of unique CLB instance IDs. // Note: this field may return `null`, indicating that no valid values can be obtained. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DisassociateTargetGroupsRequest ¶
type DisassociateTargetGroupsRequest struct { *tchttp.BaseRequest // Array of rules to be unbound Associations []*TargetGroupAssociation `json:"Associations,omitnil,omitempty" name:"Associations"` }
func NewDisassociateTargetGroupsRequest ¶
func NewDisassociateTargetGroupsRequest() (request *DisassociateTargetGroupsRequest)
func (*DisassociateTargetGroupsRequest) FromJsonString ¶
func (r *DisassociateTargetGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateTargetGroupsRequest) ToJsonString ¶
func (r *DisassociateTargetGroupsRequest) ToJsonString() string
type DisassociateTargetGroupsRequestParams ¶
type DisassociateTargetGroupsRequestParams struct { // Array of rules to be unbound Associations []*TargetGroupAssociation `json:"Associations,omitnil,omitempty" name:"Associations"` }
Predefined struct for user
type DisassociateTargetGroupsResponse ¶
type DisassociateTargetGroupsResponse struct { *tchttp.BaseResponse Response *DisassociateTargetGroupsResponseParams `json:"Response"` }
func NewDisassociateTargetGroupsResponse ¶
func NewDisassociateTargetGroupsResponse() (response *DisassociateTargetGroupsResponse)
func (*DisassociateTargetGroupsResponse) FromJsonString ¶
func (r *DisassociateTargetGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateTargetGroupsResponse) ToJsonString ¶
func (r *DisassociateTargetGroupsResponse) ToJsonString() string
type DisassociateTargetGroupsResponseParams ¶
type DisassociateTargetGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ExclusiveCluster ¶
type ExclusiveCluster struct { // Layer-4 dedicated cluster list // Note: this field may return null, indicating that no valid values can be obtained. L4Clusters []*ClusterItem `json:"L4Clusters,omitnil,omitempty" name:"L4Clusters"` // Layer-7 dedicated cluster list // Note: this field may return null, indicating that no valid values can be obtained. L7Clusters []*ClusterItem `json:"L7Clusters,omitnil,omitempty" name:"L7Clusters"` // vpcgw cluster // Note: this field may return null, indicating that no valid values can be obtained. ClassicalCluster *ClusterItem `json:"ClassicalCluster,omitnil,omitempty" name:"ClassicalCluster"` }
type ExtraInfo ¶
type ExtraInfo struct { // Whether to enable VIP direct connection // Note: This field may return null, indicating that no valid values can be obtained. ZhiTong *bool `json:"ZhiTong,omitnil,omitempty" name:"ZhiTong"` // TgwGroup name // Note: This field may return null, indicating that no valid values can be obtained. TgwGroupName *string `json:"TgwGroupName,omitnil,omitempty" name:"TgwGroupName"` }
type FunctionInfo ¶
type FunctionInfo struct { // Function namespace FunctionNamespace *string `json:"FunctionNamespace,omitnil,omitempty" name:"FunctionNamespace"` // Function name FunctionName *string `json:"FunctionName,omitnil,omitempty" name:"FunctionName"` // Function version name or alias FunctionQualifier *string `json:"FunctionQualifier,omitnil,omitempty" name:"FunctionQualifier"` // Function qualifier type. Values: `VERSION`, `ALIAS`. // Note: This field may return `null`, indicating that no valid values can be obtained. FunctionQualifierType *string `json:"FunctionQualifierType,omitnil,omitempty" name:"FunctionQualifierType"` }
type FunctionTarget ¶
type FunctionTarget struct { // SCF related information // Note: This field may return `null`, indicating that no valid values can be obtained. Function *FunctionInfo `json:"Function,omitnil,omitempty" name:"Function"` // Weight Weight *uint64 `json:"Weight,omitnil,omitempty" name:"Weight"` }
type HealthCheck ¶
type HealthCheck struct { // Whether to enable health check. 1: enable; 0: disable. HealthSwitch *int64 `json:"HealthSwitch,omitnil,omitempty" name:"HealthSwitch"` // Health check response timeout period in seconds (applicable only to layer-4 listeners). Value range: 2-60. Default value: 2. This parameter should be less than the check interval. // Note: This field may return null, indicating that no valid values can be obtained. TimeOut *int64 `json:"TimeOut,omitnil,omitempty" name:"TimeOut"` // Health check probing interval period. It defaults to `5`. For IPv4 CLB instances, the range is 2-300. For IPv6 CLB instances, the range is 5-300. Unit: second // Note: For some IPv4 CLB instances created long ago, the range is 5-300. // Note: This field may return null, indicating that no valid values can be obtained. IntervalTime *int64 `json:"IntervalTime,omitnil,omitempty" name:"IntervalTime"` // Health threshold. Default value: 3, indicating that if a forward is found healthy three consecutive times, it is considered to be normal. Value range: 2-10 // Note: This field may return null, indicating that no valid values can be obtained. HealthNum *int64 `json:"HealthNum,omitnil,omitempty" name:"HealthNum"` // Unhealthy threshold. Default value: 3, indicating that if a forward is found unhealthy three consecutive times, it is considered to be exceptional. Value range: 2-10 // Note: This field may return null, indicating that no valid values can be obtained. UnHealthNum *int64 `json:"UnHealthNum,omitnil,omitempty" name:"UnHealthNum"` // Health check status code (applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners). Value range: 1-31. Default value: 31. // `1`: Returns code 1xx for healthy status. `2`: Returns code 2xx for healthy status. `4`: Returns code 3xx for healthy status. `8`: Returns code 4xx for healthy status. `16`: Returns code 5xx for healthy status. If you want multiple return codes to represent healthy, sum up the corresponding values. // Note: This field may return `null`, indicating that no valid values can be obtained. HttpCode *int64 `json:"HttpCode,omitnil,omitempty" name:"HttpCode"` // Health check path (applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners). // Note: This field may return null, indicating that no valid values can be obtained. HttpCheckPath *string `json:"HttpCheckPath,omitnil,omitempty" name:"HttpCheckPath"` // Health check domain name. It’s applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners. It’s required for HTTP health check of TCP listeners. // Note: This field may return·null, indicating that no valid values can be obtained. HttpCheckDomain *string `json:"HttpCheckDomain,omitnil,omitempty" name:"HttpCheckDomain"` // Health check method (applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners). Value range: HEAD, GET. Default value: HEAD. // Note: This field may return null, indicating that no valid values can be obtained. HttpCheckMethod *string `json:"HttpCheckMethod,omitnil,omitempty" name:"HttpCheckMethod"` // Health check port (a custom check parameter), which is the port of the real server by default. Unless you want to specify a port, it is recommended to leave it empty. (Applicable only to TCP/UDP listeners.) // Note: This field may return null, indicating that no valid values can be obtained. CheckPort *int64 `json:"CheckPort,omitnil,omitempty" name:"CheckPort"` // Health check protocol (a custom check parameter), which is required if the value of CheckType is CUSTOM. This parameter represents the input format of the health check. Value range: HEX, TEXT. If the value is HEX, the characters of SendContext and RecvContext can only be selected from 0123456789ABCDEF and the length must be an even number. (Applicable only to TCP/UDP listeners.) // Note: This field may return null, indicating that no valid values can be obtained. ContextType *string `json:"ContextType,omitnil,omitempty" name:"ContextType"` // Health check protocol (a custom check parameter), which is required if the value of CheckType is CUSTOM. This parameter represents the content of the request sent by the health check. Only ASCII visible characters are allowed, and the maximum length is 500. (Applicable only to TCP/UDP listeners.) // Note: This field may return null, indicating that no valid values can be obtained. SendContext *string `json:"SendContext,omitnil,omitempty" name:"SendContext"` // Health check protocol (a custom check parameter), which is required if the value of CheckType is CUSTOM. This parameter represents the result returned by the health check. Only ASCII visible characters are allowed, and the maximum length is 500. (Applicable only to TCP/UDP listeners.) // Note: This field may return null, indicating that no valid values can be obtained. RecvContext *string `json:"RecvContext,omitnil,omitempty" name:"RecvContext"` // u200dHealth check protocol. Values: `TCP`, `HTTP`, `HTTPS`, `GRPC`, `PING`, and `CUSTOM`. UDP listeners support `PING`/`CUSTOM`. TCP listener support `TCP`/`HTTP`/`CUSTOM`. TCP_SSL and QUIC listeners support `TCP`/`HTTP`. HTTP rules support `HTTP`/`GRPC. HTTPS rules support `HTTP`/`HTTPS`/`GRPC`. // Note: u200dThis field may return null, indicating that no valid values can be obtained. CheckType *string `json:"CheckType,omitnil,omitempty" name:"CheckType"` // HTTP version. HTTP version of the backend service. Values: `HTTP/1.0`, HTTP/1.1`. It is only applicable to TCP listeners, and is required when `CheckType`=`HTTP`. // Note: u200dThis field may return null, indicating that no valid values can be obtained. HttpVersion *string `json:"HttpVersion,omitnil,omitempty" name:"HttpVersion"` // Specifies the type of health check source IP. `0` (default): CLB VIP. `1`: 100.64 IP range. // Note: u200dThis field may return null, indicating that no valid values can be obtained. SourceIpType *int64 `json:"SourceIpType,omitnil,omitempty" name:"SourceIpType"` // GRPC health check status code, which is only applicable to rules with GRPC as the backend forwarding protocol. It can be a single number (such as `20`), multiple numbers (such as `20,25`) or a range (such as `0-99`). The default value is `12`. // Note: This field may return `null`, indicating that no valid values can be obtained. ExtendedCode *string `json:"ExtendedCode,omitnil,omitempty" name:"ExtendedCode"` }
type IdleLoadBalancer ¶
type IdleLoadBalancer struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // CLB instance region Region *string `json:"Region,omitnil,omitempty" name:"Region"` // CLB instance VIP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // The reason why the load balancer is considered idle. `NO_RULES`: No rules configured. `NO_RS`: The rules are not associated with servers. IdleReason *string `json:"IdleReason,omitnil,omitempty" name:"IdleReason"` // CLB instance status, including: // `0`: Creating; `1`: Running. Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // CLB type. Value range: `1` (CLB); `0` (classic CLB). Forward *uint64 `json:"Forward,omitnil,omitempty" name:"Forward"` // The load balancing hostname. // Note: This field may return `null`, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` }
type InquiryPriceCreateLoadBalancerRequest ¶
type InquiryPriceCreateLoadBalancerRequest struct { *tchttp.BaseRequest // Network type of the CLB to query. `OPEN`: Public network; `INTERNAL`: Private network is intranet type LoadBalancerType *string `json:"LoadBalancerType,omitnil,omitempty" name:"LoadBalancerType"` // The billing mode to query. `POSTPAID`:Pay as you go LoadBalancerChargeType *string `json:"LoadBalancerChargeType,omitnil,omitempty" name:"LoadBalancerChargeType"` // Reserved field LoadBalancerChargePrepaid *LBChargePrepaid `json:"LoadBalancerChargePrepaid,omitnil,omitempty" name:"LoadBalancerChargePrepaid"` // The network billing mode to query InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil,omitempty" name:"InternetAccessible"` // Number of CLB instances to query. Default value: 1. GoodsNum *uint64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"` // Availability zone in the format of "ap-guangzhou-1" ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // To query the price of monthly subscribed LCU-supported instances, specify the instance specification in this parameter, such as `clb.c3.small`. For PAYG instances, use `SLA`. SlaType *string `json:"SlaType,omitnil,omitempty" name:"SlaType"` // IP version. Valid values: `IPV4` (default), `IPV6` (IPV6 NAT64 version) or `IPv6FullChain` (IPv6 version). AddressIPVersion *string `json:"AddressIPVersion,omitnil,omitempty" name:"AddressIPVersion"` // ISP of VIP. Values: `CMCC` (China Mobile), `CUCC` (China Unicom) and `CTCC` (China Telecom). You need to activate static single-line IPs. This feature is in beta and is only available in Guangzhou, Shanghai, Nanjing, Jinan, Hangzhou, Fuzhou, Beijing, Shijiazhuang, Wuhan, Changsha, Chengdu and Chongqing regions. To try it out, please contact your sales rep. If it's specified, the network billing mode must be `BANDWIDTH_PACKAGE`. If it's not specified, BGP is used by default. To query ISPs supported in a region, please use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). VipIsp *string `json:"VipIsp,omitnil,omitempty" name:"VipIsp"` }
func NewInquiryPriceCreateLoadBalancerRequest ¶
func NewInquiryPriceCreateLoadBalancerRequest() (request *InquiryPriceCreateLoadBalancerRequest)
func (*InquiryPriceCreateLoadBalancerRequest) FromJsonString ¶
func (r *InquiryPriceCreateLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceCreateLoadBalancerRequest) ToJsonString ¶
func (r *InquiryPriceCreateLoadBalancerRequest) ToJsonString() string
type InquiryPriceCreateLoadBalancerRequestParams ¶
type InquiryPriceCreateLoadBalancerRequestParams struct { // Network type of the CLB to query. `OPEN`: Public network; `INTERNAL`: Private network is intranet type LoadBalancerType *string `json:"LoadBalancerType,omitnil,omitempty" name:"LoadBalancerType"` // The billing mode to query. `POSTPAID`:Pay as you go LoadBalancerChargeType *string `json:"LoadBalancerChargeType,omitnil,omitempty" name:"LoadBalancerChargeType"` // Reserved field LoadBalancerChargePrepaid *LBChargePrepaid `json:"LoadBalancerChargePrepaid,omitnil,omitempty" name:"LoadBalancerChargePrepaid"` // The network billing mode to query InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil,omitempty" name:"InternetAccessible"` // Number of CLB instances to query. Default value: 1. GoodsNum *uint64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"` // Availability zone in the format of "ap-guangzhou-1" ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // To query the price of monthly subscribed LCU-supported instances, specify the instance specification in this parameter, such as `clb.c3.small`. For PAYG instances, use `SLA`. SlaType *string `json:"SlaType,omitnil,omitempty" name:"SlaType"` // IP version. Valid values: `IPV4` (default), `IPV6` (IPV6 NAT64 version) or `IPv6FullChain` (IPv6 version). AddressIPVersion *string `json:"AddressIPVersion,omitnil,omitempty" name:"AddressIPVersion"` // ISP of VIP. Values: `CMCC` (China Mobile), `CUCC` (China Unicom) and `CTCC` (China Telecom). You need to activate static single-line IPs. This feature is in beta and is only available in Guangzhou, Shanghai, Nanjing, Jinan, Hangzhou, Fuzhou, Beijing, Shijiazhuang, Wuhan, Changsha, Chengdu and Chongqing regions. To try it out, please contact your sales rep. If it's specified, the network billing mode must be `BANDWIDTH_PACKAGE`. If it's not specified, BGP is used by default. To query ISPs supported in a region, please use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). VipIsp *string `json:"VipIsp,omitnil,omitempty" name:"VipIsp"` }
Predefined struct for user
type InquiryPriceCreateLoadBalancerResponse ¶
type InquiryPriceCreateLoadBalancerResponse struct { *tchttp.BaseResponse Response *InquiryPriceCreateLoadBalancerResponseParams `json:"Response"` }
func NewInquiryPriceCreateLoadBalancerResponse ¶
func NewInquiryPriceCreateLoadBalancerResponse() (response *InquiryPriceCreateLoadBalancerResponse)
func (*InquiryPriceCreateLoadBalancerResponse) FromJsonString ¶
func (r *InquiryPriceCreateLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceCreateLoadBalancerResponse) ToJsonString ¶
func (r *InquiryPriceCreateLoadBalancerResponse) ToJsonString() string
type InquiryPriceCreateLoadBalancerResponseParams ¶
type InquiryPriceCreateLoadBalancerResponseParams struct { // Price of the instance with the specified configurations. Price *Price `json:"Price,omitnil,omitempty" name:"Price"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquiryPriceModifyLoadBalancerRequest ¶
type InquiryPriceModifyLoadBalancerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // New bandwidth bandwidth specification InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil,omitempty" name:"InternetAccessible"` }
func NewInquiryPriceModifyLoadBalancerRequest ¶
func NewInquiryPriceModifyLoadBalancerRequest() (request *InquiryPriceModifyLoadBalancerRequest)
func (*InquiryPriceModifyLoadBalancerRequest) FromJsonString ¶
func (r *InquiryPriceModifyLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceModifyLoadBalancerRequest) ToJsonString ¶
func (r *InquiryPriceModifyLoadBalancerRequest) ToJsonString() string
type InquiryPriceModifyLoadBalancerRequestParams ¶
type InquiryPriceModifyLoadBalancerRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // New bandwidth bandwidth specification InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil,omitempty" name:"InternetAccessible"` }
Predefined struct for user
type InquiryPriceModifyLoadBalancerResponse ¶
type InquiryPriceModifyLoadBalancerResponse struct { *tchttp.BaseResponse Response *InquiryPriceModifyLoadBalancerResponseParams `json:"Response"` }
func NewInquiryPriceModifyLoadBalancerResponse ¶
func NewInquiryPriceModifyLoadBalancerResponse() (response *InquiryPriceModifyLoadBalancerResponse)
func (*InquiryPriceModifyLoadBalancerResponse) FromJsonString ¶
func (r *InquiryPriceModifyLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceModifyLoadBalancerResponse) ToJsonString ¶
func (r *InquiryPriceModifyLoadBalancerResponse) ToJsonString() string
type InquiryPriceModifyLoadBalancerResponseParams ¶
type InquiryPriceModifyLoadBalancerResponseParams struct { // Pricing information Price *Price `json:"Price,omitnil,omitempty" name:"Price"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquiryPriceRefundLoadBalancerRequest ¶
type InquiryPriceRefundLoadBalancerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` }
func NewInquiryPriceRefundLoadBalancerRequest ¶
func NewInquiryPriceRefundLoadBalancerRequest() (request *InquiryPriceRefundLoadBalancerRequest)
func (*InquiryPriceRefundLoadBalancerRequest) FromJsonString ¶
func (r *InquiryPriceRefundLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceRefundLoadBalancerRequest) ToJsonString ¶
func (r *InquiryPriceRefundLoadBalancerRequest) ToJsonString() string
type InquiryPriceRefundLoadBalancerRequestParams ¶
type InquiryPriceRefundLoadBalancerRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` }
Predefined struct for user
type InquiryPriceRefundLoadBalancerResponse ¶
type InquiryPriceRefundLoadBalancerResponse struct { *tchttp.BaseResponse Response *InquiryPriceRefundLoadBalancerResponseParams `json:"Response"` }
func NewInquiryPriceRefundLoadBalancerResponse ¶
func NewInquiryPriceRefundLoadBalancerResponse() (response *InquiryPriceRefundLoadBalancerResponse)
func (*InquiryPriceRefundLoadBalancerResponse) FromJsonString ¶
func (r *InquiryPriceRefundLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceRefundLoadBalancerResponse) ToJsonString ¶
func (r *InquiryPriceRefundLoadBalancerResponse) ToJsonString() string
type InquiryPriceRefundLoadBalancerResponseParams ¶
type InquiryPriceRefundLoadBalancerResponseParams struct { // Price of the instance with the specified configurations. Price *Price `json:"Price,omitnil,omitempty" name:"Price"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquiryPriceRenewLoadBalancerRequest ¶
type InquiryPriceRenewLoadBalancerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Renewal period LoadBalancerChargePrepaid *LBChargePrepaid `json:"LoadBalancerChargePrepaid,omitnil,omitempty" name:"LoadBalancerChargePrepaid"` }
func NewInquiryPriceRenewLoadBalancerRequest ¶
func NewInquiryPriceRenewLoadBalancerRequest() (request *InquiryPriceRenewLoadBalancerRequest)
func (*InquiryPriceRenewLoadBalancerRequest) FromJsonString ¶
func (r *InquiryPriceRenewLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceRenewLoadBalancerRequest) ToJsonString ¶
func (r *InquiryPriceRenewLoadBalancerRequest) ToJsonString() string
type InquiryPriceRenewLoadBalancerRequestParams ¶
type InquiryPriceRenewLoadBalancerRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Renewal period LoadBalancerChargePrepaid *LBChargePrepaid `json:"LoadBalancerChargePrepaid,omitnil,omitempty" name:"LoadBalancerChargePrepaid"` }
Predefined struct for user
type InquiryPriceRenewLoadBalancerResponse ¶
type InquiryPriceRenewLoadBalancerResponse struct { *tchttp.BaseResponse Response *InquiryPriceRenewLoadBalancerResponseParams `json:"Response"` }
func NewInquiryPriceRenewLoadBalancerResponse ¶
func NewInquiryPriceRenewLoadBalancerResponse() (response *InquiryPriceRenewLoadBalancerResponse)
func (*InquiryPriceRenewLoadBalancerResponse) FromJsonString ¶
func (r *InquiryPriceRenewLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceRenewLoadBalancerResponse) ToJsonString ¶
func (r *InquiryPriceRenewLoadBalancerResponse) ToJsonString() string
type InquiryPriceRenewLoadBalancerResponseParams ¶
type InquiryPriceRenewLoadBalancerResponseParams struct { // Price to renew Price *Price `json:"Price,omitnil,omitempty" name:"Price"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InternetAccessible ¶
type InternetAccessible struct { // TRAFFIC_POSTPAID_BY_HOUR: hourly pay-as-you-go by traffic; BANDWIDTH_POSTPAID_BY_HOUR: hourly pay-as-you-go by bandwidth; // BANDWIDTH_PACKAGE: billed by bandwidth package (currently, this method is supported only if the ISP is specified) InternetChargeType *string `json:"InternetChargeType,omitnil,omitempty" name:"InternetChargeType"` // Maximum outgoing bandwidth in Mbps. It works on LCU-supported instances on private networks and all instances on public networks. // - For shared and dedicated CLB instances on public networks, the range is 1Mbps-2048Mbps. // - For all LCU-supported CLB instances: // - It defaults to General LCU-supported instance. SLA corresponds to Super Large 1, and the range of maximum outgoing bandwidth is 1 Mbps - 10240 Mbps. // - If you have enabled Super Large specification, the range of maximum outgoing bandwidth is 1 Mbps - 61440 Mbps Super Large LCU-supported specification is in beta now. To join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category). // Note: This field may return null, indicating that no valid values can be obtained. InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"` // Bandwidth package type, such as SINGLEISP // Note: This field may return null, indicating that no valid values can be obtained. BandwidthpkgSubType *string `json:"BandwidthpkgSubType,omitnil,omitempty" name:"BandwidthpkgSubType"` }
type ItemPrice ¶
type ItemPrice struct { // PAYG unit price, in USD. // Note: This field may return·null, indicating that no valid values can be obtained. UnitPrice *float64 `json:"UnitPrice,omitnil,omitempty" name:"UnitPrice"` // Subsequent billing unit. Value Range: // `HOUR`: Calculate the cost by hour. It's available when "InternetChargeType=POSTPAID_BY_HOUR". // `GB`: Calculate the cost by traffic in GB. It's available when "InternetChargeType=TRAFFIC_POSTPAID_BY_HOUR". // Note: This field may return·null, indicating that no valid values can be obtained. ChargeUnit *string `json:"ChargeUnit,omitnil,omitempty" name:"ChargeUnit"` // Reserved field // Note: This field may return·null, indicating that no valid values can be obtained. OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"` // Reserved field // Note: This field may return·null, indicating that no valid values can be obtained. DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"` // Discount unit price of a pay-as-you-go instance, in USD. // Note: This field may return·null, indicating that no valid values can be obtained. UnitPriceDiscount *float64 `json:"UnitPriceDiscount,omitnil,omitempty" name:"UnitPriceDiscount"` // Discount. For example, 20.0 indicates 80% off. // Note: This field may return·null, indicating that no valid values can be obtained. Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"` }
type LBChargePrepaid ¶
type LBChargePrepaid struct { // Renewal type. AUTO_RENEW: automatic renewal; MANUAL_RENEW: manual renewal // Note: This field may return null, indicating that no valid values can be obtained. RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // Cycle, indicating the number of months (reserved field) // Note: This field may return null, indicating that no valid values can be obtained. Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` }
type LBItem ¶
type LBItem struct { // String ID of the CLB instance. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // VIP of the CLB instance. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Listener rule. Listeners []*ListenerItem `json:"Listeners,omitnil,omitempty" name:"Listeners"` // Region of the CLB instance Region *string `json:"Region,omitnil,omitempty" name:"Region"` }
type LbRsTargets ¶
type LbRsTargets struct { // Private network IP type, which can be `cvm` or `eni`. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Private network IP of the real server. PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"` // Port bound to the real server. Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // VPC ID of the real server. // Note: this field may return `null`, indicating that no valid values can be obtained. VpcId *int64 `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Weight of the real server. // Note: this field may return `null`, indicating that no valid values can be obtained. Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"` }
type Listener ¶
type Listener struct { // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Listener protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Listener port Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Information of certificates bound to the listener // Note: This field may return null, indicating that no valid values can be obtained. Certificate *CertificateOutput `json:"Certificate,omitnil,omitempty" name:"Certificate"` // Health check information of the listener // Note: This field may return null, indicating that no valid values can be obtained. HealthCheck *HealthCheck `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // Request scheduling method // Note: This field may return null, indicating that no valid values can be obtained. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Session persistence time // Note: This field may return null, indicating that no valid values can be obtained. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil,omitempty" name:"SessionExpireTime"` // Whether to enable SNI. `1`: Enable; `0`: Do not enable. This parameter is only meaningful for HTTPS listeners. // Note: This field may return·null, indicating that no valid values can be obtained. SniSwitch *int64 `json:"SniSwitch,omitnil,omitempty" name:"SniSwitch"` // All forwarding rules under a listener (this parameter is meaningful only for HTTP/HTTPS listeners) // Note: This field may return null, indicating that no valid values can be obtained. Rules []*RuleOutput `json:"Rules,omitnil,omitempty" name:"Rules"` // Listener name // Note: This field may return null, indicating that no valid values can be obtained. ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // Listener creation time // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // End port of a port range // Note: This field may return null, indicating that no valid values can be obtained. EndPort *int64 `json:"EndPort,omitnil,omitempty" name:"EndPort"` // Real server type // Note: This field may return null, indicating that no valid values can be obtained. TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"` // Basic information of a bound target group. This field will be returned when a target group is bound to a listener. // Note: This field may return null, indicating that no valid values can be obtained. TargetGroup *BasicTargetGroupInfo `json:"TargetGroup,omitnil,omitempty" name:"TargetGroup"` // Session persistence type. Valid values: Normal: the default session persistence type; QUIC_CID: session persistence by QUIC connection ID. // Note: this field may return null, indicating that no valid values can be obtained. SessionType *string `json:"SessionType,omitnil,omitempty" name:"SessionType"` // Whether a persistent connection is enabled (1: enabled; 0: disabled). This parameter can only be configured in HTTP/HTTPS listeners. // Note: this field may return `null`, indicating that no valid values can be obtained. KeepaliveEnable *int64 `json:"KeepaliveEnable,omitnil,omitempty" name:"KeepaliveEnable"` // Only the NAT64 CLB TCP listeners are supported. // Note: this field may return `null`, indicating that no valid values can be obtained. Toa *bool `json:"Toa,omitnil,omitempty" name:"Toa"` // Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only. // Note: this field may return `null`, indicating that no valid values can be obtained. DeregisterTargetRst *bool `json:"DeregisterTargetRst,omitnil,omitempty" name:"DeregisterTargetRst"` // Attribute of listener // Note: This field may return `null`, indicating that no valid values can be obtained. AttrFlags []*string `json:"AttrFlags,omitnil,omitempty" name:"AttrFlags"` // List of bound target groups // Note: This field may return `null`, indicating that no valid values can be obtained. TargetGroupList []*BasicTargetGroupInfo `json:"TargetGroupList,omitnil,omitempty" name:"TargetGroupList"` // Maximum number of concurrent listener connections. If it’s set to `-1`, the listener speed is not limited. // Note: This field may return `null`, indicating that no valid values can be obtained. MaxConn *int64 `json:"MaxConn,omitnil,omitempty" name:"MaxConn"` // Maximum number of new listener connections. If it’s set to `-1`, the listener speed is not limited. // Note: This field may return `null`, indicating that no valid values can be obtained. MaxCps *int64 `json:"MaxCps,omitnil,omitempty" name:"MaxCps"` // Connection idle timeout period (in seconds). It’s only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. // Note: This field may return `null`, indicating that no valid values can be obtained. IdleConnectTimeout *int64 `json:"IdleConnectTimeout,omitnil,omitempty" name:"IdleConnectTimeout"` }
type ListenerBackend ¶
type ListenerBackend struct { // Listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Listener protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Listener port Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Information of rules under a listener (applicable only to HTTP/HTTPS listeners) // Note: This field may return null, indicating that no valid values can be obtained. Rules []*RuleTargets `json:"Rules,omitnil,omitempty" name:"Rules"` // List of real servers bound to a listener (applicable only to TCP/UDP/TCP_SSL listeners) // Note: This field may return null, indicating that no valid values can be obtained. Targets []*Backend `json:"Targets,omitnil,omitempty" name:"Targets"` // Ending port in port range if port range is supported; 0 if port range is not supported // Note: this field may return null, indicating that no valid values can be obtained. EndPort *int64 `json:"EndPort,omitnil,omitempty" name:"EndPort"` }
type ListenerHealth ¶
type ListenerHealth struct { // Listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Listener name // Note: This field may return null, indicating that no valid values can be obtained. ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // Listener protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Listener port Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // List of forwarding rules of the listener // Note: This field may return null, indicating that no valid values can be obtained. Rules []*RuleHealth `json:"Rules,omitnil,omitempty" name:"Rules"` }
type ListenerItem ¶
type ListenerItem struct { // Listener ID. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Listener protocol. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Listener port. Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Bound rule. // Note: this field may return `null`, indicating that no valid values can be obtained. Rules []*RulesItems `json:"Rules,omitnil,omitempty" name:"Rules"` // Object bound to the layer-4 listener. // Note: this field may return `null`, indicating that no valid values can be obtained. Targets []*LbRsTargets `json:"Targets,omitnil,omitempty" name:"Targets"` // End port of the listener. // Note: this field may return `null`, indicating that no valid values can be obtained. EndPort *int64 `json:"EndPort,omitnil,omitempty" name:"EndPort"` }
type LoadBalancer ¶
type LoadBalancer struct { // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // CLB instance network type: // OPEN: public network; INTERNAL: private network. LoadBalancerType *string `json:"LoadBalancerType,omitnil,omitempty" name:"LoadBalancerType"` // CLB type identifier. Value range: 1 (CLB); 0 (classic CLB). Forward *uint64 `json:"Forward,omitnil,omitempty" name:"Forward"` // Domain name of the CLB instance. It is only available for public classic CLBs. This parameter will be discontinued soon. Please use `LoadBalancerDomain` instead. // Note: This field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // List of VIPs of a CLB instance. // Note: This field may return null, indicating that no valid values can be obtained. LoadBalancerVips []*string `json:"LoadBalancerVips,omitnil,omitempty" name:"LoadBalancerVips"` // CLB instance status, including: // 0: creating; 1: running. // Note: This field may return null, indicating that no valid values can be obtained. Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // CLB instance creation time. // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Last status change time of a CLB instance. // Note: This field may return null, indicating that no valid values can be obtained. StatusTime *string `json:"StatusTime,omitnil,omitempty" name:"StatusTime"` // ID of the project to which a CLB instance belongs. 0: default project. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // VPC ID // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Protective CLB identifier. Value range: 1 (protective), 0 (non-protective). // Note: This field may return null, indicating that no valid values can be obtained. OpenBgp *uint64 `json:"OpenBgp,omitnil,omitempty" name:"OpenBgp"` // SNAT is enabled for all private network classic CLB created before December 2016. // Note: This field may return null, indicating that no valid values can be obtained. Snat *bool `json:"Snat,omitnil,omitempty" name:"Snat"` // 0: not isolated; 1: isolated. // Note: This field may return null, indicating that no valid values can be obtained. Isolation *uint64 `json:"Isolation,omitnil,omitempty" name:"Isolation"` // Log information. Only the public network CLB that have HTTP or HTTPS listeners can generate logs. // Note: This field may return null, indicating that no valid values can be obtained. Log *string `json:"Log,omitnil,omitempty" name:"Log"` // Subnet where a CLB instance resides (meaningful only for private network VPC CLB) // Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // CLB instance tag information // Note: This field may return null, indicating that no valid values can be obtained. Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` // Security group of a CLB instance // Note: This field may return null, indicating that no valid values can be obtained. SecureGroups []*string `json:"SecureGroups,omitnil,omitempty" name:"SecureGroups"` // Basic information of a backend server bound to a CLB instance // Note: This field may return null, indicating that no valid values can be obtained. TargetRegionInfo *TargetRegionInfo `json:"TargetRegionInfo,omitnil,omitempty" name:"TargetRegionInfo"` // Anycast CLB publishing region. For non-anycast CLB, this field returns an empty string. // Note: This field may return null, indicating that no valid values can be obtained. AnycastZone *string `json:"AnycastZone,omitnil,omitempty" name:"AnycastZone"` // IP version. Valid values: ipv4, ipv6 // Note: this field may return null, indicating that no valid values can be obtained. AddressIPVersion *string `json:"AddressIPVersion,omitnil,omitempty" name:"AddressIPVersion"` // VPC ID in a numeric form // Note: This field may return null, indicating that no valid values can be obtained. NumericalVpcId *uint64 `json:"NumericalVpcId,omitnil,omitempty" name:"NumericalVpcId"` // ISP to which a CLB IP address belongs // Note: This field may return null, indicating that no valid values can be obtained. VipIsp *string `json:"VipIsp,omitnil,omitempty" name:"VipIsp"` // Primary AZ // Note: This field may return null, indicating that no valid values can be obtained. MasterZone *ZoneInfo `json:"MasterZone,omitnil,omitempty" name:"MasterZone"` // Secondary AZ // Note: This field may return null, indicating that no valid values can be obtained. BackupZoneSet []*ZoneInfo `json:"BackupZoneSet,omitnil,omitempty" name:"BackupZoneSet"` // CLB instance isolation time // Note: This field may return null, indicating that no valid values can be obtained. IsolatedTime *string `json:"IsolatedTime,omitnil,omitempty" name:"IsolatedTime"` // CLB instance expiration time, which takes effect only for prepaid instances // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Billing mode of CLB instance. Valid values: PREPAID (monthly subscription), POSTPAID_BY_HOUR (pay as you go). // Note: this field may return `null`, indicating that no valid values can be obtained. ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // CLB instance network attributes // Note: This field may return null, indicating that no valid values can be obtained. NetworkAttributes *InternetAccessible `json:"NetworkAttributes,omitnil,omitempty" name:"NetworkAttributes"` // Prepaid billing attributes of a CLB instance // Note: This field may return null, indicating that no valid values can be obtained. PrepaidAttributes *LBChargePrepaid `json:"PrepaidAttributes,omitnil,omitempty" name:"PrepaidAttributes"` // Logset ID of CLB Log Service (CLS) // Note: This field may return null, indicating that no valid values can be obtained. LogSetId *string `json:"LogSetId,omitnil,omitempty" name:"LogSetId"` // Log topic ID of CLB Log Service (CLS) // Note: This field may return null, indicating that no valid values can be obtained. LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"` // IPv6 address of a CLB instance // Note: This field may return null, indicating that no valid values can be obtained. AddressIPv6 *string `json:"AddressIPv6,omitnil,omitempty" name:"AddressIPv6"` // Reserved field which can be ignored generally. // Note: This field may return null, indicating that no valid values can be obtained. ExtraInfo *ExtraInfo `json:"ExtraInfo,omitnil,omitempty" name:"ExtraInfo"` // Whether an Anti-DDoS Pro instance can be bound // Note: This field may return null, indicating that no valid values can be obtained. IsDDos *bool `json:"IsDDos,omitnil,omitempty" name:"IsDDos"` // Custom configuration ID at the CLB instance level // Note: This field may return null, indicating that no valid values can be obtained. ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // Whether a real server opens the traffic from a CLB instance to the internet // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil,omitempty" name:"LoadBalancerPassToTarget"` // Private network dedicated cluster // Note: this field may return null, indicating that no valid values can be obtained. ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil,omitempty" name:"ExclusiveCluster"` // This field is meaningful only when the IP address version is `ipv6`. Valid values: IPv6Nat64, IPv6FullChain // Note: this field may return null, indicating that no valid values can be obtained. IPv6Mode *string `json:"IPv6Mode,omitnil,omitempty" name:"IPv6Mode"` // Whether to enable SnatPro. // Note: this field may return null, indicating that no valid values can be obtained. SnatPro *bool `json:"SnatPro,omitnil,omitempty" name:"SnatPro"` // `SnatIp` list after SnatPro load balancing is enabled. // Note: this field may return null, indicating that no valid values can be obtained. SnatIps []*SnatIp `json:"SnatIps,omitnil,omitempty" name:"SnatIps"` // Specification of the LCU-supported instance. // Note: This field may return null, indicating that no valid values can be obtained. SlaType *string `json:"SlaType,omitnil,omitempty" name:"SlaType"` // Whether VIP is blocked // Note: this field may return null, indicating that no valid values can be obtained. IsBlock *bool `json:"IsBlock,omitnil,omitempty" name:"IsBlock"` // Time blocked or unblocked // Note: this field may return null, indicating that no valid values can be obtained. IsBlockTime *string `json:"IsBlockTime,omitnil,omitempty" name:"IsBlockTime"` // Whether the IP type is the local BGP LocalBgp *bool `json:"LocalBgp,omitnil,omitempty" name:"LocalBgp"` // Dedicated layer-7 tag. // Note: this field may return null, indicating that no valid values can be obtained. ClusterTag *string `json:"ClusterTag,omitnil,omitempty" name:"ClusterTag"` // If the layer-7 listener of an IPv6FullChain CLB instance is enabled, the CLB instance can be bound with an IPv4 and an IPv6 CVM instance simultaneously. // Note: this field may return null, indicating that no valid values can be obtained. MixIpTarget *bool `json:"MixIpTarget,omitnil,omitempty" name:"MixIpTarget"` // Availability zone of a VPC-based private network CLB instance // Note: this field may return `null`, indicating that no valid values can be obtained. Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` // Whether it is an NFV CLB instance. No returned information: no; l7nfv: yes. // Note: this field may return `null`, indicating that no valid values can be obtained. NfvInfo *string `json:"NfvInfo,omitnil,omitempty" name:"NfvInfo"` // Health check logset ID of CLB CLS // Note: this field may return `null`, indicating that no valid values can be obtained. HealthLogSetId *string `json:"HealthLogSetId,omitnil,omitempty" name:"HealthLogSetId"` // Health check log topic ID of CLB CLS // Note: this field may return `null`, indicating that no valid values can be obtained. HealthLogTopicId *string `json:"HealthLogTopicId,omitnil,omitempty" name:"HealthLogTopicId"` // Cluster ID. // Note: This field may return null, indicating that no valid values can be obtained. ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // CLB attribute // Note: this field may return `null`, indicating that no valid values can be obtained. AttributeFlags []*string `json:"AttributeFlags,omitnil,omitempty" name:"AttributeFlags"` // Domain name of the CLB instance. // Note: This field may return null, indicating that no valid values can be obtained. LoadBalancerDomain *string `json:"LoadBalancerDomain,omitnil,omitempty" name:"LoadBalancerDomain"` // Network egress // Note: This field may return·null, indicating that no valid values can be obtained. Egress *string `json:"Egress,omitnil,omitempty" name:"Egress"` }
type LoadBalancerDetail ¶
type LoadBalancerDetail struct { // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // CLB instance network type: // Public: public network; Private: private network. // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerType *string `json:"LoadBalancerType,omitnil,omitempty" name:"LoadBalancerType"` // CLB instance status, including: // 0: creating; 1: running. // Note: this field may return null, indicating that no valid values can be obtained. Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // CLB instance VIP. // Note: this field may return null, indicating that no valid values can be obtained. Address *string `json:"Address,omitnil,omitempty" name:"Address"` // IPv6 VIP address of the CLB instance. // Note: this field may return null, indicating that no valid values can be obtained. AddressIPv6 *string `json:"AddressIPv6,omitnil,omitempty" name:"AddressIPv6"` // IP version of the CLB instance. Valid values: IPv4, IPv6. // Note: this field may return null, indicating that no valid values can be obtained. AddressIPVersion *string `json:"AddressIPVersion,omitnil,omitempty" name:"AddressIPVersion"` // IPv6 address type of the CLB instance. Valid values: IPv6Nat64, IPv6FullChain. // Note: this field may return null, indicating that no valid values can be obtained. IPv6Mode *string `json:"IPv6Mode,omitnil,omitempty" name:"IPv6Mode"` // Availability zone where the CLB instance resides. // Note: this field may return null, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // ISP to which the CLB IP address belongs. // Note: this field may return null, indicating that no valid values can be obtained. AddressIsp *string `json:"AddressIsp,omitnil,omitempty" name:"AddressIsp"` // ID of the VPC instance to which the CLB instance belongs. // Note: this field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // ID of the project to which the CLB instance belongs. 0: default project. // Note: this field may return null, indicating that no valid values can be obtained. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // CLB instance creation time. // Note: this field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // CLB instance billing mode. // Note: this field may return null, indicating that no valid values can be obtained. ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // CLB instance network attribute. // Note: this field may return null, indicating that no valid values can be obtained. NetworkAttributes *InternetAccessible `json:"NetworkAttributes,omitnil,omitempty" name:"NetworkAttributes"` // Pay-as-you-go attribute of the CLB instance. // Note: this field may return null, indicating that no valid values can be obtained. PrepaidAttributes *LBChargePrepaid `json:"PrepaidAttributes,omitnil,omitempty" name:"PrepaidAttributes"` // Reserved field, which can be ignored generally. // Note: this field may return null, indicating that no valid values can be obtained. ExtraInfo *ExtraInfo `json:"ExtraInfo,omitnil,omitempty" name:"ExtraInfo"` // Custom configuration IDs of CLB instances. Multiple IDs must be separated by commas (,). // Note: This field may return null, indicating that no valid values can be obtained. ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // CLB instance tag information. // Note: this field may return null, indicating that no valid values can be obtained. Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` // CLB listener ID. // Note: this field may return null, indicating that no valid values can be obtained. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Listener protocol. // Note: this field may return null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Listener port. // Note: this field may return null, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Forwarding rule ID. // Note: this field may return null, indicating that no valid values can be obtained. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Domain name of the forwarding rule. // Note: this field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Forwarding rule path. // Note: this field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // ID of target real servers. // Note: this field may return null, indicating that no valid values can be obtained. TargetId *string `json:"TargetId,omitnil,omitempty" name:"TargetId"` // Address of target real servers. // Note: this field may return null, indicating that no valid values can be obtained. TargetAddress *string `json:"TargetAddress,omitnil,omitempty" name:"TargetAddress"` // Listening port of target real servers. // Note: this field may return null, indicating that no valid values can be obtained. TargetPort *uint64 `json:"TargetPort,omitnil,omitempty" name:"TargetPort"` // Forwarding weight of target real servers. // Note: this field may return null, indicating that no valid values can be obtained. TargetWeight *uint64 `json:"TargetWeight,omitnil,omitempty" name:"TargetWeight"` // 0: not isolated; 1: isolated. // Note: this field may return null, indicating that no valid values can be obtained. Isolation *uint64 `json:"Isolation,omitnil,omitempty" name:"Isolation"` // List of the security groups bound to the CLB instance. // Note: this field may return `null`, indicating that no valid values can be obtained. SecurityGroup []*string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` // Whether the CLB instance is billed by IP. // Note: this field may return `null`, indicating that no valid values can be obtained. LoadBalancerPassToTarget *uint64 `json:"LoadBalancerPassToTarget,omitnil,omitempty" name:"LoadBalancerPassToTarget"` // Health status of the target real server. // Note: this field may return `null`, indicating that no valid values can be obtained. TargetHealth *string `json:"TargetHealth,omitnil,omitempty" name:"TargetHealth"` // List o domain names associated with the forwarding rule // Note: This field may return `null`, indicating that no valid values can be obtained. Domains *string `json:"Domains,omitnil,omitempty" name:"Domains"` // The secondary zone of multi-AZ CLB instance // Note: This field may return `null`, indicating that no valid values can be obtained. SlaveZone []*string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"` // The AZ of private CLB instance. This is only available for beta users. // Note: This field may return `null`, indicating that no valid values can be obtained. Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` // Whether to enable SNI. `1`: Enable; `0`: Do not enable. This parameter is only meaningful for HTTPS listeners. // Note: This field may return·null, indicating that no valid values can be obtained. SniSwitch *int64 `json:"SniSwitch,omitnil,omitempty" name:"SniSwitch"` // Domain name of the CLB instance. // Note: This field may return null, indicating that no valid values can be obtained. LoadBalancerDomain *string `json:"LoadBalancerDomain,omitnil,omitempty" name:"LoadBalancerDomain"` // Network egress // Note: This field may return·null, indicating that no valid values can be obtained. Egress *string `json:"Egress,omitnil,omitempty" name:"Egress"` }
type LoadBalancerHealth ¶
type LoadBalancerHealth struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB instance name // Note: This field may return null, indicating that no valid values can be obtained. LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // List of listeners // Note: This field may return null, indicating that no valid values can be obtained. Listeners []*ListenerHealth `json:"Listeners,omitnil,omitempty" name:"Listeners"` }
type LoadBalancerTraffic ¶
type LoadBalancerTraffic struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // CLB instance region Region *string `json:"Region,omitnil,omitempty" name:"Region"` // CLB instance VIP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Maximum outbound bandwidth in Mbps OutBandwidth *float64 `json:"OutBandwidth,omitnil,omitempty" name:"OutBandwidth"` // CLB domain name // Note: This field may return `null`, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` }
type ManualRewriteRequest ¶
type ManualRewriteRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Source listener ID SourceListenerId *string `json:"SourceListenerId,omitnil,omitempty" name:"SourceListenerId"` // Target listener ID TargetListenerId *string `json:"TargetListenerId,omitnil,omitempty" name:"TargetListenerId"` // Redirection relationship between forwarding rules RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,omitnil,omitempty" name:"RewriteInfos"` }
func NewManualRewriteRequest ¶
func NewManualRewriteRequest() (request *ManualRewriteRequest)
func (*ManualRewriteRequest) FromJsonString ¶
func (r *ManualRewriteRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ManualRewriteRequest) ToJsonString ¶
func (r *ManualRewriteRequest) ToJsonString() string
type ManualRewriteRequestParams ¶
type ManualRewriteRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Source listener ID SourceListenerId *string `json:"SourceListenerId,omitnil,omitempty" name:"SourceListenerId"` // Target listener ID TargetListenerId *string `json:"TargetListenerId,omitnil,omitempty" name:"TargetListenerId"` // Redirection relationship between forwarding rules RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,omitnil,omitempty" name:"RewriteInfos"` }
Predefined struct for user
type ManualRewriteResponse ¶
type ManualRewriteResponse struct { *tchttp.BaseResponse Response *ManualRewriteResponseParams `json:"Response"` }
func NewManualRewriteResponse ¶
func NewManualRewriteResponse() (response *ManualRewriteResponse)
func (*ManualRewriteResponse) FromJsonString ¶
func (r *ManualRewriteResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ManualRewriteResponse) ToJsonString ¶
func (r *ManualRewriteResponse) ToJsonString() string
type ManualRewriteResponseParams ¶
type ManualRewriteResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MigrateClassicalLoadBalancersRequest ¶
type MigrateClassicalLoadBalancersRequest struct { *tchttp.BaseRequest // Array of classic CLB instance IDs LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` // Exclusive cluster information ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil,omitempty" name:"ExclusiveCluster"` }
func NewMigrateClassicalLoadBalancersRequest ¶
func NewMigrateClassicalLoadBalancersRequest() (request *MigrateClassicalLoadBalancersRequest)
func (*MigrateClassicalLoadBalancersRequest) FromJsonString ¶
func (r *MigrateClassicalLoadBalancersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*MigrateClassicalLoadBalancersRequest) ToJsonString ¶
func (r *MigrateClassicalLoadBalancersRequest) ToJsonString() string
type MigrateClassicalLoadBalancersRequestParams ¶
type MigrateClassicalLoadBalancersRequestParams struct { // Array of classic CLB instance IDs LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` // Exclusive cluster information ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitnil,omitempty" name:"ExclusiveCluster"` }
Predefined struct for user
type MigrateClassicalLoadBalancersResponse ¶
type MigrateClassicalLoadBalancersResponse struct { *tchttp.BaseResponse Response *MigrateClassicalLoadBalancersResponseParams `json:"Response"` }
func NewMigrateClassicalLoadBalancersResponse ¶
func NewMigrateClassicalLoadBalancersResponse() (response *MigrateClassicalLoadBalancersResponse)
func (*MigrateClassicalLoadBalancersResponse) FromJsonString ¶
func (r *MigrateClassicalLoadBalancersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*MigrateClassicalLoadBalancersResponse) ToJsonString ¶
func (r *MigrateClassicalLoadBalancersResponse) ToJsonString() string
type MigrateClassicalLoadBalancersResponseParams ¶
type MigrateClassicalLoadBalancersResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBlockIPListRequest ¶
type ModifyBlockIPListRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` // Operation type. Valid values: // <li> add_customized_field (sets header initially to enable the blocklist feature)</li> // <li> set_customized_field (modifies header)</li> // <li> del_customized_field (deletes header)</li> // <li> add_blocked (adds IPs to blocklist)</li> // <li> del_blocked (deletes IPs from blocklist)</li> // <li> flush_blocked (clears blocklist)</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Header field that stores real client IPs ClientIPField *string `json:"ClientIPField,omitnil,omitempty" name:"ClientIPField"` // List of blocked IPs. The array can contain up to 200,000 entries in one operation. BlockIPList []*string `json:"BlockIPList,omitnil,omitempty" name:"BlockIPList"` // Expiration time in seconds. Default value: 3600 ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // IP adding policy. Valid value: fifo (if a blocklist is full, new IPs added to the blocklist will adopt the first-in first-out policy) AddStrategy *string `json:"AddStrategy,omitnil,omitempty" name:"AddStrategy"` }
func NewModifyBlockIPListRequest ¶
func NewModifyBlockIPListRequest() (request *ModifyBlockIPListRequest)
func (*ModifyBlockIPListRequest) FromJsonString ¶
func (r *ModifyBlockIPListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBlockIPListRequest) ToJsonString ¶
func (r *ModifyBlockIPListRequest) ToJsonString() string
type ModifyBlockIPListRequestParams ¶
type ModifyBlockIPListRequestParams struct { // CLB instance ID LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` // Operation type. Valid values: // <li> add_customized_field (sets header initially to enable the blocklist feature)</li> // <li> set_customized_field (modifies header)</li> // <li> del_customized_field (deletes header)</li> // <li> add_blocked (adds IPs to blocklist)</li> // <li> del_blocked (deletes IPs from blocklist)</li> // <li> flush_blocked (clears blocklist)</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Header field that stores real client IPs ClientIPField *string `json:"ClientIPField,omitnil,omitempty" name:"ClientIPField"` // List of blocked IPs. The array can contain up to 200,000 entries in one operation. BlockIPList []*string `json:"BlockIPList,omitnil,omitempty" name:"BlockIPList"` // Expiration time in seconds. Default value: 3600 ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // IP adding policy. Valid value: fifo (if a blocklist is full, new IPs added to the blocklist will adopt the first-in first-out policy) AddStrategy *string `json:"AddStrategy,omitnil,omitempty" name:"AddStrategy"` }
Predefined struct for user
type ModifyBlockIPListResponse ¶
type ModifyBlockIPListResponse struct { *tchttp.BaseResponse Response *ModifyBlockIPListResponseParams `json:"Response"` }
func NewModifyBlockIPListResponse ¶
func NewModifyBlockIPListResponse() (response *ModifyBlockIPListResponse)
func (*ModifyBlockIPListResponse) FromJsonString ¶
func (r *ModifyBlockIPListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBlockIPListResponse) ToJsonString ¶
func (r *ModifyBlockIPListResponse) ToJsonString() string
type ModifyBlockIPListResponseParams ¶
type ModifyBlockIPListResponseParams struct { // Async task ID JodId *string `json:"JodId,omitnil,omitempty" name:"JodId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDomainAttributesRequest ¶
type ModifyDomainAttributesRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // The domain name, which must be associated with an existing forwarding rule. If there are multiple domain names, you only need to specify one. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // The one domain name to modify. `NewDomain` and `NewDomains` can not be both specified. NewDomain *string `json:"NewDomain,omitnil,omitempty" name:"NewDomain"` // Certificate information of the domain name. It is only applicable to listeners with SNI enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time. Certificate *CertificateInput `json:"Certificate,omitnil,omitempty" name:"Certificate"` // Whether to enable HTTP/2. Note: HTTP/2 can be enabled only for HTTPS domain names. Http2 *bool `json:"Http2,omitnil,omitempty" name:"Http2"` // Whether to set this domain name as the default domain name. Note: Only one default domain name can be set under one listener. DefaultServer *bool `json:"DefaultServer,omitnil,omitempty" name:"DefaultServer"` // Whether to enable QUIC. Note: QUIC can be enabled only for HTTPS domain names. Quic *bool `json:"Quic,omitnil,omitempty" name:"Quic"` // Specifies a new default domain name for the listener. This field is used when the original default domain name is disabled. If there are multiple domain names, specify one of them. NewDefaultServerDomain *string `json:"NewDefaultServerDomain,omitnil,omitempty" name:"NewDefaultServerDomain"` // The new domain names to modify. `NewDomain` and `NewDomains` can not be both specified. NewDomains []*string `json:"NewDomains,omitnil,omitempty" name:"NewDomains"` // Certificate information of the domain name. It is only applicable to listeners with SNI enabled. You can specify multiple server-side certificates with different algorithm types. `Certificate` and `MultiCertInfo` cannot be specified at the same time. MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil,omitempty" name:"MultiCertInfo"` }
func NewModifyDomainAttributesRequest ¶
func NewModifyDomainAttributesRequest() (request *ModifyDomainAttributesRequest)
func (*ModifyDomainAttributesRequest) FromJsonString ¶
func (r *ModifyDomainAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainAttributesRequest) ToJsonString ¶
func (r *ModifyDomainAttributesRequest) ToJsonString() string
type ModifyDomainAttributesRequestParams ¶
type ModifyDomainAttributesRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // The domain name, which must be associated with an existing forwarding rule. If there are multiple domain names, you only need to specify one. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // The one domain name to modify. `NewDomain` and `NewDomains` can not be both specified. NewDomain *string `json:"NewDomain,omitnil,omitempty" name:"NewDomain"` // Certificate information of the domain name. It is only applicable to listeners with SNI enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time. Certificate *CertificateInput `json:"Certificate,omitnil,omitempty" name:"Certificate"` // Whether to enable HTTP/2. Note: HTTP/2 can be enabled only for HTTPS domain names. Http2 *bool `json:"Http2,omitnil,omitempty" name:"Http2"` // Whether to set this domain name as the default domain name. Note: Only one default domain name can be set under one listener. DefaultServer *bool `json:"DefaultServer,omitnil,omitempty" name:"DefaultServer"` // Whether to enable QUIC. Note: QUIC can be enabled only for HTTPS domain names. Quic *bool `json:"Quic,omitnil,omitempty" name:"Quic"` // Specifies a new default domain name for the listener. This field is used when the original default domain name is disabled. If there are multiple domain names, specify one of them. NewDefaultServerDomain *string `json:"NewDefaultServerDomain,omitnil,omitempty" name:"NewDefaultServerDomain"` // The new domain names to modify. `NewDomain` and `NewDomains` can not be both specified. NewDomains []*string `json:"NewDomains,omitnil,omitempty" name:"NewDomains"` // Certificate information of the domain name. It is only applicable to listeners with SNI enabled. You can specify multiple server-side certificates with different algorithm types. `Certificate` and `MultiCertInfo` cannot be specified at the same time. MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil,omitempty" name:"MultiCertInfo"` }
Predefined struct for user
type ModifyDomainAttributesResponse ¶
type ModifyDomainAttributesResponse struct { *tchttp.BaseResponse Response *ModifyDomainAttributesResponseParams `json:"Response"` }
func NewModifyDomainAttributesResponse ¶
func NewModifyDomainAttributesResponse() (response *ModifyDomainAttributesResponse)
func (*ModifyDomainAttributesResponse) FromJsonString ¶
func (r *ModifyDomainAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainAttributesResponse) ToJsonString ¶
func (r *ModifyDomainAttributesResponse) ToJsonString() string
type ModifyDomainAttributesResponseParams ¶
type ModifyDomainAttributesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDomainRequest ¶
type ModifyDomainRequest struct { *tchttp.BaseRequest // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Legacy domain name under a listener. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // New domain name. Length limit: 1-120. There are three usage formats: non-regular expression, wildcard, and regular expression. A non-regular expression can only contain letters, digits, "-", and ".". In a wildcard, "*" can only be at the beginning or the end. A regular expressions must begin with a "~". NewDomain *string `json:"NewDomain,omitnil,omitempty" name:"NewDomain"` }
func NewModifyDomainRequest ¶
func NewModifyDomainRequest() (request *ModifyDomainRequest)
func (*ModifyDomainRequest) FromJsonString ¶
func (r *ModifyDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainRequest) ToJsonString ¶
func (r *ModifyDomainRequest) ToJsonString() string
type ModifyDomainRequestParams ¶
type ModifyDomainRequestParams struct { // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Legacy domain name under a listener. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // New domain name. Length limit: 1-120. There are three usage formats: non-regular expression, wildcard, and regular expression. A non-regular expression can only contain letters, digits, "-", and ".". In a wildcard, "*" can only be at the beginning or the end. A regular expressions must begin with a "~". NewDomain *string `json:"NewDomain,omitnil,omitempty" name:"NewDomain"` }
Predefined struct for user
type ModifyDomainResponse ¶
type ModifyDomainResponse struct { *tchttp.BaseResponse Response *ModifyDomainResponseParams `json:"Response"` }
func NewModifyDomainResponse ¶
func NewModifyDomainResponse() (response *ModifyDomainResponse)
func (*ModifyDomainResponse) FromJsonString ¶
func (r *ModifyDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainResponse) ToJsonString ¶
func (r *ModifyDomainResponse) ToJsonString() string
type ModifyDomainResponseParams ¶
type ModifyDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyFunctionTargetsRequest ¶
type ModifyFunctionTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // The backend cloud functions to modify FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil,omitempty" name:"FunctionTargets"` // Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or `Domain`+`Url`. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if `LocationId` is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if `LocationId` is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
func NewModifyFunctionTargetsRequest ¶
func NewModifyFunctionTargetsRequest() (request *ModifyFunctionTargetsRequest)
func (*ModifyFunctionTargetsRequest) FromJsonString ¶
func (r *ModifyFunctionTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFunctionTargetsRequest) ToJsonString ¶
func (r *ModifyFunctionTargetsRequest) ToJsonString() string
type ModifyFunctionTargetsRequestParams ¶
type ModifyFunctionTargetsRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // The backend cloud functions to modify FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil,omitempty" name:"FunctionTargets"` // Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or `Domain`+`Url`. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if `LocationId` is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if `LocationId` is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
Predefined struct for user
type ModifyFunctionTargetsResponse ¶
type ModifyFunctionTargetsResponse struct { *tchttp.BaseResponse Response *ModifyFunctionTargetsResponseParams `json:"Response"` }
func NewModifyFunctionTargetsResponse ¶
func NewModifyFunctionTargetsResponse() (response *ModifyFunctionTargetsResponse)
func (*ModifyFunctionTargetsResponse) FromJsonString ¶
func (r *ModifyFunctionTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFunctionTargetsResponse) ToJsonString ¶
func (r *ModifyFunctionTargetsResponse) ToJsonString() string
type ModifyFunctionTargetsResponseParams ¶
type ModifyFunctionTargetsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyListenerRequest ¶
type ModifyListenerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // New listener name ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // Session persistence time in seconds. Value range: 30-3,600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil,omitempty" name:"SessionExpireTime"` // Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners. HealthCheck *HealthCheck `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // Certificate information. This parameter is only applicable to HTTPS/TCP_SSL/QUIC listeners. `Certificate` and `MultiCertInfo` cannot be both specified. Certificate *CertificateInput `json:"Certificate,omitnil,omitempty" name:"Certificate"` // Forwarding method of a listener. Value range: WRR, LEAST_CONN. // They represent weighted round robin and least connections, respectively. Default value: WRR. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Whether to enable the SNI feature. This parameter is applicable only to HTTPS listeners. Note: The SNI feature can be enabled but cannot be disabled once enabled. SniSwitch *int64 `json:"SniSwitch,omitnil,omitempty" name:"SniSwitch"` // Target backend type. `NODE`: A single node; `TARGETGROUP`: A target group. TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"` // Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners. KeepaliveEnable *int64 `json:"KeepaliveEnable,omitnil,omitempty" name:"KeepaliveEnable"` // Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only. DeregisterTargetRst *bool `json:"DeregisterTargetRst,omitnil,omitempty" name:"DeregisterTargetRst"` // Session persistence type. `NORMAL`: default session persistence type (L4/L7 session persistence); `QUIC_CID`: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners. SessionType *string `json:"SessionType,omitnil,omitempty" name:"SessionType"` // Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time. MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil,omitempty" name:"MultiCertInfo"` // The maximum number of concurrent connections at the listener level. This parameter takes effect only on LCU-supported instances and TCP/UDP/TCP_SSL/QUIC listeners. Value range: 1 to the maximum concurrency of the instance. -1 indicates that no limit is set on concurrent connections. MaxConn *int64 `json:"MaxConn,omitnil,omitempty" name:"MaxConn"` // The maximum number of new connections at the listener level. This parameter takes effect only on LCU-supported instances and TCP/UDP/TCP_SSL/QUIC listeners. Value range: 1 to the maximum number of new connections of the instance. -1 indicates that no limit is set on concurrent connections. MaxCps *int64 `json:"MaxCps,omitnil,omitempty" name:"MaxCps"` // Connection idle timeout period (in seconds). It’s only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. To set a period longer than 2000 seconds (up to 3600 seconds), please submit a [submit](https://console.cloud.tencent.com/workorder/category). IdleConnectTimeout *int64 `json:"IdleConnectTimeout,omitnil,omitempty" name:"IdleConnectTimeout"` }
func NewModifyListenerRequest ¶
func NewModifyListenerRequest() (request *ModifyListenerRequest)
func (*ModifyListenerRequest) FromJsonString ¶
func (r *ModifyListenerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyListenerRequest) ToJsonString ¶
func (r *ModifyListenerRequest) ToJsonString() string
type ModifyListenerRequestParams ¶
type ModifyListenerRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // New listener name ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // Session persistence time in seconds. Value range: 30-3,600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil,omitempty" name:"SessionExpireTime"` // Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners. HealthCheck *HealthCheck `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // Certificate information. This parameter is only applicable to HTTPS/TCP_SSL/QUIC listeners. `Certificate` and `MultiCertInfo` cannot be both specified. Certificate *CertificateInput `json:"Certificate,omitnil,omitempty" name:"Certificate"` // Forwarding method of a listener. Value range: WRR, LEAST_CONN. // They represent weighted round robin and least connections, respectively. Default value: WRR. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Whether to enable the SNI feature. This parameter is applicable only to HTTPS listeners. Note: The SNI feature can be enabled but cannot be disabled once enabled. SniSwitch *int64 `json:"SniSwitch,omitnil,omitempty" name:"SniSwitch"` // Target backend type. `NODE`: A single node; `TARGETGROUP`: A target group. TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"` // Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners. KeepaliveEnable *int64 `json:"KeepaliveEnable,omitnil,omitempty" name:"KeepaliveEnable"` // Whether to send the TCP RST packet to the client when unbinding a real server. This parameter is applicable to TCP listeners only. DeregisterTargetRst *bool `json:"DeregisterTargetRst,omitnil,omitempty" name:"DeregisterTargetRst"` // Session persistence type. `NORMAL`: default session persistence type (L4/L7 session persistence); `QUIC_CID`: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners. SessionType *string `json:"SessionType,omitnil,omitempty" name:"SessionType"` // Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time. MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil,omitempty" name:"MultiCertInfo"` // The maximum number of concurrent connections at the listener level. This parameter takes effect only on LCU-supported instances and TCP/UDP/TCP_SSL/QUIC listeners. Value range: 1 to the maximum concurrency of the instance. -1 indicates that no limit is set on concurrent connections. MaxConn *int64 `json:"MaxConn,omitnil,omitempty" name:"MaxConn"` // The maximum number of new connections at the listener level. This parameter takes effect only on LCU-supported instances and TCP/UDP/TCP_SSL/QUIC listeners. Value range: 1 to the maximum number of new connections of the instance. -1 indicates that no limit is set on concurrent connections. MaxCps *int64 `json:"MaxCps,omitnil,omitempty" name:"MaxCps"` // Connection idle timeout period (in seconds). It’s only available to TCP listeners. Value range: 300-900 for shared and dedicated instances; 300-2000 for LCU-supported CLB instances. It defaults to 900. To set a period longer than 2000 seconds (up to 3600 seconds), please submit a [submit](https://console.cloud.tencent.com/workorder/category). IdleConnectTimeout *int64 `json:"IdleConnectTimeout,omitnil,omitempty" name:"IdleConnectTimeout"` }
Predefined struct for user
type ModifyListenerResponse ¶
type ModifyListenerResponse struct { *tchttp.BaseResponse Response *ModifyListenerResponseParams `json:"Response"` }
func NewModifyListenerResponse ¶
func NewModifyListenerResponse() (response *ModifyListenerResponse)
func (*ModifyListenerResponse) FromJsonString ¶
func (r *ModifyListenerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyListenerResponse) ToJsonString ¶
func (r *ModifyListenerResponse) ToJsonString() string
type ModifyListenerResponseParams ¶
type ModifyListenerResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLoadBalancerAttributesRequest ¶
type ModifyLoadBalancerAttributesRequest struct { *tchttp.BaseRequest // Unique CLB ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // The backend service information of cross-region binding 1.0 TargetRegionInfo *TargetRegionInfo `json:"TargetRegionInfo,omitnil,omitempty" name:"TargetRegionInfo"` // Network billing parameter InternetChargeInfo *InternetAccessible `json:"InternetChargeInfo,omitnil,omitempty" name:"InternetChargeInfo"` // Whether the target opens traffic from CLB to the internet. If yes (true), only security groups on CLB will be verified; if no (false), security groups on both CLB and backend instance need to be verified. LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil,omitempty" name:"LoadBalancerPassToTarget"` // Whether to enable cross-region binding 2.0 SnatPro *bool `json:"SnatPro,omitnil,omitempty" name:"SnatPro"` // Specifies whether to enable deletion protection. DeleteProtect *bool `json:"DeleteProtect,omitnil,omitempty" name:"DeleteProtect"` // Modifies the second-level domain name of CLB from mycloud.com to tencentclb.com. Note that the sub-domain names will be changed as well. After the modification, mycloud.com will be invalidated. ModifyClassicDomain *bool `json:"ModifyClassicDomain,omitnil,omitempty" name:"ModifyClassicDomain"` }
func NewModifyLoadBalancerAttributesRequest ¶
func NewModifyLoadBalancerAttributesRequest() (request *ModifyLoadBalancerAttributesRequest)
func (*ModifyLoadBalancerAttributesRequest) FromJsonString ¶
func (r *ModifyLoadBalancerAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancerAttributesRequest) ToJsonString ¶
func (r *ModifyLoadBalancerAttributesRequest) ToJsonString() string
type ModifyLoadBalancerAttributesRequestParams ¶
type ModifyLoadBalancerAttributesRequestParams struct { // Unique CLB ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // The backend service information of cross-region binding 1.0 TargetRegionInfo *TargetRegionInfo `json:"TargetRegionInfo,omitnil,omitempty" name:"TargetRegionInfo"` // Network billing parameter InternetChargeInfo *InternetAccessible `json:"InternetChargeInfo,omitnil,omitempty" name:"InternetChargeInfo"` // Whether the target opens traffic from CLB to the internet. If yes (true), only security groups on CLB will be verified; if no (false), security groups on both CLB and backend instance need to be verified. LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil,omitempty" name:"LoadBalancerPassToTarget"` // Whether to enable cross-region binding 2.0 SnatPro *bool `json:"SnatPro,omitnil,omitempty" name:"SnatPro"` // Specifies whether to enable deletion protection. DeleteProtect *bool `json:"DeleteProtect,omitnil,omitempty" name:"DeleteProtect"` // Modifies the second-level domain name of CLB from mycloud.com to tencentclb.com. Note that the sub-domain names will be changed as well. After the modification, mycloud.com will be invalidated. ModifyClassicDomain *bool `json:"ModifyClassicDomain,omitnil,omitempty" name:"ModifyClassicDomain"` }
Predefined struct for user
type ModifyLoadBalancerAttributesResponse ¶
type ModifyLoadBalancerAttributesResponse struct { *tchttp.BaseResponse Response *ModifyLoadBalancerAttributesResponseParams `json:"Response"` }
func NewModifyLoadBalancerAttributesResponse ¶
func NewModifyLoadBalancerAttributesResponse() (response *ModifyLoadBalancerAttributesResponse)
func (*ModifyLoadBalancerAttributesResponse) FromJsonString ¶
func (r *ModifyLoadBalancerAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancerAttributesResponse) ToJsonString ¶
func (r *ModifyLoadBalancerAttributesResponse) ToJsonString() string
type ModifyLoadBalancerAttributesResponseParams ¶
type ModifyLoadBalancerAttributesResponseParams struct { // This parameter can be used to query whether CLB billing mode switch is successful. // Note: this field may return null, indicating that no valid values can be obtained. DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLoadBalancerSlaRequest ¶
type ModifyLoadBalancerSlaRequest struct { *tchttp.BaseRequest // CLB instance information. LoadBalancerSla []*SlaUpdateParam `json:"LoadBalancerSla,omitnil,omitempty" name:"LoadBalancerSla"` }
func NewModifyLoadBalancerSlaRequest ¶
func NewModifyLoadBalancerSlaRequest() (request *ModifyLoadBalancerSlaRequest)
func (*ModifyLoadBalancerSlaRequest) FromJsonString ¶
func (r *ModifyLoadBalancerSlaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancerSlaRequest) ToJsonString ¶
func (r *ModifyLoadBalancerSlaRequest) ToJsonString() string
type ModifyLoadBalancerSlaRequestParams ¶
type ModifyLoadBalancerSlaRequestParams struct { // CLB instance information. LoadBalancerSla []*SlaUpdateParam `json:"LoadBalancerSla,omitnil,omitempty" name:"LoadBalancerSla"` }
Predefined struct for user
type ModifyLoadBalancerSlaResponse ¶
type ModifyLoadBalancerSlaResponse struct { *tchttp.BaseResponse Response *ModifyLoadBalancerSlaResponseParams `json:"Response"` }
func NewModifyLoadBalancerSlaResponse ¶
func NewModifyLoadBalancerSlaResponse() (response *ModifyLoadBalancerSlaResponse)
func (*ModifyLoadBalancerSlaResponse) FromJsonString ¶
func (r *ModifyLoadBalancerSlaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancerSlaResponse) ToJsonString ¶
func (r *ModifyLoadBalancerSlaResponse) ToJsonString() string
type ModifyLoadBalancerSlaResponseParams ¶
type ModifyLoadBalancerSlaResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLoadBalancersProjectRequest ¶
type ModifyLoadBalancersProjectRequest struct { *tchttp.BaseRequest // IDs of CLB instances ID(s). LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` // Project ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewModifyLoadBalancersProjectRequest ¶
func NewModifyLoadBalancersProjectRequest() (request *ModifyLoadBalancersProjectRequest)
func (*ModifyLoadBalancersProjectRequest) FromJsonString ¶
func (r *ModifyLoadBalancersProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancersProjectRequest) ToJsonString ¶
func (r *ModifyLoadBalancersProjectRequest) ToJsonString() string
type ModifyLoadBalancersProjectRequestParams ¶
type ModifyLoadBalancersProjectRequestParams struct { // IDs of CLB instances ID(s). LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` // Project ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type ModifyLoadBalancersProjectResponse ¶
type ModifyLoadBalancersProjectResponse struct { *tchttp.BaseResponse Response *ModifyLoadBalancersProjectResponseParams `json:"Response"` }
func NewModifyLoadBalancersProjectResponse ¶
func NewModifyLoadBalancersProjectResponse() (response *ModifyLoadBalancersProjectResponse)
func (*ModifyLoadBalancersProjectResponse) FromJsonString ¶
func (r *ModifyLoadBalancersProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancersProjectResponse) ToJsonString ¶
func (r *ModifyLoadBalancersProjectResponse) ToJsonString() string
type ModifyLoadBalancersProjectResponseParams ¶
type ModifyLoadBalancersProjectResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRuleRequest ¶
type ModifyRuleRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // ID of the forwarding rule to be modified. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // New forwarding path of the forwarding rule. This parameter is not required if the URL does not need to be modified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Health check information HealthCheck *HealthCheck `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // Request forwarding method of the rule. Value range: WRR, LEAST_CONN, IP_HASH // They represent weighted round robin, least connections, and IP hash, respectively. Default value: WRR. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Session persistence time SessionExpireTime *int64 `json:"SessionExpireTime,omitnil,omitempty" name:"SessionExpireTime"` // Forwarding protocol between CLB instance and real server. Default value: HTTP. Valid values: HTTP, HTTPS, and TRPC. ForwardType *string `json:"ForwardType,omitnil,omitempty" name:"ForwardType"` // TRPC callee server route, which is required when `ForwardType` is "TRPC". This is now only for internal usage. TrpcCallee *string `json:"TrpcCallee,omitnil,omitempty" name:"TrpcCallee"` // TRPC calling service API, which is required when `ForwardType` is "TRPC". This is now only for internal usage. TrpcFunc *string `json:"TrpcFunc,omitnil,omitempty" name:"TrpcFunc"` }
func NewModifyRuleRequest ¶
func NewModifyRuleRequest() (request *ModifyRuleRequest)
func (*ModifyRuleRequest) FromJsonString ¶
func (r *ModifyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRuleRequest) ToJsonString ¶
func (r *ModifyRuleRequest) ToJsonString() string
type ModifyRuleRequestParams ¶
type ModifyRuleRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // ID of the forwarding rule to be modified. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // New forwarding path of the forwarding rule. This parameter is not required if the URL does not need to be modified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Health check information HealthCheck *HealthCheck `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // Request forwarding method of the rule. Value range: WRR, LEAST_CONN, IP_HASH // They represent weighted round robin, least connections, and IP hash, respectively. Default value: WRR. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Session persistence time SessionExpireTime *int64 `json:"SessionExpireTime,omitnil,omitempty" name:"SessionExpireTime"` // Forwarding protocol between CLB instance and real server. Default value: HTTP. Valid values: HTTP, HTTPS, and TRPC. ForwardType *string `json:"ForwardType,omitnil,omitempty" name:"ForwardType"` // TRPC callee server route, which is required when `ForwardType` is "TRPC". This is now only for internal usage. TrpcCallee *string `json:"TrpcCallee,omitnil,omitempty" name:"TrpcCallee"` // TRPC calling service API, which is required when `ForwardType` is "TRPC". This is now only for internal usage. TrpcFunc *string `json:"TrpcFunc,omitnil,omitempty" name:"TrpcFunc"` }
Predefined struct for user
type ModifyRuleResponse ¶
type ModifyRuleResponse struct { *tchttp.BaseResponse Response *ModifyRuleResponseParams `json:"Response"` }
func NewModifyRuleResponse ¶
func NewModifyRuleResponse() (response *ModifyRuleResponse)
func (*ModifyRuleResponse) FromJsonString ¶
func (r *ModifyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRuleResponse) ToJsonString ¶
func (r *ModifyRuleResponse) ToJsonString() string
type ModifyRuleResponseParams ¶
type ModifyRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetGroupAttributeRequest ¶
type ModifyTargetGroupAttributeRequest struct { *tchttp.BaseRequest // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // New name of target group TargetGroupName *string `json:"TargetGroupName,omitnil,omitempty" name:"TargetGroupName"` // New default port of target group Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` }
func NewModifyTargetGroupAttributeRequest ¶
func NewModifyTargetGroupAttributeRequest() (request *ModifyTargetGroupAttributeRequest)
func (*ModifyTargetGroupAttributeRequest) FromJsonString ¶
func (r *ModifyTargetGroupAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetGroupAttributeRequest) ToJsonString ¶
func (r *ModifyTargetGroupAttributeRequest) ToJsonString() string
type ModifyTargetGroupAttributeRequestParams ¶
type ModifyTargetGroupAttributeRequestParams struct { // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // New name of target group TargetGroupName *string `json:"TargetGroupName,omitnil,omitempty" name:"TargetGroupName"` // New default port of target group Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` }
Predefined struct for user
type ModifyTargetGroupAttributeResponse ¶
type ModifyTargetGroupAttributeResponse struct { *tchttp.BaseResponse Response *ModifyTargetGroupAttributeResponseParams `json:"Response"` }
func NewModifyTargetGroupAttributeResponse ¶
func NewModifyTargetGroupAttributeResponse() (response *ModifyTargetGroupAttributeResponse)
func (*ModifyTargetGroupAttributeResponse) FromJsonString ¶
func (r *ModifyTargetGroupAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetGroupAttributeResponse) ToJsonString ¶
func (r *ModifyTargetGroupAttributeResponse) ToJsonString() string
type ModifyTargetGroupAttributeResponseParams ¶
type ModifyTargetGroupAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetGroupInstancesPortRequest ¶
type ModifyTargetGroupInstancesPortRequest struct { *tchttp.BaseRequest // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // Array of servers for which to modify ports TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil,omitempty" name:"TargetGroupInstances"` }
func NewModifyTargetGroupInstancesPortRequest ¶
func NewModifyTargetGroupInstancesPortRequest() (request *ModifyTargetGroupInstancesPortRequest)
func (*ModifyTargetGroupInstancesPortRequest) FromJsonString ¶
func (r *ModifyTargetGroupInstancesPortRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetGroupInstancesPortRequest) ToJsonString ¶
func (r *ModifyTargetGroupInstancesPortRequest) ToJsonString() string
type ModifyTargetGroupInstancesPortRequestParams ¶
type ModifyTargetGroupInstancesPortRequestParams struct { // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // Array of servers for which to modify ports TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil,omitempty" name:"TargetGroupInstances"` }
Predefined struct for user
type ModifyTargetGroupInstancesPortResponse ¶
type ModifyTargetGroupInstancesPortResponse struct { *tchttp.BaseResponse Response *ModifyTargetGroupInstancesPortResponseParams `json:"Response"` }
func NewModifyTargetGroupInstancesPortResponse ¶
func NewModifyTargetGroupInstancesPortResponse() (response *ModifyTargetGroupInstancesPortResponse)
func (*ModifyTargetGroupInstancesPortResponse) FromJsonString ¶
func (r *ModifyTargetGroupInstancesPortResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetGroupInstancesPortResponse) ToJsonString ¶
func (r *ModifyTargetGroupInstancesPortResponse) ToJsonString() string
type ModifyTargetGroupInstancesPortResponseParams ¶
type ModifyTargetGroupInstancesPortResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetGroupInstancesWeightRequest ¶
type ModifyTargetGroupInstancesWeightRequest struct { *tchttp.BaseRequest // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // Array of servers for which to modify weights TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil,omitempty" name:"TargetGroupInstances"` }
func NewModifyTargetGroupInstancesWeightRequest ¶
func NewModifyTargetGroupInstancesWeightRequest() (request *ModifyTargetGroupInstancesWeightRequest)
func (*ModifyTargetGroupInstancesWeightRequest) FromJsonString ¶
func (r *ModifyTargetGroupInstancesWeightRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetGroupInstancesWeightRequest) ToJsonString ¶
func (r *ModifyTargetGroupInstancesWeightRequest) ToJsonString() string
type ModifyTargetGroupInstancesWeightRequestParams ¶
type ModifyTargetGroupInstancesWeightRequestParams struct { // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // Array of servers for which to modify weights TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil,omitempty" name:"TargetGroupInstances"` }
Predefined struct for user
type ModifyTargetGroupInstancesWeightResponse ¶
type ModifyTargetGroupInstancesWeightResponse struct { *tchttp.BaseResponse Response *ModifyTargetGroupInstancesWeightResponseParams `json:"Response"` }
func NewModifyTargetGroupInstancesWeightResponse ¶
func NewModifyTargetGroupInstancesWeightResponse() (response *ModifyTargetGroupInstancesWeightResponse)
func (*ModifyTargetGroupInstancesWeightResponse) FromJsonString ¶
func (r *ModifyTargetGroupInstancesWeightResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetGroupInstancesWeightResponse) ToJsonString ¶
func (r *ModifyTargetGroupInstancesWeightResponse) ToJsonString() string
type ModifyTargetGroupInstancesWeightResponseParams ¶
type ModifyTargetGroupInstancesWeightResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetPortRequest ¶
type ModifyTargetPortRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // List of real servers for which to modify the ports Targets []*Target `json:"Targets,omitnil,omitempty" name:"Targets"` // New port of the real server bound to a listener or forwarding rule NewPort *int64 `json:"NewPort,omitnil,omitempty" name:"NewPort"` // Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
func NewModifyTargetPortRequest ¶
func NewModifyTargetPortRequest() (request *ModifyTargetPortRequest)
func (*ModifyTargetPortRequest) FromJsonString ¶
func (r *ModifyTargetPortRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetPortRequest) ToJsonString ¶
func (r *ModifyTargetPortRequest) ToJsonString() string
type ModifyTargetPortRequestParams ¶
type ModifyTargetPortRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // List of real servers for which to modify the ports Targets []*Target `json:"Targets,omitnil,omitempty" name:"Targets"` // New port of the real server bound to a listener or forwarding rule NewPort *int64 `json:"NewPort,omitnil,omitempty" name:"NewPort"` // Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
Predefined struct for user
type ModifyTargetPortResponse ¶
type ModifyTargetPortResponse struct { *tchttp.BaseResponse Response *ModifyTargetPortResponseParams `json:"Response"` }
func NewModifyTargetPortResponse ¶
func NewModifyTargetPortResponse() (response *ModifyTargetPortResponse)
func (*ModifyTargetPortResponse) FromJsonString ¶
func (r *ModifyTargetPortResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetPortResponse) ToJsonString ¶
func (r *ModifyTargetPortResponse) ToJsonString() string
type ModifyTargetPortResponseParams ¶
type ModifyTargetPortResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetWeightRequest ¶
type ModifyTargetWeightRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // List of real servers for which to modify the weights Targets []*Target `json:"Targets,omitnil,omitempty" name:"Targets"` // New forwarding weight of a real server. Value range: 0-100. Default value: 10. If the Targets.Weight parameter is set, this parameter will not take effect. Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"` }
func NewModifyTargetWeightRequest ¶
func NewModifyTargetWeightRequest() (request *ModifyTargetWeightRequest)
func (*ModifyTargetWeightRequest) FromJsonString ¶
func (r *ModifyTargetWeightRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetWeightRequest) ToJsonString ¶
func (r *ModifyTargetWeightRequest) ToJsonString() string
type ModifyTargetWeightRequestParams ¶
type ModifyTargetWeightRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // List of real servers for which to modify the weights Targets []*Target `json:"Targets,omitnil,omitempty" name:"Targets"` // New forwarding weight of a real server. Value range: 0-100. Default value: 10. If the Targets.Weight parameter is set, this parameter will not take effect. Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"` }
Predefined struct for user
type ModifyTargetWeightResponse ¶
type ModifyTargetWeightResponse struct { *tchttp.BaseResponse Response *ModifyTargetWeightResponseParams `json:"Response"` }
func NewModifyTargetWeightResponse ¶
func NewModifyTargetWeightResponse() (response *ModifyTargetWeightResponse)
func (*ModifyTargetWeightResponse) FromJsonString ¶
func (r *ModifyTargetWeightResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetWeightResponse) ToJsonString ¶
func (r *ModifyTargetWeightResponse) ToJsonString() string
type ModifyTargetWeightResponseParams ¶
type ModifyTargetWeightResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MultiCertInfo ¶
type MultiCertInfo struct { // Authentication type. Values: `UNIDIRECTIONAL` (one-way authentication), `MUTUAL` (two-way authentication) SSLMode *string `json:"SSLMode,omitnil,omitempty" name:"SSLMode"` // List of listener or rule certificates. One-way and two-way authentication are supported. Only one certificate can be specified for one algorithm. If `SSLMode` is `MUTUAL` (two-way authentication), at least one CA certificate is required. CertList []*CertInfo `json:"CertList,omitnil,omitempty" name:"CertList"` }
type Price ¶
type Price struct { // Instance price. // Note: This field may return·null, indicating that no valid values can be obtained. InstancePrice *ItemPrice `json:"InstancePrice,omitnil,omitempty" name:"InstancePrice"` // Network price. // Note: This field may return·null, indicating that no valid values can be obtained. BandwidthPrice *ItemPrice `json:"BandwidthPrice,omitnil,omitempty" name:"BandwidthPrice"` // LCU price. // Note: This field may return·null, indicating that no valid values can be obtained. LcuPrice *ItemPrice `json:"LcuPrice,omitnil,omitempty" name:"LcuPrice"` }
type Quota ¶
type Quota struct { // Quota name. Valid values: // <li> `TOTAL_OPEN_CLB_QUOTA`: Quota of public network CLB instances in the current region</li> // <li> `TOTAL_INTERNAL_CLB_QUOTA`: Quota of private network CLB instances in the current region</li> // <li> `TOTAL_LISTENER_QUOTA`: Quota of listeners under one CLB instance</li> // <li> `TOTAL_LISTENER_RULE_QUOTA`: Quota of forwarding rules under one listener</li> // <li> `TOTAL_TARGET_BIND_QUOTA`: Quota of CVM instances can be bound under one forwarding rule</li> // <li> `TOTAL_SNAP_IP_QUOTA`: Quota of SNAT IPs for cross-region binding 2.0 under one CLB instance </li> // <li> `TOTAL_ISP_CLB_QUOTA`: Quota of triple-ISP (CMCC/CUCC/CTCC) CLB instances in the current region</li> QuotaId *string `json:"QuotaId,omitnil,omitempty" name:"QuotaId"` // Currently used quantity. If it is `null`, it is meaningless. // Note: this field may return null, indicating that no valid values can be obtained. QuotaCurrent *int64 `json:"QuotaCurrent,omitnil,omitempty" name:"QuotaCurrent"` // Quota limit. QuotaLimit *int64 `json:"QuotaLimit,omitnil,omitempty" name:"QuotaLimit"` }
type RegisterFunctionTargetsRequest ¶
type RegisterFunctionTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // SCF functions to be bound. FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil,omitempty" name:"FunctionTargets"` // ID of the target forwarding rule. To bind an SCF function to a L7 forwarding rule, this parameter or `Domain+Url` is required. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Domain name of the target forwarding rule. It is ignored if `LocationId` is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // URL of the target forwarding rule. It is ignored if `LocationId` is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
func NewRegisterFunctionTargetsRequest ¶
func NewRegisterFunctionTargetsRequest() (request *RegisterFunctionTargetsRequest)
func (*RegisterFunctionTargetsRequest) FromJsonString ¶
func (r *RegisterFunctionTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RegisterFunctionTargetsRequest) ToJsonString ¶
func (r *RegisterFunctionTargetsRequest) ToJsonString() string
type RegisterFunctionTargetsRequestParams ¶
type RegisterFunctionTargetsRequestParams struct { // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // SCF functions to be bound. FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil,omitempty" name:"FunctionTargets"` // ID of the target forwarding rule. To bind an SCF function to a L7 forwarding rule, this parameter or `Domain+Url` is required. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Domain name of the target forwarding rule. It is ignored if `LocationId` is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // URL of the target forwarding rule. It is ignored if `LocationId` is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
Predefined struct for user
type RegisterFunctionTargetsResponse ¶
type RegisterFunctionTargetsResponse struct { *tchttp.BaseResponse Response *RegisterFunctionTargetsResponseParams `json:"Response"` }
func NewRegisterFunctionTargetsResponse ¶
func NewRegisterFunctionTargetsResponse() (response *RegisterFunctionTargetsResponse)
func (*RegisterFunctionTargetsResponse) FromJsonString ¶
func (r *RegisterFunctionTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RegisterFunctionTargetsResponse) ToJsonString ¶
func (r *RegisterFunctionTargetsResponse) ToJsonString() string
type RegisterFunctionTargetsResponseParams ¶
type RegisterFunctionTargetsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RegisterTargetGroupInstancesRequest ¶
type RegisterTargetGroupInstancesRequest struct { *tchttp.BaseRequest // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // Server instance array TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil,omitempty" name:"TargetGroupInstances"` }
func NewRegisterTargetGroupInstancesRequest ¶
func NewRegisterTargetGroupInstancesRequest() (request *RegisterTargetGroupInstancesRequest)
func (*RegisterTargetGroupInstancesRequest) FromJsonString ¶
func (r *RegisterTargetGroupInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RegisterTargetGroupInstancesRequest) ToJsonString ¶
func (r *RegisterTargetGroupInstancesRequest) ToJsonString() string
type RegisterTargetGroupInstancesRequestParams ¶
type RegisterTargetGroupInstancesRequestParams struct { // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // Server instance array TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,omitnil,omitempty" name:"TargetGroupInstances"` }
Predefined struct for user
type RegisterTargetGroupInstancesResponse ¶
type RegisterTargetGroupInstancesResponse struct { *tchttp.BaseResponse Response *RegisterTargetGroupInstancesResponseParams `json:"Response"` }
func NewRegisterTargetGroupInstancesResponse ¶
func NewRegisterTargetGroupInstancesResponse() (response *RegisterTargetGroupInstancesResponse)
func (*RegisterTargetGroupInstancesResponse) FromJsonString ¶
func (r *RegisterTargetGroupInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RegisterTargetGroupInstancesResponse) ToJsonString ¶
func (r *RegisterTargetGroupInstancesResponse) ToJsonString() string
type RegisterTargetGroupInstancesResponseParams ¶
type RegisterTargetGroupInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RegisterTargetsRequest ¶
type RegisterTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // List of real servers to be bound. Array length limit: 20. Targets []*Target `json:"Targets,omitnil,omitempty" name:"Targets"` // Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target forwarding rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target forwarding rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
func NewRegisterTargetsRequest ¶
func NewRegisterTargetsRequest() (request *RegisterTargetsRequest)
func (*RegisterTargetsRequest) FromJsonString ¶
func (r *RegisterTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RegisterTargetsRequest) ToJsonString ¶
func (r *RegisterTargetsRequest) ToJsonString() string
type RegisterTargetsRequestParams ¶
type RegisterTargetsRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // List of real servers to be bound. Array length limit: 20. Targets []*Target `json:"Targets,omitnil,omitempty" name:"Targets"` // Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target forwarding rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target forwarding rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
Predefined struct for user
type RegisterTargetsResponse ¶
type RegisterTargetsResponse struct { *tchttp.BaseResponse Response *RegisterTargetsResponseParams `json:"Response"` }
func NewRegisterTargetsResponse ¶
func NewRegisterTargetsResponse() (response *RegisterTargetsResponse)
func (*RegisterTargetsResponse) FromJsonString ¶
func (r *RegisterTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RegisterTargetsResponse) ToJsonString ¶
func (r *RegisterTargetsResponse) ToJsonString() string
type RegisterTargetsResponseParams ¶
type RegisterTargetsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RegisterTargetsWithClassicalLBRequest ¶
type RegisterTargetsWithClassicalLBRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Real server information Targets []*ClassicalTargetInfo `json:"Targets,omitnil,omitempty" name:"Targets"` }
func NewRegisterTargetsWithClassicalLBRequest ¶
func NewRegisterTargetsWithClassicalLBRequest() (request *RegisterTargetsWithClassicalLBRequest)
func (*RegisterTargetsWithClassicalLBRequest) FromJsonString ¶
func (r *RegisterTargetsWithClassicalLBRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RegisterTargetsWithClassicalLBRequest) ToJsonString ¶
func (r *RegisterTargetsWithClassicalLBRequest) ToJsonString() string
type RegisterTargetsWithClassicalLBRequestParams ¶
type RegisterTargetsWithClassicalLBRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Real server information Targets []*ClassicalTargetInfo `json:"Targets,omitnil,omitempty" name:"Targets"` }
Predefined struct for user
type RegisterTargetsWithClassicalLBResponse ¶
type RegisterTargetsWithClassicalLBResponse struct { *tchttp.BaseResponse Response *RegisterTargetsWithClassicalLBResponseParams `json:"Response"` }
func NewRegisterTargetsWithClassicalLBResponse ¶
func NewRegisterTargetsWithClassicalLBResponse() (response *RegisterTargetsWithClassicalLBResponse)
func (*RegisterTargetsWithClassicalLBResponse) FromJsonString ¶
func (r *RegisterTargetsWithClassicalLBResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RegisterTargetsWithClassicalLBResponse) ToJsonString ¶
func (r *RegisterTargetsWithClassicalLBResponse) ToJsonString() string
type RegisterTargetsWithClassicalLBResponseParams ¶
type RegisterTargetsWithClassicalLBResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ReplaceCertForLoadBalancersRequest ¶
type ReplaceCertForLoadBalancersRequest struct { *tchttp.BaseRequest // ID of the certificate to be replaced, which can be a server certificate or a client certificate. OldCertificateId *string `json:"OldCertificateId,omitnil,omitempty" name:"OldCertificateId"` // Information such as the content of the new certificate Certificate *CertificateInput `json:"Certificate,omitnil,omitempty" name:"Certificate"` }
func NewReplaceCertForLoadBalancersRequest ¶
func NewReplaceCertForLoadBalancersRequest() (request *ReplaceCertForLoadBalancersRequest)
func (*ReplaceCertForLoadBalancersRequest) FromJsonString ¶
func (r *ReplaceCertForLoadBalancersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceCertForLoadBalancersRequest) ToJsonString ¶
func (r *ReplaceCertForLoadBalancersRequest) ToJsonString() string
type ReplaceCertForLoadBalancersRequestParams ¶
type ReplaceCertForLoadBalancersRequestParams struct { // ID of the certificate to be replaced, which can be a server certificate or a client certificate. OldCertificateId *string `json:"OldCertificateId,omitnil,omitempty" name:"OldCertificateId"` // Information such as the content of the new certificate Certificate *CertificateInput `json:"Certificate,omitnil,omitempty" name:"Certificate"` }
Predefined struct for user
type ReplaceCertForLoadBalancersResponse ¶
type ReplaceCertForLoadBalancersResponse struct { *tchttp.BaseResponse Response *ReplaceCertForLoadBalancersResponseParams `json:"Response"` }
func NewReplaceCertForLoadBalancersResponse ¶
func NewReplaceCertForLoadBalancersResponse() (response *ReplaceCertForLoadBalancersResponse)
func (*ReplaceCertForLoadBalancersResponse) FromJsonString ¶
func (r *ReplaceCertForLoadBalancersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceCertForLoadBalancersResponse) ToJsonString ¶
func (r *ReplaceCertForLoadBalancersResponse) ToJsonString() string
type ReplaceCertForLoadBalancersResponseParams ¶
type ReplaceCertForLoadBalancersResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Resource ¶
type Resource struct { // Specific ISP resource information, Vaules: `CMCC`, `CUCC`, `CTCC`, `BGP`, and `INTERNAL`. Type []*string `json:"Type,omitnil,omitempty" name:"Type"` // ISP information, such as `CMCC`, `CUCC`, `CTCC`, `BGP`, and `INTERNAL`. Isp *string `json:"Isp,omitnil,omitempty" name:"Isp"` // Available resources // Note: This field may return `null`, indicating that no valid values can be obtained. AvailabilitySet []*ResourceAvailability `json:"AvailabilitySet,omitnil,omitempty" name:"AvailabilitySet"` // ISP Type // Note: This field may return null, indicating that no valid values can be obtained. TypeSet []*TypeInfo `json:"TypeSet,omitnil,omitempty" name:"TypeSet"` }
type ResourceAvailability ¶
type ResourceAvailability struct { // Specific ISP resource information. Values: `CMCC`, `CUCC`, `CTCC`, `BGP`. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Whether the resource is available. Values: `Available`, `Unavailable` Availability *string `json:"Availability,omitnil,omitempty" name:"Availability"` }
type RewriteLocationMap ¶
type RewriteLocationMap struct { // Source forwarding rule ID SourceLocationId *string `json:"SourceLocationId,omitnil,omitempty" name:"SourceLocationId"` // ID of the forwarding rule of the destination TargetLocationId *string `json:"TargetLocationId,omitnil,omitempty" name:"TargetLocationId"` // Redirection status code. Valid values: 301, 302, and 307. RewriteCode *int64 `json:"RewriteCode,omitnil,omitempty" name:"RewriteCode"` // Whether the matched URL is carried in redirection. It is required when configuring `RewriteCode`. TakeUrl *bool `json:"TakeUrl,omitnil,omitempty" name:"TakeUrl"` // Original domain name of redirection, which must be the corresponding domain name of `SourceLocationId`. It is required when configuring `RewriteCode`. SourceDomain *string `json:"SourceDomain,omitnil,omitempty" name:"SourceDomain"` }
type RewriteTarget ¶
type RewriteTarget struct { // Listener ID of a redirect target // Note: This field may return null, indicating that there is no redirection. // Note: This field may return null, indicating that no valid values can be obtained. TargetListenerId *string `json:"TargetListenerId,omitnil,omitempty" name:"TargetListenerId"` // Forwarding rule ID of a redirect target // Note: This field may return null, indicating that there is no redirection. // Note: This field may return null, indicating that no valid values can be obtained. TargetLocationId *string `json:"TargetLocationId,omitnil,omitempty" name:"TargetLocationId"` // Redirection status code // Note: this field may return `null`, indicating that no valid values can be obtained. RewriteCode *int64 `json:"RewriteCode,omitnil,omitempty" name:"RewriteCode"` // Whether the matched URL is carried in redirection. // Note: this field may return `null`, indicating that no valid values can be obtained. TakeUrl *bool `json:"TakeUrl,omitnil,omitempty" name:"TakeUrl"` // Redirection type. Manual: manual redirection; Auto: automatic redirection. // Note: this field may return `null`, indicating that no valid values can be obtained. RewriteType *string `json:"RewriteType,omitnil,omitempty" name:"RewriteType"` }
type RsWeightRule ¶
type RsWeightRule struct { // CLB listener ID. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // List of real servers whose weights to modify. Targets []*Target `json:"Targets,omitnil,omitempty" name:"Targets"` // Forwarding rule ID, which is required only for layer-7 rules. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified Url *string `json:"Url,omitnil,omitempty" name:"Url"` // The new forwarding weight of the real server. Value range: [0, 100]. This parameter takes lower precedence than `Weight` in [`Targets`](https://intl.cloud.tencent.com/document/api/214/30694?from_cn_redirect=1#Target), which means that this parameter only takes effect when the `Weight` in `RsWeightRule` is left empty. Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"` }
type RuleHealth ¶
type RuleHealth struct { // Forwarding rule ID LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Domain name of the forwarding rule // Note: This field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Forwarding rule Url // Note: This field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Health status of the real server bound to this rule // Note: this field may return `null`, indicating that no valid values can be obtained. Targets []*TargetHealth `json:"Targets,omitnil,omitempty" name:"Targets"` }
type RuleInput ¶
type RuleInput struct { // Forwarding rule path. Length: 1-200. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // The domain name associated with the forwarding rule. It can contain 1-80 characters. Only one domain name can be entered. If you need to enter multiple domain names, use `Domains`. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Session persistence time in seconds. Value range: 30-3,600. Setting it to 0 indicates that session persistence is disabled. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil,omitempty" name:"SessionExpireTime"` // Health check information. For more information, please see [Health Check](https://intl.cloud.tencent.com/document/product/214/6097?from_cn_redirect=1) HealthCheck *HealthCheck `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // Certificate information. `Certificate` and `MultiCertInfo` cannot be specified at the same time. Certificate *CertificateInput `json:"Certificate,omitnil,omitempty" name:"Certificate"` // Request forwarding method of the rule. Value range: WRR, LEAST_CONN, IP_HASH // They represent weighted round robin, least connections, and IP hash, respectively. Default value: WRR. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Forwarding protocol between the CLB instance and backend service. Values: `HTTP`, `HTTPS`, `GRPC` and `TRPC` (only for internal usage). It defaults to `HTTP`. ForwardType *string `json:"ForwardType,omitnil,omitempty" name:"ForwardType"` // Whether to set this domain name as the default domain name. Note: Only one default domain name can be set under one listener. DefaultServer *bool `json:"DefaultServer,omitnil,omitempty" name:"DefaultServer"` // Whether to enable HTTP/2. Note: HTTP/2 can be enabled only for HTTPS domain names. Http2 *bool `json:"Http2,omitnil,omitempty" name:"Http2"` // Target real server type. NODE: binding a general node; TARGETGROUP: binding a target group. TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"` // TRPC callee server route, which is required when `ForwardType` is "TRPC". This is now only for internal usage. TrpcCallee *string `json:"TrpcCallee,omitnil,omitempty" name:"TrpcCallee"` // TRPC calling service API, which is required when `ForwardType` is "TRPC". This is now only for internal usage. TrpcFunc *string `json:"TrpcFunc,omitnil,omitempty" name:"TrpcFunc"` // Whether to enable QUIC. Note: QUIC can be enabled only for HTTPS domain names Quic *bool `json:"Quic,omitnil,omitempty" name:"Quic"` // The domain name associated with the forwarding rule. Each contain 1-80 characters. If you only need to enter one domain name, use `Domain` instead. Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"` // Certificate information. You can specify multiple server-side certificates with different algorithm types. `Certificate` and `MultiCertInfo` cannot be specified at the same time. MultiCertInfo *MultiCertInfo `json:"MultiCertInfo,omitnil,omitempty" name:"MultiCertInfo"` }
type RuleOutput ¶
type RuleOutput struct { // Forwarding rule ID LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Domain name of the forwarding rule. // Note: This field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Forwarding rule path. // Note: This field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Session persistence time SessionExpireTime *int64 `json:"SessionExpireTime,omitnil,omitempty" name:"SessionExpireTime"` // Health check information // Note: This field may return null, indicating that no valid values can be obtained. HealthCheck *HealthCheck `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // Certificate information // Note: This field may return null, indicating that no valid values can be obtained. Certificate *CertificateOutput `json:"Certificate,omitnil,omitempty" name:"Certificate"` // Request forwarding method of the rule Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // ID of the listener to which the forwarding rule belongs ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Redirect target information of a forwarding rule // Note: This field may return null, indicating that no valid values can be obtained. RewriteTarget *RewriteTarget `json:"RewriteTarget,omitnil,omitempty" name:"RewriteTarget"` // Whether to enable gzip HttpGzip *bool `json:"HttpGzip,omitnil,omitempty" name:"HttpGzip"` // Whether the forwarding rule is automatically created BeAutoCreated *bool `json:"BeAutoCreated,omitnil,omitempty" name:"BeAutoCreated"` // Whether to use as the default domain name DefaultServer *bool `json:"DefaultServer,omitnil,omitempty" name:"DefaultServer"` // Whether to enable Http2 Http2 *bool `json:"Http2,omitnil,omitempty" name:"Http2"` // Forwarding protocol between CLB and real server ForwardType *string `json:"ForwardType,omitnil,omitempty" name:"ForwardType"` // Forwarding rule creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Real server type TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"` // Basic information of a bound target group. This field will be returned if a target group is bound to a rule. // Note: This field may return null, indicating that no valid values can be obtained. TargetGroup *BasicTargetGroupInfo `json:"TargetGroup,omitnil,omitempty" name:"TargetGroup"` // WAF instance ID // Note: This field may return null, indicating that no valid values can be obtained. WafDomainId *string `json:"WafDomainId,omitnil,omitempty" name:"WafDomainId"` // TRPC callee server route, which is valid when `ForwardType` is `TRPC`. This is now only for internal usage. // Note: This field may return null, indicating that no valid values can be obtained. TrpcCallee *string `json:"TrpcCallee,omitnil,omitempty" name:"TrpcCallee"` // TRPC calling service API, which is valid when `ForwardType` is `TRPC`. This is now only for internal usage. // Note: This field may return null, indicating that no valid values can be obtained. TrpcFunc *string `json:"TrpcFunc,omitnil,omitempty" name:"TrpcFunc"` // QUIC status // Note: this field may return null, indicating that no valid values can be obtained. QuicStatus *string `json:"QuicStatus,omitnil,omitempty" name:"QuicStatus"` // List of domain names associated with the forwarding rule // Note: This field may return `null`, indicating that no valid values can be obtained. Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"` // List of bound target groups // Note: This field may return `null`, indicating that no valid values can be obtained. TargetGroupList []*BasicTargetGroupInfo `json:"TargetGroupList,omitnil,omitempty" name:"TargetGroupList"` }
type RuleTargets ¶
type RuleTargets struct { // Forwarding rule ID LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Domain name of the forwarding rule Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Forwarding rule path. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Real server information // Note: This field may return null, indicating that no valid values can be obtained. Targets []*Backend `json:"Targets,omitnil,omitempty" name:"Targets"` // Information about backend SCF functions. // Note: This field may return null, indicating that no valid values can be obtained. FunctionTargets []*FunctionTarget `json:"FunctionTargets,omitnil,omitempty" name:"FunctionTargets"` }
type RulesItems ¶
type RulesItems struct { // Rule ID. LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` // Domain name. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Uri Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Object bound to the real server. Targets []*LbRsTargets `json:"Targets,omitnil,omitempty" name:"Targets"` }
type SetCustomizedConfigForLoadBalancerRequest ¶
type SetCustomizedConfigForLoadBalancerRequest struct { *tchttp.BaseRequest // Operation type: `ADD`, `DELETE`, `UPDATE`, `BIND`, `UNBIND` OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` // This field is required except for creating custom configurations, such as "pz-1234abcd". UconfigId *string `json:"UconfigId,omitnil,omitempty" name:"UconfigId"` // This field is required when creating or modifying custom configurations. ConfigContent *string `json:"ConfigContent,omitnil,omitempty" name:"ConfigContent"` // This field is required when creating or renaming custom configurations. ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // This field is required when binding/unbinding resources. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` }
func NewSetCustomizedConfigForLoadBalancerRequest ¶
func NewSetCustomizedConfigForLoadBalancerRequest() (request *SetCustomizedConfigForLoadBalancerRequest)
func (*SetCustomizedConfigForLoadBalancerRequest) FromJsonString ¶
func (r *SetCustomizedConfigForLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetCustomizedConfigForLoadBalancerRequest) ToJsonString ¶
func (r *SetCustomizedConfigForLoadBalancerRequest) ToJsonString() string
type SetCustomizedConfigForLoadBalancerRequestParams ¶
type SetCustomizedConfigForLoadBalancerRequestParams struct { // Operation type: `ADD`, `DELETE`, `UPDATE`, `BIND`, `UNBIND` OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` // This field is required except for creating custom configurations, such as "pz-1234abcd". UconfigId *string `json:"UconfigId,omitnil,omitempty" name:"UconfigId"` // This field is required when creating or modifying custom configurations. ConfigContent *string `json:"ConfigContent,omitnil,omitempty" name:"ConfigContent"` // This field is required when creating or renaming custom configurations. ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // This field is required when binding/unbinding resources. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` }
Predefined struct for user
type SetCustomizedConfigForLoadBalancerResponse ¶
type SetCustomizedConfigForLoadBalancerResponse struct { *tchttp.BaseResponse Response *SetCustomizedConfigForLoadBalancerResponseParams `json:"Response"` }
func NewSetCustomizedConfigForLoadBalancerResponse ¶
func NewSetCustomizedConfigForLoadBalancerResponse() (response *SetCustomizedConfigForLoadBalancerResponse)
func (*SetCustomizedConfigForLoadBalancerResponse) FromJsonString ¶
func (r *SetCustomizedConfigForLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetCustomizedConfigForLoadBalancerResponse) ToJsonString ¶
func (r *SetCustomizedConfigForLoadBalancerResponse) ToJsonString() string
type SetCustomizedConfigForLoadBalancerResponseParams ¶
type SetCustomizedConfigForLoadBalancerResponseParams struct { // Configuration ID, such as "pz-1234abcd" ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SetLoadBalancerClsLogRequest ¶
type SetLoadBalancerClsLogRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLS logset ID // <li>Enter the ID of logset you need to add or update. You can acquire the ID by invoking [DescribeLogsets](https://intl.cloud.tencent.com/document/product/614/56454?from_cn_redirect=1).</li> // <li>To delete the log set, set this parameter to `null`.</li> LogSetId *string `json:"LogSetId,omitnil,omitempty" name:"LogSetId"` // CLS log topic ID // <li>Enter the ID of log topic you need to add or update. You can acquire the ID by invoking [DescribeTopics](https://intl.cloud.tencent.com/document/product/614/56454?from_cn_redirect=1).</li> // <li>To delete the log set, set this parameter to `null`.</li> LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"` // Log type: // <li>`ACCESS`: access logs</li> // <li>`HEALTH`: health check logs</li> // Default: `ACCESS` LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` }
func NewSetLoadBalancerClsLogRequest ¶
func NewSetLoadBalancerClsLogRequest() (request *SetLoadBalancerClsLogRequest)
func (*SetLoadBalancerClsLogRequest) FromJsonString ¶
func (r *SetLoadBalancerClsLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetLoadBalancerClsLogRequest) ToJsonString ¶
func (r *SetLoadBalancerClsLogRequest) ToJsonString() string
type SetLoadBalancerClsLogRequestParams ¶
type SetLoadBalancerClsLogRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLS logset ID // <li>Enter the ID of logset you need to add or update. You can acquire the ID by invoking [DescribeLogsets](https://intl.cloud.tencent.com/document/product/614/56454?from_cn_redirect=1).</li> // <li>To delete the log set, set this parameter to `null`.</li> LogSetId *string `json:"LogSetId,omitnil,omitempty" name:"LogSetId"` // CLS log topic ID // <li>Enter the ID of log topic you need to add or update. You can acquire the ID by invoking [DescribeTopics](https://intl.cloud.tencent.com/document/product/614/56454?from_cn_redirect=1).</li> // <li>To delete the log set, set this parameter to `null`.</li> LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"` // Log type: // <li>`ACCESS`: access logs</li> // <li>`HEALTH`: health check logs</li> // Default: `ACCESS` LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` }
Predefined struct for user
type SetLoadBalancerClsLogResponse ¶
type SetLoadBalancerClsLogResponse struct { *tchttp.BaseResponse Response *SetLoadBalancerClsLogResponseParams `json:"Response"` }
func NewSetLoadBalancerClsLogResponse ¶
func NewSetLoadBalancerClsLogResponse() (response *SetLoadBalancerClsLogResponse)
func (*SetLoadBalancerClsLogResponse) FromJsonString ¶
func (r *SetLoadBalancerClsLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetLoadBalancerClsLogResponse) ToJsonString ¶
func (r *SetLoadBalancerClsLogResponse) ToJsonString() string
type SetLoadBalancerClsLogResponseParams ¶
type SetLoadBalancerClsLogResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SetLoadBalancerSecurityGroupsRequest ¶
type SetLoadBalancerSecurityGroupsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Array of security group IDs. One CLB instance can be bound to up to 50 security groups. If you want to unbind all security groups, you do not need to pass in this parameter, or you can pass in an empty array. SecurityGroups []*string `json:"SecurityGroups,omitnil,omitempty" name:"SecurityGroups"` }
func NewSetLoadBalancerSecurityGroupsRequest ¶
func NewSetLoadBalancerSecurityGroupsRequest() (request *SetLoadBalancerSecurityGroupsRequest)
func (*SetLoadBalancerSecurityGroupsRequest) FromJsonString ¶
func (r *SetLoadBalancerSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetLoadBalancerSecurityGroupsRequest) ToJsonString ¶
func (r *SetLoadBalancerSecurityGroupsRequest) ToJsonString() string
type SetLoadBalancerSecurityGroupsRequestParams ¶
type SetLoadBalancerSecurityGroupsRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Array of security group IDs. One CLB instance can be bound to up to 50 security groups. If you want to unbind all security groups, you do not need to pass in this parameter, or you can pass in an empty array. SecurityGroups []*string `json:"SecurityGroups,omitnil,omitempty" name:"SecurityGroups"` }
Predefined struct for user
type SetLoadBalancerSecurityGroupsResponse ¶
type SetLoadBalancerSecurityGroupsResponse struct { *tchttp.BaseResponse Response *SetLoadBalancerSecurityGroupsResponseParams `json:"Response"` }
func NewSetLoadBalancerSecurityGroupsResponse ¶
func NewSetLoadBalancerSecurityGroupsResponse() (response *SetLoadBalancerSecurityGroupsResponse)
func (*SetLoadBalancerSecurityGroupsResponse) FromJsonString ¶
func (r *SetLoadBalancerSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetLoadBalancerSecurityGroupsResponse) ToJsonString ¶
func (r *SetLoadBalancerSecurityGroupsResponse) ToJsonString() string
type SetLoadBalancerSecurityGroupsResponseParams ¶
type SetLoadBalancerSecurityGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SetSecurityGroupForLoadbalancersRequest ¶
type SetSecurityGroupForLoadbalancersRequest struct { *tchttp.BaseRequest // Security group ID, such as sg-12345678 SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` // ADD: bind a security group; // DEL: unbind a security group OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` // Array of CLB instance IDs LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` }
func NewSetSecurityGroupForLoadbalancersRequest ¶
func NewSetSecurityGroupForLoadbalancersRequest() (request *SetSecurityGroupForLoadbalancersRequest)
func (*SetSecurityGroupForLoadbalancersRequest) FromJsonString ¶
func (r *SetSecurityGroupForLoadbalancersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetSecurityGroupForLoadbalancersRequest) ToJsonString ¶
func (r *SetSecurityGroupForLoadbalancersRequest) ToJsonString() string
type SetSecurityGroupForLoadbalancersRequestParams ¶
type SetSecurityGroupForLoadbalancersRequestParams struct { // Security group ID, such as sg-12345678 SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` // ADD: bind a security group; // DEL: unbind a security group OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` // Array of CLB instance IDs LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil,omitempty" name:"LoadBalancerIds"` }
Predefined struct for user
type SetSecurityGroupForLoadbalancersResponse ¶
type SetSecurityGroupForLoadbalancersResponse struct { *tchttp.BaseResponse Response *SetSecurityGroupForLoadbalancersResponseParams `json:"Response"` }
func NewSetSecurityGroupForLoadbalancersResponse ¶
func NewSetSecurityGroupForLoadbalancersResponse() (response *SetSecurityGroupForLoadbalancersResponse)
func (*SetSecurityGroupForLoadbalancersResponse) FromJsonString ¶
func (r *SetSecurityGroupForLoadbalancersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetSecurityGroupForLoadbalancersResponse) ToJsonString ¶
func (r *SetSecurityGroupForLoadbalancersResponse) ToJsonString() string
type SetSecurityGroupForLoadbalancersResponseParams ¶
type SetSecurityGroupForLoadbalancersResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SlaUpdateParam ¶
type SlaUpdateParam struct { // ID of the CLB instance LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // LCU-supported instance specification. Value: // <li>`SLA`: If you have activated Super Large LCU-supported instances, `SLA` indicates Super Large 4.</li> // <li>`clb.c2.medium`: Standard</li> // <li>`clb.c3.small`: Advanced 1</li> // <li>`clb.c3.medium`: Advanced 2</li> // <li>`clb.c4.small`: Super Large 1</li> // <li>`clb.c4.medium`: Super Large 2</li> // <li>`clb.c4.large`: Super Large 3</li> // <li>`clb.c4.xlarge`: Super Large 4</li> For Super Large 2 and above specifications, please [submit a ticket](https://console.cloud.tencent.com/workorder/category). For more specifications, see [Specifications Comparison](https://intl.cloud.tencent.com/document/product/214/84689?from_cn_redirect=1) SlaType *string `json:"SlaType,omitnil,omitempty" name:"SlaType"` }
type SpecAvailability ¶
type SpecAvailability struct { // Specification type // Note: This field may return null, indicating that no valid values can be obtained. SpecType *string `json:"SpecType,omitnil,omitempty" name:"SpecType"` // Specification availability // Note: This field may return null, indicating that no valid values can be obtained. Availability *string `json:"Availability,omitnil,omitempty" name:"Availability"` }
type Target ¶
type Target struct { // Listening port of a real server // Note: this parameter is required when binding a CVM or ENI. // Note: this field may return `null`, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Real server type. Value range: CVM (Cloud Virtual Machine), ENI (Elastic Network Interface). This parameter does not take effect currently as an input parameter. // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Unique ID of a CVM instance, which is required when binding a CVM instance. It can be obtained from the `InstanceId` field in the response of the `DescribeInstances` API. It indicates binding the primary IP of the primary ENI. // Note: Either `InstanceId` or `EniIp` can be passed in. // Note: This field may return `null`, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The new forwarding weight of the real server. Value range: [0, 100]. Default: 10. This parameter takes priority over `Weight` in [`RsWeightRule`](https://intl.cloud.tencent.com/document/api/214/30694?from_cn_redirect=1#RsWeightRule). If it’s left empty, the value of `Weight` in `RsWeightRule` will be used. Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"` // It is required when binding an IP. ENI IPs and other private IPs are supported. To bind an ENI IP, the ENI should be bound to a CVM instance before being bound to a CLB instance. // Note: Either `InstanceId` or `EniIp` can be passed in. `EniIp` is required in a cross-region binding or when the dual-stack IPV6 CVM is bound. // Note: This field may return `null`, indicating that no valid values can be obtained. EniIp *string `json:"EniIp,omitnil,omitempty" name:"EniIp"` }
type TargetGroupAssociation ¶
type TargetGroupAssociation struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // Listener ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // Forwarding rule ID LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"` }
type TargetGroupBackend ¶
type TargetGroupBackend struct { // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // Real server type. Valid values: CVM, ENI (coming soon) Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Unique real server ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Listening port of real server Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Forwarding weight of real server. Value range: [0, 100]. Default value: 10. Weight *uint64 `json:"Weight,omitnil,omitempty" name:"Weight"` // Public IP of real server // Note: this field may return null, indicating that no valid values can be obtained. PublicIpAddresses []*string `json:"PublicIpAddresses,omitnil,omitempty" name:"PublicIpAddresses"` // Private IP of real server // Note: this field may return null, indicating that no valid values can be obtained. PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil,omitempty" name:"PrivateIpAddresses"` // Real server instance name // Note: this field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Real server binding time // Note: this field may return null, indicating that no valid values can be obtained. RegisteredTime *string `json:"RegisteredTime,omitnil,omitempty" name:"RegisteredTime"` // Unique ENI ID // Note: this field may return null, indicating that no valid values can be obtained. EniId *string `json:"EniId,omitnil,omitempty" name:"EniId"` // AZ ID of the real server // Note: This field may return `null`, indicating that no valid values can be obtained. ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
type TargetGroupInfo ¶
type TargetGroupInfo struct { // Target group ID TargetGroupId *string `json:"TargetGroupId,omitnil,omitempty" name:"TargetGroupId"` // `vpcid` of target group VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Target group name TargetGroupName *string `json:"TargetGroupName,omitnil,omitempty" name:"TargetGroupName"` // Default port of target group // Note: this field may return null, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Target group creation time CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // Target group modification time UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"` // Array of associated rules // Note: this field may return null, indicating that no valid values can be obtained. AssociatedRule []*AssociationItem `json:"AssociatedRule,omitnil,omitempty" name:"AssociatedRule"` }
type TargetGroupInstance ¶
type TargetGroupInstance struct { // Private IP of target group instance BindIP *string `json:"BindIP,omitnil,omitempty" name:"BindIP"` // Port of target group instance Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Weight of target group instance Weight *uint64 `json:"Weight,omitnil,omitempty" name:"Weight"` // New port of target group instance NewPort *uint64 `json:"NewPort,omitnil,omitempty" name:"NewPort"` }
type TargetHealth ¶
type TargetHealth struct { // Private IP of the target IP *string `json:"IP,omitnil,omitempty" name:"IP"` // Port bound to the target Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Current health status. true: healthy; false: unhealthy. HealthStatus *bool `json:"HealthStatus,omitnil,omitempty" name:"HealthStatus"` // Instance ID of the target, such as ins-12345678 TargetId *string `json:"TargetId,omitnil,omitempty" name:"TargetId"` // Detailed information about the current health status. Alive: healthy; Dead: exceptional; Unknown: check not started/checking/unknown status. HealthStatusDetail *string `json:"HealthStatusDetail,omitnil,omitempty" name:"HealthStatusDetail"` // (**This parameter will be disused soon. Please use `HealthStatusDetail` instead.**) Details of the current health status. Values: `Alive` (healthy), `Dead` (abnormal), `Unknown` (Health check not started/checking/unknown status) // // Deprecated: HealthStatusDetial is deprecated. HealthStatusDetial *string `json:"HealthStatusDetial,omitnil,omitempty" name:"HealthStatusDetial"` }
type TargetRegionInfo ¶
type TypeInfo ¶
type TypeInfo struct { // ISP Type // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Specification availability // Note: This field may return null, indicating that no valid values can be obtained. SpecAvailabilitySet []*SpecAvailability `json:"SpecAvailabilitySet,omitnil,omitempty" name:"SpecAvailabilitySet"` }
type ZoneInfo ¶
type ZoneInfo struct { // Unique AZ ID in a numeric form, such as 100001 // Note: This field may return null, indicating that no valid values can be obtained. ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Unique AZ ID in a string form, such as ap-guangzhou-1 // Note: This field may return null, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // AZ name, such as Guangzhou Zone 1 // Note: This field may return null, indicating that no valid values can be obtained. ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // AZ region, e.g., ap-guangzhou. // Note: This field may return `null`, indicating that no valid values can be obtained. ZoneRegion *string `json:"ZoneRegion,omitnil,omitempty" name:"ZoneRegion"` // Whether the AZ is the `LocalZone`, e.g., false. // Note: This field may return `null`, indicating that no valid values can be obtained. LocalZone *bool `json:"LocalZone,omitnil,omitempty" name:"LocalZone"` // Whether the AZ is an edge zone. Values: `true`, `false`. // Note: This field may return `null`, indicating that no valid values can be obtained. EdgeZone *bool `json:"EdgeZone,omitnil,omitempty" name:"EdgeZone"` }
type ZoneResource ¶
type ZoneResource struct { // Primary AZ, such as "ap-guangzhou-1". MasterZone *string `json:"MasterZone,omitnil,omitempty" name:"MasterZone"` // List of resources // Note: This field may return null, indicating that no valid values can be obtained. ResourceSet []*Resource `json:"ResourceSet,omitnil,omitempty" name:"ResourceSet"` // Secondary AZ, such as "ap-guangzhou-2". // Note: This field may return null, indicating that no valid values can be obtained. SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"` // IP version. Values: `IPv4`, `IPv6`, and `IPv6_Nat`. IPVersion *string `json:"IPVersion,omitnil,omitempty" name:"IPVersion"` // Region of the AZ, such as `ap-guangzhou`. ZoneRegion *string `json:"ZoneRegion,omitnil,omitempty" name:"ZoneRegion"` // Whether the AZ is a `LocalZone`. Values: `true`, `false`. LocalZone *bool `json:"LocalZone,omitnil,omitempty" name:"LocalZone"` // Type of resources in the zone. Values: `SHARED`, `EXCLUSIVE` ZoneResourceType *string `json:"ZoneResourceType,omitnil,omitempty" name:"ZoneResourceType"` // Whether the AZ is an edge zone. Values: `true`, `false`. EdgeZone *bool `json:"EdgeZone,omitnil,omitempty" name:"EdgeZone"` // Network egress // Note: This field may return·null, indicating that no valid values can be obtained. Egress *string `json:"Egress,omitnil,omitempty" name:"Egress"` }