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 |