API Reference

Last updated: 04-04-2024

Nutanix Intentful API (3.1.0)

Download OpenAPI specification:Download

Introduction

Representational state transfer ( REST ) Application Programming Interface (API) 3.0 is based on an intentful API philosophy. According to the intentful API philosophy the machine should handle the programming instead of the user enabling the datacenter administrator able to focus on the other tasks. You need to specify the end state of an entity and the system will compile and execute a series of steps to achieve the defined end state of the entity. The progress to achieve the desired state is tracked through waits and events. This approach is similar to the Google Kubernetes standard.

All the entities and the list of entities follow a homogenous specification format resulting in ease of programming despite different entities being involved. Also, this enables the user to get familiar with the APIs quickly.

Intentful APIs reduces the number of action verbs required to achieve the desired state of an entity. Most of the changes can be achieved by defining the desired state of an entity rather than through a series of action verbs.

All API users should have valid Prism login credentials to send API calls to the Prism server. APIs on nutanix.dev portal are publicly available to all valid users without special permissions for viewing purposes.

This document covers APIs that are available in pc2022.11 release.

Terminology

Item Description
Entity An object that is managed through an API.
Kind Represents the type of entity. For example, VM or alerts.
Resource Kind An entity that represents a physical or virtual infrastructure resource. For example, VM or an application.
Helper Kind An entity that is not an infrastructure resource, but represents the entity that is used along with the infrastructure resources. For example, alert, event, or status.
Basic Resource Kind An entity type that is a primary resource. For example, VM.
Related Resource Kind An entity type that is automatically defined by the system and is related to the basic Kind entities. For example, vm_snapshot.
Type Represents sub-categories or sub-objects of the top-level resource types. For example, reference.
Resource Limit An entity type that represents a quota of resources of different types.
Snapshot Represents the state of resources and policies of an entity at a particular point of time.
Backup An automatically created aggregation object that collects all the snapshots for the same object within the same resource pool.
Profile A profile is a set of resources and policy specifications that is applied to an entity.
Template A template is a specification that generates valid entities by providing input parameters.
Spec A section in the request json, which represents an entity, that expresses the desired state of the entity.
Status A section in the json representation that expresses the current state of the entity.

Rules

  • The metadata section has fields that relate to all kinds of entities and can be updated instantly by the system.
  • The spec section cannot be updated after initialization by the system without a user or automation intervention.
  • The status section has a copy of the currently enforced version of the spec section and other fields that are managed or updated automatically by the system. Few fields in the status section can be updated by the user as well.
  • The parent_reference field is mandatory for snapshot and backup entities and is present in the normal entities, if the entities are created with the parent_reference field populated (clone or restore).
  • Any field that represents a defined type has the type name as a suffix. For example, backup_factory and vm_reference.

Known Issues and limitations:

This section describes some of the issues identified in V3 APIs that you might encounter.

  • ENG-321951- While attempting to get a list of all VMs on Prism Central, we have observed that only AHV VMs are returned, but ESXi VM list is not retrieved.

  • ENG-453487- Users with insufficient permissions receive an HTTP 200 response instead of an HTTP 403 response for view alert API requests. These users can be like "Developer", "Operator", or custom roles that do not have sufficient permission to view alerts. This is a generic issue for all V3 API requests with insufficient permissions.

Nutanix API versions – What are they and what does each one do?

What to expect post pc.2022.1 release?

Getting Started

Components of a REST API

A REST API request and response can be classified into the following components.

The request URI consists of {URI-scheme} :// {URI-host} / {/} ? {query-string}.

Item Description
URI scheme Indicates the protocol that is used to transmit the request. For example, http or https.
URI host Specifies the domain name or IP address of the server where the REST service endpoint is hosted. For example, prism.nutanix.com or 10.11.12.13.
Port number Indicates the port number that is used for HTTP communications from the REST API clients to the REST API server.
Basepath Indicates the URL prefix that is common to all the API server endpoints. For example, for https://10.11.12.13/PrismGateway/services/rest/v2.0/vms, the basepath is /PrismGateway/services/rest/v2.0.
Path parameters Path parameters are part of the endpoint. For example, https://10.11.12.13/PrismGateway/services/rest/v2.0/vms/750eb5ba-2de0-4ca4-8d6f-786364817f94/, the UUID of the VM (750eb5ba-2de0-4ca4-8d6f-786364817f94) is a path parameter.
Query string parameters Query string parameters appear after a question mark (?) in the endpoint. The question mark followed by the parameters and their values is referred as the query string. In the query string, each parameter is listed one right after the other with an ampersand (&). The order of the query string parameters does not matter. For example, https://10.11.12.13/PrismGateway/services/rest/v2.0/vms/750eb5ba-2de0-4ca4-8d6f-786364817f94?include_vm_disk_config=true, the include_vm_disk_config is a query parameter.

HTTP defines methods to indicate the desired action to be performed on the identified resource.

Method Description
Get Retrieves a resource
Post Creates a resource
Put Updates or creates within an existing resource
Delete Removes the resource

HTTP request headers provide meta-information about a request. The request body contains the data that client wants to send to the server. For example, Content-Type and Content-Transfer-Encoding.

HTTP response headers provide meta-information about a response. The response consists of status code (three-digit number), content type, and body of the response.

Item Description
1xx - Informational Communicates transfer protocol-level information.
2xx - Success Indicates that the client request is successfully accepted.
3xx - Redirection Indicates that the client must take some additional steps to complete an action.
4xx - Client Error Indicates that there is some error from the client side.
5xx - Server Error Indicates that there is some error from the server side.

Entity Structure

An entity structure comprises of the following components.

  • Metadata - Metadata provides high-level information about the related entity including entity uuid, kind, and spec_version.
  • Status - Status provides information about the current state of the related entity including entity name, state, and entity-specific status information.
  • Specification - For a GET request, the specification section of the JSON response displays similar information as status section. However, for of POST request, the specification section provide details of what should be the desired state of the entity. For example, you can use the following JSON payload to create a basic VM. The payload denotes the minimum parameters required to create a VM by using the V3 APIs. All the missing specification items like CPU and RAM are configured with default values.
{
"spec":{
"name":"NewVM",
"resources":{
}
},
"metadata":{
"kind":"vm"
}
}

Authentication

All requests to the Nutanix REST APIs must be authenticated. The following authentication types are supported.

  • Basic Authentication: The user provides username and password every time a request is sent as the authentication header.
  • Session Authentication: The user credentials are stored in a cookie.

The following are the code snippets to authenticate a user.

Python

#!/usr/bin/env python3.7
import urllib3
import requests
from base64 import b64encode
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
request_url = 'https://10.0.0.1:9440/api/nutanix/v3/vms/list'
username = 'admin'
password = 'password'
encoded_credentials = b64encode(bytes(f'{username}:{password}',
encoding='ascii')).decode('ascii')
auth_header = f'Basic {encoded_credentials}'
payload = '{"kind":"vm"}'
headers = {'Accept': 'application/json', 'Content-Type': 'application/json',
'Authorization': f'{auth_header}', 'cache-control': 'no-cache'}
response = requests.request('post', request_url, data=payload, headers=headers,
verify=False)
print(response.status_code)

C#

using System;
using System.Net;
using System.Text;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
string ClusterUsername = "admin";
string ClusterPassword = "Ntnx2017!";
string RequestUrl = "https://192.168.1.131:9440/api/nutanix/v3/vms/list";
string Payload = "{\"kind\":\"vm\"}";
string AuthHeader = System.Convert.ToBase64String(
System.Text.ASCIIEncoding.ASCII.GetBytes(
ClusterUsername + ":" + ClusterPassword));
ServicePointManager.ServerCertificateValidationCallback = (
(sender, certificate, chain, sslPolicyErrors) => true);
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
String authHeader = System.Convert.ToBase64String(
System.Text.ASCIIEncoding.ASCII.GetBytes(
ClusterUsername + ":" + ClusterPassword));
var request = (HttpWebRequest)WebRequest.Create(RequestUrl);
var requestBody = Encoding.ASCII.GetBytes(Payload);
HttpWebResponse HttpResponse = null;
request.Headers.Add("Authorization", "Basic " + AuthHeader);
request.Headers.Add("Accept-Encoding", "application/json");
request.ContentType = "application/json";
request.Accept = "application/json";
request.Method = "POST";
var newStream = request.GetRequestStream();
newStream.Write(requestBody, 0, requestBody.Length);
newStream.Close();
HttpResponse = (HttpWebResponse)request.GetResponse();
Console.WriteLine(HttpResponse.StatusCode);
Console.ReadKey();
}
}
}

PowerShell

