thousandeyes-sdk-python/agents/docs/AgentRequestBody.md

1.7 KiB

AgentRequestBody

Properties

Name Type Description Notes
agent_name str Name of the agent. [optional]
enabled bool Flag indicating if the agent is enabled. [optional]
account_groups List[str] Contains a list of account groups IDs. See `/accounts-groups` for a list of account IDs [optional]
ipv6_policy AgentIpv6Policy [optional]
keep_browser_cache bool Flag indicating if the agent retains cache. [optional]
target_for_tests str Test target IP address. [optional]
local_resolution_prefixes List[str] Public IP ranges for rDNS lookups. The range must be in CIDR notation; for example, 10.1.1.0/24. Maximum of 5 prefixes allowed (Enterprise Agents and Enterprise Agent clusters only). [optional]
tests List[str] Contains list of test IDs. See `/tests` to pull a list of available tests. [optional]

Example

from agents.models.agent_request_body import AgentRequestBody

# TODO update the JSON string below
json = "{}"
# create an instance of AgentRequestBody from a JSON string
agent_request_body_instance = AgentRequestBody.from_json(json)
# print the JSON string representation of the object
print(AgentRequestBody.to_json())

# convert the object into a dict
agent_request_body_dict = agent_request_body_instance.to_dict()
# create an instance of AgentRequestBody from a dict
agent_request_body_from_dict = AgentRequestBody.from_dict(agent_request_body_dict)

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