Get All Product Nodes

Get All Product Nodes

Get all nodes of a product.

Request
URI
GET
https://{api_host}/https://{{host}}:{{port}}/api/v5/lcm/environment/{environmentId}/product/{productId}/node
COPY
Path Parameters
string
environmentId
Required

ID of the environment

string
productId
Required

ID of the product within the environment


Responses
200

List of product nodes.

[
    {
        "properties": {
            "properties": {}
        },
        "nodeId": 0,
        "isPrimary": false,
        "cpuNum": 0,
        "ramMemory": 0,
        "hostName": "string",
        "vmName": "string",
        "deploymentOption": "string",
        "datastoreName": "string",
        "clusterName": "string",
        "resourcePool": "string",
        "datacenterName": "string",
        "rootPassword": "string",
        "gateway": "string",
        "deployment": {
            "vcenterName": "string",
            "datacenterName": "string",
            "clusterName": "string",
            "resourcePool": "string",
            "vmFolder": "string",
            "datastoreNames": [
                "string"
            ]
        },
        "nics": [
            {
                "ipAddress": "string",
                "networkName": "string",
                "staticRoutes": [
                    "string"
                ],
                "dcVcenterNetworksSpec": {
                    "portGroupName": "string",
                    "gateway": "string",
                    "subnetMask": "string",
                    "domainName": "string",
                    "searchPath": [
                        "string"
                    ],
                    "useDhcp": false,
                    "dns": [
                        "string"
                    ],
                    "ntp": [
                        "string"
                    ]
                }
            }
        ],
        "status": "string"
    }
]

400

Invalid product node spec

[
    {
        "properties": {
            "properties": {}
        },
        "nodeId": 0,
        "isPrimary": false,
        "cpuNum": 0,
        "ramMemory": 0,
        "hostName": "string",
        "vmName": "string",
        "deploymentOption": "string",
        "datastoreName": "string",
        "clusterName": "string",
        "resourcePool": "string",
        "datacenterName": "string",
        "rootPassword": "string",
        "gateway": "string",
        "deployment": {
            "vcenterName": "string",
            "datacenterName": "string",
            "clusterName": "string",
            "resourcePool": "string",
            "vmFolder": "string",
            "datastoreNames": [
                "string"
            ]
        },
        "nics": [
            {
                "ipAddress": "string",
                "networkName": "string",
                "staticRoutes": [
                    "string"
                ],
                "dcVcenterNetworksSpec": {
                    "portGroupName": "string",
                    "gateway": "string",
                    "subnetMask": "string",
                    "domainName": "string",
                    "searchPath": [
                        "string"
                    ],
                    "useDhcp": false,
                    "dns": [
                        "string"
                    ],
                    "ntp": [
                        "string"
                    ]
                }
            }
        ],
        "status": "string"
    }
]

401

Unauthorized access

[
    {
        "properties": {
            "properties": {}
        },
        "nodeId": 0,
        "isPrimary": false,
        "cpuNum": 0,
        "ramMemory": 0,
        "hostName": "string",
        "vmName": "string",
        "deploymentOption": "string",
        "datastoreName": "string",
        "clusterName": "string",
        "resourcePool": "string",
        "datacenterName": "string",
        "rootPassword": "string",
        "gateway": "string",
        "deployment": {
            "vcenterName": "string",
            "datacenterName": "string",
            "clusterName": "string",
            "resourcePool": "string",
            "vmFolder": "string",
            "datastoreNames": [
                "string"
            ]
        },
        "nics": [
            {
                "ipAddress": "string",
                "networkName": "string",
                "staticRoutes": [
                    "string"
                ],
                "dcVcenterNetworksSpec": {
                    "portGroupName": "string",
                    "gateway": "string",
                    "subnetMask": "string",
                    "domainName": "string",
                    "searchPath": [
                        "string"
                    ],
                    "useDhcp": false,
                    "dns": [
                        "string"
                    ],
                    "ntp": [
                        "string"
                    ]
                }
            }
        ],
        "status": "string"
    }
]

404

Environment or product doesn't exist

[
    {
        "properties": {
            "properties": {}
        },
        "nodeId": 0,
        "isPrimary": false,
        "cpuNum": 0,
        "ramMemory": 0,
        "hostName": "string",
        "vmName": "string",
        "deploymentOption": "string",
        "datastoreName": "string",
        "clusterName": "string",
        "resourcePool": "string",
        "datacenterName": "string",
        "rootPassword": "string",
        "gateway": "string",
        "deployment": {
            "vcenterName": "string",
            "datacenterName": "string",
            "clusterName": "string",
            "resourcePool": "string",
            "vmFolder": "string",
            "datastoreNames": [
                "string"
            ]
        },
        "nics": [
            {
                "ipAddress": "string",
                "networkName": "string",
                "staticRoutes": [
                    "string"
                ],
                "dcVcenterNetworksSpec": {
                    "portGroupName": "string",
                    "gateway": "string",
                    "subnetMask": "string",
                    "domainName": "string",
                    "searchPath": [
                        "string"
                    ],
                    "useDhcp": false,
                    "dns": [
                        "string"
                    ],
                    "ntp": [
                        "string"
                    ]
                }
            }
        ],
        "status": "string"
    }
]