Class: Azure::Network::Mgmt::V2016_09_01::Models::PacketCaptureFilter
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2016_09_01::Models::PacketCaptureFilter
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb
Overview
Filter that is applied to packet capture request. Multiple filters can be applied.
Instance Attribute Summary collapse
-
#local_ipaddress ⇒ String
“127.0.0.1” for single address entry.
-
#local_port ⇒ String
single port entry.“80-85” for range.
-
#protocol ⇒ PcProtocol
include: ‘TCP’, ‘UDP’, ‘Any’.
-
#remote_ipaddress ⇒ String
“127.0.0.1” for single address entry.
-
#remote_port ⇒ String
single port entry.“80-85” for range.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PacketCaptureFilter class as Ruby Hash.
Instance Attribute Details
#local_ipaddress ⇒ String
“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.
25 26 27 |
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb', line 25 def local_ipaddress @local_ipaddress end |
#local_port ⇒ String
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.
38 39 40 |
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb', line 38 def local_port @local_port end |
#protocol ⇒ PcProtocol
include: ‘TCP’, ‘UDP’, ‘Any’. Default value: ‘Any’ .
18 19 20 |
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb', line 18 def protocol @protocol end |
#remote_ipaddress ⇒ String
“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.
32 33 34 |
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb', line 32 def remote_ipaddress @remote_ipaddress end |
#remote_port ⇒ String
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.
44 45 46 |
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb', line 44 def remote_port @remote_port end |
Class Method Details
.mapper ⇒ Object
Mapper for PacketCaptureFilter class as Ruby Hash. This will be used for serialization/deserialization.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb', line 51 def self.mapper() { required: false, serialized_name: 'PacketCaptureFilter', type: { name: 'Composite', class_name: 'PacketCaptureFilter', model_properties: { protocol: { required: false, serialized_name: 'protocol', default_value: 'Any', type: { name: 'String' } }, local_ipaddress: { required: false, serialized_name: 'localIPAddress', type: { name: 'String' } }, remote_ipaddress: { required: false, serialized_name: 'remoteIPAddress', type: { name: 'String' } }, local_port: { required: false, serialized_name: 'localPort', type: { name: 'String' } }, remote_port: { required: false, serialized_name: 'remotePort', type: { name: 'String' } } } } } end |