VappDescriptor

VappDescriptor
VappDescriptor

Contains all the vApp settings that are replicated.

JSON Example
{
    "description": "vapp description in VMware Cloud Director",
    "enabledTemplateCustomization": false,
    "isGolden": false,
    "metadata": {},
    "name": "my vapp 1",
    "networks": [
        {
            "dhcpService": {
                "defaultLeaseTime": 86400,
                "domainName": "acme.com",
                "ipRange": {
                    "endAddress": "10.71.80.255",
                    "startAddress": "10.71.80.0"
                },
                "isEnabled": true,
                "maxLeaseTime": 86400,
                "primaryNameServer": "8.8.8.8",
                "routerIp": "192.168.0.1",
                "secondaryNameServer": "8.8.4.4",
                "subMask": "255.255.255.0"
            },
            "fenceMode": "bridged",
            "firewallService": {
                "defaultAction": "allow",
                "firewallRules": [],
                "isEnabled": true,
                "logDefaultAction": false
            },
            "ipScopes": [
                {
                    "allocatedIpAddresses": [
                        "10.71.81.55"
                    ],
                    "dnsSuffix": "acme.com",
                    "gateway": "192.168.4.1",
                    "ipRanges": [
                        {
                            "startAddress": "10.71.80.0",
                            "endAddress": "10.71.80.255"
                        }
                    ],
                    "isEnabled": true,
                    "isInherited": true,
                    "netmask": "255.255.225.0",
                    "primaryDns": "8.8.8.8",
                    "secondaryDns": "8.8.4.4"
                }
            ],
            "name": "myvappnetworkdescriptor",
            "natService": {
                "externalIp": "1.2.3.4",
                "isEnabled": true,
                "natRules": [
                    {
                        "description": "Some description.",
                        "gatewayNatRule": {
                            "icmpSubType": "any",
                            "originalIp": "10.20.30.40",
                            "originalPort": "\"80\"",
                            "protocol": "TCP",
                            "translatedIp": "11.22.33.44",
                            "translatedPort": "\"88\""
                        },
                        "id": 1,
                        "isEnabled": true,
                        "oneToOneBasicRule": {
                            "externalIpAddress": "any",
                            "internalIpAddress": "any",
                            "mappingMode": "automatic"
                        },
                        "oneToOneVmRule": {
                            "externalIpAddress": "10.71.80.255",
                            "mappingMode": "automatic",
                            "vmName": "myvm",
                            "vmNicId": 0
                        },
                        "portForwardingRule": {
                            "externalIpAddress": "10.71.80.255",
                            "externalPort": 80,
                            "internalIpAddress": "10.20.30.40",
                            "internalPort": 88,
                            "protocol": "TCP"
                        },
                        "type": "SNAT",
                        "vmRule": {
                            "externalIpAddress": "10.71.80.255",
                            "externalPort": 80,
                            "internalPort": 88,
                            "protocol": "TCP",
                            "vmName": "myvm",
                            "vmNicId": 0
                        }
                    }
                ],
                "policy": "allowTraffic",
                "type": "ipTranslation"
            },
            "parentId": "b879c7ba-461e-46fe-af51-8208c063002e",
            "parentName": "myparent",
            "routerExternalIp": "10.20.30.40"
        }
    ],
    "sourceCatalogItemId": "0221b98b-b91c-4524-a491-f744f67bffbe"
}
string
description
Optional

Replicated VMware Cloud Director vApp description.

boolean
enabledTemplateCustomization
Optional

True if vApp Template has enabled customization on instantiation

boolean
isGolden
Optional

True if vApp Template is a golden image

object
metadata
Optional

Replicated VMware Cloud Director vApp metadata.

string
name
Optional

Replicated VMware Cloud Director vApp name.

networks
Optional

Replicated VMware Cloud Director vApp networks.

string
sourceCatalogItemId
Optional

Source vApp Template's catalog item ID.