# equinix\_fabric\_stream\_subscription (Data Source)
Fabric V4 API compatible data source that allows user to fetch Equinix Fabric Stream Subscription by Stream Id and Subscription Id
Additional Documentation:
* Getting Started:
* API:
## Example Usage[](#example-usage "Direct link to Example Usage")
```
data "equinix_fabric_stream_subscription" "by_ids" {
stream_id = ""
subscription_id = ""
}
```
## Schema[](#schema "Direct link to Schema")
### Required[](#required "Direct link to Required")
* `stream_id` (String) The uuid of the stream that is the target of the stream subscription
* `subscription_id` (String) The uuid of the stream subscription
### Read-Only[](#read-only "Direct link to Read-Only")
* `change_log` (Attributes) Details of the last change on the stream resource (see [below for nested schema](#nestedatt--change_log))
* `description` (String) Customer-provided stream subscription description
* `enabled` (Boolean) Stream subscription enabled status
* `event_selector` (Attributes) Lists of events to be included/excluded on the stream subscription (see [below for nested schema](#nestedatt--event_selector))
* `href` (String) Equinix assigned URI of the stream subscription resource
* `id` (String) The unique identifier of the resource
* `metric_selector` (Attributes) Lists of metrics to be included/excluded on the stream subscription (see [below for nested schema](#nestedatt--metric_selector))
* `name` (String) Customer-provided stream subscription name
* `sink` (Attributes) The details of the subscriber to the Equinix Stream (see [below for nested schema](#nestedatt--sink))
* `state` (String) Value representing provisioning status for the stream resource
* `type` (String) Type of the stream subscription request
* `uuid` (String) Equinix assigned unique identifier of the stream subscription resource
[]()
### Nested Schema for `change_log`[](#nested-schema-for-change_log "Direct link to nested-schema-for-change_log")
Read-Only:
* `created_by` (String) User name of creator of the stream resource
* `created_by_email` (String) Email of creator of the stream resource
* `created_by_full_name` (String) Legal name of creator of the stream resource
* `created_date_time` (String) Creation time of the stream resource
* `deleted_by` (String) User name of deleter of the stream resource
* `deleted_by_email` (String) Email of deleter of the stream resource
* `deleted_by_full_name` (String) Legal name of deleter of the stream resource
* `deleted_date_time` (String) Deletion time of the stream resource
* `updated_by` (String) User name of last updater of the stream resource
* `updated_by_email` (String) Email of last updater of the stream resource
* `updated_by_full_name` (String) Legal name of last updater of the stream resource
* `updated_date_time` (String) Last update time of the stream resource
[]()
### Nested Schema for `event_selector`[](#nested-schema-for-event_selector "Direct link to nested-schema-for-event_selector")
Read-Only:
* `except` (List of String) List of events to exclude
* `include` (List of String) List of events to include
[]()
### Nested Schema for `metric_selector`[](#nested-schema-for-metric_selector "Direct link to nested-schema-for-metric_selector")
Read-Only:
* `except` (List of String) List of metrics to exclude
* `include` (List of String) List of metrics to include
[]()
### Nested Schema for `sink`[](#nested-schema-for-sink "Direct link to nested-schema-for-sink")
Read-Only:
* `batch_enabled` (Boolean) Boolean switch enabling batch delivery of data
* `batch_size_max` (Number) Maximum size of the batch delivery if enabled
* `batch_wait_time_max` (Number) Maximum time to wait for batch delivery if enabled
* `credential` (Attributes) Access details for the specified sink type (see [below for nested schema](#nestedatt--sink--credential))
* `host` (String) Known hostname of certain data stream subscription products. Not to be confused with a variable URI
* `settings` (Attributes) Stream subscription sink settings (see [below for nested schema](#nestedatt--sink--settings))
* `type` (String) Type of the subscriber
* `uri` (String) Publicly reachable http endpoint destination for data stream
[]()
### Nested Schema for `sink.credential`[](#nested-schema-for-sinkcredential "Direct link to nested-schema-for-sinkcredential")
Read-Only:
* `access_token` (String, Sensitive) Passed as Authorization header value
* `api_key` (String, Sensitive) Passed as Authorization header value
* `integration_key` (String, Sensitive) Passed as Authorization header value
* `password` (String, Sensitive) Passed as Authorization header value
* `type` (String) Type of the credential being passed
* `username` (String) Passed as Authorization header value
[]()
### Nested Schema for `sink.settings`[](#nested-schema-for-sinksettings "Direct link to nested-schema-for-sinksettings")
Read-Only:
* `application_key` (String, Sensitive)
* `event_index` (String)
* `event_uri` (String)
* `format` (String)
* `metric_index` (String)
* `metric_uri` (String)
* `source` (String)