Overview
Nutanix Prism is the management plane for Nutanix hyperconverged infrastructure: clusters of physical nodes whose local storage is pooled and served back to virtual machines, usually on Nutanix’s AHV hypervisor. This connector covers the API generations that came before v4. The v2.0 API is scoped to a single cluster through Prism Element and answers plain GET calls such as /api/nutanix/v2.0/hosts. The v3 API is the Prism Central intentful API, where you POST to a /list endpoint with a kind in the body and receive an entities array back.
The connector authenticates with HTTP Basic against the API Domain you supply (the shipped default is the placeholder https://PRISM_FQDN_REPLACE:9440). Templates mix both generations: v2.0 GET calls for hosts, storage containers and clusters, and v3 POST list calls for clusters, projects, categories, VMs and subnets. Every template reads the entities node and writes to a prism_*_v2 or prism_*_v3 staging table, so the API generation a row came from is visible in the table name.
The value to the estate is the same as the current connector: cluster, host and VM inventory to resolve a workload down to the node carrying it, storage containers for the capacity picture, and subnets, categories and projects for the network, tagging and ownership model. What differs is the shape of the data, because the v2.0 and v3 payloads are structured differently from v4 and the resulting staging tables are not interchangeable.
The connector is bidirectional. One generic outbound template ships, a POST that sends a record key as JSON to an endpoint you configure. It ships disabled and has no endpoint set.
NOTE: Use this connector when your Prism and AHV versions do not expose the v4 APIs; use Nutanix Prism when they do. Both ship at the same connector version with the same Basic authentication form and the same job fields, and their staging tables are named differently, so you can run both against the same environment during an upgrade. The one exception is the projects job, which uses the same prism_projects_v3 table in both connectors.
NOTE: Every template in this connector, inbound and outbound, ships with Enabled set to No. Nothing runs until you choose which API generation your Prism supports and enable the matching jobs.
Connector Properties
Authentication Methods
One authentication method ships. Both the v2.0 and the v3 APIs accept HTTP Basic credentials directly, so the same method covers every template.
NOTE: Certificate verification is disabled on both the authentication and data calls, which is what allows the connection to work against Prism’s default self-signed certificate.
NOTE: The API Domain default is the literal placeholder https://PRISM_FQDN_REPLACE:9440. Replace the host portion with your Prism FQDN; the :9440 port is correct.
Method 1: Username / Password (NUTANIX PRISM_RW_LEG)
Connect to a GET method API with a username / password
Sends an Authorization: Basic header built from the username and password on the connection, Base64 encoded at run time. Use a read-only Prism account. Note that the v2.0 templates address a single cluster through Prism Element while the v3 templates address Prism Central, so which endpoint you point the connection at determines which half of the template set will answer.
Connection Configuration Fields (5)
Authentication Configuration
Headers sent on the authentication call:
cURL options:
Inbound Job Fields Enabled (45)
The inbound job form exposes the standard REST job fields: endpoint, return data node, pagination, three levels of enumeration, and the staging table the response lands in.
Outbound Job Fields Enabled (13)
Inbound Job Templates (10)
Ten inbound templates ship, split between the v2.0 Prism Element API and the v3 Prism Central list API. All run Daily and all ship disabled. Pick the set that matches the endpoint your connection points at; the v2.0 and v3 jobs are alternative routes to overlapping data, not a set meant to be enabled all at once.
Job Template Configuration
Settings Common to All Ten Templates
Settings That Vary by Template
Settings That Vary by Template (continued)
Job Parameters and Enumeration
GET Clusters V3
API data parameters:
GET Projects V3
API data parameters:
GET Categories v3
API data parameters:
GET Categories v3 ENUM 1
API data parameters:
GET Category Values v3
API data parameters:
Enumeration 1 fields:
GET VMs
API data parameters:
GET Subnets
API data parameters:
GET Clusters V2
API data parameters:
Outbound Job Templates (1)
One generic outbound template ships, disabled. It is a starting point for pushing a ReadyWorks record to an API, not a Nutanix action.
Job Template Configuration
Settings
Job Parameters and Enumeration
Rest POST API
Outbound fields list:
Return data fields: