TeamCity REST API Reference 2025.03 Help

CloudInstance

Represents a running cloud instance.

Related Help article: Cloud Profile

Properties

Field

Data type

id

string

name

string

state

string

startDate

string

networkAddress

string

href

string

image

CloudImage

agent

Agent

errorMessage

string

error

CloudError

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<cloudInstance errorMessage="string" href="string" id="string" name="string" networkAddress="string" startDate="string" state="string"> <image agentPoolId="123" agentTypeId="123" errorMessage="string" href="string" id="string" locator="string" name="string" operatingSystemName="string" webUrl="https://example.com/app/rest/cloudImage/3414"> <profile>[[[cloudProfile...|cloudprofile.html]]]</profile> <instances>[[[cloudInstances...|cloudinstances.html]]]</instances> <error>[[[cloudError...|clouderror.html]]]</error> </image> <agent authorized="true" connected="true" cpuRank="396" currentAgentVersion="160569" disconnectionComment="Unregistered because of inactivity" enabled="true" host="ip-52-211-39-10.eu-west-1.compute.internal, localhost" href="/app/rest/agents/id:771" id="771" idleSinceTime="20240816T150655+0200" ip="52.211.39.100" javaOutdated="false" lastActivityTime="20240816T151123+0200" locator="string" name="Ubuntu-22.04-Large-i-045902939eae4af1a" outdated="true" pluginsOutdated="false" port="9090" protocol="string" registrationTimestamp="20240816T150655+0200" typeId="661" uptodate="false" version="156364" webUrl="https://example.com/agentDetails.html?id=771&amp;agentTypeId=11389&amp;realAgentName=db-win-2003"> <build>[[[build...|build.html]]]</build> <links>[[[links...|links.html]]]</links> <enabledInfo>[[[enabledInfo...|enabledinfo.html]]]</enabledInfo> <authorizedInfo>[[[authorizedInfo...|authorizedinfo.html]]]</authorizedInfo> <properties>[[[properties...|properties.html]]]</properties> <cloudInstance>[[[cloudInstance...|]]]</cloudInstance> <cloudImage>[[[cloudImage...|cloudimage.html]]]</cloudImage> <environment>[[[environment...|environment.html]]]</environment> <pool>[[[agentPool...|agentpool.html]]]</pool> <compatibilityPolicy>[[[compatibilityPolicy...|compatibilitypolicy.html]]]</compatibilityPolicy> <compatibleBuildTypes>[[[buildTypes...|buildtypes.html]]]</compatibleBuildTypes> <incompatibleBuildTypes>[[[compatibilities...|compatibilities.html]]]</incompatibleBuildTypes> <builds>[[[builds...|builds.html]]]</builds> </agent> <error detailedMessage="string" message="string"/> </cloudInstance>
{ "image" : { "agentPoolId" : 1, "instances" : "[[[cloudInstances...|cloudinstances.html]]]", "agentTypeId" : 1, "webUrl" : "https://example.com/app/rest/cloudImage/3414", "profile" : "[[[cloudProfile...|cloudprofile.html]]]", "name" : "name", "errorMessage" : "errorMessage", "id" : "id", "href" : "href", "error" : "[[[cloudError...|clouderror.html]]]", "operatingSystemName" : "operatingSystemName", "locator" : "locator" }, "agent" : { "disconnectionComment" : "Unregistered because of inactivity", "idleSinceTime" : "20240816T150655+0200", "enabledInfo" : "[[[enabledInfo...|enabledinfo.html]]]", "cpuRank" : 396, "enabled" : true, "compatibleBuildTypes" : "[[[buildTypes...|buildtypes.html]]]", "protocol" : "unidirectional", "outdated" : true, "authorized" : true, "host" : "ip-52-211-39-10.eu-west-1.compute.internal, localhost", "builds" : "[[[builds...|builds.html]]]", "links" : "[[[links...|links.html]]]", "id" : 771, "href" : "/app/rest/agents/id:771", "cloudImage" : "[[[cloudImage...|cloudimage.html]]]", "authorizedInfo" : "[[[authorizedInfo...|authorizedinfo.html]]]", "incompatibleBuildTypes" : "[[[compatibilities...|compatibilities.html]]]", "uptodate" : false, "ip" : "52.211.39.100", "pool" : "[[[agentPool...|agentpool.html]]]", "cloudInstance" : "[[[cloudInstance...|]]]", "version" : "156364", "connected" : true, "currentAgentVersion" : "160569", "compatibilityPolicy" : "[[[compatibilityPolicy...|compatibilitypolicy.html]]]", "registrationTimestamp" : "20240816T150655+0200", "environment" : "[[[environment...|environment.html]]]", "pluginsOutdated" : false, "port" : 9090, "build" : "[[[build...|build.html]]]", "webUrl" : "https://example.com/agentDetails.html?id=771&agentTypeId=11389&realAgentName=db-win-2003", "name" : "Ubuntu-22.04-Large-i-045902939eae4af1a", "typeId" : 661, "lastActivityTime" : "20240816T151123+0200", "locator" : "locator", "properties" : "[[[properties...|properties.html]]]", "javaOutdated" : false }, "name" : "name", "errorMessage" : "errorMessage", "id" : "id", "state" : "state", "href" : "href", "error" : { "detailedMessage" : "detailedMessage", "message" : "message" }, "networkAddress" : "networkAddress", "startDate" : "startDate" }
Last modified: 14 March 2025