From fa9208d5df80d2cba29c9be19bbf736fecf9e9e2 Mon Sep 17 00:00:00 2001 From: Sonalli S Sharma Date: Mon, 23 Sep 2024 23:10:26 -0700 Subject: [PATCH 1/2] Add properties as required for ipampool and body as required for put ipampool --- .../preview/2024-01-01-preview/ipAddressManager.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2024-01-01-preview/ipAddressManager.json b/specification/network/resource-manager/Microsoft.Network/preview/2024-01-01-preview/ipAddressManager.json index a8671d8dc658..7baae5a84a9d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2024-01-01-preview/ipAddressManager.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2024-01-01-preview/ipAddressManager.json @@ -125,6 +125,7 @@ "in": "body", "name": "body", "description": "Pool resource object to create/update.", + "required": true, "schema": { "$ref": "#/definitions/IpamPool" } @@ -751,6 +752,9 @@ "IpamPool": { "description": "Instance of Pool resource.", "type": "object", + "required": [ + "properties" + ], "properties": { "properties": { "$ref": "#/definitions/IpamPoolProperties" From 7922696e3be07a473889c5895edef76c58894f3b Mon Sep 17 00:00:00 2001 From: Sonalli S Sharma Date: Tue, 29 Oct 2024 13:31:02 -0700 Subject: [PATCH 2/2] update example --- .../preview/2024-01-01-preview/examples/IpamPools_Create.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2024-01-01-preview/examples/IpamPools_Create.json b/specification/network/resource-manager/Microsoft.Network/preview/2024-01-01-preview/examples/IpamPools_Create.json index 3a0d3a303ab4..6e38f9cfc09d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2024-01-01-preview/examples/IpamPools_Create.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2024-01-01-preview/examples/IpamPools_Create.json @@ -6,7 +6,8 @@ "resourceGroupName": "rg1", "networkManagerName": "TestNetworkManager", "poolName": "TestPool", - "parameters": { + "body": { + "location": "eastus", "properties": { "description": "Test description.", "parentPoolName": "",