Method | Description | |
---|---|---|
createAction ( integer $farmRoleId ) : Scalr\Api\DataType\ResultEnvelope | Create a new Orchestration Rule for this Role | |
deleteAction ( integer $farmRoleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | Delete rule from specified role | |
describeAction ( integer $farmRoleId ) : array | Retrieves the list of orchestration rules of the role | |
fetchAction ( integer $farmRoleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | Fetches detailed info about specified rule | |
getFarmRole ( integer $farmRoleId, boolean $modify = false ) : |
Gets farm role from database using User's Environment | |
getRule ( integer $ruleId, boolean $modify = false ) : Scalr\Model\Entity\FarmRoleScript | Gets specified orchestration rule | |
modifyAction ( integer $farmRoleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | Change rule attributes. |
public createAction ( integer $farmRoleId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmRoleId | integer | Unique identifier of a Farm Role |
return | Scalr\Api\DataType\ResultEnvelope |
public deleteAction ( integer $farmRoleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmRoleId | integer | Unique identifier of a Farm Role |
$ruleId | integer | Numeric identifier of the rule |
return | Scalr\Api\DataType\ResultEnvelope |
public describeAction ( integer $farmRoleId ) : array | ||
$farmRoleId | integer | Numeric role id |
return | array | Returns describe result |
public fetchAction ( integer $farmRoleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmRoleId | integer | Unique identifier of a Farm Role |
$ruleId | integer | Numeric identifier of the rule |
return | Scalr\Api\DataType\ResultEnvelope |
public modifyAction ( integer $farmRoleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmRoleId | integer | Unique identifier of a Farm Role |
$ruleId | integer | Numeric identifier of the rule |
return | Scalr\Api\DataType\ResultEnvelope |