TeamCity REST API Reference 2024.07 Help

CloudInstanceApi

getAllCloudImages

Get all cloud images.

Endpoint

/app/rest/cloud/images

Produces

  • application/xml

  • application/json

Parameters

  • locator: string

  • fields: string

Response

CloudImages

getCloudImage

Get cloud image matching the locator.

Endpoint

/app/rest/cloud/images/{imageLocator}

Produces

  • application/xml

  • application/json

Parameters

  • imageLocator: string

  • fields: string

Response

CloudImage

getAllCloudInstances

Get all cloud instances.

Endpoint

/app/rest/cloud/instances

Produces

  • application/xml

  • application/json

Parameters

  • locator: string

  • fields: string

Response

CloudInstances

startInstance

Start a new cloud instance.

Endpoint

/app/rest/cloud/instances

Consumes

  • application/xml

  • application/json

Produces

  • application/xml

  • application/json

Parameters

stopInstance

Stop cloud instance matching the locator.

Endpoint

/app/rest/cloud/instances/{instanceLocator}

Parameters

  • instanceLocator: string

getCloudInstance

Get cloud instance matching the locator.

Endpoint

/app/rest/cloud/instances/{instanceLocator}

Produces

  • application/xml

  • application/json

Parameters

  • instanceLocator: string

  • fields: string

Response

CloudInstance

forseTerminateInstance

Terminates existing cloud instance immediately

Endpoint

/app/rest/cloud/instances/{instanceLocator}/actions/forceStop

Consumes

  • application/xml

  • application/json

Produces

  • application/xml

  • application/json

Parameters

  • instanceLocator: string

terminateInstance

Schedules existing cloud instance for termination

Endpoint

/app/rest/cloud/instances/{instanceLocator}/actions/stop

Consumes

  • application/xml

  • application/json

Produces

  • application/xml

  • application/json

Parameters

  • instanceLocator: string

getAllCloudProfiles

Get all cloud profiles.

Endpoint

/app/rest/cloud/profiles

Produces

  • application/xml

  • application/json

Parameters

  • locator: string

  • fields: string

Response

CloudProfiles

getCloudProfile

Get cloud profile matching the locator.

Endpoint

/app/rest/cloud/profiles/{profileLocator}

Produces

  • application/xml

  • application/json

Parameters

  • profileLocator: string

  • fields: string

Response

CloudProfile

Last modified: 04 July 2024