Scalr\Service\Azure\Services\Compute\DataType\VersionData::setPlan PHP Method

setPlan() public method

Sets plan
public setPlan ( array | Scalr\Service\Azure\Services\Compute\DataType\PlanProperties $plan = null ) : VersionData
$plan array | Scalr\Service\Azure\Services\Compute\DataType\PlanProperties Required for marketplace images
return VersionData
    public function setPlan($plan = null)
    {
        if (!$plan instanceof PlanProperties) {
            $plan = PlanProperties::initArray($plan);
        }
        return $this->__call(__FUNCTION__, [$plan]);
    }
VersionData