Querying the Resource Recorder
Function
This API is used to query details about the resource recorder.
URI
GET /v1/resource-manager/domains/{domain_id}/tracker-config
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| domain_id | Yes | String | Specifies the account ID. Maximum length: 36 |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| channel | ChannelConfigBody object | Specifies configurations for the tracker channel. |
| selector | SelectorConfigBody object | Specifies the selector. |
| agency_name | String | Specifies the IAM agency name. |
| Parameter | Type | Description |
|---|---|---|
| smn | TrackerSMNChannelConfigBody object | Specifies configurations for the SMN channel. |
| obs | TrackerOBSChannelConfigBody object | Specifies configurations for the OBS bucket. |
| Parameter | Type | Description |
|---|---|---|
| region_id | String | Specifies the region ID. |
| project_id | String | Specifies the project ID. |
| topic_urn | String | Specifies the SMN topic URN. |
| Parameter | Type | Description |
|---|---|---|
| bucket_name | String | Specifies the OBS bucket name. |
| region_id | String | Specifies the region ID. |
| Parameter | Type | Description |
|---|---|---|
| all_supported | Boolean | Specifies whether to select all supported resources. |
| resource_types | Array of strings | Specifies the resource type list. |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Specifies the error code. |
| error_msg | String | Specifies the error message. |
Status code: 403
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Specifies the error code. |
| error_msg | String | Specifies the error message. |
Status code: 404
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Specifies the error code. |
| error_msg | String | Specifies the error message. |
Status code: 500
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Specifies the error code. |
| error_msg | String | Specifies the error message. |
Example Request
None
Example Response
Status code: 200
Operation succeeded.
-
"rms_tracker_agency"
-
{ "obs" : { "bucket_name" : "rmtest", "region_id" : "cn-north-7" }, "smn" : { "project_id" : "059b5e0a2500d5552fa1c00adada8c06", "region_id" : "cn-north-7", "topic_urn" : "urn:smn:cn-north-7:059b5e0a2500d5552fa1c00adada8c06:agencytest" } } -
{ "all_supported" : true, "resource_types" : [ ] }
Status Codes
| Status Code | Description |
|---|---|
| 200 | Operation succeeded. |
| 400 | Invalid parameter. |
| 403 | Authentication failed or you do not have the operation permission. |
| 404 | No resource recorder found. |
| 500 | Internal server error. |
Error Codes
See Error Codes.
Last Article: Resource Recorder
Next Article: Deleting the Resource Record
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.