def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil)
      response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil)
      response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Create and start a packet capture on the specified VM.

 @param resource_group_name [String] The name of the resource group.
 @param network_watcher_name [String] The name of the network watcher.
 @param packet_capture_name [String] The name of the packet capture session.
 @param parameters [PacketCapture] Parameters that define the create packet
 capture operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [PacketCaptureResult] operation results.