3.1.5.18.2.1.1.1 Request Body

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

 {
   "resourceId": "{uniqueString}", 
   "instanceId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
   "tags": { "key": "value" } ,
   "resourceMetadata": 
     {
       "client": "WAP Network Resource Provider",
       "tenantId": "{subscriptionid}",
       "groupId": "{groupname}",
       "name": "{name}",
       "originalHref": "https://..."
     },
     "properties": { 
       "addressSpace": {
         "addressPrefixes": ["13.0.0.0/24", "11.1.1.0/24"]
       },
       "logicalNetwork": {
        "resourceRef": "/networks/00000000-0000-0000-0000-001000000000"
       },
       "subnets": [
         {
           "resourceId": "00000000-0000-0000-0001-000000000010",
           "resourceMetadata": {
           "resourceName": "subnet1"
         },
       "properties": {
         "addressPrefix": "13.0.0.0/24",
         "accessControlList": {
           "resourceRef": "/accessControlLists/00000000-0000-0000-0000-000000000001"
          },
        "ipConfigurations": []
         }
       },
       {
         "resourceId": "00000000-0000-0000-0002-000000000010",
         "resourceMetadata": {
         "resourceName": "subnet2"
       },
       "properties": {
         "addressPrefix": "11.1.1.0/24",
         "accessControlList": {
         "resourceRef": "/accessControlLists/00000000-0000-0000-0000-000000000001"
       },
       "ipConfigurations": []
      }
    }
   }
 }

The JSON schema for the subnets PUT method is located in section 6.16.10.1.