Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 2.48 KB

nodebalancer_stats.md

File metadata and controls

62 lines (49 loc) · 2.48 KB

nodebalancer_stats

Get info about a Linode Node Balancer Stats.

Minimum Required Fields

Field Type Required Description
api_token str Required The Linode account personal access token. It is necessary to run the module.
It can be exposed by the environment variable LINODE_API_TOKEN instead.
See details in Usage.

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 Node Balancer Stats to resolve. (Conflicts With: label)
label str Optional The label of the Node Balancer Stats to resolve. (Conflicts With: id)

Return Values

  • node_balancer_stats - The returned Node Balancer Stats.

    • 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