Querying the Number of Existing Resources
Function Description
This API is used to query the number of existing resources of a user.
URI
- URI format
- Parameter description
Table 1 Path parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Specifies the project ID.
resource_type
Yes
String
Specifies the resource type. The options are instance, policy, and certificate.
Request
Request parameters
None
Response
Parameter |
Type |
Description |
---|---|---|
count |
Integer |
Specifies the number of existing resources. |
Example
The following shows the response if the number of uploaded certificates is queried.
{ "count": 2 }
Status Code
For details about error status codes, see Status 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