Skip to content

Commit

Permalink
Fix tag network (Azure#16772)
Browse files Browse the repository at this point in the history
* fix OBJECT_ADDITIONAL_PROPERTIES error in "network"

* fix LRO_RESPONSE_HEADER error in "network"

* fix INVALID_TYPE error in "network"
  • Loading branch information
keryul authored Nov 18, 2021
1 parent 8c7612b commit fd48d49
Show file tree
Hide file tree
Showing 21 changed files with 65 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@
"networkSecurityGroup": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
},
"primary": true,
"roleInstance": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0"
}
"primary": true
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@
"networkSecurityGroup": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
},
"primary": true,
"roleInstance": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0"
}
"primary": true
}
},
{
Expand Down Expand Up @@ -105,10 +102,7 @@
"networkSecurityGroup": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
},
"primary": true,
"roleInstance": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_1"
}
"primary": true
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@
"networkSecurityGroup": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
},
"primary": true,
"roleInstance": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0"
}
"primary": true
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"responses": {
"202": {},
"200": {
"body": ""
"body": {
"profileUrl": "aaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/availableProvidersList?api-version=2021-05-01"
},
"body": {
"countries": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/azureReachabilityReport?api-version=2021-05-01"
},
"body": {
"aggregationLevel": "State",
"providerLocation": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1/query?api-version=2021-05-01"
},
"body": {
"sourceStatus": "Active",
"states": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectivityCheck?api-version=2021-05-01"
},
"body": {
"hops": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/configureFlowLog?api-version=2021-05-01"
},
"body": {
"targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/queryFlowLogStatus?api-version=2021-05-01"
},
"body": {
"targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/ipFlowVerify?api-version=2021-05-01"
},
"body": {
"access": "Allow",
"ruleName": "Rule1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/networkConfigurationDiagnostic?api-version=2021-05-01"
},
"body": {
"results": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/nextHop?api-version=2021-05-01"
},
"body": {
"nextHopType": "VnetLocal",
"nextHopIpAddress": "10.0.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/troubleshoot?api-version=2021-05-01"
},
"body": {
"name": "pc1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/queryStatus?api-version=2021-05-01"
},
"body": {
"networkInterfaces": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/troubleshoot?api-version=2021-05-01"
},
"body": {
"startTime": "2017-01-12T00:19:47.0442834Z",
"endTime": "2017-01-12T00:20:09.914Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
}
},
"202": {
"headers": {
"Location": "https:/management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/queryTroubleshootResult?api-version=2021-05-01"
},
"body": {
"startTime": "2017-01-12T00:19:47.0442834Z",
"endTime": "2017-01-12T00:20:09.914Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"responses": {
"202": {},
"200": {
"body": ""
"body": {
"profileUrl": "aaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
},
"responses": {
"200": {
"body": ""
"body": {
"sasUrl": "aaaaaaaaaaaaaaaaaa"
}
},
"202": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
}
},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bp1/queryInboundNatRulePortMapping?api-version=2021-05-01"
},
"body": {
"inboundNatRulePortMappings": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,16 @@
"responses": {
"202": {},
"200": {
"body": ""
"body": {
"saLifeTimeSeconds": 86473,
"saDataSizeKilobytes": 429497,
"ipsecEncryption": "AES256",
"ipsecIntegrity": "SHA256",
"ikeEncryption": "AES256",
"ikeIntegrity": "SHA384",
"dhGroup": "DHGroup2",
"pfsGroup": "PFS2"
}
}
}
}

0 comments on commit fd48d49

Please sign in to comment.