Skip to content

Commit 5717d21

Browse files
apraovjrmstrisoline
authored andcommitted
Fix the defaultaction and publicnetworkaccess property in 2021-11 version (Azure#17387)
* Fix the defaultaction and publicnetworkaccess property in 2021-11 version * prettier check * Add publicnetworkaccess to create response
1 parent 7a96467 commit 5717d21

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"type": "Microsoft.EventHub/Namespaces/NetworkRuleSet",
6161
"properties": {
6262
"defaultAction": "Deny",
63+
"publicNetworkAccess": "Enabled",
6364
"virtualNetworkRules": [
6465
{
6566
"subnet": {

specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"name": "default",
1313
"type": "Microsoft.EventHub/Namespaces/NetworkRuleSet",
1414
"properties": {
15-
"defaultAction": "Deny",
15+
"defaultAction": "Allow",
16+
"publicNetworkAccess": "Enabled",
1617
"virtualNetworkRules": [
1718
{
1819
"subnet": {

0 commit comments

Comments
 (0)