Skip to content

Latest commit

 

History

History
73 lines (62 loc) · 2.79 KB

account_info.md

File metadata and controls

73 lines (62 loc) · 2.79 KB

account_info

Get info about a Linode Account.

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 the current Linode account
  linode.cloud.account_info: {}

Return Values

  • account - The returned Account.

    • Sample Response:
      {
        "active_promotions": [
          {
            "credit_monthly_cap": "10.00",
            "credit_remaining": "50.00",
            "description": "Receive up to $10 off your services every month for 6 months! Unused credits will expire once this promotion period ends.",
            "expire_dt": "2018-01-31T23:59:59",
            "image_url": "https://linode.com/10_a_month_promotion.svg",
            "service_type": "all",
            "summary": "$10 off your Linode a month!",
            "this_month_credit_remaining": "10.00"
          }
        ],
        "active_since": "2018-01-01T00:01:01",
        "address_1": "123 Main Street",
        "address_2": "Suite A",
        "balance": 200,
        "balance_uninvoiced": 145,
        "billing_source": "akamai",
        "capabilities": [
          "Linodes",
          "NodeBalancers",
          "Block Storage",
          "Object Storage"
        ],
        "city": "Philadelphia",
        "company": "Linode LLC",
        "country": "US",
        "credit_card": {
          "expiry": "11/2022",
          "last_four": 1111
        },
        "email": "john.smith@linode.com",
        "euuid": "E1AF5EEC-526F-487D-B317EBEB34C87D71",
        "first_name": "John",
        "last_name": "Smith",
        "phone": "215-555-1212",
        "state": "PA",
        "tax_id": "ATU99999999",
        "zip": "19102-1234"
      }
    • See the Linode API response documentation for a list of returned fields