def _get_sz_max(self):
        got = self.cli('show virtual-service global')
        limits = got['TABLE_resource_limits']['ROW_resource_limits']
        for resource in limits:
            name = resource['media_name']
            max_val = int(resource['quota'])
            if 'CPU' in name:
                self.sz_max['cpu'] = max_val
            elif 'memory' in name:
                self.sz_max['memory'] = max_val
            elif 'flash' in name:
                self.sz_max['disk'] = max_val