Enables or disables fine-grained monitoring for an elastic IP address (EIP).
Operation description
Concurrent calls to SetHighDefinitionMonitorLogStatus on the same EIP instance are not supported.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the EIP. Call DescribeRegions to query available regions. |
cn-hangzhou |
| LogProject |
string |
Yes |
The name of the Simple Log Service (SLS) project. |
hdmonitor-cn-shenzhen |
| LogStore |
string |
Yes |
The name of the Logstore. |
hdmonitor |
| InstanceId |
string |
Yes |
The ID of the EIP for which to configure fine-grained monitoring. |
eip-wz9fi6qboho9fwgx7**** |
| InstanceType |
string |
No |
The instance type. Set the value to EIP. |
EIP |
| Status |
string |
Yes |
The status of fine-grained monitoring. Valid values:
|
ON |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Success |
string |
Indicates whether the operation succeeded. Valid values:
|
true |
| RequestId |
string |
The request ID. |
54B48E3D-DF70-471B-AA93-08E683A1B457 |
Examples
Success response
JSON format
{
"Success": "true",
"RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B457"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidInstanceId | Instance does not exist. | The specified instance does not exist. |
| 400 | ProjectOrLogstoreNotExist | The specified project or logstore does not exist. | The specified SLS project or Logstore does not exist. |
| 400 | SourceProjectNotExist | The Source Project or logstore does not exist. | The error message returned because the source project or Logstore does not exist. |
| 400 | Unauthorized | This api does not support sub user or role. | RAM users and roles are not allowed to call this operation. |
| 400 | ParameterInvalid | Invalid parameter. | A specified parameter is invalid. |
| 400 | InvalidAction.NotSupport | This region does not support this action. | |
| 400 | RuleExist | The rule has already existed. | |
| 400 | InvalidHdMonitorStatus | Current instance status is not valid for this action. | |
| 400 | HdMonitorEipNumberOverLimit | This user has reached the maximum Eip number of high definination. | |
| 400 | InvalidAllocationId.NotFound | Specified allocation id is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.