Get info about a Linode Placement Group.
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 Linode placement group
linode.cloud.placement_group_info:
api_version: v4beta
id: 123
Field | Type | Required | Description |
---|---|---|---|
id |
int |
Required | The ID of the Placement Group to resolve. |
-
placement_group
- The returned Placement Group.- Sample Response:
{ "id": 123, "label": "test", "region": "eu-west", "affinity_type": "anti_affinity:local", "is_strict": true, "is_compliant": true, "members": [ { "linode_id": 123, "is_compliant": true } ] }
- See the Linode API response documentation for a list of returned fields
- Sample Response: