Lines Matching refs:instances
541 api = self.service.instances().get(
572 api = self.service.instances().setMachineResources(
631 api = self.service.instances().attachDisk(
659 api = self.service.instances().detachDisk(
685 api = self.service.instances().start(
698 def StartInstances(self, instances, zone): argument
714 self.service.instances().start, project=self._project, zone=zone)
715 return self._BatchExecuteOnInstances(instances, zone, action)
727 api = self.service.instances().stop(
740 def StopInstances(self, instances, zone): argument
756 self.service.instances().stop, project=self._project, zone=zone)
757 return self._BatchExecuteOnInstances(instances, zone, action)
785 api = self.service.instances().setScheduling(
816 api_resource=self.service.instances().list,
822 instances, argument
855 self.service.instances().setScheduling,
859 return self._BatchExecuteOnInstances(instances, zone, action)
861 def _BatchExecuteOnInstances(self, instances, zone, action): argument
880 if not instances:
883 logger.info("Batch executing instances: %s", instances)
885 for instance_name in set(instances):
1150 api = self.service.instances().insert(
1165 api = self.service.instances().delete(
1172 def DeleteInstances(self, instances, zone): argument
1186 self.service.instances().delete, project=self._project, zone=zone)
1187 return self._BatchExecuteOnInstances(instances, zone, action)
1197 api = self.service.instances().reset(
1332 api = self.service.instances().getSerialPortOutput(
1401 api = self.service.instances().setMetadata(