def poweroff(self): '''power off all the VMs in the scale set''' result = azurerm.poweroff_vmss(self.access_token, self.sub_id, self.rgname, self.name) self.status = result
def poweroff(self): result = azurerm.poweroff_vmss(self.access_token, self.sub_id, self.rgname, self.name) self.status = result
def poweroffvmss(): result = azurerm.poweroff_vmss(access_token, subscription_id, selectedrg.get(), vmss_properties['name']) statusmsg(result) displayvmss()