Class: Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-01-01/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>
-
#id ⇒ String
ID of the packet capture.
-
#name ⇒ String
Name of the packet capture.
- #storage_location ⇒ PacketCaptureStorageLocation
-
#target ⇒ String
supported.
-
#time_limit_in_seconds ⇒ Integer
Default value: 18000 .
-
#total_bytes_per_session ⇒ Integer
1073741824 .
-
#type ⇒ String
Packet capture type.
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 .
30 31 32 |
# File 'lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb', line 30 def bytes_to_capture_per_packet @bytes_to_capture_per_packet end |
#filters ⇒ Array<PacketCaptureFilter>
44 45 46 |
# File 'lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb', line 44 def filters @filters end |
#id ⇒ String
Returns ID of the packet capture.
19 20 21 |
# File 'lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb', line 19 def id @id end |
#name ⇒ String
Returns Name of the packet capture.
16 17 18 |
# File 'lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb', line 16 def name @name end |
#storage_location ⇒ PacketCaptureStorageLocation
41 42 43 |
# File 'lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb', line 41 def storage_location @storage_location end |
#target ⇒ String
supported.
26 27 28 |
# File 'lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb', line 26 def target @target end |
#time_limit_in_seconds ⇒ Integer
Default value: 18000 .
38 39 40 |
# File 'lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb', line 38 def time_limit_in_seconds @time_limit_in_seconds end |
#total_bytes_per_session ⇒ Integer
1073741824 .
34 35 36 |
# File 'lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb', line 34 def total_bytes_per_session @total_bytes_per_session end |
#type ⇒ String
Returns Packet capture type.
22 23 24 |
# File 'lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb', line 22 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for PacketCapture 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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { name: 'Composite', class_name: 'PacketCapture', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, target: { client_side_validation: true, required: true, serialized_name: 'properties.target', type: { name: 'String' } }, bytes_to_capture_per_packet: { client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, type: { name: 'Number' } }, total_bytes_per_session: { client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, type: { name: 'Number' } }, time_limit_in_seconds: { client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, type: { name: 'Number' } }, storage_location: { client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { name: 'Composite', class_name: 'PacketCaptureStorageLocation' } }, filters: { client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { name: 'Composite', class_name: 'PacketCaptureFilter' } } } } } } } end |