# set the basic properties for the request
$RequestUri = "https://10.0.0.1:9440/api/nutanix/v3/vms/list"
$Payload = "{""kind"":""vm""}"
$Username = "admin"
$Password = "password"
# create the HTTP Basic Authorization header
$pair = $Username + ":" + $Password
$bytes = [System.Text.Encoding]::ASCII.GetBytes($pair)
$base64 = [System.Convert]::ToBase64String($bytes)
$basicAuthValue = "Basic $base64"
# setup the request headers
$Headers = @{
'Accept' = 'application/json'
'Authorization' = $basicAuthValue
'Content-Type' = 'application/json'
}
# disable SSL certification verification
# you probably shouldn't do this in production ...
if (-not (
[System.Management.Automation.PSTypeName] `
'ServerCertificateValidationCallback').Type)
{$certCallback = @"
using System;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
public class ServerCertificateValidationCallback
{
public static void Ignore()
{
if(ServicePointManager.ServerCertificateValidationCallback ==null)
{
ServicePointManager.ServerCertificateValidationCallback +=
delegate
(
Object obj,
X509Certificate certificate,
X509Chain chain,
SslPolicyErrors errors
)
{
return true;
};
}
}
}
"@
Add-Type $certCallback
}
[ServerCertificateValidationCallback]::Ignore()
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
# submit the request
Invoke-WebRequest `
-Uri $RequestUri `
-Headers $Headers `
-Method "POST" `
-Body $Payload `
-TimeoutSec 5 `
-UseBasicParsing `
-DisableKeepAlive `
| ConvertFrom-Json | Select *

PHP

<?php
$username = 'admin';
$password = 'password';
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => 1,
CURLINFO_HEADER_OUT => TRUE,
CURLOPT_URL => 'https://10.0.0.1:9440/api/nutanix/v3/vms/list',
CURLOPT_USERPWD => $username . ':' . $password, CURLOPT_POST => 1, CURLOPT_SSL_VERIFYHOST => FALSE, CURLOPT_SSL_VERIFYPEER => FALSE,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
'Accept-Encoding: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'kind' => 'vm'
])
]);
$result = curl_exec($ch);
curl_close($ch);
if(!$result) {
die('Error: "' . curl_error($ch) . '". Code: ' . curl_errno($ch));
}
else {
echo($result);
}

pc.2022.1 release

v3 API behavior changes with pc.2022.1 release

From Prism Central release 2022.1 onwards, the v3 intentful API is enhanced to protect data consistency, especially in concurrent race conditions. As a result of this enhancement, response time for the synchronous API requests is improved and there are some behavior changes from an API consumption perspective.

  1. In the current v3 API workflow, clients will get a synchronous API response that contains task and entity UUID. Post which clients should send GET API on the task periodically until the task succeeds or fails. Clients can also send GET API on the entity.

    • Behavioral changes: Some of the synchronous errors will be reported asynchronously now.
    1. Invalid idempotency UUID error:

      Current API behavior: If POST API contains invalid idempotency UUID, clients will receive a synchronous bad request error with an HTTP code 400.

      Expected change: If POST API contains invalid idempotency UUID, clients will get a synchronous API response with an HTTP code 202(accepted). GET API on the task will return a bad request error.

    2. Authorization errors:

      Current API behavior: Clients will get synchronous authorization errors (for example- HTTP code 403 forbidden error).

      Expected change: Clients will get a synchronous API response with an HTTP code 202 (accepted). GET API on the task will show an authorization error.

    3. Incorrect category mapping error:

      Current API behavior: If an intentful API payload has a project reference and uses categories mapping but the category for the project does not exist, the client will get an error response with an HTTP code 404(not found).

      Expected change: If an intentful API payload has a project reference and uses categories mapping but the category for the project does not exist, the client will receive a synchronous API response with an HTTP code 202 (accepted). GET API on the task will show a “not found” error.

    4. Invalid user detail error:

      Current API behavior: If an intentful API payload has user_uuid or username in owner_reference but the corresponding user does not exist, the client will receive an API response with an HTTP code 404.

      Expected change: If an intentful API payload has user_uuid or username in owner_reference but the corresponding user does not exist, clients will get a synchronous API response with an HTTP code 202(accepted). GET API on the task will show a bad request error.

    5. . Missing user detail error:

      Current API behavior: If an intentful API payload does not have user_uuid or username in owner_reference and the login user does not exist, the client will get an API response with an HTTP code 404.

      Expected change: If an intentful API payload does not have user_uuid or username in owner_reference and login user does not exist, clients will get a synchronous API response with an HTTP code 202(accepted). GET API on the task will show a bad request error.

    • Format changes for some of the synchronous API responses:

      Current API behavior: Response to an intentful POST, PUT, or DELETE API will contain tenant_uuid, owner_uuid, owner_username, service_name, session_log_uuid, trace, user_uuid, username, remote_authorization, session_json_dict, incap_req_id, project_reference or category information.

      Expected change: Main processing will occur after a synchronous response to the client. As a result, synchronous response to an intentful POST, PUT, or DELETE API will not contain tenant_uuid, owner_uuid, owner_username, service_name, session_log_uuid, trace, user_uuid, username, remote_authorization, session_json_dict, incap_req_id, project_reference or category information.

      If API consumers are expecting these properties in the synchronous response before, they have to submit a GET/LIST request to inspect these properties.

  2. The version control workflow for v3 intentful PUT and DELETE APIs:

  • Absolutely no version control check for DELETE APIs:

    Current API behavior: DELETE API will fail if an incorrect spec_version is provided as one of the request arguments.

    Expected change: DELETE API will always delete the entity. No version control is applicable on the DELETE request.

  • Edit conflict error could be reported asynchronously:

    Current API behavior: If v3 PUT APIs are conflicting with v2 PUT APIs on the same entities, the client will receive an HTTP code 409 response for v3 PUT APIs.

    Expected change: If v3 PUT APIs are conflicting with v2 PUT APIs on the same entities, the client will receive an HTTP code 202 response for v3 PUT APIs and will receive the task failed response with an edit conflict error asynchronously.

  • More restrictive version control by using spec_hash:

    Current API behavior: GET/LIST API will return a response that may contain one of the values for version control, it could be spec_version or spec_hash. spec_version is numeric while spec_hash is a string.

    Whichever value is provided in the GET/LIST API, the same value should be included in the next PUT API payload of the same entity.

    Expected change: GET/LIST API will provide both spec_hash and spec_version in API response. Use of spec_hash is not enforced but could be enforced in future releases.

  • The version control value in the GET API response will not change when a PUT request is in progress:

    Current API behavior: If there are one GET request and one PUT request on the same entity, the version control value from the GET request response might be different depending on the current state of the entity. The behavior is not deterministic.

    Expected change: If there is one GET request and one PUT request on the same entity, the spec_hash value of the GET request response will always be the same as it was before the PUT request until the PUT is completed.

  1. V3 intentful POST API and the following GET API:
  • Get API request for new entity:

    Current API behavior: If a POST API fails asynchronously, the following GET API on the same entity will get an HTTP code 202 response with the entity in an error state.

    However, GET API on the same entity after 5+ minutes will show an HTTP code 404 response reporting the entity does not exist.

    Expected change: If a POST API fails asynchronously, GET API on the same entity will always show an HTTP code 404 response meaning the entity does not exist.

  • The intent spec is an entity we created to record previous and ongoing requests from v3 POST/PUT/DELETE APIs. There should be only one intent spec for each entity if the intent spec exists:

    Current API behavior: If the client queries intent spec for an entity immediately after getting an HTTP code 202 response for the v3 POST API on this entity, the intent spec will always be present.

    Expected change: If the client queries intent spec for an entity immediately after getting an HTTP code 202 response for the v3 POST API on this entity, the intent spec may not be created yet.

  1. Prism Central upgrade to pc.2022.1 and following releases:

    Current API behavior: The pending and running API requests will continue to execute after an upgrade.

    Expected change: During the pc.2022.1 version upgrade, all pending and running API requests and related tasks will be marked as failed after a restart. This will be shown even though they may be in progress and completed in the middle of the upgrade period. This behavior only applies to upgrades from releases before pc.2022.1 to releases equal to or after pc.2022.1. All future upgrades from pc.2022.1 release will remain the same as before where pending and running API requests will continue to execute after an upgrade.

  2. Multiple nodes upgrade:

  • pc.2022.1 version can take care of the scenarios where Prism Central has the new version and Prism Element is still at the older version.

  • Any task (for existing create, update, delete v3 API operations) that is in running state during the upgrade will be marked failed. This also applies to new requests that come before the upgrade ends. The recommendation is to wait until the upgrade finishes before executing any v3 create, update, delete API.

  1. Schema consistency:
    • API schema in Prism Central will be used in case there is a discrepancy between Prism Element and Prism Central. There will be a change of behavior when Prism Central has a post pc.2022.1 version.

      Current API behavior: API responses for POST, PUT, and DELETE API on Prism Central will match API schema on Prism Element.

       **Expected change**: API response for POST, PUT, and DELETE API on Prism Central will match API schema on Prism Central.
      

Use Cases

Post /VMs

Perform the following procedure to generate the code snippet for creating a VM based on the input parameters.

  1. Under VMs, click POST VMs and navigate to the end of the page.

  2. In the Code Generation panel, under the Settings tab, enter the value of the following parameters.

    1. Enter the username of the Prism Central in the Username field.
    2. Enter the password in the Password field.
    3. Enter the IP address of the Prism Central in the Host field.
  3. Under the Body tab, enter the value of all the required parameters as described in the Request Body section. Optionally, you can also enter the values of the optional parameters.

    1. Under Specification, enter the description of VM in a string format against the description attribute. The maximum length allowed is 1000 characters only.
    2. Under Resources do the following.
      1. Enter the value of number of logical threads per core in an integer format against the num_threads_per_core attribute. The minimum value allowed is 1.
      2. Enter the value of current or desired power state of the VM in a string format against the power_state attribute.
      3. Enter the value of number of vCPUs per socket in an integer format against the num_vcpus_per_socket attribute. The minimun value allowed is 1.
      4. Enter the value of number of vCPU sockets in an integer format against the num_sockets attribute. The minimum value allowed is 1.
    3. Under Name, enter the name of the VM in a string format. The maximum length allowed is 64 characters only.
    4. Under Metadata do the following.
      1. The last_update_time is a read-only attribute indicating UTC date and time in an RFC-339 format, when the VM was last updated in a string format.
      2. The kind is a read-only attribute indicating the kind name in a string format. The default value is VM.
      3. Enter the value of VM uuid in a string format against the uuid attribute. The valid pattern is ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fAF0-9]{12}$.
  4. Under the Code Generation tab, select the scripting languages to view the code snippet of creating a VM.

    You can either select Python or PowerShell or Shell or Go or Java or JavaScript or Node or Obj-C or PHP or Ruby or Swift or C# or C.

    The code snippet appears in the selected scripting language. You can use the code snippet to create a VM in your environment.

Put /VMs

Perform the following procedure to generate the code snippet for updating an existing VM based on the input parameters.

  1. Under VMs, click PUT VMs and navigate to the end of the page.

  2. In the Code Generation panel, under the Settings tab, enter the value of the following parameters.

    1. Enter the UUID of the VM that needs to be updated in the UUID field.
    2. Enter the username of the Prism Central in the Username field.
    3. Enter the password in the Password field.
    4. Enter the IP address of the Prism Central in the Host field.
  3. Under the Body tab, enter the value of all the required parameters as described in the Request Body section. Optionally, you can also enter the values of the optional parameters.

    1. Under Specification, enter the description of VM in a string format against the description attribute. The maximum length allowed is 1000 characters only.
    2. Under Resources do the following.
      1. Enter the value of number of logical threads per core in an integer format against the num_threads_per_core attribute. The minimum value allowed is 1.
      2. Enter the value of current or desired power state of the VM in a string format against the power_state attribute.
      3. Enter the value of number of vCPUs per socket in an integer format against the num_vcpus_per_socket attribute. The minimun value allowed is 1.
      4. Enter the value of number of vCPU sockets in an integer format against the num_sockets attribute. The minimum value allowed is 1.
    3. Under Name, enter the name of the VM in a string format. The maximum length allowed is 64 characters only.
    4. Under Metadata do the following.
      1. The last_update_time is a read-only attribute indicating UTC date and time in an RFC-339 format, when the VM was last updated in a string format.
      2. The kind is a read-only attribute indicating the kind name in a string format. The default value is VM.
      3. Enter the value of VM uuid in a string format against the uuid attribute. The valid pattern is ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fAF0-9]{12}$.
  4. Under the Code Generation tab, select the scripting languages to view the code snippet of creating a VM.

    You can either select Python or PowerShell or Shell or Go or Java or JavaScript or Node or Obj-C or PHP or Ruby or Swift or C# or C.

    The code snippet appears in the selected scripting language. You can use the code snippet to update a VM in your environment.

access_control_policies

Create a new Access Control Policy

An Access Control Policy (ACP) represents the association of a User with a role, in a given 'Context' (i.e. where can the role be exercised) e.g. an ACP can represent the following: User1 has Role1 within the boundaries of Project1. (i.e. if Role1 allows the User to update-VM, he/she can do so ONLY for VMs belonging to Project1)

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Access Control Policy.)

Access Control Policy Input Definition.

required
object (access_control_policy metadata)

The access_control_policy kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/access_control_policies \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "filter_list": {
                "context_list": [
                    {
                        "entity_filter_expression_list": [
                            {
                                "left_hand_side": {
                                    "entity_type": "string"
                                },
                                "operator": "string",
                                "right_hand_side": {
                                    "categories": {
                                        "property1": [
                                            "string"
                                        ],
                                        "property2": [
                                            "string"
                                        ]
                                    },
                                    "collection": "string",
                                    "uuid_list": [
                                        "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                    ]
                                }
                            }
                        ],
                        "scope_filter_expression_list": [
                            {
                                "left_hand_side": "string",
                                "operator": "string",
                                "right_hand_side": {
                                    "categories": {
                                        "property1": [
                                            "string"
                                        ],
                                        "property2": [
                                            "string"
                                        ]
                                    },
                                    "collection": "string",
                                    "uuid_list": [
                                        "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                    ],
                                    "value_list": [
                                        "string"
                                    ]
                                }
                            }
                        ]
                    }
                ]
            },
            "role_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "user_group_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "user_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing Access Control Policy

Delete an existing Access Control Policy. Warning - deleting an Access Control Policy will automatically detach the associated users and user-groups, thereby revoking the access they were granted because of this Access Control Policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/access_control_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing Access Control Policy

This operation gets a existing Access Control Policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/access_control_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing Access Control Policies

This operation gets a list of Access Control Policies, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "access_control_policy"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/access_control_policies/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "access_control_policy",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing Access Control Policy

This operation submits a request to update a existing Access Control Policy based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Access Control Policy.)

Access Control Policy Input Definition.

required
object (access_control_policy metadata)

The access_control_policy kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/access_control_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "filter_list": {
                "context_list": [
                    {
                        "entity_filter_expression_list": [
                            {
                                "left_hand_side": {
                                    "entity_type": "string"
                                },
                                "operator": "string",
                                "right_hand_side": {
                                    "categories": {
                                        "property1": [
                                            "string"
                                        ],
                                        "property2": [
                                            "string"
                                        ]
                                    },
                                    "collection": "string",
                                    "uuid_list": [
                                        "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                    ]
                                }
                            }
                        ],
                        "scope_filter_expression_list": [
                            {
                                "left_hand_side": "string",
                                "operator": "string",
                                "right_hand_side": {
                                    "categories": {
                                        "property1": [
                                            "string"
                                        ],
                                        "property2": [
                                            "string"
                                        ]
                                    },
                                    "collection": "string",
                                    "uuid_list": [
                                        "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                    ],
                                    "value_list": [
                                        "string"
                                    ]
                                }
                            }
                        ]
                    }
                ]
            },
            "role_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "user_group_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "user_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

address_groups

Address groups lists

List the address groups.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "address_group"

The kind name

sort_attribute
string

The attribute to on which the sort is performed

filter
string

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/address_groups/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "filter": "string",
    "kind": "address_group",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "metadata": {
    }
}

Create a new address_group

This operation submits a request to create a new address_group based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
address_group_string
string

List of original addresses input.

name
string <= 64 characters
Array of objects (IP subnet.)

list of subnets and CIDR blocks in the address group

description
string <= 1000 characters

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/address_groups \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "address_group_string": "string",
    "description": "string",
    "ip_address_block_list": [
        {
            "ip": "string",
            "prefix_length": 0
        }
    ],
    "name": "string"
}'

Response samples

Content type
application/json
{
  • "kind": "address_group",
  • "name": "string",
  • "uuid": "string"
}

Delete a existing address_group

This operation submits a request to delete a existing address_group.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/address_groups/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": "string",
  • "kind": "string",
  • "code": 0,
  • "reason": "string",
  • "details": {
    },
  • "message": "string",
  • "api_version": "3.1.0"
}

Get a existing address_group

This operation gets a existing address_group.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/address_groups/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "address_group": {
    },
  • "uuid": "string"
}

Update a existing address_group

This operation submits a request to update a existing address_group based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
address_group_string
string

List of original addresses input.

name
string <= 64 characters
Array of objects (IP subnet.)

list of subnets and CIDR blocks in the address group

description
string <= 1000 characters

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/address_groups/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "address_group_string": "string",
    "description": "string",
    "ip_address_block_list": [
        {
            "ip": "string",
            "prefix_length": 0
        }
    ],
    "name": "string"
}'

Response samples

Content type
application/json
{
  • "address_group_string": "string",
  • "name": "string",
  • "ip_address_block_list": [
    ],
  • "description": "string"
}

alerts

Create a new alert

This operation submits a request to create a new alert based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
notification_type
required
string

The notification definition for this type of alerts.

object (Reference)

Reference to a kind. Either one of (kind, uuid) or url needs to be specified.

severity
required
string (Alert severity)

Alert severity

object

Alert notification type specific parameters.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/alerts/notify \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "notification_type": "string",
    "parameters": {
        "property1": {
            "bool_value": true,
            "double_value": null,
            "int_value": 0,
            "string_value": "string"
        },
        "property2": {
            "bool_value": true,
            "double_value": null,
            "int_value": 0,
            "string_value": "string"
        }
    },
    "severity": "string",
    "source_entity": {
        "kind": "string",
        "url": "string",
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    }
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Get a existing alert

This operation gets a existing alert.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/alerts/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing alert

This operation gets a list of alert, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "alert"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/alerts/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "alert",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Perform an action to acknowledge or resolve alerts.

Acknowledge alerts being looked at or be resolved.

Authorizations:
basicAuth
path Parameters
action
required
string

The action type.

Request Body schema: application/json
required
alert_uuid_list
Array of strings <UUID> [^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...]

A list of alert UUIDs to be acknowledged or resolved. If the list is empty, that means resolve all alerts in the system.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/alerts/action/{action} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "alert_uuid_list": [
        "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    ]
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

audits

Get a existing audit

This operation gets a existing audit.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/audits/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing audit

This operation gets a list of audit, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "audit"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/audits/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "audit",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

batch

Submit a list of one or more intentful REST APIs to be processed

Batching allows for instructions for several operations to be sent using a single HTTP request. Depending on the batch parameters, the Nutanix v3 gateway processes each independent operation sequentially or in parallel. Once all operations in the batch have been completed, a consolidated response is returned and the HTTP connection is closed. The batch API takes an array of logical HTTP requests represented as JSON arrays. Maximum size of the array should not exceed 60. Each request comprises the following:

  • A method (corresponding to HTTP methods such as GET, PUT, and POST)
  • A relative URL (relative_url)
  • (Optional) A body (for POST and PUT requests). The batch API returns an array of logical HTTP responses represented as JSON arrays containing the following:
  • A status code
  • (Optional) A body represented as a JSON-encoded string
Authorizations:
basicAuth
Request Body schema: application/json
required

List of intent APIs

execution_order
string
Default: "SEQUENTIAL"

The order of execution of the APIs in the batch. Can be either Sequential (default value) or Parallel.

action_on_failure
string
Default: "CONTINUE"

If the specified parameter is CONTINUE, the remaining APIs in the batch continue to be executed.

required
Array of objects (API request)

A list of API requests in the batch.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/batch \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "action_on_failure": "CONTINUE",
    "api_request_list": [
        {
            "body": {
                "property1": {},
                "property2": {}
            },
            "operation": "string",
            "path_and_params": "string"
        }
    ],
    "execution_order": "SEQUENTIAL"
}'

Response samples

Content type
application/json
{
  • "api_response_list": [
    ]
}

blackouts

Create blackout object

Create a blackout object

Authorizations:
basicAuth
Request Body schema: application/json
required

Create blackout object

required
object (Blackout entity)

The blackout entity defines the time period when clusters are in maintenance mode or special circumstance, special actions need to be skipped, for example, alerts (like user defined alerts) and anomalies should not be raised.

required
object (blackout metadata)

The blackout kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/blackouts \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "resources": {
            "feature_list": [
                "string"
            ],
            "schedule_list": [
                {
                    "day_of_week": [
                        "string"
                    ],
                    "duration_secs": 0,
                    "end_time": "2019-08-24T14:15:22Z",
                    "interval_multiple": 0,
                    "interval_type": "string",
                    "is_suspended": true,
                    "start_time": "2019-08-24T14:15:22Z"
                }
            ],
            "scope_entity_list": [
                {}
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete specified blackout object

Delete specified blackout object

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/blackouts/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Retrieve all blackout objects

Retrieve all blackout objects

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "blackout"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/blackouts/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "blackout",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Retrieve specified blackout object

Retrieve specified blackout object

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/blackouts/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update blackout entity

Update blackout entity

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required

Update blackout

required
object (Blackout entity)

The blackout entity defines the time period when clusters are in maintenance mode or special circumstance, special actions need to be skipped, for example, alerts (like user defined alerts) and anomalies should not be raised.

required
object (blackout metadata)

The blackout kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/blackouts/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "resources": {
            "feature_list": [
                "string"
            ],
            "schedule_list": [
                {
                    "day_of_week": [
                        "string"
                    ],
                    "duration_secs": 0,
                    "end_time": "2019-08-24T14:15:22Z",
                    "interval_multiple": 0,
                    "interval_type": "string",
                    "is_suspended": true,
                    "start_time": "2019-08-24T14:15:22Z"
                }
            ],
            "scope_entity_list": [
                {}
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

categories

Create or Update a category Key.

Create or Update a category Key.

Authorizations:
basicAuth
path Parameters
name
required
string <= 64 characters ^[a-zA-Z0-9_.-]+( [a-zA-Z0-9_.-]+)*$
Request Body schema: application/json
required
description
string <= 1000 characters

Description of the category.

object (Category key capabilities definition.)

Category key capabilities defintion.

name
required
string <= 64 characters

Name of the category.

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/categories/{name} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "capabilities": {
        "cardinality": 0
    },
    "description": "string",
    "name": "string"
}'

Response samples

Content type
application/json
{
  • "capabilities": {
    },
  • "system_defined": true,
  • "description": "string",
  • "api_version": "3.1.0",
  • "name": "string"
}

Create or Update a category value.

Create or Update a category value. Creates when value doesn't exist.

Authorizations:
basicAuth
path Parameters
name
required
string <= 64 characters ^[a-zA-Z0-9_.-]+( [a-zA-Z0-9_.-]+)*$
value
required
string <= 64 characters ^[a-zA-Z0-9_.-]+( [a-zA-Z0-9_.-]+)*$
Request Body schema: application/json
required
object (Assignment Rule definition.)

Rule defintion for entity selection.

value
string <= 64 characters

Value for the category.

description
string <= 1000 characters

Description of the category value.

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/categories/{name}/{value} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "assignment_rule": {
        "description": "string",
        "exclusion_list": [
            {
                "kind": "string",
                "url": "string",
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        ],
        "inclusion_list": [
            {
                "kind": "string",
                "url": "string",
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        ],
        "name": "string",
        "selection_criteria_list": [
            {
                "entity_type": "string",
                "expression_list": [
                    {
                        "display_for_operator": "string",
                        "display_for_value": "string",
                        "operator": "string",
                        "property_name": "string",
                        "value": "string"
                    }
                ]
            }
        ]
    },
    "description": "string",
    "value": "string"
}'

Response samples

Content type
application/json
{
  • "assignment_rule": {
    },
  • "name": "string",
  • "value": "string",
  • "system_defined": true,
  • "api_version": "3.1.0",
  • "description": "string"
}

Delete a category Key.

Delete a category Key.

Authorizations:
basicAuth
path Parameters
name
required
string <= 64 characters

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/categories/{name} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "kind": "category",
  • "code": 0,
  • "message_list": [
    ],
  • "state": "string",
  • "api_version": "3.1.0"
}

Delete a category value.

Delete a category value.

Authorizations:
basicAuth
path Parameters
name
required
string <= 64 characters
value
required
string <= 64 characters

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/categories/{name}/{value} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "kind": "category",
  • "code": 0,
  • "message_list": [
    ],
  • "state": "string",
  • "api_version": "3.1.0"
}

Get a category key.

Get a category key.

Authorizations:
basicAuth
path Parameters
name
required
string <= 64 characters

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/categories/{name} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "capabilities": {
    },
  • "system_defined": true,
  • "description": "string",
  • "api_version": "3.1.0",
  • "name": "string"
}

Get a category value.

Get a category value.

Authorizations:
basicAuth
path Parameters
name
required
string <= 64 characters
value
required
string <= 64 characters

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/categories/{name}/{value} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "assignment_rule": {
    },
  • "name": "string",
  • "value": "string",
  • "system_defined": true,
  • "api_version": "3.1.0",
  • "description": "string"
}

Get category usage details.

Get list of entities attached to categories or policies in which categories are used as defined by the filter criteria.

Authorizations:
basicAuth
Request Body schema: application/json
usage_type
string (Query Usage Type)

USED_IN - to get policies in which specified categories are used. APPLIED_TO - to get entities attached to specified categories.

group_member_offset
integer <int64>

The offset into the total member set to return per group.

group_member_count
integer <int64>

The maximum number of members to return per group.

object (A category filter)

A category filter.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/category/query \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "category_filter": {
        "kind_list": [
            "string"
        ],
        "params": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "type": "CATEGORIES_MATCH_ANY"
    },
    "group_member_count": 0,
    "group_member_offset": 0,
    "usage_type": "string"
}'

Response samples

Content type
application/json
{
  • "results": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

List the category keys.

List the category keys.

Authorizations:
basicAuth
Request Body schema: application/json
kind
string
Default: "category"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/categories/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "category",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

List the values for a specified key.

List the values for a specified key.

Authorizations:
basicAuth
path Parameters
name
required
string <= 64 characters
Request Body schema: application/json
kind
string
Default: "category"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/categories/{name}/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "category",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

clusters

Get a existing cluster

This operation gets a existing cluster.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/clusters/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing clusters

This operation gets a list of clusters, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
header Parameters
Force-Refresh
string

Forcefully get the latest response. (Values can be True, False)

Request Body schema: application/json
required
kind
string
Default: "cluster"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/clusters/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --header 'Force-Refresh: string' \
    --data '{
    "kind": "cluster",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing cluster

This operation submits a request to update a existing cluster based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Cluster Definition)

Cluster Definition.

required
object (cluster metadata)

The cluster kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/clusters/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "name": "string",
        "resources": {
            "config": {
                "authorized_public_key_list": [
                    {
                        "key": "string",
                        "name": "string"
                    }
                ],
                "certification_signing_info": {
                    "city": "string",
                    "common_name": "string",
                    "common_name_suffix": "string",
                    "country_code": "string",
                    "email_address": "string",
                    "organization": "string",
                    "state": "string"
                },
                "client_auth": {
                    "status": "DISABLED"
                },
                "domain_awareness_level": "NODE",
                "enable_efficient_metric_sync": true,
                "enabled_feature_list": [
                    "string"
                ],
                "encryption_status": "NOT_SUPPORTED",
                "external_configurations": {
                    "citrix_connector_config": {
                        "citrix_vm_reference_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "client_id": "string",
                        "client_secret": "string",
                        "customer_id": "string",
                        "resource_location": {
                            "id": "string",
                            "name": "string"
                        }
                    }
                },
                "gpu_driver_version": "string",
                "operation_mode": "string",
                "redundancy_factor": 0,
                "software_map": {
                    "property1": {
                        "software_type": "string",
                        "status": "INSTALLED",
                        "version": "string"
                    },
                    "property2": {
                        "software_type": "string",
                        "status": "INSTALLED",
                        "version": "string"
                    }
                },
                "supported_information_verbosity": "BASIC_PLUS_CORE_DUMP",
                "timezone": "string"
            },
            "network": {
                "default_vswitch_config": {
                    "nic_teaming_policy": "string",
                    "uplink_grouping": "string"
                },
                "domain_server": {
                    "domain_credentials": {
                        "password": "string",
                        "username": "string"
                    },
                    "name": "string",
                    "nameserver": "string"
                },
                "external_data_services_ip": "string",
                "external_ip": "string",
                "external_subnet": "172.16.0.0/255.240.0.0",
                "fully_qualified_domain_name": "string",
                "http_proxy_list": [
                    {
                        "address": {
                            "fqdn": "string",
                            "ip": "string",
                            "ip6_range": "string",
                            "ip_range": "string",
                            "ipv6": "string",
                            "is_backup": true,
                            "port": 0
                        },
                        "credentials": {
                            "password": "string",
                            "username": "string"
                        },
                        "name": "string",
                        "proxy_type_list": [
                            "string"
                        ]
                    }
                ],
                "http_proxy_whitelist": [
                    {
                        "target": "string",
                        "target_type": "string"
                    }
                ],
                "internal_subnet": "192.168.5.0/255.255.255.0",
                "masquerading_ip": "string",
                "masquerading_port": 0,
                "name_server_ip_list": [
                    "string"
                ],
                "nfs_subnet_whitelist": [
                    "string"
                ],
                "ntp_server_ip_list": [
                    "string"
                ],
                "smtp_server": {
                    "email_address": "string",
                    "server": {
                        "address": {
                            "fqdn": "string",
                            "ip": "string",
                            "ip6_range": "string",
                            "ip_range": "string",
                            "ipv6": "string",
                            "is_backup": true,
                            "port": 0
                        },
                        "credentials": {
                            "password": "string",
                            "username": "string"
                        },
                        "name": "string",
                        "proxy_type_list": [
                            "string"
                        ]
                    },
                    "type": "PLAIN"
                }
            },
            "runtime_status_list": [
                "string"
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

directory_services

Create a new directory service configuration

This operation submits a request to create a new directory service configuration based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Directory service)

The configuration details of the directory service.

required
object (directory_service metadata)

The directory_service kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/directory_services \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "name": "string",
        "resources": {
            "admin_group_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "admin_user_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "directory_type": "string",
            "domain_name": "string",
            "open_ldap_configuration": {
                "user_configuration": {
                    "user_object_class": "string",
                    "user_search_base": "string",
                    "username_attribute": "string"
                },
                "user_group_configuration": {
                    "group_member_attribute": "string",
                    "group_member_attribute_value": "string",
                    "group_object_class": "string",
                    "group_search_base": "string"
                }
            },
            "secondary_urls": [
                "string"
            ],
            "service_account": {
                "password": "string",
                "username": "string"
            },
            "url": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing directory service configuration

This operation submits a request to delete a existing directory service configuration.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/directory_services/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing directory service configuration

This operation gets a existing directory service configuration.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/directory_services/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing directory service configurations

This operation gets a list of directory service configurations, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "directory_service"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/directory_services/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "directory_service",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Search user or group in the directory service.

Retrieves a user or a group available in the directory service based on the UUID specified.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
query
required
string

The search string.

searched_attribute_list
Array of strings

The attributes for search operation. If not specified, search is performed with the common name.

returned_attribute_list
Array of strings

The attributes the search operation returns. If not available, a list of default attributes is returned.

is_wildcard_search
boolean
Default: true

The attribute that tells if the query is a wildcard match or exact match query.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/directory_services/{uuid}/search \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "is_wildcard_search": true,
    "query": "string",
    "returned_attribute_list": [
        "string"
    ],
    "searched_attribute_list": [
        "string"
    ]
}'

Response samples

Content type
application/json
{
  • "search_result_list": [
    ],
  • "domain_name": "string",
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing directory service configuration

This operation submits a request to update a existing directory service configuration based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Directory service)

The configuration details of the directory service.

required
object (directory_service metadata)

The directory_service kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/directory_services/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "name": "string",
        "resources": {
            "admin_group_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "admin_user_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "directory_type": "string",
            "domain_name": "string",
            "open_ldap_configuration": {
                "user_configuration": {
                    "user_object_class": "string",
                    "user_search_base": "string",
                    "username_attribute": "string"
                },
                "user_group_configuration": {
                    "group_member_attribute": "string",
                    "group_member_attribute_value": "string",
                    "group_object_class": "string",
                    "group_search_base": "string"
                }
            },
            "secondary_urls": [
                "string"
            ],
            "service_account": {
                "password": "string",
                "username": "string"
            },
            "url": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

floating_ip

Create a new Floating IP

This operation submits a request to create a new Floating IP based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (floating_ip Intent Spec with placement specified)

An intentful representation of a floating_ip spec

required
object (floating_ip metadata)

The floating_ip kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/floating_ips \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "external_subnet_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "floating_ip": "string",
            "private_ip": "string",
            "vm_nic_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "vpc_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing Floating IP

This operation submits a request to delete a existing Floating IP.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/floating_ips/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing Floating IP

This operation gets a existing Floating IP.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/floating_ips/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing Floating IPs

This operation gets a list of Floating IPs, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "floating_ip"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/floating_ips/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "floating_ip",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing Floating IP

This operation submits a request to update a existing Floating IP based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (floating_ip Intent Spec with placement specified)

An intentful representation of a floating_ip spec

required
object (floating_ip metadata)

The floating_ip kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/floating_ips/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "external_subnet_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "floating_ip": "string",
            "private_ip": "string",
            "vm_nic_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "vpc_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

hosts

Get a existing Host

This operation gets a existing Host.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/hosts/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing Hosts

This operation gets a list of Hosts, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "host"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/hosts/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "host",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

idempotence_identifiers

Create an new idempotence_identifier " (UUID4)"

This operation submits a request to create an new idempotence_identifier based on the input parameters. The idempotence_identifiers API allows users to generate an idempotent UUID4 with a user-provided identifier. The idempotent UUID(s) can later be passed in POST requests. By default, Nutanix v3 APIs do not allow for operations to be created with user-provided UUIDs; each POST request received by the API gateway results in a UUID4 being automatically generated and returned in the response JSON.

Authorizations:
basicAuth
Request Body schema: application/json

An idempotence identifier object.

client_identifier
string

The client identifier string.

count
required
integer [ 1 .. 4096 ]
Default: 1

The number of idempotence identifiers provided.

valid_duration_in_minutes
integer [ 1 .. 527040 ]
Default: 527040

Number of minutes from creation time for which idempotence identifier uuid list is valid.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/idempotence_identifiers \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "client_identifier": "string",
    "count": 1,
    "valid_duration_in_minutes": 527040
}'

Response samples

Content type
application/json
{
  • "client_identifier": "string",
  • "count": 1,
  • "expiration_time": "2019-08-24T14:15:22Z",
  • "uuid_list": [
    ]
}

Delete an existing idempotence_identifier

This operation submits a request to delete an existing idempotence_identifier.

Authorizations:
basicAuth
path Parameters
client_identifier
required
string

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/idempotence_identifiers/{client_identifier} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "kind": "idempotence_identifiers",
  • "code": 0,
  • "message_list": [
    ],
  • "state": "string",
  • "api_version": "3.1.0"
}

Get an existing idempotence_identifier

This operation gets an existing idempotence_identifier.

Authorizations:
basicAuth
path Parameters
client_identifier
required
string

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/idempotence_identifiers/{client_identifier} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "client_identifier": "string",
  • "count": 1,
  • "expiration_time": "2019-08-24T14:15:22Z",
  • "uuid_list": [
    ]
}

identity_providers

Create a new identity_provider

This operation submits a request to create a new identity_provider based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Identity provider details)

The configuration details of the identity provider.

required
object (identity_provider metadata)

The identity_provider kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/identity_providers \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "name": "string",
        "resources": {
            "groups_attr": "string",
            "groups_delim": "string",
            "idp_metadata": "string",
            "idp_properties": {
                "certificate": "string",
                "error_url": "string",
                "idp_url": "string",
                "login_url": "string",
                "logout_url": "string"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing identity_provider

This operation submits a request to delete a existing identity_provider.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/identity_providers/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "kind": "identity_provider",
  • "code": 0,
  • "message_list": [
    ],
  • "state": "string",
  • "api_version": "3.1.0"
}

Endpoint which will give service provider metadata as output

Endpoint which will give service provider metadata as output

Authorizations:
basicAuth

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/identity_providers/sp_metadata \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
null

Get a existing identity_provider

This operation gets a existing identity_provider.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/identity_providers/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing identity_provider

This operation gets a list of identity_provider, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "identity_provider"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/identity_providers/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "identity_provider",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing identity_provider

This operation submits a request to update a existing identity_provider based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Identity provider details)

The configuration details of the identity provider.

required
object (identity_provider metadata)

The identity_provider kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/identity_providers/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "name": "string",
        "resources": {
            "groups_attr": "string",
            "groups_delim": "string",
            "idp_metadata": "string",
            "idp_properties": {
                "certificate": "string",
                "error_url": "string",
                "idp_url": "string",
                "login_url": "string",
                "logout_url": "string"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

image_placement_policies

Create a new image_placement_policy

Create a placement policy object by specifiying Image and Cluster categories and placement type. Based on this input the Images matching the category will be placed on the cluster which match the cluster category.

Authorizations:
basicAuth
Request Body schema: application/json
required
object (Image placement policy)

Image placement policy

required
object (image_placement_policy metadata)

The image_placement_policy kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/images/placement_policies \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "cluster_entity_filter": {
                "params": {
                    "property1": [
                        "string"
                    ],
                    "property2": [
                        "string"
                    ]
                },
                "type": "CATEGORIES_MATCH_ANY"
            },
            "image_entity_filter": {
                "params": {
                    "property1": [
                        "string"
                    ],
                    "property2": [
                        "string"
                    ]
                },
                "type": "CATEGORIES_MATCH_ANY"
            },
            "placement_type": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing image_placement_policy

This operation submits a request to delete a existing image_placement_policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/images/placement_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing image_placement_policy

This operation gets a existing image_placement_policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/images/placement_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing image_placement_policies

This operation gets a list of image_placement_policies, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "image_placement_policy"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/images/placement_policies/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "image_placement_policy",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing image_placement_policy

This operation submits a request to update a existing image_placement_policy based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required

Image placement policy to be updated

required
object (Image placement policy)

Image placement policy

required
object (image_placement_policy metadata)

The image_placement_policy kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/images/placement_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "cluster_entity_filter": {
                "params": {
                    "property1": [
                        "string"
                    ],
                    "property2": [
                        "string"
                    ]
                },
                "type": "CATEGORIES_MATCH_ANY"
            },
            "image_entity_filter": {
                "params": {
                    "property1": [
                        "string"
                    ],
                    "property2": [
                        "string"
                    ]
                },
                "type": "CATEGORIES_MATCH_ANY"
            },
            "placement_type": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

images

Create a new image

Images are raw ISO, QCOW2, or VMDK files that are uploaded by a user can be attached to a VM. An ISO image is attached as a virtual CD-ROM drive, and QCOW2 and VMDK files are attached as SCSI disks. An image has to be explicitly added to the self-service catalog before users can create VMs from it.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (image Intent Spec with placement specified)

An intentful representation of a image spec

required
object (image metadata)

The image kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/images \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "architecture": "string",
            "checksum": {
                "checksum_algorithm": "string",
                "checksum_value": "string"
            },
            "data_source_reference": {
                "kind": "string",
                "url": "string",
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "image_type": "string",
            "initial_placement_ref_list": [
                {
                    "file_location": {},
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "source_options": {
                "allow_insecure_connection": true,
                "basic_auth": {
                    "password": "string",
                    "username": "string"
                }
            },
            "source_uri": "string",
            "version": {
                "product_name": "string",
                "product_version": "string"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing image

This operation submits a request to delete a existing image.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/images/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing image

This operation gets a existing image.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/images/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing images

This operation gets a list of images, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "image"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/images/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "image",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get Image Contents

Downloads the image based on the UUID specified.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/images/{uuid}/file \
    --header 'Accept: application/octet-stream' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Migrate images from PE cluster to PC

Submits a request to create a task handling image migration operation, returns a task reference. This moves ownership of images from the PE cluster to PC. Image uuids can be obtained by querying the PE instance to list images on the PE. In the case where image uuid list is provided as empty, all images on the cluster that are not currently migrated to PC will be migrated to PC.

Authorizations:
basicAuth
Request Body schema: application/json
Array of objects (Reference to a image)

Reference to the images from PE cluster to be migrated

required
object (Reference to a cluster)

The reference to a cluster

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/images/migrate \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "cluster_reference": {
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "image_reference_list": [
        {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        }
    ]
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Update a existing image

This operation submits a request to update a existing image based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (image Intent Spec with placement specified)

An intentful representation of a image spec

required
object (image metadata)

The image kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/images/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "architecture": "string",
            "checksum": {
                "checksum_algorithm": "string",
                "checksum_value": "string"
            },
            "data_source_reference": {
                "kind": "string",
                "url": "string",
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "image_type": "string",
            "initial_placement_ref_list": [
                {
                    "file_location": {},
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "source_options": {
                "allow_insecure_connection": true,
                "basic_auth": {
                    "password": "string",
                    "username": "string"
                }
            },
            "source_uri": "string",
            "version": {
                "product_name": "string",
                "product_version": "string"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Upload Image Contents

Upload the binary bits of an image based on the UUID specified. Note that the image must be created first before an upload can be done. Also, once the image has been uploaded the image cannot be changed.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

header Parameters
X-Nutanix-Checksum-Type
string
Enum: "SHA_1" "SHA_256"

Checksum type (e.g SHA_1, SHA_256).

X-Nutanix-Checksum-Bytes
string

Checksum bytes.

Request Body schema: application/octet-stream
required
any <binary>

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/images/{uuid}/file \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/octet-stream' \
    --header 'X-Nutanix-Checksum-Bytes: string' \
    --header 'X-Nutanix-Checksum-Type: SHA_1' \
     

Response samples

Content type
application/json
{
  • "kind": "image",
  • "code": 0,
  • "message_list": [
    ],
  • "state": "string",
  • "api_version": "3.1.0"
}

network_function_chains

Create a new Network Function Chain

Given an intentful spec, creates a network function chain with associated metadata.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (network function chain Input Definition)

network function chain Input Definition.

required
object (network_function_chain metadata)

The network_function_chain kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/network_function_chains \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "cluster_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "network_function_list": [
                {
                    "category_filter": {
                        "kind_list": [
                            "string"
                        ],
                        "params": {
                            "property1": [
                                "string"
                            ],
                            "property2": [
                                "string"
                            ]
                        },
                        "type": "CATEGORIES_MATCH_ANY"
                    },
                    "network_function_type": "string"
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing Network Function Chain

Delete a network function chain given its uuid.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/network_function_chains/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing Network Function Chain

Given a UUID, returns a network_function_chain definition.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/network_function_chains/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing Network Function Chains

This operation gets a list of Network Function Chains, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "network_function_chain"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/network_function_chains/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "network_function_chain",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing Network Function Chain

Given an intenful spec and uuid, update network function chain.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (network function chain Input Definition)

network function chain Input Definition.

required
object (network_function_chain metadata)

The network_function_chain kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/network_function_chains/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "cluster_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "network_function_list": [
                {
                    "category_filter": {
                        "kind_list": [
                            "string"
                        ],
                        "params": {
                            "property1": [
                                "string"
                            ],
                            "property2": [
                                "string"
                            ]
                        },
                        "type": "CATEGORIES_MATCH_ANY"
                    },
                    "network_function_type": "string"
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

network_security_rules

Create a new Network security rule

This operation submits a request to create a new Network security rule based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Network security rule)

Network security rule

required
object (network_security_rule metadata)

The network_security_rule kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/network_security_rules \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "ad_rule": {
                "action": "string",
                "inbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "outbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "target_group": {
                    "default_internal_policy": "string",
                    "filter": {
                        "kind_list": [
                            "string"
                        ],
                        "params": {
                            "property1": [
                                "string"
                            ],
                            "property2": [
                                "string"
                            ]
                        },
                        "type": "CATEGORIES_MATCH_ANY"
                    },
                    "peer_specification_type": "string"
                }
            },
            "allow_ipv6_traffic": true,
            "app_rule": {
                "action": "string",
                "inbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "outbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "target_group": {
                    "default_internal_policy": "string",
                    "filter": {
                        "kind_list": [
                            "string"
                        ],
                        "params": {
                            "property1": [
                                "string"
                            ],
                            "property2": [
                                "string"
                            ]
                        },
                        "type": "CATEGORIES_MATCH_ANY"
                    },
                    "peer_specification_type": "string"
                }
            },
            "is_policy_hitlog_enabled": true,
            "isolation_rule": {
                "action": "string",
                "first_entity_filter": {
                    "kind_list": [
                        "string"
                    ],
                    "params": {
                        "property1": [
                            "string"
                        ],
                        "property2": [
                            "string"
                        ]
                    },
                    "type": "CATEGORIES_MATCH_ANY"
                },
                "second_entity_filter": {
                    "kind_list": [
                        "string"
                    ],
                    "params": {
                        "property1": [
                            "string"
                        ],
                        "property2": [
                            "string"
                        ]
                    },
                    "type": "CATEGORIES_MATCH_ANY"
                }
            },
            "quarantine_rule": {
                "action": "string",
                "inbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "outbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "target_group": {
                    "default_internal_policy": "string",
                    "filter": {
                        "kind_list": [
                            "string"
                        ],
                        "params": {
                            "property1": [
                                "string"
                            ],
                            "property2": [
                                "string"
                            ]
                        },
                        "type": "CATEGORIES_MATCH_ANY"
                    },
                    "peer_specification_type": "string"
                }
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing Network security rule

This operation submits a request to delete a existing Network security rule.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/network_security_rules/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Export all network security rules

Export all network security rules to save and for subsequent import

Authorizations:
basicAuth

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/network_security_rules/export \
    --header 'Accept: application/octet-stream' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Get a existing Network security rule

This operation gets a existing Network security rule.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/network_security_rules/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get all network security rules

This operation gets a list of Network security rules, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "network_security_rule"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/network_security_rules/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "network_security_rule",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Imports all the network security rules specified by the data.

Imports previously exported network security rules

Authorizations:
basicAuth
Request Body schema: application/octet-stream
required
any <binary>

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/network_security_rules/import/apply \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/octet-stream' \
     

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Reports on the impact of importing the policy

Generates a report on the impact of importing the policy data

Authorizations:
basicAuth
Request Body schema: application/octet-stream
required
any <binary>

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/network_security_rules/import/dry_run \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/octet-stream' \
     

Response samples

Content type
application/json
{
  • "entity_list": [
    ]
}

Update a existing Network security rule

This operation submits a request to update a existing Network security rule based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Network security rule)

Network security rule

required
object (network_security_rule metadata)

The network_security_rule kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/network_security_rules/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "ad_rule": {
                "action": "string",
                "inbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "outbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "target_group": {
                    "default_internal_policy": "string",
                    "filter": {
                        "kind_list": [
                            "string"
                        ],
                        "params": {
                            "property1": [
                                "string"
                            ],
                            "property2": [
                                "string"
                            ]
                        },
                        "type": "CATEGORIES_MATCH_ANY"
                    },
                    "peer_specification_type": "string"
                }
            },
            "allow_ipv6_traffic": true,
            "app_rule": {
                "action": "string",
                "inbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "outbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "target_group": {
                    "default_internal_policy": "string",
                    "filter": {
                        "kind_list": [
                            "string"
                        ],
                        "params": {
                            "property1": [
                                "string"
                            ],
                            "property2": [
                                "string"
                            ]
                        },
                        "type": "CATEGORIES_MATCH_ANY"
                    },
                    "peer_specification_type": "string"
                }
            },
            "is_policy_hitlog_enabled": true,
            "isolation_rule": {
                "action": "string",
                "first_entity_filter": {
                    "kind_list": [
                        "string"
                    ],
                    "params": {
                        "property1": [
                            "string"
                        ],
                        "property2": [
                            "string"
                        ]
                    },
                    "type": "CATEGORIES_MATCH_ANY"
                },
                "second_entity_filter": {
                    "kind_list": [
                        "string"
                    ],
                    "params": {
                        "property1": [
                            "string"
                        ],
                        "property2": [
                            "string"
                        ]
                    },
                    "type": "CATEGORIES_MATCH_ANY"
                }
            },
            "quarantine_rule": {
                "action": "string",
                "inbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "outbound_allow_list": [
                    {
                        "address_group_inclusion_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "description": "string",
                        "expiration_time": "string",
                        "filter": {
                            "kind_list": [
                                "string"
                            ],
                            "params": {
                                "property1": [
                                    "string"
                                ],
                                "property2": [
                                    "string"
                                ]
                            },
                            "type": "CATEGORIES_MATCH_ANY"
                        },
                        "icmp_type_code_list": [
                            {}
                        ],
                        "ip_subnet": {
                            "ip": "string",
                            "prefix_length": 0
                        },
                        "network_function_chain_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "peer_specification_type": "string",
                        "protocol": "string",
                        "rule_id": 0,
                        "service_group_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ],
                        "tcp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ],
                        "udp_port_range_list": [
                            {
                                "end_port": 0,
                                "start_port": 0
                            }
                        ]
                    }
                ],
                "target_group": {
                    "default_internal_policy": "string",
                    "filter": {
                        "kind_list": [
                            "string"
                        ],
                        "params": {
                            "property1": [
                                "string"
                            ],
                            "property2": [
                                "string"
                            ]
                        },
                        "type": "CATEGORIES_MATCH_ANY"
                    },
                    "peer_specification_type": "string"
                }
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

ngt_policies

Create a new ngt_policy

This operation submits a request to create a new ngt_policy based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (NGT policy spec)

NGT policy spec.

required
object (ngt_policy metadata)

The ngt_policy kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/ngt_policies \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "filter_list": [
                {
                    "entity_filter_expression_list": [
                        {
                            "left_hand_side": {
                                "entity_type": "string"
                            },
                            "operator": "string",
                            "right_hand_side": {
                                "categories": {
                                    "property1": [
                                        "string"
                                    ],
                                    "property2": [
                                        "string"
                                    ]
                                },
                                "collection": "string",
                                "uuid_list": [
                                    "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                ]
                            }
                        }
                    ],
                    "scope_filter_expression_list": [
                        {
                            "left_hand_side": "string",
                            "operator": "string",
                            "right_hand_side": {
                                "categories": {
                                    "property1": [
                                        "string"
                                    ],
                                    "property2": [
                                        "string"
                                    ]
                                },
                                "collection": "string",
                                "uuid_list": [
                                    "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                ],
                                "value_list": [
                                    "string"
                                ]
                            }
                        }
                    ]
                }
            ],
            "parameters": {
                "reboot_ngt_policy_parameters": {
                    "apply_once": false,
                    "schedule": {
                        "day_time": {
                            "day_of_week": "string",
                            "time": "string"
                        },
                        "start_time": "2019-08-24T14:15:22Z"
                    },
                    "schedule_type": "string"
                }
            },
            "type": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing ngt_policy

This operation submits a request to delete a existing ngt_policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/ngt_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "kind": "ngt_policy",
  • "code": 0,
  • "message_list": [
    ],
  • "state": "string",
  • "api_version": "3.1.0"
}

Get a existing ngt_policy

This operation gets a existing ngt_policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/ngt_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing ngt_policies

This operation gets a list of ngt_policies, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "ngt_policy"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/ngt_policies/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "ngt_policy",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing ngt_policy

This operation submits a request to update a existing ngt_policy based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (NGT policy spec)

NGT policy spec.

required
object (ngt_policy metadata)

The ngt_policy kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/ngt_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "filter_list": [
                {
                    "entity_filter_expression_list": [
                        {
                            "left_hand_side": {
                                "entity_type": "string"
                            },
                            "operator": "string",
                            "right_hand_side": {
                                "categories": {
                                    "property1": [
                                        "string"
                                    ],
                                    "property2": [
                                        "string"
                                    ]
                                },
                                "collection": "string",
                                "uuid_list": [
                                    "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                ]
                            }
                        }
                    ],
                    "scope_filter_expression_list": [
                        {
                            "left_hand_side": "string",
                            "operator": "string",
                            "right_hand_side": {
                                "categories": {
                                    "property1": [
                                        "string"
                                    ],
                                    "property2": [
                                        "string"
                                    ]
                                },
                                "collection": "string",
                                "uuid_list": [
                                    "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                ],
                                "value_list": [
                                    "string"
                                ]
                            }
                        }
                    ]
                }
            ],
            "parameters": {
                "reboot_ngt_policy_parameters": {
                    "apply_once": false,
                    "schedule": {
                        "day_time": {
                            "day_of_week": "string",
                            "time": "string"
                        },
                        "start_time": "2019-08-24T14:15:22Z"
                    },
                    "schedule_type": "string"
                }
            },
            "type": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

ovas

Concatenate uploaded file chunks of an OVA

This operation will concatenate file chunks in order of their upload offset to create the resulting OVA file.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid}/chunks/concatenate \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
     

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Create a new ova

Creates an ova entity. OVAs can be uploaded using this by user which can be later used to create a VM.

Authorizations:
basicAuth
Request Body schema: application/json
url
string

URL that can be used to download OVA.

object (Image checksum)

Image checksum

name
required
string <= 64 characters

Name of the OVA.

Array of objects (Reference to a cluster)

List of clusters where OVA is requested to be placed at time of creation. Multiple clusters are supported only when OVA is uploaded using url.

upload_length
integer <int64>

Length of the OVA file to be uploaded in bytes. It is mandatory to provide file size if local file upload is used.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/ovas \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "checksum": {
        "checksum_algorithm": "string",
        "checksum_value": "string"
    },
    "name": "string",
    "upload_cluster_ref_list": [
        {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        }
    ],
    "upload_length": 0,
    "url": "string"
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Delete a existing OVA

This operation submits a request to delete a existing OVA.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Get a list of existing OVAs

This operation gets a list of OVAs, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "ova"

The kind name

sort_order
string (Sort order)

The sort order in which results are returned

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_attribute
string

The attribute to perform sort on

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/ovas/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "ova",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get an existing disk of an OVA

This operation gets disk of an existing OVA

Authorizations:
basicAuth
path Parameters
uuid
required
string^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
disk_id
required
string^[a-z]{3,5}\d+\.\d+$

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid}/disks/{disk_id} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "device_properties": {
    }
}

Get an existing OVA

This operation gets a existing OVA.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "info": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get OVA Contents

Downloads the OVA based on the UUID specified.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid}/file \
    --header 'Accept: application/octet-stream' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Get VM spec from an OVA.

Get VM spec from an OVA. This spec can be used to create a VM.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

query Parameters
ignore_unknown_fields
boolean

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid}/vm_spec \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "vm_spec": {
    },
  • "warnings": [
    ]
}

Gets a list of existing disks of an OVA

This operation gets a list of disks of an exisiting OVA

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid}/disks \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "entities": [
    ]
}

Update name of an existing OVA

This operation updates a existing OVA based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
name
required
string <= 64 characters

Name of the OVA.

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "name": "string"
}'

Response samples

Content type
application/json
{
  • "status": "string",
  • "kind": "string",
  • "code": 0,
  • "reason": "string",
  • "details": {
    },
  • "message": "string",
  • "api_version": "3.1.0"
}

Upload file chunk of an OVA

Upload a file chunk of an OVA based on the UUID specified. Note that the OVA must be created first before an upload can be done.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

header Parameters
X-Nutanix-Upload-Offset
required
integer <int64>

Offset of file chunk in original OVA file.

X-Nutanix-Content-Length
required
integer <int64>

Length of file chunk to upload.

X-Nutanix-Checksum-Type
string

Checksum type (e.g SHA_1, SHA_256).

X-Nutanix-Checksum-Bytes
string

Checksum bytes of file chunk.

Request Body schema: application/octet-stream
required

File chunk in binary format.

any <binary>

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid}/chunks \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/octet-stream' \
    --header 'X-Nutanix-Checksum-Bytes: string' \
    --header 'X-Nutanix-Checksum-Type: string' \
    --header 'X-Nutanix-Content-Length: 0' \
    --header 'X-Nutanix-Upload-Offset: 0' \
     

Response samples

Content type
application/json
{
  • "status": "string",
  • "kind": "string",
  • "code": 0,
  • "reason": "string",
  • "details": {
    },
  • "message": "string",
  • "api_version": "3.1.0"
}

Uploaded OVA file info

Information of the uploaded OVA file.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request HEAD \
    --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid}/chunks \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": "string",
  • "kind": "string",
  • "code": 0,
  • "reason": "string",
  • "details": {
    },
  • "message": "string",
  • "api_version": "3.1.0"
}

permissions

Get a permission.

Get a permission.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/permissions/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

List the permissions.

Get permissions.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "permission"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/permissions/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "permission",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

projects

Create a new Project

This operation submits a request to create a new Project based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required

The entity to create or modify a project.

required
object (Project resource spec)

A Project resource.

required
object (project metadata)

The project kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/projects \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "account_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "cluster_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "default_environment_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "default_subnet_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "directory_reference_list": [
                {
                    "kind": "string",
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "enable_directory_and_identity_provider_whitelist": true,
            "environment_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "external_network_list": [
                {
                    "name": "string",
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "external_user_group_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "identity_providers_reference_list": [
                {
                    "kind": "string",
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "resource_domain": {
                "resources": [
                    {
                        "limit": 0,
                        "resource_type": "string"
                    }
                ]
            },
            "subnet_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "tunnel_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "user_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "vpc_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing Project

This operation submits a request to delete a existing Project.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/projects/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing Project

This operation gets a existing Project.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/projects/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing Projects

This operation gets a list of Projects, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "project"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/projects/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "project",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing Project

This operation submits a request to update a existing Project based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required

The entity used to create or modify a project.

required
object (Project resource spec)

A Project resource.

required
object (project metadata)

The project kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/projects/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "account_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "cluster_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "default_environment_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "default_subnet_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "directory_reference_list": [
                {
                    "kind": "string",
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "enable_directory_and_identity_provider_whitelist": true,
            "environment_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "external_network_list": [
                {
                    "name": "string",
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "external_user_group_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "identity_providers_reference_list": [
                {
                    "kind": "string",
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "resource_domain": {
                "resources": [
                    {
                        "limit": 0,
                        "resource_type": "string"
                    }
                ]
            },
            "subnet_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "tunnel_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "user_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "vpc_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

protection_rules

Create a protection rule

Create a protection rule

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Protection Rule creation/modification spec)

protection Rule creation/modification spec

required
object (protection_rule metadata)

The protection_rule kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/protection_rules \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "availability_zone_connectivity_list": [
                {}
            ],
            "category_filter": {
                "kind_list": [
                    "string"
                ],
                "params": {
                    "property1": [
                        "string"
                    ],
                    "property2": [
                        "string"
                    ]
                },
                "type": "CATEGORIES_MATCH_ANY"
            },
            "ordered_availability_zone_list": [
                {}
            ],
            "primary_location_list": [
                0
            ],
            "start_time": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a protection rule

Delete a protection rule

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/protection_rules/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of entities affected by a protection rule

Get a list of entities affected by a protection rule based on the filters provided in the protection rule definition.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/protection_rules/{uuid}/query_entities \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "entity_list": [
    ]
}

Get details for a protection rule

Get details for a protection rule

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/protection_rules/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get protection rules

Get protection rules

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "protection_rule"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/protection_rules/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "protection_rule",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Modify protection rule

Modify protection rule

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Protection Rule creation/modification spec)

protection Rule creation/modification spec

required
object (protection_rule metadata)

The protection_rule kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/protection_rules/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "availability_zone_connectivity_list": [
                {}
            ],
            "category_filter": {
                "kind_list": [
                    "string"
                ],
                "params": {
                    "property1": [
                        "string"
                    ],
                    "property2": [
                        "string"
                    ]
                },
                "type": "CATEGORIES_MATCH_ANY"
            },
            "ordered_availability_zone_list": [
                {}
            ],
            "primary_location_list": [
                0
            ],
            "start_time": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Process a protection rule

It will be used whenever user wants to process a protection rule immediately. For example if an entity is protected by a protection rule, user can call this API to trigger protection rule processing. This API doesn't wait for the processing to be completed. The API triggers the protection rule processing and returns.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/protection_rules/{uuid}/process \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
     

Response samples

Content type
application/json
{
  • "kind": "protection_rule",
  • "code": 0,
  • "message_list": [
    ],
  • "state": "string",
  • "api_version": "3.1.0"
}

recovery_plan_jobs

Create Recovery Plan Job

Create a Recovery Plan Job for a Recovery Plan with associated metadata

Authorizations:
basicAuth
Request Body schema: application/json
required

Request body

required
object (Resources for Recovery Plan Job creation.)

Resources for Recovery Plan Job creation.

required
object (recovery_plan_job metadata)

The recovery_plan_job kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plan_jobs \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "name": "string",
        "resources": {
            "execution_parameters": {
                "action_type": "string",
                "failed_availability_zone_list": [
                    {
                        "availability_zone_url": "string",
                        "cluster_reference_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ]
                    }
                ],
                "recovery_availability_zone_list": [
                    {
                        "availability_zone_url": "string",
                        "cluster_reference_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ]
                    }
                ],
                "recovery_reference_time": "2019-08-24T14:15:22Z",
                "should_continue_on_validation_failure": false
            },
            "recovery_plan_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Delete Recovery Plan Job

Delete a Recovery Plan Job given its UUID

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plan_jobs/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Get Recovery Plan Job

Given a UUID, returns a Recovery Plan Job state

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plan_jobs/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get the execution status of the Recovery Plan Job

Get the execution status of the Recovery Plan Job

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

status
required
string

Type of the Recovery Plan Job status

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plan_jobs/{uuid}/{status} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "postprocessing_status": {
    },
  • "operation_status": {
    },
  • "preprocessing_status": {
    }
}

List the Recovery Plan Jobs

List the Recovery Plan Jobs

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "recovery_plan_job"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plan_jobs/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "recovery_plan_job",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Perform an action on Recovery Plan Job

Perform an action on Recovery Plan Job

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

action
required
string

Action to be performed on the Recovery Plan Job. Only Following actions are supported, cleanup - Delete entities recovered in the last Test-Failover operation. rerun - Retriggers the Recovery Plan execution from its last state. This action is only supported for Migrate, Failover, and Test-Failover operations.

Request Body schema: application/json
required

Request body

should_continue_rerun_on_validation_failure
boolean
Default: false

Whether to continue rerun execution if warnings are detected during recovery validations.

rerun_recovery_plan_job_uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

UUID for referencing the new Recovery Plan Job created for running the failed and incomplete operations. If not specified system generated one will be used. Reference to this will also be populated in entity_reference_list of the task returned in the response.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plan_jobs/{uuid}/{action} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "rerun_recovery_plan_job_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
    "should_continue_rerun_on_validation_failure": false
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

recovery_plans

Create Recovery Plan

Given a spec creates a Recovery Plan with associated metadata

Authorizations:
basicAuth
Request Body schema: application/json
required

Request body

required
object (Recovery Plan creation/modification spec)

Recovery Plan creation/modification spec

required
object (recovery_plan metadata)

The recovery_plan kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plans \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "parameters": {
                "availability_zone_list": [
                    {
                        "availability_zone_url": "string",
                        "cluster_reference_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ]
                    }
                ],
                "cutover_mode": "string",
                "data_service_ip_mapping_list": [
                    {}
                ],
                "floating_ip_assignment_list": [
                    {}
                ],
                "network_mapping_list": [
                    {}
                ],
                "primary_location_index": 0,
                "witness_configuration_list": [
                    {
                        "witness_address": "string",
                        "witness_failover_timeout_secs": 1
                    }
                ]
            },
            "stage_list": [
                {
                    "delay_time_secs": 0,
                    "stage_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
                    "stage_work": {
                        "recover_entities": {
                            "entity_info_list": [
                                {}
                            ]
                        }
                    }
                }
            ],
            "volume_group_recovery_info_list": [
                {
                    "category_filter": {
                        "kind_list": [
                            "string"
                        ],
                        "params": {
                            "property1": [
                                "string"
                            ],
                            "property2": [
                                "string"
                            ]
                        },
                        "type": "CATEGORIES_MATCH_ANY"
                    },
                    "volume_group_config_info_list": [
                        {}
                    ],
                    "volume_group_reference": {
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    }
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete Recovery Plan

Delete a Recovery Plan given its UUID

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plans/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get entities associated with the Recovery Plan

Entities associated with the Recovery Plan. It includes the live entities and the entities for which Recovery Points are present on the local Availability Zones/Public Cloud.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

query Parameters
action_type
string

The entities that will be recovered when an operation is performed on the Recovery Plan. Below is the list of supported action types. MIGRATE - Entities will be recovered from their latest state in the Recovery Availability Zone. LIVE_MIGRATE - Entities will be recovered from their latest state in the Recovery Availability Zone without VM down time. FAILOVER - Entities will be recovered from a Recovery Point at Recovery Availability Zone. TEST_FAILOVER - Entities will be recovered from the latest Recovery Point in the test network.

failed_availability_zone_info_list
Array of strings

List of Availability Zone URL and cluster UUIDs. Sample format is "|||..." where cluster_uuids are optional.

recovery_availability_zone_info_list
Array of strings

List of Availability Zone URL and cluster UUIDs. Sample format is "|||..." where cluster_uuids are optional.

recovery_reference_time
string <date-time>

Time with respect to which entities has to be fetched for Unplanned Failover. This time will be used as reference time with respect to which latest snapshot will have to be restored in case of failover. For example, if failover is required to be done using snapshot created on or before yesterday '2:00' PM, then recovery_reference_time will be set to this time. This would be given in the format %Y-%m-%dT%H:%M:%SZ.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plans/{uuid}/entities \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "entities_per_availability_zone_list": [
    ]
}

Get Recovery Plan

Given a UUID, returns a Recovery Plan definition

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plans/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

List the Recovery Plans

List the Recovery Plans with associated metadata

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "recovery_plan"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plans/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "recovery_plan",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update Recovery Plan

Given a spec and Recovery Plan UUID, update Recovery Plan

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Recovery Plan creation/modification spec)

Recovery Plan creation/modification spec

required
object (recovery_plan metadata)

The recovery_plan kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/recovery_plans/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "parameters": {
                "availability_zone_list": [
                    {
                        "availability_zone_url": "string",
                        "cluster_reference_list": [
                            {
                                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                            }
                        ]
                    }
                ],
                "cutover_mode": "string",
                "data_service_ip_mapping_list": [
                    {}
                ],
                "floating_ip_assignment_list": [
                    {}
                ],
                "network_mapping_list": [
                    {}
                ],
                "primary_location_index": 0,
                "witness_configuration_list": [
                    {
                        "witness_address": "string",
                        "witness_failover_timeout_secs": 1
                    }
                ]
            },
            "stage_list": [
                {
                    "delay_time_secs": 0,
                    "stage_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
                    "stage_work": {
                        "recover_entities": {
                            "entity_info_list": [
                                {}
                            ]
                        }
                    }
                }
            ],
            "volume_group_recovery_info_list": [
                {
                    "category_filter": {
                        "kind_list": [
                            "string"
                        ],
                        "params": {
                            "property1": [
                                "string"
                            ],
                            "property2": [
                                "string"
                            ]
                        },
                        "type": "CATEGORIES_MATCH_ANY"
                    },
                    "volume_group_config_info_list": [
                        {}
                    ],
                    "volume_group_reference": {
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    }
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

remote_syslog_modules

Create a new Remote Syslog modules list

This operation submits a request to create a new Remote Syslog modules list based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Remote Syslog module list creation/modification spec)

Remote Syslog module list creation/modification spec

required
object (remote_syslog_module metadata)

The remote_syslog_module kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_modules \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "resources": {
            "module_list": [
                {
                    "log_severity_level": 0,
                    "module_name": "string"
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing Remote Syslog modules list

This operation submits a request to delete a existing Remote Syslog modules list.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_modules/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing Remote Syslog modules list

This operation gets a existing Remote Syslog modules list.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_modules/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing Remote Syslog modules

This operation gets a list of Remote Syslog modules, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "remote_syslog_module"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_modules/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "remote_syslog_module",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing Remote Syslog modules list

This operation submits a request to update a existing Remote Syslog modules list based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Remote Syslog module list creation/modification spec)

Remote Syslog module list creation/modification spec

required
object (remote_syslog_module metadata)

The remote_syslog_module kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_modules/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "resources": {
            "module_list": [
                {
                    "log_severity_level": 0,
                    "module_name": "string"
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

remote_syslog_servers

Create a new Remote Syslog server

This operation submits a request to create a new Remote Syslog server based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Remote Syslog server creation/modification spec.)

Remote Syslog server creation/modification spec.

required
object (remote_syslog_server metadata)

The remote_syslog_server kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_servers \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "resources": {
            "ip_address": "string",
            "module_list": [
                {
                    "log_severity_level": 0,
                    "module_name": "string"
                }
            ],
            "network_protocol": "string",
            "port": 0,
            "server_name": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing Remote Syslog server

This operation submits a request to delete a existing Remote Syslog server.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_servers/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing Remote Syslog server

This operation gets a existing Remote Syslog server.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_servers/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing Remote Syslog servers

This operation gets a list of Remote Syslog servers, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "remote_syslog_server"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_servers/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "remote_syslog_server",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Remote Syslog servers configured on all PEs registered to PC.

Remote Syslog servers configured on all PEs registered to PC.

Authorizations:
basicAuth

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_servers/cluster_rsyslog_servers \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "pe_list": [
    ]
}

Update a existing Remote Syslog server

This operation submits a request to update a existing Remote Syslog server based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Remote Syslog server creation/modification spec.)

Remote Syslog server creation/modification spec.

required
object (remote_syslog_server metadata)

The remote_syslog_server kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/remote_syslog_servers/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "resources": {
            "ip_address": "string",
            "module_list": [
                {
                    "log_severity_level": 0,
                    "module_name": "string"
                }
            ],
            "network_protocol": "string",
            "port": 0,
            "server_name": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

reports

Create a report instance.

This will generate the report for a specified report config uuid.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Report instance definition.)

Report instance creation/modification spec.

required
object (report_instance metadata)

The report_instance kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/report_instances \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "name": "string",
        "resources": {
            "data_end_time": "2019-08-24T14:15:22Z",
            "data_start_time": "2019-08-24T14:15:22Z",
            "description": "string",
            "generation_format": [
                "string"
            ],
            "recipient_format": [
                "string"
            ],
            "recipient_list": [
                {
                    "email_address": "string",
                    "recipient_name": "string"
                }
            ],
            "report_config_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "runtime_key_values": {},
            "save_instance": true,
            "timezone": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Create report config.

Given an intentful spec, creates a report config with specified attributes.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Report Config creation/modification spec)

Report Config creation/modification spec.

required
object (report_config metadata)

The report_config kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/report_configs \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "name": "string",
        "resources": {
            "description": "string",
            "end_time_offset_secs": 0,
            "generation_format": [
                "string"
            ],
            "notification_policy": {
                "email_config": {
                    "email_body": "string",
                    "email_subject": "string",
                    "recipient_format": [
                        "string"
                    ],
                    "recipient_list": [
                        {
                            "email_address": "string",
                            "recipient_name": "string"
                        }
                    ]
                }
            },
            "retention_policy": {
                "instance_count": 0,
                "retention_time_secs": 0
            },
            "schedule": {
                "day_of_week": [
                    "string"
                ],
                "duration_secs": 0,
                "end_time": "2019-08-24T14:15:22Z",
                "interval_multiple": 0,
                "interval_type": "string",
                "is_suspended": true,
                "start_time": "2019-08-24T14:15:22Z"
            },
            "start_time_offset_secs": 0,
            "template": {
                "name": "string",
                "report_customization": {
                    "css_style_sheet": "string",
                    "footer_html": "string",
                    "header_html": "string",
                    "logo_image_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
                    "overridable_style_sheet": "string"
                },
                "sections": [
                    {
                        "description": "string",
                        "name": "string",
                        "repetition_criteria": {
                            "entity_type": "string",
                            "repetition_rule": "string"
                        },
                        "section_id": "string",
                        "template_rows": [
                            {
                                "row_element_list": [
                                    {
                                        "section_id": "string",
                                        "widget_config": {
                                            "entity_type": "string",
                                            "repetition_criteria": {
                                                "entity_type": "string",
                                                "repetition_rule": "string"
                                            },
                                            "widget_data_projection": {
                                                "custom_key_values": {},
                                                "filter_criteria": "string",
                                                "limit": 0,
                                                "sort_column": "string",
                                                "sort_key": "string",
                                                "sort_order": "string"
                                            },
                                            "widget_description": "string",
                                            "widget_field_list": [
                                                {
                                                    "aggregation_operator": "string",
                                                    "label": "string",
                                                    "property": "string"
                                                }
                                            ],
                                            "widget_heading": "string",
                                            "widget_size": "string",
                                            "widget_type": "string"
                                        },
                                        "widget_id": "string"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "template_rows": [
                    {
                        "row_element_list": [
                            {
                                "section_id": "string",
                                "widget_config": {
                                    "entity_type": "string",
                                    "repetition_criteria": {
                                        "entity_type": "string",
                                        "repetition_rule": "string"
                                    },
                                    "widget_data_projection": {
                                        "custom_key_values": {},
                                        "filter_criteria": "string",
                                        "limit": 0,
                                        "sort_column": "string",
                                        "sort_key": "string",
                                        "sort_order": "string"
                                    },
                                    "widget_description": "string",
                                    "widget_field_list": [
                                        {
                                            "aggregation_operator": "string",
                                            "label": "string",
                                            "property": "string"
                                        }
                                    ],
                                    "widget_heading": "string",
                                    "widget_size": "string",
                                    "widget_type": "string"
                                },
                                "widget_id": "string"
                            }
                        ]
                    }
                ]
            },
            "template_spec_version": "string",
            "timezone": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete report config.

Delete a report config given its uuid.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/report_configs/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete the generated report instance.

Delete the generated report instance.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/report_instances/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Download a resource.

Download a resource.

Authorizations:
basicAuth
path Parameters
type
required
string(\breport_instance\b|\breport_instance_pdf\b|...

Type of resource to be downloaded. Supported types are.

  • report_instance
  • report_instance_pdf
  • report_instance_csv
  • logo
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/reports/download/{type}/{uuid} \
    --header 'Accept: application/pdf, application/zip, image/png, image/jpeg' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Email the specified generated reports to specified recipients.

Email the specified generated reports to specified recipients.

Authorizations:
basicAuth
Request Body schema: application/json
required
Array of objects (Recipient Details.) <= 100 items

Recipients in addition to those specified in report config.

email_body
string <= 1000 characters

Custom content of the email.

recipient_format
Array of strings

List specifying the formats in which report is to be sent.

Array of objects (Reference to a report_instance) <= 32 items

List of the instances for which email should be sent.

required
object (Reference to a report_config)

The reference to a report_config

email_subject
string <= 256 characters

Subject of the email that will be sent.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/reports/notify \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "email_body": "string",
    "email_subject": "string",
    "instance_reference_list": [
        {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        }
    ],
    "recipient_format": [
        "string"
    ],
    "recipient_list": [
        {
            "email_address": "string",
            "recipient_name": "string"
        }
    ],
    "report_config_reference": {
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    }
}'

Response samples

Content type
application/json
{
  • "kind": "report_instance",
  • "code": 0,
  • "message_list": [
    ],
  • "state": "string",
  • "api_version": "3.1.0"
}

Get report config information.

Given a UUID, returns a report config.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/report_configs/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get the list of all the Generated report instances.

Get the list of all the generated report instances.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "report_instance"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/report_instances/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "report_instance",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get the specified report instance.

Get the specified report instance.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/report_instances/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

List the report configs.

List the report configs with associated metadata.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "report_config"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/report_configs/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "report_config",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update common report config.

This operation updates a common report configuration based on the UUID and intentful spec.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Common Report Config creation/modification spec.)

Common Report Config creation/modification spec.

required
object (common_report_config metadata)

The common_report_config kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/common_report_configs/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "name": "string",
        "resources": {
            "description": "string",
            "notification_policy": {
                "email_config": {
                    "email_body": "string",
                    "email_subject": "string",
                    "recipient_format": [
                        "string"
                    ],
                    "recipient_list": [
                        {
                            "email_address": "string",
                            "recipient_name": "string"
                        }
                    ]
                }
            },
            "report_customization": {
                "css_style_sheet": "string",
                "footer_html": "string",
                "header_html": "string",
                "logo_image_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
                "overridable_style_sheet": "string"
            },
            "retention_policy": {
                "instance_count": 0,
                "retention_time_secs": 0
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update report config.

Given an intenful spec and report config uuid, update report config.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Report Config creation/modification spec)

Report Config creation/modification spec.

required
object (report_config metadata)

The report_config kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/report_configs/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "name": "string",
        "resources": {
            "description": "string",
            "end_time_offset_secs": 0,
            "generation_format": [
                "string"
            ],
            "notification_policy": {
                "email_config": {
                    "email_body": "string",
                    "email_subject": "string",
                    "recipient_format": [
                        "string"
                    ],
                    "recipient_list": [
                        {
                            "email_address": "string",
                            "recipient_name": "string"
                        }
                    ]
                }
            },
            "retention_policy": {
                "instance_count": 0,
                "retention_time_secs": 0
            },
            "schedule": {
                "day_of_week": [
                    "string"
                ],
                "duration_secs": 0,
                "end_time": "2019-08-24T14:15:22Z",
                "interval_multiple": 0,
                "interval_type": "string",
                "is_suspended": true,
                "start_time": "2019-08-24T14:15:22Z"
            },
            "start_time_offset_secs": 0,
            "template": {
                "name": "string",
                "report_customization": {
                    "css_style_sheet": "string",
                    "footer_html": "string",
                    "header_html": "string",
                    "logo_image_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
                    "overridable_style_sheet": "string"
                },
                "sections": [
                    {
                        "description": "string",
                        "name": "string",
                        "repetition_criteria": {
                            "entity_type": "string",
                            "repetition_rule": "string"
                        },
                        "section_id": "string",
                        "template_rows": [
                            {
                                "row_element_list": [
                                    {
                                        "section_id": "string",
                                        "widget_config": {
                                            "entity_type": "string",
                                            "repetition_criteria": {
                                                "entity_type": "string",
                                                "repetition_rule": "string"
                                            },
                                            "widget_data_projection": {
                                                "custom_key_values": {},
                                                "filter_criteria": "string",
                                                "limit": 0,
                                                "sort_column": "string",
                                                "sort_key": "string",
                                                "sort_order": "string"
                                            },
                                            "widget_description": "string",
                                            "widget_field_list": [
                                                {
                                                    "aggregation_operator": "string",
                                                    "label": "string",
                                                    "property": "string"
                                                }
                                            ],
                                            "widget_heading": "string",
                                            "widget_size": "string",
                                            "widget_type": "string"
                                        },
                                        "widget_id": "string"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "template_rows": [
                    {
                        "row_element_list": [
                            {
                                "section_id": "string",
                                "widget_config": {
                                    "entity_type": "string",
                                    "repetition_criteria": {
                                        "entity_type": "string",
                                        "repetition_rule": "string"
                                    },
                                    "widget_data_projection": {
                                        "custom_key_values": {},
                                        "filter_criteria": "string",
                                        "limit": 0,
                                        "sort_column": "string",
                                        "sort_key": "string",
                                        "sort_order": "string"
                                    },
                                    "widget_description": "string",
                                    "widget_field_list": [
                                        {
                                            "aggregation_operator": "string",
                                            "label": "string",
                                            "property": "string"
                                        }
                                    ],
                                    "widget_heading": "string",
                                    "widget_size": "string",
                                    "widget_type": "string"
                                },
                                "widget_id": "string"
                            }
                        ]
                    }
                ]
            },
            "template_spec_version": "string",
            "timezone": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Upload a file.

This uploads a file and returns the UUID for the same.

Authorizations:
basicAuth
path Parameters
type
required
string(\breport_instance\b|\breport_instance_pdf\b|...

Type of the file to be uploaded. Supported types are

  • logo
Request Body schema:
required
any <binary>

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/reports/upload/{type} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/pdf, image/png, image/jpeg' \
     

Response samples

Content type
application/json
{
  • "resource_uuid": "string"
}

roles

Create a role.

"A role is a collection of permissions defined for one or more kinds. A kind represents the type of an entity (such as VM). Roles are defined by users who have permission to create roles and assign roles to projects. All users in a project inherit the role."

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Role.)

Role Input Definition.

required
object (role metadata)

The role kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/roles \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "permission_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a role.

Delete a role.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/roles/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a role.

Get a role.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/roles/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

List the roles.

Get roles.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "role"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/roles/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "role",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a role.

Update a role.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Role.)

Role Input Definition.

required
object (role metadata)

The role kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/roles/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "permission_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

routing_policies

Clear all routing policy counters.

This operation clears the counter values for all routing policies in the VPC.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vpcs/{uuid}/routing_policies/reset_counters \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
     

Response samples

Content type
application/json
{
  • "kind": "routing_policy",
  • "code": 0,
  • "message_list": [
    ],
  • "state": "string",
  • "api_version": "3.1.0"
}

Clear routing policy counters.

This operation clears the counter values for a particular routing policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/routing_policies/{uuid}/reset_counters \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
     

Response samples

Content type
application/json
{
  • "kind": "routing_policy",
  • "code": 0,
  • "message_list": [
    ],
  • "state": "string",
  • "api_version": "3.1.0"
}

Create a new routing_policy

This operation submits a request to create a new routing_policy based on the input parameters. A routing policy that defines traffic behavior.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (routing_policy Intent Spec with placement specified)

An intentful representation of a routing_policy spec

required
object (routing_policy metadata)

The routing_policy kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/routing_policies \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "action": {
                "action": "string",
                "reroute_fallback": "string",
                "service_ip_list": [
                    "string"
                ]
            },
            "destination": {
                "address_type": "string",
                "ip_subnet": {
                    "ip": "string",
                    "prefix_length": 0
                }
            },
            "is_bidirectional": false,
            "priority": 1,
            "protocol_parameters": {
                "icmp": {
                    "icmp_code": 0,
                    "icmp_type": 0
                },
                "protocol_number": 0,
                "tcp": {
                    "destination_port_range": {
                        "end_port": 0,
                        "start_port": 0
                    },
                    "destination_port_range_list": [
                        {
                            "end_port": 0,
                            "start_port": 0
                        }
                    ],
                    "source_port_range": {
                        "end_port": 0,
                        "start_port": 0
                    },
                    "source_port_range_list": [
                        {
                            "end_port": 0,
                            "start_port": 0
                        }
                    ]
                },
                "udp": {
                    "destination_port_range": {
                        "end_port": 0,
                        "start_port": 0
                    },
                    "destination_port_range_list": [
                        {
                            "end_port": 0,
                            "start_port": 0
                        }
                    ],
                    "source_port_range": {
                        "end_port": 0,
                        "start_port": 0
                    },
                    "source_port_range_list": [
                        {
                            "end_port": 0,
                            "start_port": 0
                        }
                    ]
                }
            },
            "protocol_type": "string",
            "source": {
                "address_type": "string",
                "ip_subnet": {
                    "ip": "string",
                    "prefix_length": 0
                }
            },
            "virtual_network_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "vpc_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing routing_policy

This operation submits a request to delete a existing routing_policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/routing_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing routing_policy

This operation gets a existing routing_policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/routing_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing routing_policies

This operation gets a list of routing_policies, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "routing_policy"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/routing_policies/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "routing_policy",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing routing_policy

This operation submits a request to update a existing routing_policy based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (routing_policy Intent Spec with placement specified)

An intentful representation of a routing_policy spec

required
object (routing_policy metadata)

The routing_policy kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/routing_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "action": {
                "action": "string",
                "reroute_fallback": "string",
                "service_ip_list": [
                    "string"
                ]
            },
            "destination": {
                "address_type": "string",
                "ip_subnet": {
                    "ip": "string",
                    "prefix_length": 0
                }
            },
            "is_bidirectional": false,
            "priority": 1,
            "protocol_parameters": {
                "icmp": {
                    "icmp_code": 0,
                    "icmp_type": 0
                },
                "protocol_number": 0,
                "tcp": {
                    "destination_port_range": {
                        "end_port": 0,
                        "start_port": 0
                    },
                    "destination_port_range_list": [
                        {
                            "end_port": 0,
                            "start_port": 0
                        }
                    ],
                    "source_port_range": {
                        "end_port": 0,
                        "start_port": 0
                    },
                    "source_port_range_list": [
                        {
                            "end_port": 0,
                            "start_port": 0
                        }
                    ]
                },
                "udp": {
                    "destination_port_range": {
                        "end_port": 0,
                        "start_port": 0
                    },
                    "destination_port_range_list": [
                        {
                            "end_port": 0,
                            "start_port": 0
                        }
                    ],
                    "source_port_range": {
                        "end_port": 0,
                        "start_port": 0
                    },
                    "source_port_range_list": [
                        {
                            "end_port": 0,
                            "start_port": 0
                        }
                    ]
                }
            },
            "protocol_type": "string",
            "source": {
                "address_type": "string",
                "ip_subnet": {
                    "ip": "string",
                    "prefix_length": 0
                }
            },
            "virtual_network_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "vpc_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

service_groups

Create a new service_group

This operation submits a request to create a new service_group based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
Array of objects (Flow service per protocol)

List of port, protocol or icmp codes

is_system_defined
boolean

Specifying whether it is a system defined service group.

name
string <= 64 characters
description
string <= 1000 characters

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/service_groups \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "description": "string",
    "is_system_defined": true,
    "name": "string",
    "service_list": [
        {
            "icmp_type_code_list": [
                {}
            ],
            "protocol": "string",
            "tcp_port_range_list": [
                {
                    "end_port": 0,
                    "start_port": 0
                }
            ],
            "udp_port_range_list": [
                {
                    "end_port": 0,
                    "start_port": 0
                }
            ]
        }
    ]
}'

Response samples

Content type
application/json
{
  • "kind": "service_group",
  • "name": "string",
  • "uuid": "string"
}

Delete a existing service_group

This operation submits a request to delete a existing service_group.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/service_groups/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": "string",
  • "kind": "string",
  • "code": 0,
  • "reason": "string",
  • "details": {
    },
  • "message": "string",
  • "api_version": "3.1.0"
}

Get a existing service_group

This operation gets a existing service_group.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/service_groups/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "service_group": {
    },
  • "uuid": "string"
}

List the service groups

List the service groups.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "service_group"

The kind name

sort_attribute
string

The attribute to on which the sort is performed

filter
string

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/service_groups/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "filter": "string",
    "kind": "service_group",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "metadata": {
    }
}

Update a existing service_group

This operation submits a request to update a existing service_group based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
Array of objects (Flow service per protocol)

List of port, protocol or icmp codes

is_system_defined
boolean

Specifying whether it is a system defined service group.

name
string <= 64 characters
description
string <= 1000 characters

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/service_groups/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "description": "string",
    "is_system_defined": true,
    "name": "string",
    "service_list": [
        {
            "icmp_type_code_list": [
                {}
            ],
            "protocol": "string",
            "tcp_port_range_list": [
                {
                    "end_port": 0,
                    "start_port": 0
                }
            ],
            "udp_port_range_list": [
                {
                    "end_port": 0,
                    "start_port": 0
                }
            ]
        }
    ]
}'

Response samples

Content type
application/json
{
  • "status": "string",
  • "kind": "string",
  • "code": 0,
  • "reason": "string",
  • "details": {
    },
  • "message": "string",
  • "api_version": "3.1.0"
}

storage_policies

Counts for respective policies.

Counts for respective policies.

Authorizations:
basicAuth
Request Body schema: application/json
required
Array of objects (Counts pertaining to respective policies.)

Counts for respective storage policies.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/storage_policies/compute_counts \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "storage_policy_counts": [
        {}
    ]
}'

Response samples

Content type
application/json
{
  • "storage_policy_counts": [
    ]
}

Create a new storage_policy

This operation submits a request to create a new storage_policy based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (Storage Policy Intent Spec)

An intentful representation of storage policy spec

required
object (storage_policy metadata)

The storage_policy kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/storage_policies \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "compression": {
                "inline_compression": true,
                "state": "SYSTEM_DERIVED"
            },
            "encryption": {
                "state": "SYSTEM_DERIVED"
            },
            "fault_tolerance": {
                "replication_factor": -1
            },
            "filter_list": [
                {
                    "entity_filter_expression_list": [
                        {
                            "left_hand_side": {
                                "entity_type": "string"
                            },
                            "operator": "string",
                            "right_hand_side": {
                                "categories": {
                                    "property1": [
                                        "string"
                                    ],
                                    "property2": [
                                        "string"
                                    ]
                                },
                                "collection": "string",
                                "uuid_list": [
                                    "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                ]
                            }
                        }
                    ],
                    "scope_filter_expression_list": [
                        {
                            "left_hand_side": "string",
                            "operator": "string",
                            "right_hand_side": {
                                "categories": {
                                    "property1": [
                                        "string"
                                    ],
                                    "property2": [
                                        "string"
                                    ]
                                },
                                "collection": "string",
                                "uuid_list": [
                                    "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                ],
                                "value_list": [
                                    "string"
                                ]
                            }
                        }
                    ]
                }
            ],
            "qos": {
                "throttled_iops": -1
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing storage_policy

This operation submits a request to delete a existing storage_policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/storage_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing storage_policy

This operation gets a existing storage_policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/storage_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing storage_policies

This operation gets a list of storage_policies, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "storage_policy"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/storage_policies/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "storage_policy",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing storage_policy

This operation submits a request to update a existing storage_policy based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (Storage Policy Intent Spec)

An intentful representation of storage policy spec

required
object (storage_policy metadata)

The storage_policy kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/storage_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "compression": {
                "inline_compression": true,
                "state": "SYSTEM_DERIVED"
            },
            "encryption": {
                "state": "SYSTEM_DERIVED"
            },
            "fault_tolerance": {
                "replication_factor": -1
            },
            "filter_list": [
                {
                    "entity_filter_expression_list": [
                        {
                            "left_hand_side": {
                                "entity_type": "string"
                            },
                            "operator": "string",
                            "right_hand_side": {
                                "categories": {
                                    "property1": [
                                        "string"
                                    ],
                                    "property2": [
                                        "string"
                                    ]
                                },
                                "collection": "string",
                                "uuid_list": [
                                    "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                ]
                            }
                        }
                    ],
                    "scope_filter_expression_list": [
                        {
                            "left_hand_side": "string",
                            "operator": "string",
                            "right_hand_side": {
                                "categories": {
                                    "property1": [
                                        "string"
                                    ],
                                    "property2": [
                                        "string"
                                    ]
                                },
                                "collection": "string",
                                "uuid_list": [
                                    "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                                ],
                                "value_list": [
                                    "string"
                                ]
                            }
                        }
                    ]
                }
            ],
            "qos": {
                "throttled_iops": -1
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

subnets

Create a new subnet

This operation submits a request to create a new subnet based on the input parameters. A subnet is a block of IP addresses.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (subnet Intent Spec with placement specified)

An intentful representation of a subnet spec

required
object (subnet metadata)

The subnet kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/subnets \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "cluster_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "advanced_networking": true,
            "availability_zone_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "enable_nat": true,
            "external_connectivity_state": "string",
            "ip_config": {
                "default_gateway_ip": "string",
                "dhcp_options": {
                    "boot_file_name": "string",
                    "domain_name": "string",
                    "domain_name_server_list": [
                        "string"
                    ],
                    "domain_search_list": [
                        "string"
                    ],
                    "tftp_server_name": "string"
                },
                "dhcp_server_address": {
                    "fqdn": "string",
                    "ip": "string",
                    "ip6_range": "string",
                    "ip_range": "string",
                    "ipv6": "string",
                    "is_backup": true,
                    "port": 0
                },
                "pool_list": [
                    {
                        "range": "string"
                    }
                ],
                "prefix_length": 0,
                "subnet_ip": "string"
            },
            "is_external": true,
            "network_function_chain_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "reserved_ip_address_list": [
                "string"
            ],
            "subnet_type": "string",
            "virtual_network_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "virtual_switch_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
            "vlan_id": 0,
            "vpc_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "vswitch_name": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing subnet

This operation submits a request to delete a existing subnet.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/subnets/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing subnet

This operation gets a existing subnet.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/subnets/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing subnets

This operation gets a list of subnets, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "subnet"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/subnets/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "subnet",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing subnet

This operation submits a request to update a existing subnet based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (subnet Intent Spec with placement specified)

An intentful representation of a subnet spec

required
object (subnet metadata)

The subnet kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/subnets/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "cluster_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "advanced_networking": true,
            "availability_zone_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "enable_nat": true,
            "external_connectivity_state": "string",
            "ip_config": {
                "default_gateway_ip": "string",
                "dhcp_options": {
                    "boot_file_name": "string",
                    "domain_name": "string",
                    "domain_name_server_list": [
                        "string"
                    ],
                    "domain_search_list": [
                        "string"
                    ],
                    "tftp_server_name": "string"
                },
                "dhcp_server_address": {
                    "fqdn": "string",
                    "ip": "string",
                    "ip6_range": "string",
                    "ip_range": "string",
                    "ipv6": "string",
                    "is_backup": true,
                    "port": 0
                },
                "pool_list": [
                    {
                        "range": "string"
                    }
                ],
                "prefix_length": 0,
                "subnet_ip": "string"
            },
            "is_external": true,
            "network_function_chain_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "reserved_ip_address_list": [
                "string"
            ],
            "subnet_type": "string",
            "virtual_network_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "virtual_switch_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
            "vlan_id": 0,
            "vpc_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "vswitch_name": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

tasks

Get a existing Task

This operation gets a existing Task.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/tasks/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": "string",
  • "last_update_time": "2019-08-24T14:15:22Z",
  • "error_detail": "string",
  • "logical_timestamp": 0,
  • "requested_status": "string",
  • "entity_reference_list": [
    ],
  • "start_time": "2019-08-24T14:15:22Z",
  • "creation_time": "2019-08-24T14:15:22Z",
  • "uuid": "string",
  • "start_time_usecs": 0,
  • "cluster_reference": {
    },
  • "subtask_reference_list": [
    ],
  • "completion_time": "2019-08-24T14:15:22Z",
  • "creation_time_usecs": 0,
  • "progress_message": "string",
  • "operation_type": "string",
  • "completion_time_usecs": 0,
  • "error_code": "string",
  • "percentage_complete": 0,
  • "api_version": "3.1.0",
  • "parent_task_reference": {
    }
}

Issue abort request on the task

Issue abort request on the task

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/tasks/{uuid}/abort \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
     

Response samples

Content type
application/json
{
  • "message_list": [
    ]
}

user_groups

Add a User group.

Add a User group to the system.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (user group.)

User Group Input Definition.

required
object (user_group metadata)

The user_group kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/user_groups \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "resources": {
            "directory_service_ou": {
                "distinguished_name": "string"
            },
            "directory_service_user_group": {
                "distinguished_name": "string"
            },
            "saml_user_group": {
                "idpUuid": "string",
                "name": "string"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing User Group

This operation submits a request to delete a existing User Group.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/user_groups/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing User Group

A user group is a grouping of users either defined locally or in a Directory service.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/user_groups/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing User Groups

This operation gets a list of User Groups, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "user_group"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/user_groups/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "user_group",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

users

Create a new User

This operation submits a request to create a new User based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (User.)

User Input Definition.

required
object (user metadata)

The user kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/users \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "resources": {
            "directory_service_user": {
                "directory_service_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "user_attribute_value": "string",
                "user_principal_name": "string"
            },
            "identity_provider_user": {
                "identity_provider_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "username": "string"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing User

This operation submits a request to delete a existing User.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/users/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing User

This operation gets a existing User.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/users/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing Users

This operation gets a list of Users, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "user"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/users/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "user",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Retrieves currently logged in user.

Displays the user currently logged in.

Authorizations:
basicAuth

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/users/me \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Retrieves specified user resource domain information.

Retrieves specified user resource domain information.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/users/{uuid}/project_usage_summary \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "project_resource_domain_list": [
    ],
  • "api_version": "3.1.0"
}

virtual_network

Create a new VPC

This operation submits a request to create a new VPC based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (VPC spec)

VPC input spec

required
object (vpc metadata)

The vpc kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vpcs \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "availability_zone_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "common_domain_name_server_ip_list": [
                {
                    "fqdn": "string",
                    "ip": "string",
                    "ip6_range": "string",
                    "ip_range": "string",
                    "ipv6": "string",
                    "is_backup": true,
                    "port": 0
                }
            ],
            "external_subnet_list": [
                {
                    "external_ip_list": [
                        "string"
                    ],
                    "external_subnet_reference": {
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    },
                    "gateway_node_uuid_list": [
                        "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    ]
                }
            ],
            "externally_routable_prefix_list": [
                {
                    "ip": "string",
                    "prefix_length": 0
                }
            ],
            "vpc_type": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing VPC

This operation submits a request to delete a existing VPC.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/vpcs/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing VPC

This operation gets a existing VPC.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/vpcs/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing VPCs

This operation gets a list of VPCs, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "vpc"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vpcs/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "vpc",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing VPC

This operation submits a request to update a existing VPC based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (VPC spec)

VPC input spec

required
object (vpc metadata)

The vpc kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/vpcs/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "description": "string",
        "name": "string",
        "resources": {
            "availability_zone_reference_list": [
                {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            ],
            "common_domain_name_server_ip_list": [
                {
                    "fqdn": "string",
                    "ip": "string",
                    "ip6_range": "string",
                    "ip_range": "string",
                    "ipv6": "string",
                    "is_backup": true,
                    "port": 0
                }
            ],
            "external_subnet_list": [
                {
                    "external_ip_list": [
                        "string"
                    ],
                    "external_subnet_reference": {
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    },
                    "gateway_node_uuid_list": [
                        "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    ]
                }
            ],
            "externally_routable_prefix_list": [
                {
                    "ip": "string",
                    "prefix_length": 0
                }
            ],
            "vpc_type": "string"
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

vm_host_affinity_legacy_policies

Delete a existing VM Host Affinity Legacy Policy

This operation submits a request to delete a existing VM Host Affinity Legacy Policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/vm_host_affinity_legacy_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Get a list of existing VM Host Affinity Legacy Policies

This operation gets a list of VM Host Affinity Legacy Policies, allowing for pagination.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "vm_host_affinity_legacy_policy"

The kind name.

length
integer <int64> >= 1

Number of records to retrieve relative to the offset.

offset
integer <int64> >= 0

Offset from the start of the entity list.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vm_host_affinity_legacy_policies/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "vm_host_affinity_legacy_policy",
    "length": 1,
    "offset": 0
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "metadata": {
    }
}

vm_host_affinity_policies

Create a new VM Host Affinity Policy

This operation submits a request to create a new VM Host Affinity Policy based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (VM Host Affinity Policy input)

Defines an affinity policy between a set of VM categories to a set of Host categories.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vm_host_affinity_policies \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "config": {
        "description": "string",
        "host_categories": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "name": "string",
        "vm_categories": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Delete a existing VM Host Affinity Policy

This operation submits a request to delete a existing VM Host Affinity Policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/vm_host_affinity_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Get a existing VM Host Affinity Policy

This operation gets a existing VM Host Affinity Policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

query Parameters
include_vms_hosts_count
boolean
Default: false

Query param to include VMs and Hosts count associated with the Policy. When this param is set to True, returns counts of total VMs, compliant VMs, non compliant VMs and total Hosts.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/vm_host_affinity_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "info": {
    },
  • "metadata": {
    }
}

Get a list of existing VM Host Affinity Policies

This operation gets a list of VM Host Affinity Policies, allowing for pagination.

Authorizations:
basicAuth
query Parameters
include_vms_hosts_count
boolean
Default: false

Query param to include VMs and Hosts count associated with the Policy. When this param is set to True, returns counts of total VMs, compliant VMs, non compliant VMs and total Hosts associated with every policy.

Request Body schema: application/json
required
kind
string
Default: "vm_host_affinity_policy"

The kind name.

length
integer <int64> >= 1

Number of records to retrieve relative to the offset.

offset
integer <int64> >= 0

Offset from the start of the entity list.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vm_host_affinity_policies/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "vm_host_affinity_policy",
    "length": 1,
    "offset": 0
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "metadata": {
    }
}

Information about the VMs which are part of VM Host Affinity Policy

List of all the VMs which are part of input VM Host Affinity Policy and their compliance information.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

query Parameters
status
string

Query filter to retrieve VMs based on compliance status. Valid status include - PENDING, COMPLIANT, NONCOMPLIANT.

Request Body schema: application/json
required
kind
string
Default: "vm"

The kind name

length
integer <int64> >= 1

The number of records to retrieve relative to the offset.

offset
integer <int64> >= 0

Offset from the start of the entity list.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vm_host_affinity_policies/{uuid}/vms_list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "vm",
    "length": 1,
    "offset": 0
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "metadata": {
    }
}

Re-enforce VM Host Affinity Policy for all the applicable VMs

Reapply the policy for all the affected VMs.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vm_host_affinity_policies/{uuid}/re_enforce \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
     

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Update a existing VM Host Affinity Policy

This operation submits a request to update a existing VM Host Affinity Policy based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
object (VM Host Affinity Policy input)

Defines an affinity policy between a set of VM categories to a set of Host categories.

required
object (VM Host Affinity Policy update metadata)

Metadata for update of VM Host Affinity Policy.

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/vm_host_affinity_policies/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "config": {
        "description": "string",
        "host_categories": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "name": "string",
        "vm_categories": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        }
    },
    "metadata": {
        "entity_version": 0
    }
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

vms

Clone a vm.

Submits a request to create a task handling vm clone operation, returns a task reference. This creates a new vm by cloning the current vm.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
object (Metadata of the cloned vm.)
object (VM clone override spec.)

Properties of the VM that can be overriden during clone.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/clone \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "entity_version": "string",
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "override_spec": {
        "boot_config": {
            "boot_device": {
                "disk_address": {
                    "adapter_type": "string",
                    "device_index": 0
                },
                "mac_address": "string"
            },
            "boot_device_order_list": [
                "string"
            ],
            "boot_type": "string",
            "data_source_reference": {
                "kind": "string",
                "url": "string",
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        },
        "guest_customization": {
            "cloud_init": {
                "custom_key_values": {},
                "meta_data": "string",
                "user_data": "string"
            },
            "is_overridable": false,
            "sysprep": {
                "custom_key_values": {},
                "install_type": "PREPARED",
                "unattend_xml": "string"
            }
        },
        "memory_size_mib": 1,
        "name": "string",
        "nic_list": [
            {
                "ip_endpoint_list": [
                    {
                        "gateway_address_list": [
                            "string"
                        ],
                        "ip": "string",
                        "ip_type": "string",
                        "prefix_length": 0,
                        "type": "string"
                    }
                ],
                "is_connected": true,
                "mac_address": "string",
                "model": "string",
                "network_function_chain_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "network_function_nic_type": "string",
                "nic_type": "string",
                "num_queues": 0,
                "secondary_ip_address_list": [
                    "string"
                ],
                "subnet_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "trunked_vlan_list": [
                    0
                ],
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
                "vlan_mode": "string"
            }
        ],
        "num_sockets": 1,
        "num_threads_per_core": 1,
        "num_vcpus_per_socket": 1
    }
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Create a new VM

This operation submits a request to create a new VM based on the input parameters.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (vm Intent Spec with placement specified)

An intentful representation of a vm spec

required
object (vm metadata)

The vm kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "cluster_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "bios_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
            "boot_config": {
                "boot_device": {
                    "disk_address": {
                        "adapter_type": "string",
                        "device_index": 0
                    },
                    "mac_address": "string"
                },
                "boot_device_order_list": [
                    "string"
                ],
                "boot_type": "string",
                "data_source_reference": {
                    "kind": "string",
                    "url": "string",
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            },
            "disable_branding": true,
            "disk_list": [
                {
                    "data_source_reference": {
                        "is_direct_attach": true,
                        "kind": "string",
                        "url": "string",
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    },
                    "device_properties": {
                        "device_type": "DISK",
                        "disk_address": {
                            "adapter_type": "string",
                            "device_index": 0
                        }
                    },
                    "disk_size_bytes": 1,
                    "disk_size_mib": 1,
                    "storage_config": {
                        "flash_mode": "string",
                        "storage_container_reference": {
                            "kind": "string",
                            "url": "string",
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        }
                    },
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
                    "volume_group_reference": {
                        "kind": "string",
                        "url": "string",
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    }
                }
            ],
            "enable_cpu_passthrough": true,
            "generation_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
            "gpu_console_enabled": true,
            "gpu_list": [
                {
                    "device_id": 0,
                    "mode": "string",
                    "vendor": "string"
                }
            ],
            "guest_customization": {
                "cloud_init": {
                    "custom_key_values": {},
                    "meta_data": "string",
                    "user_data": "string"
                },
                "is_overridable": false,
                "sysprep": {
                    "custom_key_values": {},
                    "install_type": "PREPARED",
                    "unattend_xml": "string"
                }
            },
            "guest_os_id": "string",
            "guest_tools": {
                "nutanix_guest_tools": {
                    "credentials": {
                        "password": "string",
                        "username": "string"
                    },
                    "enabled_capability_list": [
                        "string"
                    ],
                    "iso_mount_state": "string",
                    "ngt_state": "string",
                    "state": "string",
                    "version": "string"
                }
            },
            "hardware_clock_timezone": "string",
            "hardware_virtualization_enabled": true,
            "is_agent_vm": true,
            "is_vcpu_hard_pinned": true,
            "machine_type": "string",
            "memory_overcommit_enabled": true,
            "memory_size_mib": 1,
            "nic_list": [
                {
                    "ip_endpoint_list": [
                        {
                            "gateway_address_list": [
                                "string"
                            ],
                            "ip": "string",
                            "ip_type": "string",
                            "prefix_length": 0,
                            "type": "string"
                        }
                    ],
                    "is_connected": true,
                    "mac_address": "string",
                    "model": "string",
                    "network_function_chain_reference": {
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    },
                    "network_function_nic_type": "string",
                    "nic_type": "string",
                    "num_queues": 0,
                    "secondary_ip_address_list": [
                        "string"
                    ],
                    "subnet_reference": {
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    },
                    "trunked_vlan_list": [
                        0
                    ],
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
                    "vlan_mode": "string"
                }
            ],
            "num_sockets": 1,
            "num_threads_per_core": 1,
            "num_vcpus_per_socket": 1,
            "parent_reference": {
                "kind": "string",
                "url": "string",
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "power_state": "string",
            "power_state_mechanism": {
                "guest_transition_config": {
                    "enable_script_exec": true,
                    "should_fail_on_script_failure": true
                },
                "mechanism": "string"
            },
            "serial_port_list": [
                {
                    "index": 0,
                    "is_connected": true
                }
            ],
            "storage_config": {
                "flash_mode": "string",
                "qos_policy": {
                    "throttled_iops": -1
                }
            },
            "vga_console_enabled": true,
            "vnuma_config": {
                "num_vnuma_nodes": 0
            },
            "vtpm_config": {
                "data_source_reference": {
                    "kind": "string",
                    "url": "string",
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "vtpm_enabled": true,
                "vtpm_secret": "string"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Create a VM acpi_reboot request.

Creates a VM acpi_reboot request task.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
task_uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

The UUID of the task (used for idempotency).

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/acpi_reboot \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "task_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Create a VM acpi_shutdown request.

Creates a VM acpi_shutdown request task.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
task_uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

The UUID of the task (used for idempotency).

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/acpi_shutdown \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "task_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Create a VM guest_reboot request.

Creates a VM guest_reboot request task.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
task_uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

The UUID of the task (used for idempotency).

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/guest_reboot \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "task_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Create a VM guest_shutdown request.

Creates a VM guest_shutdown request task.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
task_uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

The UUID of the task (used for idempotency).

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/guest_shutdown \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "task_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Create a VM power_cycle request.

Creates a VM power_cycle request task.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
task_uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

The UUID of the task (used for idempotency).

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/power_cycle \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "task_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Create a VM reset request.

Creates a VM reset request task.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
task_uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

The UUID of the task (used for idempotency).

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/reset \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "task_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Create an OVA object.

Submits a request to create a task handling OVA create operation, returns a task reference. This will export VM and create an OVA object for it.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
name
required
string <= 64 characters

Name of the OVA.

disk_file_format
required
string

File format of disk in OVA.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/export \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "disk_file_format": "string",
    "name": "string"
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Delete an existing VM

This operation submits a request to delete an existing VM.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing VMs

This operation gets a list of VMs, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "vm"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "vm",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get an existing VM

This operation gets an existing VM.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Migrate disks to a different container

API to migrate the VM's selected disks to the specified container

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
Array of objects (Disk and Target Container)

List of UUIDs of the disks that need to be migrated.

object (Reference)

Reference to a kind. Either one of (kind, uuid) or url needs to be specified.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/migrate_disks \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "disks_to_target_container_list": [
        {
            "disk_uuid_list": [
                "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            ],
            "target_container_reference": {
                "kind": "string",
                "url": "string",
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        }
    ],
    "target_container_reference": {
        "kind": "string",
        "url": "string",
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    }
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Pause the replication for the VM.

API to pause replication for a given VM protected using sync protection policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/pause_replication \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
     

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Release IP addresses for NICs for the given VM NIC UUIDs.

Release the currently allocated IP address.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
nic_uuid_list
Array of strings <UUID> [^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...]

List of NIC UUIDs to release IP for.

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/release_ip \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "nic_uuid_list": [
        "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    ]
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Request IP addresses for NICs with the given UUIDs.

Request a new IP address the currently allocated IP address.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
Array of objects (NIC update IP Info.)

List of NICs to update new IP for.

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/update_ip \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "update_list": [
        {
            "ip": "string",
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        }
    ]
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Resume the replication for the VM.

API to resume replication for a given VM protected using sync protection policy.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid}/resume_replication \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
     

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Update an existing VM

This operation submits a request to update an existing VM based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (vm Intent Spec with placement specified)

An intentful representation of a vm spec

required
object (vm metadata)

The vm kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/vms/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "cluster_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "bios_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
            "boot_config": {
                "boot_device": {
                    "disk_address": {
                        "adapter_type": "string",
                        "device_index": 0
                    },
                    "mac_address": "string"
                },
                "boot_device_order_list": [
                    "string"
                ],
                "boot_type": "string",
                "data_source_reference": {
                    "kind": "string",
                    "url": "string",
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            },
            "disable_branding": true,
            "disk_list": [
                {
                    "data_source_reference": {
                        "is_direct_attach": true,
                        "kind": "string",
                        "url": "string",
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    },
                    "device_properties": {
                        "device_type": "DISK",
                        "disk_address": {
                            "adapter_type": "string",
                            "device_index": 0
                        }
                    },
                    "disk_size_bytes": 1,
                    "disk_size_mib": 1,
                    "storage_config": {
                        "flash_mode": "string",
                        "storage_container_reference": {
                            "kind": "string",
                            "url": "string",
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        }
                    },
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
                    "volume_group_reference": {
                        "kind": "string",
                        "url": "string",
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    }
                }
            ],
            "enable_cpu_passthrough": true,
            "generation_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
            "gpu_console_enabled": true,
            "gpu_list": [
                {
                    "device_id": 0,
                    "mode": "string",
                    "vendor": "string"
                }
            ],
            "guest_customization": {
                "cloud_init": {
                    "custom_key_values": {},
                    "meta_data": "string",
                    "user_data": "string"
                },
                "is_overridable": false,
                "sysprep": {
                    "custom_key_values": {},
                    "install_type": "PREPARED",
                    "unattend_xml": "string"
                }
            },
            "guest_os_id": "string",
            "guest_tools": {
                "nutanix_guest_tools": {
                    "credentials": {
                        "password": "string",
                        "username": "string"
                    },
                    "enabled_capability_list": [
                        "string"
                    ],
                    "iso_mount_state": "string",
                    "ngt_state": "string",
                    "state": "string",
                    "version": "string"
                }
            },
            "hardware_clock_timezone": "string",
            "hardware_virtualization_enabled": true,
            "is_agent_vm": true,
            "is_vcpu_hard_pinned": true,
            "machine_type": "string",
            "memory_overcommit_enabled": true,
            "memory_size_mib": 1,
            "nic_list": [
                {
                    "ip_endpoint_list": [
                        {
                            "gateway_address_list": [
                                "string"
                            ],
                            "ip": "string",
                            "ip_type": "string",
                            "prefix_length": 0,
                            "type": "string"
                        }
                    ],
                    "is_connected": true,
                    "mac_address": "string",
                    "model": "string",
                    "network_function_chain_reference": {
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    },
                    "network_function_nic_type": "string",
                    "nic_type": "string",
                    "num_queues": 0,
                    "secondary_ip_address_list": [
                        "string"
                    ],
                    "subnet_reference": {
                        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                    },
                    "trunked_vlan_list": [
                        0
                    ],
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
                    "vlan_mode": "string"
                }
            ],
            "num_sockets": 1,
            "num_threads_per_core": 1,
            "num_vcpus_per_socket": 1,
            "parent_reference": {
                "kind": "string",
                "url": "string",
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "power_state": "string",
            "power_state_mechanism": {
                "guest_transition_config": {
                    "enable_script_exec": true,
                    "should_fail_on_script_failure": true
                },
                "mechanism": "string"
            },
            "serial_port_list": [
                {
                    "index": 0,
                    "is_connected": true
                }
            ],
            "storage_config": {
                "flash_mode": "string",
                "qos_policy": {
                    "throttled_iops": -1
                }
            },
            "vga_console_enabled": true,
            "vnuma_config": {
                "num_vnuma_nodes": 0
            },
            "vtpm_config": {
                "data_source_reference": {
                    "kind": "string",
                    "url": "string",
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "vtpm_enabled": true,
                "vtpm_secret": "string"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

vpc

Get a existing vpc_route_table

This operation gets a existing vpc_route_table.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/vpcs/{uuid}/route_tables \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing vpc_route_table

This operation submits a request to update a existing vpc_route_table based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (vpc_route_table Intent Spec with placement specified)

An intentful representation of a vpc_route_table spec

required
object (vpc_route_table metadata)

The vpc_route_table kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/vpcs/{uuid}/route_tables \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "default_route_nexthop": {
                "direct_connect_virtual_interface_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "external_subnet_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "local_subnet_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "vpn_connection_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                }
            },
            "static_routes_list": [
                {
                    "destination": "string",
                    "nexthop": {
                        "direct_connect_virtual_interface_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "external_subnet_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "local_subnet_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        },
                        "vpn_connection_reference": {
                            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                        }
                    }
                }
            ]
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

vpn_connection

Create a new vpn_connection

This operation submits a request to create a new vpn_connection based on the input parameters. A vpn_connection respresents the configuration needed to establish an IPSEC vpn tunnel between the local and remote vpn gateways. The vpn_gateway objects must be created first.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (vpn_connection Intent Spec with placement specified)

An intentful representation of a vpn_connection spec

required
object (vpn_connection metadata)

The vpn_connection kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vpn_connections \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "dpd_config": {
                "interval_secs": 0,
                "operation": "string",
                "timeout_secs": 0
            },
            "dynamic_route_priority": 10,
            "ipsec_config": {
                "esp_pfs_dh_group_number": 0,
                "ike_lifetime_secs": 0,
                "ipsec_lifetime_secs": 0,
                "local_authentication_id": "string",
                "local_vti_ip": "string",
                "pre_shared_key": "pa$$word",
                "remote_authentication_id": "string",
                "remote_vti_ip": "string",
                "vti_ip_prefix_length": 0
            },
            "local_gateway_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "local_gateway_role": "string",
            "qos_config": {
                "egress_limit": 0,
                "ingress_limit": 0
            },
            "remote_gateway_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing vpn_connection

This operation submits a request to delete a existing vpn_connection.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/vpn_connections/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Download vendor device configuration steps.

Download the configuration steps for the given vendor device and version.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

name
required
string

Vendor device name.

version
required
string

Vendor device version.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/vpn_connections/{uuid}/vendor_config/{name}/{version} \
    --header 'Accept: text/plain' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Download vendor device configuration steps.

Download the configuration steps for the given vendor device's latest version.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

name
required
string

Vendor device name.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/vpn_connections/{uuid}/vendor_config/{name} \
    --header 'Accept: text/plain' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Get a existing vpn_connection

This operation gets a existing vpn_connection.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/vpn_connections/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing vpn_connections

This operation gets a list of vpn_connections, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "vpn_connection"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vpn_connections/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "vpn_connection",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing vpn_connection

This operation submits a request to update a existing vpn_connection based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (vpn_connection Intent Spec with placement specified)

An intentful representation of a vpn_connection spec

required
object (vpn_connection metadata)

The vpn_connection kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/vpn_connections/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "dpd_config": {
                "interval_secs": 0,
                "operation": "string",
                "timeout_secs": 0
            },
            "dynamic_route_priority": 10,
            "ipsec_config": {
                "esp_pfs_dh_group_number": 0,
                "ike_lifetime_secs": 0,
                "ipsec_lifetime_secs": 0,
                "local_authentication_id": "string",
                "local_vti_ip": "string",
                "pre_shared_key": "pa$$word",
                "remote_authentication_id": "string",
                "remote_vti_ip": "string",
                "vti_ip_prefix_length": 0
            },
            "local_gateway_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "local_gateway_role": "string",
            "qos_config": {
                "egress_limit": 0,
                "ingress_limit": 0
            },
            "remote_gateway_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Vendor devices for which configuration steps can be downloaded.

Get list of vendor devices for which configuration steps can be downloaded.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/vpn_connections/{uuid}/vendor_config \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "vendor_config_list": [
    ]
}

vpn_gateway

Create a new vpn_gateway

This operation submits a request to create a new vpn_gateway based on the input parameters. A vpn_gateway respresents the virtual appliance that can peer with a remote gateway instance to provide VPN functionality.

Authorizations:
basicAuth
Request Body schema: application/json
required
required
object (vpn_gateway Intent Spec with placement specified)

An intentful representation of a vpn_gateway spec

required
object (vpn_gateway metadata)

The vpn_gateway kind metadata

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vpn_gateways \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "deployment": {
                "default_gateway_ip": "string",
                "image_source_url": "string",
                "install_lb_route": true,
                "installed_software_version": "string",
                "ip_prefix_length": 0,
                "pe_cluster_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "static_ip": "string",
                "subnet_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "vcenter_deployment_details": {
                    "vcenter_datacenter_name": "string",
                    "vcenter_datastore_name": "string",
                    "vcenter_network_name": "string"
                },
                "vlan_id": 0
            },
            "ebgp_config": {
                "asn": 0,
                "distribute_connected": true,
                "password": "pa$$word",
                "peer_ip": "string"
            },
            "gateway_device_vendor": "string",
            "gateway_type": "string",
            "internal_routing_protocol_config": {
                "ibgp_config_list": [
                    {
                        "asn": 0,
                        "distribute_connected": true,
                        "password": "pa$$word",
                        "peer_ip": "string"
                    }
                ],
                "local_prefix_list": [
                    {
                        "ip": "string",
                        "prefix_length": 0
                    }
                ],
                "ospf_config": {
                    "area_id": "string",
                    "authentication_type": "string",
                    "password": "pa$$word"
                }
            },
            "public_ip": "string",
            "virtual_network_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "vpc_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Delete a existing vpn_gateway

This operation submits a request to delete a existing vpn_gateway.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/vpn_gateways/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a existing vpn_gateway

This operation gets a existing vpn_gateway.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/vpn_gateways/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Get a list of existing vpn_gateways

This operation gets a list of vpn_gateways, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.

Authorizations:
basicAuth
Request Body schema: application/json
required
kind
string
Default: "vpn_gateway"

The kind name

sort_attribute
string

The attribute to perform sort on

filter
string
Deprecated

The filter in FIQL syntax used for the results.

length
integer <int32> >= 1

The number of records to retrieve relative to the offset

sort_order
string (Sort order)

The sort order in which results are returned

offset
integer <int32> >= 0

Offset from the start of the entity list

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/vpn_gateways/list \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "kind": "vpn_gateway",
    "length": 1,
    "offset": 0,
    "sort_attribute": "string",
    "sort_order": "string"
}'

Response samples

Content type
application/json
{
  • "entities": [
    ],
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

Update a existing vpn_gateway

This operation submits a request to update a existing vpn_gateway based on the input parameters.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required
required
object (vpn_gateway Intent Spec with placement specified)

An intentful representation of a vpn_gateway spec

required
object (vpn_gateway metadata)

The vpn_gateway kind metadata

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/vpn_gateways/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "metadata": {
        "categories": {
            "property1": "string",
            "property2": "string"
        },
        "categories_mapping": {
            "property1": [
                "string"
            ],
            "property2": [
                "string"
            ]
        },
        "owner_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "project_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "should_force_translate": true,
        "spec_hash": "string",
        "spec_version": 0,
        "use_categories_mapping": false,
        "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
    },
    "spec": {
        "availability_zone_reference": {
            "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
        },
        "description": "string",
        "name": "string",
        "resources": {
            "deployment": {
                "default_gateway_ip": "string",
                "image_source_url": "string",
                "install_lb_route": true,
                "installed_software_version": "string",
                "ip_prefix_length": 0,
                "pe_cluster_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "static_ip": "string",
                "subnet_reference": {
                    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
                },
                "vcenter_deployment_details": {
                    "vcenter_datacenter_name": "string",
                    "vcenter_datastore_name": "string",
                    "vcenter_network_name": "string"
                },
                "vlan_id": 0
            },
            "ebgp_config": {
                "asn": 0,
                "distribute_connected": true,
                "password": "pa$$word",
                "peer_ip": "string"
            },
            "gateway_device_vendor": "string",
            "gateway_type": "string",
            "internal_routing_protocol_config": {
                "ibgp_config_list": [
                    {
                        "asn": 0,
                        "distribute_connected": true,
                        "password": "pa$$word",
                        "peer_ip": "string"
                    }
                ],
                "local_prefix_list": [
                    {
                        "ip": "string",
                        "prefix_length": 0
                    }
                ],
                "ospf_config": {
                    "area_id": "string",
                    "authentication_type": "string",
                    "password": "pa$$word"
                }
            },
            "public_ip": "string",
            "virtual_network_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            },
            "vpc_reference": {
                "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
            }
        }
    }
}'

Response samples

Content type
application/json
{
  • "status": {
    },
  • "spec": {
    },
  • "api_version": "3.1.0",
  • "metadata": {
    }
}

whatif

Create a scenario

Create a new scenario in DB.

Authorizations:
basicAuth
Request Body schema: application/json
required

scenario body.

new_cluster
boolean

The flag to indicate whether it is a new cluster or not.

cluster_entity_type
string
Default: "cluster"

The entity type for the cluster e.g. cluster or nutanix_vcenter__cluster.

uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

The uuid would be automatically generated when created.

vendor_list
Array of strings (Vendor Type)
Array of objects (Workload Definition)

workload added by user.

object (Runway Definition)

Runway Object.

updated_time_sec
integer

Last updated timestamp.

cluster_uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

The cluster uuid.

target_runway_days
integer
Default: 180

The target runway.

object (Cluster Spec Definition)

Cluster Configuration Object.

object (Runway Definition)

Runway Object.

name
string

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/capacity_planning/scenarios \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "cluster_entity_type": "cluster",
    "cluster_spec": {
        "data_store_config": {
            "compression_saving_pct": null,
            "cpu_overcommit_ratio": null,
            "cpu_reservation_pct": null,
            "dedup_saving_pct": null,
            "erasure_coding_saving_pct": null,
            "inline_dedup_saving_pct": null,
            "n_plus": 0,
            "overall_saving_pct": null,
            "ram_overcommit_ratio": null,
            "ram_reservation_pct": null,
            "rf": 0,
            "storage_reservation_pct": null
        },
        "effective_capacity": {
            "cpu_ghz": null,
            "hdd_gb": null,
            "num_vcpus": 0,
            "ram_gb": null,
            "ssd_gb": null
        },
        "node_spec_list": [
            {
                "model": "string",
                "num_of_nodes": 0,
                "recommended_online_timestamp_secs": 0,
                "resource_spec": {
                    "cpu_ghz": null,
                    "hdd_gb": null,
                    "num_vcpus": 0,
                    "ram_gb": null,
                    "ssd_gb": null
                },
                "to_removed": true
            }
        ],
        "resource_list": [
            {
                "capacity_list": [
                    null
                ],
                "effective_capacity_list": [
                    null
                ],
                "end_time_sec": 0,
                "name": "string",
                "sampling_interval_sec": 0,
                "start_time_sec": 0,
                "usage_list": [
                    null
                ]
            }
        ]
    },
    "cluster_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
    "name": "string",
    "new_cluster": true,
    "recommended_runway": {
        "cpu_runway_days": null,
        "memory_runway_days": null,
        "min_runway_days": null,
        "storage_runway_days": null
    },
    "runway": {
        "cpu_runway_days": null,
        "memory_runway_days": null,
        "min_runway_days": null,
        "storage_runway_days": null
    },
    "target_runway_days": 180,
    "updated_time_sec": 0,
    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
    "vendor_list": [
        "string"
    ],
    "workload_list": [
        {
            "adjusted_workload": {
                "percentage": null
            },
            "enabled": true,
            "exchange_workload": {
                "num_mailboxes": 0,
                "user_type": "string"
            },
            "resource_requirement": {
                "cpu_ghz": null,
                "hdd_gb": null,
                "num_vcpus": 0,
                "ram_gb": null,
                "ssd_gb": null
            },
            "schedule_timestamp_sec": 0,
            "splunk_workload": {
                "cold_retention_days": 0,
                "daily_average_indexing_rate": 0,
                "hot_retention_days": 0,
                "search_users": 0
            },
            "sql_workload": {
                "business_critical": true,
                "num_db": 0,
                "sql_profile_type": "string",
                "transaction_type": "string"
            },
            "to_remove": false,
            "vdi_workload": {
                "num_users": 0,
                "provisioning_type": "string",
                "user_type": "string",
                "vdi_vendor": "string"
            },
            "virtual_server_workload": {
                "numVms": 0,
                "server_profile_type": "string"
            },
            "vm_category_workload": {
                "category": "string",
                "value": "string"
            },
            "vm_workload": {
                "num_vms": 0,
                "resource_spec": {
                    "hdd_gb": null,
                    "num_vcpus": 0,
                    "ram_gb": null
                }
            },
            "workload_name": "string",
            "workload_type": "string",
            "xen_workload": {
                "mcs_diff_size": 0,
                "num_users": 0,
                "operating_system": "string",
                "pvs_write_cache_size": 0,
                "rdsh_provisioning_type": "string",
                "system_data": 0,
                "user_profile_data": 0,
                "vendor": "string"
            }
        }
    ]
}'

Response samples

Content type
application/json
{
  • "scenario_uuid": "string"
}

Delete scenario

Delete scenario.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request DELETE \
    --url https://ip_address:9440/api/nutanix/v3/capacity_planning/scenarios/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "status": "string",
  • "kind": "string",
  • "code": 0,
  • "reason": "string",
  • "details": {
    },
  • "message": "string",
  • "api_version": "3.1.0"
}

Generate scenario summary pdf report

Generate scenario summary pdf report and return task uuid.

Authorizations:
basicAuth
Request Body schema: application/json

report request include scenario uuid and locale.

locale
string
Default: "en-US"
scenario_uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/capacity_planning/reports \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "locale": "en-US",
    "scenario_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Get scenario runway and recommendation

Get scenario runway and recommendation.

Authorizations:
basicAuth
path Parameters
task_uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

Task uuid in path.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/capacity_planning/recommendations/{task_uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "new_cluster": true,
  • "cluster_entity_type": "cluster",
  • "uuid": "string",
  • "vendor_list": [
    ],
  • "workload_list": [
    ],
  • "recommended_runway": {
    },
  • "updated_time_sec": 0,
  • "cluster_uuid": "string",
  • "target_runway_days": 180,
  • "cluster_spec": {
    },
  • "runway": {
    },
  • "name": "string"
}

Get scenario summary pdf report

Get scenario summary pdf report.

Authorizations:
basicAuth
path Parameters
task_uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

Task uuid in path.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/capacity_planning/reports/{task_uuid} \
    --header 'Accept: application/pdf' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Get scenario with uuid

Get scenario with given uuid.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/capacity_planning/scenarios/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "new_cluster": true,
  • "cluster_entity_type": "cluster",
  • "uuid": "string",
  • "vendor_list": [
    ],
  • "workload_list": [
    ],
  • "recommended_runway": {
    },
  • "updated_time_sec": 0,
  • "cluster_uuid": "string",
  • "target_runway_days": 180,
  • "cluster_spec": {
    },
  • "runway": {
    },
  • "name": "string"
}

Get scenarios name and uuid with pagination

Query all scenarios name and uuid with pagination.

Authorizations:
basicAuth
query Parameters
offset
integer
Default: 0
limit
integer
Default: 50

Responses

Request samples

curl --request GET \
    --url https://ip_address:9440/api/nutanix/v3/capacity_planning/scenarios \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
     

Response samples

Content type
application/json
{
  • "scenarios": [
    ],
  • "limit": 0,
  • "total_num": 0,
  • "offset": 0
}

Recommend nodes for scenario.

Run scenario recommendation in background and return task uuid.

Authorizations:
basicAuth
Request Body schema: application/json

recommendation request include scenario uuid.

scenario_uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

Responses

Request samples

curl --request POST \
    --url https://ip_address:9440/api/nutanix/v3/capacity_planning/recommendations \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "scenario_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb"
}'

Response samples

Content type
application/json
{
  • "task_uuid": "string"
}

Update scenario

Update scenario.

Authorizations:
basicAuth
path Parameters
uuid
required
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...
Example: 0e09cf83-ac68-4f28-af70-6df9a43df4f0

The UUID of the entity.

Request Body schema: application/json
required

scenario body.

new_cluster
boolean

The flag to indicate whether it is a new cluster or not.

cluster_entity_type
string
Default: "cluster"

The entity type for the cluster e.g. cluster or nutanix_vcenter__cluster.

uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

The uuid would be automatically generated when created.

vendor_list
Array of strings (Vendor Type)
Array of objects (Workload Definition)

workload added by user.

object (Runway Definition)

Runway Object.

updated_time_sec
integer

Last updated timestamp.

cluster_uuid
string <UUID> ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}...

The cluster uuid.

target_runway_days
integer
Default: 180

The target runway.

object (Cluster Spec Definition)

Cluster Configuration Object.

object (Runway Definition)

Runway Object.

name
string

Responses

Request samples

curl --request PUT \
    --url https://ip_address:9440/api/nutanix/v3/capacity_planning/scenarios/{uuid} \
    --header 'Accept: application/json' \
    --header 'Authorization: Basic <basic_auth_token>' \
    --header 'Content-Type: application/json' \
    --data '{
    "cluster_entity_type": "cluster",
    "cluster_spec": {
        "data_store_config": {
            "compression_saving_pct": null,
            "cpu_overcommit_ratio": null,
            "cpu_reservation_pct": null,
            "dedup_saving_pct": null,
            "erasure_coding_saving_pct": null,
            "inline_dedup_saving_pct": null,
            "n_plus": 0,
            "overall_saving_pct": null,
            "ram_overcommit_ratio": null,
            "ram_reservation_pct": null,
            "rf": 0,
            "storage_reservation_pct": null
        },
        "effective_capacity": {
            "cpu_ghz": null,
            "hdd_gb": null,
            "num_vcpus": 0,
            "ram_gb": null,
            "ssd_gb": null
        },
        "node_spec_list": [
            {
                "model": "string",
                "num_of_nodes": 0,
                "recommended_online_timestamp_secs": 0,
                "resource_spec": {
                    "cpu_ghz": null,
                    "hdd_gb": null,
                    "num_vcpus": 0,
                    "ram_gb": null,
                    "ssd_gb": null
                },
                "to_removed": true
            }
        ],
        "resource_list": [
            {
                "capacity_list": [
                    null
                ],
                "effective_capacity_list": [
                    null
                ],
                "end_time_sec": 0,
                "name": "string",
                "sampling_interval_sec": 0,
                "start_time_sec": 0,
                "usage_list": [
                    null
                ]
            }
        ]
    },
    "cluster_uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
    "name": "string",
    "new_cluster": true,
    "recommended_runway": {
        "cpu_runway_days": null,
        "memory_runway_days": null,
        "min_runway_days": null,
        "storage_runway_days": null
    },
    "runway": {
        "cpu_runway_days": null,
        "memory_runway_days": null,
        "min_runway_days": null,
        "storage_runway_days": null
    },
    "target_runway_days": 180,
    "updated_time_sec": 0,
    "uuid": "b4d15375-1097-4c96-a4c4-4cb5809b05bb",
    "vendor_list": [
        "string"
    ],
    "workload_list": [
        {
            "adjusted_workload": {
                "percentage": null
            },
            "enabled": true,
            "exchange_workload": {
                "num_mailboxes": 0,
                "user_type": "string"
            },
            "resource_requirement": {
                "cpu_ghz": null,
                "hdd_gb": null,
                "num_vcpus": 0,
                "ram_gb": null,
                "ssd_gb": null
            },
            "schedule_timestamp_sec": 0,
            "splunk_workload": {
                "cold_retention_days": 0,
                "daily_average_indexing_rate": 0,
                "hot_retention_days": 0,
                "search_users": 0
            },
            "sql_workload": {
                "business_critical": true,
                "num_db": 0,
                "sql_profile_type": "string",
                "transaction_type": "string"
            },
            "to_remove": false,
            "vdi_workload": {
                "num_users": 0,
                "provisioning_type": "string",
                "user_type": "string",
                "vdi_vendor": "string"
            },
            "virtual_server_workload": {
                "numVms": 0,
                "server_profile_type": "string"
            },
            "vm_category_workload": {
                "category": "string",
                "value": "string"
            },
            "vm_workload": {
                "num_vms": 0,
                "resource_spec": {
                    "hdd_gb": null,
                    "num_vcpus": 0,
                    "ram_gb": null
                }
            },
            "workload_name": "string",
            "workload_type": "string",
            "xen_workload": {
                "mcs_diff_size": 0,
                "num_users": 0,
                "operating_system": "string",
                "pvs_write_cache_size": 0,
                "rdsh_provisioning_type": "string",
                "system_data": 0,
                "user_profile_data": 0,
                "vendor": "string"
            }
        }
    ]
}'

Response samples

Content type
application/json
{
  • "new_cluster": true,
  • "cluster_entity_type": "cluster",
  • "uuid": "string",
  • "vendor_list": [
    ],
  • "workload_list": [
    ],
  • "recommended_runway": {
    },
  • "updated_time_sec": 0,
  • "cluster_uuid": "string",
  • "target_runway_days": 180,
  • "cluster_spec": {
    },
  • "runway": {
    },
  • "name": "string"
}