VM Api Reference

Index

Manage Vm

List User VM details under this menu and have a option to Start,Stop,Restart & Shutdown the VM.

Fields Display

Vm Name

Vm Code

Status

Status Info

Last Update

Nic Details

Action

sts-test.sathyainfo.com ins-219215e8cfcd48a3af0d680cd121bbcc Online Restarted Completed 12-Jan-2022 10:21 AM Edit

Filter

Function : ReadVmList, CreateTask (Change UpdateVmState to Create Task)

Depend upon the Vm status. Vm Action state is active or in-active as below
Name Action State Online Offline
Power On Inactive Active
Power Off Active Inactive
Restart Active Inactive

Start Vm

To Start VM need to create task using Create Task Function. All Vm realted Task Execute using Create Task function.

Stop Vm

To Stop VM need to create task using Create Task Function. Pass below details to stop vm

Restart Vm

To Restart VM need to create task using Create Task Function. Pass below details to stop vm

Create Vm Image

To Create VM Image back up. Use Create Vm Image Function and pass below details in CreateVmRqst

Create Vm

To Create VM need to get below details from user
Input Fields Arguments

Manage Vm Image

Function Name : ReadVmImageList()
Need option to refresh the page
Filter :
Image Date Source Vm Name Status Status Info Restore Vm
08-Feb-2022 STS-TEST-VM Not Started Vm Image Task Scheduled

Restore Vm Image

To Restore VM image use below function
Function Name : RestoreVmImage, ReadVmImageDetails
Input Fields After successfull update redirect to Manage Vm Page

Ip Address List

Function Name : ReadIpAddressList()
Need option to refresh the page
To Release Ip Details use Function ReleaseIpAddress()
Above table right side corner need button Allocate Ip Address Function Name : AllocateIpAddress()

Public IP Address Nic Details Release Ip
103.24.52.104 Edit image link

Edit Nic Details

Separate Pop up window to edit Nic Details
Function Name : AttachIpAddress(), DetachIpAddress()
Input Fields