Scalr\Modules\PlatformModuleInterface::getOrphanedServers PHP Method

getOrphanedServers() public method

Gets the list of the orphaned instances for the specified environment and location that are not managed by Scalr
public getOrphanedServers ( Environment $environment, string $cloudLocation, array $instanceIds = null ) : OrphanedServer[]
$environment Scalr\Model\Entity\Account\Environment Environment Entity
$cloudLocation string Location name
$instanceIds array optional List of instanceId to filter
return Scalr\Modules\Platforms\OrphanedServer[] Returns array of orphaned servers
    public function getOrphanedServers(Environment $environment, $cloudLocation, $instanceIds = null);