def startud(): resource_group = selectedrg.get() vmssname = vmsstext.get() udinstancelist = getuds() result = azurerm.start_vmss_vms(access_token, subscription_id, resource_group, vmssname, json.dumps(udinstancelist)) statusmsg(result) displayvmss()
def startvm(self, vmstring): '''start individual VMs or groups of VMs in a scale set''' result = azurerm.start_vmss_vms(self.access_token, self.sub_id, self.rgname, self.name, vmstring) self.status = result
def startvm(self, vmstring): result = azurerm.start_vmss_vms(self.access_token, self.sub_id, self.rgname, self.name, vmstring) self.status = result