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>
2.9 KiB
2.9 KiB
FtpServerProperties
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| bandwidth_measurements | bool | Set to `true` to enable bandwidth measurements, only applies to Enterprise agents assigned to the test. | [optional] |
| download_limit | int | Specify maximum number of bytes to download from the target object. | [optional] |
| ftp_target_time | int | Target time for operation completion; specified in milliseconds. | [optional] |
| ftp_time_limit | int | Set the time limit for the test in seconds. | [optional] [default to 10] |
| mtu_measurements | bool | Set `true` to measure MTU sizes on network from agents to the target. | [optional] |
| network_measurements | bool | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] |
| num_path_traces | int | Number of path traces executed by the agent. | [optional] [default to 3] |
| password | str | Password for Basic/NTLM authentication. | [optional] |
| path_trace_mode | TestPathTraceMode | [optional] | |
| probe_mode | TestProbeMode | [optional] | |
| protocol | TestProtocol | [optional] | |
| randomized_start_time | bool | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] |
| request_type | FtpServerRequestType | ||
| url | str | Target for the test. | |
| use_active_ftp | bool | Explicitly set the flag to use active FTP. | [optional] [default to False] |
| use_explicit_ftps | bool | Use explicit FTPS (ftp over SSL). By default, tests will autodetect when it is appropriate to use FTPS. | [optional] |
| username | str | Username for Basic/NTLM authentication. | |
| fixed_packet_rate | int | Sets packets rate sent to measure the network in packets per second. | [optional] |
| ipv6_policy | TestIpv6Policy | [optional] | |
| type | str | [optional] [readonly] |
Example
from thousandeyes_sdk.instant_tests.models.ftp_server_properties import FtpServerProperties
# TODO update the JSON string below
json = "{}"
# create an instance of FtpServerProperties from a JSON string
ftp_server_properties_instance = FtpServerProperties.from_json(json)
# print the JSON string representation of the object
print(FtpServerProperties.to_json())
# convert the object into a dict
ftp_server_properties_dict = ftp_server_properties_instance.to_dict()
# create an instance of FtpServerProperties from a dict
ftp_server_properties_from_dict = FtpServerProperties.from_dict(ftp_server_properties_dict)