src/vsphere_cpi/lib/nsxt/nsxt_client/api/pool_management_api.rb
def list_vni_pools_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug "Calling API: PoolManagementApi.list_vni_pools ..."
      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 PoolManagementApi.list_vni_pools, 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 PoolManagementApi.list_vni_pools, must be greater than or equal to 0.'
      end

      # resource path
      local_var_path = "/pools/vni-pools"

      # query parameters
      query_params = {}
      query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
      query_params[:'included_fields'] = opts[:'included_fields'] if !opts[:'included_fields'].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?

      # 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 => 'VniPoolListResult')
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: PoolManagementApi#list_vni_pools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
# List VNI Pools
# Returns information about the default and configured virtual network identifier (VNI) pools for use when building logical network segments. Each virtual network has a unique ID called a VNI. Instead of creating a new VNI each time you need a new logical switch, you can instead allocate a VNI from a VNI pool. VNI pools are sometimes called segment ID pools. Each VNI pool has a range of usable VNIs. By default, there is one pool with the range 5000 through 65535. To create multiple smaller pools, specify a smaller range for each pool, such as 5000-5200 and 5201-5400. The VNI range determines the maximum number of logical switches that can be created in each network segment. 
# @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 [String] :included_fields Comma separated list of fields that should be included to result of query
# @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
# @return [Array<(VniPoolListResult, Fixnum, Hash)>] VniPoolListResult data, response status code and response headers
List VNI Pools
Returns information about the default and configured virtual network identifier (VNI) pools for use when building logical network segments. Each virtual network has a unique ID called a VNI. Instead of creating a new VNI each time you need a new logical switch, you can instead allocate a VNI from a VNI pool. VNI pools are sometimes called segment ID pools. Each VNI pool has a range of usable VNIs. By default, there is one pool with the range 5000 through 65535. To create multiple smaller pools, specify a smaller range for each pool, such as 5000-5200 and 5201-5400. The VNI range determines the maximum number of logical switches that can be created in each network segment.
List VNI Pools Returns information about the default and configured virtual network identifier ( VNI ) pools for use when building logical network segments . Each virtual network has a unique ID called a VNI . Instead of creating a new VNI each time you need a new logical switch you can instead allocate a VNI from a VNI pool . VNI pools are sometimes called segment ID pools . Each VNI pool has a range of usable VNIs . By default there is one pool with the range 5000 through 65535 . To create multiple smaller pools specify a smaller range for each pool such as 5000 - 5200 and 5201 - 5400 . The VNI range determines the maximum number of logical switches that can be created in each network segment .
def list_vni_pools_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug "Calling API: PoolManagementApi.list_vni_pools ..."
      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 PoolManagementApi.list_vni_pools, 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 PoolManagementApi.list_vni_pools, must be greater than or equal to 0.'
      end
      local_var_path = "/pools/vni-pools"
      query_params = {}
      query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
      query_params[:'included_fields'] = opts[:'included_fields'] if !opts[:'included_fields'].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?
      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 => 'VniPoolListResult')
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: PoolManagementApi#list_vni_pools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def list_vni_pools_with_http_info ( opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug "Calling API: PoolManagementApi.list_vni_pools ..." 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 PoolManagementApi.list_vni_pools, 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 PoolManagementApi.list_vni_pools, must be greater than or equal to 0.' end local_var_path = "/pools/vni-pools" query_params = { } query_params [ :' cursor ' ] = opts [ :' cursor ' ] if ! opts [ :' cursor ' ] . nil? query_params [ :' included_fields ' ] = opts [ :' included_fields ' ] if ! opts [ :' included_fields ' ] . 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? 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 => 'VniPoolListResult' ) if @api_client . config . debugging @api_client . config . logger . debug "API called: PoolManagementApi#list_vni_pools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
List VNI Pools
Returns information about the default and configured virtual network identifier (VNI) pools for use when building logical network segments.
List VNI Pools Returns information about the default and configured virtual network identifier ( VNI ) pools for use when building logical network segments .
# resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model)
VniPoolListResult data, response status code and response headers
VniPoolListResult data response status code and response headers
Array<(VniPoolListResult, Fixnum, Hash)>
opts
:sort_by Field by which records are sorted
: sort_by Field by which records are sorted
opts the optional parameters
opts the optional parameters