class Azure::Network::Mgmt::V2018_12_01::Models::PacketCaptureFilter
Filter that is applied to packet capture request. Multiple filters can be applied.
Attributes
@return [String] Local IP Address to be filtered on. Notation: “127.0.0.1” for single address entry. “127.0.0.1-127.0.0.255” for range. “127.0.0.1;127.0.0.5”? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
@return [String] Local port to be filtered on. Notation: “80” for single port entry.“80-85” for range. “80;443;” for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
@return [PcProtocol] Protocol
to be filtered on. Possible values include: 'TCP', 'UDP', 'Any'. Default value: 'Any' .
@return [String] Local IP Address to be filtered on. Notation: “127.0.0.1” for single address entry. “127.0.0.1-127.0.0.255” for range. “127.0.0.1;127.0.0.5;” for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
@return [String] Remote port to be filtered on. Notation: “80” for single port entry.“80-85” for range. “80;443;” for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
Public Class Methods
Mapper for PacketCaptureFilter
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-12-01/generated/azure_mgmt_network/models/packet_capture_filter.rb, line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { name: 'Composite', class_name: 'PacketCaptureFilter', model_properties: { protocol: { client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', type: { name: 'String' } }, local_ipaddress: { client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { name: 'String' } }, remote_ipaddress: { client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { name: 'String' } }, local_port: { client_side_validation: true, required: false, serialized_name: 'localPort', type: { name: 'String' } }, remote_port: { client_side_validation: true, required: false, serialized_name: 'remotePort', type: { name: 'String' } } } } } end