Skip to content

Latest commit

 

History

History
1147 lines (784 loc) · 35.9 KB

TriggerServiceApi.md

File metadata and controls

1147 lines (784 loc) · 35.9 KB

OpenAPI\Client\TriggerServiceApi

All URIs are relative to http://localhost, except if the operation defines another base path.

Method HTTP request Description
environmentTriggerRestAddautoscalingtriggerPost() POST /environment/trigger/rest/addautoscalingtrigger
environmentTriggerRestAddloadalerttriggerPost() POST /environment/trigger/rest/addloadalerttrigger
environmentTriggerRestAddtriggerPost() POST /environment/trigger/rest/addtrigger
environmentTriggerRestAutoscalinghistoryPost() POST /environment/trigger/rest/autoscalinghistory
environmentTriggerRestDeleteautoscalingtriggerPost() POST /environment/trigger/rest/deleteautoscalingtrigger
environmentTriggerRestDeleteloadalerttriggerPost() POST /environment/trigger/rest/deleteloadalerttrigger
environmentTriggerRestDeletetriggerPost() POST /environment/trigger/rest/deletetrigger
environmentTriggerRestEditautoscalingtriggerPost() POST /environment/trigger/rest/editautoscalingtrigger
environmentTriggerRestEditloadalerttriggerPost() POST /environment/trigger/rest/editloadalerttrigger
environmentTriggerRestEdittriggerPost() POST /environment/trigger/rest/edittrigger
environmentTriggerRestGetautoscalingtriggersPost() POST /environment/trigger/rest/getautoscalingtriggers
environmentTriggerRestGetloadalerttriggersPost() POST /environment/trigger/rest/getloadalerttriggers
environmentTriggerRestGettriggerlogsPost() POST /environment/trigger/rest/gettriggerlogs
environmentTriggerRestGettriggersPost() POST /environment/trigger/rest/gettriggers
environmentTriggerRestLoadalerthistoryPost() POST /environment/trigger/rest/loadalerthistory
environmentTriggerRestSetautoscalingtriggerenabledPost() POST /environment/trigger/rest/setautoscalingtriggerenabled
environmentTriggerRestSetloadalerttriggerenabledPost() POST /environment/trigger/rest/setloadalerttriggerenabled
environmentTriggerRestSettriggerenabledPost() POST /environment/trigger/rest/settriggerenabled

environmentTriggerRestAddautoscalingtriggerPost()

