/environments/{id}[ GET ]


Get an existing environment.

URL Parameters


Name Optional Valid values
id No Identifier (name) of an existing environment (e.g. test19929)


Request Examples      

curl -k -u admin:admin https://OPERETOHOST/environments/test19929

   

Response Example     

{
  "status": "success",
  "data": {
    "Node1": {
      "hostname": "n1-client",
      "agent.user": "root",
      "agent_id": "test34e2c8ce_Node1", 
      "agent.user.home": "/root",
      "agent.home": "/root",
      "environment.test19929.private_ip": "10.0.1.4",
      "environment.test19929.id": "test19929-Node1",
      "environment.test19929.ip_addr": "40.2.2.1",
      "environment.test19929.os_platform": "trusty-amd64",
      "environment.test19929.role": "Node1",
      "environment.test19929.cloud_provider": "azure",
      "environment.test19929.type": "my_test_topology",
      "os.name": "linux",
      "system.arch": "amd64",
      "opereto_agent_version": "1.1.32",
      "available.processors": 1,
      "free.space": "27.5 GiB",
      "system.version": "3.16.0-43-generic",
      "opereto.users": "john"
    },
    "Node2": {
      "hostname": "n2-client",
      "agent.user": "root",
      "agent_id": "test34e2c8ce_Node2", 
      "agent.user.home": "/root",
      "agent.home": "/root",
      "environment.test19929.private_ip": "10.0.1.5",
      "environment.test19929.id": "test19929-Node2",
      "environment.test19929.ip_addr": "40.2.2.2",
      "environment.test19929.os_platform": "trusty-amd64",
      "environment.test19929.role": "Node2",
      "environment.test19929.cloud_provider": "azure",
      "environment.test19929.type": "my_test_topology",
      "os.name": "linux",
      "system.arch": "amd64",
      "opereto_agent_version": "1.1.32",
      "available.processors": 1,
      "free.space": "27.5 GiB",
      "system.version": "3.16.0-43-generic",
      "opereto.users": "john"
    }
  }
}