NSX Autonomous Edge REST API

HostnameOrIPv4Address (type)

{
  "id": "HostnameOrIPv4Address", 
  "maxLength": 255, 
  "pattern": "^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\\.?$", 
  "title": "Hostname or IPv4 address", 
  "type": "string"
}