Global InfraGlobal Infra Cloud
A W S

Create a ec2

Creates a new ec2.

POST
/api/v1/giservices/aws/ec2

Authorization

AuthorizationBearer <token>

Okta Bearer token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/giservices/aws/ec2" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "attributes": {      "cpu": 0,      "host": "string",      "ip": "string"    }  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "cpu": 0,
    "disks": [
      {
        "name": "string",
        "size": "string"
      }
    ],
    "host": "string",
    "ip": "string",
    "memory": "string",
    "operating_system": "linux"
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty