Метод | Описание | |
---|---|---|
createAction ( ) : Scalr\Api\DataType\ResultEnvelope | Create a new Custom Scaling Metric in this Environment | |
deleteAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope | Delete custom Scaling Metric from database | |
describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope | Gets the list of the available Scaling Metric | |
fetchAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope | Fetches detailed info about the Scaling Metric | |
getScalingMetric ( string $metricName, boolean $restrictToCurrentScope = false ) : |
Gets Scaling Metric from database | |
modifyAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope | Modifies Custom Scaling Metrics attributes |
Метод | Описание | |
---|---|---|
getDefaultCriteria ( ) : array | Gets default search criteria for Scaling Metric |
public createAction ( ) : Scalr\Api\DataType\ResultEnvelope | ||
Результат | Scalr\Api\DataType\ResultEnvelope |
public deleteAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope | ||
$metricName | string | Scaling metric's name. |
Результат | Scalr\Api\DataType\ResultEnvelope |
public describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope | ||
Результат | Scalr\Api\DataType\ListResultEnvelope |
public fetchAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope | ||
$metricName | string | Scaling metric's name. |
Результат | Scalr\Api\DataType\ResultEnvelope |
public getScalingMetric ( string $metricName, boolean $restrictToCurrentScope = false ) : |
||
$metricName | string | Scaling metric's name. |
$restrictToCurrentScope | boolean | optional Whether it should additionally check that role corresponds to current scope |
Результат |
public modifyAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope | ||
$metricName | string | Scaling metric's name. |
Результат | Scalr\Api\DataType\ResultEnvelope |