The VM console is only available for users which have access to "listVirtualMachines" api. The VM should be in the state "Running", "Starting" or "Stopping".
-Wei On Thu, 9 Jun 2022 at 14:41, Vivek Kumar <vivek.ku...@indiqus.com.invalid> wrote: > Thanks way for the response, So do we get the option in GUI for read only > user ? Because whenever I create a read-only user and login from GUI the > console option is not visible. > > > > Vivek Kumar > Sr. Manager - Cloud & DevOps > TechOps | Indiqus Technologies > > + 91 7503460090 <tel:++91+7503460090> > vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> > www.indiqus.com <https://www.indiqus.com/> > > > > > On 09-Jun-2022, at 3:26 PM, Wei ZHOU <ustcweiz...@gmail.com> wrote: > > > > Hi Vivek, > > > > There is no cloudstack API to get vm console, but you can get it by > sending > > a request to > > > > http://<mgmt IP>:8080/client/console?cmd=access&vm=<vm > uuid>&apikey=<user > > api key>&signature=<signature>&response=json > > > > -Wei > > > > On Thu, 9 Jun 2022 at 11:16, Vivek Kumar <vivek.ku...@indiqus.com > .invalid> > > wrote: > > > >> Hello Folks. > >> > >> I am currently going through the custom rules, so in which API user can > >> take the console of the VM. So I want a user where he can list all the > >> resources and open the console of the VM/VR. So in custom roles I have > >> allowed - “list*”, he is able to list all the resources but console > option > >> is not visible. So what else should I need to allow to take the console > of > >> VMs/VRs. > >> > >> > >> > >> Vivek Kumar > >> Sr. Manager - Cloud & DevOps > >> TechOps | Indiqus Technologies > >> > >> + 91 7503460090 <tel:++91+7503460090> > >> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> > >> www.indiqus.com <https://www.indiqus.com/> > >> > >> > >> > >> > >> -- > >> This message is intended only for the use of the individual or entity to > >> which it is addressed and may contain confidential and/or privileged > >> information. If you are not the intended recipient, please delete the > >> original message and any copy of it from your computer system. You are > >> hereby notified that any dissemination, distribution or copying of this > >> communication is strictly prohibited unless proper authorization has > been > >> obtained for such action. If you have received this communication in > >> error, > >> please notify the sender immediately. Although IndiQus attempts to sweep > >> e-mail and attachments for viruses, it does not guarantee that both are > >> virus-free and accepts no liability for any damage sustained as a result > >> of > >> viruses. > >> > > > -- > This message is intended only for the use of the individual or entity to > which it is addressed and may contain confidential and/or privileged > information. If you are not the intended recipient, please delete the > original message and any copy of it from your computer system. You are > hereby notified that any dissemination, distribution or copying of this > communication is strictly prohibited unless proper authorization has been > obtained for such action. If you have received this communication in > error, > please notify the sender immediately. Although IndiQus attempts to sweep > e-mail and attachments for viruses, it does not guarantee that both are > virus-free and accepts no liability for any damage sustained as a result > of > viruses. >