mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
* CP-2189 Update SDK names for admin and monitors modules * CP-2189 Move client to core * CP-2189 Change client to core
1.3 KiB
1.3 KiB
PutStream
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| custom_headers | Dict[str, str] | Custom headers | [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] |
| enabled | bool | Flag to enable or disable the stream integration. | [optional] |
Example
from thousandeyes_sdk.streaming.models.put_stream import PutStream
# TODO update the JSON string below
json = "{}"
# create an instance of PutStream from a JSON string
put_stream_instance = PutStream.from_json(json)
# print the JSON string representation of the object
print(PutStream.to_json())
# convert the object into a dict
put_stream_dict = put_stream_instance.to_dict()
# create an instance of PutStream from a dict
put_stream_from_dict = PutStream.from_dict(put_stream_dict)