Get info about a Linode Type.
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 Linode type by ID
linode.cloud.type_info:
id: g6-standard-2
Field | Type | Required | Description |
---|---|---|---|
id |
str |
Required | The ID of the Type to resolve. |
-
type
- The returned Type.- Sample Response:
{ "addons": { "backups": { "price": { "hourly": 0.008, "monthly": 5 } } }, "class": "standard", "disk": 81920, "gpus": 0, "id": "g6-standard-2", "label": "Linode 4GB", "memory": 4096, "network_out": 1000, "price": { "hourly": 0.03, "monthly": 20 }, "successor": null, "transfer": 4000, "vcpus": 2 }
- See the Linode API response documentation for a list of returned fields
- Sample Response: