JSON payload to create a VM using the Nutanix Prism Element v2.0 APIs. Please make sure you replace all {{variable}} instances with values appropriate for
JSON payload to create a Nutanix Flow Network Security Rule a.k.a Security Policy. To use this code sample, please make sure all variable placeholders are
JSON payload to create a CentOS 7 disk image from the publicly available CentOS 7 Cloud Image. Request Parameters The below parameters should be used
JSON payload to send multiple API requests as a single batch. This sample creates 4 virtual machines – 3 simple/shell VMs, and 1 detailed/advanced VM.
JSON payload to create a detailed AHV VM that is then configured with Cloud-Init. All important VM parameters are specified, including base64-encoded Cloud-Init YAML spec.
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].
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
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