Class: Azure::ARM::Network::Models::PacketCaptureResult
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::PacketCaptureResult
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/packet_capture_result.rb
Overview
Information about packet capture session.
Instance Attribute Summary collapse
-
#bytes_to_capture_per_packet ⇒ Integer
bytes are truncated.
-
#etag ⇒ String
changes whenever the resource is updated.‘ .
- #filters ⇒ Array<PacketCaptureFilter>
-
#id ⇒ String
ID of the packet capture operation.
-
#name ⇒ String
Name of the packet capture session.
-
#provisioning_state ⇒ ProvisioningState
capture session.
- #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 PacketCaptureResult class as Ruby Hash.
Instance Attribute Details
#bytes_to_capture_per_packet ⇒ Integer
bytes are truncated. Default value: 0 .
32 33 34 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 32 def bytes_to_capture_per_packet @bytes_to_capture_per_packet end |
#etag ⇒ String
changes whenever the resource is updated.‘ .
24 25 26 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 24 def etag @etag end |
#filters ⇒ Array<PacketCaptureFilter>
46 47 48 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 46 def filters @filters end |
#id ⇒ String
Returns ID of the packet capture operation.
20 21 22 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 20 def id @id end |
#name ⇒ String
Returns Name of the packet capture session.
17 18 19 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 17 def name @name end |
#provisioning_state ⇒ ProvisioningState
capture session. Possible values include: ‘Succeeded’, ‘Updating’, ‘Deleting’, ‘Failed’
51 52 53 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 51 def provisioning_state @provisioning_state end |
#storage_location ⇒ PacketCaptureStorageLocation
43 44 45 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 43 def storage_location @storage_location end |
#target ⇒ String
supported.
28 29 30 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 28 def target @target end |
#time_limit_in_seconds ⇒ Integer
Default value: 18000 .
40 41 42 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 40 def time_limit_in_seconds @time_limit_in_seconds end |
#total_bytes_per_session ⇒ Integer
1073741824 .
36 37 38 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 36 def total_bytes_per_session @total_bytes_per_session end |
Class Method Details
.mapper ⇒ Object
Mapper for PacketCaptureResult class as Ruby Hash. This will be used for serialization/deserialization.
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 152 153 154 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_result.rb', line 58 def self.mapper() { required: false, serialized_name: 'PacketCaptureResult', type: { name: 'Composite', class_name: 'PacketCaptureResult', model_properties: { name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, etag: { required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', type: { name: 'String' } }, 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' } } } }, provisioning_state: { required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } } } } } end |