src/vsphere_cpi/lib/nsxt/nsxt_client/api/network_transport_api.rb
def list_transport_nodes_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug "Calling API: NetworkTransportApi.list_transport_nodes ..."
      end
      if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 1000
        fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling NetworkTransportApi.list_transport_nodes, must be smaller than or equal to 1000.'
      end

      if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 0
        fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling NetworkTransportApi.list_transport_nodes, must be greater than or equal to 0.'
      end

      # resource path
      local_var_path = "/transport-nodes"

      # query parameters
      query_params = {}
      query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
      query_params[:'in_maintenance_mode'] = opts[:'in_maintenance_mode'] if !opts[:'in_maintenance_mode'].nil?
      query_params[:'included_fields'] = opts[:'included_fields'] if !opts[:'included_fields'].nil?
      query_params[:'node_id'] = opts[:'node_id'] if !opts[:'node_id'].nil?
      query_params[:'node_ip'] = opts[:'node_ip'] if !opts[:'node_ip'].nil?
      query_params[:'node_types'] = opts[:'node_types'] if !opts[:'node_types'].nil?
      query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
      query_params[:'sort_ascending'] = opts[:'sort_ascending'] if !opts[:'sort_ascending'].nil?
      query_params[:'sort_by'] = opts[:'sort_by'] if !opts[:'sort_by'].nil?
      query_params[:'transport_zone_id'] = opts[:'transport_zone_id'] if !opts[:'transport_zone_id'].nil?

      # 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 => 'TransportNodeListResult')
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: NetworkTransportApi#list_transport_nodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
# List Transport Nodes
# Returns information about all transport nodes. A transport node is a fabric node (host or edge) that contains hostswitches. A hostswitch can have virtual machines connected to them.  Because each transport node has HostSwitches, transport nodes can also have virtual tunnel endpoints, which means that they can be part of the overlay. 
# @param [Hash] opts the optional parameters
# @option opts [String] :cursor Opaque cursor to be used for getting next page of records (supplied by current result page)
# @option opts [BOOLEAN] :in_maintenance_mode maintenance mode flag
# @option opts [String] :included_fields Comma separated list of fields that should be included to result of query
# @option opts [String] :node_id node identifier
# @option opts [String] :node_ip Fabric node IP address
# @option opts [String] :node_types a list of fabric node types separated by comma or a single type
# @option opts [Integer] :page_size Maximum number of results to return in this page (server may return fewer)
# @option opts [BOOLEAN] :sort_ascending 
# @option opts [String] :sort_by Field by which records are sorted
# @option opts [String] :transport_zone_id Transport zone identifier
# @return [Array<(TransportNodeListResult, Fixnum, Hash)>] TransportNodeListResult data, response status code and response headers
List Transport Nodes
Returns information about all transport nodes. A transport node is a fabric node (host or edge) that contains hostswitches. A hostswitch can have virtual machines connected to them.  Because each transport node has HostSwitches, transport nodes can also have virtual tunnel endpoints, which means that they can be part of the overlay.
List Transport Nodes Returns information about all transport nodes . A transport node is a fabric node ( host or edge ) that contains hostswitches . A hostswitch can have virtual machines connected to them . Because each transport node has HostSwitches transport nodes can also have virtual tunnel endpoints which means that they can be part of the overlay .
def list_transport_nodes_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug "Calling API: NetworkTransportApi.list_transport_nodes ..."
      end
      if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 1000
        fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling NetworkTransportApi.list_transport_nodes, must be smaller than or equal to 1000.'
      end
      if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 0
        fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling NetworkTransportApi.list_transport_nodes, must be greater than or equal to 0.'
      end
      local_var_path = "/transport-nodes"
      query_params = {}
      query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
      query_params[:'in_maintenance_mode'] = opts[:'in_maintenance_mode'] if !opts[:'in_maintenance_mode'].nil?
      query_params[:'included_fields'] = opts[:'included_fields'] if !opts[:'included_fields'].nil?
      query_params[:'node_id'] = opts[:'node_id'] if !opts[:'node_id'].nil?
      query_params[:'node_ip'] = opts[:'node_ip'] if !opts[:'node_ip'].nil?
      query_params[:'node_types'] = opts[:'node_types'] if !opts[:'node_types'].nil?
      query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
      query_params[:'sort_ascending'] = opts[:'sort_ascending'] if !opts[:'sort_ascending'].nil?
      query_params[:'sort_by'] = opts[:'sort_by'] if !opts[:'sort_by'].nil?
      query_params[:'transport_zone_id'] = opts[:'transport_zone_id'] if !opts[:'transport_zone_id'].nil?
      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 => 'TransportNodeListResult')
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: NetworkTransportApi#list_transport_nodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def list_transport_nodes_with_http_info ( opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug "Calling API: NetworkTransportApi.list_transport_nodes ..." end if @api_client . config . client_side_validation && ! opts [ :' page_size ' ] . nil? && opts [ :' page_size ' ] > 1000 fail ArgumentError , 'invalid value for "opts[:"page_size"]" when calling NetworkTransportApi.list_transport_nodes, must be smaller than or equal to 1000.' end if @api_client . config . client_side_validation && ! opts [ :' page_size ' ] . nil? && opts [ :' page_size ' ] < 0 fail ArgumentError , 'invalid value for "opts[:"page_size"]" when calling NetworkTransportApi.list_transport_nodes, must be greater than or equal to 0.' end local_var_path = "/transport-nodes" query_params = { } query_params [ :' cursor ' ] = opts [ :' cursor ' ] if ! opts [ :' cursor ' ] . nil? query_params [ :' in_maintenance_mode ' ] = opts [ :' in_maintenance_mode ' ] if ! opts [ :' in_maintenance_mode ' ] . nil? query_params [ :' included_fields ' ] = opts [ :' included_fields ' ] if ! opts [ :' included_fields ' ] . nil? query_params [ :' node_id ' ] = opts [ :' node_id ' ] if ! opts [ :' node_id ' ] . nil? query_params [ :' node_ip ' ] = opts [ :' node_ip ' ] if ! opts [ :' node_ip ' ] . nil? query_params [ :' node_types ' ] = opts [ :' node_types ' ] if ! opts [ :' node_types ' ] . nil? query_params [ :' page_size ' ] = opts [ :' page_size ' ] if ! opts [ :' page_size ' ] . nil? query_params [ :' sort_ascending ' ] = opts [ :' sort_ascending ' ] if ! opts [ :' sort_ascending ' ] . nil? query_params [ :' sort_by ' ] = opts [ :' sort_by ' ] if ! opts [ :' sort_by ' ] . nil? query_params [ :' transport_zone_id ' ] = opts [ :' transport_zone_id ' ] if ! opts [ :' transport_zone_id ' ] . nil? 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 => 'TransportNodeListResult' ) if @api_client . config . debugging @api_client . config . logger . debug "API called: NetworkTransportApi#list_transport_nodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
List Transport Nodes
Returns information about all transport nodes.
List Transport Nodes Returns information about all transport nodes .
# resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model)
TransportNodeListResult data, response status code and response headers
TransportNodeListResult data response status code and response headers
Array<(TransportNodeListResult, Fixnum, Hash)>
opts
:transport_zone_id Transport zone identifier
: transport_zone_id Transport zone identifier
opts the optional parameters
opts the optional parameters