GET /providers/:provider/locations
Accept: application/json Content-Type: application/json
{
}
Status: 200 OK Content-Type: application/json; charset=utf-8
{
"provider_locations": [
{
"id": "708c17c9-e70c-407b-a343-15190e8eb8e7",
"created_at": "2018-05-29T10:59:39+00:00",
"updated_at": "2018-05-29T10:59:39+00:00",
"disabled_at": null,
"location_id": "us-west-2",
"location_name": "US West (Oregon)",
"limits": {
"servers": 20,
"addresses": 5
},
"data": {
"vpc_by_default": true
},
"provider": "https://api.engineyard.com/providers/118",
"parent": null,
"children": "https://api.engineyard.com/provider-locations/708c17c9-e70c-407b-a343-15190e8eb8e7/provider-locations",
"compute_flavors": "https://api.engineyard.com/provider-locations/708c17c9-e70c-407b-a343-15190e8eb8e7/flavors/compute"
},
{
"id": "a21fca18-e642-43e6-b21b-957069e4e6fe",
"created_at": "2018-05-29T10:59:39+00:00",
"updated_at": "2018-05-29T10:59:39+00:00",
"disabled_at": null,
"location_id": "us-east-1",
"location_name": "US East (N. Virginia)",
"limits": {
"servers": 20,
"addresses": 5
},
"data": {
"vpc_by_default": false
},
"provider": "https://api.engineyard.com/providers/118",
"parent": null,
"children": "https://api.engineyard.com/provider-locations/a21fca18-e642-43e6-b21b-957069e4e6fe/provider-locations",
"compute_flavors": "https://api.engineyard.com/provider-locations/a21fca18-e642-43e6-b21b-957069e4e6fe/flavors/compute"
}
]
}
GET /provider-locations/:provider_location_id/provider-locations
Accept: application/json Content-Type: application/json
{
}
Status: 200 OK Content-Type: application/json; charset=utf-8
{
"provider_locations": [
{
"id": "78296bd3-8b42-425a-b53f-796a54a1769d",
"created_at": "2018-05-29T10:59:33+00:00",
"updated_at": "2018-05-29T10:59:33+00:00",
"disabled_at": null,
"location_id": "us-west-2b",
"location_name": "US West (Oregon) Zone 2b",
"limits": {
},
"data": {
"vpc_by_default": true
},
"provider": "https://api.engineyard.com/providers/115",
"parent": "https://api.engineyard.com/provider-locations/66c68622-4587-49e7-8fb3-88bc6414e3a0",
"children": "https://api.engineyard.com/provider-locations/78296bd3-8b42-425a-b53f-796a54a1769d/provider-locations",
"compute_flavors": "https://api.engineyard.com/provider-locations/78296bd3-8b42-425a-b53f-796a54a1769d/flavors/compute"
},
{
"id": "c0f03aba-5b78-4b67-8a76-8b867aea53c6",
"created_at": "2018-05-29T10:59:33+00:00",
"updated_at": "2018-05-29T10:59:33+00:00",
"disabled_at": null,
"location_id": "us-west-2a",
"location_name": "US West (Oregon) Zone 2a",
"limits": {
},
"data": {
"vpc_by_default": true
},
"provider": "https://api.engineyard.com/providers/115",
"parent": "https://api.engineyard.com/provider-locations/66c68622-4587-49e7-8fb3-88bc6414e3a0",
"children": "https://api.engineyard.com/provider-locations/c0f03aba-5b78-4b67-8a76-8b867aea53c6/provider-locations",
"compute_flavors": "https://api.engineyard.com/provider-locations/c0f03aba-5b78-4b67-8a76-8b867aea53c6/flavors/compute"
},
{
"id": "e474d432-31b8-4f08-b08e-11e95ae14712",
"created_at": "2018-05-29T10:59:33+00:00",
"updated_at": "2018-05-29T10:59:33+00:00",
"disabled_at": null,
"location_id": "us-west-2c",
"location_name": "US West (Oregon) Zone 2c",
"limits": {
},
"data": {
"vpc_by_default": true
},
"provider": "https://api.engineyard.com/providers/115",
"parent": "https://api.engineyard.com/provider-locations/66c68622-4587-49e7-8fb3-88bc6414e3a0",
"children": "https://api.engineyard.com/provider-locations/e474d432-31b8-4f08-b08e-11e95ae14712/provider-locations",
"compute_flavors": "https://api.engineyard.com/provider-locations/e474d432-31b8-4f08-b08e-11e95ae14712/flavors/compute"
}
]
}
GET /provider-locations/:provider_location_id/flavors/compute
Accept: application/json Content-Type: application/json
{
}
Status: 200 OK Content-Type: application/json; charset=utf-8
{
"flavors": [
{
"id": "m3_medium",
"api_name": "m3.medium",
"dedicated": false,
"description": "General Purpose (M3) Medium",
"volume_optimized": false,
"architecture": 64,
"name": "m3_medium"
},
{
"id": "m3_large",
"api_name": "m3.large",
"dedicated": false,
"description": "General Purpose (M3) Large",
"volume_optimized": false,
"architecture": 64,
"name": "m3_large"
},
{
"id": "m3_xlarge",
"api_name": "m3.xlarge",
"dedicated": false,
"description": "General Purpose (M3) Extra Large",
"volume_optimized": false,
"architecture": 64,
"name": "m3_xlarge"
},
{
"id": "c4_large",
"api_name": "c4.large",
"dedicated": false,
"description": "Compute Optimized (C4) Large",
"volume_optimized": true,
"architecture": 64,
"name": "c4_large"
},
{
"id": "c4_xlarge",
"api_name": "c4.xlarge",
"dedicated": false,
"description": "Compute Optimized (C4) Extra Large",
"volume_optimized": true,
"architecture": 64,
"name": "c4_xlarge"
},
{
"id": "c3_large",
"api_name": "c3.large",
"dedicated": false,
"description": "Compute Optimized (C3) Large",
"volume_optimized": false,
"architecture": 64,
"name": "c3_large"
},
{
"id": "c3_xlarge",
"api_name": "c3.xlarge",
"dedicated": false,
"description": "Compute Optimized (C3) Extra Large",
"volume_optimized": false,
"architecture": 64,
"name": "c3_xlarge"
},
{
"id": "r3_large",
"api_name": "r3.large",
"dedicated": false,
"description": "Memory Optimized (R3) Large",
"volume_optimized": false,
"architecture": 64,
"name": "r3_large"
},
{
"id": "r3_xlarge",
"api_name": "r3.xlarge",
"dedicated": false,
"description": "Memory Optimized (R3) Extra Large",
"volume_optimized": false,
"architecture": 64,
"name": "r3_xlarge"
},
{
"id": "t2_micro",
"api_name": "t2.micro",
"dedicated": false,
"description": "General Purpose (T2) Micro",
"volume_optimized": false,
"architecture": 64,
"name": "t2_micro"
},
{
"id": "t2_small",
"api_name": "t2.small",
"dedicated": false,
"description": "General Purpose (T2) Small",
"volume_optimized": false,
"architecture": 64,
"name": "t2_small"
},
{
"id": "t2_medium",
"api_name": "t2.medium",
"dedicated": false,
"description": "General Purpose (T2) Medium",
"volume_optimized": false,
"architecture": 64,
"name": "t2_medium"
},
{
"id": "t2_large",
"api_name": "t2.large",
"dedicated": false,
"description": "General Purpose (T2) Large",
"volume_optimized": false,
"architecture": 64,
"name": "t2_large"
},
{
"id": "t2_xlarge",
"api_name": "t2.xlarge",
"dedicated": false,
"description": "General Purpose (T2) Extra Large",
"volume_optimized": false,
"architecture": 64,
"name": "t2_xlarge"
},
{
"id": "m4_large",
"api_name": "m4.large",
"dedicated": false,
"description": "General Purpose (M4) Large",
"volume_optimized": true,
"architecture": 64,
"name": "m4_large"
},
{
"id": "m4_xlarge",
"api_name": "m4.xlarge",
"dedicated": false,
"description": "General Purpose (M4) Extra Large",
"volume_optimized": true,
"architecture": 64,
"name": "m4_xlarge"
},
{
"id": "r4_large",
"api_name": "r4.large",
"dedicated": false,
"description": "Memory Optimized (R4) Large",
"volume_optimized": true,
"architecture": 64,
"name": "r4_large"
},
{
"id": "r4_xlarge",
"api_name": "r4.xlarge",
"dedicated": false,
"description": "Memory Optimized (R4) Extra Large",
"volume_optimized": true,
"architecture": 64,
"name": "r4_xlarge"
}
]
}
PUT /provider-locations/:provider_location_id
Accept: application/json Content-Type: application/json
{
"provider_location": {
"limits": {
"servers": 21,
"addresses": 42
}
}
}
Status: 200 OK Content-Type: application/json; charset=utf-8
{
"provider_location": {
"id": "0893da35-36d7-4aac-9f5d-465f769fc3ce",
"created_at": "2018-05-29T10:59:37+00:00",
"updated_at": "2018-05-29T10:59:38+00:00",
"disabled_at": null,
"location_id": "us-west-2",
"location_name": "US West (Oregon)",
"limits": {
"servers": 21,
"addresses": 42
},
"data": {
"vpc_by_default": true
},
"provider": "https://api.engineyard.com/providers/117",
"parent": null,
"children": "https://api.engineyard.com/provider-locations/0893da35-36d7-4aac-9f5d-465f769fc3ce/provider-locations",
"compute_flavors": "https://api.engineyard.com/provider-locations/0893da35-36d7-4aac-9f5d-465f769fc3ce/flavors/compute"
}
}