Skip to content

Commit bb94d46

Browse files
ankhykLeiwang3SQL
authored andcommitted
Fix tag network (Azure#16772)
* fix OBJECT_ADDITIONAL_PROPERTIES error in "network" * fix LRO_RESPONSE_HEADER error in "network" * fix INVALID_TYPE error in "network"
1 parent fc3b42c commit bb94d46

21 files changed

+65
-20
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/CloudServiceNetworkInterfaceGet.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@
5454
"networkSecurityGroup": {
5555
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
5656
},
57-
"primary": true,
58-
"roleInstance": {
59-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0"
60-
}
57+
"primary": true
6158
}
6259
}
6360
}

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/CloudServiceNetworkInterfaceList.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@
5454
"networkSecurityGroup": {
5555
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
5656
},
57-
"primary": true,
58-
"roleInstance": {
59-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0"
60-
}
57+
"primary": true
6158
}
6259
},
6360
{
@@ -105,10 +102,7 @@
105102
"networkSecurityGroup": {
106103
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
107104
},
108-
"primary": true,
109-
"roleInstance": {
110-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_1"
111-
}
105+
"primary": true
112106
}
113107
}
114108
]

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/CloudServiceRoleInstanceNetworkInterfaceList.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@
5555
"networkSecurityGroup": {
5656
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
5757
},
58-
"primary": true,
59-
"roleInstance": {
60-
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0"
61-
}
58+
"primary": true
6259
}
6360
}
6461
]

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"responses": {
1313
"202": {},
1414
"200": {
15-
"body": ""
15+
"body": {
16+
"profileUrl": "aaaaaaaaaaaaaaaaaaaaaaaaaaa"
17+
}
1618
}
1719
}
1820
}

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/NetworkWatcherAvailableProvidersListGet.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
}
4141
},
4242
"202": {
43+
"headers": {
44+
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/availableProvidersList?api-version=2021-05-01"
45+
},
4346
"body": {
4447
"countries": [
4548
{

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/NetworkWatcherAzureReachabilityReportGet.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
}
5151
},
5252
"202": {
53+
"headers": {
54+
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/azureReachabilityReport?api-version=2021-05-01"
55+
},
5356
"body": {
5457
"aggregationLevel": "State",
5558
"providerLocation": {

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/NetworkWatcherConnectionMonitorQuery.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
}
4242
},
4343
"202": {
44+
"headers": {
45+
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1/query?api-version=2021-05-01"
46+
},
4447
"body": {
4548
"sourceStatus": "Active",
4649
"states": [

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/NetworkWatcherConnectivityCheck.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
}
4848
},
4949
"202": {
50+
"headers": {
51+
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectivityCheck?api-version=2021-05-01"
52+
},
5053
"body": {
5154
"hops": [
5255
{

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/NetworkWatcherFlowLogConfigure.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
}
2424
},
2525
"202": {
26+
"headers": {
27+
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/configureFlowLog?api-version=2021-05-01"
28+
},
2629
"body": {
2730
"targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
2831
"properties": {

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/NetworkWatcherFlowLogStatusQuery.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
}
2020
},
2121
"202": {
22+
"headers": {
23+
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/queryFlowLogStatus?api-version=2021-05-01"
24+
},
2225
"body": {
2326
"targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
2427
"properties": {

0 commit comments

Comments
 (0)