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) 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) 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) 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) 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) 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 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 HealthCheck
- type IdleLoadBalancer
- type InternetAccessible
- 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 ModifyListenerRequest
- type ModifyListenerRequestParams
- type ModifyListenerResponse
- type ModifyListenerResponseParams
- type ModifyLoadBalancerAttributesRequest
- type ModifyLoadBalancerAttributesRequestParams
- type ModifyLoadBalancerAttributesResponse
- type ModifyLoadBalancerAttributesResponseParams
- type ModifyLoadBalancerSlaRequest
- type ModifyLoadBalancerSlaRequestParams
- type ModifyLoadBalancerSlaResponse
- type ModifyLoadBalancerSlaResponseParams
- 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 Quota
- 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 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 TagInfo
- type Target
- type TargetGroupAssociation
- type TargetGroupBackend
- type TargetGroupInfo
- type TargetGroupInstance
- type TargetHealth
- type TargetRegionInfo
- 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,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type AssociationItem ¶
type AssociationItem struct { // ID of associated CLB instance LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // ID of associated listener ListenerId *string `json:"ListenerId,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,omitempty" name:"LocationId"` // Protocol type of associated listener, such as HTTP or TCP Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Port of associated listener Port *uint64 `json:"Port,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,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,omitempty" name:"Url"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // Listener name ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"` }
type AutoRewriteRequest ¶
type AutoRewriteRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // `HTTPS:443` listener ID ListenerId *string `json:"ListenerId,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,omitempty" name:"Domains"` // Redirection status code. Valid values: 301, 302, and 307. RewriteCodes []*int64 `json:"RewriteCodes,omitempty" name:"RewriteCodes"` // Whether the matched URL is carried in redirection. TakeUrls []*bool `json:"TakeUrls,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,omitempty" name:"LoadBalancerId"` // `HTTPS:443` listener ID ListenerId *string `json:"ListenerId,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,omitempty" name:"Domains"` // Redirection status code. Valid values: 301, 302, and 307. RewriteCodes []*int64 `json:"RewriteCodes,omitempty" name:"RewriteCodes"` // Whether the matched URL is carried in redirection. TakeUrls []*bool `json:"TakeUrls,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,omitempty" name:"RequestId"` }
Predefined struct for user
type Backend ¶
type Backend struct { // Real server type. Valid values: CVM, ENI. Type *string `json:"Type,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,omitempty" name:"InstanceId"` // Listening port of a real server Port *int64 `json:"Port,omitempty" name:"Port"` // Forwarding weight of a real server. Value range: [0, 100]. Default value: 10. Weight *int64 `json:"Weight,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,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,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,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,omitempty" name:"RegisteredTime"` // Unique ENI ID // Note: This field may return null, indicating that no valid values can be obtained. EniId *string `json:"EniId,omitempty" name:"EniId"` }
type BasicTargetGroupInfo ¶
type BatchDeregisterTargetsRequest ¶
type BatchDeregisterTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Unbinding targets Targets []*BatchTarget `json:"Targets,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,omitempty" name:"LoadBalancerId"` // Unbinding targets Targets []*BatchTarget `json:"Targets,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,omitempty" name:"FailListenerIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchModifyTargetWeightRequest ¶
type BatchModifyTargetWeightRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // List of weights to be modified in batches ModifyList []*RsWeightRule `json:"ModifyList,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,omitempty" name:"LoadBalancerId"` // List of weights to be modified in batches ModifyList []*RsWeightRule `json:"ModifyList,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,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchRegisterTargetsRequest ¶
type BatchRegisterTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Binding target Targets []*BatchTarget `json:"Targets,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,omitempty" name:"LoadBalancerId"` // Binding target Targets []*BatchTarget `json:"Targets,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,omitempty" name:"FailListenerIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchTarget ¶
type BatchTarget struct { // Listener ID. ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // The port to Bind Port *int64 `json:"Port,omitempty" name:"Port"` // CVM instance ID. The primary IP of the primary ENI will be bound. InstanceId *string `json:"InstanceId,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,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,omitempty" name:"Weight"` // Layer-7 rule ID. LocationId *string `json:"LocationId,omitempty" name:"LocationId"` }
type BindDetailItem ¶
type BindDetailItem struct { // Specifies the ID of CLB to be bound LoadBalancerId *string `json:"LoadBalancerId,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,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,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,omitempty" name:"LocationId"` // Listener name. // Note: this field may return `null`, indicating that no valid values can be obtained. ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"` // Listener protocol. // Note: this field may return `null`, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Listener port. // Note: this field may return `null`, indicating that no valid values can be obtained. Vport *int64 `json:"Vport,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,omitempty" name:"Url"` // Configuration ID. // Note: this field may return `null`, indicating that no valid values can be obtained. UconfigId *string `json:"UconfigId,omitempty" name:"UconfigId"` }
type CertIdRelatedWithLoadBalancers ¶
type CertIdRelatedWithLoadBalancers struct { // Certificate ID CertId *string `json:"CertId,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,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,omitempty" name:"CertId"` // Name of the uploaded certificate. It's required if `CertId` is not specified. CertName *string `json:"CertName,omitempty" name:"CertName"` // Public key of the uploaded certificate. It's required if `CertId` is not specified. CertContent *string `json:"CertContent,omitempty" name:"CertContent"` // Private key of the uploaded server certificate. It's required if `CertId` is not specified. CertKey *string `json:"CertKey,omitempty" name:"CertKey"` }
type CertificateInput ¶
type CertificateInput struct { // Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication) SSLMode *string `json:"SSLMode,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,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,omitempty" name:"CertCaId"` // Name of the uploaded server certificate. If there is no CertId, this parameter is required. CertName *string `json:"CertName,omitempty" name:"CertName"` // Key of the uploaded server certificate. If there is no CertId, this parameter is required. CertKey *string `json:"CertKey,omitempty" name:"CertKey"` // Content of the uploaded server certificate. If there is no CertId, this parameter is required. CertContent *string `json:"CertContent,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,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,omitempty" name:"CertCaContent"` }
type CertificateOutput ¶
type CertificateOutput struct { // Authentication type. Value range: UNIDIRECTIONAL (unidirectional authentication), MUTUAL (mutual authentication) SSLMode *string `json:"SSLMode,omitempty" name:"SSLMode"` // Server certificate ID. CertId *string `json:"CertId,omitempty" name:"CertId"` // Client certificate ID. // Note: This field may return null, indicating that no valid values can be obtained. CertCaId *string `json:"CertCaId,omitempty" name:"CertCaId"` }
type ClassicalHealth ¶
type ClassicalHealth struct { // Private IP of a real server IP *string `json:"IP,omitempty" name:"IP"` // Real server port Port *int64 `json:"Port,omitempty" name:"Port"` // CLB listener port ListenerPort *int64 `json:"ListenerPort,omitempty" name:"ListenerPort"` // Forwarding protocol Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Health check result. Value range: 1 (healthy), 0 (unhealthy) HealthStatus *int64 `json:"HealthStatus,omitempty" name:"HealthStatus"` }
type ClassicalListener ¶
type ClassicalListener struct { // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // CLB listener port ListenerPort *int64 `json:"ListenerPort,omitempty" name:"ListenerPort"` // Backend forwarding port of a listener InstancePort *int64 `json:"InstancePort,omitempty" name:"InstancePort"` // Listener name ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"` // Listener protocol type Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Session persistence time SessionExpire *int64 `json:"SessionExpire,omitempty" name:"SessionExpire"` // Whether health check is enabled. 1: enabled; 0: disabled. HealthSwitch *int64 `json:"HealthSwitch,omitempty" name:"HealthSwitch"` // Response timeout period TimeOut *int64 `json:"TimeOut,omitempty" name:"TimeOut"` // Check interval IntervalTime *int64 `json:"IntervalTime,omitempty" name:"IntervalTime"` // Health threshold HealthNum *int64 `json:"HealthNum,omitempty" name:"HealthNum"` // Unhealthy threshold UnhealthNum *int64 `json:"UnhealthNum,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,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,omitempty" name:"HttpCode"` // Health check path for HTTP and HTTPS listeners of a public network classic CLB HttpCheckPath *string `json:"HttpCheckPath,omitempty" name:"HttpCheckPath"` // Authentication method for an HTTPS listener of a public network classic CLB SSLMode *string `json:"SSLMode,omitempty" name:"SSLMode"` // Server certificate ID for an HTTPS listener of a public network classic CLB CertId *string `json:"CertId,omitempty" name:"CertId"` // Client certificate ID for an HTTPS listener of a public network classic CLB CertCaId *string `json:"CertCaId,omitempty" name:"CertCaId"` // Listener status. Value range: 0 (creating), 1 (running) Status *int64 `json:"Status,omitempty" name:"Status"` }
type ClassicalLoadBalancerInfo ¶
type ClassicalLoadBalancerInfo struct { // Real server ID InstanceId *string `json:"InstanceId,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,omitempty" name:"LoadBalancerIds"` }
type ClassicalTarget ¶
type ClassicalTarget struct { // Real server type. Value range: CVM, ENI (coming soon) Type *string `json:"Type,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,omitempty" name:"InstanceId"` // Forwarding weight of a real server. Value range: [0, 100]. Default value: 10. Weight *int64 `json:"Weight,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,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,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,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,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.
Use limits:
Unsupported instance types: Classic network CLB, Classic CLB, IPv6 CLB, and NAT64 CLB.
Monthly subscribed CLB instances are not supported.
QUIC and port listeners are not supported.
The CLB backend service cannot be a target group or an SCF function.
The following settings will not be cloned automatically and require manual configuration: "Custom Configuration", "Redirection Configuration" and "Allow Traffic by Default in Security Group".
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. 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%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.
Use limits:
Unsupported instance types: Classic network CLB, Classic CLB, IPv6 CLB, and NAT64 CLB.
Monthly subscribed CLB instances are not supported.
QUIC and port listeners are not supported.
The CLB backend service cannot be a target group or an SCF function.
The following settings will not be cloned automatically and require manual configuration: "Custom Configuration", "Redirection Configuration" and "Allow Traffic by Default in Security Group".
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. 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%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) 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" 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" 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" 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" 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" 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" 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"
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"
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) 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) 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 shared CLB instances to LCU-supported 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" 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 shared CLB instances to LCU-supported 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" RESOURCEINSUFFICIENT = "ResourceInsufficient" 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) 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" 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" 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,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,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,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,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,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,omitempty" name:"ZoneId"` // CLB network billing mode. This parameter is applicable only to public network CLB instances. InternetAccessible *InternetAccessible `json:"InternetAccessible,omitempty" name:"InternetAccessible"` // This parameter is applicable only to public network CLB instances. Valid values: CMCC (China Mobile), CTCC (China Telecom), CUCC (China Unicom). If this parameter is not specified, BGP will be used by default. ISPs supported in a region can be queried with the `DescribeSingleIsp` API. If an ISP is specified, only bill-by-bandwidth-package (BANDWIDTH_PACKAGE) can be used as the network billing mode. VipIsp *string `json:"VipIsp,omitempty" name:"VipIsp"` // Applies for CLB instances for a specified VIP Vip *string `json:"Vip,omitempty" name:"Vip"` // Tags a CLB instance when purchasing it Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` // Dedicated cluster information ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,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,omitempty" name:"BandwidthPackageId"` // Whether to support binding cross-VPC IPs or cross-region IPs SnatPro *bool `json:"SnatPro,omitempty" name:"SnatPro"` // Creates `SnatIp` when the binding IPs of other VPCs feature is enabled SnatIps []*SnatIp `json:"SnatIps,omitempty" name:"SnatIps"` // ID of the public network CLB dedicated cluster ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"` // Guaranteed performance specification. SlaType *string `json:"SlaType,omitempty" name:"SlaType"` // Tag of the STGW dedicated cluster ClusterTag *string `json:"ClusterTag,omitempty" name:"ClusterTag"` // Availability zones for nearby access of private network CLB instances to distribute traffic Zones []*string `json:"Zones,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,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,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,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,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,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,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,omitempty" name:"ZoneId"` // CLB network billing mode. This parameter is applicable only to public network CLB instances. InternetAccessible *InternetAccessible `json:"InternetAccessible,omitempty" name:"InternetAccessible"` // This parameter is applicable only to public network CLB instances. Valid values: CMCC (China Mobile), CTCC (China Telecom), CUCC (China Unicom). If this parameter is not specified, BGP will be used by default. ISPs supported in a region can be queried with the `DescribeSingleIsp` API. If an ISP is specified, only bill-by-bandwidth-package (BANDWIDTH_PACKAGE) can be used as the network billing mode. VipIsp *string `json:"VipIsp,omitempty" name:"VipIsp"` // Applies for CLB instances for a specified VIP Vip *string `json:"Vip,omitempty" name:"Vip"` // Tags a CLB instance when purchasing it Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` // Dedicated cluster information ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,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,omitempty" name:"BandwidthPackageId"` // Whether to support binding cross-VPC IPs or cross-region IPs SnatPro *bool `json:"SnatPro,omitempty" name:"SnatPro"` // Creates `SnatIp` when the binding IPs of other VPCs feature is enabled SnatIps []*SnatIp `json:"SnatIps,omitempty" name:"SnatIps"` // ID of the public network CLB dedicated cluster ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"` // Guaranteed performance specification. SlaType *string `json:"SlaType,omitempty" name:"SlaType"` // Tag of the STGW dedicated cluster ClusterTag *string `json:"ClusterTag,omitempty" name:"ClusterTag"` // Availability zones for nearby access of private network CLB instances to distribute traffic Zones []*string `json:"Zones,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ClusterItem ¶
type ClusterItem struct { // Unique cluster ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Cluster name // Note: this field may return null, indicating that no valid values can be obtained. ClusterName *string `json:"ClusterName,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,omitempty" name:"Zone"` }
type ConfigListItem ¶
type ConfigListItem struct { // Configuration ID. UconfigId *string `json:"UconfigId,omitempty" name:"UconfigId"` // Configuration type. ConfigType *string `json:"ConfigType,omitempty" name:"ConfigType"` // Configuration name. // Note: this field may return `null`, indicating that no valid values can be obtained. ConfigName *string `json:"ConfigName,omitempty" name:"ConfigName"` // Configuration content. ConfigContent *string `json:"ConfigContent,omitempty" name:"ConfigContent"` // Creates configuration time. CreateTimestamp *string `json:"CreateTimestamp,omitempty" name:"CreateTimestamp"` // Modifies configuration time. UpdateTimestamp *string `json:"UpdateTimestamp,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,omitempty" name:"LogsetName"` // Logset retention period (in days) Period *uint64 `json:"Period,omitempty" name:"Period"` // Logset type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs). LogsetType *string `json:"LogsetType,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,omitempty" name:"LogsetName"` // Logset retention period (in days) Period *uint64 `json:"Period,omitempty" name:"Period"` // Logset type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs). LogsetType *string `json:"LogsetType,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,omitempty" name:"LogsetId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateListenerRequest ¶
type CreateListenerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Specifies for which ports to create listeners. Each port corresponds to a new listener. Ports []*int64 `json:"Ports,omitempty" name:"Ports"` // Listener protocol: TCP, UDP, HTTP, HTTPS, or TCP_SSL (which is currently in beta test. If you want to use it, please submit a ticket for application). Protocol *string `json:"Protocol,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,omitempty" name:"ListenerNames"` // Health check parameter, which is applicable only to TCP, UDP, and TCP_SSL listeners. HealthCheck *HealthCheck `json:"HealthCheck,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,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,omitempty" name:"SessionExpireTime"` // Forwarding method of a listener. Value range: WRR, LEAST_CONN. // They represent weighted round robin and least connections, respectively. Default value: WRR. This parameter is applicable only to TCP/UDP/TCP_SSL listeners. Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"` // Whether to enable the SNI feature. This parameter is applicable only to HTTPS listeners SniSwitch *int64 `json:"SniSwitch,omitempty" name:"SniSwitch"` // Target real server type. `NODE`: binding a general node; `TARGETGROUP`: binding a target group. TargetType *string `json:"TargetType,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,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,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,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,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,omitempty" name:"MultiCertInfo"` MaxConn *int64 `json:"MaxConn,omitempty" name:"MaxConn"` MaxCps *int64 `json:"MaxCps,omitempty" name:"MaxCps"` }
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,omitempty" name:"LoadBalancerId"` // Specifies for which ports to create listeners. Each port corresponds to a new listener. Ports []*int64 `json:"Ports,omitempty" name:"Ports"` // Listener protocol: TCP, UDP, HTTP, HTTPS, or TCP_SSL (which is currently in beta test. If you want to use it, please submit a ticket for application). Protocol *string `json:"Protocol,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,omitempty" name:"ListenerNames"` // Health check parameter, which is applicable only to TCP, UDP, and TCP_SSL listeners. HealthCheck *HealthCheck `json:"HealthCheck,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,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,omitempty" name:"SessionExpireTime"` // Forwarding method of a listener. Value range: WRR, LEAST_CONN. // They represent weighted round robin and least connections, respectively. Default value: WRR. This parameter is applicable only to TCP/UDP/TCP_SSL listeners. Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"` // Whether to enable the SNI feature. This parameter is applicable only to HTTPS listeners SniSwitch *int64 `json:"SniSwitch,omitempty" name:"SniSwitch"` // Target real server type. `NODE`: binding a general node; `TARGETGROUP`: binding a target group. TargetType *string `json:"TargetType,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,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,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,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,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,omitempty" name:"MultiCertInfo"` MaxConn *int64 `json:"MaxConn,omitempty" name:"MaxConn"` MaxCps *int64 `json:"MaxCps,omitempty" name:"MaxCps"` }
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,omitempty" name:"ListenerIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"LoadBalancerType"` // CLB instance type. Valid value: 1 (generic CLB instance). Forward *int64 `json:"Forward,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,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,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,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,omitempty" name:"ProjectId"` // IP version. Valid values: `IPV4` (default), `IPV6` (IPV6 NAT64 version) or `IPv6FullChain` (IPv6 version). This parameter is only for public network CLB instances. AddressIPVersion *string `json:"AddressIPVersion,omitempty" name:"AddressIPVersion"` // Number of CLBs to be created. Default value: 1. Number *uint64 `json:"Number,omitempty" name:"Number"` // 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: By default, the traffic goes to the primary AZ. The secondary AZs only carry traffic when the primary AZ is unavailable. The optimal secondary AZ is chosen automatically. You can query the primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). MasterZoneId *string `json:"MasterZoneId,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,omitempty" name:"ZoneId"` // CLB network billing mode. This parameter is applicable only to public network CLB instances. InternetAccessible *InternetAccessible `json:"InternetAccessible,omitempty" name:"InternetAccessible"` // This parameter is applicable only to public network CLB instances. Valid values: CMCC (China Mobile), CTCC (China Telecom), CUCC (China Unicom). If this parameter is not specified, BGP will be used by default. ISPs supported in a region can be queried with the `DescribeSingleIsp` API. If an ISP is specified, only bill-by-bandwidth-package (BANDWIDTH_PACKAGE) can be used as the network billing mode. VipIsp *string `json:"VipIsp,omitempty" name:"VipIsp"` // Tags the CLB instance when purchasing it. Up to 20 tag key value pairs are supported. Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` // Specifies a VIP for the CLB instance. // <ul><li>`VpcId` is optional for creating shared clusters of public network CLB instances. For IPv6 CLB instance type, `SubnetId` is required; for IPv4 and IPv6 NAT64 types, it can be left empty.</li> // <li>`VpcId` is optional for creating shared clusters of public network CLB instances. For IPv6 CLB instance type, `SubnetId` is required; for IPv4 and IPv6 NAT64 types, it can be left empty. // </li></ul> Vip *string `json:"Vip,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,omitempty" name:"BandwidthPackageId"` // Exclusive cluster information. This parameter is required for creating exclusive clusters of CLB instances. ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitempty" name:"ExclusiveCluster"` // Creates an LCU-supported CLB instance // <ul><li>To create an LCU-supported CLB, this field is required and the value is `SLA`. LCU-supports CLBs adopt the pay-as-you-go model and their performance is guaranteed.</li> // <li>It’s not required for a shared CLB instance.</li></ul> SlaType *string `json:"SlaType,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,omitempty" name:"ClientToken"` // Whether Binding IPs of other VPCs feature switch SnatPro *bool `json:"SnatPro,omitempty" name:"SnatPro"` // Creates `SnatIp` when the binding IPs of other VPCs feature is enabled SnatIps []*SnatIp `json:"SnatIps,omitempty" name:"SnatIps"` // Tag for the STGW exclusive cluster. ClusterTag *string `json:"ClusterTag,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,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,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,omitempty" name:"LoadBalancerPassToTarget"` }
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,omitempty" name:"LoadBalancerType"` // CLB instance type. Valid value: 1 (generic CLB instance). Forward *int64 `json:"Forward,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,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,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,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,omitempty" name:"ProjectId"` // IP version. Valid values: `IPV4` (default), `IPV6` (IPV6 NAT64 version) or `IPv6FullChain` (IPv6 version). This parameter is only for public network CLB instances. AddressIPVersion *string `json:"AddressIPVersion,omitempty" name:"AddressIPVersion"` // Number of CLBs to be created. Default value: 1. Number *uint64 `json:"Number,omitempty" name:"Number"` // 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: By default, the traffic goes to the primary AZ. The secondary AZs only carry traffic when the primary AZ is unavailable. The optimal secondary AZ is chosen automatically. You can query the primary and secondary AZ of a region by calling [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). MasterZoneId *string `json:"MasterZoneId,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,omitempty" name:"ZoneId"` // CLB network billing mode. This parameter is applicable only to public network CLB instances. InternetAccessible *InternetAccessible `json:"InternetAccessible,omitempty" name:"InternetAccessible"` // This parameter is applicable only to public network CLB instances. Valid values: CMCC (China Mobile), CTCC (China Telecom), CUCC (China Unicom). If this parameter is not specified, BGP will be used by default. ISPs supported in a region can be queried with the `DescribeSingleIsp` API. If an ISP is specified, only bill-by-bandwidth-package (BANDWIDTH_PACKAGE) can be used as the network billing mode. VipIsp *string `json:"VipIsp,omitempty" name:"VipIsp"` // Tags the CLB instance when purchasing it. Up to 20 tag key value pairs are supported. Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` // Specifies a VIP for the CLB instance. // <ul><li>`VpcId` is optional for creating shared clusters of public network CLB instances. For IPv6 CLB instance type, `SubnetId` is required; for IPv4 and IPv6 NAT64 types, it can be left empty.</li> // <li>`VpcId` is optional for creating shared clusters of public network CLB instances. For IPv6 CLB instance type, `SubnetId` is required; for IPv4 and IPv6 NAT64 types, it can be left empty. // </li></ul> Vip *string `json:"Vip,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,omitempty" name:"BandwidthPackageId"` // Exclusive cluster information. This parameter is required for creating exclusive clusters of CLB instances. ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,omitempty" name:"ExclusiveCluster"` // Creates an LCU-supported CLB instance // <ul><li>To create an LCU-supported CLB, this field is required and the value is `SLA`. LCU-supports CLBs adopt the pay-as-you-go model and their performance is guaranteed.</li> // <li>It’s not required for a shared CLB instance.</li></ul> SlaType *string `json:"SlaType,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,omitempty" name:"ClientToken"` // Whether Binding IPs of other VPCs feature switch SnatPro *bool `json:"SnatPro,omitempty" name:"SnatPro"` // Creates `SnatIp` when the binding IPs of other VPCs feature is enabled SnatIps []*SnatIp `json:"SnatIps,omitempty" name:"SnatIps"` // Tag for the STGW exclusive cluster. ClusterTag *string `json:"ClusterTag,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,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,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,omitempty" name:"LoadBalancerPassToTarget"` }
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,omitempty" name:"LoadBalancerIds"` // Order ID. // Note: this field may return `null`, indicating that no valid values can be obtained. DealName *string `json:"DealName,omitempty" name:"DealName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,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,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,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,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,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRuleRequest ¶
type CreateRuleRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Information of the new forwarding rule Rules []*RuleInput `json:"Rules,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,omitempty" name:"LoadBalancerId"` // Listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Information of the new forwarding rule Rules []*RuleInput `json:"Rules,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,omitempty" name:"LocationIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,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,omitempty" name:"VpcId"` // Default port of a target group, which can be used for subsequently added servers. Port *uint64 `json:"Port,omitempty" name:"Port"` // Real server bound to a target group TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,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,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,omitempty" name:"VpcId"` // Default port of a target group, which can be used for subsequently added servers. Port *uint64 `json:"Port,omitempty" name:"Port"` // Real server bound to a target group TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,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,omitempty" name:"TargetGroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTopicRequest ¶
type CreateTopicRequest struct { *tchttp.BaseRequest // Log topic name TopicName *string `json:"TopicName,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,omitempty" name:"PartitionCount"` // Log type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs). TopicType *string `json:"TopicType,omitempty" name:"TopicType"` // Logset retention period (in days). Default: 30 days. Period *uint64 `json:"Period,omitempty" name:"Period"` // Log topic storage type. Valid values: `hot` (STANDARD storage); `cold` (IA storage). Default value: `hot`. StorageType *string `json:"StorageType,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,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,omitempty" name:"PartitionCount"` // Log type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs). TopicType *string `json:"TopicType,omitempty" name:"TopicType"` // Logset retention period (in days). Default: 30 days. Period *uint64 `json:"Period,omitempty" name:"Period"` // Log topic storage type. Valid values: `hot` (STANDARD storage); `cold` (IA storage). Default value: `hot`. StorageType *string `json:"StorageType,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,omitempty" name:"TopicId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CrossTargets ¶
type CrossTargets struct { // VPC ID of the CLB instance LocalVpcId *string `json:"LocalVpcId,omitempty" name:"LocalVpcId"` // VPC ID of the CVM or ENI instance VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // IP address of the CVM or ENI instance IP *string `json:"IP,omitempty" name:"IP"` // VPC name of the CVM or ENI instance VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // ENI ID of the CVM instance EniId *string `json:"EniId,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,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,omitempty" name:"InstanceName"` // Region of the CVM or ENI instance Region *string `json:"Region,omitempty" name:"Region"` }
type DeleteListenerRequest ¶
type DeleteListenerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // ID of the listener to be deleted ListenerId *string `json:"ListenerId,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,omitempty" name:"LoadBalancerId"` // ID of the listener to be deleted ListenerId *string `json:"ListenerId,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLoadBalancerListenersRequest ¶
type DeleteLoadBalancerListenersRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,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,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,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,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,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,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,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,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,omitempty" name:"LoadBalancerId"` // Array of the SNAT IP addresses to be deleted Ips []*string `json:"Ips,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,omitempty" name:"LoadBalancerId"` // Array of the SNAT IP addresses to be deleted Ips []*string `json:"Ips,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRewriteRequest ¶
type DeleteRewriteRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Source listener ID SourceListenerId *string `json:"SourceListenerId,omitempty" name:"SourceListenerId"` // Target listener ID TargetListenerId *string `json:"TargetListenerId,omitempty" name:"TargetListenerId"` // Redirection relationship between forwarding rules RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,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,omitempty" name:"LoadBalancerId"` // Source listener ID SourceListenerId *string `json:"SourceListenerId,omitempty" name:"SourceListenerId"` // Target listener ID TargetListenerId *string `json:"TargetListenerId,omitempty" name:"TargetListenerId"` // Redirection relationship between forwarding rules RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRuleRequest ¶
type DeleteRuleRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Array of IDs of the forwarding rules to be deleted LocationIds []*string `json:"LocationIds,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,omitempty" name:"Domain"` // The forwarding path of the forwarding rule to delete. Url *string `json:"Url,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,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,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Array of IDs of the forwarding rules to be deleted LocationIds []*string `json:"LocationIds,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,omitempty" name:"Domain"` // The forwarding path of the forwarding rule to delete. Url *string `json:"Url,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTargetGroupsRequest ¶
type DeleteTargetGroupsRequest struct { *tchttp.BaseRequest // Target group ID array TargetGroupIds []*string `json:"TargetGroupIds,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DeregisterTargetGroupInstancesRequest ¶
type DeregisterTargetGroupInstancesRequest struct { *tchttp.BaseRequest // Target group ID TargetGroupId *string `json:"TargetGroupId,omitempty" name:"TargetGroupId"` // Information of server to be unbound TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,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,omitempty" name:"TargetGroupId"` // Information of server to be unbound TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DeregisterTargetsFromClassicalLBRequest ¶
type DeregisterTargetsFromClassicalLBRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // List of real server IDs InstanceIds []*string `json:"InstanceIds,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,omitempty" name:"LoadBalancerId"` // List of real server IDs InstanceIds []*string `json:"InstanceIds,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,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,omitempty" name:"LoadBalancerId"` // Listener ID in the format of "lbl-12345678" ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // List of real servers to be unbound. Array length limit: 20. Targets []*Target `json:"Targets,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,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,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,omitempty" name:"LoadBalancerId"` // Listener ID in the format of "lbl-12345678" ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // List of real servers to be unbound. Array length limit: 20. Targets []*Target `json:"Targets,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,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBlockIPListRequest ¶
type DescribeBlockIPListRequest struct { *tchttp.BaseRequest // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Data offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Maximum number of IPs to be returned. Default value: 100,000. Limit *uint64 `json:"Limit,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,omitempty" name:"LoadBalancerId"` // Data offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Maximum number of IPs to be returned. Default value: 100,000. Limit *uint64 `json:"Limit,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,omitempty" name:"BlockedIPCount"` // Field for getting real client IP ClientIPField *string `json:"ClientIPField,omitempty" name:"ClientIPField"` // List of IPs added to blocklist 12360 BlockedIPList []*BlockedIP `json:"BlockedIPList,omitempty" name:"BlockedIPList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,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,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,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClassicalLBByInstanceIdRequest ¶
type DescribeClassicalLBByInstanceIdRequest struct { *tchttp.BaseRequest // List of real server IDs InstanceIds []*string `json:"InstanceIds,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,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,omitempty" name:"LoadBalancerInfoList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClassicalLBHealthStatusRequest ¶
type DescribeClassicalLBHealthStatusRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,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,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,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,omitempty" name:"HealthList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClassicalLBListenersRequest ¶
type DescribeClassicalLBListenersRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // List of CLB listener IDs ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // CLB listening protocol. Valid values: TCP, UDP, HTTP, and HTTPS. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // CLB listening port. Value range: 1 - 65535. ListenerPort *int64 `json:"ListenerPort,omitempty" name:"ListenerPort"` // Listener status. Valid values: 0 (creating) and 1 (running). Status *int64 `json:"Status,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,omitempty" name:"LoadBalancerId"` // List of CLB listener IDs ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // CLB listening protocol. Valid values: TCP, UDP, HTTP, and HTTPS. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // CLB listening port. Value range: 1 - 65535. ListenerPort *int64 `json:"ListenerPort,omitempty" name:"ListenerPort"` // Listener status. Valid values: 0 (creating) and 1 (running). Status *int64 `json:"Status,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,omitempty" name:"Listeners"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClassicalLBTargetsRequest ¶
type DescribeClassicalLBTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,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,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,omitempty" name:"Targets"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"LogsetId"` // Health check logset ID HealthLogsetId *string `json:"HealthLogsetId,omitempty" name:"HealthLogsetId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"Limit"` // Starting offset of the real server list returned. Default value: 0. Offset *uint64 `json:"Offset,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,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,omitempty" name:"Limit"` // Starting offset of the real server list returned. Default value: 0. Offset *uint64 `json:"Offset,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,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,omitempty" name:"TotalCount"` // Real server list CrossTargetSet []*CrossTargets `json:"CrossTargetSet,omitempty" name:"CrossTargetSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomizedConfigAssociateListRequest ¶
type DescribeCustomizedConfigAssociateListRequest struct { *tchttp.BaseRequest // Configuration ID. UconfigId *string `json:"UconfigId,omitempty" name:"UconfigId"` // Start position of the binding list. Default: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of binding lists to pull. Default: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Searches for the domain name. Domain *string `json:"Domain,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,omitempty" name:"UconfigId"` // Start position of the binding list. Default: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of binding lists to pull. Default: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Searches for the domain name. Domain *string `json:"Domain,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,omitempty" name:"BindList"` // Total number of bound resources TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"ConfigType"` // Pagination offset. Default: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results per page. Default: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Specifies the name of configs to query. Fuzzy match is supported. ConfigName *string `json:"ConfigName,omitempty" name:"ConfigName"` // Configuration ID. UconfigIds []*string `json:"UconfigIds,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,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,omitempty" name:"ConfigType"` // Pagination offset. Default: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results per page. Default: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Specifies the name of configs to query. Fuzzy match is supported. ConfigName *string `json:"ConfigName,omitempty" name:"ConfigName"` // Configuration ID. UconfigIds []*string `json:"UconfigIds,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,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,omitempty" name:"ConfigList"` // Number of configurations. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIdleLoadBalancersRequest ¶
type DescribeIdleLoadBalancersRequest struct { *tchttp.BaseRequest // Data offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of returned CLB instances. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // CLB instance region LoadBalancerRegion *string `json:"LoadBalancerRegion,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,omitempty" name:"Offset"` // Number of returned CLB instances. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // CLB instance region LoadBalancerRegion *string `json:"LoadBalancerRegion,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,omitempty" name:"IdleLoadBalancers"` // Total number of idle CLB instances TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,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,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,omitempty" name:"LoadBalancers"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListenersRequest ¶
type DescribeListenersRequest struct { *tchttp.BaseRequest // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Array of CLB listener IDs to query (100 IDs at most). ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // Type of the listener protocols to be queried. Valid values: TCP, UDP, HTTP, HTTPS, and TCP_SSL. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Port of the listeners to be queried Port *int64 `json:"Port,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,omitempty" name:"LoadBalancerId"` // Array of CLB listener IDs to query (100 IDs at most). ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // Type of the listener protocols to be queried. Valid values: TCP, UDP, HTTP, HTTPS, and TCP_SSL. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Port of the listeners to be queried Port *int64 `json:"Port,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,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,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancerListByCertIdRequest ¶
type DescribeLoadBalancerListByCertIdRequest struct { *tchttp.BaseRequest // Server or client certificate ID CertIds []*string `json:"CertIds,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,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,omitempty" name:"CertSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"TotalCount"` // Number of CLB instances that are running RunningCount *int64 `json:"RunningCount,omitempty" name:"RunningCount"` // Number of CLB instances that are isolated IsolationCount *int64 `json:"IsolationCount,omitempty" name:"IsolationCount"` // Number of CLB instances that are about to expire WillExpireCount *int64 `json:"WillExpireCount,omitempty" name:"WillExpireCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,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,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,omitempty" name:"LoadBalancerTraffic"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"Limit"` // Starting offset of the CLB instance list returned. Default value: 0. Offset *uint64 `json:"Offset,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,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,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,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,omitempty" name:"Limit"` // Starting offset of the CLB instance list returned. Default value: 0. Offset *uint64 `json:"Offset,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,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,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,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,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,omitempty" name:"LoadBalancerDetailSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"LoadBalancerIds"` // CLB instance network type: // OPEN: public network; INTERNAL: private network. LoadBalancerType *string `json:"LoadBalancerType,omitempty" name:"LoadBalancerType"` // CLB instance type. 1: generic CLB instance; 0: classic CLB instance Forward *int64 `json:"Forward,omitempty" name:"Forward"` // CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // Domain name assigned to a CLB instance by Tencent Cloud. This parameter is meaningful only for the public network classic CLB. Domain *string `json:"Domain,omitempty" name:"Domain"` // VIP address of a CLB instance (there can be multiple addresses) LoadBalancerVips []*string `json:"LoadBalancerVips,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,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,omitempty" name:"BackendPrivateIps"` // Data offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned CLB instances. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Sort by parameter. Value range: LoadBalancerName, CreateTime, Domain, LoadBalancerType. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // 1: reverse; 0: sequential. Default value: reverse by creation time | OrderType *int64 `json:"OrderType,omitempty" name:"OrderType"` // Search field which fuzzy matches name, domain name, or VIP. SearchKey *string `json:"SearchKey,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,omitempty" name:"ProjectId"` // Whether a CLB instance is bound to a real server. 0: no; 1: yes; -1: query all. WithRs *int64 `json:"WithRs,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,omitempty" name:"VpcId"` // Security group ID, e.g., `sg-m1cc****`. SecurityGroup *string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // Primary AZ ID, e.g., `100001` (Guangzhou Zone 1). MasterZone *string `json:"MasterZone,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,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,omitempty" name:"LoadBalancerIds"` // CLB instance network type: // OPEN: public network; INTERNAL: private network. LoadBalancerType *string `json:"LoadBalancerType,omitempty" name:"LoadBalancerType"` // CLB instance type. 1: generic CLB instance; 0: classic CLB instance Forward *int64 `json:"Forward,omitempty" name:"Forward"` // CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // Domain name assigned to a CLB instance by Tencent Cloud. This parameter is meaningful only for the public network classic CLB. Domain *string `json:"Domain,omitempty" name:"Domain"` // VIP address of a CLB instance (there can be multiple addresses) LoadBalancerVips []*string `json:"LoadBalancerVips,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,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,omitempty" name:"BackendPrivateIps"` // Data offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of returned CLB instances. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Sort by parameter. Value range: LoadBalancerName, CreateTime, Domain, LoadBalancerType. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // 1: reverse; 0: sequential. Default value: reverse by creation time | OrderType *int64 `json:"OrderType,omitempty" name:"OrderType"` // Search field which fuzzy matches name, domain name, or VIP. SearchKey *string `json:"SearchKey,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,omitempty" name:"ProjectId"` // Whether a CLB instance is bound to a real server. 0: no; 1: yes; -1: query all. WithRs *int64 `json:"WithRs,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,omitempty" name:"VpcId"` // Security group ID, e.g., `sg-m1cc****`. SecurityGroup *string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // Primary AZ ID, e.g., `100001` (Guangzhou Zone 1). MasterZone *string `json:"MasterZone,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,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,omitempty" name:"TotalCount"` // Array of returned CLB instances. LoadBalancerSet []*LoadBalancer `json:"LoadBalancerSet,omitempty" name:"LoadBalancerSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"QuotaSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"Limit"` // Starting offset of the returned AZ resource list. Default value: 0. Offset *uint64 `json:"Offset,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,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,omitempty" name:"Limit"` // Starting offset of the returned AZ resource list. Default value: 0. Offset *uint64 `json:"Offset,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,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,omitempty" name:"ZoneResourceSet"` // Number of entries in the AZ resource list. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRewriteRequest ¶
type DescribeRewriteRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Array of CLB listener IDs SourceListenerIds []*string `json:"SourceListenerIds,omitempty" name:"SourceListenerIds"` // Array of CLB forwarding rule IDs SourceLocationIds []*string `json:"SourceLocationIds,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,omitempty" name:"LoadBalancerId"` // Array of CLB listener IDs SourceListenerIds []*string `json:"SourceListenerIds,omitempty" name:"SourceListenerIds"` // Array of CLB forwarding rule IDs SourceLocationIds []*string `json:"SourceLocationIds,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,omitempty" name:"RewriteSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"Filters"` // Number of displayed results. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Display offset. Default value: 0 Offset *uint64 `json:"Offset,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,omitempty" name:"Filters"` // Number of displayed results. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Display offset. Default value: 0 Offset *uint64 `json:"Offset,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,omitempty" name:"TotalCount"` // Information of the bound server TargetGroupInstanceSet []*TargetGroupBackend `json:"TargetGroupInstanceSet,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,omitempty" name:"RealCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTargetGroupListRequest ¶
type DescribeTargetGroupListRequest struct { *tchttp.BaseRequest // Target group ID array TargetGroupIds []*string `json:"TargetGroupIds,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,omitempty" name:"Filters"` // Starting display offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Limit of the number of displayed results. Default value: 20. Limit *uint64 `json:"Limit,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,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,omitempty" name:"Filters"` // Starting display offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Limit of the number of displayed results. Default value: 20. Limit *uint64 `json:"Limit,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,omitempty" name:"TotalCount"` // Information set of displayed target groups TargetGroupSet []*TargetGroupInfo `json:"TargetGroupSet,omitempty" name:"TargetGroupSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"TargetGroupIds"` // Limit of the number of displayed results. Default value: 20. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Starting display offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Filter array, which is exclusive of `TargetGroupIds`. Valid values: `TargetGroupVpcId` and `TargetGroupName`. Filters []*Filter `json:"Filters,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,omitempty" name:"TargetGroupIds"` // Limit of the number of displayed results. Default value: 20. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Starting display offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Filter array, which is exclusive of `TargetGroupIds`. Valid values: `TargetGroupVpcId` and `TargetGroupName`. Filters []*Filter `json:"Filters,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,omitempty" name:"TotalCount"` // Information set of displayed target groups TargetGroupSet []*TargetGroupInfo `json:"TargetGroupSet,omitempty" name:"TargetGroupSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,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,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,omitempty" name:"LoadBalancers"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTargetsRequest ¶
type DescribeTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // List of listener IDs (20 IDs at most). ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // Listener protocol type Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Listener port Port *int64 `json:"Port,omitempty" name:"Port"` }
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,omitempty" name:"LoadBalancerId"` // List of listener IDs (20 IDs at most). ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // Listener protocol type Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Listener port Port *int64 `json:"Port,omitempty" name:"Port"` }
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,omitempty" name:"Listeners"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"TaskId"` // Order ID. // Note: Either `TaskId` or `DealName` is required. DealName *string `json:"DealName,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,omitempty" name:"TaskId"` // Order ID. // Note: Either `TaskId` or `DealName` is required. DealName *string `json:"DealName,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,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,omitempty" name:"LoadBalancerIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DisassociateTargetGroupsRequest ¶
type DisassociateTargetGroupsRequest struct { *tchttp.BaseRequest // Array of rules to be unbound Associations []*TargetGroupAssociation `json:"Associations,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,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,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,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,omitempty" name:"L7Clusters"` // vpcgw cluster // Note: this field may return null, indicating that no valid values can be obtained. ClassicalCluster *ClusterItem `json:"ClassicalCluster,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,omitempty" name:"ZhiTong"` // TgwGroup name // Note: This field may return null, indicating that no valid values can be obtained. TgwGroupName *string `json:"TgwGroupName,omitempty" name:"TgwGroupName"` }
type HealthCheck ¶
type HealthCheck struct { // Whether to enable health check. 1: enable; 0: disable. HealthSwitch *int64 `json:"HealthSwitch,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,omitempty" name:"TimeOut"` // Health check interval in seconds. Value range: 5-300. Default value: 5. // Note: This field may return null, indicating that no valid values can be obtained. IntervalTime *int64 `json:"IntervalTime,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,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,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,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,omitempty" name:"HttpCheckPath"` // The target domain name for health check. It’s applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners. It’s required for TCP listeners. // Note: This field may return `null`, indicating that no valid values can be obtained. HttpCheckDomain *string `json:"HttpCheckDomain,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,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,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,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,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,omitempty" name:"RecvContext"` // Health check protocol (a custom check parameter). Value range: TCP, HTTP, CUSTOM (applicable only to TCP/UDP listeners, where UDP listeners only support CUSTOM. If custom health check is used, this parameter is required). // Note: This field may return null, indicating that no valid values can be obtained. CheckType *string `json:"CheckType,omitempty" name:"CheckType"` // Health check protocol (a custom check parameter), which is required if the value of CheckType is HTTP. This parameter represents the HTTP version of the real server. Value range: HTTP/1.0, HTTP/1.1. (Applicable only to TCP listeners.) // Note: This field may return null, indicating that no valid values can be obtained. HttpVersion *string `json:"HttpVersion,omitempty" name:"HttpVersion"` // Specifies the type of IP for health check. `0` (default): CLB VIP. `1`: Use the IP range starting with 100.64 as the source IP. // Note: This field may return `null`, indicating that no valid values can be obtained. SourceIpType *int64 `json:"SourceIpType,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,omitempty" name:"ExtendedCode"` }
type IdleLoadBalancer ¶
type IdleLoadBalancer struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // CLB instance region Region *string `json:"Region,omitempty" name:"Region"` // CLB instance VIP Vip *string `json:"Vip,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,omitempty" name:"IdleReason"` // CLB instance status, including: // `0`: Creating; `1`: Running. Status *uint64 `json:"Status,omitempty" name:"Status"` // CLB type. Value range: `1` (CLB); `0` (classic CLB). Forward *uint64 `json:"Forward,omitempty" name:"Forward"` }
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,omitempty" name:"InternetChargeType"` // Maximum outbound bandwidth in Mbps, which applies only to public network CLB. Value range: 0-65,535. Default value: 10. InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,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,omitempty" name:"BandwidthpkgSubType"` }
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,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,omitempty" name:"Period"` }
type LBItem ¶
type LBItem struct { // String ID of the CLB instance. LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // VIP of the CLB instance. Vip *string `json:"Vip,omitempty" name:"Vip"` // Listener rule. Listeners []*ListenerItem `json:"Listeners,omitempty" name:"Listeners"` // Region of the CLB instance Region *string `json:"Region,omitempty" name:"Region"` }
type LbRsTargets ¶
type LbRsTargets struct { // Private network IP type, which can be `cvm` or `eni`. Type *string `json:"Type,omitempty" name:"Type"` // Private network IP of the real server. PrivateIp *string `json:"PrivateIp,omitempty" name:"PrivateIp"` // Port bound to the real server. Port *int64 `json:"Port,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,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,omitempty" name:"Weight"` }
type Listener ¶
type Listener struct { // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Listener protocol Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Listener port Port *int64 `json:"Port,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,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,omitempty" name:"HealthCheck"` // Request scheduling method // Note: This field may return null, indicating that no valid values can be obtained. Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"` // Session persistence time // Note: This field may return null, indicating that no valid values can be obtained. SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"` // Whether to enable the SNI feature (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,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,omitempty" name:"Rules"` // Listener name // Note: This field may return null, indicating that no valid values can be obtained. ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"` // Listener creation time // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,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,omitempty" name:"EndPort"` // Real server type // Note: This field may return null, indicating that no valid values can be obtained. TargetType *string `json:"TargetType,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,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,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,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,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,omitempty" name:"DeregisterTargetRst"` // Attribute of listener // Note: This field may return `null`, indicating that no valid values can be obtained. AttrFlags []*string `json:"AttrFlags,omitempty" name:"AttrFlags"` }
type ListenerBackend ¶
type ListenerBackend struct { // Listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Listener protocol Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Listener port Port *int64 `json:"Port,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,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,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,omitempty" name:"EndPort"` }
type ListenerHealth ¶
type ListenerHealth struct { // Listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Listener name // Note: This field may return null, indicating that no valid values can be obtained. ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"` // Listener protocol Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Listener port Port *int64 `json:"Port,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,omitempty" name:"Rules"` }
type ListenerItem ¶
type ListenerItem struct { // Listener ID. ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Listener protocol. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Listener port. Port *int64 `json:"Port,omitempty" name:"Port"` // Bound rule. // Note: this field may return `null`, indicating that no valid values can be obtained. Rules []*RulesItems `json:"Rules,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,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,omitempty" name:"EndPort"` }
type LoadBalancer ¶
type LoadBalancer struct { // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // CLB instance network type: // OPEN: public network; INTERNAL: private network. LoadBalancerType *string `json:"LoadBalancerType,omitempty" name:"LoadBalancerType"` // CLB type identifier. Value range: 1 (CLB); 0 (classic CLB). Forward *uint64 `json:"Forward,omitempty" name:"Forward"` // CLB instance domain name. This field is provided only to public network classic CLB instance. // Note: This field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,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,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,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,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,omitempty" name:"StatusTime"` // ID of the project to which a CLB instance belongs. 0: default project. ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // VPC ID // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,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,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,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,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,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,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,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,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,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,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,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,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,omitempty" name:"VipIsp"` // Primary AZ // Note: This field may return null, indicating that no valid values can be obtained. MasterZone *ZoneInfo `json:"MasterZone,omitempty" name:"MasterZone"` // Secondary AZ // Note: This field may return null, indicating that no valid values can be obtained. BackupZoneSet []*ZoneInfo `json:"BackupZoneSet,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,omitempty" name:"SnatIps"` // Performance guarantee specification // Note: this field may return null, indicating that no valid values can be obtained. SlaType *string `json:"SlaType,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,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,omitempty" name:"IsBlockTime"` // Whether the IP type is the local BGP LocalBgp *bool `json:"LocalBgp,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,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,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,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,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,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,omitempty" name:"HealthLogTopicId"` ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"` // CLB attribute // Note: this field may return `null`, indicating that no valid values can be obtained. AttributeFlags []*string `json:"AttributeFlags,omitempty" name:"AttributeFlags"` }
type LoadBalancerDetail ¶
type LoadBalancerDetail struct { // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,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,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,omitempty" name:"Status"` // CLB instance VIP. // Note: this field may return null, indicating that no valid values can be obtained. Address *string `json:"Address,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,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,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,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,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,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,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,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,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,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,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,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,omitempty" name:"ExtraInfo"` // 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,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,omitempty" name:"Tags"` // CLB listener ID. // Note: this field may return null, indicating that no valid values can be obtained. ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Listener protocol. // Note: this field may return null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Listener port. // Note: this field may return null, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitempty" name:"Port"` // Forwarding rule ID. // Note: this field may return null, indicating that no valid values can be obtained. LocationId *string `json:"LocationId,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,omitempty" name:"Domain"` // Forwarding rule path. // Note: this field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,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,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,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,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,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,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,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,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,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,omitempty" name:"Domains"` }
type LoadBalancerHealth ¶
type LoadBalancerHealth struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB instance name // Note: This field may return null, indicating that no valid values can be obtained. LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // List of listeners // Note: This field may return null, indicating that no valid values can be obtained. Listeners []*ListenerHealth `json:"Listeners,omitempty" name:"Listeners"` }
type LoadBalancerTraffic ¶
type LoadBalancerTraffic struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // CLB instance region Region *string `json:"Region,omitempty" name:"Region"` // CLB instance VIP Vip *string `json:"Vip,omitempty" name:"Vip"` // Maximum outbound bandwidth in Mbps OutBandwidth *float64 `json:"OutBandwidth,omitempty" name:"OutBandwidth"` }
type ManualRewriteRequest ¶
type ManualRewriteRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Source listener ID SourceListenerId *string `json:"SourceListenerId,omitempty" name:"SourceListenerId"` // Target listener ID TargetListenerId *string `json:"TargetListenerId,omitempty" name:"TargetListenerId"` // Redirection relationship between forwarding rules RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,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,omitempty" name:"LoadBalancerId"` // Source listener ID SourceListenerId *string `json:"SourceListenerId,omitempty" name:"SourceListenerId"` // Target listener ID TargetListenerId *string `json:"TargetListenerId,omitempty" name:"TargetListenerId"` // Redirection relationship between forwarding rules RewriteInfos []*RewriteLocationMap `json:"RewriteInfos,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,omitempty" name:"RequestId"` }
Predefined struct for user
type MigrateClassicalLoadBalancersRequest ¶
type MigrateClassicalLoadBalancersRequest struct { *tchttp.BaseRequest // Array of classic CLB instance IDs LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` // Exclusive cluster information ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,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,omitempty" name:"LoadBalancerIds"` // Exclusive cluster information ExclusiveCluster *ExclusiveCluster `json:"ExclusiveCluster,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBlockIPListRequest ¶
type ModifyBlockIPListRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerIds []*string `json:"LoadBalancerIds,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,omitempty" name:"Type"` // Header field that stores real client IPs ClientIPField *string `json:"ClientIPField,omitempty" name:"ClientIPField"` // List of blocked IPs. The array can contain up to 200,000 entries in one operation. BlockIPList []*string `json:"BlockIPList,omitempty" name:"BlockIPList"` // Expiration time in seconds. Default value: 3600 ExpireTime *uint64 `json:"ExpireTime,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,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,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,omitempty" name:"Type"` // Header field that stores real client IPs ClientIPField *string `json:"ClientIPField,omitempty" name:"ClientIPField"` // List of blocked IPs. The array can contain up to 200,000 entries in one operation. BlockIPList []*string `json:"BlockIPList,omitempty" name:"BlockIPList"` // Expiration time in seconds. Default value: 3600 ExpireTime *uint64 `json:"ExpireTime,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,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,omitempty" name:"JodId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDomainAttributesRequest ¶
type ModifyDomainAttributesRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,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,omitempty" name:"Domain"` // The one domain name to modify. `NewDomain` and `NewDomains` can not be both specified. NewDomain *string `json:"NewDomain,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,omitempty" name:"Certificate"` // Whether to enable HTTP/2. Note: HTTP/2 can be enabled only for HTTPS domain names. Http2 *bool `json:"Http2,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,omitempty" name:"DefaultServer"` // 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,omitempty" name:"NewDefaultServerDomain"` // The new domain names to modify. `NewDomain` and `NewDomains` can not be both specified. NewDomains []*string `json:"NewDomains,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,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,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,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,omitempty" name:"Domain"` // The one domain name to modify. `NewDomain` and `NewDomains` can not be both specified. NewDomain *string `json:"NewDomain,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,omitempty" name:"Certificate"` // Whether to enable HTTP/2. Note: HTTP/2 can be enabled only for HTTPS domain names. Http2 *bool `json:"Http2,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,omitempty" name:"DefaultServer"` // 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,omitempty" name:"NewDefaultServerDomain"` // The new domain names to modify. `NewDomain` and `NewDomains` can not be both specified. NewDomains []*string `json:"NewDomains,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDomainRequest ¶
type ModifyDomainRequest struct { *tchttp.BaseRequest // CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB listener ID. ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Legacy domain name under a listener. Domain *string `json:"Domain,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,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,omitempty" name:"LoadBalancerId"` // CLB listener ID. ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Legacy domain name under a listener. Domain *string `json:"Domain,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyListenerRequest ¶
type ModifyListenerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // New listener name ListenerName *string `json:"ListenerName,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,omitempty" name:"SessionExpireTime"` // Health check parameter, which is applicable only to TCP, UDP, and TCP_SSL listeners. HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"` // Certificate information. This parameter is only applicable to HTTPS/TCP_SSL listeners. `Certificate` and `MultiCertInfo` cannot be specified at the same time. Certificate *CertificateInput `json:"Certificate,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,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,omitempty" name:"SniSwitch"` // Target backend type. `NODE`: A single node; `TARGETGROUP`: A target group. TargetType *string `json:"TargetType,omitempty" name:"TargetType"` // Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners. KeepaliveEnable *int64 `json:"KeepaliveEnable,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,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,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,omitempty" name:"MultiCertInfo"` MaxConn *int64 `json:"MaxConn,omitempty" name:"MaxConn"` MaxCps *int64 `json:"MaxCps,omitempty" name:"MaxCps"` }
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,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // New listener name ListenerName *string `json:"ListenerName,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,omitempty" name:"SessionExpireTime"` // Health check parameter, which is applicable only to TCP, UDP, and TCP_SSL listeners. HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"` // Certificate information. This parameter is only applicable to HTTPS/TCP_SSL listeners. `Certificate` and `MultiCertInfo` cannot be specified at the same time. Certificate *CertificateInput `json:"Certificate,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,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,omitempty" name:"SniSwitch"` // Target backend type. `NODE`: A single node; `TARGETGROUP`: A target group. TargetType *string `json:"TargetType,omitempty" name:"TargetType"` // Whether to enable a persistent connection. This parameter is applicable only to HTTP and HTTPS listeners. KeepaliveEnable *int64 `json:"KeepaliveEnable,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,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,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,omitempty" name:"MultiCertInfo"` MaxConn *int64 `json:"MaxConn,omitempty" name:"MaxConn"` MaxCps *int64 `json:"MaxCps,omitempty" name:"MaxCps"` }
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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLoadBalancerAttributesRequest ¶
type ModifyLoadBalancerAttributesRequest struct { *tchttp.BaseRequest // Unique CLB ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // Region information of the real server bound to a CLB. TargetRegionInfo *TargetRegionInfo `json:"TargetRegionInfo,omitempty" name:"TargetRegionInfo"` // Network billing parameter InternetChargeInfo *InternetAccessible `json:"InternetChargeInfo,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,omitempty" name:"LoadBalancerPassToTarget"` // Whether to enable SnatPro SnatPro *bool `json:"SnatPro,omitempty" name:"SnatPro"` // Specifies whether to enable deletion protection. DeleteProtect *bool `json:"DeleteProtect,omitempty" name:"DeleteProtect"` }
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,omitempty" name:"LoadBalancerId"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // Region information of the real server bound to a CLB. TargetRegionInfo *TargetRegionInfo `json:"TargetRegionInfo,omitempty" name:"TargetRegionInfo"` // Network billing parameter InternetChargeInfo *InternetAccessible `json:"InternetChargeInfo,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,omitempty" name:"LoadBalancerPassToTarget"` // Whether to enable SnatPro SnatPro *bool `json:"SnatPro,omitempty" name:"SnatPro"` // Specifies whether to enable deletion protection. DeleteProtect *bool `json:"DeleteProtect,omitempty" name:"DeleteProtect"` }
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,omitempty" name:"DealName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLoadBalancerSlaRequest ¶
type ModifyLoadBalancerSlaRequest struct { *tchttp.BaseRequest // CLB instance information LoadBalancerSla []*SlaUpdateParam `json:"LoadBalancerSla,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRuleRequest ¶
type ModifyRuleRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // ID of the forwarding rule to be modified. LocationId *string `json:"LocationId,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,omitempty" name:"Url"` // Health check information HealthCheck *HealthCheck `json:"HealthCheck,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,omitempty" name:"Scheduler"` // Session persistence time SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"` // Forwarding protocol between CLB instance and real server. Default value: HTTP. Valid values: HTTP, HTTPS, and TRPC. ForwardType *string `json:"ForwardType,omitempty" name:"ForwardType"` // TRPC callee server route, which is required when `ForwardType` is "TRPC". TrpcCallee *string `json:"TrpcCallee,omitempty" name:"TrpcCallee"` // TRPC calling service API, which is required when `ForwardType` is "TRPC". TrpcFunc *string `json:"TrpcFunc,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,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // ID of the forwarding rule to be modified. LocationId *string `json:"LocationId,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,omitempty" name:"Url"` // Health check information HealthCheck *HealthCheck `json:"HealthCheck,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,omitempty" name:"Scheduler"` // Session persistence time SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"` // Forwarding protocol between CLB instance and real server. Default value: HTTP. Valid values: HTTP, HTTPS, and TRPC. ForwardType *string `json:"ForwardType,omitempty" name:"ForwardType"` // TRPC callee server route, which is required when `ForwardType` is "TRPC". TrpcCallee *string `json:"TrpcCallee,omitempty" name:"TrpcCallee"` // TRPC calling service API, which is required when `ForwardType` is "TRPC". TrpcFunc *string `json:"TrpcFunc,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetGroupAttributeRequest ¶
type ModifyTargetGroupAttributeRequest struct { *tchttp.BaseRequest // Target group ID TargetGroupId *string `json:"TargetGroupId,omitempty" name:"TargetGroupId"` // New name of target group TargetGroupName *string `json:"TargetGroupName,omitempty" name:"TargetGroupName"` // New default port of target group Port *uint64 `json:"Port,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,omitempty" name:"TargetGroupId"` // New name of target group TargetGroupName *string `json:"TargetGroupName,omitempty" name:"TargetGroupName"` // New default port of target group Port *uint64 `json:"Port,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetGroupInstancesPortRequest ¶
type ModifyTargetGroupInstancesPortRequest struct { *tchttp.BaseRequest // Target group ID TargetGroupId *string `json:"TargetGroupId,omitempty" name:"TargetGroupId"` // Array of servers for which to modify ports TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,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,omitempty" name:"TargetGroupId"` // Array of servers for which to modify ports TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetGroupInstancesWeightRequest ¶
type ModifyTargetGroupInstancesWeightRequest struct { *tchttp.BaseRequest // Target group ID TargetGroupId *string `json:"TargetGroupId,omitempty" name:"TargetGroupId"` // Array of servers for which to modify weights TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,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,omitempty" name:"TargetGroupId"` // Array of servers for which to modify weights TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetPortRequest ¶
type ModifyTargetPortRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // List of real servers for which to modify the ports Targets []*Target `json:"Targets,omitempty" name:"Targets"` // New port of the real server bound to a listener or forwarding rule NewPort *int64 `json:"NewPort,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,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,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,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // List of real servers for which to modify the ports Targets []*Target `json:"Targets,omitempty" name:"Targets"` // New port of the real server bound to a listener or forwarding rule NewPort *int64 `json:"NewPort,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,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetWeightRequest ¶
type ModifyTargetWeightRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,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,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,omitempty" name:"Url"` // List of real servers for which to modify the weights Targets []*Target `json:"Targets,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,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,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,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,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,omitempty" name:"Url"` // List of real servers for which to modify the weights Targets []*Target `json:"Targets,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,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,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,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,omitempty" name:"CertList"` }
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,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,omitempty" name:"QuotaCurrent"` // Quota limit. QuotaLimit *int64 `json:"QuotaLimit,omitempty" name:"QuotaLimit"` }
type RegisterTargetGroupInstancesRequest ¶
type RegisterTargetGroupInstancesRequest struct { *tchttp.BaseRequest // Target group ID TargetGroupId *string `json:"TargetGroupId,omitempty" name:"TargetGroupId"` // Server instance array TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,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,omitempty" name:"TargetGroupId"` // Server instance array TargetGroupInstances []*TargetGroupInstance `json:"TargetGroupInstances,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,omitempty" name:"RequestId"` }
Predefined struct for user
type RegisterTargetsRequest ¶
type RegisterTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // List of real servers to be bound. Array length limit: 20. Targets []*Target `json:"Targets,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,omitempty" name:"LocationId"` // Target forwarding rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitempty" name:"Domain"` // Target forwarding rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,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,omitempty" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // List of real servers to be bound. Array length limit: 20. Targets []*Target `json:"Targets,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,omitempty" name:"LocationId"` // Target forwarding rule domain name. This parameter does not take effect if LocationId is specified. Domain *string `json:"Domain,omitempty" name:"Domain"` // Target forwarding rule URL. This parameter does not take effect if LocationId is specified. Url *string `json:"Url,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,omitempty" name:"RequestId"` }
Predefined struct for user
type RegisterTargetsWithClassicalLBRequest ¶
type RegisterTargetsWithClassicalLBRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Real server information Targets []*ClassicalTargetInfo `json:"Targets,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,omitempty" name:"LoadBalancerId"` // Real server information Targets []*ClassicalTargetInfo `json:"Targets,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,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,omitempty" name:"OldCertificateId"` // Information such as the content of the new certificate Certificate *CertificateInput `json:"Certificate,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,omitempty" name:"OldCertificateId"` // Information such as the content of the new certificate Certificate *CertificateInput `json:"Certificate,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,omitempty" name:"RequestId"` }
Predefined struct for user
type RewriteLocationMap ¶
type RewriteLocationMap struct { // Source forwarding rule ID SourceLocationId *string `json:"SourceLocationId,omitempty" name:"SourceLocationId"` // Forwarding rule ID of a redirect target TargetLocationId *string `json:"TargetLocationId,omitempty" name:"TargetLocationId"` // Redirection status code. Valid values: 301, 302, and 307. RewriteCode *int64 `json:"RewriteCode,omitempty" name:"RewriteCode"` // Whether the matched URL is carried in redirection. It is required when configuring `RewriteCode`. TakeUrl *bool `json:"TakeUrl,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,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,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,omitempty" name:"TargetLocationId"` // Redirection status code // Note: this field may return `null`, indicating that no valid values can be obtained. RewriteCode *int64 `json:"RewriteCode,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,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,omitempty" name:"RewriteType"` }
type RsWeightRule ¶
type RsWeightRule struct { // CLB listener ID. ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // List of real servers whose weights to modify. Targets []*Target `json:"Targets,omitempty" name:"Targets"` // Forwarding rule ID, which is required only for layer-7 rules. LocationId *string `json:"LocationId,omitempty" name:"LocationId"` // Target rule domain name. This parameter does not take effect if LocationId is specified Domain *string `json:"Domain,omitempty" name:"Domain"` // Target rule URL. This parameter does not take effect if LocationId is specified Url *string `json:"Url,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,omitempty" name:"Weight"` }
type RuleHealth ¶
type RuleHealth struct { // Forwarding rule ID LocationId *string `json:"LocationId,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,omitempty" name:"Domain"` // Forwarding rule Url // Note: This field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,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,omitempty" name:"Targets"` }
type RuleInput ¶
type RuleInput struct { // Forwarding rule path. Length: 1-200. Url *string `json:"Url,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,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,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,omitempty" name:"HealthCheck"` // Certificate information. `Certificate` and `MultiCertInfo` cannot be specified at the same time. Certificate *CertificateInput `json:"Certificate,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,omitempty" name:"Scheduler"` // Forwarding protocol between the CLB instance and real server. Currently, HTTP/HTTPS/TRPC are supported. ForwardType *string `json:"ForwardType,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,omitempty" name:"DefaultServer"` // Whether to enable HTTP/2. Note: HTTP/2 can be enabled only for HTTPS domain names. Http2 *bool `json:"Http2,omitempty" name:"Http2"` // Target real server type. NODE: binding a general node; TARGETGROUP: binding a target group. TargetType *string `json:"TargetType,omitempty" name:"TargetType"` // TRPC callee server route, which is required when `ForwardType` is `TRPC`. TrpcCallee *string `json:"TrpcCallee,omitempty" name:"TrpcCallee"` // TRPC calling service API, which is required when `ForwardType` is `TRPC`. TrpcFunc *string `json:"TrpcFunc,omitempty" name:"TrpcFunc"` // Whether to enable QUIC. Note: QUIC can be enabled only for HTTPS domain names Quic *bool `json:"Quic,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,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,omitempty" name:"MultiCertInfo"` }
type RuleOutput ¶
type RuleOutput struct { // Forwarding rule ID LocationId *string `json:"LocationId,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,omitempty" name:"Domain"` // Forwarding rule path. // Note: This field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitempty" name:"Url"` // Session persistence time SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"` // Health check information // Note: This field may return null, indicating that no valid values can be obtained. HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"` // Certificate information // Note: This field may return null, indicating that no valid values can be obtained. Certificate *CertificateOutput `json:"Certificate,omitempty" name:"Certificate"` // Request forwarding method of the rule Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"` // ID of the listener to which the forwarding rule belongs ListenerId *string `json:"ListenerId,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,omitempty" name:"RewriteTarget"` // Whether to enable gzip HttpGzip *bool `json:"HttpGzip,omitempty" name:"HttpGzip"` // Whether the forwarding rule is automatically created BeAutoCreated *bool `json:"BeAutoCreated,omitempty" name:"BeAutoCreated"` // Whether to use as the default domain name DefaultServer *bool `json:"DefaultServer,omitempty" name:"DefaultServer"` // Whether to enable Http2 Http2 *bool `json:"Http2,omitempty" name:"Http2"` // Forwarding protocol between CLB and real server ForwardType *string `json:"ForwardType,omitempty" name:"ForwardType"` // Forwarding rule creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Real server type TargetType *string `json:"TargetType,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,omitempty" name:"TargetGroup"` // WAF instance ID // Note: This field may return null, indicating that no valid values can be obtained. WafDomainId *string `json:"WafDomainId,omitempty" name:"WafDomainId"` // TRPC callee server route, which is valid when `ForwardType` is `TRPC`. // Note: this field may return null, indicating that no valid values can be obtained. TrpcCallee *string `json:"TrpcCallee,omitempty" name:"TrpcCallee"` // TRPC calling service API, which is valid when `ForwardType` is `TRPC`. // Note: this field may return null, indicating that no valid values can be obtained. TrpcFunc *string `json:"TrpcFunc,omitempty" name:"TrpcFunc"` // QUIC status // Note: this field may return null, indicating that no valid values can be obtained. QuicStatus *string `json:"QuicStatus,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,omitempty" name:"Domains"` }
type RuleTargets ¶
type RuleTargets struct { // Forwarding rule ID LocationId *string `json:"LocationId,omitempty" name:"LocationId"` // Domain name of the forwarding rule Domain *string `json:"Domain,omitempty" name:"Domain"` // Forwarding rule path. Url *string `json:"Url,omitempty" name:"Url"` // Real server information // Note: This field may return null, indicating that no valid values can be obtained. Targets []*Backend `json:"Targets,omitempty" name:"Targets"` }
type RulesItems ¶
type RulesItems struct { // Rule ID. LocationId *string `json:"LocationId,omitempty" name:"LocationId"` // Domain name. Domain *string `json:"Domain,omitempty" name:"Domain"` // Uri Url *string `json:"Url,omitempty" name:"Url"` // Object bound to the real server. Targets []*LbRsTargets `json:"Targets,omitempty" name:"Targets"` }
type SetCustomizedConfigForLoadBalancerRequest ¶
type SetCustomizedConfigForLoadBalancerRequest struct { *tchttp.BaseRequest // Operation type: `ADD`, `DELETE`, `UPDATE`, `BIND`, `UNBIND` OperationType *string `json:"OperationType,omitempty" name:"OperationType"` // This field is required except for creating custom configurations, such as "pz-1234abcd". UconfigId *string `json:"UconfigId,omitempty" name:"UconfigId"` // This field is required when creating or modifying custom configurations. ConfigContent *string `json:"ConfigContent,omitempty" name:"ConfigContent"` // This field is required when creating or renaming custom configurations. ConfigName *string `json:"ConfigName,omitempty" name:"ConfigName"` // This field is required when binding/unbinding resources. LoadBalancerIds []*string `json:"LoadBalancerIds,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,omitempty" name:"OperationType"` // This field is required except for creating custom configurations, such as "pz-1234abcd". UconfigId *string `json:"UconfigId,omitempty" name:"UconfigId"` // This field is required when creating or modifying custom configurations. ConfigContent *string `json:"ConfigContent,omitempty" name:"ConfigContent"` // This field is required when creating or renaming custom configurations. ConfigName *string `json:"ConfigName,omitempty" name:"ConfigName"` // This field is required when binding/unbinding resources. LoadBalancerIds []*string `json:"LoadBalancerIds,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,omitempty" name:"ConfigId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SetLoadBalancerClsLogRequest ¶
type SetLoadBalancerClsLogRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,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,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,omitempty" name:"LogTopicId"` // Log type: // <li>`ACCESS`: access logs</li> // <li>`HEALTH`: health check logs</li> // Default: `ACCESS` LogType *string `json:"LogType,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,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,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,omitempty" name:"LogTopicId"` // Log type: // <li>`ACCESS`: access logs</li> // <li>`HEALTH`: health check logs</li> // Default: `ACCESS` LogType *string `json:"LogType,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,omitempty" name:"RequestId"` }
Predefined struct for user
type SetLoadBalancerSecurityGroupsRequest ¶
type SetLoadBalancerSecurityGroupsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,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,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,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,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,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,omitempty" name:"SecurityGroup"` // ADD: bind a security group; // DEL: unbind a security group OperationType *string `json:"OperationType,omitempty" name:"OperationType"` // Array of CLB instance IDs LoadBalancerIds []*string `json:"LoadBalancerIds,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,omitempty" name:"SecurityGroup"` // ADD: bind a security group; // DEL: unbind a security group OperationType *string `json:"OperationType,omitempty" name:"OperationType"` // Array of CLB instance IDs LoadBalancerIds []*string `json:"LoadBalancerIds,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,omitempty" name:"RequestId"` }
Predefined struct for user
type SlaUpdateParam ¶
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,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,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,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,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,omitempty" name:"EniIp"` }
type TargetGroupAssociation ¶
type TargetGroupAssociation struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // Listener ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // Target group ID TargetGroupId *string `json:"TargetGroupId,omitempty" name:"TargetGroupId"` // Forwarding rule ID LocationId *string `json:"LocationId,omitempty" name:"LocationId"` }
type TargetGroupBackend ¶
type TargetGroupBackend struct { // Target group ID TargetGroupId *string `json:"TargetGroupId,omitempty" name:"TargetGroupId"` // Real server type. Valid values: CVM, ENI (coming soon) Type *string `json:"Type,omitempty" name:"Type"` // Unique real server ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Listening port of real server Port *uint64 `json:"Port,omitempty" name:"Port"` // Forwarding weight of real server. Value range: [0, 100]. Default value: 10. Weight *uint64 `json:"Weight,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,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,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,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,omitempty" name:"RegisteredTime"` // Unique ENI ID // Note: this field may return null, indicating that no valid values can be obtained. EniId *string `json:"EniId,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,omitempty" name:"ZoneId"` }
type TargetGroupInfo ¶
type TargetGroupInfo struct { // Target group ID TargetGroupId *string `json:"TargetGroupId,omitempty" name:"TargetGroupId"` // `vpcid` of target group VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Target group name TargetGroupName *string `json:"TargetGroupName,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,omitempty" name:"Port"` // Target group creation time CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // Target group modification time UpdatedTime *string `json:"UpdatedTime,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,omitempty" name:"AssociatedRule"` }
type TargetGroupInstance ¶
type TargetGroupInstance struct { // Private IP of target group instance BindIP *string `json:"BindIP,omitempty" name:"BindIP"` // Port of target group instance Port *uint64 `json:"Port,omitempty" name:"Port"` // Weight of target group instance Weight *uint64 `json:"Weight,omitempty" name:"Weight"` // New port of target group instance NewPort *uint64 `json:"NewPort,omitempty" name:"NewPort"` }
type TargetHealth ¶
type TargetHealth struct { // Private IP of the target IP *string `json:"IP,omitempty" name:"IP"` // Port bound to the target Port *int64 `json:"Port,omitempty" name:"Port"` // Current health status. true: healthy; false: unhealthy. HealthStatus *bool `json:"HealthStatus,omitempty" name:"HealthStatus"` // Instance ID of the target, such as ins-12345678 TargetId *string `json:"TargetId,omitempty" name:"TargetId"` // Detailed information of the current health status. Alive: healthy; Dead: exceptional; Unknown: check not started/checking/unknown status. HealthStatusDetial *string `json:"HealthStatusDetial,omitempty" name:"HealthStatusDetial"` }
type TargetRegionInfo ¶
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,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,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,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,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,omitempty" name:"LocalZone"` }
type ZoneResource ¶
type ZoneResource struct { // Primary AZ, such as "ap-guangzhou-1". MasterZone *string `json:"MasterZone,omitempty" name:"MasterZone"` // List of resources // Note: This field may return null, indicating that no valid values can be obtained. ResourceSet []*Resource `json:"ResourceSet,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,omitempty" name:"SlaveZone"` // IP version. Values: `IPv4`, `IPv6`, and `IPv6_Nat`. IPVersion *string `json:"IPVersion,omitempty" name:"IPVersion"` // Region of the AZ, such as `ap-guangzhou`. ZoneRegion *string `json:"ZoneRegion,omitempty" name:"ZoneRegion"` // Whether the AZ is a `LocalZone`. Values: `true`, `false`. LocalZone *bool `json:"LocalZone,omitempty" name:"LocalZone"` }