메소드 |
설명 |
|
ClearSettings ( $filter = "" ) |
|
|
GetAllSettings ( ) : unknown_type |
Returns all role settings |
|
GetFarmObject ( ) : DBFarm |
Returns DBFarm Object |
|
GetPendingInstancesCount ( ) |
|
|
GetRoleID ( ) : string |
Returns role prototype |
|
GetRoleObject ( ) : DBRole |
|
|
GetRunningInstancesCount ( ) |
|
|
GetServersByFilter ( $filter_args = [], $ufilter_args = [] ) |
|
|
GetServiceConfiguration2 ( $behavior ) |
|
|
GetSetting ( string $name ) : mixed |
Get Role setting by name |
|
GetSettingsByFilter ( $filter = "" ) |
|
|
GetSuspendedInstancesCount ( ) |
|
|
Load ( $farmid, $roleid, $cloudLocation ) : DBFarmRole |
Load DBInstance by database id |
|
LoadByID ( $id ) : DBFarmRole |
Returns DBFarmRole object by id |
|
Save ( ) |
|
|
SetScripts ( array $scripts, array $params = [] ) |
|
|
SetServiceConfiguration ( $behavior, $config ) |
|
|
SetSetting ( string $name, string | null $value, string $type = null ) : void |
Set farm role setting |
|
__construct ( $farm_roleid ) : void |
Constructor |
|
__sleep ( ) |
|
|
__wakeup ( ) |
|
|
applyDefinition ( $definition, $reset = false ) |
|
|
applyGlobalVarsToValue ( $value ) : string |
Apply FarmRole global variables to a value |
|
getChefSettings ( ) |
|
|
getDefinition ( ) |
|
|
getFarmStatus ( ) : integer | null |
Gets the status of the farm which corresponds to the farm role |
|
getInstanceType ( ) : mixed |
Returns instance type id |
|
getReplacementRoles ( $includeSelf = false ) |
|
|
getStorage ( ) : Scalr\Farm\Role\FarmRoleStorage |
|
|
isCloudstack ( ) |
|
|
isOpenstack ( ) |
|
|