mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
3.0 KiB
3.0 KiB
GetStreamResponse
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | The data stream ID | [optional] [readonly] |
| enabled | bool | Flag to enable or disable the stream integration. | [optional] |
| links | StreamLinks | [optional] | |
| type | StreamType | [optional] | |
| signal | Signal | [optional] | |
| endpoint_type | EndpointType | [optional] | |
| stream_endpoint_url | str | The URL ThousandEyes sends data stream to. For a URL to be valid, it needs to: - Be syntactically correct. - Be reachable. - Use the HTTPS protocol. - When using the `grpc` endpointType, streamEndpointUrl cannot contain paths: - Valid . `grpc` - `https://example.com` - Invalid . `grpc` - `https://example.com/collector`. - Valid . `http` - `https://example.com/collector`. - When using the `http` endpointType, the operation must match the exact final full URL (including the path if there is one) to which the data will be sent. Examples below: - `https://api.honeycomb.io:443/v1/metrics` - `https://ingest.eu0.signalfx.com/v2/datapoint/otlp` | [optional] |
| data_model_version | DataModelVersion | [optional] | |
| custom_headers | Dict[str, str] | Custom headers. Note: When using the `splunk-hec` `type`, the `customHeaders` must contain just one element with the key `token` and the value of the Splunk HEC Token. | [optional] |
| tag_match | **List[TagMatch]** | A collection of tags that determine what tests are included in the data stream. These tag values are also included as attributes in the data stream metrics. | [optional] |
| test_match | **List[TestMatch]** | A collection of tests to be included in the data stream. | [optional] |
| filters | Filters | [optional] | |
| exporter_config | ExporterConfig | [optional] | |
| audit_operation | AuditOperationWithUpdate | [optional] |
Example
from thousandeyes_sdk.streaming.models.get_stream_response import GetStreamResponse
# TODO update the JSON string below
json = "{}"
# create an instance of GetStreamResponse from a JSON string
get_stream_response_instance = GetStreamResponse.from_json(json)
# print the JSON string representation of the object
print(GetStreamResponse.to_json())
# convert the object into a dict
get_stream_response_dict = get_stream_response_instance.to_dict()
# create an instance of GetStreamResponse from a dict
get_stream_response_from_dict = GetStreamResponse.from_dict(get_stream_response_dict)