class Azure::Network::Mgmt::V2019_06_01::Models::PacketCaptureFilter

Filter that is applied to packet capture request. Multiple filters can be applied.

Attributes

local_ipaddress[RW]

@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.

local_port[RW]

@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.

protocol[RW]

@return [PcProtocol] Protocol to be filtered on. Possible values include: 'TCP', 'UDP', 'Any'. Default value: 'Any' .

remote_ipaddress[RW]

@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.

remote_port[RW]

@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.

Private Class Methods

mapper() click to toggle source

Mapper for PacketCaptureFilter class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-06-01/generated/azure_mgmt_network/models/packet_capture_filter.rb, line 50
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