5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
Hi@AnishWalia20 ,As per previous query, there was no update for clone permission,But now , on current version of PC 2021.9.0.2 , clone permission is there for ad user, but my query here is to clone other user’s vm or admin created vm. This task i am executing via REST API V3 as per previous query.There is project A(having multiple users) with allow collaboration option, in which ,As a user-A,I am able to clone a vm created by user-B ,But cloned vm owner property is same as User-B.I want to change owner property also while cloning vm via api.After cloning, vm should be owned by user-A.Please let mr know if there is some method to do so.
Hi, Using REST API 3 ,i want to list vm uuid by providing vm name in search criteria.But i am unable to find any search filter to provide vm name.I am using PUT /vm/list, these are the body model{ "kind": "vm", "sort_attribute": "string", "filter": "string", "length": 0, "sort_order": "string", "offset": 0}Please suggest where to put vm name search criteria.Also, suggest if there is another call for it to list vm uuid by vm name search.
I tried to log in with AD user in REST API Explorer.I am getting error asmessage": "No permission to access the resource. <Request 'http://nmegh02.prd.dcservices.in:9440/v3/vms/c2784552-c129-4f49-9d0e-b20b32c2a5e4/clone' [post]>", "reason": "ACCESS_DENIED"I have given FULL ACCESS to roles of current AD user .i.e VM and APP → FULL ACCESS in Roles Section.What other permission i need to give so that AD user can execute REST API?
Hi, i have been trying to give custom vm name by cloning vm via rest api 3 But i have been receiving error overided_spec was unexpectec i.e used to provide vm name.Input Body: {{ "override_spec": { "name": "Android 9 clone 26 April" }, "metadata": { "uuid": "a0e3e028-b53b-424c-bcbb-bf99c119fb92" }}Output:{ "api_version": "3.1", "code": 422, "message_list": [ { "details": { "": [ "Additional properties are not allowed (u'override_spec' was unexpected)" ] }, "message": "Request could not be processed.", "reason": "INVALID_REQUEST" } ], "state": "ERROR"}overrided_spec was refered from the link:api vm clone
I want to create to vm’s using REST API by selecting one of Catalog Items.I can create vm via catalog items via Prism Central Dashboard.When i try to create vm via REST API, i can not find any reference to give Catalogs Items vm template there.How to give vm templates in vm creation using REST API?
Hi,I created a custom network(does not have internet access) in PC and assign it to an android vm but its fluctuating. It is not connecting to that network. (Also tried by creating diffrent subent, same issuse ).While this issue occurs only in Android Vm, Not in Linux,Windows VM.Linux and Windows VM were easily connected without any issue.See GIF for more clarification.
The REST API for creating vm clone is working fine 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 after vm creation.
hi,After login to prism , i open API Reference and login with credentions.Then i go to VMs-->Clone Section to clone vm via API.I get the vm uuid via two method which on i think i get same uuid1)ssh to cvm and giving “acli vm.list”2)While console url, using uuid=”string”Both have same uuid. So i used to clone vm via api but i get error as “Given input is invalid. VM UUID cannot be specified, use idempotence identifiers to get the UUID”I also tried get existing and create new idempotence identifiers but on executing it in clone vm it gives error “uuid not existed”.Please suggest me ,i think uuid is correct but then what causing the error.Please help.
Can i change default port of Prism Web Console i.e 9440 to 443. Is there any documentation for it.So that my cluster public url looks Like : https://[clusterip or domain]/consoleIn most places port 9440 is blocked that’s why i want to change it.
Hi,For my user, i want to create a web page where i can implement API Post data to clone a vm via clicking on a button .User just have to enter his credentials, vm uuid to be cloned is already decided by web developer inserted in web page already.Is there any way to implement API data in web page where on clicking html button ,post data will be sent to serverORIs there any Powersehll cmdlet script to create vm and launch console.?
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.