Class: Azure::ARM::Network::Models::PacketCaptureStorageLocation
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::PacketCaptureStorageLocation
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/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.
29 30 31 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_storage_location.rb', line 29 def file_path @file_path end |
#storage_id ⇒ String
capture session. Required if no local file path is provided.
18 19 20 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_storage_location.rb', line 18 def storage_id @storage_id end |
#storage_path ⇒ String
capture. Must be a well-formed URI describing the location to save the packet capture.
23 24 25 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_storage_location.rb', line 23 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.
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 68 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_storage_location.rb', line 36 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 |