Property | Type | Description | |
---|---|---|---|
$disableScalingBehaviors | List of behaviors disabled for scaling |
Property | Type | Description | |
---|---|---|---|
$controller | |||
$entityClass | |||
$farmRoleSupportedBehaviors | array | List of farm role supported behaviors | |
$rules | array | Converter rules | |
$uniqueFarmBehaviors | array | List of unique behaviors Farm can include only one farm-role with following behaviors |
Method | Description | |
---|---|---|
_farm ( $from, $to, $action ) | ||
_instance ( $from, $to, $action ) | ||
_placement ( $from, $to, $action ) | ||
_role ( $from, $to, $action ) | ||
_scaling ( $from, $to, $action ) | ||
getInstanceConfiguration ( |
Gets instance configuration data | |
getPlacementConfiguration ( |
Gets placement configuration data | |
getScalingConfiguration ( |
Gets scaling configuration data | |
setupInstanceConfiguration ( |
Setups given instance configuration to specified farm role | |
setupPlacementConfiguration ( |
Setups given placement configuration to specified farm role | |
setupScalingConfiguration ( |
Setups given scaling configuration to specified farm role | |
validateEntity ( $entity ) |
public static getInstanceConfiguration ( |
||
$role | FarmRole entity | |
return | array | InstanceConfiguration representation |
public static getPlacementConfiguration ( |
||
$role | FarmRole entity | |
return | array | PlacementConfiguration representation |
public static getScalingConfiguration ( |
||
$role | FarmRole entity | |
return | array | ScalingConfiguration representation |
public static setupInstanceConfiguration ( |
||
$role | Configurable farm role | |
$instance | object | Instance configuration |
public static setupPlacementConfiguration ( |
||
$role | Configurable farm role | |
$placement | object | Placement configuration |
public static setupScalingConfiguration ( |
||
$farmRole | Configurable farm role | |
$scaling | object | Scaling configuration |
protected FarmRoles,Scalr\Api\Service\User\V1beta0\Controller $controller | ||
return |
public static $disableScalingBehaviors |
protected static array $farmRoleSupportedBehaviors | ||
return | array |
protected static array $uniqueFarmBehaviors | ||
return | array |