environmentTriggerRestAddautoscalingtriggerPost($data, $envName): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Adds a new auto-scaling trigger for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$data = 'data_example'; // string
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestAddautoscalingtriggerPost($data, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestAddautoscalingtriggerPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
data string
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestAddloadalerttriggerPost()

environmentTriggerRestAddloadalerttriggerPost($data, $envName): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Adds a new load alert trigger for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$data = 'data_example'; // string
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestAddloadalerttriggerPost($data, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestAddloadalerttriggerPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
data string
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestAddtriggerPost()

environmentTriggerRestAddtriggerPost($data, $envName): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Adds a new trigger for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$data = 'data_example'; // string
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestAddtriggerPost($data, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestAddtriggerPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
data string
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestAutoscalinghistoryPost()

environmentTriggerRestAutoscalinghistoryPost($resultCount, $startRow, $resourceTypes, $triggerId, $nodeGroup, $actionTypes, $skipResults, $envName, $orderDirection, $startTime, $endTime, $orderField, $triggerLogId): \OpenAPI\Client\Model\ComHivextApiServerAdministrationResponsePagedArrayResponse

Gets log of auto-scaling trigger's execution. Returns list of logs for auto-scaling environment's triggers if an identifier of the trigger doesn't specified.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$resultCount = 56; // int
$startRow = 56; // int
$resourceTypes = 'resourceTypes_example'; // string
$triggerId = 56; // int
$nodeGroup = 'nodeGroup_example'; // string
$actionTypes = 'actionTypes_example'; // string
$skipResults = 'skipResults_example'; // string
$envName = 'envName_example'; // string
$orderDirection = 'orderDirection_example'; // string
$startTime = 'startTime_example'; // string
$endTime = 'endTime_example'; // string
$orderField = 'orderField_example'; // string
$triggerLogId = 56; // int

try {
    $result = $apiInstance->environmentTriggerRestAutoscalinghistoryPost($resultCount, $startRow, $resourceTypes, $triggerId, $nodeGroup, $actionTypes, $skipResults, $envName, $orderDirection, $startTime, $endTime, $orderField, $triggerLogId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestAutoscalinghistoryPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
resultCount int
startRow int
resourceTypes string [optional]
triggerId int [optional]
nodeGroup string [optional]
actionTypes string [optional]
skipResults string [optional]
envName string [optional]
orderDirection string [optional]
startTime string [optional]
endTime string [optional]
orderField string [optional]
triggerLogId int [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerAdministrationResponsePagedArrayResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestDeleteautoscalingtriggerPost()

environmentTriggerRestDeleteautoscalingtriggerPost($id, $envName): \OpenAPI\Client\Model\ComHivextApiResponse

Deletes an existing auto-scaling trigger.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$id = 56; // int
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestDeleteautoscalingtriggerPost($id, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestDeleteautoscalingtriggerPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id int
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestDeleteloadalerttriggerPost()

environmentTriggerRestDeleteloadalerttriggerPost($id, $envName): \OpenAPI\Client\Model\ComHivextApiResponse

Deletes an existing load alert trigger.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$id = 56; // int
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestDeleteloadalerttriggerPost($id, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestDeleteloadalerttriggerPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id int
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestDeletetriggerPost()

environmentTriggerRestDeletetriggerPost($id, $envName): \OpenAPI\Client\Model\ComHivextApiResponse

Deletes an existing trigger.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$id = 56; // int
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestDeletetriggerPost($id, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestDeletetriggerPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id int
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestEditautoscalingtriggerPost()

environmentTriggerRestEditautoscalingtriggerPost($data, $id, $envName): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Edits an auto-scaling trigger for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$data = 'data_example'; // string
$id = 56; // int
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestEditautoscalingtriggerPost($data, $id, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestEditautoscalingtriggerPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
data string
id int
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestEditloadalerttriggerPost()

environmentTriggerRestEditloadalerttriggerPost($data, $id, $envName): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Edits a load alert trigger for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$data = 'data_example'; // string
$id = 56; // int
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestEditloadalerttriggerPost($data, $id, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestEditloadalerttriggerPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
data string
id int
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestEdittriggerPost()

environmentTriggerRestEdittriggerPost($data, $id, $envName): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Edits a trigger for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$data = 'data_example'; // string
$id = 56; // int
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestEdittriggerPost($data, $id, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestEdittriggerPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
data string
id int
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestGetautoscalingtriggersPost()

environmentTriggerRestGetautoscalingtriggersPost($envName, $actionTypes): \OpenAPI\Client\Model\ComHivextApiServerDevelopmentResponseInterfacesArrayResponse

Gets a list of auto-scaling triggers for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$envName = 'envName_example'; // string
$actionTypes = 'actionTypes_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestGetautoscalingtriggersPost($envName, $actionTypes);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestGetautoscalingtriggersPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
envName string [optional]
actionTypes string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerDevelopmentResponseInterfacesArrayResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestGetloadalerttriggersPost()

environmentTriggerRestGetloadalerttriggersPost($envName, $actionTypes): \OpenAPI\Client\Model\ComHivextApiServerDevelopmentResponseInterfacesArrayResponse

Gets a list of auto-scaling triggers for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$envName = 'envName_example'; // string
$actionTypes = 'actionTypes_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestGetloadalerttriggersPost($envName, $actionTypes);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestGetloadalerttriggersPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
envName string [optional]
actionTypes string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerDevelopmentResponseInterfacesArrayResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestGettriggerlogsPost()

environmentTriggerRestGettriggerlogsPost($resultCount, $startRow, $resourceTypes, $triggerId, $nodeGroup, $actionTypes, $skipResults, $envName, $orderDirection, $startTime, $endTime, $orderField, $triggerLogId): \OpenAPI\Client\Model\ComHivextApiServerAdministrationResponsePagedArrayResponse

Gets log of trigger's execution. Returns list of logs for all environment's triggers if an identifier of the trigger doesn't specified.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$resultCount = 56; // int
$startRow = 56; // int
$resourceTypes = 'resourceTypes_example'; // string
$triggerId = 56; // int
$nodeGroup = 'nodeGroup_example'; // string
$actionTypes = 'actionTypes_example'; // string
$skipResults = 'skipResults_example'; // string
$envName = 'envName_example'; // string
$orderDirection = 'orderDirection_example'; // string
$startTime = 'startTime_example'; // string
$endTime = 'endTime_example'; // string
$orderField = 'orderField_example'; // string
$triggerLogId = 56; // int

try {
    $result = $apiInstance->environmentTriggerRestGettriggerlogsPost($resultCount, $startRow, $resourceTypes, $triggerId, $nodeGroup, $actionTypes, $skipResults, $envName, $orderDirection, $startTime, $endTime, $orderField, $triggerLogId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestGettriggerlogsPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
resultCount int
startRow int
resourceTypes string [optional]
triggerId int [optional]
nodeGroup string [optional]
actionTypes string [optional]
skipResults string [optional]
envName string [optional]
orderDirection string [optional]
startTime string [optional]
endTime string [optional]
orderField string [optional]
triggerLogId int [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerAdministrationResponsePagedArrayResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestGettriggersPost()

environmentTriggerRestGettriggersPost($envName, $actionTypes): \OpenAPI\Client\Model\ComHivextApiServerDevelopmentResponseInterfacesArrayResponse

Gets a list of triggers for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$envName = 'envName_example'; // string
$actionTypes = 'actionTypes_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestGettriggersPost($envName, $actionTypes);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestGettriggersPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
envName string [optional]
actionTypes string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerDevelopmentResponseInterfacesArrayResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestLoadalerthistoryPost()

environmentTriggerRestLoadalerthistoryPost($resultCount, $startRow, $resourceTypes, $triggerId, $nodeGroup, $actionTypes, $skipResults, $envName, $orderDirection, $startTime, $endTime, $orderField, $triggerLogId): \OpenAPI\Client\Model\ComHivextApiServerAdministrationResponsePagedArrayResponse

Gets log of load alert trigger's execution. Returns list of logs for load alert environment's triggers if an identifier of the trigger doesn't specified.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$resultCount = 56; // int
$startRow = 56; // int
$resourceTypes = 'resourceTypes_example'; // string
$triggerId = 56; // int
$nodeGroup = 'nodeGroup_example'; // string
$actionTypes = 'actionTypes_example'; // string
$skipResults = 'skipResults_example'; // string
$envName = 'envName_example'; // string
$orderDirection = 'orderDirection_example'; // string
$startTime = 'startTime_example'; // string
$endTime = 'endTime_example'; // string
$orderField = 'orderField_example'; // string
$triggerLogId = 56; // int

try {
    $result = $apiInstance->environmentTriggerRestLoadalerthistoryPost($resultCount, $startRow, $resourceTypes, $triggerId, $nodeGroup, $actionTypes, $skipResults, $envName, $orderDirection, $startTime, $endTime, $orderField, $triggerLogId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestLoadalerthistoryPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
resultCount int
startRow int
resourceTypes string [optional]
triggerId int [optional]
nodeGroup string [optional]
actionTypes string [optional]
skipResults string [optional]
envName string [optional]
orderDirection string [optional]
startTime string [optional]
endTime string [optional]
orderField string [optional]
triggerLogId int [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerAdministrationResponsePagedArrayResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestSetautoscalingtriggerenabledPost()

environmentTriggerRestSetautoscalingtriggerenabledPost($id, $enabled, $envName): \OpenAPI\Client\Model\ComHivextApiResponse

Enables or disables a auto-scaling trigger for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$id = 56; // int
$enabled = True; // bool
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestSetautoscalingtriggerenabledPost($id, $enabled, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestSetautoscalingtriggerenabledPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id int
enabled bool
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestSetloadalerttriggerenabledPost()

environmentTriggerRestSetloadalerttriggerenabledPost($id, $enabled, $envName): \OpenAPI\Client\Model\ComHivextApiResponse

Enables or disables a load alert trigger for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$id = 56; // int
$enabled = True; // bool
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestSetloadalerttriggerenabledPost($id, $enabled, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestSetloadalerttriggerenabledPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id int
enabled bool
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

environmentTriggerRestSettriggerenabledPost()

environmentTriggerRestSettriggerenabledPost($id, $enabled, $envName): \OpenAPI\Client\Model\ComHivextApiResponse

Enables or disables a trigger for environment.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\TriggerServiceApi(
    // 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()
);
$id = 56; // int
$enabled = True; // bool
$envName = 'envName_example'; // string

try {
    $result = $apiInstance->environmentTriggerRestSettriggerenabledPost($id, $enabled, $envName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TriggerServiceApi->environmentTriggerRestSettriggerenabledPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id int
enabled bool
envName string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]