def dealloc(self): '''stop deallocate all the VMs in the scale set''' result = azurerm.stopdealloc_vmss( self.access_token, self.sub_id, self.rgname, self.name) self.status = result
def dealloc(self): result = azurerm.stopdealloc_vmss(self.access_token, self.sub_id, self.rgname, self.name) self.status = result
def deallocvmss(): result = azurerm.stopdealloc_vmss(access_token, subscription_id, selectedrg.get(), vmss_properties['name']) statusmsg(result) displayvmss()