diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/InboundSecurityRulePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/InboundSecurityRulePut.json index 23e4aa6aaa85..b51274108c58 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/InboundSecurityRulePut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/InboundSecurityRulePut.json @@ -1,12 +1,30 @@ { + "parameters": { + "api-version": "2020-07-01", + "ruleCollectionName": "rule1", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkVirtualApplianceName": "nva", "parameters": { - "api-version": "2020-07-01", - "ruleCollectionName": "rule1", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkVirtualApplianceName": "nva", - "parameters": { + "properties": { + "rules": [ + { + "protocol": "TCP", + "sourceAddressPrefix": "50.20.121.5/32", + "destinationPortRange": 22 + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", "properties": { + "provisioningState": "Succeeded", "rules": [ { "protocol": "TCP", @@ -17,40 +35,22 @@ } } }, - "responses": { - "200": { - "body": { - "name": "rule1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", - "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", - "properties": { - "provisioningState": "Succeeded", - "rules": [ - { - "protocol": "TCP", - "sourceAddressPrefix": "50.20.121.5/32", - "destinationPortRange": 22 - } - ] - } - } - }, - "201": { - "body": { - "name": "rule1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", - "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", - "properties": { - "provisioningState": "Succeeded", - "rules": [ - { - "protocol": "TCP", - "sourceAddressPrefix": "50.20.121.5/32", - "destinationPortRange": 22 - } - ] - } + "201": { + "body": { + "name": "rule1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "properties": { + "provisioningState": "Succeeded", + "rules": [ + { + "protocol": "TCP", + "sourceAddressPrefix": "50.20.121.5/32", + "destinationPortRange": 22 + } + ] } } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualRouterPeerListAdvertisedRoute.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualRouterPeerListAdvertisedRoute.json index f15b7452037d..2f35088a8e63 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualRouterPeerListAdvertisedRoute.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualRouterPeerListAdvertisedRoute.json @@ -1,45 +1,45 @@ { - "parameters": { - "api-version": "2020-07-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "hubName": "virtualRouter1", - "connectionName": "peer1" - }, - "responses": { - "202": {}, - "200": { - "body": { - "value": [ - { - "localAddress": "10.85.3.4", - "network": "10.45.0.0/16", - "nextHop": "10.85.3.4", - "sourcePeer": "10.85.3.4", - "origin": "Igp", - "asPath": "65515", - "weight": 0 - }, - { - "localAddress": "10.85.3.4", - "network": "10.85.0.0/16", - "nextHop": "10.85.3.4", - "sourcePeer": "10.85.3.4", - "origin": "Igp", - "asPath": "65515", - "weight": 0 - }, - { - "localAddress": "10.85.3.4", - "network": "10.100.0.0/16", - "nextHop": "10.85.3.4", - "sourcePeer": "10.85.3.4", - "origin": "Igp", - "asPath": "65515", - "weight": 0 - } - ] - } + "parameters": { + "api-version": "2020-07-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "hubName": "virtualRouter1", + "connectionName": "peer1" + }, + "responses": { + "202": {}, + "200": { + "body": { + "value": [ + { + "localAddress": "10.85.3.4", + "network": "10.45.0.0/16", + "nextHop": "10.85.3.4", + "sourcePeer": "10.85.3.4", + "origin": "Igp", + "asPath": "65515", + "weight": 0 + }, + { + "localAddress": "10.85.3.4", + "network": "10.85.0.0/16", + "nextHop": "10.85.3.4", + "sourcePeer": "10.85.3.4", + "origin": "Igp", + "asPath": "65515", + "weight": 0 + }, + { + "localAddress": "10.85.3.4", + "network": "10.100.0.0/16", + "nextHop": "10.85.3.4", + "sourcePeer": "10.85.3.4", + "origin": "Igp", + "asPath": "65515", + "weight": 0 + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualRouterPeerListLearnedRoute.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualRouterPeerListLearnedRoute.json index 7441dd38c06b..389a53f51332 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualRouterPeerListLearnedRoute.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualRouterPeerListLearnedRoute.json @@ -1,36 +1,36 @@ { - "parameters": { - "api-version": "2020-07-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "hubName": "virtualRouter1", - "connectionName": "peer1" - }, - "responses": { - "202": {}, - "200": { - "body": { - "value": [ - { - "localAddress": "10.85.3.4", - "network": "10.101.0.0/16", - "nextHop": "10.85.4.4", - "sourcePeer": "10.85.4.4", - "origin": "EBgp", - "asPath": "65002-65001", - "weight": 32768 - }, - { - "localAddress": "10.85.3.5", - "network": "10.101.0.0/16", - "nextHop": "10.85.4.4", - "sourcePeer": "10.85.4.4", - "origin": "EBgp", - "asPath": "65002-65001", - "weight": 32768 - } - ] - } + "parameters": { + "api-version": "2020-07-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "hubName": "virtualRouter1", + "connectionName": "peer1" + }, + "responses": { + "202": {}, + "200": { + "body": { + "value": [ + { + "localAddress": "10.85.3.4", + "network": "10.101.0.0/16", + "nextHop": "10.85.4.4", + "sourcePeer": "10.85.4.4", + "origin": "EBgp", + "asPath": "65002-65001", + "weight": 32768 + }, + { + "localAddress": "10.85.3.5", + "network": "10.101.0.0/16", + "nextHop": "10.85.4.4", + "sourcePeer": "10.85.4.4", + "origin": "EBgp", + "asPath": "65002-65001", + "weight": 32768 + } + ] } } - } \ No newline at end of file + } +}