Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 2.31 KB

type_info.md

File metadata and controls

64 lines (50 loc) · 2.31 KB

type_info

Get info about a Linode Type.

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: Get info about a Linode type by ID
  linode.cloud.type_info:
    id: g6-standard-2

Parameters

Field Type Required Description
id str Required The ID of the Type to resolve.

Return Values

  • 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