Свойство | Type | Description | |
---|---|---|---|
$disableScalingBehaviors | List of behaviors disabled for scaling |
Свойство | 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 |
Méthode | 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 | |
Résultat | array | InstanceConfiguration representation |
public static getPlacementConfiguration ( |
||
$role | FarmRole entity | |
Résultat | array | PlacementConfiguration representation |
public static getScalingConfiguration ( |
||
$role | FarmRole entity | |
Résultat | 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 | ||
Résultat |
public static $disableScalingBehaviors |
protected static array $farmRoleSupportedBehaviors | ||
Résultat | array |
protected static array $uniqueFarmBehaviors | ||
Résultat | array |