List All VPC Resources
lists resources associated with given VPC
Authorization
AuthorizationRequiredBearer <token>OAuth Authentication
OpenScaler API uses OAuth, a standard for secure authorization. To access the API, obtain a token via the OpenScaler Platform.
Use the access_token in the Authorization header for requests:
Always keep your token secure and do not share it with anyone.
In: header
Path Parameters
vpc_idRequiredstringA unique identifier for a VPC instance. See VPCs section for more details.
Query Parameters
resource_typestringResource type, one of :
vm(virtual machine)db(database)lb(load balancer)
Value in:
"vm" | "db" | "lb"summarybooleanIf set to true, the response will include a summary of number of resources per type.
Default:
falseVPC list based on requested filters
List of Resources in given VPC (NOTE: response in case of "summary" option is not documented yet it essentially returns something like this)
where each keys like vm and db etc. represent resource type and are omitted if count is 0.