Last updated: 04-04-2024
Download OpenAPI specification:Download
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.
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. |
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.
A REST API request and response can be classified into the following components.
The request URI consists of {URI-scheme} :// {URI-host} / {
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. |
An entity structure comprises of the following components.
{
"spec":{
"name":"NewVM",
"resources":{
}
},
"metadata":{
"kind":"vm"
}
}
All requests to the Nutanix REST APIs must be authenticated. The following authentication types are supported.
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);
}
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.
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.
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.
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.
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.
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.
. 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.
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.
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.
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.
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.
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.
Perform the following procedure to generate the code snippet for creating a VM based on the input parameters.
Under VMs, click POST VMs and navigate to the end of the page.
In the Code Generation panel, under the Settings tab, enter the value of the following parameters.
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.
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.
Perform the following procedure to generate the code snippet for updating an existing VM based on the input parameters.
Under VMs, click PUT VMs and navigate to the end of the page.
In the Code Generation panel, under the Settings tab, enter the value of the following parameters.
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.
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.
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)
required | object (Access Control Policy.) Access Control Policy Input Definition. |
required | object (access_control_policy metadata) The access_control_policy kind metadata |
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" } ] } } }'
{- "status": {
- "name": "string",
- "is_system_defined": true,
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "role_reference": {
- "kind": "role",
- "name": "string",
- "uuid": "string"
}, - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "filter_list": {
- "context_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- null
], - "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "role_reference": {
- "kind": "role",
- "name": "string",
- "uuid": "string"
}, - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "filter_list": {
- "context_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- null
], - "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "access_control_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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. |
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>' \
{- "status": {
- "name": "string",
- "is_system_defined": true,
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "role_reference": {
- "kind": "role",
- "name": "string",
- "uuid": "string"
}, - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "filter_list": {
- "context_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- null
], - "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "role_reference": {
- "kind": "role",
- "name": "string",
- "uuid": "string"
}, - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "filter_list": {
- "context_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- null
], - "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "access_control_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing Access Control Policy.
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. |
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>' \
{- "status": {
- "name": "string",
- "is_system_defined": true,
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "role_reference": {
- "kind": "role",
- "name": "string",
- "uuid": "string"
}, - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "filter_list": {
- "context_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- null
], - "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "role_reference": {
- "kind": "role",
- "name": "string",
- "uuid": "string"
}, - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "filter_list": {
- "context_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- null
], - "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "access_control_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "is_system_defined": true,
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "role_reference": {
- "kind": "role",
- "name": "string",
- "uuid": "string"
}, - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "filter_list": {
- "context_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": null,
- "right_hand_side": null,
- "left_hand_side": { }
}
], - "scope_filter_expression_list": [
- {
- "operator": null,
- "right_hand_side": null,
- "left_hand_side": null
}
]
}
]
}, - "user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "role_reference": {
- "kind": "role",
- "name": "string",
- "uuid": "string"
}, - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "filter_list": {
- "context_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": null,
- "right_hand_side": null,
- "left_hand_side": { }
}
], - "scope_filter_expression_list": [
- {
- "operator": null,
- "right_hand_side": null,
- "left_hand_side": null
}
]
}
]
}, - "user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "access_control_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "access_control_policy",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing Access Control Policy based on the input 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. |
required | object (Access Control Policy.) Access Control Policy Input Definition. |
required | object (access_control_policy metadata) The access_control_policy kind metadata |
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" } ] } } }'
{- "status": {
- "name": "string",
- "is_system_defined": true,
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "role_reference": {
- "kind": "role",
- "name": "string",
- "uuid": "string"
}, - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "filter_list": {
- "context_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- null
], - "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "role_reference": {
- "kind": "role",
- "name": "string",
- "uuid": "string"
}, - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "filter_list": {
- "context_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- null
], - "categories": {
- "property1": [ ],
- "property2": [ ]
}, - "collection": "string",
- "uuid_list": [
- null
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "access_control_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
List the address groups.
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 |
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" }'
{- "entities": [
- {
- "address_group": {
- "address_group_string": "string",
- "name": "string",
- "ip_address_block_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "description": "string"
}, - "associated_policies_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
]
}
], - "metadata": {
- "kind": "address_group",
- "sort_attribute": "string",
- "filter": "string",
- "length": 1,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to create a new address_group based on the input parameters.
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 |
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" }'
{- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
This operation submits a request to delete a existing address_group.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/address_groups/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": "string",
- "kind": "string",
- "code": 0,
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "message": "string",
- "api_version": "3.1.0"
}
This operation gets a existing address_group.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/address_groups/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "address_group": {
- "address_group_string": "string",
- "name": "string",
- "ip_address_block_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "description": "string"
}, - "uuid": "string"
}
This operation submits a request to update a existing address_group based on the input 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. |
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 |
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" }'
{- "address_group_string": "string",
- "name": "string",
- "ip_address_block_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "description": "string"
}
This operation submits a request to create a new alert based on the input parameters.
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. |
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" } }'
{- "task_uuid": "string"
}
This operation gets a existing alert.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/alerts/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "source_entity": {
- "cluster_uuid": "string",
- "entity": {
- "type": "string",
- "name": "string",
- "uuid": "string"
}
}, - "rca_metadata_list": [
- {
- "title": "string",
- "actions": "string",
- "parent_cause_id": "string",
- "details": "string",
- "cause": "string",
- "id": "string"
}
], - "affected_entity_list": [
- {
- "type": "string",
- "name": "string",
- "uuid": "string"
}
], - "severity": "string",
- "title": "string",
- "default_message": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "resolution_status": {
- "is_true": true,
- "is_auto_resolved": true,
- "user": "string",
- "time": "2019-08-24T14:15:22Z"
}, - "indicator_list": [
- {
- "metric_display_name": "string",
- "metric_name": "string",
- "trigger_time": "2019-08-24T14:15:22Z",
- "condition_type": "string",
- "threshold": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "last_value": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "comparison_operator": "string",
- "unit": "string",
- "wait_time_in_usecs": 0
}
], - "acknowledged_status": {
- "is_true": true,
- "is_auto_resolved": true,
- "user": "string",
- "time": "2019-08-24T14:15:22Z"
}, - "is_user_defined": true,
- "severity_trail_list": [
- {
- "severity_change_time": "2019-08-24T14:15:22Z",
- "severity": "string"
}
], - "classification_list": [
- "string"
], - "possible_cause_list": [
- {
- "resolution_list": [
- "string"
], - "cause_list": [
- "string"
]
}
], - "impact_type_list": [
- "string"
], - "parameters": {
- "property1": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "property2": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}
}, - "type": "string",
- "impact_list": [
- "string"
], - "latest_occurrence_time": "2019-08-24T14:15:22Z"
}
}, - "spec": {
- "resources": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "source_entity": {
- "cluster_uuid": "string",
- "entity": {
- "type": "string",
- "name": "string",
- "uuid": "string"
}
}, - "rca_metadata_list": [
- {
- "title": "string",
- "actions": "string",
- "parent_cause_id": "string",
- "details": "string",
- "cause": "string",
- "id": "string"
}
], - "affected_entity_list": [
- {
- "type": "string",
- "name": "string",
- "uuid": "string"
}
], - "severity": "string",
- "title": "string",
- "default_message": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "resolution_status": {
- "is_true": true,
- "is_auto_resolved": true,
- "user": "string",
- "time": "2019-08-24T14:15:22Z"
}, - "indicator_list": [
- {
- "metric_display_name": "string",
- "metric_name": "string",
- "trigger_time": "2019-08-24T14:15:22Z",
- "condition_type": "string",
- "threshold": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "last_value": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "comparison_operator": "string",
- "unit": "string",
- "wait_time_in_usecs": 0
}
], - "acknowledged_status": {
- "is_true": true,
- "is_auto_resolved": true,
- "user": "string",
- "time": "2019-08-24T14:15:22Z"
}, - "is_user_defined": true,
- "severity_trail_list": [
- {
- "severity_change_time": "2019-08-24T14:15:22Z",
- "severity": "string"
}
], - "classification_list": [
- "string"
], - "possible_cause_list": [
- {
- "resolution_list": [
- "string"
], - "cause_list": [
- "string"
]
}
], - "impact_type_list": [
- "string"
], - "parameters": {
- "property1": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "property2": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}
}, - "type": "string",
- "impact_list": [
- "string"
], - "latest_occurrence_time": "2019-08-24T14:15:22Z"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "alert",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of alert, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "source_entity": {
- "cluster_uuid": "string",
- "entity": {
- "type": "string",
- "name": "string",
- "uuid": "string"
}
}, - "rca_metadata_list": [
- {
- "title": "string",
- "actions": "string",
- "parent_cause_id": "string",
- "details": "string",
- "cause": "string",
- "id": "string"
}
], - "affected_entity_list": [
- {
- "type": "string",
- "name": "string",
- "uuid": "string"
}
], - "severity": "string",
- "title": "string",
- "default_message": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "resolution_status": {
- "is_true": true,
- "is_auto_resolved": true,
- "user": "string",
- "time": "2019-08-24T14:15:22Z"
}, - "indicator_list": [
- {
- "metric_display_name": "string",
- "metric_name": "string",
- "trigger_time": "2019-08-24T14:15:22Z",
- "condition_type": "string",
- "threshold": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "last_value": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "comparison_operator": "string",
- "unit": "string",
- "wait_time_in_usecs": 0
}
], - "acknowledged_status": {
- "is_true": true,
- "is_auto_resolved": true,
- "user": "string",
- "time": "2019-08-24T14:15:22Z"
}, - "is_user_defined": true,
- "severity_trail_list": [
- {
- "severity_change_time": "2019-08-24T14:15:22Z",
- "severity": "string"
}
], - "classification_list": [
- "string"
], - "possible_cause_list": [
- {
- "resolution_list": [
- "string"
], - "cause_list": [
- "string"
]
}
], - "impact_type_list": [
- "string"
], - "parameters": {
- "property1": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "property2": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}
}, - "type": "string",
- "impact_list": [
- "string"
], - "latest_occurrence_time": "2019-08-24T14:15:22Z"
}
}, - "spec": {
- "resources": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "source_entity": {
- "cluster_uuid": "string",
- "entity": {
- "type": "string",
- "name": "string",
- "uuid": "string"
}
}, - "rca_metadata_list": [
- {
- "title": "string",
- "actions": "string",
- "parent_cause_id": "string",
- "details": "string",
- "cause": "string",
- "id": "string"
}
], - "affected_entity_list": [
- {
- "type": "string",
- "name": "string",
- "uuid": "string"
}
], - "severity": "string",
- "title": "string",
- "default_message": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "resolution_status": {
- "is_true": true,
- "is_auto_resolved": true,
- "user": "string",
- "time": "2019-08-24T14:15:22Z"
}, - "indicator_list": [
- {
- "metric_display_name": "string",
- "metric_name": "string",
- "trigger_time": "2019-08-24T14:15:22Z",
- "condition_type": "string",
- "threshold": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "last_value": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "comparison_operator": "string",
- "unit": "string",
- "wait_time_in_usecs": 0
}
], - "acknowledged_status": {
- "is_true": true,
- "is_auto_resolved": true,
- "user": "string",
- "time": "2019-08-24T14:15:22Z"
}, - "is_user_defined": true,
- "severity_trail_list": [
- {
- "severity_change_time": "2019-08-24T14:15:22Z",
- "severity": "string"
}
], - "classification_list": [
- "string"
], - "possible_cause_list": [
- {
- "resolution_list": [
- "string"
], - "cause_list": [
- "string"
]
}
], - "impact_type_list": [
- "string"
], - "parameters": {
- "property1": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}, - "property2": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}
}, - "type": "string",
- "impact_list": [
- "string"
], - "latest_occurrence_time": "2019-08-24T14:15:22Z"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "alert",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "alert",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Acknowledge alerts being looked at or be resolved.
action required | string The action type. |
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. |
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" ] }'
{- "task_uuid": "string"
}
This operation gets a existing audit.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/audits/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "resources": {
- "audit_message": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "operation_parameter_list": [
- {
- "name": "string",
- "value": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}
}
], - "source_entity_reference": {
- "type": "string",
- "name": "string",
- "uuid": "string"
}, - "operation_start_time": "2019-08-24T14:15:22Z",
- "initiated_user": {
- "ip_address": "string",
- "name": "string",
- "uuid": "string"
}, - "operation_complete_time": "2019-08-24T14:15:22Z",
- "operation_type": "string",
- "affected_entity_reference_list": [
- {
- "type": "string",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "kind": "audit",
- "uuid": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "name": "string"
}
}
This operation gets a list of audit, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "resources": {
- "audit_message": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "operation_parameter_list": [
- {
- "name": "string",
- "value": {
- "int_value": 0,
- "double_value": 0.1,
- "bool_value": true,
- "string_value": "string"
}
}
], - "source_entity_reference": {
- "type": "string",
- "name": "string",
- "uuid": "string"
}, - "operation_start_time": "2019-08-24T14:15:22Z",
- "initiated_user": {
- "ip_address": "string",
- "name": "string",
- "uuid": "string"
}, - "operation_complete_time": "2019-08-24T14:15:22Z",
- "operation_type": "string",
- "affected_entity_reference_list": [
- {
- "type": "string",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "kind": "audit",
- "uuid": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "audit",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
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:
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. |
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" }'
{- "api_response_list": [
- {
- "status": "string",
- "api_response": {
- "property1": { },
- "property2": { }
}, - "path_and_params": "string"
}
]
}
Create a blackout object
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 |
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": [ {} ] } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "scope_entity_list": [
- {
- "uuid_list": [
- "string"
], - "entity_type": "string"
}
], - "schedule_list": [
- {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}
], - "feature_list": [
- "string"
]
}
}, - "spec": {
- "resources": {
- "scope_entity_list": [
- {
- "uuid_list": [
- "string"
], - "entity_type": "string"
}
], - "schedule_list": [
- {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}
], - "feature_list": [
- "string"
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "blackout",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Delete specified blackout object
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/blackouts/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "scope_entity_list": [
- {
- "uuid_list": [
- "string"
], - "entity_type": "string"
}
], - "schedule_list": [
- {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}
], - "feature_list": [
- "string"
]
}
}, - "spec": {
- "resources": {
- "scope_entity_list": [
- {
- "uuid_list": [
- "string"
], - "entity_type": "string"
}
], - "schedule_list": [
- {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}
], - "feature_list": [
- "string"
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "blackout",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Retrieve all blackout objects
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "scope_entity_list": [
- {
- "uuid_list": [
- "string"
], - "entity_type": "string"
}
], - "schedule_list": [
- {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}
], - "feature_list": [
- "string"
]
}
}, - "spec": {
- "resources": {
- "scope_entity_list": [
- {
- "uuid_list": [
- "string"
], - "entity_type": "string"
}
], - "schedule_list": [
- {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}
], - "feature_list": [
- "string"
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "blackout",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "blackout",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Retrieve specified blackout object
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/blackouts/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "scope_entity_list": [
- {
- "uuid_list": [
- "string"
], - "entity_type": "string"
}
], - "schedule_list": [
- {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}
], - "feature_list": [
- "string"
]
}
}, - "spec": {
- "resources": {
- "scope_entity_list": [
- {
- "uuid_list": [
- "string"
], - "entity_type": "string"
}
], - "schedule_list": [
- {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}
], - "feature_list": [
- "string"
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "blackout",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Update blackout entity
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. |
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 |
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": [ {} ] } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "scope_entity_list": [
- {
- "uuid_list": [
- "string"
], - "entity_type": "string"
}
], - "schedule_list": [
- {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}
], - "feature_list": [
- "string"
]
}
}, - "spec": {
- "resources": {
- "scope_entity_list": [
- {
- "uuid_list": [
- "string"
], - "entity_type": "string"
}
], - "schedule_list": [
- {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}
], - "feature_list": [
- "string"
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "blackout",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Create or Update a category Key.
name required | string <= 64 characters ^[a-zA-Z0-9_.-]+( [a-zA-Z0-9_.-]+)*$ |
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. |
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" }'
{- "capabilities": {
- "cardinality": 0
}, - "system_defined": true,
- "description": "string",
- "api_version": "3.1.0",
- "name": "string"
}
Create or Update a category value. Creates when value doesn't exist.
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_.-]+)*$ |
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. |
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" }'
{- "assignment_rule": {
- "exclusion_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "inclusion_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "name": "string",
- "selection_criteria_list": [
- {
- "expression_list": [
- {
- "operator": "string",
- "display_for_value": "string",
- "value": "string",
- "property_name": "string",
- "display_for_operator": "string"
}
], - "entity_type": "string"
}
], - "description": "string"
}, - "name": "string",
- "value": "string",
- "system_defined": true,
- "api_version": "3.1.0",
- "description": "string"
}
Delete a category Key.
name required | string <= 64 characters |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/categories/{name} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "kind": "category",
- "code": 0,
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "api_version": "3.1.0"
}
Delete a category value.
name required | string <= 64 characters |
value required | string <= 64 characters |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/categories/{name}/{value} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "kind": "category",
- "code": 0,
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "api_version": "3.1.0"
}
Get a category key.
name required | string <= 64 characters |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/categories/{name} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "capabilities": {
- "cardinality": 0
}, - "system_defined": true,
- "description": "string",
- "api_version": "3.1.0",
- "name": "string"
}
Get a category value.
name required | string <= 64 characters |
value required | string <= 64 characters |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/categories/{name}/{value} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "assignment_rule": {
- "exclusion_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "inclusion_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "name": "string",
- "selection_criteria_list": [
- {
- "expression_list": [
- {
- "operator": "string",
- "display_for_value": "string",
- "value": "string",
- "property_name": "string",
- "display_for_operator": "string"
}
], - "entity_type": "string"
}
], - "description": "string"
}, - "name": "string",
- "value": "string",
- "system_defined": true,
- "api_version": "3.1.0",
- "description": "string"
}
Get list of entities attached to categories or policies in which categories are used as defined by the filter criteria.
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. |
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" }'
{- "results": [
- {
- "filtered_entity_count": 0,
- "kind": "string",
- "kind_reference_list": [
- {
- "kind": "string",
- "type": "string",
- "uuid": "string",
- "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
], - "total_entity_count": 0
}
], - "api_version": "3.1.0",
- "metadata": {
- "total_matches": 0,
- "usage_type": "string",
- "group_member_offset": 0,
- "group_member_count": 0
}
}
List the category keys.
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 |
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" }'
{- "entities": [
- {
- "capabilities": {
- "cardinality": 0
}, - "system_defined": true,
- "description": "string",
- "api_version": "3.1.0",
- "name": "string"
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "category",
- "sort_attribute": "string",
- "filter": "string",
- "length": 1,
- "sort_order": "string",
- "offset": 0
}
}
List the values for a specified key.
name required | string <= 64 characters |
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 |
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" }'
{- "entities": [
- {
- "assignment_rule": {
- "exclusion_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "inclusion_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "name": "string",
- "selection_criteria_list": [
- {
- "expression_list": [
- {
- "operator": "string",
- "display_for_value": "string",
- "value": "string",
- "property_name": "string",
- "display_for_operator": "string"
}
], - "entity_type": "string"
}
], - "description": "string"
}, - "name": "string",
- "value": "string",
- "system_defined": true,
- "api_version": "3.1.0",
- "description": "string"
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "category",
- "sort_attribute": "string",
- "filter": "string",
- "length": 1,
- "sort_order": "string",
- "offset": 0
}
}
This operation gets a existing cluster.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/clusters/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "nodes": {
- "hypervisor_server_list": [
- {
- "ip": "string",
- "version": "string",
- "type": "string"
}
]
}, - "config": {
- "gpu_driver_version": "string",
- "client_auth": {
- "status": "DISABLED",
- "ca_chain": "string",
- "name": "string"
}, - "authorized_public_key_list": [
- {
- "name": "string",
- "key": "string"
}
], - "software_map": {
- "property1": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}, - "property2": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}
}, - "encryption_status": "NOT_SUPPORTED",
- "ssl_key": {
- "key_type": "string",
- "key_name": "string",
- "signing_info": {
- "city": "string",
- "common_name_suffix": "string",
- "state": "string",
- "country_code": "string",
- "common_name": "string",
- "organization": "string",
- "email_address": "string"
}, - "expire_datetime": "2019-08-24T14:15:22Z"
}, - "service_list": [
- "AOS"
], - "supported_information_verbosity": "BASIC_PLUS_CORE_DUMP",
- "certification_signing_info": {
- "city": "string",
- "common_name_suffix": "string",
- "state": "string",
- "country_code": "string",
- "common_name": "string",
- "organization": "string",
- "email_address": "string"
}, - "redundancy_factor": 0,
- "external_configurations": {
- "citrix_connector_config": {
- "citrix_vm_reference_list": [
- {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}
], - "client_secret": "string",
- "customer_id": "string",
- "client_id": "string",
- "resource_location": {
- "id": "string",
- "name": "string"
}
}
}, - "operation_mode": "string",
- "ca_certificate_list": [
- {
- "ca_name": "string",
- "certificate": "string"
}
], - "domain_awareness_level": "NODE",
- "enabled_feature_list": [
- "string"
], - "is_available": true,
- "build": {
- "commit_id": "string",
- "full_version": "string",
- "commit_date": "2019-08-24T14:15:22Z",
- "is_long_term_support": true,
- "version": "string",
- "short_commit_id": "string",
- "build_type": "string"
}, - "timezone": "string",
- "enable_efficient_metric_sync": true,
- "cluster_arch": "string",
- "management_server_list": [
- {
- "ip": "string",
- "drs_enabled": true,
- "status_list": [
- "string"
], - "type": "string"
}
]
}, - "network": {
- "masquerading_ip": "string",
- "masquerading_port": 0,
- "external_ip": "string",
- "http_proxy_list": [
- {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
], - "smtp_server": {
- "type": "PLAIN",
- "email_address": "string",
- "server": {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
}, - "ntp_server_ip_list": [
- "string"
], - "external_subnet": "172.16.0.0/255.240.0.0",
- "nfs_subnet_whitelist": [
- "string"
], - "external_data_services_ip": "string",
- "domain_server": {
- "nameserver": "string",
- "name": "string",
- "domain_credentials": {
- "username": "string",
- "password": "string"
}
}, - "fully_qualified_domain_name": "string",
- "name_server_ip_list": [
- "string"
], - "http_proxy_whitelist": [
- {
- "target": "string",
- "target_type": "string"
}
], - "internal_subnet": "192.168.5.0/255.255.255.0",
- "default_vswitch_config": {
- "nic_teaming_policy": "string",
- "uplink_grouping": "string"
}
}, - "analysis": {
- "vm_efficiency_map": {
- "property1": "string",
- "property2": "string"
}
}, - "runtime_status_list": [
- "string"
]
}
}, - "spec": {
- "name": "string",
- "resources": {
- "config": {
- "gpu_driver_version": "string",
- "client_auth": {
- "status": "DISABLED",
- "ca_chain": "string",
- "name": "string"
}, - "authorized_public_key_list": [
- {
- "name": "string",
- "key": "string"
}
], - "software_map": {
- "property1": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}, - "property2": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}
}, - "encryption_status": "NOT_SUPPORTED",
- "redundancy_factor": 0,
- "certification_signing_info": {
- "city": "string",
- "common_name_suffix": "string",
- "state": "string",
- "country_code": "string",
- "common_name": "string",
- "organization": "string",
- "email_address": "string"
}, - "supported_information_verbosity": "BASIC_PLUS_CORE_DUMP",
- "external_configurations": {
- "citrix_connector_config": {
- "citrix_vm_reference_list": [
- {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}
], - "client_secret": "string",
- "customer_id": "string",
- "client_id": "string",
- "resource_location": {
- "id": "string",
- "name": "string"
}
}
}, - "domain_awareness_level": "NODE",
- "enabled_feature_list": [
- "string"
], - "timezone": "string",
- "enable_efficient_metric_sync": true,
- "operation_mode": "string"
}, - "network": {
- "masquerading_ip": "string",
- "masquerading_port": 0,
- "external_ip": "string",
- "http_proxy_list": [
- {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
], - "smtp_server": {
- "type": "PLAIN",
- "email_address": "string",
- "server": {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
}, - "ntp_server_ip_list": [
- "string"
], - "external_subnet": "172.16.0.0/255.240.0.0",
- "nfs_subnet_whitelist": [
- "string"
], - "external_data_services_ip": "string",
- "domain_server": {
- "nameserver": "string",
- "name": "string",
- "domain_credentials": {
- "username": "string",
- "password": "string"
}
}, - "fully_qualified_domain_name": "string",
- "name_server_ip_list": [
- "string"
], - "http_proxy_whitelist": [
- {
- "target": "string",
- "target_type": "string"
}
], - "internal_subnet": "192.168.5.0/255.255.255.0",
- "default_vswitch_config": {
- "nic_teaming_policy": "string",
- "uplink_grouping": "string"
}
}, - "runtime_status_list": [
- "string"
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "cluster",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of clusters, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
Force-Refresh | string Forcefully get the latest response. (Values can be True, False) |
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "nodes": {
- "hypervisor_server_list": [
- {
- "ip": "string",
- "version": "string",
- "type": "string"
}
]
}, - "config": {
- "gpu_driver_version": "string",
- "client_auth": {
- "status": "DISABLED",
- "ca_chain": "string",
- "name": "string"
}, - "authorized_public_key_list": [
- {
- "name": "string",
- "key": "string"
}
], - "software_map": {
- "property1": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}, - "property2": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}
}, - "encryption_status": "NOT_SUPPORTED",
- "ssl_key": {
- "key_type": "string",
- "key_name": "string",
- "signing_info": {
- "city": "string",
- "common_name_suffix": "string",
- "state": "string",
- "country_code": "string",
- "common_name": "string",
- "organization": "string",
- "email_address": "string"
}, - "expire_datetime": "2019-08-24T14:15:22Z"
}, - "service_list": [
- "AOS"
], - "supported_information_verbosity": "BASIC_PLUS_CORE_DUMP",
- "certification_signing_info": {
- "city": "string",
- "common_name_suffix": "string",
- "state": "string",
- "country_code": "string",
- "common_name": "string",
- "organization": "string",
- "email_address": "string"
}, - "redundancy_factor": 0,
- "external_configurations": {
- "citrix_connector_config": {
- "citrix_vm_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "client_secret": "string",
- "customer_id": "string",
- "client_id": "string",
- "resource_location": {
- "id": "string",
- "name": "string"
}
}
}, - "operation_mode": "string",
- "ca_certificate_list": [
- {
- "ca_name": "string",
- "certificate": "string"
}
], - "domain_awareness_level": "NODE",
- "enabled_feature_list": [
- "string"
], - "is_available": true,
- "build": {
- "commit_id": "string",
- "full_version": "string",
- "commit_date": "2019-08-24T14:15:22Z",
- "is_long_term_support": true,
- "version": "string",
- "short_commit_id": "string",
- "build_type": "string"
}, - "timezone": "string",
- "enable_efficient_metric_sync": true,
- "cluster_arch": "string",
- "management_server_list": [
- {
- "ip": "string",
- "drs_enabled": true,
- "status_list": [
- "string"
], - "type": "string"
}
]
}, - "network": {
- "masquerading_ip": "string",
- "masquerading_port": 0,
- "external_ip": "string",
- "http_proxy_list": [
- {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
], - "smtp_server": {
- "type": "PLAIN",
- "email_address": "string",
- "server": {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
}, - "ntp_server_ip_list": [
- "string"
], - "external_subnet": "172.16.0.0/255.240.0.0",
- "nfs_subnet_whitelist": [
- "string"
], - "external_data_services_ip": "string",
- "domain_server": {
- "nameserver": "string",
- "name": "string",
- "domain_credentials": {
- "username": "string",
- "password": "string"
}
}, - "fully_qualified_domain_name": "string",
- "name_server_ip_list": [
- "string"
], - "http_proxy_whitelist": [
- {
- "target": "string",
- "target_type": "string"
}
], - "internal_subnet": "192.168.5.0/255.255.255.0",
- "default_vswitch_config": {
- "nic_teaming_policy": "string",
- "uplink_grouping": "string"
}
}, - "analysis": {
- "vm_efficiency_map": {
- "property1": "string",
- "property2": "string"
}
}, - "runtime_status_list": [
- "string"
]
}
}, - "spec": {
- "name": "string",
- "resources": {
- "config": {
- "gpu_driver_version": "string",
- "client_auth": {
- "status": "DISABLED",
- "ca_chain": "string",
- "name": "string"
}, - "authorized_public_key_list": [
- {
- "name": "string",
- "key": "string"
}
], - "software_map": {
- "property1": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}, - "property2": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}
}, - "encryption_status": "NOT_SUPPORTED",
- "redundancy_factor": 0,
- "certification_signing_info": {
- "city": "string",
- "common_name_suffix": "string",
- "state": "string",
- "country_code": "string",
- "common_name": "string",
- "organization": "string",
- "email_address": "string"
}, - "supported_information_verbosity": "BASIC_PLUS_CORE_DUMP",
- "external_configurations": {
- "citrix_connector_config": {
- "citrix_vm_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "client_secret": "string",
- "customer_id": "string",
- "client_id": "string",
- "resource_location": {
- "id": "string",
- "name": "string"
}
}
}, - "domain_awareness_level": "NODE",
- "enabled_feature_list": [
- "string"
], - "timezone": "string",
- "enable_efficient_metric_sync": true,
- "operation_mode": "string"
}, - "network": {
- "masquerading_ip": "string",
- "masquerading_port": 0,
- "external_ip": "string",
- "http_proxy_list": [
- {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
], - "smtp_server": {
- "type": "PLAIN",
- "email_address": "string",
- "server": {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
}, - "ntp_server_ip_list": [
- "string"
], - "external_subnet": "172.16.0.0/255.240.0.0",
- "nfs_subnet_whitelist": [
- "string"
], - "external_data_services_ip": "string",
- "domain_server": {
- "nameserver": "string",
- "name": "string",
- "domain_credentials": {
- "username": "string",
- "password": "string"
}
}, - "fully_qualified_domain_name": "string",
- "name_server_ip_list": [
- "string"
], - "http_proxy_whitelist": [
- {
- "target": "string",
- "target_type": "string"
}
], - "internal_subnet": "192.168.5.0/255.255.255.0",
- "default_vswitch_config": {
- "nic_teaming_policy": "string",
- "uplink_grouping": "string"
}
}, - "runtime_status_list": [
- "string"
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "cluster",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "cluster",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing cluster based on the input 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. |
required | object (Cluster Definition) Cluster Definition. |
required | object (cluster metadata) The cluster kind metadata |
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" ] } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "nodes": {
- "hypervisor_server_list": [
- {
- "ip": "string",
- "version": "string",
- "type": "string"
}
]
}, - "config": {
- "gpu_driver_version": "string",
- "client_auth": {
- "status": "DISABLED",
- "ca_chain": "string",
- "name": "string"
}, - "authorized_public_key_list": [
- {
- "name": "string",
- "key": "string"
}
], - "software_map": {
- "property1": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}, - "property2": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}
}, - "encryption_status": "NOT_SUPPORTED",
- "ssl_key": {
- "key_type": "string",
- "key_name": "string",
- "signing_info": {
- "city": "string",
- "common_name_suffix": "string",
- "state": "string",
- "country_code": "string",
- "common_name": "string",
- "organization": "string",
- "email_address": "string"
}, - "expire_datetime": "2019-08-24T14:15:22Z"
}, - "service_list": [
- "AOS"
], - "supported_information_verbosity": "BASIC_PLUS_CORE_DUMP",
- "certification_signing_info": {
- "city": "string",
- "common_name_suffix": "string",
- "state": "string",
- "country_code": "string",
- "common_name": "string",
- "organization": "string",
- "email_address": "string"
}, - "redundancy_factor": 0,
- "external_configurations": {
- "citrix_connector_config": {
- "citrix_vm_reference_list": [
- {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}
], - "client_secret": "string",
- "customer_id": "string",
- "client_id": "string",
- "resource_location": {
- "id": "string",
- "name": "string"
}
}
}, - "operation_mode": "string",
- "ca_certificate_list": [
- {
- "ca_name": "string",
- "certificate": "string"
}
], - "domain_awareness_level": "NODE",
- "enabled_feature_list": [
- "string"
], - "is_available": true,
- "build": {
- "commit_id": "string",
- "full_version": "string",
- "commit_date": "2019-08-24T14:15:22Z",
- "is_long_term_support": true,
- "version": "string",
- "short_commit_id": "string",
- "build_type": "string"
}, - "timezone": "string",
- "enable_efficient_metric_sync": true,
- "cluster_arch": "string",
- "management_server_list": [
- {
- "ip": "string",
- "drs_enabled": true,
- "status_list": [
- "string"
], - "type": "string"
}
]
}, - "network": {
- "masquerading_ip": "string",
- "masquerading_port": 0,
- "external_ip": "string",
- "http_proxy_list": [
- {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
], - "smtp_server": {
- "type": "PLAIN",
- "email_address": "string",
- "server": {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
}, - "ntp_server_ip_list": [
- "string"
], - "external_subnet": "172.16.0.0/255.240.0.0",
- "nfs_subnet_whitelist": [
- "string"
], - "external_data_services_ip": "string",
- "domain_server": {
- "nameserver": "string",
- "name": "string",
- "domain_credentials": {
- "username": "string",
- "password": "string"
}
}, - "fully_qualified_domain_name": "string",
- "name_server_ip_list": [
- "string"
], - "http_proxy_whitelist": [
- {
- "target": "string",
- "target_type": "string"
}
], - "internal_subnet": "192.168.5.0/255.255.255.0",
- "default_vswitch_config": {
- "nic_teaming_policy": "string",
- "uplink_grouping": "string"
}
}, - "analysis": {
- "vm_efficiency_map": {
- "property1": "string",
- "property2": "string"
}
}, - "runtime_status_list": [
- "string"
]
}
}, - "spec": {
- "name": "string",
- "resources": {
- "config": {
- "gpu_driver_version": "string",
- "client_auth": {
- "status": "DISABLED",
- "ca_chain": "string",
- "name": "string"
}, - "authorized_public_key_list": [
- {
- "name": "string",
- "key": "string"
}
], - "software_map": {
- "property1": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}, - "property2": {
- "status": "INSTALLED",
- "version": "string",
- "software_type": "string"
}
}, - "encryption_status": "NOT_SUPPORTED",
- "redundancy_factor": 0,
- "certification_signing_info": {
- "city": "string",
- "common_name_suffix": "string",
- "state": "string",
- "country_code": "string",
- "common_name": "string",
- "organization": "string",
- "email_address": "string"
}, - "supported_information_verbosity": "BASIC_PLUS_CORE_DUMP",
- "external_configurations": {
- "citrix_connector_config": {
- "citrix_vm_reference_list": [
- {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}
], - "client_secret": "string",
- "customer_id": "string",
- "client_id": "string",
- "resource_location": {
- "id": "string",
- "name": "string"
}
}
}, - "domain_awareness_level": "NODE",
- "enabled_feature_list": [
- "string"
], - "timezone": "string",
- "enable_efficient_metric_sync": true,
- "operation_mode": "string"
}, - "network": {
- "masquerading_ip": "string",
- "masquerading_port": 0,
- "external_ip": "string",
- "http_proxy_list": [
- {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
], - "smtp_server": {
- "type": "PLAIN",
- "email_address": "string",
- "server": {
- "credentials": {
- "username": "string",
- "password": "string"
}, - "name": "string",
- "proxy_type_list": [
- "HTTP"
], - "address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
}
}, - "ntp_server_ip_list": [
- "string"
], - "external_subnet": "172.16.0.0/255.240.0.0",
- "nfs_subnet_whitelist": [
- "string"
], - "external_data_services_ip": "string",
- "domain_server": {
- "nameserver": "string",
- "name": "string",
- "domain_credentials": {
- "username": "string",
- "password": "string"
}
}, - "fully_qualified_domain_name": "string",
- "name_server_ip_list": [
- "string"
], - "http_proxy_whitelist": [
- {
- "target": "string",
- "target_type": "string"
}
], - "internal_subnet": "192.168.5.0/255.255.255.0",
- "default_vswitch_config": {
- "nic_teaming_policy": "string",
- "uplink_grouping": "string"
}
}, - "runtime_status_list": [
- "string"
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "cluster",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to create a new directory service configuration based on the input parameters.
required | object (Directory service) The configuration details of the directory service. |
required | object (directory_service metadata) The directory_service kind metadata |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "open_ldap_configuration": {
- "user_configuration": {
- "user_search_base": "string",
- "user_object_class": "string",
- "username_attribute": "string"
}, - "user_group_configuration": {
- "group_search_base": "string",
- "group_member_attribute": "string",
- "group_object_class": "string",
- "group_member_attribute_value": "string"
}
}, - "url": "string",
- "directory_type": "string",
- "admin_user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "secondary_urls": [
- "string"
], - "domain_name": "string",
- "service_account": {
- "username": "string",
- "password": "string"
}, - "admin_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "spec": {
- "name": "string",
- "resources": {
- "open_ldap_configuration": {
- "user_configuration": {
- "user_search_base": "string",
- "user_object_class": "string",
- "username_attribute": "string"
}, - "user_group_configuration": {
- "group_search_base": "string",
- "group_member_attribute": "string",
- "group_object_class": "string",
- "group_member_attribute_value": "string"
}
}, - "url": "string",
- "directory_type": "string",
- "admin_user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "secondary_urls": [
- "string"
], - "domain_name": "string",
- "service_account": {
- "username": "string",
- "password": "string"
}, - "admin_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "directory_service",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing directory service configuration.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/directory_services/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "open_ldap_configuration": {
- "user_configuration": {
- "user_search_base": "string",
- "user_object_class": "string",
- "username_attribute": "string"
}, - "user_group_configuration": {
- "group_search_base": "string",
- "group_member_attribute": "string",
- "group_object_class": "string",
- "group_member_attribute_value": "string"
}
}, - "url": "string",
- "directory_type": "string",
- "admin_user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "secondary_urls": [
- "string"
], - "domain_name": "string",
- "service_account": {
- "username": "string",
- "password": "string"
}, - "admin_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "spec": {
- "name": "string",
- "resources": {
- "open_ldap_configuration": {
- "user_configuration": {
- "user_search_base": "string",
- "user_object_class": "string",
- "username_attribute": "string"
}, - "user_group_configuration": {
- "group_search_base": "string",
- "group_member_attribute": "string",
- "group_object_class": "string",
- "group_member_attribute_value": "string"
}
}, - "url": "string",
- "directory_type": "string",
- "admin_user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "secondary_urls": [
- "string"
], - "domain_name": "string",
- "service_account": {
- "username": "string",
- "password": "string"
}, - "admin_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "directory_service",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing directory service configuration.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/directory_services/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "open_ldap_configuration": {
- "user_configuration": {
- "user_search_base": "string",
- "user_object_class": "string",
- "username_attribute": "string"
}, - "user_group_configuration": {
- "group_search_base": "string",
- "group_member_attribute": "string",
- "group_object_class": "string",
- "group_member_attribute_value": "string"
}
}, - "url": "string",
- "directory_type": "string",
- "admin_user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "secondary_urls": [
- "string"
], - "domain_name": "string",
- "service_account": {
- "username": "string",
- "password": "string"
}, - "admin_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "spec": {
- "name": "string",
- "resources": {
- "open_ldap_configuration": {
- "user_configuration": {
- "user_search_base": "string",
- "user_object_class": "string",
- "username_attribute": "string"
}, - "user_group_configuration": {
- "group_search_base": "string",
- "group_member_attribute": "string",
- "group_object_class": "string",
- "group_member_attribute_value": "string"
}
}, - "url": "string",
- "directory_type": "string",
- "admin_user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "secondary_urls": [
- "string"
], - "domain_name": "string",
- "service_account": {
- "username": "string",
- "password": "string"
}, - "admin_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "directory_service",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "open_ldap_configuration": {
- "user_configuration": {
- "user_search_base": "string",
- "user_object_class": "string",
- "username_attribute": "string"
}, - "user_group_configuration": {
- "group_search_base": "string",
- "group_member_attribute": "string",
- "group_object_class": "string",
- "group_member_attribute_value": "string"
}
}, - "url": "string",
- "directory_type": "string",
- "admin_user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "secondary_urls": [
- "string"
], - "domain_name": "string",
- "service_account": {
- "username": "string",
- "password": "string"
}, - "admin_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "spec": {
- "name": "string",
- "resources": {
- "open_ldap_configuration": {
- "user_configuration": {
- "user_search_base": "string",
- "user_object_class": "string",
- "username_attribute": "string"
}, - "user_group_configuration": {
- "group_search_base": "string",
- "group_member_attribute": "string",
- "group_object_class": "string",
- "group_member_attribute_value": "string"
}
}, - "url": "string",
- "directory_type": "string",
- "admin_user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "secondary_urls": [
- "string"
], - "domain_name": "string",
- "service_account": {
- "username": "string",
- "password": "string"
}, - "admin_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "directory_service",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "directory_service",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Retrieves a user or a group available in the directory service based on the UUID specified.
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 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. |
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" ] }'
{- "search_result_list": [
- {
- "type": "string",
- "name": "string",
- "attribute_list": [
- {
- "value_list": [
- "string"
], - "name": "string"
}
]
}
], - "domain_name": "string",
- "api_version": "3.1.0",
- "metadata": {
- "query": "string",
- "searched_attribute_list": [
- "string"
], - "returned_attribute_list": [
- "string"
], - "is_wildcard_search": true
}
}
This operation submits a request to update a existing directory service configuration based on the input 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. |
required | object (Directory service) The configuration details of the directory service. |
required | object (directory_service metadata) The directory_service kind metadata |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "open_ldap_configuration": {
- "user_configuration": {
- "user_search_base": "string",
- "user_object_class": "string",
- "username_attribute": "string"
}, - "user_group_configuration": {
- "group_search_base": "string",
- "group_member_attribute": "string",
- "group_object_class": "string",
- "group_member_attribute_value": "string"
}
}, - "url": "string",
- "directory_type": "string",
- "admin_user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "secondary_urls": [
- "string"
], - "domain_name": "string",
- "service_account": {
- "username": "string",
- "password": "string"
}, - "admin_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "spec": {
- "name": "string",
- "resources": {
- "open_ldap_configuration": {
- "user_configuration": {
- "user_search_base": "string",
- "user_object_class": "string",
- "username_attribute": "string"
}, - "user_group_configuration": {
- "group_search_base": "string",
- "group_member_attribute": "string",
- "group_object_class": "string",
- "group_member_attribute_value": "string"
}
}, - "url": "string",
- "directory_type": "string",
- "admin_user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "secondary_urls": [
- "string"
], - "domain_name": "string",
- "service_account": {
- "username": "string",
- "password": "string"
}, - "admin_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "directory_service",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to create a new Floating IP based on the input parameters.
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 |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "floating_ip": "string",
- "vm_nic_reference": {
- "kind": "vm_nic",
- "name": "string",
- "uuid": "string"
}, - "private_ip": "string"
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "private_ip": "string",
- "vm_nic_reference": {
- "kind": "vm_nic",
- "name": "string",
- "uuid": "string"
}, - "floating_ip": "string"
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "floating_ip",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing Floating IP.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/floating_ips/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "floating_ip": "string",
- "vm_nic_reference": {
- "kind": "vm_nic",
- "name": "string",
- "uuid": "string"
}, - "private_ip": "string"
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "private_ip": "string",
- "vm_nic_reference": {
- "kind": "vm_nic",
- "name": "string",
- "uuid": "string"
}, - "floating_ip": "string"
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "floating_ip",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing Floating IP.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/floating_ips/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "floating_ip": "string",
- "vm_nic_reference": {
- "kind": "vm_nic",
- "name": "string",
- "uuid": "string"
}, - "private_ip": "string"
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "private_ip": "string",
- "vm_nic_reference": {
- "kind": "vm_nic",
- "name": "string",
- "uuid": "string"
}, - "floating_ip": "string"
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "floating_ip",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of Floating IPs, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "floating_ip": "string",
- "vm_nic_reference": {
- "kind": "vm_nic",
- "name": "string",
- "uuid": "string"
}, - "private_ip": "string"
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "private_ip": "string",
- "vm_nic_reference": {
- "kind": "vm_nic",
- "name": "string",
- "uuid": "string"
}, - "floating_ip": "string"
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "floating_ip",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "floating_ip",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing Floating IP based on the input 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. |
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 |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "floating_ip": "string",
- "vm_nic_reference": {
- "kind": "vm_nic",
- "name": "string",
- "uuid": "string"
}, - "private_ip": "string"
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "private_ip": "string",
- "vm_nic_reference": {
- "kind": "vm_nic",
- "name": "string",
- "uuid": "string"
}, - "floating_ip": "string"
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "floating_ip",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing Host.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/hosts/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "gpu_driver_version": "string",
- "failover_cluster": {
- "ip": "string",
- "name": "string",
- "domain_credential": {
- "username": "string",
- "password": "string"
}
}, - "controller_vm": {
- "ip": "string",
- "nat_ip": "string",
- "oplog_usage": {
- "oplog_disk_pct": 0.1,
- "oplog_disk_size": 0
}, - "nat_port": 0
}, - "ipmi": {
- "ip": "string"
}, - "rackable_unit_reference": {
- "kind": "rackable_unit",
- "name": "string",
- "uuid": "string"
}, - "host_type": "string",
- "cpu_model": "string",
- "host_nics_id_list": [
- "string"
], - "num_cpu_sockets": 0,
- "windows_domain": {
- "name": "string",
- "domain_name": "string",
- "domain_credential": {
- "username": "string",
- "password": "string"
}, - "organization_unit_path": "string",
- "name_prefix": "string",
- "name_server_ip": "string"
}, - "gpu_list": [
- {
- "status": "string",
- "assignable": true,
- "vendor": "string",
- "name": "string",
- "index": 0,
- "license_list": [
- "string"
], - "numa_node": 0,
- "max_resolution": "string",
- "num_vgpus_allocated": 0,
- "consumer_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "pci_address": "string",
- "fraction": 0,
- "mode": "string",
- "num_virtual_display_heads": 0,
- "guest_driver_version": "string",
- "frame_buffer_size_mib": 0,
- "device_id": 0,
- "max_instances_per_vm": 0,
- "uuid": "string"
}
], - "num_cpu_cores": 0,
- "monitoring_state": "string",
- "cpu_capacity_hz": 0,
- "serial_number": "string",
- "memory_capacity_mib": 0,
- "hypervisor": {
- "num_vms": 0,
- "ip": "string",
- "hypervisor_full_name": "string"
}, - "block": {
- "block_serial_number": "string",
- "block_model": "string"
}, - "host_disks_reference_list": [
- {
- "kind": "disk",
- "name": "string",
- "uuid": "string"
}
]
}, - "cluster_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "spec": {
- "name": "string",
- "resources": {
- "windows_domain": {
- "name": "string",
- "domain_name": "string",
- "domain_credential": {
- "username": "string",
- "password": "string"
}, - "organization_unit_path": "string",
- "name_prefix": "string",
- "name_server_ip": "string"
}, - "controller_vm": {
- "ip": "string",
- "nat_ip": "string",
- "oplog_usage": {
- "oplog_disk_pct": 0.1,
- "oplog_disk_size": 0
}, - "nat_port": 0
}, - "failover_cluster": {
- "ip": "string",
- "name": "string",
- "domain_credential": {
- "username": "string",
- "password": "string"
}
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "host",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of Hosts, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "gpu_driver_version": "string",
- "failover_cluster": {
- "ip": "string",
- "name": "string",
- "domain_credential": {
- "username": "string",
- "password": "string"
}
}, - "controller_vm": {
- "ip": "string",
- "nat_ip": "string",
- "oplog_usage": {
- "oplog_disk_pct": 0.1,
- "oplog_disk_size": 0
}, - "nat_port": 0
}, - "ipmi": {
- "ip": "string"
}, - "rackable_unit_reference": {
- "kind": "rackable_unit",
- "name": "string",
- "uuid": "string"
}, - "host_type": "string",
- "cpu_model": "string",
- "host_nics_id_list": [
- "string"
], - "num_cpu_sockets": 0,
- "windows_domain": {
- "name": "string",
- "domain_name": "string",
- "domain_credential": {
- "username": "string",
- "password": "string"
}, - "organization_unit_path": "string",
- "name_prefix": "string",
- "name_server_ip": "string"
}, - "gpu_list": [
- {
- "status": "string",
- "assignable": true,
- "vendor": "string",
- "name": "string",
- "index": 0,
- "license_list": [
- "string"
], - "numa_node": 0,
- "max_resolution": "string",
- "num_vgpus_allocated": 0,
- "consumer_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "pci_address": "string",
- "fraction": 0,
- "mode": "string",
- "num_virtual_display_heads": 0,
- "guest_driver_version": "string",
- "frame_buffer_size_mib": 0,
- "device_id": 0,
- "max_instances_per_vm": 0,
- "uuid": "string"
}
], - "num_cpu_cores": 0,
- "monitoring_state": "string",
- "cpu_capacity_hz": 0,
- "serial_number": "string",
- "memory_capacity_mib": 0,
- "hypervisor": {
- "num_vms": 0,
- "ip": "string",
- "hypervisor_full_name": "string"
}, - "block": {
- "block_serial_number": "string",
- "block_model": "string"
}, - "host_disks_reference_list": [
- {
- "kind": "disk",
- "name": "string",
- "uuid": "string"
}
]
}, - "cluster_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "spec": {
- "name": "string",
- "resources": {
- "windows_domain": {
- "name": "string",
- "domain_name": "string",
- "domain_credential": {
- "username": "string",
- "password": "string"
}, - "organization_unit_path": "string",
- "name_prefix": "string",
- "name_server_ip": "string"
}, - "controller_vm": {
- "ip": "string",
- "nat_ip": "string",
- "oplog_usage": {
- "oplog_disk_pct": 0.1,
- "oplog_disk_size": 0
}, - "nat_port": 0
}, - "failover_cluster": {
- "ip": "string",
- "name": "string",
- "domain_credential": {
- "username": "string",
- "password": "string"
}
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "host",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "host",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
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.
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. |
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 }'
{- "client_identifier": "string",
- "count": 1,
- "expiration_time": "2019-08-24T14:15:22Z",
- "uuid_list": [
- "string"
]
}
This operation submits a request to delete an existing idempotence_identifier.
client_identifier required | string |
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>' \
{- "kind": "idempotence_identifiers",
- "code": 0,
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "api_version": "3.1.0"
}
This operation gets an existing idempotence_identifier.
client_identifier required | string |
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>' \
{- "client_identifier": "string",
- "count": 1,
- "expiration_time": "2019-08-24T14:15:22Z",
- "uuid_list": [
- "string"
]
}
This operation submits a request to create a new identity_provider based on the input parameters.
required | object (Identity provider details) The configuration details of the identity provider. |
required | object (identity_provider metadata) The identity_provider kind metadata |
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" } } } }'
{- "status": {
- "name": "string",
- "resources": {
- "groups_delim": "str",
- "idp_properties": {
- "login_url": "string",
- "certificate": "string",
- "idp_url": "string",
- "error_url": "string",
- "logout_url": "string"
}, - "idp_metadata": "string",
- "groups_attr": "string"
}
}, - "spec": {
- "name": "string",
- "resources": {
- "groups_delim": "str",
- "idp_properties": {
- "login_url": "string",
- "certificate": "string",
- "idp_url": "string",
- "error_url": "string",
- "logout_url": "string"
}, - "idp_metadata": "string",
- "groups_attr": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "identity_provider",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing identity_provider.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/identity_providers/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "kind": "identity_provider",
- "code": 0,
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "api_version": "3.1.0"
}
Endpoint which will give service provider metadata as output
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>' \
null
This operation gets a existing identity_provider.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/identity_providers/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "resources": {
- "groups_delim": "str",
- "idp_properties": {
- "login_url": "string",
- "certificate": "string",
- "idp_url": "string",
- "error_url": "string",
- "logout_url": "string"
}, - "idp_metadata": "string",
- "groups_attr": "string"
}
}, - "spec": {
- "name": "string",
- "resources": {
- "groups_delim": "str",
- "idp_properties": {
- "login_url": "string",
- "certificate": "string",
- "idp_url": "string",
- "error_url": "string",
- "logout_url": "string"
}, - "idp_metadata": "string",
- "groups_attr": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "identity_provider",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of identity_provider, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "resources": {
- "groups_delim": "str",
- "idp_properties": {
- "login_url": "string",
- "certificate": "string",
- "idp_url": "string",
- "error_url": "string",
- "logout_url": "string"
}, - "idp_metadata": "string",
- "groups_attr": "string"
}
}, - "spec": {
- "name": "string",
- "resources": {
- "groups_delim": "str",
- "idp_properties": {
- "login_url": "string",
- "certificate": "string",
- "idp_url": "string",
- "error_url": "string",
- "logout_url": "string"
}, - "idp_metadata": "string",
- "groups_attr": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "identity_provider",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "identity_provider",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing identity_provider based on the input 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. |
required | object (Identity provider details) The configuration details of the identity provider. |
required | object (identity_provider metadata) The identity_provider kind metadata |
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" } } } }'
{- "status": {
- "name": "string",
- "resources": {
- "groups_delim": "str",
- "idp_properties": {
- "login_url": "string",
- "certificate": "string",
- "idp_url": "string",
- "error_url": "string",
- "logout_url": "string"
}, - "idp_metadata": "string",
- "groups_attr": "string"
}
}, - "spec": {
- "name": "string",
- "resources": {
- "groups_delim": "str",
- "idp_properties": {
- "login_url": "string",
- "certificate": "string",
- "idp_url": "string",
- "error_url": "string",
- "logout_url": "string"
}, - "idp_metadata": "string",
- "groups_attr": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "identity_provider",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
required | object (Image placement policy) Image placement policy |
required | object (image_placement_policy metadata) The image_placement_policy kind metadata |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "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"
}, - "description": "string"
}, - "spec": {
- "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"
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "image_placement_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing image_placement_policy.
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. |
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>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "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"
}, - "description": "string"
}, - "spec": {
- "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"
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "image_placement_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing image_placement_policy.
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. |
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>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "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"
}, - "description": "string"
}, - "spec": {
- "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"
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "image_placement_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "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"
}, - "description": "string"
}, - "spec": {
- "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"
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "image_placement_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "image_placement_policy",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing image_placement_policy based on the input 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. |
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 |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "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"
}, - "description": "string"
}, - "spec": {
- "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"
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "image_placement_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
required | object (image Intent Spec with placement specified) An intentful representation of a image spec |
required | object (image metadata) The image kind metadata |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "retrieval_uri_list": [
- "string"
], - "current_cluster_reference_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "image_type": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}, - "source_uri": "string",
- "initial_placement_ref_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "version": {
- "product_version": "string",
- "product_name": "string"
}, - "architecture": "string",
- "size_bytes": 0,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "image_placement_policy_state_list": [
- {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "complete_policy_cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "enforced_policy_cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "conflicting_image_placement_policy_reference_list": [
- {
- "kind": "image_placement_policy",
- "name": "string",
- "uuid": "string"
}
]
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "source_options": {
- "allow_insecure_connection": true,
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "image_type": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}, - "source_uri": "string",
- "initial_placement_ref_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "version": {
- "product_version": "string",
- "product_name": "string"
}, - "architecture": "string",
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "source_options": {
- "allow_insecure_connection": true,
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "image",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing image.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/images/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "retrieval_uri_list": [
- "string"
], - "current_cluster_reference_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "image_type": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}, - "source_uri": "string",
- "initial_placement_ref_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "version": {
- "product_version": "string",
- "product_name": "string"
}, - "architecture": "string",
- "size_bytes": 0,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "image_placement_policy_state_list": [
- {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "complete_policy_cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "enforced_policy_cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "conflicting_image_placement_policy_reference_list": [
- {
- "kind": "image_placement_policy",
- "name": "string",
- "uuid": "string"
}
]
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "source_options": {
- "allow_insecure_connection": true,
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "image_type": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}, - "source_uri": "string",
- "initial_placement_ref_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "version": {
- "product_version": "string",
- "product_name": "string"
}, - "architecture": "string",
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "source_options": {
- "allow_insecure_connection": true,
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "image",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing image.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/images/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "retrieval_uri_list": [
- "string"
], - "current_cluster_reference_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "image_type": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}, - "source_uri": "string",
- "initial_placement_ref_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "version": {
- "product_version": "string",
- "product_name": "string"
}, - "architecture": "string",
- "size_bytes": 0,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "image_placement_policy_state_list": [
- {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "complete_policy_cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "enforced_policy_cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "conflicting_image_placement_policy_reference_list": [
- {
- "kind": "image_placement_policy",
- "name": "string",
- "uuid": "string"
}
]
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "source_options": {
- "allow_insecure_connection": true,
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "image_type": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}, - "source_uri": "string",
- "initial_placement_ref_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "version": {
- "product_version": "string",
- "product_name": "string"
}, - "architecture": "string",
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "source_options": {
- "allow_insecure_connection": true,
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "image",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of images, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "retrieval_uri_list": [
- "string"
], - "current_cluster_reference_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "image_type": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}, - "source_uri": "string",
- "initial_placement_ref_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "version": {
- "product_version": "string",
- "product_name": "string"
}, - "architecture": "string",
- "size_bytes": 0,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "image_placement_policy_state_list": [
- {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "complete_policy_cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "enforced_policy_cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "conflicting_image_placement_policy_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": null,
- "property2": null
}
}
]
}
], - "source_options": {
- "allow_insecure_connection": true,
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "image_type": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}, - "source_uri": "string",
- "initial_placement_ref_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "version": {
- "product_version": "string",
- "product_name": "string"
}, - "architecture": "string",
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "source_options": {
- "allow_insecure_connection": true,
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "image",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "image",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Downloads the image based on the UUID specified.
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. |
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>' \
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.
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 |
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" } ] }'
{- "task_uuid": "string"
}
This operation submits a request to update a existing image based on the input 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. |
required | object (image Intent Spec with placement specified) An intentful representation of a image spec |
required | object (image metadata) The image kind metadata |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "retrieval_uri_list": [
- "string"
], - "current_cluster_reference_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "image_type": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}, - "source_uri": "string",
- "initial_placement_ref_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "version": {
- "product_version": "string",
- "product_name": "string"
}, - "architecture": "string",
- "size_bytes": 0,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "image_placement_policy_state_list": [
- {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "complete_policy_cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "enforced_policy_cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "conflicting_image_placement_policy_reference_list": [
- {
- "kind": "image_placement_policy",
- "name": "string",
- "uuid": "string"
}
]
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "source_options": {
- "allow_insecure_connection": true,
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "image_type": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}, - "source_uri": "string",
- "initial_placement_ref_list": [
- {
- "file_location": {
- "relative_path": "string",
- "container_name": "string"
}, - "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "version": {
- "product_version": "string",
- "product_name": "string"
}, - "architecture": "string",
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "source_options": {
- "allow_insecure_connection": true,
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "image",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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. |
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. |
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' \
{- "kind": "image",
- "code": 0,
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "api_version": "3.1.0"
}
Given an intentful spec, creates a network function chain with associated metadata.
required | object (network function chain Input Definition) network function chain Input Definition. |
required | object (network_function_chain metadata) The network_function_chain kind metadata |
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" } ] } } }'
{- "status": {
- "description": "string",
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "network_function_list": [
- {
- "network_function_type": "string",
- "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}
]
}, - "name": "string"
}, - "spec": {
- "name": "string",
- "description": "string",
- "resources": {
- "network_function_list": [
- {
- "network_function_type": "string",
- "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}
]
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "network_function_chain",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Delete a network function chain given its uuid.
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. |
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>' \
{- "status": {
- "description": "string",
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "network_function_list": [
- {
- "network_function_type": "string",
- "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}
]
}, - "name": "string"
}, - "spec": {
- "name": "string",
- "description": "string",
- "resources": {
- "network_function_list": [
- {
- "network_function_type": "string",
- "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}
]
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "network_function_chain",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Given a UUID, returns a network_function_chain definition.
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. |
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>' \
{- "status": {
- "description": "string",
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "network_function_list": [
- {
- "network_function_type": "string",
- "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}
]
}, - "name": "string"
}, - "spec": {
- "name": "string",
- "description": "string",
- "resources": {
- "network_function_list": [
- {
- "network_function_type": "string",
- "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}
]
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "network_function_chain",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "description": "string",
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "network_function_list": [
- {
- "network_function_type": "string",
- "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- null
], - "property2": [
- null
]
}
}
}
]
}, - "name": "string"
}, - "spec": {
- "name": "string",
- "description": "string",
- "resources": {
- "network_function_list": [
- {
- "network_function_type": "string",
- "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- null
], - "property2": [
- null
]
}
}
}
]
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "network_function_chain",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "network_function_chain",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Given an intenful spec and uuid, update network function chain.
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. |
required | object (network function chain Input Definition) network function chain Input Definition. |
required | object (network_function_chain metadata) The network_function_chain kind metadata |
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" } ] } } }'
{- "status": {
- "description": "string",
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "network_function_list": [
- {
- "network_function_type": "string",
- "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}
]
}, - "name": "string"
}, - "spec": {
- "name": "string",
- "description": "string",
- "resources": {
- "network_function_list": [
- {
- "network_function_type": "string",
- "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}
]
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "network_function_chain",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to create a new Network security rule based on the input parameters.
required | object (Network security rule) Network security rule |
required | object (network_security_rule metadata) The network_security_rule kind metadata |
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" } } } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "allow_ipv6_traffic": true,
- "is_policy_hitlog_enabled": true,
- "quarantine_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "isolation_rule": {
- "action": "string",
- "first_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "second_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "app_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "ad_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "allow_ipv6_traffic": true,
- "is_policy_hitlog_enabled": true,
- "quarantine_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "isolation_rule": {
- "action": "string",
- "first_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "second_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "app_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "ad_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "network_security_rule",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing Network security rule.
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. |
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>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "allow_ipv6_traffic": true,
- "is_policy_hitlog_enabled": true,
- "quarantine_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "isolation_rule": {
- "action": "string",
- "first_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "second_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "app_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "ad_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "allow_ipv6_traffic": true,
- "is_policy_hitlog_enabled": true,
- "quarantine_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "isolation_rule": {
- "action": "string",
- "first_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "second_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "app_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "ad_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "network_security_rule",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Export all network security rules to save and for subsequent import
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>' \
This operation gets a existing Network security rule.
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. |
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>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "allow_ipv6_traffic": true,
- "is_policy_hitlog_enabled": true,
- "quarantine_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "isolation_rule": {
- "action": "string",
- "first_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "second_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "app_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "ad_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "allow_ipv6_traffic": true,
- "is_policy_hitlog_enabled": true,
- "quarantine_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "isolation_rule": {
- "action": "string",
- "first_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "second_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "app_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "ad_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "network_security_rule",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "allow_ipv6_traffic": true,
- "is_policy_hitlog_enabled": true,
- "quarantine_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- null
], - "property2": [
- null
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}, - "isolation_rule": {
- "action": "string",
- "first_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "second_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "app_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- null
], - "property2": [
- null
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}, - "ad_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- null
], - "property2": [
- null
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "allow_ipv6_traffic": true,
- "is_policy_hitlog_enabled": true,
- "quarantine_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- null
], - "property2": [
- null
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}, - "isolation_rule": {
- "action": "string",
- "first_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "second_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "app_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- null
], - "property2": [
- null
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}, - "ad_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- null
], - "property2": [
- null
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "udp_port_range_list": [
- {
- "end_port": null,
- "start_port": null
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "service_group_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "icmp_type_code_list": [
- {
- "code": null,
- "type": null
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "network_security_rule",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "network_security_rule",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Imports previously exported network security rules
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' \
{- "task_uuid": "string"
}
Generates a report on the impact of importing the policy data
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' \
{- "entity_list": [
- {
- "entity_update_type": "string",
- "entity_name": "string",
- "entity_type": "string"
}
]
}
This operation submits a request to update a existing Network security rule based on the input 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. |
required | object (Network security rule) Network security rule |
required | object (network_security_rule metadata) The network_security_rule kind metadata |
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" } } } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "allow_ipv6_traffic": true,
- "is_policy_hitlog_enabled": true,
- "quarantine_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "isolation_rule": {
- "action": "string",
- "first_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "second_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "app_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "ad_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "udp_port_range_list": [
- {
- "end_port": 0,
- "start_port": 0
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "allow_ipv6_traffic": true,
- "is_policy_hitlog_enabled": true,
- "quarantine_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "isolation_rule": {
- "action": "string",
- "first_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "second_entity_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "app_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}, - "ad_rule": {
- "action": "string",
- "outbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
], - "target_group": {
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "default_internal_policy": "string",
- "peer_specification_type": "string"
}, - "inbound_allow_list": [
- {
- "protocol": "string",
- "description": "string",
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "peer_specification_type": "string",
- "filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "service_group_list": [
- {
- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
], - "icmp_type_code_list": [
- {
- "code": 15,
- "type": 43
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "expiration_time": "string",
- "rule_id": 4095,
- "address_group_inclusion_list": [
- {
- "kind": "address_group",
- "name": "string",
- "uuid": "string"
}
]
}
]
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "network_security_rule",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to create a new ngt_policy based on the input parameters.
required | object (NGT policy spec) NGT policy spec. |
required | object (ngt_policy metadata) The ngt_policy kind metadata |
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" } } }'
{- "status": {
- "name": "string",
- "resources": {
- "type": "string",
- "parameters": {
- "reboot_ngt_policy_parameters": {
- "apply_once": false,
- "schedule": {
- "start_time": "2019-08-24T14:15:22Z",
- "day_time": {
- "day_of_week": "string",
- "time": "string"
}
}, - "schedule_type": "string"
}
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "type": "string",
- "parameters": {
- "reboot_ngt_policy_parameters": {
- "apply_once": false,
- "schedule": {
- "start_time": "2019-08-24T14:15:22Z",
- "day_time": {
- "day_of_week": "string",
- "time": "string"
}
}, - "schedule_type": "string"
}
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "ngt_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing ngt_policy.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/ngt_policies/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "kind": "ngt_policy",
- "code": 0,
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "api_version": "3.1.0"
}
This operation gets a existing ngt_policy.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/ngt_policies/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "resources": {
- "type": "string",
- "parameters": {
- "reboot_ngt_policy_parameters": {
- "apply_once": false,
- "schedule": {
- "start_time": "2019-08-24T14:15:22Z",
- "day_time": {
- "day_of_week": "string",
- "time": "string"
}
}, - "schedule_type": "string"
}
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "type": "string",
- "parameters": {
- "reboot_ngt_policy_parameters": {
- "apply_once": false,
- "schedule": {
- "start_time": "2019-08-24T14:15:22Z",
- "day_time": {
- "day_of_week": "string",
- "time": "string"
}
}, - "schedule_type": "string"
}
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "ngt_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of ngt_policies, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "resources": {
- "type": "string",
- "parameters": {
- "reboot_ngt_policy_parameters": {
- "apply_once": false,
- "schedule": {
- "start_time": "2019-08-24T14:15:22Z",
- "day_time": {
- "day_of_week": "string",
- "time": "string"
}
}, - "schedule_type": "string"
}
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": { },
- "collection": null,
- "uuid_list": [ ]
}, - "left_hand_side": {
- "entity_type": null
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [ ],
- "categories": { },
- "collection": null,
- "uuid_list": [ ]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "type": "string",
- "parameters": {
- "reboot_ngt_policy_parameters": {
- "apply_once": false,
- "schedule": {
- "start_time": "2019-08-24T14:15:22Z",
- "day_time": {
- "day_of_week": "string",
- "time": "string"
}
}, - "schedule_type": "string"
}
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": { },
- "collection": null,
- "uuid_list": [ ]
}, - "left_hand_side": {
- "entity_type": null
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [ ],
- "categories": { },
- "collection": null,
- "uuid_list": [ ]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "ngt_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "ngt_policy",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing ngt_policy based on the input 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. |
required | object (NGT policy spec) NGT policy spec. |
required | object (ngt_policy metadata) The ngt_policy kind metadata |
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" } } }'
{- "status": {
- "name": "string",
- "resources": {
- "type": "string",
- "parameters": {
- "reboot_ngt_policy_parameters": {
- "apply_once": false,
- "schedule": {
- "start_time": "2019-08-24T14:15:22Z",
- "day_time": {
- "day_of_week": "string",
- "time": "string"
}
}, - "schedule_type": "string"
}
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "type": "string",
- "parameters": {
- "reboot_ngt_policy_parameters": {
- "apply_once": false,
- "schedule": {
- "start_time": "2019-08-24T14:15:22Z",
- "day_time": {
- "day_of_week": "string",
- "time": "string"
}
}, - "schedule_type": "string"
}
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "ngt_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation will concatenate file chunks in order of their upload offset to create the resulting OVA file.
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. |
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' \
{- "task_uuid": "string"
}
Creates an ova entity. OVAs can be uploaded using this by user which can be later used to create a VM.
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. |
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" }'
{- "task_uuid": "string"
}
This operation submits a request to delete a existing OVA.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "task_uuid": "string"
}
This operation gets a list of OVAs, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "info": {
- "parent_vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "current_cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "disk_format": "string",
- "name": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "kind": "ova",
- "creation_time": "2019-08-24T14:15:22Z",
- "uuid": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "ova",
- "total_matches": 0,
- "sort_attribute": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation gets disk of an existing OVA
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+$ |
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>' \
{- "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}
}
This operation gets a existing OVA.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "info": {
- "parent_vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "current_cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "disk_format": "string",
- "name": "string",
- "checksum": {
- "checksum_algorithm": "string",
- "checksum_value": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "kind": "ova",
- "creation_time": "2019-08-24T14:15:22Z",
- "uuid": "string"
}
}
Downloads the OVA based on the UUID specified.
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. |
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. This spec can be used to create a VM.
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. |
ignore_unknown_fields | boolean |
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>' \
{- "vm_spec": {
- "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "is_vcpu_hard_pinned": true,
- "guest_tools": {
- "nutanix_guest_tools": {
- "ngt_state": "string",
- "iso_mount_state": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}
}
}, - "power_state": "string",
- "num_vcpus_per_socket": 1,
- "num_sockets": 1,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": -1
}, - "flash_mode": "string"
}, - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": false,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "vga_console_enabled": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "nic_type": "string",
- "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- "string"
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "num_queues": 0,
- "secondary_ip_address_list": [
- "string"
], - "network_function_nic_type": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "vlan_mode": "string",
- "mac_address": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "guest_os_id": "string",
- "gpu_list": [
- {
- "vendor": "string",
- "mode": "string",
- "device_id": 0
}
], - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "vtpm_secret": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disable_branding": true
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vm",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}, - "warnings": [
- {
- "message": "string",
- "possible_values": [
- "string"
], - "key": "string"
}
]
}
This operation gets a list of disks of an exisiting OVA
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid}/disks \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "entities": [
- {
- "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}
}
]
}
This operation updates a existing OVA based on the input 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 <= 64 characters Name of the OVA. |
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" }'
{- "status": "string",
- "kind": "string",
- "code": 0,
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "message": "string",
- "api_version": "3.1.0"
}
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.
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. |
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. |
File chunk in binary format.
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' \
{- "status": "string",
- "kind": "string",
- "code": 0,
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "message": "string",
- "api_version": "3.1.0"
}
Information of the uploaded OVA file.
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. |
curl --request HEAD \ --url https://ip_address:9440/api/nutanix/v3/ovas/{uuid}/chunks \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": "string",
- "kind": "string",
- "code": 0,
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "message": "string",
- "api_version": "3.1.0"
}
Get a permission.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/permissions/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "fields": {
- "field_mode": "string",
- "field_name_list": [
- "string"
]
}, - "operation": "string",
- "kind": "string"
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "fields": {
- "field_mode": "string",
- "field_name_list": [
- "string"
]
}, - "operation": "string",
- "kind": "string"
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "permission",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Get permissions.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "fields": {
- "field_mode": "string",
- "field_name_list": [
- "string"
]
}, - "operation": "string",
- "kind": "string"
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "fields": {
- "field_mode": "string",
- "field_name_list": [
- "string"
]
}, - "operation": "string",
- "kind": "string"
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "permission",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "permission",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to create a new Project based on the input parameters.
The entity to create or modify a project.
required | object (Project resource spec) A Project resource. |
required | object (project metadata) The project kind metadata |
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" } ] } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "account_reference_list": [
- {
- "kind": "account",
- "name": "string",
- "uuid": "string"
}
], - "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}, - "directory_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "identity_providers_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "default_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "environment_reference_list": [
- {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}
], - "is_default": true,
- "tunnel_reference_list": [
- {
- "kind": "tunnel",
- "name": "string",
- "uuid": "string"
}
], - "external_user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
], - "default_environment_reference": {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference_list": [
- {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}
], - "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "vpc_reference_list": [
- {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}
], - "external_network_list": [
- {
- "name": "string",
- "uuid": "string"
}
], - "enable_directory_and_identity_provider_whitelist": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "resource_domain": {
- "resources": [
- {
- "limit": 0,
- "resource_type": "string"
}
]
}, - "account_reference_list": [
- {
- "kind": "account",
- "name": "string",
- "uuid": "string"
}
], - "environment_reference_list": [
- {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}
], - "identity_providers_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "default_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "directory_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "tunnel_reference_list": [
- {
- "kind": "tunnel",
- "name": "string",
- "uuid": "string"
}
], - "external_user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
], - "default_environment_reference": {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}, - "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "subnet_reference_list": [
- {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}
], - "vpc_reference_list": [
- {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}
], - "external_network_list": [
- {
- "name": "string",
- "uuid": "string"
}
], - "enable_directory_and_identity_provider_whitelist": true
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "project",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing Project.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/projects/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "account_reference_list": [
- {
- "kind": "account",
- "name": "string",
- "uuid": "string"
}
], - "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}, - "directory_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "identity_providers_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "default_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "environment_reference_list": [
- {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}
], - "is_default": true,
- "tunnel_reference_list": [
- {
- "kind": "tunnel",
- "name": "string",
- "uuid": "string"
}
], - "external_user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
], - "default_environment_reference": {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference_list": [
- {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}
], - "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "vpc_reference_list": [
- {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}
], - "external_network_list": [
- {
- "name": "string",
- "uuid": "string"
}
], - "enable_directory_and_identity_provider_whitelist": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "resource_domain": {
- "resources": [
- {
- "limit": 0,
- "resource_type": "string"
}
]
}, - "account_reference_list": [
- {
- "kind": "account",
- "name": "string",
- "uuid": "string"
}
], - "environment_reference_list": [
- {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}
], - "identity_providers_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "default_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "directory_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "tunnel_reference_list": [
- {
- "kind": "tunnel",
- "name": "string",
- "uuid": "string"
}
], - "external_user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
], - "default_environment_reference": {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}, - "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "subnet_reference_list": [
- {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}
], - "vpc_reference_list": [
- {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}
], - "external_network_list": [
- {
- "name": "string",
- "uuid": "string"
}
], - "enable_directory_and_identity_provider_whitelist": true
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "project",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing Project.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/projects/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "account_reference_list": [
- {
- "kind": "account",
- "name": "string",
- "uuid": "string"
}
], - "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}, - "directory_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "identity_providers_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "default_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "environment_reference_list": [
- {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}
], - "is_default": true,
- "tunnel_reference_list": [
- {
- "kind": "tunnel",
- "name": "string",
- "uuid": "string"
}
], - "external_user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
], - "default_environment_reference": {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference_list": [
- {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}
], - "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "vpc_reference_list": [
- {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}
], - "external_network_list": [
- {
- "name": "string",
- "uuid": "string"
}
], - "enable_directory_and_identity_provider_whitelist": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "resource_domain": {
- "resources": [
- {
- "limit": 0,
- "resource_type": "string"
}
]
}, - "account_reference_list": [
- {
- "kind": "account",
- "name": "string",
- "uuid": "string"
}
], - "environment_reference_list": [
- {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}
], - "identity_providers_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "default_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "directory_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "tunnel_reference_list": [
- {
- "kind": "tunnel",
- "name": "string",
- "uuid": "string"
}
], - "external_user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
], - "default_environment_reference": {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}, - "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "subnet_reference_list": [
- {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}
], - "vpc_reference_list": [
- {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}
], - "external_network_list": [
- {
- "name": "string",
- "uuid": "string"
}
], - "enable_directory_and_identity_provider_whitelist": true
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "project",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of Projects, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "account_reference_list": [
- {
- "kind": "account",
- "name": "string",
- "uuid": "string"
}
], - "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}, - "directory_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "identity_providers_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "default_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "environment_reference_list": [
- {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}
], - "is_default": true,
- "tunnel_reference_list": [
- {
- "kind": "tunnel",
- "name": "string",
- "uuid": "string"
}
], - "external_user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
], - "default_environment_reference": {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference_list": [
- {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}
], - "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "vpc_reference_list": [
- {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}
], - "external_network_list": [
- {
- "name": "string",
- "uuid": "string"
}
], - "enable_directory_and_identity_provider_whitelist": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "resource_domain": {
- "resources": [
- {
- "limit": 0,
- "resource_type": "string"
}
]
}, - "account_reference_list": [
- {
- "kind": "account",
- "name": "string",
- "uuid": "string"
}
], - "environment_reference_list": [
- {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}
], - "identity_providers_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "default_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "directory_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "tunnel_reference_list": [
- {
- "kind": "tunnel",
- "name": "string",
- "uuid": "string"
}
], - "external_user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
], - "default_environment_reference": {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}, - "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "subnet_reference_list": [
- {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}
], - "vpc_reference_list": [
- {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}
], - "external_network_list": [
- {
- "name": "string",
- "uuid": "string"
}
], - "enable_directory_and_identity_provider_whitelist": true
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "project",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "project",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing Project based on the input 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. |
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 |
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" } ] } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "account_reference_list": [
- {
- "kind": "account",
- "name": "string",
- "uuid": "string"
}
], - "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}, - "directory_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "identity_providers_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "default_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "environment_reference_list": [
- {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}
], - "is_default": true,
- "tunnel_reference_list": [
- {
- "kind": "tunnel",
- "name": "string",
- "uuid": "string"
}
], - "external_user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
], - "default_environment_reference": {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference_list": [
- {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}
], - "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "vpc_reference_list": [
- {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}
], - "external_network_list": [
- {
- "name": "string",
- "uuid": "string"
}
], - "enable_directory_and_identity_provider_whitelist": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "resource_domain": {
- "resources": [
- {
- "limit": 0,
- "resource_type": "string"
}
]
}, - "account_reference_list": [
- {
- "kind": "account",
- "name": "string",
- "uuid": "string"
}
], - "environment_reference_list": [
- {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}
], - "identity_providers_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "user_reference_list": [
- {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}
], - "default_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "directory_reference_list": [
- {
- "kind": "string",
- "uuid": "string"
}
], - "tunnel_reference_list": [
- {
- "kind": "tunnel",
- "name": "string",
- "uuid": "string"
}
], - "external_user_group_reference_list": [
- {
- "kind": "user_group",
- "name": "string",
- "uuid": "string"
}
], - "default_environment_reference": {
- "kind": "environment",
- "name": "string",
- "uuid": "string"
}, - "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "subnet_reference_list": [
- {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}
], - "vpc_reference_list": [
- {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}
], - "external_network_list": [
- {
- "name": "string",
- "uuid": "string"
}
], - "enable_directory_and_identity_provider_whitelist": true
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "project",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Create a protection rule
required | object (Protection Rule creation/modification spec) protection Rule creation/modification spec |
required | object (protection_rule metadata) The protection_rule kind metadata |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "start_time": "string",
- "availability_zone_connectivity_list": [
- {
- "destination_availability_zone_index": 0,
- "source_availability_zone_index": 0,
- "snapshot_schedule_list": [
- {
- "recovery_point_objective_secs": 0,
- "local_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}, - "auto_suspend_timeout_secs": 0,
- "snapshot_type": "string",
- "remote_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}
}
]
}
], - "ordered_availability_zone_list": [
- {
- "cluster_uuid": "string",
- "availability_zone_url": "string",
- "cluster_uuid_list": [
- "string"
], - "target_type": "string"
}
], - "primary_location_list": [
- 0
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "start_time": "string",
- "availability_zone_connectivity_list": [
- {
- "destination_availability_zone_index": 0,
- "source_availability_zone_index": 0,
- "snapshot_schedule_list": [
- {
- "recovery_point_objective_secs": 0,
- "local_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}, - "auto_suspend_timeout_secs": 0,
- "snapshot_type": "string",
- "remote_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}
}
]
}
], - "ordered_availability_zone_list": [
- {
- "cluster_uuid": "string",
- "availability_zone_url": "string",
- "cluster_uuid_list": [
- "string"
], - "target_type": "string"
}
], - "primary_location_list": [
- 0
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "protection_rule",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Delete a protection rule
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/protection_rules/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "start_time": "string",
- "availability_zone_connectivity_list": [
- {
- "destination_availability_zone_index": 0,
- "source_availability_zone_index": 0,
- "snapshot_schedule_list": [
- {
- "recovery_point_objective_secs": 0,
- "local_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}, - "auto_suspend_timeout_secs": 0,
- "snapshot_type": "string",
- "remote_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}
}
]
}
], - "ordered_availability_zone_list": [
- {
- "cluster_uuid": "string",
- "availability_zone_url": "string",
- "cluster_uuid_list": [
- "string"
], - "target_type": "string"
}
], - "primary_location_list": [
- 0
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "start_time": "string",
- "availability_zone_connectivity_list": [
- {
- "destination_availability_zone_index": 0,
- "source_availability_zone_index": 0,
- "snapshot_schedule_list": [
- {
- "recovery_point_objective_secs": 0,
- "local_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}, - "auto_suspend_timeout_secs": 0,
- "snapshot_type": "string",
- "remote_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}
}
]
}
], - "ordered_availability_zone_list": [
- {
- "cluster_uuid": "string",
- "availability_zone_url": "string",
- "cluster_uuid_list": [
- "string"
], - "target_type": "string"
}
], - "primary_location_list": [
- 0
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "protection_rule",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Get a list of entities affected by a protection rule based on the filters provided in the protection rule definition.
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. |
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>' \
{- "entity_list": [
- {
- "conflicting_protection_rule_list": [
- {
- "protection_rule_reference": {
- "kind": "protection_rule",
- "name": "string",
- "uuid": "string"
}
}
], - "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}
}
]
}
Get details for a protection rule
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/protection_rules/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "start_time": "string",
- "availability_zone_connectivity_list": [
- {
- "destination_availability_zone_index": 0,
- "source_availability_zone_index": 0,
- "snapshot_schedule_list": [
- {
- "recovery_point_objective_secs": 0,
- "local_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}, - "auto_suspend_timeout_secs": 0,
- "snapshot_type": "string",
- "remote_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}
}
]
}
], - "ordered_availability_zone_list": [
- {
- "cluster_uuid": "string",
- "availability_zone_url": "string",
- "cluster_uuid_list": [
- "string"
], - "target_type": "string"
}
], - "primary_location_list": [
- 0
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "start_time": "string",
- "availability_zone_connectivity_list": [
- {
- "destination_availability_zone_index": 0,
- "source_availability_zone_index": 0,
- "snapshot_schedule_list": [
- {
- "recovery_point_objective_secs": 0,
- "local_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}, - "auto_suspend_timeout_secs": 0,
- "snapshot_type": "string",
- "remote_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}
}
]
}
], - "ordered_availability_zone_list": [
- {
- "cluster_uuid": "string",
- "availability_zone_url": "string",
- "cluster_uuid_list": [
- "string"
], - "target_type": "string"
}
], - "primary_location_list": [
- 0
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "protection_rule",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Get protection rules
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "start_time": "string",
- "availability_zone_connectivity_list": [
- {
- "destination_availability_zone_index": 0,
- "source_availability_zone_index": 0,
- "snapshot_schedule_list": [
- {
- "recovery_point_objective_secs": 0,
- "local_snapshot_retention_policy": {
- "num_snapshots": null,
- "rollup_retention_policy": { }
}, - "auto_suspend_timeout_secs": 0,
- "snapshot_type": "string",
- "remote_snapshot_retention_policy": {
- "num_snapshots": null,
- "rollup_retention_policy": { }
}
}
]
}
], - "ordered_availability_zone_list": [
- {
- "cluster_uuid": "string",
- "availability_zone_url": "string",
- "cluster_uuid_list": [
- "string"
], - "target_type": "string"
}
], - "primary_location_list": [
- 0
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "start_time": "string",
- "availability_zone_connectivity_list": [
- {
- "destination_availability_zone_index": 0,
- "source_availability_zone_index": 0,
- "snapshot_schedule_list": [
- {
- "recovery_point_objective_secs": 0,
- "local_snapshot_retention_policy": {
- "num_snapshots": null,
- "rollup_retention_policy": { }
}, - "auto_suspend_timeout_secs": 0,
- "snapshot_type": "string",
- "remote_snapshot_retention_policy": {
- "num_snapshots": null,
- "rollup_retention_policy": { }
}
}
]
}
], - "ordered_availability_zone_list": [
- {
- "cluster_uuid": "string",
- "availability_zone_url": "string",
- "cluster_uuid_list": [
- "string"
], - "target_type": "string"
}
], - "primary_location_list": [
- 0
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "protection_rule",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "protection_rule",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Modify protection rule
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. |
required | object (Protection Rule creation/modification spec) protection Rule creation/modification spec |
required | object (protection_rule metadata) The protection_rule kind metadata |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "start_time": "string",
- "availability_zone_connectivity_list": [
- {
- "destination_availability_zone_index": 0,
- "source_availability_zone_index": 0,
- "snapshot_schedule_list": [
- {
- "recovery_point_objective_secs": 0,
- "local_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}, - "auto_suspend_timeout_secs": 0,
- "snapshot_type": "string",
- "remote_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}
}
]
}
], - "ordered_availability_zone_list": [
- {
- "cluster_uuid": "string",
- "availability_zone_url": "string",
- "cluster_uuid_list": [
- "string"
], - "target_type": "string"
}
], - "primary_location_list": [
- 0
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "start_time": "string",
- "availability_zone_connectivity_list": [
- {
- "destination_availability_zone_index": 0,
- "source_availability_zone_index": 0,
- "snapshot_schedule_list": [
- {
- "recovery_point_objective_secs": 0,
- "local_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}, - "auto_suspend_timeout_secs": 0,
- "snapshot_type": "string",
- "remote_snapshot_retention_policy": {
- "num_snapshots": 0,
- "rollup_retention_policy": {
- "multiple": 0,
- "snapshot_interval_type": "string"
}
}
}
]
}
], - "ordered_availability_zone_list": [
- {
- "cluster_uuid": "string",
- "availability_zone_url": "string",
- "cluster_uuid_list": [
- "string"
], - "target_type": "string"
}
], - "primary_location_list": [
- 0
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "protection_rule",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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. |
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' \
{- "kind": "protection_rule",
- "code": 0,
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "api_version": "3.1.0"
}
Create a Recovery Plan Job for a Recovery Plan with associated metadata
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 |
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" } } } }'
{- "task_uuid": "string"
}
Delete a Recovery Plan Job given its UUID
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. |
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>' \
{- "task_uuid": "string"
}
Given a UUID, returns a Recovery Plan Job state
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. |
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>' \
{- "status": {
- "validation_information": {
- "errors_list": [
- {
- "message": "string",
- "validation_type": "string",
- "affected_any_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "impact_message_list": [
- "string"
], - "cause_and_resolution_message_list": [
- {
- "resolution_list": [
- "string"
], - "cause": "string"
}
]
}
], - "warnings_list": [
- {
- "message": "string",
- "validation_type": "string",
- "affected_any_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "impact_message_list": [
- "string"
], - "cause_and_resolution_message_list": [
- {
- "resolution_list": [
- "string"
], - "cause": "string"
}
]
}
]
}, - "name": "string",
- "cleanup_status": {
- "status": "string",
- "postprocessing_status": {
- "status": "string",
- "percentage_complete": 0
}, - "operation_status": {
- "status": "string",
- "percentage_complete": 0
}, - "percentage_complete": 0,
- "preprocessing_status": {
- "status": "string",
- "percentage_complete": 0
}
}, - "start_time": "2019-08-24T14:15:22Z",
- "execution_status": {
- "status": "string",
- "postprocessing_status": {
- "status": "string",
- "percentage_complete": 0
}, - "operation_status": {
- "status": "string",
- "percentage_complete": 0
}, - "percentage_complete": 0,
- "preprocessing_status": {
- "status": "string",
- "percentage_complete": 0
}
}, - "recovery_plan_specification": {
- "name": "string",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- {
- "vm_power_state": null,
- "any_entity_reference": null,
- "volume_group_attachment_list": [ ],
- "categories": { },
- "script_list": [ ]
}
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": {
- "ip": null,
- "should_allocate_dynamically": null
}, - "recovery_floating_ip_config": {
- "ip": null,
- "should_allocate_dynamically": null
}, - "vm_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "vm_nic_information": {
- "ip": null,
- "uuid": null
}
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [
- null
], - "test_ip_assignment_list": [
- null
], - "availability_zone_url": "string",
- "recovery_network": {
- "name": null,
- "vpc_reference": null,
- "use_vpc_reference": null,
- "virtual_network_reference": null,
- "subnet_list": [ ]
}, - "test_network": {
- "name": null,
- "vpc_reference": null,
- "use_vpc_reference": null,
- "virtual_network_reference": null,
- "subnet_list": [ ]
}, - "cluster_reference_list": [
- null
]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "test_data_service_ip": "string"
}, - {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "test_data_service_ip": "string"
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "parent_recovery_plan_job_reference": {
- "kind": "recovery_plan_job",
- "name": "string",
- "uuid": "string"
}, - "end_time": "2019-08-24T14:15:22Z",
- "root_recovery_plan_job_reference": {
- "kind": "recovery_plan_job",
- "name": "string",
- "uuid": "string"
}, - "witness_address": "string",
- "resources": {
- "recovery_plan_reference": {
- "kind": "recovery_plan",
- "name": "string",
- "uuid": "string"
}, - "execution_parameters": {
- "recovery_availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "failed_availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "recovery_reference_time": "2019-08-24T14:15:22Z",
- "action_type": "string",
- "should_continue_on_validation_failure": false
}
}
}, - "spec": {
- "name": "string",
- "resources": {
- "recovery_plan_reference": {
- "kind": "recovery_plan",
- "name": "string",
- "uuid": "string"
}, - "execution_parameters": {
- "recovery_availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "failed_availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "recovery_reference_time": "2019-08-24T14:15:22Z",
- "action_type": "string",
- "should_continue_on_validation_failure": false
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "recovery_plan_job",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Get the execution status of the Recovery Plan Job
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 |
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>' \
{- "postprocessing_status": {
- "status": "string",
- "percentage_complete": 0,
- "step_execution_status_list": [
- {
- "status": "string",
- "error_detail": "string",
- "any_entity_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "start_time": "2019-08-24T14:15:22Z",
- "recovered_entity_info_list": [
- {
- "error_detail": "string",
- "source_entity_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "recovered_entity_info": {
- "entity_uuid": "string",
- "entity_name": "string"
}
}
], - "percentage_complete": 0,
- "step_sequence_number": 0,
- "end_time": "2019-08-24T14:15:22Z",
- "operation_type": "string",
- "parent_step_uuid": "string",
- "message": "string",
- "error_code": "string",
- "step_uuid": "string"
}
]
}, - "operation_status": {
- "status": "string",
- "percentage_complete": 0,
- "step_execution_status_list": [
- {
- "status": "string",
- "error_detail": "string",
- "any_entity_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "start_time": "2019-08-24T14:15:22Z",
- "recovered_entity_info_list": [
- {
- "error_detail": "string",
- "source_entity_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "recovered_entity_info": {
- "entity_uuid": "string",
- "entity_name": "string"
}
}
], - "percentage_complete": 0,
- "step_sequence_number": 0,
- "end_time": "2019-08-24T14:15:22Z",
- "operation_type": "string",
- "parent_step_uuid": "string",
- "message": "string",
- "error_code": "string",
- "step_uuid": "string"
}
]
}, - "preprocessing_status": {
- "status": "string",
- "percentage_complete": 0,
- "step_execution_status_list": [
- {
- "status": "string",
- "error_detail": "string",
- "any_entity_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "start_time": "2019-08-24T14:15:22Z",
- "recovered_entity_info_list": [
- {
- "error_detail": "string",
- "source_entity_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "recovered_entity_info": {
- "entity_uuid": "string",
- "entity_name": "string"
}
}
], - "percentage_complete": 0,
- "step_sequence_number": 0,
- "end_time": "2019-08-24T14:15:22Z",
- "operation_type": "string",
- "parent_step_uuid": "string",
- "message": "string",
- "error_code": "string",
- "step_uuid": "string"
}
]
}
}
List the Recovery Plan Jobs
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 |
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" }'
{- "entities": [
- {
- "status": {
- "validation_information": {
- "errors_list": [
- {
- "message": "string",
- "validation_type": "string",
- "affected_any_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "impact_message_list": [
- "string"
], - "cause_and_resolution_message_list": [
- {
- "resolution_list": [
- null
], - "cause": "string"
}
]
}
], - "warnings_list": [
- {
- "message": "string",
- "validation_type": "string",
- "affected_any_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "impact_message_list": [
- "string"
], - "cause_and_resolution_message_list": [
- {
- "resolution_list": [
- null
], - "cause": "string"
}
]
}
]
}, - "name": "string",
- "cleanup_status": {
- "status": "string",
- "postprocessing_status": {
- "status": "string",
- "percentage_complete": 0
}, - "operation_status": {
- "status": "string",
- "percentage_complete": 0
}, - "percentage_complete": 0,
- "preprocessing_status": {
- "status": "string",
- "percentage_complete": 0
}
}, - "start_time": "2019-08-24T14:15:22Z",
- "execution_status": {
- "status": "string",
- "postprocessing_status": {
- "status": "string",
- "percentage_complete": 0
}, - "operation_status": {
- "status": "string",
- "percentage_complete": 0
}, - "percentage_complete": 0,
- "preprocessing_status": {
- "status": "string",
- "percentage_complete": 0
}
}, - "recovery_plan_specification": {
- "name": "string",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": null,
- "target_secret": null,
- "volume_group_reference": null
}
], - "category_filter": {
- "kind_list": [
- null
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [ ],
- "property2": [ ]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [ ]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- { }
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- { }
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- null,
- null
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- null
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "parent_recovery_plan_job_reference": {
- "kind": "recovery_plan_job",
- "name": "string",
- "uuid": "string"
}, - "end_time": "2019-08-24T14:15:22Z",
- "root_recovery_plan_job_reference": {
- "kind": "recovery_plan_job",
- "name": "string",
- "uuid": "string"
}, - "witness_address": "string",
- "resources": {
- "recovery_plan_reference": {
- "kind": "recovery_plan",
- "name": "string",
- "uuid": "string"
}, - "execution_parameters": {
- "recovery_availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "availability_zone_url": "string"
}
], - "failed_availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "availability_zone_url": "string"
}
], - "recovery_reference_time": "2019-08-24T14:15:22Z",
- "action_type": "string",
- "should_continue_on_validation_failure": false
}
}
}, - "spec": {
- "name": "string",
- "resources": {
- "recovery_plan_reference": {
- "kind": "recovery_plan",
- "name": "string",
- "uuid": "string"
}, - "execution_parameters": {
- "recovery_availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "availability_zone_url": "string"
}
], - "failed_availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "availability_zone_url": "string"
}
], - "recovery_reference_time": "2019-08-24T14:15:22Z",
- "action_type": "string",
- "should_continue_on_validation_failure": false
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "recovery_plan_job",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "recovery_plan_job",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Perform an action on Recovery Plan Job
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
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. |
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 }'
{- "task_uuid": "string"
}
Given a spec creates a Recovery Plan with associated metadata
Request body
required | object (Recovery Plan creation/modification spec) Recovery Plan creation/modification spec |
required | object (recovery_plan metadata) The recovery_plan kind metadata |
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" } } ] } } }'
{- "status": {
- "name": "string",
- "recovery_availability_zone_order_list": [
- {
- "availability_zone_url": "string",
- "availability_zone_order_list": [
- {
- "availability_zone_list": [
- {
- "cluster": "string",
- "availability_zone_url": "string"
}
]
}
]
}
], - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "latest_validation_time": "2019-08-24T14:15:22Z",
- "latest_test_time": "2019-08-24T14:15:22Z",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- {
- "vm_power_state": "string",
- "any_entity_reference": {
- "url": null,
- "kind": null,
- "uuid": null,
- "name": null
}, - "volume_group_attachment_list": [
- { }
], - "categories": {
- "property1": null,
- "property2": null
}, - "script_list": [
- null
]
}
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "recovery_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vm_nic_information": {
- "ip": "string",
- "uuid": "string"
}
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "test_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "availability_zone_url": "string",
- "recovery_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "test_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}, - {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- {
- "vm_power_state": "string",
- "any_entity_reference": {
- "url": null,
- "kind": null,
- "uuid": null,
- "name": null
}, - "volume_group_attachment_list": [
- { }
], - "categories": {
- "property1": null,
- "property2": null
}, - "script_list": [
- null
]
}
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "recovery_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vm_nic_information": {
- "ip": "string",
- "uuid": "string"
}
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "test_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "availability_zone_url": "string",
- "recovery_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "test_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}, - {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "recovery_plan",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Delete a Recovery Plan given its UUID
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/recovery_plans/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "recovery_availability_zone_order_list": [
- {
- "availability_zone_url": "string",
- "availability_zone_order_list": [
- {
- "availability_zone_list": [
- {
- "cluster": "string",
- "availability_zone_url": "string"
}
]
}
]
}
], - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "latest_validation_time": "2019-08-24T14:15:22Z",
- "latest_test_time": "2019-08-24T14:15:22Z",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- {
- "vm_power_state": "string",
- "any_entity_reference": {
- "url": null,
- "kind": null,
- "uuid": null,
- "name": null
}, - "volume_group_attachment_list": [
- { }
], - "categories": {
- "property1": null,
- "property2": null
}, - "script_list": [
- null
]
}
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "recovery_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vm_nic_information": {
- "ip": "string",
- "uuid": "string"
}
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "test_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "availability_zone_url": "string",
- "recovery_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "test_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}, - {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- {
- "vm_power_state": "string",
- "any_entity_reference": {
- "url": null,
- "kind": null,
- "uuid": null,
- "name": null
}, - "volume_group_attachment_list": [
- { }
], - "categories": {
- "property1": null,
- "property2": null
}, - "script_list": [
- null
]
}
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "recovery_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vm_nic_information": {
- "ip": "string",
- "uuid": "string"
}
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "test_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "availability_zone_url": "string",
- "recovery_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "test_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}, - {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "recovery_plan",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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_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 " |
recovery_availability_zone_info_list | Array of strings List of Availability Zone URL and cluster UUIDs. Sample format is " |
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. |
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>' \
{- "entities_per_availability_zone_list": [
- {
- "availability_zone_url": "string",
- "availability_zone_order_list": [
- {
- "availability_zone_list": [
- {
- "availability_zone_url": "string"
}
]
}
], - "entity_list": [
- {
- "protection_status": "string",
- "recoverability": {
- "status": "string",
- "reason": "string"
}, - "recovery_availability_zone_order_index": 0,
- "is_recovery_point": true,
- "replication_status": "string",
- "any_entity_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
]
}
]
}
Given a UUID, returns a Recovery Plan definition
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/recovery_plans/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "recovery_availability_zone_order_list": [
- {
- "availability_zone_url": "string",
- "availability_zone_order_list": [
- {
- "availability_zone_list": [
- {
- "cluster": "string",
- "availability_zone_url": "string"
}
]
}
]
}
], - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "latest_validation_time": "2019-08-24T14:15:22Z",
- "latest_test_time": "2019-08-24T14:15:22Z",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- {
- "vm_power_state": "string",
- "any_entity_reference": {
- "url": null,
- "kind": null,
- "uuid": null,
- "name": null
}, - "volume_group_attachment_list": [
- { }
], - "categories": {
- "property1": null,
- "property2": null
}, - "script_list": [
- null
]
}
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "recovery_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vm_nic_information": {
- "ip": "string",
- "uuid": "string"
}
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "test_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "availability_zone_url": "string",
- "recovery_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "test_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}, - {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- {
- "vm_power_state": "string",
- "any_entity_reference": {
- "url": null,
- "kind": null,
- "uuid": null,
- "name": null
}, - "volume_group_attachment_list": [
- { }
], - "categories": {
- "property1": null,
- "property2": null
}, - "script_list": [
- null
]
}
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "recovery_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vm_nic_information": {
- "ip": "string",
- "uuid": "string"
}
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "test_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "availability_zone_url": "string",
- "recovery_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "test_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}, - {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "recovery_plan",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
List the Recovery Plans with associated metadata
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "recovery_availability_zone_order_list": [
- {
- "availability_zone_url": "string",
- "availability_zone_order_list": [
- {
- "availability_zone_list": [
- {
- "cluster": null,
- "availability_zone_url": null
}
]
}
]
}
], - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "latest_validation_time": "2019-08-24T14:15:22Z",
- "latest_test_time": "2019-08-24T14:15:22Z",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- null
], - "property2": [
- null
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- { }
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": null,
- "recovery_floating_ip_config": null,
- "vm_reference": null,
- "vm_nic_information": { }
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [ ],
- "test_ip_assignment_list": [ ],
- "availability_zone_url": null,
- "recovery_network": null,
- "test_network": null,
- "cluster_reference_list": [ ]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": null,
- "availability_zone_url": null,
- "cluster_reference": null,
- "test_data_service_ip": null
}, - {
- "recovery_data_service_ip": null,
- "availability_zone_url": null,
- "cluster_reference": null,
- "test_data_service_ip": null
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- null
], - "property2": [
- null
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- { }
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": null,
- "recovery_floating_ip_config": null,
- "vm_reference": null,
- "vm_nic_information": { }
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [ ],
- "test_ip_assignment_list": [ ],
- "availability_zone_url": null,
- "recovery_network": null,
- "test_network": null,
- "cluster_reference_list": [ ]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": null,
- "availability_zone_url": null,
- "cluster_reference": null,
- "test_data_service_ip": null
}, - {
- "recovery_data_service_ip": null,
- "availability_zone_url": null,
- "cluster_reference": null,
- "test_data_service_ip": null
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "recovery_plan",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "recovery_plan",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Given a spec and Recovery Plan UUID, update Recovery Plan
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. |
required | object (Recovery Plan creation/modification spec) Recovery Plan creation/modification spec |
required | object (recovery_plan metadata) The recovery_plan kind metadata |
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" } } ] } } }'
{- "status": {
- "name": "string",
- "recovery_availability_zone_order_list": [
- {
- "availability_zone_url": "string",
- "availability_zone_order_list": [
- {
- "availability_zone_list": [
- {
- "cluster": "string",
- "availability_zone_url": "string"
}
]
}
]
}
], - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "latest_validation_time": "2019-08-24T14:15:22Z",
- "latest_test_time": "2019-08-24T14:15:22Z",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- {
- "vm_power_state": "string",
- "any_entity_reference": {
- "url": null,
- "kind": null,
- "uuid": null,
- "name": null
}, - "volume_group_attachment_list": [
- { }
], - "categories": {
- "property1": null,
- "property2": null
}, - "script_list": [
- null
]
}
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "recovery_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vm_nic_information": {
- "ip": "string",
- "uuid": "string"
}
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "test_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "availability_zone_url": "string",
- "recovery_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "test_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}, - {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "volume_group_recovery_info_list": [
- {
- "volume_group_config_info_list": [
- {
- "authentication_type": "string",
- "target_secret": "pa$$word_qwe",
- "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "category_filter": {
- "kind_list": [
- "string"
], - "type": "CATEGORIES_MATCH_ANY",
- "params": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "volume_group_reference": {
- "kind": "volume_group",
- "name": "string",
- "uuid": "string"
}
}
], - "stage_list": [
- {
- "stage_work": {
- "recover_entities": {
- "entity_info_list": [
- {
- "vm_power_state": "string",
- "any_entity_reference": {
- "url": null,
- "kind": null,
- "uuid": null,
- "name": null
}, - "volume_group_attachment_list": [
- { }
], - "categories": {
- "property1": null,
- "property2": null
}, - "script_list": [
- null
]
}
]
}
}, - "stage_uuid": "string",
- "delay_time_secs": 0
}
], - "parameters": {
- "floating_ip_assignment_list": [
- {
- "availability_zone_url": "string",
- "vm_ip_assignment_list": [
- {
- "test_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "recovery_floating_ip_config": {
- "ip": "string",
- "should_allocate_dynamically": true
}, - "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vm_nic_information": {
- "ip": "string",
- "uuid": "string"
}
}
]
}
], - "witness_configuration_list": [
- {
- "witness_address": "string",
- "witness_failover_timeout_secs": 1
}
], - "cutover_mode": "string",
- "network_mapping_list": [
- {
- "are_networks_stretched": true,
- "availability_zone_network_mapping_list": [
- {
- "recovery_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "test_ip_assignment_list": [
- {
- "ip_config_list": [ ],
- "vm_reference": null
}
], - "availability_zone_url": "string",
- "recovery_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "test_network": {
- "name": "string",
- "vpc_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "use_vpc_reference": true,
- "virtual_network_reference": {
- "kind": null,
- "name": null,
- "uuid": null
}, - "subnet_list": [
- null
]
}, - "cluster_reference_list": [
- {
- "kind": null,
- "name": null,
- "uuid": null
}
]
}
]
}
], - "data_service_ip_mapping_list": [
- {
- "data_service_ip_mapping": [
- {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}, - {
- "recovery_data_service_ip": "string",
- "availability_zone_url": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "test_data_service_ip": "string"
}
]
}
], - "availability_zone_list": [
- {
- "cluster_reference_list": [
- {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
], - "availability_zone_url": "string"
}
], - "primary_location_index": 0
}
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "recovery_plan",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to create a new Remote Syslog modules list based on the input parameters.
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 |
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" } ] } } }'
{- "status": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
]
}
}, - "spec": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "remote_syslog_module",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing Remote Syslog modules list.
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. |
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>' \
{- "status": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
]
}
}, - "spec": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "remote_syslog_module",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing Remote Syslog modules list.
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. |
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>' \
{- "status": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
]
}
}, - "spec": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "remote_syslog_module",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
]
}
}, - "spec": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "remote_syslog_module",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "remote_syslog_module",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing Remote Syslog modules list based on the input 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. |
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 |
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" } ] } } }'
{- "status": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
]
}
}, - "spec": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
]
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "remote_syslog_module",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to create a new Remote Syslog server based on the input parameters.
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 |
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" } } }'
{- "status": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
}, - "spec": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "remote_syslog_server",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing Remote Syslog server.
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. |
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>' \
{- "status": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
}, - "spec": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "remote_syslog_server",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing Remote Syslog server.
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. |
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>' \
{- "status": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
}, - "spec": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "remote_syslog_server",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
}, - "spec": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "remote_syslog_server",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "remote_syslog_server",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Remote Syslog servers configured on all PEs registered to PC.
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>' \
{- "pe_list": [
- {
- "rsyslog_server_list": [
- {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
], - "cluster_version": "string",
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}
]
}
This operation submits a request to update a existing Remote Syslog server based on the input 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. |
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 |
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" } } }'
{- "status": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
}, - "spec": {
- "resources": {
- "module_list": [
- {
- "module_name": "string",
- "log_severity_level": 7
}
], - "ip_address": "string",
- "port": 0,
- "server_name": "string",
- "network_protocol": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "remote_syslog_server",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This will generate the report for a specified report config uuid.
required | object (Report instance definition.) Report instance creation/modification spec. |
required | object (report_instance metadata) The report_instance kind metadata |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "description": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
], - "error_message": "string",
- "data_start_time": "2019-08-24T14:15:22Z",
- "generation_format": [
- "string"
], - "recipient_format": [
- "string"
], - "save_instance": true,
- "data_end_time": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "runtime_key_values": {
- "property1": "string",
- "property2": "string"
}, - "generation_status": "string",
- "report_config_reference": {
- "kind": "report_config",
- "name": "string",
- "uuid": "string"
}
}
}, - "spec": {
- "name": "string",
- "resources": {
- "description": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
], - "data_start_time": "2019-08-24T14:15:22Z",
- "generation_format": [
- "string"
], - "recipient_format": [
- "string"
], - "save_instance": true,
- "data_end_time": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "runtime_key_values": {
- "property1": "string",
- "property2": "string"
}, - "report_config_reference": {
- "kind": "report_config",
- "name": "string",
- "uuid": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "report_instance",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Given an intentful spec, creates a report config with specified attributes.
required | object (Report Config creation/modification spec) Report Config creation/modification spec. |
required | object (report_config metadata) The report_config kind metadata |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "end_time_offset_secs": 0,
- "schedule": {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}, - "template_spec_version": "string",
- "generation_format": [
- "string"
], - "start_time_offset_secs": 0,
- "template": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": {
- "widget_field_list": [
- null
], - "entity_type": "string",
- "repetition_criteria": {
- "repetition_rule": null,
- "entity_type": null
}, - "widget_data_projection": {
- "filter_criteria": null,
- "sort_key": null,
- "sort_column": null,
- "sort_order": null,
- "limit": null,
- "custom_key_values": null
}, - "widget_description": "string",
- "widget_type": "string",
- "widget_size": "string",
- "widget_heading": "string"
}, - "section_id": "string",
- "widget_id": "string"
}
]
}
], - "sections": [
- {
- "repetition_criteria": {
- "repetition_rule": "string",
- "entity_type": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": null,
- "section_id": null,
- "widget_id": null
}
]
}
], - "description": "string",
- "name": "string",
- "section_id": "string"
}
], - "name": "string"
}, - "timezone": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}, - "out_of_box_report": true
}
}, - "spec": {
- "name": "string",
- "resources": {
- "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "end_time_offset_secs": 0,
- "schedule": {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}, - "template_spec_version": "string",
- "start_time_offset_secs": 0,
- "generation_format": [
- "string"
], - "template": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": {
- "widget_field_list": [
- null
], - "entity_type": "string",
- "repetition_criteria": {
- "repetition_rule": null,
- "entity_type": null
}, - "widget_data_projection": {
- "filter_criteria": null,
- "sort_key": null,
- "sort_column": null,
- "sort_order": null,
- "limit": null,
- "custom_key_values": null
}, - "widget_description": "string",
- "widget_type": "string",
- "widget_size": "string",
- "widget_heading": "string"
}, - "section_id": "string",
- "widget_id": "string"
}
]
}
], - "sections": [
- {
- "repetition_criteria": {
- "repetition_rule": "string",
- "entity_type": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": null,
- "section_id": null,
- "widget_id": null
}
]
}
], - "description": "string",
- "name": "string",
- "section_id": "string"
}
], - "name": "string"
}, - "timezone": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "report_config",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Delete a report config given its uuid.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/report_configs/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "end_time_offset_secs": 0,
- "schedule": {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}, - "template_spec_version": "string",
- "generation_format": [
- "string"
], - "start_time_offset_secs": 0,
- "template": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": {
- "widget_field_list": [
- null
], - "entity_type": "string",
- "repetition_criteria": {
- "repetition_rule": null,
- "entity_type": null
}, - "widget_data_projection": {
- "filter_criteria": null,
- "sort_key": null,
- "sort_column": null,
- "sort_order": null,
- "limit": null,
- "custom_key_values": null
}, - "widget_description": "string",
- "widget_type": "string",
- "widget_size": "string",
- "widget_heading": "string"
}, - "section_id": "string",
- "widget_id": "string"
}
]
}
], - "sections": [
- {
- "repetition_criteria": {
- "repetition_rule": "string",
- "entity_type": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": null,
- "section_id": null,
- "widget_id": null
}
]
}
], - "description": "string",
- "name": "string",
- "section_id": "string"
}
], - "name": "string"
}, - "timezone": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}, - "out_of_box_report": true
}
}, - "spec": {
- "name": "string",
- "resources": {
- "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "end_time_offset_secs": 0,
- "schedule": {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}, - "template_spec_version": "string",
- "start_time_offset_secs": 0,
- "generation_format": [
- "string"
], - "template": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": {
- "widget_field_list": [
- null
], - "entity_type": "string",
- "repetition_criteria": {
- "repetition_rule": null,
- "entity_type": null
}, - "widget_data_projection": {
- "filter_criteria": null,
- "sort_key": null,
- "sort_column": null,
- "sort_order": null,
- "limit": null,
- "custom_key_values": null
}, - "widget_description": "string",
- "widget_type": "string",
- "widget_size": "string",
- "widget_heading": "string"
}, - "section_id": "string",
- "widget_id": "string"
}
]
}
], - "sections": [
- {
- "repetition_criteria": {
- "repetition_rule": "string",
- "entity_type": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": null,
- "section_id": null,
- "widget_id": null
}
]
}
], - "description": "string",
- "name": "string",
- "section_id": "string"
}
], - "name": "string"
}, - "timezone": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "report_config",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Delete the generated report instance.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/report_instances/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "description": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
], - "error_message": "string",
- "data_start_time": "2019-08-24T14:15:22Z",
- "generation_format": [
- "string"
], - "recipient_format": [
- "string"
], - "save_instance": true,
- "data_end_time": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "runtime_key_values": {
- "property1": "string",
- "property2": "string"
}, - "generation_status": "string",
- "report_config_reference": {
- "kind": "report_config",
- "name": "string",
- "uuid": "string"
}
}
}, - "spec": {
- "name": "string",
- "resources": {
- "description": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
], - "data_start_time": "2019-08-24T14:15:22Z",
- "generation_format": [
- "string"
], - "recipient_format": [
- "string"
], - "save_instance": true,
- "data_end_time": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "runtime_key_values": {
- "property1": "string",
- "property2": "string"
}, - "report_config_reference": {
- "kind": "report_config",
- "name": "string",
- "uuid": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "report_instance",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Download a resource.
type required | string(\breport_instance\b|\breport_instance_pdf\b|... Type of resource to be downloaded. Supported types are.
|
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. |
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.
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. |
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" } }'
{- "kind": "report_instance",
- "code": 0,
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "api_version": "3.1.0"
}
Given a UUID, returns a report config.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/report_configs/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "end_time_offset_secs": 0,
- "schedule": {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}, - "template_spec_version": "string",
- "generation_format": [
- "string"
], - "start_time_offset_secs": 0,
- "template": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": {
- "widget_field_list": [
- null
], - "entity_type": "string",
- "repetition_criteria": {
- "repetition_rule": null,
- "entity_type": null
}, - "widget_data_projection": {
- "filter_criteria": null,
- "sort_key": null,
- "sort_column": null,
- "sort_order": null,
- "limit": null,
- "custom_key_values": null
}, - "widget_description": "string",
- "widget_type": "string",
- "widget_size": "string",
- "widget_heading": "string"
}, - "section_id": "string",
- "widget_id": "string"
}
]
}
], - "sections": [
- {
- "repetition_criteria": {
- "repetition_rule": "string",
- "entity_type": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": null,
- "section_id": null,
- "widget_id": null
}
]
}
], - "description": "string",
- "name": "string",
- "section_id": "string"
}
], - "name": "string"
}, - "timezone": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}, - "out_of_box_report": true
}
}, - "spec": {
- "name": "string",
- "resources": {
- "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "end_time_offset_secs": 0,
- "schedule": {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}, - "template_spec_version": "string",
- "start_time_offset_secs": 0,
- "generation_format": [
- "string"
], - "template": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": {
- "widget_field_list": [
- null
], - "entity_type": "string",
- "repetition_criteria": {
- "repetition_rule": null,
- "entity_type": null
}, - "widget_data_projection": {
- "filter_criteria": null,
- "sort_key": null,
- "sort_column": null,
- "sort_order": null,
- "limit": null,
- "custom_key_values": null
}, - "widget_description": "string",
- "widget_type": "string",
- "widget_size": "string",
- "widget_heading": "string"
}, - "section_id": "string",
- "widget_id": "string"
}
]
}
], - "sections": [
- {
- "repetition_criteria": {
- "repetition_rule": "string",
- "entity_type": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": null,
- "section_id": null,
- "widget_id": null
}
]
}
], - "description": "string",
- "name": "string",
- "section_id": "string"
}
], - "name": "string"
}, - "timezone": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "report_config",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Get the list of all the generated report instances.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "description": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
], - "error_message": "string",
- "data_start_time": "2019-08-24T14:15:22Z",
- "generation_format": [
- "string"
], - "recipient_format": [
- "string"
], - "save_instance": true,
- "data_end_time": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "runtime_key_values": {
- "property1": "string",
- "property2": "string"
}, - "generation_status": "string",
- "report_config_reference": {
- "kind": "report_config",
- "name": "string",
- "uuid": "string"
}
}
}, - "spec": {
- "name": "string",
- "resources": {
- "description": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
], - "data_start_time": "2019-08-24T14:15:22Z",
- "generation_format": [
- "string"
], - "recipient_format": [
- "string"
], - "save_instance": true,
- "data_end_time": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "runtime_key_values": {
- "property1": "string",
- "property2": "string"
}, - "report_config_reference": {
- "kind": "report_config",
- "name": "string",
- "uuid": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "report_instance",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "report_instance",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Get the specified report instance.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/report_instances/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "description": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
], - "error_message": "string",
- "data_start_time": "2019-08-24T14:15:22Z",
- "generation_format": [
- "string"
], - "recipient_format": [
- "string"
], - "save_instance": true,
- "data_end_time": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "runtime_key_values": {
- "property1": "string",
- "property2": "string"
}, - "generation_status": "string",
- "report_config_reference": {
- "kind": "report_config",
- "name": "string",
- "uuid": "string"
}
}
}, - "spec": {
- "name": "string",
- "resources": {
- "description": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
], - "data_start_time": "2019-08-24T14:15:22Z",
- "generation_format": [
- "string"
], - "recipient_format": [
- "string"
], - "save_instance": true,
- "data_end_time": "2019-08-24T14:15:22Z",
- "timezone": "string",
- "runtime_key_values": {
- "property1": "string",
- "property2": "string"
}, - "report_config_reference": {
- "kind": "report_config",
- "name": "string",
- "uuid": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "report_instance",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
List the report configs with associated metadata.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "end_time_offset_secs": 0,
- "schedule": {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}, - "template_spec_version": "string",
- "generation_format": [
- "string"
], - "start_time_offset_secs": 0,
- "template": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": null,
- "section_id": null,
- "widget_id": null
}
]
}
], - "sections": [
- {
- "repetition_criteria": {
- "repetition_rule": "string",
- "entity_type": "string"
}, - "template_rows": [
- {
- "row_element_list": [ ]
}
], - "description": "string",
- "name": "string",
- "section_id": "string"
}
], - "name": "string"
}, - "timezone": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}, - "out_of_box_report": true
}
}, - "spec": {
- "name": "string",
- "resources": {
- "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "end_time_offset_secs": 0,
- "schedule": {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}, - "template_spec_version": "string",
- "start_time_offset_secs": 0,
- "generation_format": [
- "string"
], - "template": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": null,
- "section_id": null,
- "widget_id": null
}
]
}
], - "sections": [
- {
- "repetition_criteria": {
- "repetition_rule": "string",
- "entity_type": "string"
}, - "template_rows": [
- {
- "row_element_list": [ ]
}
], - "description": "string",
- "name": "string",
- "section_id": "string"
}
], - "name": "string"
}, - "timezone": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "report_config",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "report_config",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation updates a common report configuration based on the UUID and intentful spec.
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. |
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 |
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 } } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}
}
}, - "spec": {
- "name": "string",
- "resources": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "common_report_config",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Given an intenful spec and report config uuid, update report config.
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. |
required | object (Report Config creation/modification spec) Report Config creation/modification spec. |
required | object (report_config metadata) The report_config kind metadata |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "end_time_offset_secs": 0,
- "schedule": {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}, - "template_spec_version": "string",
- "generation_format": [
- "string"
], - "start_time_offset_secs": 0,
- "template": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": {
- "widget_field_list": [
- null
], - "entity_type": "string",
- "repetition_criteria": {
- "repetition_rule": null,
- "entity_type": null
}, - "widget_data_projection": {
- "filter_criteria": null,
- "sort_key": null,
- "sort_column": null,
- "sort_order": null,
- "limit": null,
- "custom_key_values": null
}, - "widget_description": "string",
- "widget_type": "string",
- "widget_size": "string",
- "widget_heading": "string"
}, - "section_id": "string",
- "widget_id": "string"
}
]
}
], - "sections": [
- {
- "repetition_criteria": {
- "repetition_rule": "string",
- "entity_type": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": null,
- "section_id": null,
- "widget_id": null
}
]
}
], - "description": "string",
- "name": "string",
- "section_id": "string"
}
], - "name": "string"
}, - "timezone": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}, - "out_of_box_report": true
}
}, - "spec": {
- "name": "string",
- "resources": {
- "retention_policy": {
- "retention_time_secs": 0,
- "instance_count": 0
}, - "description": "string",
- "end_time_offset_secs": 0,
- "schedule": {
- "interval_type": "string",
- "duration_secs": 0,
- "start_time": "2019-08-24T14:15:22Z",
- "interval_multiple": 0,
- "day_of_week": [
- "string"
], - "end_time": "2019-08-24T14:15:22Z",
- "is_suspended": true
}, - "template_spec_version": "string",
- "start_time_offset_secs": 0,
- "generation_format": [
- "string"
], - "template": {
- "report_customization": {
- "footer_html": "string",
- "css_style_sheet": "string",
- "header_html": "string",
- "logo_image_uuid": "string",
- "overridable_style_sheet": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": {
- "widget_field_list": [
- null
], - "entity_type": "string",
- "repetition_criteria": {
- "repetition_rule": null,
- "entity_type": null
}, - "widget_data_projection": {
- "filter_criteria": null,
- "sort_key": null,
- "sort_column": null,
- "sort_order": null,
- "limit": null,
- "custom_key_values": null
}, - "widget_description": "string",
- "widget_type": "string",
- "widget_size": "string",
- "widget_heading": "string"
}, - "section_id": "string",
- "widget_id": "string"
}
]
}
], - "sections": [
- {
- "repetition_criteria": {
- "repetition_rule": "string",
- "entity_type": "string"
}, - "template_rows": [
- {
- "row_element_list": [
- {
- "widget_config": null,
- "section_id": null,
- "widget_id": null
}
]
}
], - "description": "string",
- "name": "string",
- "section_id": "string"
}
], - "name": "string"
}, - "timezone": "string",
- "notification_policy": {
- "email_config": {
- "email_subject": "string",
- "recipient_format": [
- "string"
], - "email_body": "string",
- "recipient_list": [
- {
- "email_address": "string",
- "recipient_name": "string"
}
]
}
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "report_config",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This uploads a file and returns the UUID for the same.
type required | string(\breport_instance\b|\breport_instance_pdf\b|... Type of the file to be uploaded. Supported types are
|
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' \
{- "resource_uuid": "string"
}
"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."
required | object (Role.) Role Input Definition. |
required | object (role metadata) The role kind metadata |
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" } ] } } }'
{- "status": {
- "name": "string",
- "is_system_defined": true,
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "permission_reference_list": [
- {
- "kind": "permission",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "permission_reference_list": [
- {
- "kind": "permission",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "role",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Delete a role.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/roles/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "is_system_defined": true,
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "permission_reference_list": [
- {
- "kind": "permission",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "permission_reference_list": [
- {
- "kind": "permission",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "role",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Get a role.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/roles/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "is_system_defined": true,
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "permission_reference_list": [
- {
- "kind": "permission",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "permission_reference_list": [
- {
- "kind": "permission",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "role",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Get roles.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "is_system_defined": true,
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "permission_reference_list": [
- {
- "kind": "permission",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "permission_reference_list": [
- {
- "kind": "permission",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "role",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "role",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Update a role.
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. |
required | object (Role.) Role Input Definition. |
required | object (role metadata) The role kind metadata |
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" } ] } } }'
{- "status": {
- "name": "string",
- "is_system_defined": true,
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "permission_reference_list": [
- {
- "kind": "permission",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "permission_reference_list": [
- {
- "kind": "permission",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "role",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation clears the counter values for all routing policies in the VPC.
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. |
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' \
{- "kind": "routing_policy",
- "code": 0,
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "api_version": "3.1.0"
}
This operation clears the counter values for a particular routing policy.
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. |
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' \
{- "kind": "routing_policy",
- "code": 0,
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "state": "string",
- "api_version": "3.1.0"
}
This operation submits a request to create a new routing_policy based on the input parameters. A routing policy that defines traffic behavior.
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 |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "service_ip_counters_reverse_direction": [
- {
- "received": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip": "string",
- "sent": {
- "packet_count": 0,
- "byte_count": 0
}
}
], - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "error_message": "string",
- "routing_policy_counters_reverse_direction": {
- "packet_count": 0,
- "byte_count": 0
}, - "destination": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 0
}, - "address_type": "string"
}, - "reroute_fallback_counters": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip_counters": [
- {
- "received": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip": "string",
- "sent": {
- "packet_count": 0,
- "byte_count": 0
}
}
], - "is_bidirectional": false,
- "source": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 0
}, - "address_type": "string"
}, - "routing_policy_counters": {
- "packet_count": 0,
- "byte_count": 0
}, - "protocol_parameters": {
- "udp": {
- "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
}
], - "destination_port_range": {
- "end_port": 0,
- "start_port": 0
}
}, - "icmp": {
- "icmp_code": 0,
- "icmp_type": 0
}, - "protocol_number": 0,
- "tcp": {
- "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
}
], - "destination_port_range": {
- "end_port": 0,
- "start_port": 0
}
}
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "reroute_fallback_counters_reverse_direction": {
- "packet_count": 0,
- "byte_count": 0
}, - "action": {
- "action": "string",
- "service_ip_list": [
- "string"
], - "reroute_fallback": "string"
}, - "protocol_type": "string",
- "priority": 0
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "is_bidirectional": false,
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "destination": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "address_type": "string"
}, - "priority": 1,
- "source": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "address_type": "string"
}, - "protocol_parameters": {
- "udp": {
- "destination_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "source_port_range": {
- "end_port": 65535,
- "start_port": 65535
}, - "source_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "destination_port_range": {
- "end_port": 65535,
- "start_port": 65535
}
}, - "icmp": {
- "icmp_code": 255,
- "icmp_type": 255
}, - "protocol_number": 255,
- "tcp": {
- "destination_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "source_port_range": {
- "end_port": 65535,
- "start_port": 65535
}, - "source_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "destination_port_range": {
- "end_port": 65535,
- "start_port": 65535
}
}
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "action": {
- "action": "string",
- "service_ip_list": [
- "string"
], - "reroute_fallback": "string"
}, - "protocol_type": "string"
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "routing_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing routing_policy.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/routing_policies/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "service_ip_counters_reverse_direction": [
- {
- "received": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip": "string",
- "sent": {
- "packet_count": 0,
- "byte_count": 0
}
}
], - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "error_message": "string",
- "routing_policy_counters_reverse_direction": {
- "packet_count": 0,
- "byte_count": 0
}, - "destination": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 0
}, - "address_type": "string"
}, - "reroute_fallback_counters": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip_counters": [
- {
- "received": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip": "string",
- "sent": {
- "packet_count": 0,
- "byte_count": 0
}
}
], - "is_bidirectional": false,
- "source": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 0
}, - "address_type": "string"
}, - "routing_policy_counters": {
- "packet_count": 0,
- "byte_count": 0
}, - "protocol_parameters": {
- "udp": {
- "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
}
], - "destination_port_range": {
- "end_port": 0,
- "start_port": 0
}
}, - "icmp": {
- "icmp_code": 0,
- "icmp_type": 0
}, - "protocol_number": 0,
- "tcp": {
- "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
}
], - "destination_port_range": {
- "end_port": 0,
- "start_port": 0
}
}
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "reroute_fallback_counters_reverse_direction": {
- "packet_count": 0,
- "byte_count": 0
}, - "action": {
- "action": "string",
- "service_ip_list": [
- "string"
], - "reroute_fallback": "string"
}, - "protocol_type": "string",
- "priority": 0
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "is_bidirectional": false,
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "destination": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "address_type": "string"
}, - "priority": 1,
- "source": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "address_type": "string"
}, - "protocol_parameters": {
- "udp": {
- "destination_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "source_port_range": {
- "end_port": 65535,
- "start_port": 65535
}, - "source_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "destination_port_range": {
- "end_port": 65535,
- "start_port": 65535
}
}, - "icmp": {
- "icmp_code": 255,
- "icmp_type": 255
}, - "protocol_number": 255,
- "tcp": {
- "destination_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "source_port_range": {
- "end_port": 65535,
- "start_port": 65535
}, - "source_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "destination_port_range": {
- "end_port": 65535,
- "start_port": 65535
}
}
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "action": {
- "action": "string",
- "service_ip_list": [
- "string"
], - "reroute_fallback": "string"
}, - "protocol_type": "string"
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "routing_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing routing_policy.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/routing_policies/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "service_ip_counters_reverse_direction": [
- {
- "received": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip": "string",
- "sent": {
- "packet_count": 0,
- "byte_count": 0
}
}
], - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "error_message": "string",
- "routing_policy_counters_reverse_direction": {
- "packet_count": 0,
- "byte_count": 0
}, - "destination": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 0
}, - "address_type": "string"
}, - "reroute_fallback_counters": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip_counters": [
- {
- "received": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip": "string",
- "sent": {
- "packet_count": 0,
- "byte_count": 0
}
}
], - "is_bidirectional": false,
- "source": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 0
}, - "address_type": "string"
}, - "routing_policy_counters": {
- "packet_count": 0,
- "byte_count": 0
}, - "protocol_parameters": {
- "udp": {
- "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
}
], - "destination_port_range": {
- "end_port": 0,
- "start_port": 0
}
}, - "icmp": {
- "icmp_code": 0,
- "icmp_type": 0
}, - "protocol_number": 0,
- "tcp": {
- "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
}
], - "destination_port_range": {
- "end_port": 0,
- "start_port": 0
}
}
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "reroute_fallback_counters_reverse_direction": {
- "packet_count": 0,
- "byte_count": 0
}, - "action": {
- "action": "string",
- "service_ip_list": [
- "string"
], - "reroute_fallback": "string"
}, - "protocol_type": "string",
- "priority": 0
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "is_bidirectional": false,
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "destination": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "address_type": "string"
}, - "priority": 1,
- "source": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "address_type": "string"
}, - "protocol_parameters": {
- "udp": {
- "destination_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "source_port_range": {
- "end_port": 65535,
- "start_port": 65535
}, - "source_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "destination_port_range": {
- "end_port": 65535,
- "start_port": 65535
}
}, - "icmp": {
- "icmp_code": 255,
- "icmp_type": 255
}, - "protocol_number": 255,
- "tcp": {
- "destination_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "source_port_range": {
- "end_port": 65535,
- "start_port": 65535
}, - "source_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "destination_port_range": {
- "end_port": 65535,
- "start_port": 65535
}
}
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "action": {
- "action": "string",
- "service_ip_list": [
- "string"
], - "reroute_fallback": "string"
}, - "protocol_type": "string"
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "routing_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of routing_policies, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "service_ip_counters_reverse_direction": [
- {
- "received": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip": "string",
- "sent": {
- "packet_count": 0,
- "byte_count": 0
}
}
], - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "error_message": "string",
- "routing_policy_counters_reverse_direction": {
- "packet_count": 0,
- "byte_count": 0
}, - "destination": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 0
}, - "address_type": "string"
}, - "reroute_fallback_counters": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip_counters": [
- {
- "received": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip": "string",
- "sent": {
- "packet_count": 0,
- "byte_count": 0
}
}
], - "is_bidirectional": false,
- "source": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 0
}, - "address_type": "string"
}, - "routing_policy_counters": {
- "packet_count": 0,
- "byte_count": 0
}, - "protocol_parameters": {
- "udp": {
- "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
}
], - "destination_port_range": {
- "end_port": 0,
- "start_port": 0
}
}, - "icmp": {
- "icmp_code": 0,
- "icmp_type": 0
}, - "protocol_number": 0,
- "tcp": {
- "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
}
], - "destination_port_range": {
- "end_port": 0,
- "start_port": 0
}
}
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "reroute_fallback_counters_reverse_direction": {
- "packet_count": 0,
- "byte_count": 0
}, - "action": {
- "action": "string",
- "service_ip_list": [
- "string"
], - "reroute_fallback": "string"
}, - "protocol_type": "string",
- "priority": 0
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "is_bidirectional": false,
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "destination": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "address_type": "string"
}, - "priority": 1,
- "source": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "address_type": "string"
}, - "protocol_parameters": {
- "udp": {
- "destination_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "source_port_range": {
- "end_port": 65535,
- "start_port": 65535
}, - "source_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "destination_port_range": {
- "end_port": 65535,
- "start_port": 65535
}
}, - "icmp": {
- "icmp_code": 255,
- "icmp_type": 255
}, - "protocol_number": 255,
- "tcp": {
- "destination_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "source_port_range": {
- "end_port": 65535,
- "start_port": 65535
}, - "source_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "destination_port_range": {
- "end_port": 65535,
- "start_port": 65535
}
}
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "action": {
- "action": "string",
- "service_ip_list": [
- "string"
], - "reroute_fallback": "string"
}, - "protocol_type": "string"
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "routing_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "routing_policy",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing routing_policy based on the input 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. |
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 |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "service_ip_counters_reverse_direction": [
- {
- "received": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip": "string",
- "sent": {
- "packet_count": 0,
- "byte_count": 0
}
}
], - "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "error_message": "string",
- "routing_policy_counters_reverse_direction": {
- "packet_count": 0,
- "byte_count": 0
}, - "destination": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 0
}, - "address_type": "string"
}, - "reroute_fallback_counters": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip_counters": [
- {
- "received": {
- "packet_count": 0,
- "byte_count": 0
}, - "service_ip": "string",
- "sent": {
- "packet_count": 0,
- "byte_count": 0
}
}
], - "is_bidirectional": false,
- "source": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 0
}, - "address_type": "string"
}, - "routing_policy_counters": {
- "packet_count": 0,
- "byte_count": 0
}, - "protocol_parameters": {
- "udp": {
- "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
}
], - "destination_port_range": {
- "end_port": 0,
- "start_port": 0
}
}, - "icmp": {
- "icmp_code": 0,
- "icmp_type": 0
}, - "protocol_number": 0,
- "tcp": {
- "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
}
], - "destination_port_range": {
- "end_port": 0,
- "start_port": 0
}
}
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "reroute_fallback_counters_reverse_direction": {
- "packet_count": 0,
- "byte_count": 0
}, - "action": {
- "action": "string",
- "service_ip_list": [
- "string"
], - "reroute_fallback": "string"
}, - "protocol_type": "string",
- "priority": 0
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "is_bidirectional": false,
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "destination": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "address_type": "string"
}, - "priority": 1,
- "source": {
- "ip_subnet": {
- "ip": "string",
- "prefix_length": 32
}, - "address_type": "string"
}, - "protocol_parameters": {
- "udp": {
- "destination_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "source_port_range": {
- "end_port": 65535,
- "start_port": 65535
}, - "source_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "destination_port_range": {
- "end_port": 65535,
- "start_port": 65535
}
}, - "icmp": {
- "icmp_code": 255,
- "icmp_type": 255
}, - "protocol_number": 255,
- "tcp": {
- "destination_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "source_port_range": {
- "end_port": 65535,
- "start_port": 65535
}, - "source_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "destination_port_range": {
- "end_port": 65535,
- "start_port": 65535
}
}
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "action": {
- "action": "string",
- "service_ip_list": [
- "string"
], - "reroute_fallback": "string"
}, - "protocol_type": "string"
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "routing_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to create a new service_group based on the input parameters.
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 |
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 } ] } ] }'
{- "kind": "service_group",
- "name": "string",
- "uuid": "string"
}
This operation submits a request to delete a existing service_group.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/service_groups/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": "string",
- "kind": "string",
- "code": 0,
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "message": "string",
- "api_version": "3.1.0"
}
This operation gets a existing service_group.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/service_groups/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "service_group": {
- "service_list": [
- {
- "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "protocol": "string",
- "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
]
}
], - "is_system_defined": true,
- "name": "string",
- "description": "string"
}, - "uuid": "string"
}
List the service groups.
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 |
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" }'
{- "entities": [
- {
- "service_group": {
- "service_list": [
- {
- "tcp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "protocol": "string",
- "udp_port_range_list": [
- {
- "end_port": 65535,
- "start_port": 65535
}
], - "icmp_type_code_list": [
- {
- "code": 0,
- "type": 0
}
]
}
], - "is_system_defined": true,
- "name": "string",
- "description": "string"
}, - "uuid": "string",
- "associated_policies_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
]
}
], - "metadata": {
- "kind": "service_group",
- "sort_attribute": "string",
- "filter": "string",
- "length": 1,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing service_group based on the input 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. |
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 |
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 } ] } ] }'
{- "status": "string",
- "kind": "string",
- "code": 0,
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "message": "string",
- "api_version": "3.1.0"
}
Counts for respective policies.
Array of objects (Counts pertaining to respective policies.) Counts for respective storage policies. |
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": [ {} ] }'
{- "storage_policy_counts": [
- {
- "vg_counts_output": {
- "non_compliant_entities_count": 0,
- "realized_entities_count": 0,
- "in_progress_entities_count": 0,
- "unrealized_entities_count": 0,
- "compliant_entities_count": 0
}, - "storage_policy_uuid": "string",
- "vm_counts_output": {
- "non_compliant_entities_count": 0,
- "realized_entities_count": 0,
- "in_progress_entities_count": 0,
- "unrealized_entities_count": 0,
- "compliant_entities_count": 0
}
}
]
}
This operation submits a request to create a new storage_policy based on the input parameters.
required | object (Storage Policy Intent Spec) An intentful representation of storage policy spec |
required | object (storage_policy metadata) The storage_policy kind metadata |
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 } } } }'
{- "status": {
- "state": "string",
- "name": "string",
- "resources": {
- "qos": {
- "throttled_iops": -1
}, - "compression": {
- "state": "SYSTEM_DERIVED",
- "inline_compression": true
}, - "encryption": {
- "state": "SYSTEM_DERIVED"
}, - "fault_tolerance": {
- "replication_factor": -1
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
], - "type": "USER"
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "encryption": {
- "state": "SYSTEM_DERIVED"
}, - "fault_tolerance": {
- "replication_factor": -1
}, - "qos": {
- "throttled_iops": -1
}, - "compression": {
- "state": "SYSTEM_DERIVED",
- "inline_compression": true
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "storage_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing storage_policy.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/storage_policies/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "name": "string",
- "resources": {
- "qos": {
- "throttled_iops": -1
}, - "compression": {
- "state": "SYSTEM_DERIVED",
- "inline_compression": true
}, - "encryption": {
- "state": "SYSTEM_DERIVED"
}, - "fault_tolerance": {
- "replication_factor": -1
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
], - "type": "USER"
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "encryption": {
- "state": "SYSTEM_DERIVED"
}, - "fault_tolerance": {
- "replication_factor": -1
}, - "qos": {
- "throttled_iops": -1
}, - "compression": {
- "state": "SYSTEM_DERIVED",
- "inline_compression": true
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "storage_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing storage_policy.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/storage_policies/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "name": "string",
- "resources": {
- "qos": {
- "throttled_iops": -1
}, - "compression": {
- "state": "SYSTEM_DERIVED",
- "inline_compression": true
}, - "encryption": {
- "state": "SYSTEM_DERIVED"
}, - "fault_tolerance": {
- "replication_factor": -1
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
], - "type": "USER"
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "encryption": {
- "state": "SYSTEM_DERIVED"
}, - "fault_tolerance": {
- "replication_factor": -1
}, - "qos": {
- "throttled_iops": -1
}, - "compression": {
- "state": "SYSTEM_DERIVED",
- "inline_compression": true
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "storage_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of storage_policies, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "name": "string",
- "resources": {
- "qos": {
- "throttled_iops": -1
}, - "compression": {
- "state": "SYSTEM_DERIVED",
- "inline_compression": true
}, - "encryption": {
- "state": "SYSTEM_DERIVED"
}, - "fault_tolerance": {
- "replication_factor": -1
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": { },
- "collection": null,
- "uuid_list": [ ]
}, - "left_hand_side": {
- "entity_type": null
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [ ],
- "categories": { },
- "collection": null,
- "uuid_list": [ ]
}, - "left_hand_side": "string"
}
]
}
], - "type": "USER"
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "encryption": {
- "state": "SYSTEM_DERIVED"
}, - "fault_tolerance": {
- "replication_factor": -1
}, - "qos": {
- "throttled_iops": -1
}, - "compression": {
- "state": "SYSTEM_DERIVED",
- "inline_compression": true
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": { },
- "collection": null,
- "uuid_list": [ ]
}, - "left_hand_side": {
- "entity_type": null
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [ ],
- "categories": { },
- "collection": null,
- "uuid_list": [ ]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "storage_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "storage_policy",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing storage_policy based on the input 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. |
required | object (Storage Policy Intent Spec) An intentful representation of storage policy spec |
required | object (storage_policy metadata) The storage_policy kind metadata |
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 } } } }'
{- "status": {
- "state": "string",
- "name": "string",
- "resources": {
- "qos": {
- "throttled_iops": -1
}, - "compression": {
- "state": "SYSTEM_DERIVED",
- "inline_compression": true
}, - "encryption": {
- "state": "SYSTEM_DERIVED"
}, - "fault_tolerance": {
- "replication_factor": -1
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
], - "type": "USER"
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "encryption": {
- "state": "SYSTEM_DERIVED"
}, - "fault_tolerance": {
- "replication_factor": -1
}, - "qos": {
- "throttled_iops": -1
}, - "compression": {
- "state": "SYSTEM_DERIVED",
- "inline_compression": true
}, - "filter_list": [
- {
- "entity_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": {
- "entity_type": "string"
}
}
], - "scope_filter_expression_list": [
- {
- "operator": "string",
- "right_hand_side": {
- "value_list": [
- "string"
], - "categories": {
- "property1": [
- null
], - "property2": [
- null
]
}, - "collection": "string",
- "uuid_list": [
- "string"
]
}, - "left_hand_side": "string"
}
]
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "storage_policy",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to create a new subnet based on the input parameters. A subnet is a block of IP addresses.
required | object (subnet Intent Spec with placement specified) An intentful representation of a subnet spec |
required | object (subnet metadata) The subnet kind metadata |
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" } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "subnet_type": "string",
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "virtual_switch_uuid": "string",
- "vswitch_name": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "ip_usage_stats": {
- "num_free_ips": 0,
- "num_macs": 0,
- "num_assigned_ips": 0,
- "ip_pools_stats": [
- {
- "num_total_ips": 0,
- "range": "string",
- "num_free_ips": 0
}
]
}, - "ip_config": {
- "default_gateway_ip": "string",
- "dhcp_server_address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}, - "pool_list": [
- {
- "range": "string"
}
], - "prefix_length": 0,
- "subnet_ip": "string",
- "dhcp_options": {
- "domain_name_server_list": [
- "string"
], - "boot_file_name": "string",
- "domain_search_list": [
- "string"
], - "domain_name": "string",
- "tftp_server_name": "string"
}
}, - "reserved_ip_address_list": [
- "string"
], - "enable_nat": true,
- "advanced_networking": true,
- "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "migration_state": "string",
- "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "external_connectivity_state": "string",
- "vlan_id": 0,
- "is_external": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "subnet_type": "string",
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "virtual_switch_uuid": "string",
- "is_external": true,
- "vswitch_name": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "reserved_ip_address_list": [
- "string"
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "advanced_networking": true,
- "ip_config": {
- "default_gateway_ip": "string",
- "dhcp_server_address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}, - "pool_list": [
- {
- "range": "string"
}
], - "prefix_length": 0,
- "subnet_ip": "string",
- "dhcp_options": {
- "domain_name_server_list": [
- "string"
], - "boot_file_name": "string",
- "domain_search_list": [
- "string"
], - "domain_name": "string",
- "tftp_server_name": "string"
}
}, - "enable_nat": true,
- "external_connectivity_state": "string",
- "vlan_id": 0,
- "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "subnet",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing subnet.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/subnets/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "subnet_type": "string",
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "virtual_switch_uuid": "string",
- "vswitch_name": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "ip_usage_stats": {
- "num_free_ips": 0,
- "num_macs": 0,
- "num_assigned_ips": 0,
- "ip_pools_stats": [
- {
- "num_total_ips": 0,
- "range": "string",
- "num_free_ips": 0
}
]
}, - "ip_config": {
- "default_gateway_ip": "string",
- "dhcp_server_address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}, - "pool_list": [
- {
- "range": "string"
}
], - "prefix_length": 0,
- "subnet_ip": "string",
- "dhcp_options": {
- "domain_name_server_list": [
- "string"
], - "boot_file_name": "string",
- "domain_search_list": [
- "string"
], - "domain_name": "string",
- "tftp_server_name": "string"
}
}, - "reserved_ip_address_list": [
- "string"
], - "enable_nat": true,
- "advanced_networking": true,
- "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "migration_state": "string",
- "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "external_connectivity_state": "string",
- "vlan_id": 0,
- "is_external": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "subnet_type": "string",
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "virtual_switch_uuid": "string",
- "is_external": true,
- "vswitch_name": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "reserved_ip_address_list": [
- "string"
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "advanced_networking": true,
- "ip_config": {
- "default_gateway_ip": "string",
- "dhcp_server_address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}, - "pool_list": [
- {
- "range": "string"
}
], - "prefix_length": 0,
- "subnet_ip": "string",
- "dhcp_options": {
- "domain_name_server_list": [
- "string"
], - "boot_file_name": "string",
- "domain_search_list": [
- "string"
], - "domain_name": "string",
- "tftp_server_name": "string"
}
}, - "enable_nat": true,
- "external_connectivity_state": "string",
- "vlan_id": 0,
- "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "subnet",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing subnet.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/subnets/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "subnet_type": "string",
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "virtual_switch_uuid": "string",
- "vswitch_name": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "ip_usage_stats": {
- "num_free_ips": 0,
- "num_macs": 0,
- "num_assigned_ips": 0,
- "ip_pools_stats": [
- {
- "num_total_ips": 0,
- "range": "string",
- "num_free_ips": 0
}
]
}, - "ip_config": {
- "default_gateway_ip": "string",
- "dhcp_server_address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}, - "pool_list": [
- {
- "range": "string"
}
], - "prefix_length": 0,
- "subnet_ip": "string",
- "dhcp_options": {
- "domain_name_server_list": [
- "string"
], - "boot_file_name": "string",
- "domain_search_list": [
- "string"
], - "domain_name": "string",
- "tftp_server_name": "string"
}
}, - "reserved_ip_address_list": [
- "string"
], - "enable_nat": true,
- "advanced_networking": true,
- "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "migration_state": "string",
- "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "external_connectivity_state": "string",
- "vlan_id": 0,
- "is_external": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "subnet_type": "string",
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "virtual_switch_uuid": "string",
- "is_external": true,
- "vswitch_name": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "reserved_ip_address_list": [
- "string"
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "advanced_networking": true,
- "ip_config": {
- "default_gateway_ip": "string",
- "dhcp_server_address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}, - "pool_list": [
- {
- "range": "string"
}
], - "prefix_length": 0,
- "subnet_ip": "string",
- "dhcp_options": {
- "domain_name_server_list": [
- "string"
], - "boot_file_name": "string",
- "domain_search_list": [
- "string"
], - "domain_name": "string",
- "tftp_server_name": "string"
}
}, - "enable_nat": true,
- "external_connectivity_state": "string",
- "vlan_id": 0,
- "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "subnet",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of subnets, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "subnet_type": "string",
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "virtual_switch_uuid": "string",
- "vswitch_name": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "ip_usage_stats": {
- "num_free_ips": 0,
- "num_macs": 0,
- "num_assigned_ips": 0,
- "ip_pools_stats": [
- {
- "num_total_ips": 0,
- "range": "string",
- "num_free_ips": 0
}
]
}, - "ip_config": {
- "default_gateway_ip": "string",
- "dhcp_server_address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}, - "pool_list": [
- {
- "range": "string"
}
], - "prefix_length": 0,
- "subnet_ip": "string",
- "dhcp_options": {
- "domain_name_server_list": [
- "string"
], - "boot_file_name": "string",
- "domain_search_list": [
- "string"
], - "domain_name": "string",
- "tftp_server_name": "string"
}
}, - "reserved_ip_address_list": [
- "string"
], - "enable_nat": true,
- "advanced_networking": true,
- "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "migration_state": "string",
- "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "external_connectivity_state": "string",
- "vlan_id": 0,
- "is_external": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "subnet_type": "string",
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "virtual_switch_uuid": "string",
- "is_external": true,
- "vswitch_name": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "reserved_ip_address_list": [
- "string"
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "advanced_networking": true,
- "ip_config": {
- "default_gateway_ip": "string",
- "dhcp_server_address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}, - "pool_list": [
- {
- "range": "string"
}
], - "prefix_length": 0,
- "subnet_ip": "string",
- "dhcp_options": {
- "domain_name_server_list": [
- "string"
], - "boot_file_name": "string",
- "domain_search_list": [
- "string"
], - "domain_name": "string",
- "tftp_server_name": "string"
}
}, - "enable_nat": true,
- "external_connectivity_state": "string",
- "vlan_id": 0,
- "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "subnet",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "subnet",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing subnet based on the input 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. |
required | object (subnet Intent Spec with placement specified) An intentful representation of a subnet spec |
required | object (subnet metadata) The subnet kind metadata |
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" } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "subnet_type": "string",
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "virtual_switch_uuid": "string",
- "vswitch_name": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "ip_usage_stats": {
- "num_free_ips": 0,
- "num_macs": 0,
- "num_assigned_ips": 0,
- "ip_pools_stats": [
- {
- "num_total_ips": 0,
- "range": "string",
- "num_free_ips": 0
}
]
}, - "ip_config": {
- "default_gateway_ip": "string",
- "dhcp_server_address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}, - "pool_list": [
- {
- "range": "string"
}
], - "prefix_length": 0,
- "subnet_ip": "string",
- "dhcp_options": {
- "domain_name_server_list": [
- "string"
], - "boot_file_name": "string",
- "domain_search_list": [
- "string"
], - "domain_name": "string",
- "tftp_server_name": "string"
}
}, - "reserved_ip_address_list": [
- "string"
], - "enable_nat": true,
- "advanced_networking": true,
- "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}, - "migration_state": "string",
- "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "external_connectivity_state": "string",
- "vlan_id": 0,
- "is_external": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "subnet_type": "string",
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "virtual_switch_uuid": "string",
- "is_external": true,
- "vswitch_name": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "reserved_ip_address_list": [
- "string"
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "advanced_networking": true,
- "ip_config": {
- "default_gateway_ip": "string",
- "dhcp_server_address": {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}, - "pool_list": [
- {
- "range": "string"
}
], - "prefix_length": 0,
- "subnet_ip": "string",
- "dhcp_options": {
- "domain_name_server_list": [
- "string"
], - "boot_file_name": "string",
- "domain_search_list": [
- "string"
], - "domain_name": "string",
- "tftp_server_name": "string"
}
}, - "enable_nat": true,
- "external_connectivity_state": "string",
- "vlan_id": 0,
- "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "subnet",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing 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 The UUID of the entity. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/tasks/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": "string",
- "last_update_time": "2019-08-24T14:15:22Z",
- "error_detail": "string",
- "logical_timestamp": 0,
- "requested_status": "string",
- "entity_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "start_time": "2019-08-24T14:15:22Z",
- "creation_time": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "start_time_usecs": 0,
- "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subtask_reference_list": [
- {
- "kind": "task",
- "name": "string",
- "uuid": "string"
}
], - "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": {
- "kind": "task",
- "name": "string",
- "uuid": "string"
}
}
Issue abort request on the 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 The UUID of the entity. |
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' \
{- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
Add a User group to the system.
required | object (user group.) User Group Input Definition. |
required | object (user_group metadata) The user_group kind metadata |
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" } } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "projects_reference_list": [
- {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}
], - "directory_service_user_group": {
- "distinguished_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}
}, - "access_control_policy_reference_list": [
- {
- "kind": "access_control_policy",
- "name": "string",
- "uuid": "string"
}
], - "display_name": "string",
- "user_group_type": "string"
}
}, - "spec": {
- "resources": {
- "saml_user_group": {
- "idpUuid": "string",
- "name": "string"
}, - "directory_service_user_group": {
- "distinguished_name": "string"
}, - "directory_service_ou": {
- "distinguished_name": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "user_group",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing User Group.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/user_groups/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "projects_reference_list": [
- {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}
], - "directory_service_user_group": {
- "distinguished_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}
}, - "access_control_policy_reference_list": [
- {
- "kind": "access_control_policy",
- "name": "string",
- "uuid": "string"
}
], - "display_name": "string",
- "user_group_type": "string"
}
}, - "spec": {
- "resources": {
- "saml_user_group": {
- "idpUuid": "string",
- "name": "string"
}, - "directory_service_user_group": {
- "distinguished_name": "string"
}, - "directory_service_ou": {
- "distinguished_name": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "user_group",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
A user group is a grouping of users either defined locally or in a Directory service.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/user_groups/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "projects_reference_list": [
- {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}
], - "directory_service_user_group": {
- "distinguished_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}
}, - "access_control_policy_reference_list": [
- {
- "kind": "access_control_policy",
- "name": "string",
- "uuid": "string"
}
], - "display_name": "string",
- "user_group_type": "string"
}
}, - "spec": {
- "resources": {
- "saml_user_group": {
- "idpUuid": "string",
- "name": "string"
}, - "directory_service_user_group": {
- "distinguished_name": "string"
}, - "directory_service_ou": {
- "distinguished_name": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "user_group",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of User Groups, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "resources": {
- "projects_reference_list": [
- {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}
], - "directory_service_user_group": {
- "distinguished_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}
}, - "access_control_policy_reference_list": [
- {
- "kind": "access_control_policy",
- "name": "string",
- "uuid": "string"
}
], - "display_name": "string",
- "user_group_type": "string"
}
}, - "spec": {
- "resources": {
- "saml_user_group": {
- "idpUuid": "string",
- "name": "string"
}, - "directory_service_user_group": {
- "distinguished_name": "string"
}, - "directory_service_ou": {
- "distinguished_name": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "user_group",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "user_group",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to create a new User based on the input parameters.
required | object (User.) User Input Definition. |
required | object (user metadata) The user kind metadata |
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" } } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "access_control_policy_reference_list": [
- {
- "kind": "access_control_policy",
- "name": "string",
- "uuid": "string"
}
], - "display_name": "string",
- "user_type": "string",
- "resource_usage_summary": {
- "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}
}, - "projects_reference_list": [
- {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}
], - "identity_provider_user": {
- "username": "string",
- "identity_provider_reference": {
- "kind": "identity_provider",
- "name": "string",
- "uuid": "string"
}
}, - "directory_service_user": {
- "user_principal_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}, - "default_user_principal_name": "string"
}
}
}, - "spec": {
- "resources": {
- "identity_provider_user": {
- "username": "string",
- "identity_provider_reference": {
- "kind": "identity_provider",
- "name": "string",
- "uuid": "string"
}
}, - "directory_service_user": {
- "user_principal_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}, - "user_attribute_value": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "user",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing User.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/users/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "access_control_policy_reference_list": [
- {
- "kind": "access_control_policy",
- "name": "string",
- "uuid": "string"
}
], - "display_name": "string",
- "user_type": "string",
- "resource_usage_summary": {
- "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}
}, - "projects_reference_list": [
- {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}
], - "identity_provider_user": {
- "username": "string",
- "identity_provider_reference": {
- "kind": "identity_provider",
- "name": "string",
- "uuid": "string"
}
}, - "directory_service_user": {
- "user_principal_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}, - "default_user_principal_name": "string"
}
}
}, - "spec": {
- "resources": {
- "identity_provider_user": {
- "username": "string",
- "identity_provider_reference": {
- "kind": "identity_provider",
- "name": "string",
- "uuid": "string"
}
}, - "directory_service_user": {
- "user_principal_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}, - "user_attribute_value": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "user",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing User.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/users/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "access_control_policy_reference_list": [
- {
- "kind": "access_control_policy",
- "name": "string",
- "uuid": "string"
}
], - "display_name": "string",
- "user_type": "string",
- "resource_usage_summary": {
- "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}
}, - "projects_reference_list": [
- {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}
], - "identity_provider_user": {
- "username": "string",
- "identity_provider_reference": {
- "kind": "identity_provider",
- "name": "string",
- "uuid": "string"
}
}, - "directory_service_user": {
- "user_principal_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}, - "default_user_principal_name": "string"
}
}
}, - "spec": {
- "resources": {
- "identity_provider_user": {
- "username": "string",
- "identity_provider_reference": {
- "kind": "identity_provider",
- "name": "string",
- "uuid": "string"
}
}, - "directory_service_user": {
- "user_principal_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}, - "user_attribute_value": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "user",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of Users, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "access_control_policy_reference_list": [
- {
- "kind": "access_control_policy",
- "name": "string",
- "uuid": "string"
}
], - "display_name": "string",
- "user_type": "string",
- "resource_usage_summary": {
- "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}
}, - "projects_reference_list": [
- {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}
], - "identity_provider_user": {
- "username": "string",
- "identity_provider_reference": {
- "kind": "identity_provider",
- "name": "string",
- "uuid": "string"
}
}, - "directory_service_user": {
- "user_principal_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}, - "default_user_principal_name": "string"
}
}
}, - "spec": {
- "resources": {
- "identity_provider_user": {
- "username": "string",
- "identity_provider_reference": {
- "kind": "identity_provider",
- "name": "string",
- "uuid": "string"
}
}, - "directory_service_user": {
- "user_principal_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}, - "user_attribute_value": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "user",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "user",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
Displays the user currently logged in.
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/users/me \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "access_control_policy_reference_list": [
- {
- "kind": "access_control_policy",
- "name": "string",
- "uuid": "string"
}
], - "display_name": "string",
- "user_type": "string",
- "resource_usage_summary": {
- "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}
}, - "projects_reference_list": [
- {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}
], - "identity_provider_user": {
- "username": "string",
- "identity_provider_reference": {
- "kind": "identity_provider",
- "name": "string",
- "uuid": "string"
}
}, - "directory_service_user": {
- "user_principal_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}, - "default_user_principal_name": "string"
}
}
}, - "spec": {
- "resources": {
- "identity_provider_user": {
- "username": "string",
- "identity_provider_reference": {
- "kind": "identity_provider",
- "name": "string",
- "uuid": "string"
}
}, - "directory_service_user": {
- "user_principal_name": "string",
- "directory_service_reference": {
- "kind": "directory_service",
- "name": "string",
- "uuid": "string"
}, - "user_attribute_value": "string"
}
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "user",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Retrieves specified user resource domain information.
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. |
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>' \
{- "project_resource_domain_list": [
- {
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "resource_domain": {
- "resources": [
- {
- "units": "string",
- "limit": 0,
- "value": 0,
- "resource_type": "string"
}
]
}
}
], - "api_version": "3.1.0"
}
This operation submits a request to create a new VPC based on the input parameters.
required | object (VPC spec) VPC input spec |
required | object (vpc metadata) The vpc kind metadata |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "common_domain_name_server_ip_list": [
- {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
], - "external_subnet_list": [
- {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "external_ip_list": [
- "string"
], - "gateway_node_uuid_list": [
- "string"
], - "active_gateway_node": {
- "host_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "ip_address": "string"
}
}
], - "nat_ip_list": [
- "string"
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "vpc_type": "string",
- "externally_routable_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "common_domain_name_server_ip_list": [
- {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
], - "vpc_type": "string",
- "external_subnet_list": [
- {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "external_ip_list": [
- "string"
], - "gateway_node_uuid_list": [
- "string",
- "string",
- "string"
]
}
], - "externally_routable_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpc",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing VPC.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/vpcs/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "common_domain_name_server_ip_list": [
- {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
], - "external_subnet_list": [
- {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "external_ip_list": [
- "string"
], - "gateway_node_uuid_list": [
- "string"
], - "active_gateway_node": {
- "host_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "ip_address": "string"
}
}
], - "nat_ip_list": [
- "string"
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "vpc_type": "string",
- "externally_routable_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "common_domain_name_server_ip_list": [
- {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
], - "vpc_type": "string",
- "external_subnet_list": [
- {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "external_ip_list": [
- "string"
], - "gateway_node_uuid_list": [
- "string",
- "string",
- "string"
]
}
], - "externally_routable_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpc",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing VPC.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/vpcs/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "common_domain_name_server_ip_list": [
- {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
], - "external_subnet_list": [
- {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "external_ip_list": [
- "string"
], - "gateway_node_uuid_list": [
- "string"
], - "active_gateway_node": {
- "host_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "ip_address": "string"
}
}
], - "nat_ip_list": [
- "string"
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "vpc_type": "string",
- "externally_routable_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "common_domain_name_server_ip_list": [
- {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
], - "vpc_type": "string",
- "external_subnet_list": [
- {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "external_ip_list": [
- "string"
], - "gateway_node_uuid_list": [
- "string",
- "string",
- "string"
]
}
], - "externally_routable_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpc",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of VPCs, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "common_domain_name_server_ip_list": [
- {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
], - "external_subnet_list": [
- {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "external_ip_list": [
- "string"
], - "gateway_node_uuid_list": [
- "string"
], - "active_gateway_node": {
- "host_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "ip_address": "string"
}
}
], - "nat_ip_list": [
- "string"
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "vpc_type": "string",
- "externally_routable_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "common_domain_name_server_ip_list": [
- {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
], - "vpc_type": "string",
- "external_subnet_list": [
- {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "external_ip_list": [
- "string"
], - "gateway_node_uuid_list": [
- "string",
- "string",
- "string"
]
}
], - "externally_routable_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpc",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "vpc",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing VPC based on the input 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. |
required | object (VPC spec) VPC input spec |
required | object (vpc metadata) The vpc kind metadata |
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" } } }'
{- "status": {
- "state": "string",
- "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "name": "string",
- "resources": {
- "common_domain_name_server_ip_list": [
- {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
], - "external_subnet_list": [
- {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "external_ip_list": [
- "string"
], - "gateway_node_uuid_list": [
- "string"
], - "active_gateway_node": {
- "host_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "ip_address": "string"
}
}
], - "nat_ip_list": [
- "string"
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
], - "vpc_type": "string",
- "externally_routable_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
]
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "resources": {
- "common_domain_name_server_ip_list": [
- {
- "ip": "string",
- "is_backup": true,
- "fqdn": "string",
- "ip6_range": "string",
- "ip_range": "string",
- "ipv6": "string",
- "port": 0
}
], - "vpc_type": "string",
- "external_subnet_list": [
- {
- "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "external_ip_list": [
- "string"
], - "gateway_node_uuid_list": [
- "string",
- "string",
- "string"
]
}
], - "externally_routable_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "availability_zone_reference_list": [
- {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}
]
}, - "description": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpc",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing VM Host Affinity Legacy Policy.
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. |
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>' \
{- "task_uuid": "string"
}
This operation gets a list of VM Host Affinity Legacy Policies, allowing for pagination.
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. |
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 }'
{- "entities": [
- {
- "config": {
- "host_reference_list": [
- {
- "kind": "host",
- "name": "string",
- "uuid": "string"
}
], - "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}
}, - "metadata": {
- "uuid": "string"
}
}
], - "metadata": {
- "total_matches": 0,
- "kind": "vm_host_affinity_legacy_policy",
- "length": 0,
- "offset": 0
}
}
This operation submits a request to create a new VM Host Affinity Policy based on the input parameters.
required | object (VM Host Affinity Policy input) Defines an affinity policy between a set of VM categories to a set of Host categories. |
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" ] } } }'
{- "task_uuid": "string"
}
This operation submits a request to delete a existing VM Host Affinity Policy.
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. |
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>' \
{- "task_uuid": "string"
}
This operation gets a existing VM Host Affinity Policy.
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. |
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. |
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>' \
{- "info": {
- "hosts_count": 0,
- "vms_count": 0,
- "config": {
- "vm_categories": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "description": "string",
- "host_categories": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "name": "string"
}, - "non_compliant_vms_count": 0,
- "compliant_vms_count": 0
}, - "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "kind": "vm_host_affinity_policy",
- "uuid": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "created_by": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "last_updated_by": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "entity_version": 0
}
}
This operation gets a list of VM Host Affinity Policies, allowing for pagination.
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. |
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. |
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 }'
{- "entities": [
- {
- "info": {
- "hosts_count": 0,
- "vms_count": 0,
- "config": {
- "vm_categories": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "description": "string",
- "host_categories": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "name": "string"
}, - "non_compliant_vms_count": 0,
- "compliant_vms_count": 0
}, - "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "kind": "vm_host_affinity_policy",
- "uuid": "string",
- "creation_time": "2019-08-24T14:15:22Z",
- "created_by": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "last_updated_by": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "entity_version": 0
}
}
], - "metadata": {
- "total_matches": 0,
- "kind": "vm_host_affinity_policy",
- "length": 0,
- "offset": 0
}
}
List of all the VMs which are part of input VM Host Affinity Policy and their compliance information.
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 | string Query filter to retrieve VMs based on compliance status. Valid status include - PENDING, COMPLIANT, NONCOMPLIANT. |
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. |
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 }'
{- "entities": [
- {
- "status": "string",
- "host_reference": {
- "kind": "host",
- "name": "string",
- "uuid": "string"
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "vm_categories": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "reason": "string",
- "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}
}
], - "metadata": {
- "total_matches": 0,
- "kind": "vm",
- "length": 0,
- "offset": 0
}
}
Reapply the policy for all the affected VMs.
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. |
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' \
{- "task_uuid": "string"
}
This operation submits a request to update a existing VM Host Affinity Policy based on the input 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. |
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. |
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 } }'
{- "task_uuid": "string"
}
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.
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. |
object (Metadata of the cloned vm.) | |
object (VM clone override spec.) Properties of the VM that can be overriden during clone. |
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 } }'
{- "task_uuid": "string"
}
This operation submits a request to create a new VM based on the input parameters.
required | object (vm Intent Spec with placement specified) An intentful representation of a vm spec |
required | object (vm metadata) The vm kind metadata |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "protection_policy_state": {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "replication_status": "string"
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "is_encryption_in_progress": false,
- "is_migration_in_progress": false,
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "vga_console_enabled": true,
- "power_state": "string",
- "recovery_plan_state_list": [
- {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "recoverability": {
- "status": "string",
- "reason": "string"
}
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "effective_storage_config": {
- "compression_delay_secs": 0,
- "compression_enabled": true,
- "throttled_iops": 0,
- "active_storage_policy_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "encryption_enabled": true
}, - "num_vcpus_per_socket": 0,
- "num_sockets": 0,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": 0
}, - "flash_mode": "string"
}, - "protection_type": "string",
- "gpu_list": [
- {
- "frame_buffer_size_mib": 0,
- "vendor": "string",
- "uuid": "string",
- "name": "string",
- "pci_address": "string",
- "fraction": 0,
- "mode": "string",
- "num_virtual_display_heads": 0,
- "guest_driver_version": "string",
- "max_instances_per_vm": 0,
- "device_id": 0
}
], - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": true,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "is_vcpu_hard_pinned": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "dns_ip_addresses_list": [
- "string"
], - "nic_type": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- "string"
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "secondary_ip_address_list": [
- "string"
], - "floating_ip": "string",
- "mac_address": "string",
- "network_function_nic_type": "string",
- "vlan_mode": "string",
- "num_queues": 0,
- "default_gateway_address_list": [
- "string"
], - "dhcp_server_ip": "string",
- "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "host_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "guest_os_id": "string",
- "guest_tools": {
- "nutanix_guest_tools": {
- "available_version": "string",
- "ngt_state": "string",
- "iso_mount_state": "string",
- "guest_os_version": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}, - "vss_snapshot_capable": true,
- "is_reachable": true,
- "vm_mobility_drivers_installed": true
}
}, - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "version": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "hypervisor_type": "string",
- "disable_branding": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "is_vcpu_hard_pinned": true,
- "guest_tools": {
- "nutanix_guest_tools": {
- "ngt_state": "string",
- "iso_mount_state": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}
}
}, - "power_state": "string",
- "num_vcpus_per_socket": 1,
- "num_sockets": 1,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": -1
}, - "flash_mode": "string"
}, - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": false,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "vga_console_enabled": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "nic_type": "string",
- "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- "string"
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "num_queues": 0,
- "secondary_ip_address_list": [
- "string"
], - "network_function_nic_type": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "vlan_mode": "string",
- "mac_address": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "guest_os_id": "string",
- "gpu_list": [
- {
- "vendor": "string",
- "mode": "string",
- "device_id": 0
}
], - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "vtpm_secret": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disable_branding": true
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vm",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Creates a VM acpi_reboot request 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 The UUID of the entity. |
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). |
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" }'
{- "task_uuid": "string"
}
Creates a VM acpi_shutdown request 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 The UUID of the entity. |
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). |
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" }'
{- "task_uuid": "string"
}
Creates a VM guest_reboot request 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 The UUID of the entity. |
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). |
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" }'
{- "task_uuid": "string"
}
Creates a VM guest_shutdown request 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 The UUID of the entity. |
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). |
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" }'
{- "task_uuid": "string"
}
Creates a VM power_cycle request 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 The UUID of the entity. |
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). |
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" }'
{- "task_uuid": "string"
}
Creates a VM reset request 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 The UUID of the entity. |
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). |
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" }'
{- "task_uuid": "string"
}
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.
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 <= 64 characters Name of the OVA. |
disk_file_format required | string File format of disk in OVA. |
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" }'
{- "task_uuid": "string"
}
This operation submits a request to delete an existing VM.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/vms/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "protection_policy_state": {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "replication_status": "string"
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "is_encryption_in_progress": false,
- "is_migration_in_progress": false,
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "vga_console_enabled": true,
- "power_state": "string",
- "recovery_plan_state_list": [
- {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "recoverability": {
- "status": "string",
- "reason": "string"
}
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "effective_storage_config": {
- "compression_delay_secs": 0,
- "compression_enabled": true,
- "throttled_iops": 0,
- "active_storage_policy_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "encryption_enabled": true
}, - "num_vcpus_per_socket": 0,
- "num_sockets": 0,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": 0
}, - "flash_mode": "string"
}, - "protection_type": "string",
- "gpu_list": [
- {
- "frame_buffer_size_mib": 0,
- "vendor": "string",
- "uuid": "string",
- "name": "string",
- "pci_address": "string",
- "fraction": 0,
- "mode": "string",
- "num_virtual_display_heads": 0,
- "guest_driver_version": "string",
- "max_instances_per_vm": 0,
- "device_id": 0
}
], - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": true,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "is_vcpu_hard_pinned": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "dns_ip_addresses_list": [
- "string"
], - "nic_type": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- "string"
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "secondary_ip_address_list": [
- "string"
], - "floating_ip": "string",
- "mac_address": "string",
- "network_function_nic_type": "string",
- "vlan_mode": "string",
- "num_queues": 0,
- "default_gateway_address_list": [
- "string"
], - "dhcp_server_ip": "string",
- "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "host_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "guest_os_id": "string",
- "guest_tools": {
- "nutanix_guest_tools": {
- "available_version": "string",
- "ngt_state": "string",
- "iso_mount_state": "string",
- "guest_os_version": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}, - "vss_snapshot_capable": true,
- "is_reachable": true,
- "vm_mobility_drivers_installed": true
}
}, - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "version": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "hypervisor_type": "string",
- "disable_branding": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "is_vcpu_hard_pinned": true,
- "guest_tools": {
- "nutanix_guest_tools": {
- "ngt_state": "string",
- "iso_mount_state": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}
}
}, - "power_state": "string",
- "num_vcpus_per_socket": 1,
- "num_sockets": 1,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": -1
}, - "flash_mode": "string"
}, - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": false,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "vga_console_enabled": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "nic_type": "string",
- "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- "string"
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "num_queues": 0,
- "secondary_ip_address_list": [
- "string"
], - "network_function_nic_type": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "vlan_mode": "string",
- "mac_address": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "guest_os_id": "string",
- "gpu_list": [
- {
- "vendor": "string",
- "mode": "string",
- "device_id": 0
}
], - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "vtpm_secret": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disable_branding": true
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vm",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of VMs, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "protection_policy_state": {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "replication_status": "string"
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "is_encryption_in_progress": false,
- "is_migration_in_progress": false,
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "vga_console_enabled": true,
- "power_state": "string",
- "recovery_plan_state_list": [
- {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "recoverability": {
- "status": "string",
- "reason": "string"
}
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": null,
- "property2": null
}
}
]
}
], - "effective_storage_config": {
- "compression_delay_secs": 0,
- "compression_enabled": true,
- "throttled_iops": 0,
- "active_storage_policy_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "encryption_enabled": true
}, - "num_vcpus_per_socket": 0,
- "num_sockets": 0,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": 0
}, - "flash_mode": "string"
}, - "protection_type": "string",
- "gpu_list": [
- {
- "frame_buffer_size_mib": 0,
- "vendor": "string",
- "uuid": "string",
- "name": "string",
- "pci_address": "string",
- "fraction": 0,
- "mode": "string",
- "num_virtual_display_heads": 0,
- "guest_driver_version": "string",
- "max_instances_per_vm": 0,
- "device_id": 0
}
], - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": true,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "is_vcpu_hard_pinned": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "dns_ip_addresses_list": [
- "string"
], - "nic_type": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- null
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "secondary_ip_address_list": [
- "string"
], - "floating_ip": "string",
- "mac_address": "string",
- "network_function_nic_type": "string",
- "vlan_mode": "string",
- "num_queues": 0,
- "default_gateway_address_list": [
- "string"
], - "dhcp_server_ip": "string",
- "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "host_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "guest_os_id": "string",
- "guest_tools": {
- "nutanix_guest_tools": {
- "available_version": "string",
- "ngt_state": "string",
- "iso_mount_state": "string",
- "guest_os_version": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}, - "vss_snapshot_capable": true,
- "is_reachable": true,
- "vm_mobility_drivers_installed": true
}
}, - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "version": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "hypervisor_type": "string",
- "disable_branding": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "is_vcpu_hard_pinned": true,
- "guest_tools": {
- "nutanix_guest_tools": {
- "ngt_state": "string",
- "iso_mount_state": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}
}
}, - "power_state": "string",
- "num_vcpus_per_socket": 1,
- "num_sockets": 1,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": -1
}, - "flash_mode": "string"
}, - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": false,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "vga_console_enabled": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "nic_type": "string",
- "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- null
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "num_queues": 0,
- "secondary_ip_address_list": [
- "string"
], - "network_function_nic_type": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "vlan_mode": "string",
- "mac_address": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "guest_os_id": "string",
- "gpu_list": [
- {
- "vendor": "string",
- "mode": "string",
- "device_id": 0
}
], - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "vtpm_secret": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disable_branding": true
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vm",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "vm",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation gets an existing VM.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/vms/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "protection_policy_state": {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "replication_status": "string"
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "is_encryption_in_progress": false,
- "is_migration_in_progress": false,
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "vga_console_enabled": true,
- "power_state": "string",
- "recovery_plan_state_list": [
- {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "recoverability": {
- "status": "string",
- "reason": "string"
}
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "effective_storage_config": {
- "compression_delay_secs": 0,
- "compression_enabled": true,
- "throttled_iops": 0,
- "active_storage_policy_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "encryption_enabled": true
}, - "num_vcpus_per_socket": 0,
- "num_sockets": 0,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": 0
}, - "flash_mode": "string"
}, - "protection_type": "string",
- "gpu_list": [
- {
- "frame_buffer_size_mib": 0,
- "vendor": "string",
- "uuid": "string",
- "name": "string",
- "pci_address": "string",
- "fraction": 0,
- "mode": "string",
- "num_virtual_display_heads": 0,
- "guest_driver_version": "string",
- "max_instances_per_vm": 0,
- "device_id": 0
}
], - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": true,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "is_vcpu_hard_pinned": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "dns_ip_addresses_list": [
- "string"
], - "nic_type": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- "string"
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "secondary_ip_address_list": [
- "string"
], - "floating_ip": "string",
- "mac_address": "string",
- "network_function_nic_type": "string",
- "vlan_mode": "string",
- "num_queues": 0,
- "default_gateway_address_list": [
- "string"
], - "dhcp_server_ip": "string",
- "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "host_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "guest_os_id": "string",
- "guest_tools": {
- "nutanix_guest_tools": {
- "available_version": "string",
- "ngt_state": "string",
- "iso_mount_state": "string",
- "guest_os_version": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}, - "vss_snapshot_capable": true,
- "is_reachable": true,
- "vm_mobility_drivers_installed": true
}
}, - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "version": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "hypervisor_type": "string",
- "disable_branding": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "is_vcpu_hard_pinned": true,
- "guest_tools": {
- "nutanix_guest_tools": {
- "ngt_state": "string",
- "iso_mount_state": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}
}
}, - "power_state": "string",
- "num_vcpus_per_socket": 1,
- "num_sockets": 1,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": -1
}, - "flash_mode": "string"
}, - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": false,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "vga_console_enabled": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "nic_type": "string",
- "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- "string"
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "num_queues": 0,
- "secondary_ip_address_list": [
- "string"
], - "network_function_nic_type": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "vlan_mode": "string",
- "mac_address": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "guest_os_id": "string",
- "gpu_list": [
- {
- "vendor": "string",
- "mode": "string",
- "device_id": 0
}
], - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "vtpm_secret": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disable_branding": true
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vm",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
API to migrate the VM's selected disks to the specified container
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. |
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. |
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" } }'
{- "task_uuid": "string"
}
API to pause replication for a given VM protected using sync protection policy.
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. |
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' \
{- "task_uuid": "string"
}
Release the currently allocated IP address.
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. |
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. |
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" ] }'
{- "task_uuid": "string"
}
Request a new IP address the currently allocated IP address.
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. |
Array of objects (NIC update IP Info.) List of NICs to update new IP for. |
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" } ] }'
{- "task_uuid": "string"
}
API to resume replication for a given VM protected using sync protection policy.
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. |
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' \
{- "task_uuid": "string"
}
This operation submits a request to update an existing VM based on the input 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. |
required | object (vm Intent Spec with placement specified) An intentful representation of a vm spec |
required | object (vm metadata) The vm kind metadata |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "protection_policy_state": {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "replication_status": "string"
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "is_encryption_in_progress": false,
- "is_migration_in_progress": false,
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "vga_console_enabled": true,
- "power_state": "string",
- "recovery_plan_state_list": [
- {
- "policy_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "policy_info": {
- "recoverability": {
- "status": "string",
- "reason": "string"
}
}, - "compliance_status": "string",
- "enforcement_mode": "string",
- "error_message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "effective_storage_config": {
- "compression_delay_secs": 0,
- "compression_enabled": true,
- "throttled_iops": 0,
- "active_storage_policy_reference_list": [
- {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
], - "encryption_enabled": true
}, - "num_vcpus_per_socket": 0,
- "num_sockets": 0,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": 0
}, - "flash_mode": "string"
}, - "protection_type": "string",
- "gpu_list": [
- {
- "frame_buffer_size_mib": 0,
- "vendor": "string",
- "uuid": "string",
- "name": "string",
- "pci_address": "string",
- "fraction": 0,
- "mode": "string",
- "num_virtual_display_heads": 0,
- "guest_driver_version": "string",
- "max_instances_per_vm": 0,
- "device_id": 0
}
], - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": true,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "is_vcpu_hard_pinned": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "dns_ip_addresses_list": [
- "string"
], - "nic_type": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- "string"
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "secondary_ip_address_list": [
- "string"
], - "floating_ip": "string",
- "mac_address": "string",
- "network_function_nic_type": "string",
- "vlan_mode": "string",
- "num_queues": 0,
- "default_gateway_address_list": [
- "string"
], - "dhcp_server_ip": "string",
- "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "host_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "guest_os_id": "string",
- "guest_tools": {
- "nutanix_guest_tools": {
- "available_version": "string",
- "ngt_state": "string",
- "iso_mount_state": "string",
- "guest_os_version": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}, - "vss_snapshot_capable": true,
- "is_reachable": true,
- "vm_mobility_drivers_installed": true
}
}, - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "version": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "hypervisor_type": "string",
- "disable_branding": true
}, - "description": "string"
}, - "spec": {
- "name": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "num_threads_per_core": 1,
- "is_agent_vm": true,
- "memory_size_mib": 1,
- "boot_config": {
- "boot_device_order_list": [
- "string"
], - "boot_device": {
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}, - "mac_address": "string"
}, - "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "boot_type": "string"
}, - "disk_list": [
- {
- "uuid": "string",
- "disk_size_bytes": 1,
- "storage_config": {
- "flash_mode": "string",
- "storage_container_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}, - "device_properties": {
- "device_type": "DISK",
- "disk_address": {
- "device_index": 0,
- "adapter_type": "string"
}
}, - "data_source_reference": {
- "is_direct_attach": true,
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disk_size_mib": 1,
- "volume_group_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}
}
], - "serial_port_list": [
- {
- "index": 0,
- "is_connected": true
}
], - "generation_uuid": "string",
- "bios_uuid": "string",
- "is_vcpu_hard_pinned": true,
- "guest_tools": {
- "nutanix_guest_tools": {
- "ngt_state": "string",
- "iso_mount_state": "string",
- "state": "string",
- "version": "string",
- "enabled_capability_list": [
- "string"
], - "credentials": {
- "username": "string",
- "password": "string"
}
}
}, - "power_state": "string",
- "num_vcpus_per_socket": 1,
- "num_sockets": 1,
- "hardware_virtualization_enabled": true,
- "storage_config": {
- "qos_policy": {
- "throttled_iops": -1
}, - "flash_mode": "string"
}, - "machine_type": "string",
- "hardware_clock_timezone": "string",
- "guest_customization": {
- "cloud_init": {
- "meta_data": "string",
- "user_data": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "is_overridable": false,
- "sysprep": {
- "install_type": "PREPARED",
- "unattend_xml": "string",
- "custom_key_values": {
- "property1": "string",
- "property2": "string"
}
}, - "property1": "string",
- "property2": "string"
}, - "power_state_mechanism": {
- "guest_transition_config": {
- "should_fail_on_script_failure": true,
- "enable_script_exec": true
}, - "mechanism": "string"
}, - "vga_console_enabled": true,
- "memory_overcommit_enabled": true,
- "vnuma_config": {
- "num_vnuma_nodes": 0
}, - "nic_list": [
- {
- "nic_type": "string",
- "uuid": "string",
- "ip_endpoint_list": [
- {
- "ip": "string",
- "type": "string",
- "gateway_address_list": [
- "string"
], - "prefix_length": 32,
- "ip_type": "string"
}
], - "num_queues": 0,
- "secondary_ip_address_list": [
- "string"
], - "network_function_nic_type": "string",
- "network_function_chain_reference": {
- "kind": "network_function_chain",
- "name": "string",
- "uuid": "string"
}, - "vlan_mode": "string",
- "mac_address": "string",
- "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "model": "string",
- "is_connected": true,
- "trunked_vlan_list": [
- 0
]
}
], - "guest_os_id": "string",
- "gpu_list": [
- {
- "vendor": "string",
- "mode": "string",
- "device_id": 0
}
], - "gpu_console_enabled": true,
- "vtpm_config": {
- "vtpm_enabled": true,
- "data_source_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "vtpm_secret": "string"
}, - "enable_cpu_passthrough": true,
- "parent_reference": {
- "url": "string",
- "kind": "string",
- "uuid": "string",
- "name": "string"
}, - "disable_branding": true
}, - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vm",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing vpc_route_table.
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. |
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>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "static_routes_list": [
- {
- "priority": 0,
- "nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "nexthop_ip_address": "string",
- "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}, - "destination": "string",
- "is_active": true
}
], - "dynamic_routes_list": [
- {
- "priority": 0,
- "nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "nexthop_ip_address": "string",
- "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}, - "destination": "string",
- "is_active": true
}
], - "default_route": {
- "priority": 0,
- "nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "nexthop_ip_address": "string",
- "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}, - "destination": "string",
- "is_active": true
}, - "local_routes_list": [
- {
- "priority": 0,
- "nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "nexthop_ip_address": "string",
- "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}, - "destination": "string",
- "is_active": true
}
]
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "static_routes_list": [
- {
- "nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}, - "destination": "string"
}
], - "default_route_nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpc_route_table",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to update a existing vpc_route_table based on the input 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. |
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 |
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" } } } ] } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "static_routes_list": [
- {
- "priority": 0,
- "nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "nexthop_ip_address": "string",
- "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}, - "destination": "string",
- "is_active": true
}
], - "dynamic_routes_list": [
- {
- "priority": 0,
- "nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "nexthop_ip_address": "string",
- "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}, - "destination": "string",
- "is_active": true
}
], - "default_route": {
- "priority": 0,
- "nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "nexthop_ip_address": "string",
- "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}, - "destination": "string",
- "is_active": true
}, - "local_routes_list": [
- {
- "priority": 0,
- "nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "nexthop_ip_address": "string",
- "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}, - "destination": "string",
- "is_active": true
}
]
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "static_routes_list": [
- {
- "nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}, - "destination": "string"
}
], - "default_route_nexthop": {
- "direct_connect_virtual_interface_reference": {
- "kind": "direct_connect_virtual_interface",
- "name": "string",
- "uuid": "string"
}, - "external_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "local_subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "vpn_connection_reference": {
- "kind": "vpn_connection",
- "name": "string",
- "uuid": "string"
}
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpc_route_table",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
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.
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 |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "ebgp_status": {
- "state": "string",
- "detail": "string"
}, - "ipsec_tunnel_status": {
- "state": "string",
- "detail": "string"
}, - "remote_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "peer_route_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "qos_config": {
- "ingress_limit": 0,
- "egress_limit": 0
}, - "local_gateway_role": "string",
- "ipsec_config": {
- "remote_vti_ip": "string",
- "negotiated_proposal": {
- "ipsec_authentication_algorithm": "string",
- "ipsec_encryption_algorithm": "string",
- "ike_encryption_algorithm": "string",
- "ike_authentication_algorithm": "string"
}, - "remote_authentication_id": "string",
- "local_vti_ip": "string",
- "ike_lifetime_secs": 0,
- "esp_pfs_dh_group_number": 0,
- "local_authentication_id": "string",
- "ipsec_lifetime_secs": 0,
- "vti_ip_prefix_length": 0,
- "pre_shared_key": "pa$$word"
}, - "dynamic_route_priority": 10,
- "local_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "local_route_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "dpd_config": {
- "operation": "string",
- "interval_secs": 0,
- "timeout_secs": 0
}
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "local_gateway_role": "string",
- "qos_config": {
- "ingress_limit": 0,
- "egress_limit": 0
}, - "remote_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "ipsec_config": {
- "remote_vti_ip": "string",
- "remote_authentication_id": "string",
- "local_vti_ip": "string",
- "ike_lifetime_secs": 0,
- "esp_pfs_dh_group_number": 0,
- "local_authentication_id": "string",
- "ipsec_lifetime_secs": 0,
- "vti_ip_prefix_length": 32,
- "pre_shared_key": "pa$$word"
}, - "dynamic_route_priority": 10,
- "local_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "dpd_config": {
- "operation": "string",
- "interval_secs": 0,
- "timeout_secs": 0
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpn_connection",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing vpn_connection.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/vpn_connections/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "ebgp_status": {
- "state": "string",
- "detail": "string"
}, - "ipsec_tunnel_status": {
- "state": "string",
- "detail": "string"
}, - "remote_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "peer_route_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "qos_config": {
- "ingress_limit": 0,
- "egress_limit": 0
}, - "local_gateway_role": "string",
- "ipsec_config": {
- "remote_vti_ip": "string",
- "negotiated_proposal": {
- "ipsec_authentication_algorithm": "string",
- "ipsec_encryption_algorithm": "string",
- "ike_encryption_algorithm": "string",
- "ike_authentication_algorithm": "string"
}, - "remote_authentication_id": "string",
- "local_vti_ip": "string",
- "ike_lifetime_secs": 0,
- "esp_pfs_dh_group_number": 0,
- "local_authentication_id": "string",
- "ipsec_lifetime_secs": 0,
- "vti_ip_prefix_length": 0,
- "pre_shared_key": "pa$$word"
}, - "dynamic_route_priority": 10,
- "local_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "local_route_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "dpd_config": {
- "operation": "string",
- "interval_secs": 0,
- "timeout_secs": 0
}
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "local_gateway_role": "string",
- "qos_config": {
- "ingress_limit": 0,
- "egress_limit": 0
}, - "remote_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "ipsec_config": {
- "remote_vti_ip": "string",
- "remote_authentication_id": "string",
- "local_vti_ip": "string",
- "ike_lifetime_secs": 0,
- "esp_pfs_dh_group_number": 0,
- "local_authentication_id": "string",
- "ipsec_lifetime_secs": 0,
- "vti_ip_prefix_length": 32,
- "pre_shared_key": "pa$$word"
}, - "dynamic_route_priority": 10,
- "local_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "dpd_config": {
- "operation": "string",
- "interval_secs": 0,
- "timeout_secs": 0
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpn_connection",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Download the configuration steps for the given vendor device and version.
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. |
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 the configuration steps for the given vendor device's latest version.
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. |
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>' \
This operation gets a existing vpn_connection.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/vpn_connections/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "ebgp_status": {
- "state": "string",
- "detail": "string"
}, - "ipsec_tunnel_status": {
- "state": "string",
- "detail": "string"
}, - "remote_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "peer_route_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "qos_config": {
- "ingress_limit": 0,
- "egress_limit": 0
}, - "local_gateway_role": "string",
- "ipsec_config": {
- "remote_vti_ip": "string",
- "negotiated_proposal": {
- "ipsec_authentication_algorithm": "string",
- "ipsec_encryption_algorithm": "string",
- "ike_encryption_algorithm": "string",
- "ike_authentication_algorithm": "string"
}, - "remote_authentication_id": "string",
- "local_vti_ip": "string",
- "ike_lifetime_secs": 0,
- "esp_pfs_dh_group_number": 0,
- "local_authentication_id": "string",
- "ipsec_lifetime_secs": 0,
- "vti_ip_prefix_length": 0,
- "pre_shared_key": "pa$$word"
}, - "dynamic_route_priority": 10,
- "local_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "local_route_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "dpd_config": {
- "operation": "string",
- "interval_secs": 0,
- "timeout_secs": 0
}
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "local_gateway_role": "string",
- "qos_config": {
- "ingress_limit": 0,
- "egress_limit": 0
}, - "remote_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "ipsec_config": {
- "remote_vti_ip": "string",
- "remote_authentication_id": "string",
- "local_vti_ip": "string",
- "ike_lifetime_secs": 0,
- "esp_pfs_dh_group_number": 0,
- "local_authentication_id": "string",
- "ipsec_lifetime_secs": 0,
- "vti_ip_prefix_length": 32,
- "pre_shared_key": "pa$$word"
}, - "dynamic_route_priority": 10,
- "local_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "dpd_config": {
- "operation": "string",
- "interval_secs": 0,
- "timeout_secs": 0
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpn_connection",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of vpn_connections, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "ebgp_status": {
- "state": "string",
- "detail": "string"
}, - "ipsec_tunnel_status": {
- "state": "string",
- "detail": "string"
}, - "remote_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "peer_route_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "qos_config": {
- "ingress_limit": 0,
- "egress_limit": 0
}, - "local_gateway_role": "string",
- "ipsec_config": {
- "remote_vti_ip": "string",
- "negotiated_proposal": {
- "ipsec_authentication_algorithm": "string",
- "ipsec_encryption_algorithm": "string",
- "ike_encryption_algorithm": "string",
- "ike_authentication_algorithm": "string"
}, - "remote_authentication_id": "string",
- "local_vti_ip": "string",
- "ike_lifetime_secs": 0,
- "esp_pfs_dh_group_number": 0,
- "local_authentication_id": "string",
- "ipsec_lifetime_secs": 0,
- "vti_ip_prefix_length": 0,
- "pre_shared_key": "pa$$word"
}, - "dynamic_route_priority": 10,
- "local_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "local_route_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "dpd_config": {
- "operation": "string",
- "interval_secs": 0,
- "timeout_secs": 0
}
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "local_gateway_role": "string",
- "qos_config": {
- "ingress_limit": 0,
- "egress_limit": 0
}, - "remote_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "ipsec_config": {
- "remote_vti_ip": "string",
- "remote_authentication_id": "string",
- "local_vti_ip": "string",
- "ike_lifetime_secs": 0,
- "esp_pfs_dh_group_number": 0,
- "local_authentication_id": "string",
- "ipsec_lifetime_secs": 0,
- "vti_ip_prefix_length": 32,
- "pre_shared_key": "pa$$word"
}, - "dynamic_route_priority": 10,
- "local_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "dpd_config": {
- "operation": "string",
- "interval_secs": 0,
- "timeout_secs": 0
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpn_connection",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "vpn_connection",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing vpn_connection based on the input 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. |
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 |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "ebgp_status": {
- "state": "string",
- "detail": "string"
}, - "ipsec_tunnel_status": {
- "state": "string",
- "detail": "string"
}, - "remote_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "peer_route_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "qos_config": {
- "ingress_limit": 0,
- "egress_limit": 0
}, - "local_gateway_role": "string",
- "ipsec_config": {
- "remote_vti_ip": "string",
- "negotiated_proposal": {
- "ipsec_authentication_algorithm": "string",
- "ipsec_encryption_algorithm": "string",
- "ike_encryption_algorithm": "string",
- "ike_authentication_algorithm": "string"
}, - "remote_authentication_id": "string",
- "local_vti_ip": "string",
- "ike_lifetime_secs": 0,
- "esp_pfs_dh_group_number": 0,
- "local_authentication_id": "string",
- "ipsec_lifetime_secs": 0,
- "vti_ip_prefix_length": 0,
- "pre_shared_key": "pa$$word"
}, - "dynamic_route_priority": 10,
- "local_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "local_route_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "dpd_config": {
- "operation": "string",
- "interval_secs": 0,
- "timeout_secs": 0
}
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "local_gateway_role": "string",
- "qos_config": {
- "ingress_limit": 0,
- "egress_limit": 0
}, - "remote_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "ipsec_config": {
- "remote_vti_ip": "string",
- "remote_authentication_id": "string",
- "local_vti_ip": "string",
- "ike_lifetime_secs": 0,
- "esp_pfs_dh_group_number": 0,
- "local_authentication_id": "string",
- "ipsec_lifetime_secs": 0,
- "vti_ip_prefix_length": 32,
- "pre_shared_key": "pa$$word"
}, - "dynamic_route_priority": 10,
- "local_gateway_reference": {
- "kind": "vpn_gateway",
- "name": "string",
- "uuid": "string"
}, - "dpd_config": {
- "operation": "string",
- "interval_secs": 0,
- "timeout_secs": 0
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpn_connection",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Get list of vendor devices for which configuration steps can be downloaded.
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. |
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>' \
{- "vendor_config_list": [
- {
- "version_list": [
- "string"
], - "name": "string"
}
]
}
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.
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 |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "operational_status": {
- "state": "string",
- "detail": "string"
}, - "gateway_device_vendor": "string",
- "public_ip": "string",
- "gateway_type": "string",
- "deployment": {
- "install_lb_route": true,
- "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vcenter_deployment_details": {
- "vcenter_network_name": "string",
- "vcenter_datacenter_name": "string",
- "vcenter_datastore_name": "string"
}, - "ip_prefix_length": 0,
- "static_ip": "string",
- "default_gateway_ip": "string",
- "image_source_url": "string",
- "pe_cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "supported_software_version": "string",
- "installed_software_version": "string",
- "vlan_id": 0
}, - "internal_routing_protocol_config": {
- "local_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "ibgp_config_list": [
- {
- "asn": 0,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}
], - "ospf_config": {
- "authentication_type": "string",
- "area_id": "string",
- "password": "pa$$word"
}
}, - "ebgp_config": {
- "asn": 0,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "gateway_device_vendor": "string",
- "public_ip": "string",
- "gateway_type": "string",
- "deployment": {
- "install_lb_route": true,
- "vcenter_deployment_details": {
- "vcenter_network_name": "string",
- "vcenter_datacenter_name": "string",
- "vcenter_datastore_name": "string"
}, - "ip_prefix_length": 32,
- "static_ip": "string",
- "default_gateway_ip": "string",
- "image_source_url": "string",
- "pe_cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "installed_software_version": "string",
- "vlan_id": 4095
}, - "internal_routing_protocol_config": {
- "local_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "ibgp_config_list": [
- {
- "asn": 4294967294,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}
], - "ospf_config": {
- "authentication_type": "string",
- "area_id": "string",
- "password": "pa$$word"
}
}, - "ebgp_config": {
- "asn": 4294967294,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpn_gateway",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation submits a request to delete a existing vpn_gateway.
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. |
curl --request DELETE \ --url https://ip_address:9440/api/nutanix/v3/vpn_gateways/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "operational_status": {
- "state": "string",
- "detail": "string"
}, - "gateway_device_vendor": "string",
- "public_ip": "string",
- "gateway_type": "string",
- "deployment": {
- "install_lb_route": true,
- "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vcenter_deployment_details": {
- "vcenter_network_name": "string",
- "vcenter_datacenter_name": "string",
- "vcenter_datastore_name": "string"
}, - "ip_prefix_length": 0,
- "static_ip": "string",
- "default_gateway_ip": "string",
- "image_source_url": "string",
- "pe_cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "supported_software_version": "string",
- "installed_software_version": "string",
- "vlan_id": 0
}, - "internal_routing_protocol_config": {
- "local_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "ibgp_config_list": [
- {
- "asn": 0,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}
], - "ospf_config": {
- "authentication_type": "string",
- "area_id": "string",
- "password": "pa$$word"
}
}, - "ebgp_config": {
- "asn": 0,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "gateway_device_vendor": "string",
- "public_ip": "string",
- "gateway_type": "string",
- "deployment": {
- "install_lb_route": true,
- "vcenter_deployment_details": {
- "vcenter_network_name": "string",
- "vcenter_datacenter_name": "string",
- "vcenter_datastore_name": "string"
}, - "ip_prefix_length": 32,
- "static_ip": "string",
- "default_gateway_ip": "string",
- "image_source_url": "string",
- "pe_cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "installed_software_version": "string",
- "vlan_id": 4095
}, - "internal_routing_protocol_config": {
- "local_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "ibgp_config_list": [
- {
- "asn": 4294967294,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}
], - "ospf_config": {
- "authentication_type": "string",
- "area_id": "string",
- "password": "pa$$word"
}
}, - "ebgp_config": {
- "asn": 4294967294,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpn_gateway",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a existing vpn_gateway.
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. |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/vpn_gateways/{uuid} \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "operational_status": {
- "state": "string",
- "detail": "string"
}, - "gateway_device_vendor": "string",
- "public_ip": "string",
- "gateway_type": "string",
- "deployment": {
- "install_lb_route": true,
- "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vcenter_deployment_details": {
- "vcenter_network_name": "string",
- "vcenter_datacenter_name": "string",
- "vcenter_datastore_name": "string"
}, - "ip_prefix_length": 0,
- "static_ip": "string",
- "default_gateway_ip": "string",
- "image_source_url": "string",
- "pe_cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "supported_software_version": "string",
- "installed_software_version": "string",
- "vlan_id": 0
}, - "internal_routing_protocol_config": {
- "local_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "ibgp_config_list": [
- {
- "asn": 0,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}
], - "ospf_config": {
- "authentication_type": "string",
- "area_id": "string",
- "password": "pa$$word"
}
}, - "ebgp_config": {
- "asn": 0,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "gateway_device_vendor": "string",
- "public_ip": "string",
- "gateway_type": "string",
- "deployment": {
- "install_lb_route": true,
- "vcenter_deployment_details": {
- "vcenter_network_name": "string",
- "vcenter_datacenter_name": "string",
- "vcenter_datastore_name": "string"
}, - "ip_prefix_length": 32,
- "static_ip": "string",
- "default_gateway_ip": "string",
- "image_source_url": "string",
- "pe_cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "installed_software_version": "string",
- "vlan_id": 4095
}, - "internal_routing_protocol_config": {
- "local_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "ibgp_config_list": [
- {
- "asn": 4294967294,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}
], - "ospf_config": {
- "authentication_type": "string",
- "area_id": "string",
- "password": "pa$$word"
}
}, - "ebgp_config": {
- "asn": 4294967294,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpn_gateway",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
This operation gets a list of vpn_gateways, allowing for sorting and pagination. Note: Entities that have not been created successfully are not listed.
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 |
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" }'
{- "entities": [
- {
- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "operational_status": {
- "state": "string",
- "detail": "string"
}, - "gateway_device_vendor": "string",
- "public_ip": "string",
- "gateway_type": "string",
- "deployment": {
- "install_lb_route": true,
- "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vcenter_deployment_details": {
- "vcenter_network_name": "string",
- "vcenter_datacenter_name": "string",
- "vcenter_datastore_name": "string"
}, - "ip_prefix_length": 0,
- "static_ip": "string",
- "default_gateway_ip": "string",
- "image_source_url": "string",
- "pe_cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "supported_software_version": "string",
- "installed_software_version": "string",
- "vlan_id": 0
}, - "internal_routing_protocol_config": {
- "local_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "ibgp_config_list": [
- {
- "asn": 0,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}
], - "ospf_config": {
- "authentication_type": "string",
- "area_id": "string",
- "password": "pa$$word"
}
}, - "ebgp_config": {
- "asn": 0,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "gateway_device_vendor": "string",
- "public_ip": "string",
- "gateway_type": "string",
- "deployment": {
- "install_lb_route": true,
- "vcenter_deployment_details": {
- "vcenter_network_name": "string",
- "vcenter_datacenter_name": "string",
- "vcenter_datastore_name": "string"
}, - "ip_prefix_length": 32,
- "static_ip": "string",
- "default_gateway_ip": "string",
- "image_source_url": "string",
- "pe_cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "installed_software_version": "string",
- "vlan_id": 4095
}, - "internal_routing_protocol_config": {
- "local_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "ibgp_config_list": [
- {
- "asn": 4294967294,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}
], - "ospf_config": {
- "authentication_type": "string",
- "area_id": "string",
- "password": "pa$$word"
}
}, - "ebgp_config": {
- "asn": 4294967294,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpn_gateway",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
], - "api_version": "3.1.0",
- "metadata": {
- "kind": "vpn_gateway",
- "total_matches": 0,
- "sort_attribute": "string",
- "filter": "string",
- "length": 0,
- "sort_order": "string",
- "offset": 0
}
}
This operation submits a request to update a existing vpn_gateway based on the input 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. |
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 |
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" } } } }'
{- "status": {
- "name": "string",
- "state": "string",
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "message_list": [
- {
- "message": "string",
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
], - "cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "resources": {
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "operational_status": {
- "state": "string",
- "detail": "string"
}, - "gateway_device_vendor": "string",
- "public_ip": "string",
- "gateway_type": "string",
- "deployment": {
- "install_lb_route": true,
- "vm_reference": {
- "kind": "vm",
- "name": "string",
- "uuid": "string"
}, - "vcenter_deployment_details": {
- "vcenter_network_name": "string",
- "vcenter_datacenter_name": "string",
- "vcenter_datastore_name": "string"
}, - "ip_prefix_length": 0,
- "static_ip": "string",
- "default_gateway_ip": "string",
- "image_source_url": "string",
- "pe_cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "supported_software_version": "string",
- "installed_software_version": "string",
- "vlan_id": 0
}, - "internal_routing_protocol_config": {
- "local_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 0
}
], - "ibgp_config_list": [
- {
- "asn": 0,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}
], - "ospf_config": {
- "authentication_type": "string",
- "area_id": "string",
- "password": "pa$$word"
}
}, - "ebgp_config": {
- "asn": 0,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "description": "string"
}, - "spec": {
- "availability_zone_reference": {
- "kind": "availability_zone",
- "name": "string",
- "uuid": "string"
}, - "description": "string",
- "resources": {
- "vpc_reference": {
- "kind": "vpc",
- "name": "string",
- "uuid": "string"
}, - "gateway_device_vendor": "string",
- "public_ip": "string",
- "gateway_type": "string",
- "deployment": {
- "install_lb_route": true,
- "vcenter_deployment_details": {
- "vcenter_network_name": "string",
- "vcenter_datacenter_name": "string",
- "vcenter_datastore_name": "string"
}, - "ip_prefix_length": 32,
- "static_ip": "string",
- "default_gateway_ip": "string",
- "image_source_url": "string",
- "pe_cluster_reference": {
- "kind": "cluster",
- "name": "string",
- "uuid": "string"
}, - "subnet_reference": {
- "kind": "subnet",
- "name": "string",
- "uuid": "string"
}, - "installed_software_version": "string",
- "vlan_id": 4095
}, - "internal_routing_protocol_config": {
- "local_prefix_list": [
- {
- "ip": "string",
- "prefix_length": 32
}
], - "ibgp_config_list": [
- {
- "asn": 4294967294,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}
], - "ospf_config": {
- "authentication_type": "string",
- "area_id": "string",
- "password": "pa$$word"
}
}, - "ebgp_config": {
- "asn": 4294967294,
- "password": "pa$$word",
- "distribute_connected": true,
- "peer_ip": "string"
}, - "virtual_network_reference": {
- "kind": "virtual_network",
- "name": "string",
- "uuid": "string"
}
}, - "name": "string"
}, - "api_version": "3.1.0",
- "metadata": {
- "last_update_time": "2019-08-24T14:15:22Z",
- "use_categories_mapping": false,
- "kind": "vpn_gateway",
- "uuid": "string",
- "project_reference": {
- "kind": "project",
- "name": "string",
- "uuid": "string"
}, - "creation_time": "2019-08-24T14:15:22Z",
- "spec_version": 0,
- "spec_hash": "string",
- "categories_mapping": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "should_force_translate": true,
- "entity_version": "string",
- "owner_reference": {
- "kind": "user",
- "name": "string",
- "uuid": "string"
}, - "categories": {
- "property1": "string",
- "property2": "string"
}, - "name": "string"
}
}
Create a new scenario in DB.
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 |
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" } } ] }'
{- "scenario_uuid": "string"
}
Delete scenario.
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. |
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>' \
{- "status": "string",
- "kind": "string",
- "code": 0,
- "reason": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}, - "message": "string",
- "api_version": "3.1.0"
}
Generate scenario summary pdf report and return task uuid.
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}... |
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" }'
{- "task_uuid": "string"
}
Get scenario runway and recommendation.
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. |
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>' \
{- "new_cluster": true,
- "cluster_entity_type": "cluster",
- "uuid": "string",
- "vendor_list": [
- "string"
], - "workload_list": [
- {
- "adjusted_workload": {
- "percentage": 0
}, - "sql_workload": {
- "transaction_type": "string",
- "business_critical": true,
- "sql_profile_type": "string",
- "num_db": 0
}, - "workload_name": "string",
- "exchange_workload": {
- "num_mailboxes": 0,
- "user_type": "string"
}, - "to_remove": false,
- "enabled": true,
- "splunk_workload": {
- "search_users": 0,
- "cold_retention_days": 0,
- "daily_average_indexing_rate": 0,
- "hot_retention_days": 0
}, - "vdi_workload": {
- "num_users": 0,
- "vdi_vendor": "string",
- "user_type": "string",
- "provisioning_type": "string"
}, - "vm_workload": {
- "num_vms": 0,
- "resource_spec": {
- "ram_gb": 0,
- "hdd_gb": 0,
- "num_vcpus": 0
}
}, - "workload_type": "string",
- "resource_requirement": {
- "ssd_gb": 0,
- "hdd_gb": 0,
- "cpu_ghz": 0,
- "ram_gb": 0,
- "num_vcpus": 0
}, - "schedule_timestamp_sec": 0,
- "xen_workload": {
- "operating_system": "string",
- "vendor": "string",
- "system_data": 0,
- "rdsh_provisioning_type": "string",
- "num_users": 0,
- "pvs_write_cache_size": 0,
- "mcs_diff_size": 0,
- "user_profile_data": 0
}, - "virtual_server_workload": {
- "numVms": 0,
- "server_profile_type": "string"
}, - "vm_category_workload": {
- "category": "string",
- "value": "string"
}
}
], - "recommended_runway": {
- "min_runway_days": 0,
- "storage_runway_days": 0,
- "memory_runway_days": 0,
- "cpu_runway_days": 0
}, - "updated_time_sec": 0,
- "cluster_uuid": "string",
- "target_runway_days": 180,
- "cluster_spec": {
- "data_store_config": {
- "compression_saving_pct": 0,
- "cpu_overcommit_ratio": 0,
- "cpu_reservation_pct": 0,
- "inline_dedup_saving_pct": 0,
- "dedup_saving_pct": 0,
- "overall_saving_pct": 0,
- "erasure_coding_saving_pct": 0,
- "ram_overcommit_ratio": 0,
- "rf": 0,
- "n_plus": 0,
- "ram_reservation_pct": 0,
- "storage_reservation_pct": 0
}, - "node_spec_list": [
- {
- "recommended_online_timestamp_secs": 0,
- "to_removed": true,
- "model": "string",
- "resource_spec": {
- "ssd_gb": 0,
- "hdd_gb": 0,
- "cpu_ghz": 0,
- "ram_gb": 0,
- "num_vcpus": 0
}, - "num_of_nodes": 0
}
], - "effective_capacity": {
- "ssd_gb": 0,
- "hdd_gb": 0,
- "cpu_ghz": 0,
- "ram_gb": 0,
- "num_vcpus": 0
}, - "resource_list": [
- {
- "start_time_sec": 0,
- "capacity_list": [
- 0
], - "end_time_sec": 0,
- "name": "string",
- "sampling_interval_sec": 0,
- "usage_list": [
- 0
], - "effective_capacity_list": [
- 0
]
}
]
}, - "runway": {
- "min_runway_days": 0,
- "storage_runway_days": 0,
- "memory_runway_days": 0,
- "cpu_runway_days": 0
}, - "name": "string"
}
Get scenario summary pdf report.
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. |
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 given uuid.
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. |
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>' \
{- "new_cluster": true,
- "cluster_entity_type": "cluster",
- "uuid": "string",
- "vendor_list": [
- "string"
], - "workload_list": [
- {
- "adjusted_workload": {
- "percentage": 0
}, - "sql_workload": {
- "transaction_type": "string",
- "business_critical": true,
- "sql_profile_type": "string",
- "num_db": 0
}, - "workload_name": "string",
- "exchange_workload": {
- "num_mailboxes": 0,
- "user_type": "string"
}, - "to_remove": false,
- "enabled": true,
- "splunk_workload": {
- "search_users": 0,
- "cold_retention_days": 0,
- "daily_average_indexing_rate": 0,
- "hot_retention_days": 0
}, - "vdi_workload": {
- "num_users": 0,
- "vdi_vendor": "string",
- "user_type": "string",
- "provisioning_type": "string"
}, - "vm_workload": {
- "num_vms": 0,
- "resource_spec": {
- "ram_gb": 0,
- "hdd_gb": 0,
- "num_vcpus": 0
}
}, - "workload_type": "string",
- "resource_requirement": {
- "ssd_gb": 0,
- "hdd_gb": 0,
- "cpu_ghz": 0,
- "ram_gb": 0,
- "num_vcpus": 0
}, - "schedule_timestamp_sec": 0,
- "xen_workload": {
- "operating_system": "string",
- "vendor": "string",
- "system_data": 0,
- "rdsh_provisioning_type": "string",
- "num_users": 0,
- "pvs_write_cache_size": 0,
- "mcs_diff_size": 0,
- "user_profile_data": 0
}, - "virtual_server_workload": {
- "numVms": 0,
- "server_profile_type": "string"
}, - "vm_category_workload": {
- "category": "string",
- "value": "string"
}
}
], - "recommended_runway": {
- "min_runway_days": 0,
- "storage_runway_days": 0,
- "memory_runway_days": 0,
- "cpu_runway_days": 0
}, - "updated_time_sec": 0,
- "cluster_uuid": "string",
- "target_runway_days": 180,
- "cluster_spec": {
- "data_store_config": {
- "compression_saving_pct": 0,
- "cpu_overcommit_ratio": 0,
- "cpu_reservation_pct": 0,
- "inline_dedup_saving_pct": 0,
- "dedup_saving_pct": 0,
- "overall_saving_pct": 0,
- "erasure_coding_saving_pct": 0,
- "ram_overcommit_ratio": 0,
- "rf": 0,
- "n_plus": 0,
- "ram_reservation_pct": 0,
- "storage_reservation_pct": 0
}, - "node_spec_list": [
- {
- "recommended_online_timestamp_secs": 0,
- "to_removed": true,
- "model": "string",
- "resource_spec": {
- "ssd_gb": 0,
- "hdd_gb": 0,
- "cpu_ghz": 0,
- "ram_gb": 0,
- "num_vcpus": 0
}, - "num_of_nodes": 0
}
], - "effective_capacity": {
- "ssd_gb": 0,
- "hdd_gb": 0,
- "cpu_ghz": 0,
- "ram_gb": 0,
- "num_vcpus": 0
}, - "resource_list": [
- {
- "start_time_sec": 0,
- "capacity_list": [
- 0
], - "end_time_sec": 0,
- "name": "string",
- "sampling_interval_sec": 0,
- "usage_list": [
- 0
], - "effective_capacity_list": [
- 0
]
}
]
}, - "runway": {
- "min_runway_days": 0,
- "storage_runway_days": 0,
- "memory_runway_days": 0,
- "cpu_runway_days": 0
}, - "name": "string"
}
Query all scenarios name and uuid with pagination.
offset | integer Default: 0 |
limit | integer Default: 50 |
curl --request GET \ --url https://ip_address:9440/api/nutanix/v3/capacity_planning/scenarios \ --header 'Accept: application/json' \ --header 'Authorization: Basic <basic_auth_token>' \
{- "scenarios": [
- {
- "uuid": "string",
- "name": "string"
}
], - "limit": 0,
- "total_num": 0,
- "offset": 0
}
Run scenario recommendation in background and return task uuid.
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}... |
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" }'
{- "task_uuid": "string"
}
Update scenario.
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. |
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 |
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" } } ] }'
{- "new_cluster": true,
- "cluster_entity_type": "cluster",
- "uuid": "string",
- "vendor_list": [
- "string"
], - "workload_list": [
- {
- "adjusted_workload": {
- "percentage": 0
}, - "sql_workload": {
- "transaction_type": "string",
- "business_critical": true,
- "sql_profile_type": "string",
- "num_db": 0
}, - "workload_name": "string",
- "exchange_workload": {
- "num_mailboxes": 0,
- "user_type": "string"
}, - "to_remove": false,
- "enabled": true,
- "splunk_workload": {
- "search_users": 0,
- "cold_retention_days": 0,
- "daily_average_indexing_rate": 0,
- "hot_retention_days": 0
}, - "vdi_workload": {
- "num_users": 0,
- "vdi_vendor": "string",
- "user_type": "string",
- "provisioning_type": "string"
}, - "vm_workload": {
- "num_vms": 0,
- "resource_spec": {
- "ram_gb": 0,
- "hdd_gb": 0,
- "num_vcpus": 0
}
}, - "workload_type": "string",
- "resource_requirement": {
- "ssd_gb": 0,
- "hdd_gb": 0,
- "cpu_ghz": 0,
- "ram_gb": 0,
- "num_vcpus": 0
}, - "schedule_timestamp_sec": 0,
- "xen_workload": {
- "operating_system": "string",
- "vendor": "string",
- "system_data": 0,
- "rdsh_provisioning_type": "string",
- "num_users": 0,
- "pvs_write_cache_size": 0,
- "mcs_diff_size": 0,
- "user_profile_data": 0
}, - "virtual_server_workload": {
- "numVms": 0,
- "server_profile_type": "string"
}, - "vm_category_workload": {
- "category": "string",
- "value": "string"
}
}
], - "recommended_runway": {
- "min_runway_days": 0,
- "storage_runway_days": 0,
- "memory_runway_days": 0,
- "cpu_runway_days": 0
}, - "updated_time_sec": 0,
- "cluster_uuid": "string",
- "target_runway_days": 180,
- "cluster_spec": {
- "data_store_config": {
- "compression_saving_pct": 0,
- "cpu_overcommit_ratio": 0,
- "cpu_reservation_pct": 0,
- "inline_dedup_saving_pct": 0,
- "dedup_saving_pct": 0,
- "overall_saving_pct": 0,
- "erasure_coding_saving_pct": 0,
- "ram_overcommit_ratio": 0,
- "rf": 0,
- "n_plus": 0,
- "ram_reservation_pct": 0,
- "storage_reservation_pct": 0
}, - "node_spec_list": [
- {
- "recommended_online_timestamp_secs": 0,
- "to_removed": true,
- "model": "string",
- "resource_spec": {
- "ssd_gb": 0,
- "hdd_gb": 0,
- "cpu_ghz": 0,
- "ram_gb": 0,
- "num_vcpus": 0
}, - "num_of_nodes": 0
}
], - "effective_capacity": {
- "ssd_gb": 0,
- "hdd_gb": 0,
- "cpu_ghz": 0,
- "ram_gb": 0,
- "num_vcpus": 0
}, - "resource_list": [
- {
- "start_time_sec": 0,
- "capacity_list": [
- 0
], - "end_time_sec": 0,
- "name": "string",
- "sampling_interval_sec": 0,
- "usage_list": [
- 0
], - "effective_capacity_list": [
- 0
]
}
]
}, - "runway": {
- "min_runway_days": 0,
- "storage_runway_days": 0,
- "memory_runway_days": 0,
- "cpu_runway_days": 0
}, - "name": "string"
}