Lines Matching refs:image_name
424 image_name, argument
446 if self.CheckImageExists(image_name):
452 "source_disk %s but not both" % (image_name, source_uri,
455 logger.info("Creating image %s, source_uri %s", image_name,
458 "name": image_name,
464 logger.info("Creating image %s, source_disk %s", image_name,
467 "name": image_name,
478 logger.error("Creating image failed, cleaning up: %s", image_name)
479 if self.CheckImageExists(image_name):
480 self.DeleteImage(image_name)
482 logger.info("Image %s has been created.", image_name)
486 def SetImageLabels(self, image_name, new_labels): argument
504 image = self.GetImage(image_name)
512 project=self._project, resource=image_name, body=body)
515 def CheckImageExists(self, image_name): argument
525 self.GetImage(image_name)
530 image_name, exists)
533 def GetImage(self, image_name, image_project=None): argument
545 project=image_project or self._project, image=image_name)
563 def DeleteImage(self, image_name): argument
569 logger.info("Deleting image %s", image_name)
571 project=self._project, image=image_name)
575 logger.info("Deleted image %s", image_name)
594 for image_name in set(image_names):
596 project=self._project, image=image_name)
597 delete_requests[image_name] = request
1172 image_name, argument
1189 "sourceImage": self.GetImage(image_name,
1222 image_name, argument
1257 or self._GetDiskArgs(instance, image_name, image_project))