Scalr\Modules\PlatformModuleInterface::getInstanceType PHP Method

getInstanceType() public method

Returns vCPUs for an instance by its ID
public getInstanceType ( string $instanceTypeId, Scalr_Environment $env, string $cloudLocation = null ) : Scalr\Model\Entity\CloudInstanceType | array
$instanceTypeId string Instance type identifier
$env Scalr_Environment The Scalr environment object
$cloudLocation string optional The cloud location
return Scalr\Model\Entity\CloudInstanceType | array Cloud Instance Type entity or array for Ec2 platform
    public function getInstanceType($instanceTypeId, \Scalr_Environment $env, $cloudLocation = null);