List and filter on all VPC IP Addresses.
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: List all IPs of all VPCs in the account.
linode.cloud.vpcs_ip_list: {}
Field | Type | Required | Description |
---|---|---|---|
order |
str |
Optional | The order to list all VPC IP Addresses in. (Choices: desc , asc ; Default: asc ) |
order_by |
str |
Optional | The attribute to order all VPC IP Addresses by. |
filters (sub-options) |
list |
Optional | A list of filters to apply to the resulting all VPC IP Addresses. |
count |
int |
Optional | The number of all VPC IP Addresses to return. If undefined, all results will be returned. |
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. |
-
vpcs_ips
- The returned all VPC IP Addresses.- Sample Response:
[ { "address": "10.0.0.2", "address_range": null, "vpc_id": 56242, "subnet_id": 55829, "region": "us-mia", "linode_id": 57328104, "config_id": 60480976, "interface_id": 1373818, "active": false, "nat_1_1": null, "gateway": "10.0.0.1", "prefix": 24, "subnet_mask": "255.255.255.0" } ]
- See the Linode API response documentation for a list of returned fields
- Sample Response: