ComputeNatSpecification

ComputeNatSpecification
ComputeNatSpecification
JSON Example
{
    "name": "string",
    "projectId": "e058",
    "deploymentId": "123e4567-e89b-12d3-a456-426655440000",
    "customProperties": {
        "customProperties": "string"
    },
    "gateway": "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.

string
gateway
Required  

Id of the Compute Gateway to which the Compute Nat resource will be attached

array of NatRule
natRules
Required  

List of NAT Rules