Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanach committed Aug 28, 2024
1 parent 3cf2059 commit d6b1e4d
Showing 1 changed file with 93 additions and 0 deletions.
93 changes: 93 additions & 0 deletions docs/data-sources/transport_product.md
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)

0 comments on commit d6b1e4d

Please sign in to comment.