Location¶
Tip
Location is an internal name. In the UI and elsewhere, this is Region.
List All Locations¶
GET /api/admin/locations
Schema
locations: Arrayid: Integername: Stringfill_strategy: String -leastorfull.Fullwill fill to thefill_tovariable on the region (AZ).created_at: DateTimeupdated_at: DateTime
View Location¶
GET /api/admin/locations/{id}
Schema
location: Objectid: Integername: Stringfill_strategy: String -leastorfull.Fullwill fill to thefill_tovariable on the region (AZ).created_at: DateTimeupdated_at: DateTime
Update Location¶
PATCH /api/admin/locations/{id}
Schema
location: Objectname: Stringfill_strategy: String -leastorfull.Fullwill fill to thefill_tovariable on the region (AZ).
Create Location¶
POST /api/admin/locations
Schema
location: Objectname: Stringfill_strategy: String -leastorfull.Fullwill fill to thefill_tovariable on the region (AZ).
Delete Location¶
DELETE /api/admin/locations/{id}
Show Location Resource Allocation¶
GET /api/admin/locations/{location_id}/allocated_resources
Schema
total: Hashcontainers: Integersftp_containers: Integercpu: Float (CORES)memory: Integer (MB)
availability_zones: Arrayid: Integername: Stringallocated: Hashcontainers: Integersftp_containers: Integercpu: Float (CORES)memory: Integer (MB)
projects: Arrayid: Integername: String