(disk_name, source_image)
return {
      'deviceName': 'boot',
      'type': 'PERSISTENT',
      'boot': True,
      'autoDelete': True,
      'initializeParams': {
          'diskName': disk_name,
          'sourceImage': source_image,
      }
  }
Helper method to create a boot disk property.
Helper method to create a boot disk property.
Helper method to create a boot disk property .
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,
      }
  }
def GetBootDiskConfig ( disk_name , source_image ) : return { 'deviceName' : 'boot' , 'type' : 'PERSISTENT' , 'boot' : True , 'autoDelete' : True , 'initializeParams' : { 'diskName' : disk_name , 'sourceImage' : source_image , } }