3.1.5.16.1.1.1 Request Body
The format for the request body for the serviceInsertions PUT method is as follows.
-
{ "resourceId": "80a29b25-0216-4f02-bc9a-ce41fab1b1b9", "resourceMetadata": { }, "properties": { "serviceInsertionRules": [ { "resourceId": "3b11aaf2-de79-44a3-8f5e-f14f009d3216", "resourceMetadata": { }, "properties": { "description": "Http Traffic Rule", "protocol": "Tcp", "sourcePortRangeStart": 0, "sourcePortRangeEnd": 65535, "destinationPortRangeStart": 80, "destinationPortRangeEnd": 80, "sourceSubnets": [ "*" ], "destinationSubnets": [ "11.0.0.0/8" ] } } ], "serviceInsertionElements": [ { "resourceId": "4a9ee40b-aa42-4b31-b8d3-d7fe3508bbb1", "resourceMetadata": { }, "properties": { "description": "My Appliance", "order": 1, "networkInterface": { "resourceRef": "/networkInterfaces/05e4ff39-a1a2-4913-8197-0fe9eaa61eb9" } } } ], "priority": 1 } }
The JSON schema for the serviceInsertions PUT method is located in section 6.14.1.