ComputeGatewaySpecification

ComputeGatewaySpecification
ComputeGatewaySpecification

Compute Gateway Configuration. Applies to NSX cloud accounts only.

JSON Example
{
    "name": "string",
    "projectId": "e058",
    "deploymentId": "123e4567-e89b-12d3-a456-426655440000",
    "customProperties": {
        "customProperties": "string"
    },
    "networks": [
        "string"
    ],
    "natRules": [
        {
            "ruleId": "string",
            "kind": "NAT44",
            "type": "DNAT",
            "index": 0,
            "protocol": "TCP, UDP",
            "sourceIPs": "any, 10.20.156.101",
            "sourcePorts": "any, 80, 5000-5100",
            "destinationPorts": "any, 80, 5000-5100",
            "destinationAddress": "any, 10.20.156.101",
            "targetLink": "/iaas/api/load-balancers/try6-45ef, /iaas/api/machines/ht54-a472/network-interfaces/dyd6-d67e",
            "translatedPorts": "any, 80, 5000-5100",
            "description": "string"
        }
    ]
}
string
name
Required

A human-friendly name used as an identifier in APIs that support this option.

string
projectId
Required

The id of the project the current user belongs to.

string
deploymentId
Optional

The id of the deployment that is associated with this resource

object
customProperties
Optional

Additional custom properties that may be used to extend this resource.

array of string
networks
Required

List of networks

array of NatRule
natRules
Required

List of NAT Rules