예제 #1
0
def reimagevm():
    resource_group = selectedrg.get()
    vmssname = vmsstext.get()
    vmid = vmtext.get()
    vmstring = '["' + vmid + '"]'
    result = azurerm.reimage_vmss_vms(access_token, subscription_id, resource_group, vmssname, vmstring)
    statusmsg(result)
예제 #2
0
 def reimagevm(self, vmstring):
     '''reaimge individual VMs or groups of VMs in a scale set'''
     result = azurerm.reimage_vmss_vms(self.access_token, self.sub_id, self.rgname, self.name,
                                       vmstring)
     self.status = result
예제 #3
0
 def reimagevm(self, vmstring):
     result = azurerm.reimage_vmss_vms(self.access_token, self.sub_id, self.rgname, self.name, vmstring)
     self.status = result
예제 #4
0
파일: vmss.py 프로젝트: gbowerman/vmsstools
 def reimagevm(self, vmstring):
     result = azurerm.reimage_vmss_vms(self.access_token, self.sub_id, self.rgname, self.name, vmstring)
     self.status = result