Fleets
GetCapacity
POST
GetCapacity returns the organization's allowance in each zone, and how much of it its fleets take. A change that would go over is refused with RESOURCE_EXHAUSTED.
apiKeyheader
AuthorizationBearer <token>An organization API key, created in the console.
application/json- body
organizationId?organization_idFormat
uuidSuccess
application/json- response
zones?array<>Zones the organization has an allowance in.
curl -X POST 'https://api.aquilahosting.com/fleets.v1.FleetService/GetCapacity' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "zones": [ { "zone": "string", "maxServers": 0, "maxCpuMillicores": "string", "maxMemoryMib": "string", "servers": 0, "cpuMillicores": "string", "memoryMib": "string" } ]}