thousandeyes-sdk-python/thousandeyes-sdk-streaming/docs/GetStreamResponse.md
Shahid Hussain Khan d10dffc0a2
Some checks failed
Python CI / build (push) Has been cancelled
[GitHub Bot] Generated python SDK (#39)
Co-authored-by: API Team <api-team@thousandeyes.com>
2024-08-02 10:04:08 +01:00

2.8 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]
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 endpoint must match the exact final full URL (including the path if there is one) to which the metrics 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]
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)

[Back to Model list] [Back to API list] [Back to README]