Class: Azure::ARM::Network::Models::PacketCapture
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::PacketCapture
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/packet_capture.rb
Overview
Parameters that define the create packet capture operation.
Instance Attribute Summary collapse
-
#bytes_to_capture_per_packet ⇒ Integer
bytes are truncated.
- #filters ⇒ Array<PacketCaptureFilter>
- #storage_location ⇒ PacketCaptureStorageLocation
-
#target ⇒ String
supported.
-
#time_limit_in_seconds ⇒ Integer
Default value: 18000 .
-
#total_bytes_per_session ⇒ Integer
1073741824 .
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PacketCapture class as Ruby Hash.
Instance Attribute Details
#bytes_to_capture_per_packet ⇒ Integer
bytes are truncated. Default value: 0 .
22 23 24 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture.rb', line 22 def bytes_to_capture_per_packet @bytes_to_capture_per_packet end |
#filters ⇒ Array<PacketCaptureFilter>
36 37 38 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture.rb', line 36 def filters @filters end |
#storage_location ⇒ PacketCaptureStorageLocation
33 34 35 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture.rb', line 33 def storage_location @storage_location end |
#target ⇒ String
supported.
18 19 20 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture.rb', line 18 def target @target end |
#time_limit_in_seconds ⇒ Integer
Default value: 18000 .
30 31 32 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture.rb', line 30 def time_limit_in_seconds @time_limit_in_seconds end |
#total_bytes_per_session ⇒ Integer
1073741824 .
26 27 28 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture.rb', line 26 def total_bytes_per_session @total_bytes_per_session end |
Class Method Details
.mapper ⇒ Object
Mapper for PacketCapture class as Ruby Hash. This will be used for serialization/deserialization.
43 44 45 46 47 48 49 50 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 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture.rb', line 43 def self.mapper() { required: false, serialized_name: 'PacketCapture', type: { name: 'Composite', class_name: 'PacketCapture', model_properties: { target: { required: true, serialized_name: 'properties.target', type: { name: 'String' } }, bytes_to_capture_per_packet: { required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, type: { name: 'Number' } }, total_bytes_per_session: { required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, type: { name: 'Number' } }, time_limit_in_seconds: { required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, type: { name: 'Number' } }, storage_location: { required: true, serialized_name: 'properties.storageLocation', type: { name: 'Composite', class_name: 'PacketCaptureStorageLocation' } }, filters: { required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { required: false, serialized_name: 'PacketCaptureFilterElementType', type: { name: 'Composite', class_name: 'PacketCaptureFilter' } } } } } } } end |