Categories

Category: Code Sample

Announcement

Quick Code Sample Update

Quick one today! This week the Nutanix.dev Code Samples have been extended with a new sample type – JSON Payloads. These samples are intended to

Read More »

Update Existing VM

JSON payload to update an existing AHV VM. “spec” and “metadata” for the existing VM must be obtained first, using a GET request to https://[prism_central_ip_address]:9440/api/nutanix/v3/vms/[vm_uuid].

Read More »

Create Detailed VM

JSON payload to create a VM that includes details for vCPU, cores per vCPU, RAM and storage. It also specifies the VM should have a

Read More »

Create Basic Shell VM

JSON payload to create a basic shell VM. Only the required parameters are included, indicating that the Nutanix APIs should apply system defaults to parameters

Read More »