latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Elastigroup AWS

List All Elastigroups

List all AWS Elastigroups for a Spot Account

get/aws/ec2/group

Parameters

#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref

Response

List All Groups Response

Example response

{
  "request": {
    "id": "67582d0c-108b-4ef7-9fdc-d39678a30844",
    "url": "/aws/ec2/group",
    "method": "GET",
    "timestamp": "2018-01-07T07:30:58.622Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:ec2:group",
    "items": [
      {
        "id": "sig-1234567",
        "name": "EG name",
        "description": "validation",
        "capacity": {
          "minimum": 1,
          "maximum": 1,
          "target": 1,
          "unit": "instance"
        },
        "strategy": {
          "availabilityVsCost": "balanced"
        },
        "compute": {
          "instanceTypes": {
            "ondemand": "m3.large"
          },
          "availabilityZones": {
            "name": "us-west-2a"
          },
          "product": "Linux/UNIX",
          "launchSpecification": {
            "monitoring": true,
            "imageId": "ami-987654",
            "keyPair": "keyp"
          }
        },
        "scaling": {
          "up": {
            "policyName": "up Scaling Policy 1",
            "metricName": "CPUUtilization",
            "statistic": "maximum",
            "unit": "percent",
            "threshold": 90,
            "adjustment": 2,
            "namespace": "AWS/EC2",
            "period": 300,
            "evaluationPeriods": 3,
            "cooldown": 60
          },
          "down": {
            "policyName": "down Scaling Policy 1",
            "metricName": "CPUUtilization",
            "statistic": "maximum",
            "unit": "percent",
            "threshold": 50,
            "adjustment": 2,
            "namespace": "AWS/EC2",
            "period": 300,
            "evaluationPeriods": 3,
            "cooldown": 60,
            "dimensions": [
              {
                "name": "InstanceId"
              }
            ]
          }
        },
        "scheduling": {
          "tasks": [
            {
              "frequency": "weekly",
              "taskType": "backup_ami"
            }
          ]
        },
        "createdAt": "2016-02-16T09:03:23.000Z",
        "updatedAt": "2018-01-07T00:10:30.000Z"
      }
    ],
    "count": 1
  }
}