3.1.5.14.1.1.1 Request Body

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

 {
   "resourceId": "{uniqueString}",
   "etag": "generated-guid", 
   "instanceId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
   "tags": { "key": "value" } ,
   "resourceMetadata": {
     "client": "WAP Network Resource Provider",
     "tenantId": "{subscriptionid}",
     "groupId": "{groupname}",
     "name": "{name}",
     "originalHref": "https://..."
   },
   "properties": {
     "provisioningState": "Updating|Deleting|Failed|Succeeded|Cancelled",
     "ipAddress": "203.0.113.1", // the given IP address
     "publicIPAllocationMethod": "Static|Dynamic",
     "idleTimeoutInMinutes": 4,
     "dnsSettings":
       {
         "domainNameLabel": "test",
         "fqdn": "my-cloud-service.cloudapp.net"
       }
     }
 }

The JSON schema for the publicIPAddresses PUT method is located in section 6.12.1.