-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rmanach
committed
Aug 28, 2024
1 parent
3cf2059
commit d6b1e4d
Showing
1 changed file
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "autonomi_transport_product Data Source - autonomi" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# autonomi_transport_product (Data Source) | ||
|
||
```terraform | ||
data "autonomi_transport_product" "transport" { | ||
filters = [ | ||
{ | ||
name = "provider" | ||
operator = "=" | ||
values = ["EQUINIX"] | ||
}, | ||
{ | ||
name = "locationTo" | ||
operator = "IN" | ||
values = ["EQUINIX FR5", "EQUINIX LD5"] | ||
}, | ||
{ | ||
name = "location" | ||
operator = "IN" | ||
values = ["EQUINIX FR5", "EQUINIX LD5"] | ||
}, | ||
{ | ||
name = "bandwidth" | ||
operator = "TO" | ||
values = ["100", "500"] | ||
}, | ||
] | ||
cheapest = true | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `cheapest` (Boolean) To ensure only one hit is returned we advise to set at true | ||
- `filters` (Attributes List) List of filters: [location, locationTo, bandwidth, provider] (see [below for nested schema](#nestedatt--filters)) | ||
|
||
### Read-Only | ||
|
||
- `facet_distribution` (Attributes) The **facet_distribution** attribute provides an overview of the distribution of various facets | ||
within the transport products returned by the Meilisearch query. This attribute allows you to analyze the frequency | ||
of different categories or attributes in the search results. (see [below for nested schema](#nestedatt--facet_distribution)) | ||
- `hit` (Attributes) The **hits** attribute contains the list of transport products returned by the Meilisearch query. | ||
Each hit represents a transport product that matches the specified search criteria. (see [below for nested schema](#nestedatt--hit)) | ||
|
||
<a id="nestedatt--filters"></a> | ||
### Nested Schema for `filters` | ||
|
||
Optional: | ||
|
||
- `name` (String) | ||
- `operator` (String) | ||
- `values` (List of String) | ||
|
||
<a id="nestedatt--facet_distribution"></a> | ||
### Nested Schema for `facet_distribution` | ||
|
||
Read-Only: | ||
|
||
- `bandwidth` (Map of Number) | ||
- `location` (Map of Number) | ||
- `location_to` (Map of Number) | ||
- `provider` (Map of Number) | ||
|
||
|
||
<a id="nestedatt--hit"></a> | ||
### Nested Schema for `hit` | ||
|
||
Read-Only: | ||
|
||
- `bandwidth` (Number) | ||
- `cost_mrc` (Number) | ||
- `cost_nrc` (Number) | ||
- `date` (String) | ||
- `duration` (Number) | ||
- `id` (Number) | ||
- `location` (String) | ||
- `location_to` (String) | ||
- `location_to_underlay` (String) | ||
- `location_underlay` (String) | ||
- `price_mrc` (Number) | ||
- `price_nrc` (Number) | ||
- `provider` (String) | ||
- `sku` (String) |