NSX-T Data Center REST API

ProviderNatConfig (type)

{
  "description": "Provider managed NAT config for transit gateway.",
  "id": "ProviderNatConfig",
  "module_id": "PolicyGatewayConnection",
  "properties": {
    "enable_snat": {
      "default": false,
      "description": "Enable the provider managed SNAT rule with translated ip from ip_blocks. with enable_snat set to true, allow_private in advertise_outbound_networks in same GatewayConnection will not be supported.",
      "required": false,
      "type": "boolean"
    },
    "ip_block": {
      "description": "Policy path of ip block for SNAT. NAT ip_block must be part of allow_external_blocks for advertisement.",
      "required": false,
      "type": "string",
      "x-vmw-cross-reference": [
        {
          "leftType": [
            "GatewayConnection"
          ],
          "relationshipType": "GATEWAY_CONNECTION_NAT_IP_BLOCK_RELATIONSHIP",
          "rightType": [
            "IpAddressBlock"
          ]
        }
      ]
    },
    "logging_enabled": {
      "default": false,
      "description": "Enable NAT translation logging.",
      "required": false,
      "type": "boolean"
    }
  },
  "type": "object"
}