Get info about a Linode VLAN.
api_version field be explicitly set to v4beta.
| 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: Get info about a VLAN by label
linode.cloud.vlan_info:
api_version: v4beta
label: example-vlan| Field | Type | Required | Description |
|---|---|---|---|
label |
str |
Required | The VLAN’s label. |
-
vlan- The VLAN in JSON serialized form.- Sample Response:
{ "created": "2020-01-01T00:01:01", "label": "vlan-example", "linodes": [ 111, 222 ], "region": "ap-west" } - See the Linode API response documentation for a list of returned fields
- Sample Response: