3.1.5.1.1.1.1 Request Body

The format for the request body for the accessControlLists PUT method is as follows.

 {
   "properties": {
     "aclRules": [
       {
         "resourceId": "port2003",
         "properties": {
           "protocol": "All",
           "sourcePortRange": "0-65535",
           "destinationPortRange": "2003",
           "action": "Allow",
           "sourceAddressPrefix": "*",
           "destinationAddressPrefix": "13.168.100.21",
           "priority": "200",
           "type": "Inbound",
           "logging": "Enabled"
         }
       },
       {
         "resourceId": "port5100",
         "properties": {
           "description": "Port 5100 over tcp",
           "protocol": "Tcp",
           "sourcePortRange": "0-65535",
           "destinationPortRange": "5100",
           "action": "Allow",
           "sourceAddressPrefix": "*",
           "destinationAddressPrefix": "13.168.100.22",
           "priority": "201",
           "type": "Inbound",
           "logging": "Enabled"
         }
       }
     ]
   }
 }

The JSON schema for the accessControlLists PUT method is located in section 6.1.1.