Configures fine-grained monitoring for an elastic IP address (EIP).

Usage notes

You cannot repeatedly call SetHighDefinitionMonitorLogStatus within a specific period of time.

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 SetHighDefinitionMonitorLogStatus

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

RegionId String Yes cn-hangzhou

The ID of the region where the instance is deployed.

You can call the DescribeRegions operation to query the most recent region list.

LogProject String Yes hdmonitor-cn-shenzhen

The name of the project of Log Service.

LogStore String Yes hdmonitor

The name of the Logstore of Log Service.

InstanceId String Yes eip-wz9fi6qboho9fwgx7****

The ID of the instance for which you want to configure fine-grained monitoring.

InstanceType String No EIP

The type of the instance. Set the value to EIP.

Status String Yes ON

The status of fine-grained monitoring. Valid values:

  • ON: enables fine-grained monitoring.
  • OFF: disables fine-grained monitoring.

Response parameters

Parameter Type Example Description
Success String true

Indicates whether the operation is performed. Valid values:

  • true: yes
  • false: no
RequestId String 54B48E3D-DF70-471B-AA93-08E683A1B457

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=SetHighDefinitionMonitorLogStatus
&RegionId=cn-hangzhou
&LogProject=hdmonitor-cn-shenzhen
&LogStore=hdmonitor
&InstanceId=eip-wz9fi6qboho9fwgx7****
&InstanceType=EIP
&Status=ON
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<SetHighDefinitionMonitorLogStatusResponse>
    <Success>true</Success>
    <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B457</RequestId>
</SetHighDefinitionMonitorLogStatusResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Success" : "true",
  "RequestId" : "54B48E3D-DF70-471B-AA93-08E683A1B457"
}

Error codes

For a list of error codes, see Service error codes.