Méthode | Description | |
---|---|---|
cloneAction ( integer $farmId ) : Scalr\Api\DataType\ResultEnvelope | Creates clone for the farm | |
createAction ( ) : Scalr\Api\DataType\ResultEnvelope | Create a new Farm in this Environment | |
createVariableAction ( integer $farmId ) : Scalr\Api\DataType\ResultEnvelope | Creates farm's global var | |
deleteAction ( string $farmId ) : Scalr\Api\DataType\ResultEnvelope | Delete an Farm from this Environment | |
deleteVariableAction ( integer $farmId, string $name ) : Scalr\Api\DataType\ResultEnvelope | Deletes farm's global variable | |
describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope | Retrieves the list of the farms | |
describeServersAction ( integer $farmId ) : Scalr\Api\DataType\ListResultEnvelope | Gets list of farm's servers | |
describeVariablesAction ( integer $farmId ) : Scalr\Api\DataType\ListResultEnvelope | Gets the list of the available Global Variables of the farm | |
fetchAction ( string $farmId ) : Scalr\Api\DataType\ResultEnvelope | Fetches detailed info about one farm | |
fetchVariableAction ( integer $farmId, string $name ) : Scalr\Api\DataType\ResultEnvelope | Gets specific global var of the farm | |
getFarm ( string $farmId, boolean | string $modify = false ) : |
Gets specified Farm taking into account both scope and authentication token | |
getVariableInstance ( ) : Scalr_Scripting_GlobalVariables | Gets global variable object | |
launchAction ( integer $farmId ) : Scalr\Api\DataType\ResultEnvelope | Launch specified farm | |
modifyAction ( integer $farmId ) : Scalr\Api\DataType\ResultEnvelope | Change farm attributes. | |
modifyVariableAction ( integer $farmId, string $name ) : Scalr\Api\DataType\ResultEnvelope | Modifies farm's global variable | |
terminateAction ( integer $farmId ) : Scalr\Api\DataType\ResultEnvelope | Terminates specified farm |
Méthode | Description | |
---|---|---|
getDefaultCriteria ( ) : array | Gets default search criteria according environment scope |
public cloneAction ( integer $farmId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmId | integer | Unique farm identifier |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public createAction ( ) : Scalr\Api\DataType\ResultEnvelope | ||
Résultat | Scalr\Api\DataType\ResultEnvelope |
public createVariableAction ( integer $farmId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmId | integer | Numeric identifier of the Farm |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public deleteAction ( string $farmId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmId | string | Unique identifier of the script |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public deleteVariableAction ( integer $farmId, string $name ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmId | integer | Numeric identifier of the Farm |
$name | string | Name of variable |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope | ||
Résultat | Scalr\Api\DataType\ListResultEnvelope | Returns describe result |
public describeServersAction ( integer $farmId ) : Scalr\Api\DataType\ListResultEnvelope | ||
$farmId | integer | Identifier of the Farm |
Résultat | Scalr\Api\DataType\ListResultEnvelope |
public describeVariablesAction ( integer $farmId ) : Scalr\Api\DataType\ListResultEnvelope | ||
$farmId | integer | Numeric identifier of the Farm |
Résultat | Scalr\Api\DataType\ListResultEnvelope |
public fetchAction ( string $farmId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmId | string | Numeric identifier of the farm |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public fetchVariableAction ( integer $farmId, string $name ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmId | integer | Numeric identifier of the Farm |
$name | string | Name of variable |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public getVariableInstance ( ) : Scalr_Scripting_GlobalVariables | ||
Résultat | Scalr_Scripting_GlobalVariables |
public launchAction ( integer $farmId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmId | integer | Unique farm identifier |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public modifyAction ( integer $farmId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmId | integer | Unique identifier of the script |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public modifyVariableAction ( integer $farmId, string $name ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmId | integer | Numeric identifier of the Farm |
$name | string | Name of variable |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public terminateAction ( integer $farmId ) : Scalr\Api\DataType\ResultEnvelope | ||
$farmId | integer | Unique farm identifier |
Résultat | Scalr\Api\DataType\ResultEnvelope |