src/vsphere_cpi/lib/nsxt/nsxt_client/api/troubleshooting_and_monitoring_api.rb
def list_packet_capture_sessions_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug "Calling API: TroubleshootingAndMonitoringApi.list_packet_capture_sessions ..."
      end
      # resource path
      local_var_path = "/pktcap/sessions"

      # query parameters
      query_params = {}

      # header parameters
      header_params = {}
      # HTTP header 'Accept' (if needed)
      header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      # HTTP header 'Content-Type'
      header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

      # form parameters
      form_params = {}

      # http body (model)
      post_body = nil
      auth_names = ['BasicAuth']
      data, status_code, headers = @api_client.call_api(:GET, local_var_path,
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => 'PacketCaptureSessionList')
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: TroubleshootingAndMonitoringApi#list_packet_capture_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
# Get the information of all packet capture sessions
# Get the information of all packet capture sessions. 
# @param [Hash] opts the optional parameters
# @return [Array<(PacketCaptureSessionList, Fixnum, Hash)>] PacketCaptureSessionList data, response status code and response headers
Get the information of all packet capture sessions
Get the information of all packet capture sessions.
Get the information of all packet capture sessions Get the information of all packet capture sessions .
def list_packet_capture_sessions_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug "Calling API: TroubleshootingAndMonitoringApi.list_packet_capture_sessions ..."
      end
      local_var_path = "/pktcap/sessions"
      query_params = {}
      header_params = {}
      header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
      form_params = {}
      post_body = nil
      auth_names = ['BasicAuth']
      data, status_code, headers = @api_client.call_api(:GET, local_var_path,
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => 'PacketCaptureSessionList')
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: TroubleshootingAndMonitoringApi#list_packet_capture_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def list_packet_capture_sessions_with_http_info ( opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug "Calling API: TroubleshootingAndMonitoringApi.list_packet_capture_sessions ..." end local_var_path = "/pktcap/sessions" query_params = { } header_params = { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/json' ] ) header_params [ 'Content-Type' ] = @api_client . select_header_content_type ( [ 'application/json' ] ) form_params = { } post_body = nil auth_names = [ 'BasicAuth' ] data , status_code , headers = @api_client . call_api ( :GET , local_var_path , :header_params => header_params , :query_params => query_params , :form_params => form_params , :body => post_body , :auth_names => auth_names , :return_type => 'PacketCaptureSessionList' ) if @api_client . config . debugging @api_client . config . logger . debug "API called: TroubleshootingAndMonitoringApi#list_packet_capture_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
Get the information of all packet capture sessions
Get the information of all packet capture sessions.
Get the information of all packet capture sessions Get the information of all packet capture sessions .
# resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model)
PacketCaptureSessionList data, response status code and response headers
PacketCaptureSessionList data response status code and response headers
Array<(PacketCaptureSessionList, Fixnum, Hash)>
opts
opts the optional parameters
opts the optional parameters