Method | Description | |
---|---|---|
createAction ( integer $scriptId ) : Scalr\Api\DataType\ResultEnvelope | Create a new version of script | |
deleteAction ( integer $scriptId, integer $versionNumber ) : Scalr\Api\DataType\ResultEnvelope | Remove script version | |
describeAction ( $scriptId ) : array | Retrieves the list of the script versions | |
fetchAction ( string $scriptId, integer $versionNumber ) : Scalr\Api\DataType\ResultEnvelope | Fetches detailed info about one script | |
getVersion ( string $scriptId, integer $versionNumber, boolean $modify = false ) : Scalr\Model\Entity\ScriptVersion | Gets specified Version for the Script taking into account both scope and authentication token | |
modifyAction ( integer $scriptId, integer $versionNumber ) : Scalr\Api\DataType\ResultEnvelope | Change version attributes. |
public createAction ( integer $scriptId ) : Scalr\Api\DataType\ResultEnvelope | ||
$scriptId | integer | Unique identifier of the script |
return | Scalr\Api\DataType\ResultEnvelope |
public deleteAction ( integer $scriptId, integer $versionNumber ) : Scalr\Api\DataType\ResultEnvelope | ||
$scriptId | integer | Script ID |
$versionNumber | integer | Version number |
return | Scalr\Api\DataType\ResultEnvelope |
public describeAction ( $scriptId ) : array | ||
$scriptId | ||
return | array | Returns describe result |
public fetchAction ( string $scriptId, integer $versionNumber ) : Scalr\Api\DataType\ResultEnvelope | ||
$scriptId | string | Numeric identifier of the script |
$versionNumber | integer | Script version Number |
return | Scalr\Api\DataType\ResultEnvelope |
public getVersion ( string $scriptId, integer $versionNumber, boolean $modify = false ) : Scalr\Model\Entity\ScriptVersion | ||
$scriptId | string | Numeric identifier of the Script |
$versionNumber | integer | Script version number |
$modify | boolean | optional Flag checking write permissions |
return | Scalr\Model\Entity\ScriptVersion | Returns the Script Entity on success |
public modifyAction ( integer $scriptId, integer $versionNumber ) : Scalr\Api\DataType\ResultEnvelope | ||
$scriptId | integer | Unique identifier of the script |
$versionNumber | integer | Script version number |
return | Scalr\Api\DataType\ResultEnvelope |