Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 3.46 KB

File metadata and controls

61 lines (46 loc) · 3.46 KB

image_share_group_token_list

List and filter on Image Share Group Tokens.

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: List all of the Image Share Group Tokens for the current Linode Account
  linode.cloud.image_share_group_token_list: {}

Parameters

Field Type Required Description
order str Optional The order to list Image Share Group Tokens in. (Choices: desc, asc; Default: asc)
order_by str Optional The attribute to order Image Share Group Tokens by.
filters (sub-options) list Optional A list of filters to apply to the resulting Image Share Group Tokens.
count int Optional The number of Image Share Group Tokens to return. If undefined, all results will be returned.

filters

Field Type Required Description
name str Required The name of the field to filter on. Valid filterable fields can be found here.
values list Required A list of values to allow for this field. Fields will pass this filter if at least one of these values matches.

Return Values

  • image_share_group_tokens - The returned Image Share Group Tokens.

    • Sample Response:
      [
          {
            "created": "2025-08-04T10:09:09",
            "expiry": "2025-08-04T10:09:11",
            "label": "example-token",
            "sharegroup_label": "example-sharegroup",
            "sharegroup_uuid": "e1d0e58b-f89f-4237-84ab-b82077342359",
            "status": "active",
            "token_uuid": "13428362-5458-4dad-b14b-8d0d4d648f8c",
            "updated": "2025-08-04T10:09:10",
            "valid_for_sharegroup_uuid": "e1d0e58b-f89f-4237-84ab-b82077342359"
          }
      ]
    • See the Linode API response documentation for a list of returned fields