.. _slb_template_link_cost_stats:

slb template link-cost stats
============================

Statistics for the object link-cost


link-cost Specification
-----------------------

	===================================== ============================================================================
	 **Parameter**                         **Value** 

	===================================== ============================================================================
	 **Type**                              *Collection*

	 **Collection Name**                   :ref:`3002_link-cost_list`

	 **Collection URI**                    /axapi/v3/slb/template/link-cost/{name}

	                                       

	 **Element Name**                      link-cost

	 **Element URI**                       /axapi/v3/slb/template/link-cost/{name}/stats

	 **Element Attributes**                link-cost_attributes

	 **Partition Visibility**              None

	 **Schema**                             :download:`link-cost schema <slb-template-link-cost-stats/slb-template-link-cost-stats.txt>`
	===================================== ============================================================================





	**Operations Allowed:**




.. raw:: html

   <script type="text/javascript">
 function showExample(a,b) { document.getElementById(a+'_div').style.display = 'block'; document.getElementById(a+'_cl').style.display = 'block'; document.getElementById(a+'_eg').style.display = 'none';}
   function closeExample(a,b) { document.getElementById(a+'_div').style.display = 'none'; document.getElementById(a+'_cl').style.display = 'none'; document.getElementById(a+'_eg').style.display = 'block';}
 </script>
   <table width='90%' style='margin-left:5%'>



.. raw:: html

   <tr style='border-bottom: thin solid; border-top: thin solid'><th width=15%>Operation</th><th width=10%>Method</th><th>URI</th><th width=15%>Payload</th><th width=10%></th></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Create Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/template/link-cost/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`3002_link-cost_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Create List



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/template/link-cost/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`3002_link-cost_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Get Object



.. raw:: html

   </td><td valign = 'top'>


GET



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/template/link-cost/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`3002_link-cost_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Get List



.. raw:: html

   </td><td valign = 'top'>


GET



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/template/link-cost/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`3002_link-cost_list`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Modify Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/template/link-cost/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`3002_link-cost_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Replace Object



.. raw:: html

   </td><td valign = 'top'>


PUT



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/template/link-cost/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`3002_link-cost_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Replace List



.. raw:: html

   </td><td valign = 'top'>


PUT



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/template/link-cost/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`3002_link-cost_list`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Delete Object



.. raw:: html

   </td><td valign = 'top'>


DELETE



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/template/link-cost/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`3002_link-cost_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   </table>

.. _3002_link-cost_list:

link-cost-list
--------------


    link-cost-list is **JSON List** of :ref:`3002_link-cost_attributes` 

        link-cost-list : [

             { :ref:`3002_link-cost_attributes` },

             { :ref:`3002_link-cost_attributes` },

             ...

         ]

.. _3002_link-cost_attributes:

link-cost attributes
--------------------

    **name**

        **Description** Server Link-Cost Template Name

        **Type:** string

        **Format:** string-rlx

        **Maximum Length:** 127 characters

        **Maximum Length:** 1 characters

    **stats**

        **Description:** stats is a **JSON Block**.  Please see below for :ref:`3002_stats` 

        **Type:** Object

.. _3002_stats:

stats
^^^^^
	=============================== ===================================================
	**Specification**                 **Value**
	=============================== ===================================================
	 **Type**                        *object*

	=============================== ===================================================

    **interval_avg_throughput**

        **Description** Link Cost average throughput per interval

        **Type:** number

        **Format:** counter

    **interval_fwd_bytes**

        **Description** Link Cost bytes processed in forward direction per interval

        **Type:** number

        **Format:** counter

    **interval_max_throughput**

        **Description** Link Cost max throughput per interval

        **Type:** number

        **Format:** counter

    **link_total_conn**

        **Description** Link Cost total connection

        **Type:** number

        **Format:** counter

    **link_total_fwd_bytes**

        **Description** Total bytes fwd for link

        **Type:** number

        **Format:** counter