5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
Thanks, I got it, and it works also
I have tried REST API via curl and swagger.js. Can i implement REST API Post data in web page button eg- In a form, user enter username and password ,vm uuid predefined, on submit button, vm will cloned via sending POST API data prism server.
Here is some more output @AnishWalia20
Hi @AnishWalia20 This API is working but after vm cloned. It was in powered off state.Is there any way to set power on state via API 3 (in API 2 it was there, but its old and deprecated not work)ORAny other way to create VM or clone so that it will be in power on state.
Hey @Balram Can you check this KB-2257(Authentication Methods using REST API) & check if the user is creating Basic Auth example with REST-API. I have checked article KB-2257, i have given Basic Auth with base64 encoded still getting same message asNo permission to access the resource
Hey @Balram Can you check this KB-2257(Authentication Methods using REST API) & check if the user is creating Basic Auth example with REST-API. after reviewing all the roles, please take a note of these points thati have create two types of user in AD’s VM i.e Balram as a admin, user01 to user10 as a user to view console and create vm.In Administration>Roles,Balram users is added in SUPERADMIN RolesUser01 to user10 are added in Custome Created Role eg:TraineesNote: I have tried to give Trainee roles all Permission as VM,Cluster as FULL Access, Conclusion: I am able to clone vm via authenticating as Balram. Why i am getting error on cloning via user like user10 .Error as{ "api_version": "3.1", "code": 403, "message_list": [ { "message": "No permission to access the resource. ", "reason": "ACCESS_DENIED" } ], "state": "ERROR" }
Hey @Balram So I checked internally and researched a bit on this issue and got to know that this is currently a feature that is going to be added soon in the upcoming PC releases this year. Basically, Cloning & snapshotting a VM with non-admin or AD users belonging to custom RBAC(role bases access control) roles on PC is not possible as of now, unfortunately. Currently, SSP/RBAC does not have a REST API or UI support for cloning a user VM This is the reason on when you are creating a role and adding actions which that role is permitted to do we don’t see Clone or Snapshot VM Permissions: Or not even in Custom VM Permissions: I hope I made things clear. This feature is planned to be added in PC 2021.4 this year. Btw what PC version are you running ? Okay , i am waiting for 2021.4 release as i need this feature on custom role permissions supported with REST API.I am using 5.17.1.1 pc version.
I have tried with "filter": "vm_name==.*clone*",results none But not helping
Question Update: AD User-A same owner property To Clone User-B VM Via REST API V3
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.