Skip to main content

equinix_fabric_stream_attachments (Data Source)

Fabric V4 API compatible data resource that allow user to fetch Equinix Fabric Stream Attached Assets with filters and pagination details

Additional Documentation:

Example Usage

data "equinix_fabric_stream_attachments" "all" {
pagination = {
limit = 100
offset = 0
}
filters = [{
property = "<filter_property>"
operator = "="
values = ["<list_of_values_to_filter>"]
}]
sort = [{
direction = "<DESC|ASC>"
property = "/uuid"
}]
}

Schema

Required

Optional

  • filters (Attributes List) List of filters to apply to the stream attachment get request. Maximum of 8. All will be AND'd together with 1 of the 8 being a possible OR group of 3 (see below for nested schema)
  • sort (Attributes List) The list of sort criteria for the stream assets search request (see below for nested schema)

Read-Only

  • data (Attributes List) Returned list of stream objects (see below for nested schema)
  • id (String) The unique identifier of the resource

Nested Schema for pagination

Optional:

  • limit (Number) Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
  • offset (Number) Index of the first item returned in the response. The default is 0

Read-Only:

  • next (String) The URL relative to the next item in the response
  • previous (String) The URL relative to the previous item in the response
  • total (Number) The total number of streams available to the user making the request

Nested Schema for filters

Required:

  • operator (String) Operation applied to the values of the filter
  • property (String) Property to apply the filter to
  • values (List of String) List of values to apply the operation to for the specified property

Optional:

  • or (Boolean) Boolean value to specify if this filter is a part of the OR group. Has a maximum of 3 and only counts for 1 of the 8 possible filters

Nested Schema for sort

Required:

  • direction (String) The sorting direction of the property chosen. ASC or DESC
  • property (String) The field name the sorting is performed on

Nested Schema for data

Read-Only:

  • attachment_status (String) Value representing status for the stream attachment
  • href (String) Equinix auto generated URI to the stream attachment in Equinix Portal
  • metrics_enabled (Boolean) Boolean value indicating enablement of metrics for this asset stream attachment
  • type (String) Equinix defined type for the asset stream attachment
  • uuid (String) Equinix-assigned unique id for the stream attachment
Was this page helpful?