This Choreo retrieves the list of zone resources for the specified project. The documentation for this Google Compute resource can be found here.
Here is an example of acceptable inputs:
ClientID: {YOUR CLIENT ID}
ClientSecret: {YOUR CLIENT SECRET}
RefreshToken: {YOUR REFRESH TOKEN}
Project: 568511846799
The following is a sample of the JSON information returned by this Choreo:
{
"kind": "compute#zoneList",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones",
"id": "projects/568511846799/zones",
"items": [
{
"kind": "compute#zone",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/europe-west1-a",
"id": "2388070830385974188",
"creationTimestamp": "2013-07-01T11:19:07.008-07:00",
"name": "europe-west1-a",
"description": "europe-west1-a",
"status": "UP",
"maintenanceWindows": [
{
"name": "2014-01-18-planned-outage",
"description": "maintenance zone",
"beginTime": "2014-01-18T12:00:00.000-08:00",
"endTime": "2014-02-02T12:00:00.000-08:00"
}
],
"region": "https://www.googleapis.com/compute/v1/projects/568511846799/regions/europe-west1"
},
{
"kind": "compute#zone",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/europe-west1-b",
"id": "4078815712127737053",
"creationTimestamp": "2013-07-01T11:19:07.007-07:00",
"name": "europe-west1-b",
"description": "europe-west1-b",
"status": "UP",
"maintenanceWindows": [
{
"name": "2014-03-15-planned-outage",
"description": "maintenance zone",
"beginTime": "2014-03-15T12:00:00.000-07:00",
"endTime": "2014-03-30T12:00:00.000-07:00"
}
],
"region": "https://www.googleapis.com/compute/v1/projects/568511846799/regions/europe-west1"
},
{
"kind": "compute#zone",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/us-central1-a",
"id": "5544879320556250764",
"creationTimestamp": "2013-07-01T11:19:07.004-07:00",
"name": "us-central1-a",
"description": "us-central1-a",
"status": "UP",
"region": "https://www.googleapis.com/compute/v1/projects/568511846799/regions/us-central1"
},
{
"kind": "compute#zone",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/us-central1-b",
"id": "17307085237456596967",
"creationTimestamp": "2013-07-01T11:19:07.004-07:00",
"name": "us-central1-b",
"description": "us-central1-b",
"status": "UP",
"region": "https://www.googleapis.com/compute/v1/projects/568511846799/regions/us-central1"
},
{
"kind": "compute#zone",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/us-central2-a",
"id": "4987624869538319077",
"creationTimestamp": "2013-07-01T11:19:07.010-07:00",
"name": "us-central2-a",
"description": "us-central2-a",
"status": "UP",
"maintenanceWindows": [
{
"name": "2013-12-31-planned-outage",
"description": "maintenance zone",
"beginTime": "2013-12-31T12:00:00.000-08:00",
"endTime": "2014-07-01T12:00:00.000-07:00"
}
],
"deprecated": {
"state": "DEPRECATED",
"replacement": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/us-central1-b"
},
"region": "https://www.googleapis.com/compute/v1/projects/568511846799/regions/us-central2"
}
]
}