Modifies the description of an Anti-DDoS Pro or Anti-DDoS Premium instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyInstanceRemark

The operation that you want to perform. Set the value to ModifyInstanceRemark.

InstanceId String Yes ddoscoo-cn-mp91j1ao****

The ID of the instance.

Note You can call the DescribeInstanceIds operation to query the IDs of all instances.
Remark String Yes new-remark

The description of the instance.

The value can contain letters, digits, and some special characters, such as ,.+-*/_. The value can be up to 500 characters in length.

RegionId String No cn-hangzhou

The region ID of the instance. Valid values:

  • cn-hangzhou: mainland China, which indicates an Anti-DDoS Pro instance. This is the default value.
  • ap-southeast-1: outside mainland China, which indicates an Anti-DDoS Premium instance.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the Examples section of this topic.

Response parameters

Parameter Type Example Description
RequestId String 7EFA2BA6-9C0A-4410-B735-FC337EB634A1

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyInstanceRemark
&InstanceId=ddoscoo-cn-mp91j1ao****
&Remark=new-remark
&<Common request parameters>

Sample success responses

XML format

<ModifyInstanceRemarkResponse>
	  <RequestId>7EFA2BA6-9C0A-4410-B735-FC337EB634A1</RequestId>
</ModifyInstanceRemarkResponse>

JSON format

{
	"RequestId": "7EFA2BA6-9C0A-4410-B735-FC337EB634A1"
}

Error codes

For a list of error codes, visit the API Error Center.