VMware Aria

 View Only
Expand all | Collapse all

Swagger API Documentation for /provisioning/resources/group-placements

  • 1.  Swagger API Documentation for /provisioning/resources/group-placements

    Posted Sep 24, 2024 09:43 AM

    Hello Community,

    I am looking for an API documentation to get the limits, e.g. instance limit, memory limit or CPU limit. of a cloud zone in the Service Broker.

    In the network developer tools of the browser I saw a get-request /provisioning/resources/group-placements?expand&$filter=(projectLink%20eq%20%27%2Fprovisioning%2Fresources%2Fprojects%27...%27). Unfortunately, I could not find a comparable Swagger API documentation. Where can I find them or get the placements? Furthermore, the actual consumption of instances, memory and CPU is also required to see whether there is still capacity available for deployments.

    Many thanks for hints and tips.
    Best regards
    Stefan



    ------------------------------
    More interesting information at https://blog.stschnell.de
    ------------------------------


  • 2.  RE: Swagger API Documentation for /provisioning/resources/group-placements

    Posted Sep 25, 2024 12:07 PM

    Hello,

    after some searching I have found it by myself. They can be found under /iaas/api/projects in the zones array. They called maxNumberInstances and allocatedInstancesCount, memoryLimitMB and allocatedMemoryMB, cpuLimit and allocatedCpu as well as storageLimitGB and allocatedStorageGB.

    Best regards
    Stefan



    ------------------------------
    More interesting information at https://blog.stschnell.de
    ------------------------------