프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$apiKey | string | ||
$endpoint | string | ||
$platformName | string | ||
$secretKey | string | Secret Access Key | |
$zonesCache | array |
메소드 | 설명 | |
---|---|---|
__construct ( $endpoint, $apiKey, $secretKey, $cloudstack, $platform = 'cloudstack' ) | Constructor | |
call ( $command, array $args = null, $verb = 'GET' ) | ||
getSignature ( $queryString ) | ||
resetDebug ( ) : |
Resets debug mode | |
setDebug ( boolean $bDebug = true ) : |
Sets debug mode |
메소드 | 설명 | |
---|---|---|
createHttpRequest ( ) : Scalr\System\Http\Client\Request | Creates new http Request object | |
tryCall ( Scalr\System\Http\Client\Request $httpRequest, integer $attempts = 3, integer $interval = 200 ) : http\Client\Response | Tries to send request on several attempts. |
public __construct ( $endpoint, $apiKey, $secretKey, $cloudstack, $platform = 'cloudstack' ) |
protected createHttpRequest ( ) : Scalr\System\Http\Client\Request | ||
리턴 | Scalr\System\Http\Client\Request | Returns new http Request object |
protected tryCall ( Scalr\System\Http\Client\Request $httpRequest, integer $attempts = 3, integer $interval = 200 ) : http\Client\Response | ||
$httpRequest | Scalr\System\Http\Client\Request | |
$attempts | integer | Attempts count. |
$interval | integer | An sleep interval between an attempts in microseconds. |
리턴 | http\Client\Response | Returns http Response if success. |