|
| 1 | +# regions_vpc_availability_list |
| 2 | + |
| 3 | +List and filter on Regions VPC Availability. |
| 4 | + |
| 5 | +WARNING! This module makes use of beta endpoints and requires the C(api_version) field be explicitly set to C(v4beta). |
| 6 | + |
| 7 | +- [Minimum Required Fields](#minimum-required-fields) |
| 8 | +- [Examples](#examples) |
| 9 | +- [Parameters](#parameters) |
| 10 | +- [Return Values](#return-values) |
| 11 | + |
| 12 | +## Minimum Required Fields |
| 13 | +| Field | Type | Required | Description | |
| 14 | +|-------------|-------|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 15 | +| `api_token` | `str` | **Required** | The Linode account personal access token. It is necessary to run the module. <br/>It can be exposed by the environment variable `LINODE_API_TOKEN` instead. <br/>See details in [Usage](https://github.com/linode/ansible_linode?tab=readme-ov-file#usage). | |
| 16 | + |
| 17 | +## Examples |
| 18 | + |
| 19 | +```yaml |
| 20 | +- name: List all of the Linode regions VPC availability |
| 21 | + linode.cloud.regions_vpc_availability_list: {} |
| 22 | +``` |
| 23 | +
|
| 24 | +
|
| 25 | +## Parameters |
| 26 | +
|
| 27 | +| Field | Type | Required | Description | |
| 28 | +|-----------|------|----------|------------------------------------------------------------------------------| |
| 29 | +| `order` | <center>`str`</center> | <center>Optional</center> | The order to list Regions VPC Availability in. **(Choices: `desc`, `asc`; Default: `asc`)** | |
| 30 | +| `order_by` | <center>`str`</center> | <center>Optional</center> | The attribute to order Regions VPC Availability by. | |
| 31 | +| [`filters` (sub-options)](#filters) | <center>`list`</center> | <center>Optional</center> | A list of filters to apply to the resulting Regions VPC Availability. | |
| 32 | +| `count` | <center>`int`</center> | <center>Optional</center> | The number of Regions VPC Availability to return. If undefined, all results will be returned. | |
| 33 | + |
| 34 | +### filters |
| 35 | + |
| 36 | +| Field | Type | Required | Description | |
| 37 | +|-----------|------|----------|------------------------------------------------------------------------------| |
| 38 | +| `name` | <center>`str`</center> | <center>**Required**</center> | The name of the field to filter on. Valid filterable fields can be found [here](TODO). | |
| 39 | +| `values` | <center>`list`</center> | <center>**Required**</center> | A list of values to allow for this field. Fields will pass this filter if at least one of these values matches. | |
| 40 | + |
| 41 | +## Return Values |
| 42 | + |
| 43 | +- `regions_vpc_availability` - The returned Regions VPC Availability. |
| 44 | + |
| 45 | + - Sample Response: |
| 46 | + ```json |
| 47 | + [ |
| 48 | + { |
| 49 | + "region": "nl-ams", |
| 50 | + "available": true, |
| 51 | + "available_ipv6_prefix_lengths": [ |
| 52 | + 48, |
| 53 | + 52 |
| 54 | + ] |
| 55 | + }, |
| 56 | + { |
| 57 | + "region": "fr-par-2", |
| 58 | + "available": true, |
| 59 | + "available_ipv6_prefix_lengths": [ |
| 60 | + 48, |
| 61 | + 52 |
| 62 | + ] |
| 63 | + }, |
| 64 | + { |
| 65 | + "region": "jp-tyo-3", |
| 66 | + "available": true, |
| 67 | + "available_ipv6_prefix_lengths": [ |
| 68 | + 48, |
| 69 | + 52 |
| 70 | + ] |
| 71 | + } |
| 72 | + ] |
| 73 | + ``` |
| 74 | + - See the [Linode API response documentation](TODO) for a list of returned fields |
| 75 | + |
| 76 | + |
0 commit comments