def GetBootDiskConfig(disk_name, source_image):
  """Helper method to create a boot disk property."""
  return {
      'deviceName': 'boot',
      'type': 'PERSISTENT',
      'boot': True,
      'autoDelete': True,
      'initializeParams': {
          'diskName': disk_name,
          'sourceImage': source_image,
      }
  }