API

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

CVM info via v2 REST API?

Highlighted
Adventurer

CVM info via v2 REST API?

The endpoint at v1/vms returns information about the CVM's, but v2.0/vms does not. How do I get CVM information from the v2.0 REST API? I haven't found anything in the docs yet.

 

Thanks,

Andrew

3 REPLIES
Moderator Moderator
Moderator

Re: CVM info via v2 REST API?

Good eye. We filed an internal defect, internal id ENG-75432, for this

Jon Kohler | Principal Architect, Nutanix | Nutanix NPX #003, VCDX #116 | @JonKohler
Please Kudos if useful!
Adventurer

Re: CVM info via v2 REST API?

1. When can we expect CVM data to be included in v2 API?

 

2. When extracting CVM data from the v1's /vms target, should we identify CVMs by:

 

    a. "nonNdfsDetails": "VM is a Nutanix CVM"   or

    b. nutanixGuestTools.vmName: "NTNX-c36008f1-A-CVM"  ?

Moderator Moderator
Moderator

Re: CVM info via v2 REST API?

WRT v2 API - We haven't resolved that defect yet, so TBD on that one. I pinged the internal team responsible for it and asked what's up.

 

WRT CVM for v1 - nonNdfsDetails is your best hint, as you could, potentially, change that vmName for the CVM to not say CVM. nonNdfsDetails will give you the truth there.

Jon Kohler | Principal Architect, Nutanix | Nutanix NPX #003, VCDX #116 | @JonKohler
Please Kudos if useful!