Property | Type | Description | |
---|---|---|---|
$accountId | integer | The identifier of the client's account. | |
$algorithm | string | Algorithm. | |
$alias | string | Alias. | |
$calcFunction | string | Calculating function. | |
$envId | integer | The identifier of the client's environment. | |
$filePath | string | File path. | |
$id | integer | ID. | |
$isInvert | boolean | Should it follow inverted logic | |
$name | string | Metric's Name. | |
$retrieveMethod | string | Retrieve method. |
Method | Description | |
---|---|---|
getAlgorithm ( string $algoName ) : Scalr_Scaling_Algorithms_DateTim\Scalr_Scaling_Algorithms_DateTime | Scalr_Scaling_Algorithms_Senso\Scalr_Scaling_Algorithms_Sensor | Get specified algorithm object | |
getList ( integer $envId ) : array | Get list with basic info about metrics. | |
getScope ( ) | ||
isUsed ( ) : integer | false | Checks whether the ScalingMetric is already used in some FarmRoleScalingMetric |
public static getAlgorithm ( string $algoName ) : Scalr_Scaling_Algorithms_DateTim\Scalr_Scaling_Algorithms_DateTime | Scalr_Scaling_Algorithms_Senso\Scalr_Scaling_Algorithms_Sensor | ||
$algoName | string | Name of algorithm |
return | Scalr_Scaling_Algorithms_DateTim\Scalr_Scaling_Algorithms_DateTime | Scalr_Scaling_Algorithms_Senso\Scalr_Scaling_Algorithms_Sensor | Algorithm object |
public int $accountId | ||
return | integer |
public int $envId | ||
return | integer |