class Azure::Network::Mgmt::V2020_07_01::Models::PacketCaptureStorageLocation

The storage location for a packet capture session.

Attributes

file_path[RW]

@return [String] A valid local path on the targeting VM. Must include 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.

storage_id[RW]

@return [String] The ID of the storage account to save the packet capture session. Required if no local file path is provided.

storage_path[RW]

@return [String] The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.

Public Class Methods

mapper() click to toggle source

Mapper for PacketCaptureStorageLocation class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-07-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PacketCaptureStorageLocation',
    type: {
      name: 'Composite',
      class_name: 'PacketCaptureStorageLocation',
      model_properties: {
        storage_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'storageId',
          type: {
            name: 'String'
          }
        },
        storage_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'storagePath',
          type: {
            name: 'String'
          }
        },
        file_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'filePath',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end