mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
1.7 KiB
1.7 KiB
Agent
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| ip_addresses | List[str] | Array of private IP addresses. | [optional] [readonly] |
| public_ip_addresses | List[str] | Array of public IP addresses. | [optional] [readonly] |
| network | str | Network (including ASN) of agent’s public IP. | [optional] [readonly] |
| agent_id | str | Unique ID of the agent. | [optional] [readonly] |
| agent_name | str | Name of the agent. | [optional] |
| location | str | Location of the agent. | [optional] [readonly] |
| country_id | str | 2-digit ISO country code | [optional] [readonly] |
| enabled | bool | Flag indicating if the agent is enabled. | [optional] |
| prefix | str | Prefix containing agents public IP address. | [optional] [readonly] |
| verify_ssl_certificates | bool | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly] |
| agent_type | CloudEnterpriseAgentType |
Example
from thousandeyes_sdk.administrative.models.agent import Agent
# TODO update the JSON string below
json = "{}"
# create an instance of Agent from a JSON string
agent_instance = Agent.from_json(json)
# print the JSON string representation of the object
print(Agent.to_json())
# convert the object into a dict
agent_dict = agent_instance.to_dict()
# create an instance of Agent from a dict
agent_from_dict = Agent.from_dict(agent_dict)