From 5431dff5d3cec605292c81c8095c281821e66542 Mon Sep 17 00:00:00 2001 From: apraovjr Date: Tue, 18 Jan 2022 10:49:59 -0800 Subject: [PATCH 1/2] Fix the defaultaction and publicnetworkaccess property in 2021-11 version for servicebus --- .../NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json index 7cc644341ace..2cfb66a46bc6 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json @@ -12,7 +12,8 @@ "name": "default", "type": "Microsoft.ServiceBus/Namespaces/NetworkRuleSet", "properties": { - "defaultAction": "Deny", + "defaultAction": "Allow", + "publicNetworkAccess": "Enabled", "virtualNetworkRules": [ { "subnet": { From a75ff4e505ae601d765161eaf4e20fb637b8e503 Mon Sep 17 00:00:00 2001 From: apraovjr Date: Wed, 19 Jan 2022 11:21:03 -0800 Subject: [PATCH 2/2] Add publicnetworkaccess to create response --- .../NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json index 26e01365e078..46f6f28d1e31 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json @@ -60,6 +60,7 @@ "type": "Microsoft.ServiceBus/Namespaces/NetworkRuleSet", "properties": { "defaultAction": "Deny", + "publicNetworkAccess": "Enabled", "virtualNetworkRules": [ { "subnet": {