4.1 Example of the JSON used to create a default ACL for both inbound and outbound

This example describes the JSON that creates default ACLs for inbound and outbound aclRules resources for the accessControlLists resource.

 PUT ~/Networking/v1/accessControlLists/acl3
 {
   "properties": {
     "aclRules": [
       {
         "resourceId": "e4dc9ca4-d5b0-459c-a3e2-9212ba1db7af",
         "properties": {
           "protocol": "All",
           "sourcePortRange": "0-65535",
           "destinationPortRange": "0-65535",
           "action": "Allow",
           "sourceAddressPrefix": "13.168.100.0/24",
           "destinationAddressPrefix": "*",
           "priority": "200",
           "type": "Inbound",
           "logging": "Enabled"
         } 
       },
       {
         "resourceId": "a2a19a67-381e-47e9-bdba-8c8e281d303d",
         "properties": {
           "protocol": "All",
           "sourcePortRange": "0-65535",
           "destinationPortRange": "0-65535",
           "action": "Allow",
           "sourceAddressPrefix": "13.168.101.0/24",
           "destinationAddressPrefix": "*",
           "priority": "200",
           "type": "Inbound",
           "logging": "Enabled"
          }
       }
     ]
   }
 }