def restart(self): result = azurerm.restart_vmss(self.access_token, self.sub_id, self.rgname, self.name) self.status = result
def restart(self): '''restart all the VMs in the scale set''' result = azurerm.restart_vmss(self.access_token, self.sub_id, self.rgname, self.name) self.status = result