Method | Description | |
---|---|---|
defaultAction ( ) | ||
hasAccess ( ) | ||
init ( ) | ||
makeCloudCredentials ( string $platform, array $parameters, integer $status = Entity\CloudCredentials::STATUS_ENABLED ) : |
Makes clod credentials entity for specified platform | |
viewAction ( ) | ||
xGetCloudParamsAction ( ) | ||
xSaveCloudParamsAction ( ) |
Method | Description | |
---|---|---|
checkVar ( $name, $type, $requiredError = '', $cloud = '', $noFileTrim = false, $namePrefix = '', $base64encode = false ) | ||
checkVar2 ( $name, $type, $requiredError = '', $cloud = '', $trim = true, $base64encode = false, $fetchIfEmpty = false ) | ||
getCloudParams ( $platform ) | ||
getCloudStackDetails ( $platform ) | ||
getOpenStackDetails ( $platform ) | ||
saveAzure ( ) | ||
saveAzureSettings ( $pars, $encrypt = true ) | ||
saveCloudstack ( ) | ||
saveEc2 ( ) | ||
saveGce ( ) | ||
saveOpenstack ( ) | ||
searchCloudstackUser ( Scalr\Service\CloudStack\DataType\AccountList $accounts = null, array $pars = [] ) : boolean | Searches a Cloudstack user name from the accounts list by api key and sets properties |
public makeCloudCredentials ( string $platform, array $parameters, integer $status = Entity\CloudCredentials::STATUS_ENABLED ) : |
||
$platform | string | Cloud credentials platform |
$parameters | array | Array of cloud credentials parameters |
$status | integer | optional Cloud credentials status |
return | Returns new cloud credentials entity |