def deletevm(): resource_group = selectedrg.get() vmssname = vmsstext.get() vmid = vmtext.get() vmstring = '["' + vmid + '"]' result = azurerm.delete_vmss_vms(access_token, subscription_id, resource_group, vmssname, vmstring) statusmsg(result)
def deletevm(self, vmstring): '''delete individual VMs or groups of VMs in a scale set''' result = azurerm.delete_vmss_vms(self.access_token, self.sub_id, self.rgname, self.name, vmstring) self.status = result
def deletevm(self, vmstring): result = azurerm.delete_vmss_vms(self.access_token, self.sub_id, self.rgname, self.name, vmstring) self.status = result
def deletevm(self, vmstring): result = azurerm.delete_vmss_vms(self.access_token, self.sub_id, self.rgname, self.name, vmstring) self.status = result