Configures storage for fine-grained monitoring.
Operation description
Configures a data warehouse for fine-grained monitoring. If a listener in the current region has fine-grained monitoring enabled, you must disable it before configuring a new warehouse.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nlb:SetHdMonitorRegionConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID of the NLB instance. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| LogProject |
string |
Yes |
The name of the Log Service project. |
hdmonitor-cn-hangzhou-223794579283657556 |
| MetricStore |
string |
Yes |
The name of the MetricStore in Simple Log Service. |
hdmonitor-cn-hangzhou-metricStore-1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
RpcResponse |
||
| RequestId |
string |
The request ID. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| RegionId |
string |
The region ID of the NLB instance. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| LogProject |
string |
The name of the Log Service project. |
hdmonitor-cn-hangzhou-223794579283657556 |
| MetricStore |
string |
The name of the MetricStore in Simple Log Service. |
hdmonitor-cn-hangzhou-metricStore-1 |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"RegionId": "cn-hangzhou",
"LogProject": "hdmonitor-cn-hangzhou-223794579283657556",
"MetricStore": "hdmonitor-cn-hangzhou-metricStore-1"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Forbidden.NoPermission | Authentication is failed for NoPermission. | Authentication is failed for NoPermission. |
| 404 | EnableHDMonitor.Fail | EnableHDMonitor Fail. | Set HD monitoring error |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.