Selectors

August 10, 2017 ยท View on GitHub

Examples

  • Select all instances in AZ z1 within a deployment cf:
{
  "AZ": {
    "Name": "z1"
  },
  "Deployment": {
    "Name": "cf"
  }
}
  • Select random 50% of instances from postgres instance group:
{
  "Group": {
    "Name": "postgres"
  },
  "ID": {
    "Limit": "50%"
  }
}
  • Select one particular instance by ID:
{
  "ID": {
    "Values": ["53c5ae69-4622-4103-9766-230adcf3baef"]
  }
}