프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$alias | string | Farm alias | |
$cloudLocation | string | Cloud location | |
$farmId | integer | Farm Id | |
$id | integer | Identifier | |
$lastSync | DateTime | Time of last synchronization | |
$launchIndex | integer | launch index | |
$launchTimeout | integer | Launch timeout | |
$platform | string | Role platform | |
$rebootTimeout | integer | Reboot timeout | |
$roleId | integer | Role Id | |
$statusTimeout | integer | Status refresh timeout |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_farm | Farm entity | ||
$_farmRoleMetrics | The list of farm role scaling metrics | ||
$_image | Image entity | ||
$_role | Role entity | ||
$_settings | Farm role settings collection |
메소드 | 설명 | |
---|---|---|
__get ( string $name ) : mixed | Magic getter. | |
delete ( ) | ||
deleteScheduled ( ) | Deletes scheduled tasks | |
getCloudTags ( boolean $addNameTag = false ) : array | This method was done for server import, but it has been already refactored in SCALRCORE-2867. | |
getFarm ( ) : |
Get Farm entity | |
getImage ( ) : |
Gets the Image Entity | |
getRole ( ) : |
Get Role entity | |
getServerImport ( |
Return ServerImport class | |
hasAccessPermissions ( $user, $environment = null, $modify = null ) | ||
listFarmRoleMetric ( integer $farmRoleId ) : array | Get a list of names farm-role scaling metrics. | |
save ( ) | ||
setupAlias ( ) | Setups farm role alias | |
setupAnalytics ( ) | Setups farm role analytics tags | |
setupBehaviors ( ) | Setups farm role settings related to role behaviors | |
setupPolling ( ) | Setups polling settings | |
setupRole ( ) | ||
setupScaling ( ) | Setups farm role scaling settings | |
terminateServers ( ) | Terminates servers used this farm role |
public getCloudTags ( boolean $addNameTag = false ) : array | ||
$addNameTag | boolean | optional If true add tag Name (on EC2 cloud) |
리턴 | array | Return list of tags [key => value] |
public getServerImport ( |
||
$user | ||
리턴 |
public hasAccessPermissions ( $user, $environment = null, $modify = null ) |
public static listFarmRoleMetric ( integer $farmRoleId ) : array | ||
$farmRoleId | integer | farm-role identifier |
리턴 | array |
public setupBehaviors ( ) |
protected FarmRoleScalingMetric[],Scalr\Model\Entity $_farmRoleMetrics | ||
리턴 |
protected SettingsCollection,Scalr\Model\Collections $_settings | ||
리턴 |