-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add VpnGatewaypacketCapture api (#9832)
* add VpnGatewaypacketCapture api * add custom words * add vpn connection packet capture * fix naming errors * fix error * fix word * fixing validation * fix model error * finish prettier * fix test
- Loading branch information
Showing
8 changed files
with
444 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...manager/Microsoft.Network/stable/2020-06-01/examples/VpnConnectionStartPacketCapture.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"gatewayName": "gateway1", | ||
"vpnConnectionName": "vpnConnection1", | ||
"parameters": { | ||
"linkConnectionNames": [ | ||
"siteLink1", | ||
"siteLink2" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"200": { | ||
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...crosoft.Network/stable/2020-06-01/examples/VpnConnectionStartPacketCaptureFilterData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"gatewayName": "gateway1", | ||
"vpnConnectionName": "vpnConnection1", | ||
"parameters": { | ||
"filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}", | ||
"linkConnectionNames": [ | ||
"siteLink1", | ||
"siteLink2" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"200": { | ||
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...-manager/Microsoft.Network/stable/2020-06-01/examples/VpnConnectionStopPacketCapture.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"gatewayName": "gateway1", | ||
"vpnConnectionName": "vpnConnection1", | ||
"parameters": { | ||
"sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D", | ||
"linkConnectionNames": [ | ||
"vpnSiteLink1", | ||
"vpnSiteLink2" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"200": { | ||
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ce-manager/Microsoft.Network/stable/2020-06-01/examples/VpnGatewayStartPacketCapture.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"gatewayName": "vpngw" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"200": { | ||
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
.../Microsoft.Network/stable/2020-06-01/examples/VpnGatewayStartPacketCaptureFilterData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"gatewayName": "vpngw", | ||
"parameters": { | ||
"filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}" | ||
} | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"200": { | ||
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...rce-manager/Microsoft.Network/stable/2020-06-01/examples/VpnGatewayStopPacketCapture.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"gatewayName": "vpngw", | ||
"parameters": { | ||
"sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" | ||
} | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"200": { | ||
"body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" | ||
} | ||
} | ||
} |
Oops, something went wrong.