Scalr\Modules\Platforms\Cloudstack\CloudstackPlatformModule::getEndpointUrl PHP Method

getEndpointUrl() public method

Gets endpoint url for private cloud
public getEndpointUrl ( Scalr_Environmen\Scalr_Environment $env, string $group = null ) : string
$env Scalr_Environmen\Scalr_Environment The scalr environment object
$group string optional The group name
return string Returns endpoint url for cloudstack.
    public function getEndpointUrl(Scalr_Environment $env, $group = null)
    {
        return $env->keychain($this->platform)->properties[Entity\CloudCredentialsProperty::CLOUDSTACK_API_URL];
    }