메소드 | 설명 | |
---|---|---|
createAction ( integer $roleId ) : Scalr\Api\DataType\ResultEnvelope | Create a new Orchestration Rule for this Role | |
deleteAction ( integer $roleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | Delete rule from specified role | |
describeAction ( integer $roleId ) : array | Retrieves the list of orchestration rules of the role | |
fetchAction ( integer $roleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | Fetches detailed info about specified rule | |
getRole ( integer $roleId, boolean $modify = false ) : |
Gets role from database using User's Environment | |
getRule ( integer $ruleId, boolean $modify = false ) : Scalr\Model\Entity\RoleScript | Gets specified orchestration rule | |
modifyAction ( integer $roleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | Change rule attributes. |
public createAction ( integer $roleId ) : Scalr\Api\DataType\ResultEnvelope | ||
$roleId | integer | Numeric identifier of the role |
리턴 | Scalr\Api\DataType\ResultEnvelope |
public deleteAction ( integer $roleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | ||
$roleId | integer | Numeric identifier of the role |
$ruleId | integer | Numeric identifier of the rule |
리턴 | Scalr\Api\DataType\ResultEnvelope |
public describeAction ( integer $roleId ) : array | ||
$roleId | integer | Numeric role id |
리턴 | array | Returns describe result |
public fetchAction ( integer $roleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | ||
$roleId | integer | Numeric identifier of the script |
$ruleId | integer | Numeric identifier of the rule |
리턴 | Scalr\Api\DataType\ResultEnvelope |
public modifyAction ( integer $roleId, integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | ||
$roleId | integer | Unique identifier of the role |
$ruleId | integer | Numeric identifier of the rule |
리턴 | Scalr\Api\DataType\ResultEnvelope |