3.1.5.11.1.1.1 Request Body
The format for the request body for the networkInterfaces PUT method is as follows.
-
{ "properties": { "ipConfigurations": [ { "resourceId": "c1fe8acf-cf68-45f0-bc70-f9a1cd8d3953", "properties": { "privateIPAddress": "20.168.0.126", "privateIPAllocationMethod": "Static", "subnet": { "resourceRef": "/virtualNetworks/29d028bc-a244-4bec-b3bb-958ea0c64681/subnets/c0f6d801-ca07-4345-8274-20b13454c51a" }, "accessControlList": { "resourceRef": "/accessControlLists/28f4e1fc-2d3a-41c0-97f2-261be40bda77" } } } ], "privateMacAddress": "003624000005", "privateMacAllocationMethod": "Static", "isHostVirtualNetworkInterface": false, "internalDnsNameLabel": "VM10-Adapter1" }, "tags": { "VirtualMachineId": "a898f3ec-aa8c-49de-bbcf-84f59c5e6a53", "VnicId": "7edb10da-bcd1-4d2d-87ca-f17405be5849" } }
The JSON schema for the networkInterfaces PUT method is located in section 6.11.1.