Class: Azure::Network::Mgmt::V2016_09_01::Models::PacketCaptureStorageLocation
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2016_09_01::Models::PacketCaptureStorageLocation
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb
Overview
Describes the storage location for a packet capture session.
Instance Attribute Summary collapse
-
#file_path ⇒ String
the name of the capture file (*.cap).
-
#storage_id ⇒ String
capture session.
-
#storage_path ⇒ String
capture.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PacketCaptureStorageLocation class as Ruby Hash.
Instance Attribute Details
#file_path ⇒ String
the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
28 29 30 |
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb', line 28 def file_path @file_path end |
#storage_id ⇒ String
capture session. Required if no local file path is provided.
17 18 19 |
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb', line 17 def storage_id @storage_id end |
#storage_path ⇒ String
capture. Must be a well-formed URI describing the location to save the packet capture.
22 23 24 |
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb', line 22 def storage_path @storage_path end |
Class Method Details
.mapper ⇒ Object
Mapper for PacketCaptureStorageLocation class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 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 |
# File 'lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb', line 35 def self.mapper() { required: false, serialized_name: 'PacketCaptureStorageLocation', type: { name: 'Composite', class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { required: false, serialized_name: 'storageId', type: { name: 'String' } }, storage_path: { required: false, serialized_name: 'storagePath', type: { name: 'String' } }, file_path: { required: false, serialized_name: 'filePath', type: { name: 'String' } } } } } end |