The HCX Enterprise specification file must contain all the information required to configure the HCX instance.

An example is provided below.

{
        "dataCenter": {
            "name": "ENT_DC",
            "managementFolder": "MGMT_VMs",
            "clusters": {
                "management": {
                    "name": "ENT_CLU"
                }
            }
        },
        "vcSpec": {
            "credentialSpec": {
                "ssoPassword": "VMware123!",
                "ssoDomain": "vsphere.local",
                "rootVcenterPassword": "VMware123!"
            },
            "managementNetwork": {
                "ip": "172.24.24.250",
                "fqdn": "vc.enterprise.vmw"
                 
                 
            }
         
        },
        "dnsSpec": {
            "dns_1": [
                "172.24.24.11"
            ],
            "domains": [
                "rspace.vmw"
                 
            ]
        },
        "ntpSpec": {
            "ntp_server": [
                "172.24.24.11"
            ]
        },
        "dvsSpec": {
            "dvsName": "ENT_DVS"
        },
        "repoSpec": {
         
            "hcx_enterprise_ova_url":"https://172.24.24.231:8443/userContent/vcps/hcx/enterprise/VMware-HCX-Enterprise-3.5.1-14222958-all.ova"
        },
        "hcxSpec": {
        "hcxCloudDeploy": "false",
        "hcxEnterpriseDeploy": "true",
        "hcxEnterpriseSpec": {
            "mgrCliPassword": "NSRRocks123!",
            "mgrRootPassword": "NSRRocks123!",
            "hostname": "hcxenterprise1.rspace.vmw",
            "mgrIp": "172.24.24.146",
            "mgrGateway": "172.24.24.1",
            "systemName": "hcxenterprise1",
            "datastore":"Datastore",
            "resourcePoolName":"MGMT-ResourcePool",
            "diskMode": "thin",
            "publicAccessUrl": "https://hcxenterprise1.rspace.vmw",
            "dataCenterLocation": {
                "city": "Dallas",
                "country": "United States",
                "province": "Texas",
                "latitude": "32.78306",
                "longitude": "-96.80667"
            },
            "hcxActivation": {
                "url": "https://connect.hcx.vmware.com",
                "activationKey": ""
            },
            "networkProfiles": {
                "mgmtNetworkProfile": {
                    "name": "MGMTNetworkProfile",
                    "portGroupName": "VM_MGMT",
                    "switchName": "ENT_DVS",
                    "ipScopes": [
                        {
                            "networkIpRanges": [
                                {
                                    "startAddress": "172.24.24.156",
                                    "endAddress": "172.24.24.159"
                                }
                            ],
                            "gateway": "172.24.24.1",
                            "primaryDns": "172.24.24.11"
                        }
                    ]
                },
                "vMotionNetworkProfile": {
                    "name": "VMOTIONNetworkProfile",
                    "portGroupName": "VMOTION_PG",
                    "switchName": "ENT_DVS",
                    "ipScopes": [
                        {
                            "networkIpRanges": [
                                {
                                    "startAddress": "172.24.21.156",
                                    "endAddress": "172.24.21.159"
                                }
                            ],
                            "gateway": "172.24.21.1",
                            "primaryDns": "172.24.24.11"
                        }
                    ]
                },
                "externalNetworkProfile": {
                    "name": "ext-test",
                    "portGroupName": "VSAN",
                    "switchName": "ENT_DVS",
                    "ipScopes": [
                        {
                            "networkIpRanges": [
                                {
                                    "startAddress": "172.24.23.156",
                                    "endAddress": "172.24.23.159"
                                }
                            ],
                            "gateway": "172.24.23.1",
                            "primaryDns": "172.24.24.11"
                        }
                    ]
                }
            },
            "computeProfile": {
                "name": "Rackspace1Compute",
                "datastoreName": "Datastore",
                "resourcePoolName": "MGMT-ResourcePool",
                "switchName": "ENT_DVS",
                "computeNetworkProfileTags": {
                    "mgmtNetworkProfile": [
                        "management",
                        "replication"
                    ],
                    "externalNetworkProfile": [
                        "uplink"
                    ],
                    "vMotionNetworkProfile": [
                        "vmotion"
                    ]
                }
            },
            "hcxEnterpriseCredentialSpec": {
                "username": "[email protected]",
                "password": "VMware123!"
            },
            "hcxSitePairSpec": {
                "hcxCloudCredentialSpec": {
                    "url": "https://172.24.24.143",
                    "username": "[email protected]",
                    "password": "VMware123!"
                }
            },
            "hcxServiceMeshSpec": {
                "name": "Interconnect",
                "cloudComputeProfileName": "CloudCP",
                "enterpriseComputeProfileName": "Rackspace1Compute",
                "enterpriseNetworkUplinkProfileName": "ext-test",
                "cloudNetworkUplinkProfileName": "HCX_UPLINK"
            }
        }
    }
     
     
}