All URIs are relative to https://vs-szp-ds01.otr.ru:8111
Method | HTTP request | Description |
---|---|---|
serveImage | GET /app/rest/cloud/images/{imageLocator} | |
serveImages | GET /app/rest/cloud/images | |
serveInstance | GET /app/rest/cloud/instances/{instanceLocator} | |
serveInstances | GET /app/rest/cloud/instances | |
serveProfile | GET /app/rest/cloud/profiles/{profileLocator} | |
serveProfiles | GET /app/rest/cloud/profiles | |
startInstance | POST /app/rest/cloud/instances | |
stopInstance | DELETE /app/rest/cloud/instances/{instanceLocator} |
\TeamCityClient\Model\CloudImage serveImage($image_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\CloudInstanceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$image_locator = "image_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveImage($image_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CloudInstanceApi->serveImage: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
image_locator | string | ||
fields | string | [optional] |
\TeamCityClient\Model\CloudImage
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\CloudImages serveImages($locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\CloudInstanceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveImages($locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CloudInstanceApi->serveImages: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
locator | string | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\CloudImages
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\CloudInstance serveInstance($instance_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\CloudInstanceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$instance_locator = "instance_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveInstance($instance_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CloudInstanceApi->serveInstance: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
instance_locator | string | ||
fields | string | [optional] |
\TeamCityClient\Model\CloudInstance
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\CloudInstances serveInstances($locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\CloudInstanceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveInstances($locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CloudInstanceApi->serveInstances: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
locator | string | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\CloudInstances
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\CloudProfile serveProfile($profile_locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\CloudInstanceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$profile_locator = "profile_locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveProfile($profile_locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CloudInstanceApi->serveProfile: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
profile_locator | string | ||
fields | string | [optional] |
\TeamCityClient\Model\CloudProfile
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\TeamCityClient\Model\CloudProfiles serveProfiles($locator, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\CloudInstanceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$locator = "locator_example"; // string |
$fields = "fields_example"; // string |
try {
$result = $apiInstance->serveProfiles($locator, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CloudInstanceApi->serveProfiles: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
locator | string | [optional] | |
fields | string | [optional] |
\TeamCityClient\Model\CloudProfiles
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
startInstance($body, $fields)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\CloudInstanceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \TeamCityClient\Model\CloudInstance(); // \TeamCityClient\Model\CloudInstance |
$fields = "fields_example"; // string |
try {
$apiInstance->startInstance($body, $fields);
} catch (Exception $e) {
echo 'Exception when calling CloudInstanceApi->startInstance: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \TeamCityClient\Model\CloudInstance | [optional] | |
fields | string | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
stopInstance($instance_locator)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new TeamCityClient\Api\CloudInstanceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$instance_locator = "instance_locator_example"; // string |
try {
$apiInstance->stopInstance($instance_locator);
} catch (Exception $e) {
echo 'Exception when calling CloudInstanceApi->stopInstance: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
instance_locator | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]