def backup(self, context, instance, name, backup_type, rotation, extra_properties=None):
    self.extra_props_last_call = extra_properties
    props = dict(backup_type=backup_type, rotation=rotation)
    props.update((extra_properties or {}))
    return dict(id='123', status='ACTIVE', name=name, properties=props)
def backup(self, context, instance, name, backup_type, rotation, extra_properties=None):
    self.extra_props_last_call = extra_properties
    props = dict(backup_type=backup_type, rotation=rotation)
    props.update((extra_properties or {}))
    return dict(id='123', status='ACTIVE', name=name, properties=props)