mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
1.8 KiB
1.8 KiB
EndpointHttpTestUpdate
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| interval | TestInterval | [optional] | |
| test_name | str | Name of the test. | [optional] |
| protocol | EndpointTestProtocol | [optional] | |
| is_enabled | bool | Indicates if test is enabled. | [optional] [default to True] |
| tcp_probe_mode | TestProbeMode | [optional] | |
| url | str | The test target URL. You can optionally specify the protocol (`http` or `https`). - Default Protocol: If no protocol is specified, `https` is used by default. - Port Number: To specify a port, append it to the URL with a colon after the hostname or IP address (e.g., `https://example.com:443`). - If no port is specified in the URL, the `port` is determined by the default for protocol (HTTP: 80, HTTPS: 443). | [optional] |
Example
from thousandeyes_sdk.endpoint_tests.models.endpoint_http_test_update import EndpointHttpTestUpdate
# TODO update the JSON string below
json = "{}"
# create an instance of EndpointHttpTestUpdate from a JSON string
endpoint_http_test_update_instance = EndpointHttpTestUpdate.from_json(json)
# print the JSON string representation of the object
print(EndpointHttpTestUpdate.to_json())
# convert the object into a dict
endpoint_http_test_update_dict = endpoint_http_test_update_instance.to_dict()
# create an instance of EndpointHttpTestUpdate from a dict
endpoint_http_test_update_from_dict = EndpointHttpTestUpdate.from_dict(endpoint_http_test_update_dict)