Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
getDefaultCriteria ( ) : array | Gets default search criteria for Scaling Metric |
public createAction ( ) : Scalr\Api\DataType\ResultEnvelope | ||
return | Scalr\Api\DataType\ResultEnvelope |
public deleteAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope | ||
$metricName | string | Scaling metric's name. |
return | Scalr\Api\DataType\ResultEnvelope |
public describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope | ||
return | Scalr\Api\DataType\ListResultEnvelope |
public fetchAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope | ||
$metricName | string | Scaling metric's name. |
return | 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 |
return |
public modifyAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope | ||
$metricName | string | Scaling metric's name. |
return | Scalr\Api\DataType\ResultEnvelope |