diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-01-01/azureFirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-01-01/azureFirewall.json index df777fa6ecc5..26de624c5689 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-01-01/azureFirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-01-01/azureFirewall.json @@ -1217,7 +1217,7 @@ }, "description": "List of SNAT IP Prefixes learnt by firewall to not SNAT" }, - "FirewallPacketCaptureParametersFormat": { + "FirewallPacketCaptureParameters": { "type": "object", "properties": { "durationInSeconds": { @@ -1267,7 +1267,7 @@ "x-ms-identifiers": [] } }, - "description": "Packet capture parameters on azure firewall." + "description": "Azure Firewall Packet Capture Parameters." }, "AzureFirewallPacketCaptureFlags": { "type": "object", @@ -1321,22 +1321,6 @@ } }, "description": "Group of src/dest ips and ports to be captured." - }, - "FirewallPacketCaptureParameters": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/FirewallPacketCaptureParametersFormat", - "description": "Properties of the azure firewall." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "Azure Firewall Packet Capture Parameters resource." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-01-01/examples/AzureFirewallPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-01-01/examples/AzureFirewallPacketCapture.json index c9b956952b9b..ef6fa4397e1c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-01-01/examples/AzureFirewallPacketCapture.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-01-01/examples/AzureFirewallPacketCapture.json @@ -5,47 +5,45 @@ "resourceGroupName": "rg1", "azureFirewallName": "azureFirewall1", "parameters": { - "properties": { - "durationInSeconds": 300, - "numberOfPacketsToCapture": 5000, - "sasUrl": "someSASURL", - "fileName": "azureFirewallPacketCapture", - "protocol": "Any", - "flags": [ - { - "type": "syn" - }, - { - "type": "fin" - } - ], - "filters": [ - { - "sources": [ - "20.1.1.0" - ], - "destinations": [ - "20.1.2.0" - ], - "destinationPorts": [ - "4500" - ] - }, - { - "sources": [ - "10.1.1.0", - "10.1.1.1" - ], - "destinations": [ - "10.1.2.0" - ], - "destinationPorts": [ - "123", - "80" - ] - } - ] - } + "durationInSeconds": 300, + "numberOfPacketsToCapture": 5000, + "sasUrl": "someSASURL", + "fileName": "azureFirewallPacketCapture", + "protocol": "Any", + "flags": [ + { + "type": "syn" + }, + { + "type": "fin" + } + ], + "filters": [ + { + "sources": [ + "20.1.1.0" + ], + "destinations": [ + "20.1.2.0" + ], + "destinationPorts": [ + "4500" + ] + }, + { + "sources": [ + "10.1.1.0", + "10.1.1.1" + ], + "destinations": [ + "10.1.2.0" + ], + "destinationPorts": [ + "123", + "80" + ] + } + ] } }, "responses": { diff --git a/specification/network/resource-manager/sdk-suppressions.yaml b/specification/network/resource-manager/sdk-suppressions.yaml new file mode 100644 index 000000000000..f5f18097c539 --- /dev/null +++ b/specification/network/resource-manager/sdk-suppressions.yaml @@ -0,0 +1,6 @@ +suppressions: + azure-sdk-for-go: + - package: 'sdk/resourcemanager/network/armnetwork' + breaking-changes: + - Struct `FirewallPacketCaptureParametersFormat` has been removed + - Field `ID`, `Properties` of struct `FirewallPacketCaptureParameters` has been removed \ No newline at end of file