3.1.5.18.3.1.1.1 Request Body

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

     {
       "resourceId": "toVnetC",
       "properties": {
         "remoteVirtualNetwork": {
           "resourceRef": "/virtualNetworks/vnetC"
         },
         "allowVirtualNetworkAccess": true,
         "allowForwardedTraffic": false,
         "allowGatewayTransit": false,
         "useRemoteGateways": false
       }
     }

The JSON schema for the virtualNetworkPeerings PUT method is located in section 6.16.11.1.