CreatePrometheusVirtualInstance
Creates a virtual instance for Prometheus monitoring.
Operation description
Creates a virtual instance for Prometheus monitoring.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:CreatePrometheusVirtualInstance |
create |
*All Resource
|
None | None |
Request syntax
POST /virtual-instances HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| namespace |
string |
Yes |
Each cloud service can have only one virtual instance in each region. |
cms_prometheus |
| tenantId |
string |
No |
The tenant ID. |
1111111111111111 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| instance |
object |
The instance ID. |
|
| createdAt |
string |
The creation time. |
1751520976660 |
| httpApiUrl |
string |
The HTTP API query URL. |
http://xxxxxxx |
| instanceId |
string |
The region ID. |
rw-e815960b4c9ebc5c3d89790c7e82 |
| namespace |
string |
The cloud service. |
ack-csi-fuse |
| regionId |
string |
The user ID. |
cn-zhengzhou-jva |
| userId |
string |
The user ID. |
167212345678 |
| requestId |
string |
Id of the request |
0B9377D9-C56B-5C2E-A8A4-************ |
Examples
Success response
JSON format
{
"instance": {
"createdAt": "1751520976660",
"httpApiUrl": "http://xxxxxxx",
"instanceId": "rw-e815960b4c9ebc5c3d89790c7e82",
"namespace": "ack-csi-fuse",
"regionId": "cn-zhengzhou-jva",
"userId": "167212345678"
},
"requestId": "0B9377D9-C56B-5C2E-A8A4-************"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.