Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.66 KB

nodebalancer_stats.md

File metadata and controls

56 lines (44 loc) · 1.66 KB

nodebalancer_stats

View a Linode NodeBalancers Stats.

Examples

- name: List all of the Nodebalancer Stats for the Nodebalancer with the given id
  linode.cloud.nodebalancer_stats:
    id: 12345
- name: List all of the Nodebalancer Stats for the Nodebalancer with the given label
  linode.cloud.nodebalancer_stats:
    label: example_label

Parameters

Field Type Required Description
id int Optional The id of the nodebalancer for which the statistics apply to. (Conflicts With: label)
label str Optional The label of the nodebalancer for which the statistics apply to. (Conflicts With: id)

Return Values

  • node_balancer_stats - The NodeBalancer Stats in JSON serialized form.

    • Sample Response:
      [
        {
          "connections": [
            1679586600000,
            0
          ],
          "traffic": {
            "in": [
              1679586600000,
              0
            ],
            "out": [
              1679586600000,
              0
            ]
          }
          "title" : "sample-title"
        }
      ]
    • See the Linode API response documentation for a list of returned fields