Get info about a Linode Node Balancer Stats.
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. |
- 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
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 ) |
-
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
- Sample Response: