def get_name(instance_template_revision):
  """Returns the name to use when creating an instance template.

  Args:
    instance_template_revision: models.InstanceTemplateRevision.

  Returns:
    A string.
  """
  # <base-name>-<revision>
  return '%s-%s' % (
      instance_template_revision.key.parent().id(),
      instance_template_revision.key.id(),
  )