Docs
api
Load Balance(ULB)
UpdateLoadBalancerAttribute

Update the properties of the application type load balancing instance - UpdateLoadBalancerAttribute

Overview

Update the attributes of an application type load balancing instance

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is UpdateLoadBalancerAttribute.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.Yes
LoadBalancerIdstringID of the Load Balancing InstanceYes
NamestringThe name of the load balancing instance, if not passed, the default is not to modify.No
TagstringThe ID of the business group to which the load balancing instance belongs. If not passed, it will not be modified by default.No
RemarkstringRemarks for the load balancing instance, if not passed, the default is not to modify, character length limit: [0-255]No
AccessLogConfig.Enabledboolean(Application-specific) Is the access log recording function enabled?No
AccessLogConfig.US3BucketNamestring(Application-specific) Bucket for storing access logsNo
AccessLogConfig.US3TokenIdstring(Application-specific) Token required to upload access logs to the bucketNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No

Example

Request Example

https://api.dezai.com/?Action=UpdateLoadBalancerAttribute
&Region=oUNeUSea
&ProjectId=OsREyyef
&ULBId=GkUBRkMw
&Name=lZYAOAgX
&Tag=DEbbnUOn
&Remark=CBIPpanT
&EnableLog=6
&BucketName=HSqYYxUY
&TokenName=EUygHoyL
&TokenId=eVkfEqZv
&IsWAFOn=nlgFGfwX

Response Example

{
  "Action": "UpdateLoadBalancerAttributeResponse",
  "RetCode": 0
}