Lines Matching refs:image_name
343 image_name, argument
365 if self.CheckImageExists(image_name):
371 "source_disk %s but not both" % (image_name, source_uri,
374 logger.info("Creating image %s, source_uri %s", image_name,
377 "name": image_name,
383 logger.info("Creating image %s, source_disk %s", image_name,
386 "name": image_name,
397 logger.error("Creating image failed, cleaning up: %s", image_name)
398 if self.CheckImageExists(image_name):
399 self.DeleteImage(image_name)
401 logger.info("Image %s has been created.", image_name)
405 def SetImageLabels(self, image_name, new_labels): argument
423 image = self.GetImage(image_name)
431 project=self._project, resource=image_name, body=body)
434 def CheckImageExists(self, image_name): argument
444 self.GetImage(image_name)
449 image_name, exists)
452 def GetImage(self, image_name, image_project=None): argument
464 project=image_project or self._project, image=image_name)
467 def DeleteImage(self, image_name): argument
473 logger.info("Deleting image %s", image_name)
475 project=self._project, image=image_name)
479 logger.info("Deleted image %s", image_name)
498 for image_name in set(image_names):
500 project=self._project, image=image_name)
501 delete_requests[image_name] = request
1027 image_name, argument
1044 "sourceImage": self.GetImage(image_name,
1077 image_name, argument
1111 or self._GetDiskArgs(instance, image_name, image_project))