Querying the Number of Resources in an On-premises IDC
Function
This API is used to query the number of IDC resources.
URI
GET /v1/other-resources/count
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
is_delegated |
No |
Boolean |
Definition Whether the resource is managed. Constraints N/A Range
Default value N/A |
|
type |
No |
String |
Definition Resource type. Constraints N/A Range vm: VMs
Default value N/A |
|
is_delegate_domain |
Yes |
Boolean |
Definition Whether the resource is an SRE. Constraints N/A Range
Default value N/A |
|
name_list |
No |
Array of strings |
Definition Resource name. Fuzzy query is supported. Constraints N/A Range N/A Default value N/A |
|
region_id |
No |
String |
Definition Region ID. Constraints N/A Range ID of the region with which the region is associated. Default value N/A |
|
create_since |
No |
String |
Definition Start date of the creation time. The value is in the ISO 8601 format. Constraints At least one of the start date and end date must exist. Range N/A Default value N/A |
|
create_until |
No |
String |
Definition End date of the creation time. The value is in the ISO8601 format. Constraints At least one of the start date and end date must exist. Range N/A Default value N/A |
|
ip |
No |
String |
Definition Private IP address. Constraints N/A Range N/A Default value N/A |
|
os_type |
No |
String |
Definition OS. Constraints N/A Range
Default value N/A |
|
os_version_list |
No |
String |
Definition OS version. Constraints N/A Range N/A Default value N/A |
|
agent_state |
No |
String |
Definition Agent status. Constraints N/A Range
Default value N/A |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
data |
String |
Definition Total number of resources in on-premises IDCs. Range N/A |
Example Requests
None
Example Responses
Status code: 200
Number of resources in on-premises IDCs is queried.
{
"data" : 99
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Number of resources in on-premises IDCs is queried. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot