mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-06-19 23:15:30 +00:00
[GitHub Bot] Generated python SDK
This commit is contained in:
parent
a2aaa9f059
commit
0ac159d277
@ -28,6 +28,8 @@ docs/ExpandAccountGroupOptions.md
|
|||||||
docs/ExtendedUser.md
|
docs/ExtendedUser.md
|
||||||
docs/InterfaceIpMapping.md
|
docs/InterfaceIpMapping.md
|
||||||
docs/Link.md
|
docs/Link.md
|
||||||
|
docs/NetworkProviderInfo.md
|
||||||
|
docs/NetworkProviderType.md
|
||||||
docs/PaginationLinks.md
|
docs/PaginationLinks.md
|
||||||
docs/Permission.md
|
docs/Permission.md
|
||||||
docs/Permissions.md
|
docs/Permissions.md
|
||||||
@ -40,6 +42,7 @@ docs/Roles.md
|
|||||||
docs/RolesApi.md
|
docs/RolesApi.md
|
||||||
docs/SelfLinks.md
|
docs/SelfLinks.md
|
||||||
docs/SimpleAgent.md
|
docs/SimpleAgent.md
|
||||||
|
docs/SimpleAgentAllOfNetworkProviderInfo.md
|
||||||
docs/SimpleTest.md
|
docs/SimpleTest.md
|
||||||
docs/TestInterval.md
|
docs/TestInterval.md
|
||||||
docs/TestLinks.md
|
docs/TestLinks.md
|
||||||
@ -93,6 +96,8 @@ src/thousandeyes_sdk/administrative/models/expand_account_group_options.py
|
|||||||
src/thousandeyes_sdk/administrative/models/extended_user.py
|
src/thousandeyes_sdk/administrative/models/extended_user.py
|
||||||
src/thousandeyes_sdk/administrative/models/interface_ip_mapping.py
|
src/thousandeyes_sdk/administrative/models/interface_ip_mapping.py
|
||||||
src/thousandeyes_sdk/administrative/models/link.py
|
src/thousandeyes_sdk/administrative/models/link.py
|
||||||
|
src/thousandeyes_sdk/administrative/models/network_provider_info.py
|
||||||
|
src/thousandeyes_sdk/administrative/models/network_provider_type.py
|
||||||
src/thousandeyes_sdk/administrative/models/pagination_links.py
|
src/thousandeyes_sdk/administrative/models/pagination_links.py
|
||||||
src/thousandeyes_sdk/administrative/models/permission.py
|
src/thousandeyes_sdk/administrative/models/permission.py
|
||||||
src/thousandeyes_sdk/administrative/models/permissions.py
|
src/thousandeyes_sdk/administrative/models/permissions.py
|
||||||
@ -103,6 +108,7 @@ src/thousandeyes_sdk/administrative/models/role_request_body.py
|
|||||||
src/thousandeyes_sdk/administrative/models/roles.py
|
src/thousandeyes_sdk/administrative/models/roles.py
|
||||||
src/thousandeyes_sdk/administrative/models/self_links.py
|
src/thousandeyes_sdk/administrative/models/self_links.py
|
||||||
src/thousandeyes_sdk/administrative/models/simple_agent.py
|
src/thousandeyes_sdk/administrative/models/simple_agent.py
|
||||||
|
src/thousandeyes_sdk/administrative/models/simple_agent_all_of_network_provider_info.py
|
||||||
src/thousandeyes_sdk/administrative/models/simple_test.py
|
src/thousandeyes_sdk/administrative/models/simple_test.py
|
||||||
src/thousandeyes_sdk/administrative/models/test_interval.py
|
src/thousandeyes_sdk/administrative/models/test_interval.py
|
||||||
src/thousandeyes_sdk/administrative/models/test_links.py
|
src/thousandeyes_sdk/administrative/models/test_links.py
|
||||||
|
|||||||
@ -12,7 +12,7 @@ This API provides the following operations to manage your organization:
|
|||||||
|
|
||||||
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||||
|
|
||||||
- API version: 7.0.84
|
- API version: 7.0.91
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
@ -152,6 +152,8 @@ Class | Method | HTTP request | Description
|
|||||||
- [ExtendedUser](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/ExtendedUser.md)
|
- [ExtendedUser](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/ExtendedUser.md)
|
||||||
- [InterfaceIpMapping](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/InterfaceIpMapping.md)
|
- [InterfaceIpMapping](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/InterfaceIpMapping.md)
|
||||||
- [Link](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/Link.md)
|
- [Link](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/Link.md)
|
||||||
|
- [NetworkProviderInfo](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/NetworkProviderInfo.md)
|
||||||
|
- [NetworkProviderType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/NetworkProviderType.md)
|
||||||
- [PaginationLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/PaginationLinks.md)
|
- [PaginationLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/PaginationLinks.md)
|
||||||
- [Permission](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/Permission.md)
|
- [Permission](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/Permission.md)
|
||||||
- [Permissions](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/Permissions.md)
|
- [Permissions](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/Permissions.md)
|
||||||
@ -162,6 +164,7 @@ Class | Method | HTTP request | Description
|
|||||||
- [Roles](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/Roles.md)
|
- [Roles](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/Roles.md)
|
||||||
- [SelfLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/SelfLinks.md)
|
- [SelfLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/SelfLinks.md)
|
||||||
- [SimpleAgent](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/SimpleAgent.md)
|
- [SimpleAgent](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/SimpleAgent.md)
|
||||||
|
- [SimpleAgentAllOfNetworkProviderInfo](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/SimpleAgentAllOfNetworkProviderInfo.md)
|
||||||
- [SimpleTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/SimpleTest.md)
|
- [SimpleTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/SimpleTest.md)
|
||||||
- [TestInterval](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/TestInterval.md)
|
- [TestInterval](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/TestInterval.md)
|
||||||
- [TestLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/TestLinks.md)
|
- [TestLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-administrative/docs/TestLinks.md)
|
||||||
|
|||||||
@ -13,9 +13,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
**agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
|
**agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|||||||
@ -14,9 +14,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
||||||
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
||||||
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
||||||
|
|||||||
32
thousandeyes-sdk-administrative/docs/NetworkProviderInfo.md
Normal file
32
thousandeyes-sdk-administrative/docs/NetworkProviderInfo.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# NetworkProviderInfo
|
||||||
|
|
||||||
|
Information about the network provider that owns the agent's public IP prefix.
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**asn** | **int** | Autonomous System Number (ASN) announcing the agent's public IP prefix. | [optional] [readonly]
|
||||||
|
**name** | **str** | Name of the network provider organization. | [optional] [readonly]
|
||||||
|
**type** | [**NetworkProviderType**](NetworkProviderType.md) | | [optional]
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
```python
|
||||||
|
from thousandeyes_sdk.administrative.models.network_provider_info import NetworkProviderInfo
|
||||||
|
|
||||||
|
# TODO update the JSON string below
|
||||||
|
json = "{}"
|
||||||
|
# create an instance of NetworkProviderInfo from a JSON string
|
||||||
|
network_provider_info_instance = NetworkProviderInfo.from_json(json)
|
||||||
|
# print the JSON string representation of the object
|
||||||
|
print(NetworkProviderInfo.to_json())
|
||||||
|
|
||||||
|
# convert the object into a dict
|
||||||
|
network_provider_info_dict = network_provider_info_instance.to_dict()
|
||||||
|
# create an instance of NetworkProviderInfo from a dict
|
||||||
|
network_provider_info_from_dict = NetworkProviderInfo.from_dict(network_provider_info_dict)
|
||||||
|
```
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
# ApiAgentWidgetShow
|
# NetworkProviderType
|
||||||
|
|
||||||
Ownership of the agent.
|
Classification of the agent's network provider.
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
@ -13,9 +13,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,31 @@
|
|||||||
|
# SimpleAgentAllOfNetworkProviderInfo
|
||||||
|
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**asn** | **int** | Autonomous System Number (ASN) announcing the agent's public IP prefix. | [optional] [readonly]
|
||||||
|
**name** | **str** | Name of the network provider organization. | [optional] [readonly]
|
||||||
|
**type** | [**NetworkProviderType**](NetworkProviderType.md) | | [optional]
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
```python
|
||||||
|
from thousandeyes_sdk.administrative.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
|
|
||||||
|
# TODO update the JSON string below
|
||||||
|
json = "{}"
|
||||||
|
# create an instance of SimpleAgentAllOfNetworkProviderInfo from a JSON string
|
||||||
|
simple_agent_all_of_network_provider_info_instance = SimpleAgentAllOfNetworkProviderInfo.from_json(json)
|
||||||
|
# print the JSON string representation of the object
|
||||||
|
print(SimpleAgentAllOfNetworkProviderInfo.to_json())
|
||||||
|
|
||||||
|
# convert the object into a dict
|
||||||
|
simple_agent_all_of_network_provider_info_dict = simple_agent_all_of_network_provider_info_instance.to_dict()
|
||||||
|
# create an instance of SimpleAgentAllOfNetworkProviderInfo from a dict
|
||||||
|
simple_agent_all_of_network_provider_info_from_dict = SimpleAgentAllOfNetworkProviderInfo.from_dict(simple_agent_all_of_network_provider_info_dict)
|
||||||
|
```
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
@ -48,6 +48,8 @@ from thousandeyes_sdk.administrative.models.expand_account_group_options import
|
|||||||
from thousandeyes_sdk.administrative.models.extended_user import ExtendedUser
|
from thousandeyes_sdk.administrative.models.extended_user import ExtendedUser
|
||||||
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
|
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
|
||||||
from thousandeyes_sdk.administrative.models.link import Link
|
from thousandeyes_sdk.administrative.models.link import Link
|
||||||
|
from thousandeyes_sdk.administrative.models.network_provider_info import NetworkProviderInfo
|
||||||
|
from thousandeyes_sdk.administrative.models.network_provider_type import NetworkProviderType
|
||||||
from thousandeyes_sdk.administrative.models.pagination_links import PaginationLinks
|
from thousandeyes_sdk.administrative.models.pagination_links import PaginationLinks
|
||||||
from thousandeyes_sdk.administrative.models.permission import Permission
|
from thousandeyes_sdk.administrative.models.permission import Permission
|
||||||
from thousandeyes_sdk.administrative.models.permissions import Permissions
|
from thousandeyes_sdk.administrative.models.permissions import Permissions
|
||||||
@ -58,6 +60,7 @@ from thousandeyes_sdk.administrative.models.role_request_body import RoleRequest
|
|||||||
from thousandeyes_sdk.administrative.models.roles import Roles
|
from thousandeyes_sdk.administrative.models.roles import Roles
|
||||||
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
|
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
|
||||||
from thousandeyes_sdk.administrative.models.simple_agent import SimpleAgent
|
from thousandeyes_sdk.administrative.models.simple_agent import SimpleAgent
|
||||||
|
from thousandeyes_sdk.administrative.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from thousandeyes_sdk.administrative.models.simple_test import SimpleTest
|
from thousandeyes_sdk.administrative.models.simple_test import SimpleTest
|
||||||
from thousandeyes_sdk.administrative.models.test_interval import TestInterval
|
from thousandeyes_sdk.administrative.models.test_interval import TestInterval
|
||||||
from thousandeyes_sdk.administrative.models.test_links import TestLinks
|
from thousandeyes_sdk.administrative.models.test_links import TestLinks
|
||||||
|
|||||||
@ -39,6 +39,8 @@ from thousandeyes_sdk.administrative.models.expand_account_group_options import
|
|||||||
from thousandeyes_sdk.administrative.models.extended_user import ExtendedUser
|
from thousandeyes_sdk.administrative.models.extended_user import ExtendedUser
|
||||||
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
|
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
|
||||||
from thousandeyes_sdk.administrative.models.link import Link
|
from thousandeyes_sdk.administrative.models.link import Link
|
||||||
|
from thousandeyes_sdk.administrative.models.network_provider_info import NetworkProviderInfo
|
||||||
|
from thousandeyes_sdk.administrative.models.network_provider_type import NetworkProviderType
|
||||||
from thousandeyes_sdk.administrative.models.pagination_links import PaginationLinks
|
from thousandeyes_sdk.administrative.models.pagination_links import PaginationLinks
|
||||||
from thousandeyes_sdk.administrative.models.permission import Permission
|
from thousandeyes_sdk.administrative.models.permission import Permission
|
||||||
from thousandeyes_sdk.administrative.models.permissions import Permissions
|
from thousandeyes_sdk.administrative.models.permissions import Permissions
|
||||||
@ -49,6 +51,7 @@ from thousandeyes_sdk.administrative.models.role_request_body import RoleRequest
|
|||||||
from thousandeyes_sdk.administrative.models.roles import Roles
|
from thousandeyes_sdk.administrative.models.roles import Roles
|
||||||
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
|
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
|
||||||
from thousandeyes_sdk.administrative.models.simple_agent import SimpleAgent
|
from thousandeyes_sdk.administrative.models.simple_agent import SimpleAgent
|
||||||
|
from thousandeyes_sdk.administrative.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from thousandeyes_sdk.administrative.models.simple_test import SimpleTest
|
from thousandeyes_sdk.administrative.models.simple_test import SimpleTest
|
||||||
from thousandeyes_sdk.administrative.models.test_interval import TestInterval
|
from thousandeyes_sdk.administrative.models.test_interval import TestInterval
|
||||||
from thousandeyes_sdk.administrative.models.test_links import TestLinks
|
from thousandeyes_sdk.administrative.models.test_links import TestLinks
|
||||||
|
|||||||
@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|||||||
from typing import Any, ClassVar, Dict, List, Optional
|
from typing import Any, ClassVar, Dict, List, Optional
|
||||||
from thousandeyes_sdk.administrative.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
|
from thousandeyes_sdk.administrative.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
|
||||||
from thousandeyes_sdk.administrative.models.coordinates import Coordinates
|
from thousandeyes_sdk.administrative.models.coordinates import Coordinates
|
||||||
|
from thousandeyes_sdk.administrative.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from typing import Optional, Set
|
from typing import Optional, Set
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
|
|
||||||
@ -35,11 +36,12 @@ class AgentResponse(BaseModel):
|
|||||||
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
||||||
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
||||||
coordinates: Optional[Coordinates] = None
|
coordinates: Optional[Coordinates] = None
|
||||||
|
network_provider_info: Optional[SimpleAgentAllOfNetworkProviderInfo] = Field(default=None, alias="networkProviderInfo")
|
||||||
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
||||||
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
|
||||||
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
||||||
|
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
||||||
agent_type: CloudEnterpriseAgentType = Field(alias="agentType")
|
agent_type: CloudEnterpriseAgentType = Field(alias="agentType")
|
||||||
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "agentType"]
|
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "networkProviderInfo", "enabled", "verifySslCertificates", "prefix", "agentType"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -88,8 +90,8 @@ class AgentResponse(BaseModel):
|
|||||||
"agent_id",
|
"agent_id",
|
||||||
"location",
|
"location",
|
||||||
"country_id",
|
"country_id",
|
||||||
"prefix",
|
|
||||||
"verify_ssl_certificates",
|
"verify_ssl_certificates",
|
||||||
|
"prefix",
|
||||||
])
|
])
|
||||||
|
|
||||||
_dict = self.model_dump(
|
_dict = self.model_dump(
|
||||||
@ -100,6 +102,9 @@ class AgentResponse(BaseModel):
|
|||||||
# override the default output from pydantic by calling `to_dict()` of coordinates
|
# override the default output from pydantic by calling `to_dict()` of coordinates
|
||||||
if self.coordinates:
|
if self.coordinates:
|
||||||
_dict['coordinates'] = self.coordinates.to_dict()
|
_dict['coordinates'] = self.coordinates.to_dict()
|
||||||
|
# override the default output from pydantic by calling `to_dict()` of network_provider_info
|
||||||
|
if self.network_provider_info:
|
||||||
|
_dict['networkProviderInfo'] = self.network_provider_info.to_dict()
|
||||||
return _dict
|
return _dict
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -120,9 +125,10 @@ class AgentResponse(BaseModel):
|
|||||||
"location": obj.get("location"),
|
"location": obj.get("location"),
|
||||||
"countryId": obj.get("countryId"),
|
"countryId": obj.get("countryId"),
|
||||||
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
||||||
|
"networkProviderInfo": SimpleAgentAllOfNetworkProviderInfo.from_dict(obj["networkProviderInfo"]) if obj.get("networkProviderInfo") is not None else None,
|
||||||
"enabled": obj.get("enabled"),
|
"enabled": obj.get("enabled"),
|
||||||
"prefix": obj.get("prefix"),
|
|
||||||
"verifySslCertificates": obj.get("verifySslCertificates"),
|
"verifySslCertificates": obj.get("verifySslCertificates"),
|
||||||
|
"prefix": obj.get("prefix"),
|
||||||
"agentType": obj.get("agentType")
|
"agentType": obj.get("agentType")
|
||||||
})
|
})
|
||||||
return _obj
|
return _obj
|
||||||
|
|||||||
@ -27,6 +27,7 @@ from thousandeyes_sdk.administrative.models.enterprise_agent_ipv6_policy import
|
|||||||
from thousandeyes_sdk.administrative.models.enterprise_agent_state import EnterpriseAgentState
|
from thousandeyes_sdk.administrative.models.enterprise_agent_state import EnterpriseAgentState
|
||||||
from thousandeyes_sdk.administrative.models.error_detail import ErrorDetail
|
from thousandeyes_sdk.administrative.models.error_detail import ErrorDetail
|
||||||
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
|
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
|
||||||
|
from thousandeyes_sdk.administrative.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from thousandeyes_sdk.administrative.models.simple_test import SimpleTest
|
from thousandeyes_sdk.administrative.models.simple_test import SimpleTest
|
||||||
from typing import Optional, Set
|
from typing import Optional, Set
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
@ -44,9 +45,10 @@ class EnterpriseAgent(BaseModel):
|
|||||||
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
||||||
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
||||||
coordinates: Optional[Coordinates] = None
|
coordinates: Optional[Coordinates] = None
|
||||||
|
network_provider_info: Optional[SimpleAgentAllOfNetworkProviderInfo] = Field(default=None, alias="networkProviderInfo")
|
||||||
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
||||||
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
|
||||||
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
||||||
|
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
||||||
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
|
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
|
||||||
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
||||||
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
|
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
|
||||||
@ -62,7 +64,7 @@ class EnterpriseAgent(BaseModel):
|
|||||||
target_for_tests: Optional[StrictStr] = Field(default=None, description="Test target IP address.", alias="targetForTests")
|
target_for_tests: Optional[StrictStr] = Field(default=None, description="Test target IP address.", alias="targetForTests")
|
||||||
local_resolution_prefixes: Optional[List[StrictStr]] = Field(default=None, description="To perform rDNS lookups for public IP ranges, this field represents the public IP ranges. 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).", alias="localResolutionPrefixes")
|
local_resolution_prefixes: Optional[List[StrictStr]] = Field(default=None, description="To perform rDNS lookups for public IP ranges, this field represents the public IP ranges. 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).", alias="localResolutionPrefixes")
|
||||||
interface_ip_mapping: Optional[List[InterfaceIpMapping]] = Field(default=None, alias="interfaceIpMapping")
|
interface_ip_mapping: Optional[List[InterfaceIpMapping]] = Field(default=None, alias="interfaceIpMapping")
|
||||||
__properties: ClassVar[List[str]] = ["agentType", "ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
|
__properties: ClassVar[List[str]] = ["agentType", "ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "networkProviderInfo", "enabled", "verifySslCertificates", "prefix", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -119,8 +121,8 @@ class EnterpriseAgent(BaseModel):
|
|||||||
"agent_id",
|
"agent_id",
|
||||||
"location",
|
"location",
|
||||||
"country_id",
|
"country_id",
|
||||||
"prefix",
|
|
||||||
"verify_ssl_certificates",
|
"verify_ssl_certificates",
|
||||||
|
"prefix",
|
||||||
"test_ids",
|
"test_ids",
|
||||||
"cluster_members",
|
"cluster_members",
|
||||||
"utilization",
|
"utilization",
|
||||||
@ -139,6 +141,9 @@ class EnterpriseAgent(BaseModel):
|
|||||||
# override the default output from pydantic by calling `to_dict()` of coordinates
|
# override the default output from pydantic by calling `to_dict()` of coordinates
|
||||||
if self.coordinates:
|
if self.coordinates:
|
||||||
_dict['coordinates'] = self.coordinates.to_dict()
|
_dict['coordinates'] = self.coordinates.to_dict()
|
||||||
|
# override the default output from pydantic by calling `to_dict()` of network_provider_info
|
||||||
|
if self.network_provider_info:
|
||||||
|
_dict['networkProviderInfo'] = self.network_provider_info.to_dict()
|
||||||
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
||||||
_items = []
|
_items = []
|
||||||
if self.tests:
|
if self.tests:
|
||||||
@ -195,9 +200,10 @@ class EnterpriseAgent(BaseModel):
|
|||||||
"location": obj.get("location"),
|
"location": obj.get("location"),
|
||||||
"countryId": obj.get("countryId"),
|
"countryId": obj.get("countryId"),
|
||||||
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
||||||
|
"networkProviderInfo": SimpleAgentAllOfNetworkProviderInfo.from_dict(obj["networkProviderInfo"]) if obj.get("networkProviderInfo") is not None else None,
|
||||||
"enabled": obj.get("enabled"),
|
"enabled": obj.get("enabled"),
|
||||||
"prefix": obj.get("prefix"),
|
|
||||||
"verifySslCertificates": obj.get("verifySslCertificates"),
|
"verifySslCertificates": obj.get("verifySslCertificates"),
|
||||||
|
"prefix": obj.get("prefix"),
|
||||||
"testIds": obj.get("testIds"),
|
"testIds": obj.get("testIds"),
|
||||||
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
||||||
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,
|
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,
|
||||||
|
|||||||
@ -0,0 +1,96 @@
|
|||||||
|
# coding: utf-8
|
||||||
|
|
||||||
|
"""
|
||||||
|
Administrative API
|
||||||
|
|
||||||
|
Manage users, accounts, and account groups in the ThousandEyes platform using the Administrative API. This API provides the following operations to manage your organization: * `/account-groups`: Account groups are used to divide an organization into different sections. These operations can be used to create, retrieve, update and delete account groups. * `/users`: Create, retrieve, update and delete users within an organization. * `/roles`: Create, retrieve and update roles for the current user. * `/permissions`: Retrieve all assignable permissions. Used in the context of modifying roles. * `/audit-user-events`: Retrieve all activity log events. For more information about the administrative models, see [Account Management](https://docs.thousandeyes.com/product-documentation/user-management).
|
||||||
|
|
||||||
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
|
""" # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
import pprint
|
||||||
|
import re # noqa: F401
|
||||||
|
import json
|
||||||
|
|
||||||
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
||||||
|
from typing import Any, ClassVar, Dict, List, Optional
|
||||||
|
from thousandeyes_sdk.administrative.models.network_provider_type import NetworkProviderType
|
||||||
|
from typing import Optional, Set
|
||||||
|
from typing_extensions import Self
|
||||||
|
|
||||||
|
class NetworkProviderInfo(BaseModel):
|
||||||
|
"""
|
||||||
|
Information about the network provider that owns the agent's public IP prefix.
|
||||||
|
""" # noqa: E501
|
||||||
|
asn: Optional[StrictInt] = Field(default=None, description="Autonomous System Number (ASN) announcing the agent's public IP prefix.")
|
||||||
|
name: Optional[StrictStr] = Field(default=None, description="Name of the network provider organization.")
|
||||||
|
type: Optional[NetworkProviderType] = None
|
||||||
|
__properties: ClassVar[List[str]] = ["asn", "name", "type"]
|
||||||
|
|
||||||
|
model_config = ConfigDict(
|
||||||
|
populate_by_name=True,
|
||||||
|
validate_assignment=True,
|
||||||
|
protected_namespaces=(),
|
||||||
|
extra="allow",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def to_str(self) -> str:
|
||||||
|
"""Returns the string representation of the model using alias"""
|
||||||
|
return pprint.pformat(self.model_dump(by_alias=True))
|
||||||
|
|
||||||
|
def to_json(self) -> str:
|
||||||
|
"""Returns the JSON representation of the model using alias"""
|
||||||
|
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
||||||
|
return self.model_dump_json(by_alias=True, exclude_unset=True, exclude_none=True)
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
||||||
|
"""Create an instance of NetworkProviderInfo from a JSON string"""
|
||||||
|
return cls.from_dict(json.loads(json_str))
|
||||||
|
|
||||||
|
def to_dict(self) -> Dict[str, Any]:
|
||||||
|
"""Return the dictionary representation of the model using alias.
|
||||||
|
|
||||||
|
This has the following differences from calling pydantic's
|
||||||
|
`self.model_dump(by_alias=True)`:
|
||||||
|
|
||||||
|
* `None` is only added to the output dict for nullable fields that
|
||||||
|
were set at model initialization. Other fields with value `None`
|
||||||
|
are ignored.
|
||||||
|
* OpenAPI `readOnly` fields are excluded.
|
||||||
|
* OpenAPI `readOnly` fields are excluded.
|
||||||
|
"""
|
||||||
|
excluded_fields: Set[str] = set([
|
||||||
|
"asn",
|
||||||
|
"name",
|
||||||
|
])
|
||||||
|
|
||||||
|
_dict = self.model_dump(
|
||||||
|
by_alias=True,
|
||||||
|
exclude=excluded_fields,
|
||||||
|
exclude_none=True,
|
||||||
|
)
|
||||||
|
return _dict
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
||||||
|
"""Create an instance of NetworkProviderInfo from a dict"""
|
||||||
|
if obj is None:
|
||||||
|
return None
|
||||||
|
|
||||||
|
if not isinstance(obj, dict):
|
||||||
|
return cls.model_validate(obj)
|
||||||
|
|
||||||
|
_obj = cls.model_validate({
|
||||||
|
"asn": obj.get("asn"),
|
||||||
|
"name": obj.get("name"),
|
||||||
|
"type": obj.get("type")
|
||||||
|
})
|
||||||
|
return _obj
|
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,44 @@
|
|||||||
|
# coding: utf-8
|
||||||
|
|
||||||
|
"""
|
||||||
|
Administrative API
|
||||||
|
|
||||||
|
Manage users, accounts, and account groups in the ThousandEyes platform using the Administrative API. This API provides the following operations to manage your organization: * `/account-groups`: Account groups are used to divide an organization into different sections. These operations can be used to create, retrieve, update and delete account groups. * `/users`: Create, retrieve, update and delete users within an organization. * `/roles`: Create, retrieve and update roles for the current user. * `/permissions`: Retrieve all assignable permissions. Used in the context of modifying roles. * `/audit-user-events`: Retrieve all activity log events. For more information about the administrative models, see [Account Management](https://docs.thousandeyes.com/product-documentation/user-management).
|
||||||
|
|
||||||
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
|
""" # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
import json
|
||||||
|
from enum import Enum
|
||||||
|
from typing_extensions import Self
|
||||||
|
|
||||||
|
|
||||||
|
class NetworkProviderType(str, Enum):
|
||||||
|
"""
|
||||||
|
Classification of the agent's network provider.
|
||||||
|
"""
|
||||||
|
|
||||||
|
"""
|
||||||
|
allowed enum values
|
||||||
|
"""
|
||||||
|
UNKNOWN = 'unknown'
|
||||||
|
ISP = 'isp'
|
||||||
|
CDN = 'cdn'
|
||||||
|
STUB = 'stub'
|
||||||
|
CLOUD_MINUS_PROVIDER = 'cloud-provider'
|
||||||
|
CARRIER = 'carrier'
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def from_json(cls, json_str: str) -> Self:
|
||||||
|
"""Create an instance of NetworkProviderType from a JSON string"""
|
||||||
|
return cls(json.loads(json_str))
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def _missing_(cls, value):
|
||||||
|
"""Handle unknown values"""
|
||||||
|
return cls.UNKNOWN
|
||||||
|
|
||||||
@ -19,6 +19,7 @@ import json
|
|||||||
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
||||||
from typing import Any, ClassVar, Dict, List, Optional
|
from typing import Any, ClassVar, Dict, List, Optional
|
||||||
from thousandeyes_sdk.administrative.models.coordinates import Coordinates
|
from thousandeyes_sdk.administrative.models.coordinates import Coordinates
|
||||||
|
from thousandeyes_sdk.administrative.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from typing import Optional, Set
|
from typing import Optional, Set
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
|
|
||||||
@ -34,10 +35,11 @@ class SimpleAgent(BaseModel):
|
|||||||
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
||||||
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
||||||
coordinates: Optional[Coordinates] = None
|
coordinates: Optional[Coordinates] = None
|
||||||
|
network_provider_info: Optional[SimpleAgentAllOfNetworkProviderInfo] = Field(default=None, alias="networkProviderInfo")
|
||||||
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
||||||
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
|
||||||
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
||||||
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates"]
|
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
||||||
|
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "networkProviderInfo", "enabled", "verifySslCertificates", "prefix"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -86,8 +88,8 @@ class SimpleAgent(BaseModel):
|
|||||||
"agent_id",
|
"agent_id",
|
||||||
"location",
|
"location",
|
||||||
"country_id",
|
"country_id",
|
||||||
"prefix",
|
|
||||||
"verify_ssl_certificates",
|
"verify_ssl_certificates",
|
||||||
|
"prefix",
|
||||||
])
|
])
|
||||||
|
|
||||||
_dict = self.model_dump(
|
_dict = self.model_dump(
|
||||||
@ -98,6 +100,9 @@ class SimpleAgent(BaseModel):
|
|||||||
# override the default output from pydantic by calling `to_dict()` of coordinates
|
# override the default output from pydantic by calling `to_dict()` of coordinates
|
||||||
if self.coordinates:
|
if self.coordinates:
|
||||||
_dict['coordinates'] = self.coordinates.to_dict()
|
_dict['coordinates'] = self.coordinates.to_dict()
|
||||||
|
# override the default output from pydantic by calling `to_dict()` of network_provider_info
|
||||||
|
if self.network_provider_info:
|
||||||
|
_dict['networkProviderInfo'] = self.network_provider_info.to_dict()
|
||||||
return _dict
|
return _dict
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -118,9 +123,10 @@ class SimpleAgent(BaseModel):
|
|||||||
"location": obj.get("location"),
|
"location": obj.get("location"),
|
||||||
"countryId": obj.get("countryId"),
|
"countryId": obj.get("countryId"),
|
||||||
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
||||||
|
"networkProviderInfo": SimpleAgentAllOfNetworkProviderInfo.from_dict(obj["networkProviderInfo"]) if obj.get("networkProviderInfo") is not None else None,
|
||||||
"enabled": obj.get("enabled"),
|
"enabled": obj.get("enabled"),
|
||||||
"prefix": obj.get("prefix"),
|
"verifySslCertificates": obj.get("verifySslCertificates"),
|
||||||
"verifySslCertificates": obj.get("verifySslCertificates")
|
"prefix": obj.get("prefix")
|
||||||
})
|
})
|
||||||
return _obj
|
return _obj
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,96 @@
|
|||||||
|
# coding: utf-8
|
||||||
|
|
||||||
|
"""
|
||||||
|
Administrative API
|
||||||
|
|
||||||
|
Manage users, accounts, and account groups in the ThousandEyes platform using the Administrative API. This API provides the following operations to manage your organization: * `/account-groups`: Account groups are used to divide an organization into different sections. These operations can be used to create, retrieve, update and delete account groups. * `/users`: Create, retrieve, update and delete users within an organization. * `/roles`: Create, retrieve and update roles for the current user. * `/permissions`: Retrieve all assignable permissions. Used in the context of modifying roles. * `/audit-user-events`: Retrieve all activity log events. For more information about the administrative models, see [Account Management](https://docs.thousandeyes.com/product-documentation/user-management).
|
||||||
|
|
||||||
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
|
""" # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
import pprint
|
||||||
|
import re # noqa: F401
|
||||||
|
import json
|
||||||
|
|
||||||
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
||||||
|
from typing import Any, ClassVar, Dict, List, Optional
|
||||||
|
from thousandeyes_sdk.administrative.models.network_provider_type import NetworkProviderType
|
||||||
|
from typing import Optional, Set
|
||||||
|
from typing_extensions import Self
|
||||||
|
|
||||||
|
class SimpleAgentAllOfNetworkProviderInfo(BaseModel):
|
||||||
|
"""
|
||||||
|
SimpleAgentAllOfNetworkProviderInfo
|
||||||
|
""" # noqa: E501
|
||||||
|
asn: Optional[StrictInt] = Field(default=None, description="Autonomous System Number (ASN) announcing the agent's public IP prefix.")
|
||||||
|
name: Optional[StrictStr] = Field(default=None, description="Name of the network provider organization.")
|
||||||
|
type: Optional[NetworkProviderType] = None
|
||||||
|
__properties: ClassVar[List[str]] = ["asn", "name", "type"]
|
||||||
|
|
||||||
|
model_config = ConfigDict(
|
||||||
|
populate_by_name=True,
|
||||||
|
validate_assignment=True,
|
||||||
|
protected_namespaces=(),
|
||||||
|
extra="allow",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def to_str(self) -> str:
|
||||||
|
"""Returns the string representation of the model using alias"""
|
||||||
|
return pprint.pformat(self.model_dump(by_alias=True))
|
||||||
|
|
||||||
|
def to_json(self) -> str:
|
||||||
|
"""Returns the JSON representation of the model using alias"""
|
||||||
|
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
||||||
|
return self.model_dump_json(by_alias=True, exclude_unset=True, exclude_none=True)
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
||||||
|
"""Create an instance of SimpleAgentAllOfNetworkProviderInfo from a JSON string"""
|
||||||
|
return cls.from_dict(json.loads(json_str))
|
||||||
|
|
||||||
|
def to_dict(self) -> Dict[str, Any]:
|
||||||
|
"""Return the dictionary representation of the model using alias.
|
||||||
|
|
||||||
|
This has the following differences from calling pydantic's
|
||||||
|
`self.model_dump(by_alias=True)`:
|
||||||
|
|
||||||
|
* `None` is only added to the output dict for nullable fields that
|
||||||
|
were set at model initialization. Other fields with value `None`
|
||||||
|
are ignored.
|
||||||
|
* OpenAPI `readOnly` fields are excluded.
|
||||||
|
* OpenAPI `readOnly` fields are excluded.
|
||||||
|
"""
|
||||||
|
excluded_fields: Set[str] = set([
|
||||||
|
"asn",
|
||||||
|
"name",
|
||||||
|
])
|
||||||
|
|
||||||
|
_dict = self.model_dump(
|
||||||
|
by_alias=True,
|
||||||
|
exclude=excluded_fields,
|
||||||
|
exclude_none=True,
|
||||||
|
)
|
||||||
|
return _dict
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
||||||
|
"""Create an instance of SimpleAgentAllOfNetworkProviderInfo from a dict"""
|
||||||
|
if obj is None:
|
||||||
|
return None
|
||||||
|
|
||||||
|
if not isinstance(obj, dict):
|
||||||
|
return cls.model_validate(obj)
|
||||||
|
|
||||||
|
_obj = cls.model_validate({
|
||||||
|
"asn": obj.get("asn"),
|
||||||
|
"name": obj.get("name"),
|
||||||
|
"type": obj.get("type")
|
||||||
|
})
|
||||||
|
return _obj
|
||||||
|
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ class TestAccountGroupsApi(unittest.TestCase):
|
|||||||
},
|
},
|
||||||
"accountGroupName" : "Account A",
|
"accountGroupName" : "Account A",
|
||||||
"isDefaultAccountGroup" : true,
|
"isDefaultAccountGroup" : true,
|
||||||
"accountToken" : "6j052y4vfgyuhefghue",
|
"accountToken" : "accountToken",
|
||||||
"aid" : "1234",
|
"aid" : "1234",
|
||||||
"orgId" : "12345",
|
"orgId" : "12345",
|
||||||
"users" : [ {
|
"users" : [ {
|
||||||
@ -170,6 +170,11 @@ class TestAccountGroupsApi(unittest.TestCase):
|
|||||||
"agentType" : "enterprise-cluster",
|
"agentType" : "enterprise-cluster",
|
||||||
"ipv6Policy" : "force-ipv4",
|
"ipv6Policy" : "force-ipv4",
|
||||||
"prefix" : "99.128.0.0/11",
|
"prefix" : "99.128.0.0/11",
|
||||||
|
"networkProviderInfo" : {
|
||||||
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
@ -315,6 +320,11 @@ class TestAccountGroupsApi(unittest.TestCase):
|
|||||||
"agentType" : "enterprise-cluster",
|
"agentType" : "enterprise-cluster",
|
||||||
"ipv6Policy" : "force-ipv4",
|
"ipv6Policy" : "force-ipv4",
|
||||||
"prefix" : "99.128.0.0/11",
|
"prefix" : "99.128.0.0/11",
|
||||||
|
"networkProviderInfo" : {
|
||||||
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
@ -531,7 +541,7 @@ class TestAccountGroupsApi(unittest.TestCase):
|
|||||||
},
|
},
|
||||||
"accountGroupName" : "Account A",
|
"accountGroupName" : "Account A",
|
||||||
"isDefaultAccountGroup" : true,
|
"isDefaultAccountGroup" : true,
|
||||||
"accountToken" : "6j052y4vfgyuhefghue",
|
"accountToken" : "accountToken",
|
||||||
"aid" : "1234",
|
"aid" : "1234",
|
||||||
"orgId" : "12345",
|
"orgId" : "12345",
|
||||||
"users" : [ {
|
"users" : [ {
|
||||||
@ -574,6 +584,11 @@ class TestAccountGroupsApi(unittest.TestCase):
|
|||||||
"agentType" : "enterprise-cluster",
|
"agentType" : "enterprise-cluster",
|
||||||
"ipv6Policy" : "force-ipv4",
|
"ipv6Policy" : "force-ipv4",
|
||||||
"prefix" : "99.128.0.0/11",
|
"prefix" : "99.128.0.0/11",
|
||||||
|
"networkProviderInfo" : {
|
||||||
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
@ -719,6 +734,11 @@ class TestAccountGroupsApi(unittest.TestCase):
|
|||||||
"agentType" : "enterprise-cluster",
|
"agentType" : "enterprise-cluster",
|
||||||
"ipv6Policy" : "force-ipv4",
|
"ipv6Policy" : "force-ipv4",
|
||||||
"prefix" : "99.128.0.0/11",
|
"prefix" : "99.128.0.0/11",
|
||||||
|
"networkProviderInfo" : {
|
||||||
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
|
|||||||
@ -43,6 +43,8 @@ docs/ErrorDetailCode.md
|
|||||||
docs/InterfaceIpMapping.md
|
docs/InterfaceIpMapping.md
|
||||||
docs/Link.md
|
docs/Link.md
|
||||||
docs/ListNotificationRulesResponse.md
|
docs/ListNotificationRulesResponse.md
|
||||||
|
docs/NetworkProviderInfo.md
|
||||||
|
docs/NetworkProviderType.md
|
||||||
docs/NotificationRule.md
|
docs/NotificationRule.md
|
||||||
docs/NotificationRuleDetail.md
|
docs/NotificationRuleDetail.md
|
||||||
docs/NotificationRules.md
|
docs/NotificationRules.md
|
||||||
@ -50,6 +52,7 @@ docs/ProxyAuthType.md
|
|||||||
docs/ProxyType.md
|
docs/ProxyType.md
|
||||||
docs/SelfLinks.md
|
docs/SelfLinks.md
|
||||||
docs/SimpleAgent.md
|
docs/SimpleAgent.md
|
||||||
|
docs/SimpleAgentAllOfNetworkProviderInfo.md
|
||||||
docs/SimpleEnterpriseAgent.md
|
docs/SimpleEnterpriseAgent.md
|
||||||
docs/SimpleTest.md
|
docs/SimpleTest.md
|
||||||
docs/TestInterval.md
|
docs/TestInterval.md
|
||||||
@ -108,6 +111,8 @@ src/thousandeyes_sdk/agents/models/error_detail_code.py
|
|||||||
src/thousandeyes_sdk/agents/models/interface_ip_mapping.py
|
src/thousandeyes_sdk/agents/models/interface_ip_mapping.py
|
||||||
src/thousandeyes_sdk/agents/models/link.py
|
src/thousandeyes_sdk/agents/models/link.py
|
||||||
src/thousandeyes_sdk/agents/models/list_notification_rules_response.py
|
src/thousandeyes_sdk/agents/models/list_notification_rules_response.py
|
||||||
|
src/thousandeyes_sdk/agents/models/network_provider_info.py
|
||||||
|
src/thousandeyes_sdk/agents/models/network_provider_type.py
|
||||||
src/thousandeyes_sdk/agents/models/notification_rule.py
|
src/thousandeyes_sdk/agents/models/notification_rule.py
|
||||||
src/thousandeyes_sdk/agents/models/notification_rule_detail.py
|
src/thousandeyes_sdk/agents/models/notification_rule_detail.py
|
||||||
src/thousandeyes_sdk/agents/models/notification_rules.py
|
src/thousandeyes_sdk/agents/models/notification_rules.py
|
||||||
@ -115,6 +120,7 @@ src/thousandeyes_sdk/agents/models/proxy_auth_type.py
|
|||||||
src/thousandeyes_sdk/agents/models/proxy_type.py
|
src/thousandeyes_sdk/agents/models/proxy_type.py
|
||||||
src/thousandeyes_sdk/agents/models/self_links.py
|
src/thousandeyes_sdk/agents/models/self_links.py
|
||||||
src/thousandeyes_sdk/agents/models/simple_agent.py
|
src/thousandeyes_sdk/agents/models/simple_agent.py
|
||||||
|
src/thousandeyes_sdk/agents/models/simple_agent_all_of_network_provider_info.py
|
||||||
src/thousandeyes_sdk/agents/models/simple_enterprise_agent.py
|
src/thousandeyes_sdk/agents/models/simple_enterprise_agent.py
|
||||||
src/thousandeyes_sdk/agents/models/simple_test.py
|
src/thousandeyes_sdk/agents/models/simple_test.py
|
||||||
src/thousandeyes_sdk/agents/models/test_interval.py
|
src/thousandeyes_sdk/agents/models/test_interval.py
|
||||||
|
|||||||
@ -1,11 +1,10 @@
|
|||||||
# thousandeyes-sdk-agents
|
# thousandeyes-sdk-agents
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||||
|
|
||||||
- API version: 7.0.84
|
- API version: 7.0.91
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
@ -150,6 +149,8 @@ Class | Method | HTTP request | Description
|
|||||||
- [InterfaceIpMapping](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/InterfaceIpMapping.md)
|
- [InterfaceIpMapping](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/InterfaceIpMapping.md)
|
||||||
- [Link](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/Link.md)
|
- [Link](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/Link.md)
|
||||||
- [ListNotificationRulesResponse](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/ListNotificationRulesResponse.md)
|
- [ListNotificationRulesResponse](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/ListNotificationRulesResponse.md)
|
||||||
|
- [NetworkProviderInfo](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/NetworkProviderInfo.md)
|
||||||
|
- [NetworkProviderType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/NetworkProviderType.md)
|
||||||
- [NotificationRule](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/NotificationRule.md)
|
- [NotificationRule](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/NotificationRule.md)
|
||||||
- [NotificationRuleDetail](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/NotificationRuleDetail.md)
|
- [NotificationRuleDetail](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/NotificationRuleDetail.md)
|
||||||
- [NotificationRules](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/NotificationRules.md)
|
- [NotificationRules](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/NotificationRules.md)
|
||||||
@ -157,6 +158,7 @@ Class | Method | HTTP request | Description
|
|||||||
- [ProxyType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/ProxyType.md)
|
- [ProxyType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/ProxyType.md)
|
||||||
- [SelfLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/SelfLinks.md)
|
- [SelfLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/SelfLinks.md)
|
||||||
- [SimpleAgent](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/SimpleAgent.md)
|
- [SimpleAgent](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/SimpleAgent.md)
|
||||||
|
- [SimpleAgentAllOfNetworkProviderInfo](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/SimpleAgentAllOfNetworkProviderInfo.md)
|
||||||
- [SimpleEnterpriseAgent](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/SimpleEnterpriseAgent.md)
|
- [SimpleEnterpriseAgent](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/SimpleEnterpriseAgent.md)
|
||||||
- [SimpleTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/SimpleTest.md)
|
- [SimpleTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/SimpleTest.md)
|
||||||
- [TestInterval](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/TestInterval.md)
|
- [TestInterval](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-agents/docs/TestInterval.md)
|
||||||
|
|||||||
@ -13,9 +13,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
**agent_type** | **str** | Enterprise Cluster agent type. |
|
**agent_type** | **str** | Enterprise Cluster agent type. |
|
||||||
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
||||||
**labels** | [**List[AgentLabel]**](AgentLabel.md) | List of labels. See `/labels` for more information. | [optional] [readonly]
|
**labels** | [**List[AgentLabel]**](AgentLabel.md) | List of labels. See `/labels` for more information. | [optional] [readonly]
|
||||||
|
|||||||
@ -13,9 +13,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
**agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
|
**agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|||||||
@ -13,9 +13,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
**agent_type** | **str** | Cloud agent type. |
|
**agent_type** | **str** | Cloud agent type. |
|
||||||
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
||||||
**labels** | [**List[AgentLabel]**](AgentLabel.md) | List of labels - see `/labels` for more information. | [optional] [readonly]
|
**labels** | [**List[AgentLabel]**](AgentLabel.md) | List of labels - see `/labels` for more information. | [optional] [readonly]
|
||||||
|
|||||||
@ -14,9 +14,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
||||||
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
||||||
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
||||||
|
|||||||
@ -14,9 +14,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
||||||
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
||||||
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
||||||
|
|||||||
@ -13,9 +13,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
||||||
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
||||||
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
||||||
|
|||||||
@ -13,9 +13,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
||||||
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
||||||
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
||||||
|
|||||||
32
thousandeyes-sdk-agents/docs/NetworkProviderInfo.md
Normal file
32
thousandeyes-sdk-agents/docs/NetworkProviderInfo.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# NetworkProviderInfo
|
||||||
|
|
||||||
|
Information about the network provider that owns the agent's public IP prefix.
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**asn** | **int** | Autonomous System Number (ASN) announcing the agent's public IP prefix. | [optional] [readonly]
|
||||||
|
**name** | **str** | Name of the network provider organization. | [optional] [readonly]
|
||||||
|
**type** | [**NetworkProviderType**](NetworkProviderType.md) | | [optional]
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
```python
|
||||||
|
from thousandeyes_sdk.agents.models.network_provider_info import NetworkProviderInfo
|
||||||
|
|
||||||
|
# TODO update the JSON string below
|
||||||
|
json = "{}"
|
||||||
|
# create an instance of NetworkProviderInfo from a JSON string
|
||||||
|
network_provider_info_instance = NetworkProviderInfo.from_json(json)
|
||||||
|
# print the JSON string representation of the object
|
||||||
|
print(NetworkProviderInfo.to_json())
|
||||||
|
|
||||||
|
# convert the object into a dict
|
||||||
|
network_provider_info_dict = network_provider_info_instance.to_dict()
|
||||||
|
# create an instance of NetworkProviderInfo from a dict
|
||||||
|
network_provider_info_from_dict = NetworkProviderInfo.from_dict(network_provider_info_dict)
|
||||||
|
```
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
# ApiWidgetSortProperty
|
# NetworkProviderType
|
||||||
|
|
||||||
Determines the card sorting criterion.
|
Classification of the agent's network provider.
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
@ -13,9 +13,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,31 @@
|
|||||||
|
# SimpleAgentAllOfNetworkProviderInfo
|
||||||
|
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**asn** | **int** | Autonomous System Number (ASN) announcing the agent's public IP prefix. | [optional] [readonly]
|
||||||
|
**name** | **str** | Name of the network provider organization. | [optional] [readonly]
|
||||||
|
**type** | [**NetworkProviderType**](NetworkProviderType.md) | | [optional]
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
```python
|
||||||
|
from thousandeyes_sdk.agents.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
|
|
||||||
|
# TODO update the JSON string below
|
||||||
|
json = "{}"
|
||||||
|
# create an instance of SimpleAgentAllOfNetworkProviderInfo from a JSON string
|
||||||
|
simple_agent_all_of_network_provider_info_instance = SimpleAgentAllOfNetworkProviderInfo.from_json(json)
|
||||||
|
# print the JSON string representation of the object
|
||||||
|
print(SimpleAgentAllOfNetworkProviderInfo.to_json())
|
||||||
|
|
||||||
|
# convert the object into a dict
|
||||||
|
simple_agent_all_of_network_provider_info_dict = simple_agent_all_of_network_provider_info_instance.to_dict()
|
||||||
|
# create an instance of SimpleAgentAllOfNetworkProviderInfo from a dict
|
||||||
|
simple_agent_all_of_network_provider_info_from_dict = SimpleAgentAllOfNetworkProviderInfo.from_dict(simple_agent_all_of_network_provider_info_dict)
|
||||||
|
```
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
@ -13,9 +13,10 @@ Name | Type | Description | Notes
|
|||||||
**location** | **str** | Location of the agent. | [optional] [readonly]
|
**location** | **str** | Location of the agent. | [optional] [readonly]
|
||||||
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
|
||||||
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
|
||||||
|
**network_provider_info** | [**SimpleAgentAllOfNetworkProviderInfo**](SimpleAgentAllOfNetworkProviderInfo.md) | | [optional]
|
||||||
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
|
**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]
|
**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]
|
||||||
|
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
|
||||||
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
|
||||||
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
|
||||||
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -60,6 +60,8 @@ from thousandeyes_sdk.agents.models.error_detail_code import ErrorDetailCode
|
|||||||
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
||||||
from thousandeyes_sdk.agents.models.link import Link
|
from thousandeyes_sdk.agents.models.link import Link
|
||||||
from thousandeyes_sdk.agents.models.list_notification_rules_response import ListNotificationRulesResponse
|
from thousandeyes_sdk.agents.models.list_notification_rules_response import ListNotificationRulesResponse
|
||||||
|
from thousandeyes_sdk.agents.models.network_provider_info import NetworkProviderInfo
|
||||||
|
from thousandeyes_sdk.agents.models.network_provider_type import NetworkProviderType
|
||||||
from thousandeyes_sdk.agents.models.notification_rule import NotificationRule
|
from thousandeyes_sdk.agents.models.notification_rule import NotificationRule
|
||||||
from thousandeyes_sdk.agents.models.notification_rule_detail import NotificationRuleDetail
|
from thousandeyes_sdk.agents.models.notification_rule_detail import NotificationRuleDetail
|
||||||
from thousandeyes_sdk.agents.models.notification_rules import NotificationRules
|
from thousandeyes_sdk.agents.models.notification_rules import NotificationRules
|
||||||
@ -67,6 +69,7 @@ from thousandeyes_sdk.agents.models.proxy_auth_type import ProxyAuthType
|
|||||||
from thousandeyes_sdk.agents.models.proxy_type import ProxyType
|
from thousandeyes_sdk.agents.models.proxy_type import ProxyType
|
||||||
from thousandeyes_sdk.agents.models.self_links import SelfLinks
|
from thousandeyes_sdk.agents.models.self_links import SelfLinks
|
||||||
from thousandeyes_sdk.agents.models.simple_agent import SimpleAgent
|
from thousandeyes_sdk.agents.models.simple_agent import SimpleAgent
|
||||||
|
from thousandeyes_sdk.agents.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from thousandeyes_sdk.agents.models.simple_enterprise_agent import SimpleEnterpriseAgent
|
from thousandeyes_sdk.agents.models.simple_enterprise_agent import SimpleEnterpriseAgent
|
||||||
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
||||||
from thousandeyes_sdk.agents.models.test_interval import TestInterval
|
from thousandeyes_sdk.agents.models.test_interval import TestInterval
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -51,6 +51,8 @@ from thousandeyes_sdk.agents.models.error_detail_code import ErrorDetailCode
|
|||||||
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
||||||
from thousandeyes_sdk.agents.models.link import Link
|
from thousandeyes_sdk.agents.models.link import Link
|
||||||
from thousandeyes_sdk.agents.models.list_notification_rules_response import ListNotificationRulesResponse
|
from thousandeyes_sdk.agents.models.list_notification_rules_response import ListNotificationRulesResponse
|
||||||
|
from thousandeyes_sdk.agents.models.network_provider_info import NetworkProviderInfo
|
||||||
|
from thousandeyes_sdk.agents.models.network_provider_type import NetworkProviderType
|
||||||
from thousandeyes_sdk.agents.models.notification_rule import NotificationRule
|
from thousandeyes_sdk.agents.models.notification_rule import NotificationRule
|
||||||
from thousandeyes_sdk.agents.models.notification_rule_detail import NotificationRuleDetail
|
from thousandeyes_sdk.agents.models.notification_rule_detail import NotificationRuleDetail
|
||||||
from thousandeyes_sdk.agents.models.notification_rules import NotificationRules
|
from thousandeyes_sdk.agents.models.notification_rules import NotificationRules
|
||||||
@ -58,6 +60,7 @@ from thousandeyes_sdk.agents.models.proxy_auth_type import ProxyAuthType
|
|||||||
from thousandeyes_sdk.agents.models.proxy_type import ProxyType
|
from thousandeyes_sdk.agents.models.proxy_type import ProxyType
|
||||||
from thousandeyes_sdk.agents.models.self_links import SelfLinks
|
from thousandeyes_sdk.agents.models.self_links import SelfLinks
|
||||||
from thousandeyes_sdk.agents.models.simple_agent import SimpleAgent
|
from thousandeyes_sdk.agents.models.simple_agent import SimpleAgent
|
||||||
|
from thousandeyes_sdk.agents.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from thousandeyes_sdk.agents.models.simple_enterprise_agent import SimpleEnterpriseAgent
|
from thousandeyes_sdk.agents.models.simple_enterprise_agent import SimpleEnterpriseAgent
|
||||||
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
||||||
from thousandeyes_sdk.agents.models.test_interval import TestInterval
|
from thousandeyes_sdk.agents.models.test_interval import TestInterval
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|||||||
from typing import Any, ClassVar, Dict, List, Optional
|
from typing import Any, ClassVar, Dict, List, Optional
|
||||||
from thousandeyes_sdk.agents.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
|
from thousandeyes_sdk.agents.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
|
||||||
from thousandeyes_sdk.agents.models.coordinates import Coordinates
|
from thousandeyes_sdk.agents.models.coordinates import Coordinates
|
||||||
|
from thousandeyes_sdk.agents.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from typing import Optional, Set
|
from typing import Optional, Set
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
|
|
||||||
@ -35,11 +36,12 @@ class AgentResponse(BaseModel):
|
|||||||
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
||||||
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
||||||
coordinates: Optional[Coordinates] = None
|
coordinates: Optional[Coordinates] = None
|
||||||
|
network_provider_info: Optional[SimpleAgentAllOfNetworkProviderInfo] = Field(default=None, alias="networkProviderInfo")
|
||||||
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
||||||
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
|
||||||
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
||||||
|
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
||||||
agent_type: CloudEnterpriseAgentType = Field(alias="agentType")
|
agent_type: CloudEnterpriseAgentType = Field(alias="agentType")
|
||||||
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "agentType"]
|
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "networkProviderInfo", "enabled", "verifySslCertificates", "prefix", "agentType"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -88,8 +90,8 @@ class AgentResponse(BaseModel):
|
|||||||
"agent_id",
|
"agent_id",
|
||||||
"location",
|
"location",
|
||||||
"country_id",
|
"country_id",
|
||||||
"prefix",
|
|
||||||
"verify_ssl_certificates",
|
"verify_ssl_certificates",
|
||||||
|
"prefix",
|
||||||
])
|
])
|
||||||
|
|
||||||
_dict = self.model_dump(
|
_dict = self.model_dump(
|
||||||
@ -100,6 +102,9 @@ class AgentResponse(BaseModel):
|
|||||||
# override the default output from pydantic by calling `to_dict()` of coordinates
|
# override the default output from pydantic by calling `to_dict()` of coordinates
|
||||||
if self.coordinates:
|
if self.coordinates:
|
||||||
_dict['coordinates'] = self.coordinates.to_dict()
|
_dict['coordinates'] = self.coordinates.to_dict()
|
||||||
|
# override the default output from pydantic by calling `to_dict()` of network_provider_info
|
||||||
|
if self.network_provider_info:
|
||||||
|
_dict['networkProviderInfo'] = self.network_provider_info.to_dict()
|
||||||
return _dict
|
return _dict
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -120,9 +125,10 @@ class AgentResponse(BaseModel):
|
|||||||
"location": obj.get("location"),
|
"location": obj.get("location"),
|
||||||
"countryId": obj.get("countryId"),
|
"countryId": obj.get("countryId"),
|
||||||
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
||||||
|
"networkProviderInfo": SimpleAgentAllOfNetworkProviderInfo.from_dict(obj["networkProviderInfo"]) if obj.get("networkProviderInfo") is not None else None,
|
||||||
"enabled": obj.get("enabled"),
|
"enabled": obj.get("enabled"),
|
||||||
"prefix": obj.get("prefix"),
|
|
||||||
"verifySslCertificates": obj.get("verifySslCertificates"),
|
"verifySslCertificates": obj.get("verifySslCertificates"),
|
||||||
|
"prefix": obj.get("prefix"),
|
||||||
"agentType": obj.get("agentType")
|
"agentType": obj.get("agentType")
|
||||||
})
|
})
|
||||||
return _obj
|
return _obj
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -23,6 +23,7 @@ from thousandeyes_sdk.agents.models.agent_label import AgentLabel
|
|||||||
from thousandeyes_sdk.agents.models.agent_tag import AgentTag
|
from thousandeyes_sdk.agents.models.agent_tag import AgentTag
|
||||||
from thousandeyes_sdk.agents.models.coordinates import Coordinates
|
from thousandeyes_sdk.agents.models.coordinates import Coordinates
|
||||||
from thousandeyes_sdk.agents.models.self_links import SelfLinks
|
from thousandeyes_sdk.agents.models.self_links import SelfLinks
|
||||||
|
from thousandeyes_sdk.agents.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
||||||
from typing import Optional, Set
|
from typing import Optional, Set
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
@ -39,15 +40,16 @@ class CloudAgentDetail(BaseModel):
|
|||||||
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
||||||
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
||||||
coordinates: Optional[Coordinates] = None
|
coordinates: Optional[Coordinates] = None
|
||||||
|
network_provider_info: Optional[SimpleAgentAllOfNetworkProviderInfo] = Field(default=None, alias="networkProviderInfo")
|
||||||
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
||||||
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
|
||||||
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
||||||
|
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
||||||
agent_type: Annotated[str, Field(strict=True)] = Field(description="Cloud agent type.", alias="agentType")
|
agent_type: Annotated[str, Field(strict=True)] = Field(description="Cloud agent type.", alias="agentType")
|
||||||
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
||||||
labels: Optional[List[AgentLabel]] = Field(default=None, description="List of labels - see `/labels` for more information.")
|
labels: Optional[List[AgentLabel]] = Field(default=None, description="List of labels - see `/labels` for more information.")
|
||||||
tags: Optional[List[AgentTag]] = Field(default=None, description="List of tags. See `/tags` for more information.")
|
tags: Optional[List[AgentTag]] = Field(default=None, description="List of tags. See `/tags` for more information.")
|
||||||
links: Optional[SelfLinks] = Field(default=None, alias="_links")
|
links: Optional[SelfLinks] = Field(default=None, alias="_links")
|
||||||
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "agentType", "tests", "labels", "tags", "_links"]
|
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "networkProviderInfo", "enabled", "verifySslCertificates", "prefix", "agentType", "tests", "labels", "tags", "_links"]
|
||||||
|
|
||||||
@field_validator('agent_type')
|
@field_validator('agent_type')
|
||||||
def agent_type_validate_regular_expression(cls, value):
|
def agent_type_validate_regular_expression(cls, value):
|
||||||
@ -105,8 +107,8 @@ class CloudAgentDetail(BaseModel):
|
|||||||
"agent_id",
|
"agent_id",
|
||||||
"location",
|
"location",
|
||||||
"country_id",
|
"country_id",
|
||||||
"prefix",
|
|
||||||
"verify_ssl_certificates",
|
"verify_ssl_certificates",
|
||||||
|
"prefix",
|
||||||
"labels",
|
"labels",
|
||||||
"tags",
|
"tags",
|
||||||
])
|
])
|
||||||
@ -119,6 +121,9 @@ class CloudAgentDetail(BaseModel):
|
|||||||
# override the default output from pydantic by calling `to_dict()` of coordinates
|
# override the default output from pydantic by calling `to_dict()` of coordinates
|
||||||
if self.coordinates:
|
if self.coordinates:
|
||||||
_dict['coordinates'] = self.coordinates.to_dict()
|
_dict['coordinates'] = self.coordinates.to_dict()
|
||||||
|
# override the default output from pydantic by calling `to_dict()` of network_provider_info
|
||||||
|
if self.network_provider_info:
|
||||||
|
_dict['networkProviderInfo'] = self.network_provider_info.to_dict()
|
||||||
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
||||||
_items = []
|
_items = []
|
||||||
if self.tests:
|
if self.tests:
|
||||||
@ -163,9 +168,10 @@ class CloudAgentDetail(BaseModel):
|
|||||||
"location": obj.get("location"),
|
"location": obj.get("location"),
|
||||||
"countryId": obj.get("countryId"),
|
"countryId": obj.get("countryId"),
|
||||||
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
||||||
|
"networkProviderInfo": SimpleAgentAllOfNetworkProviderInfo.from_dict(obj["networkProviderInfo"]) if obj.get("networkProviderInfo") is not None else None,
|
||||||
"enabled": obj.get("enabled"),
|
"enabled": obj.get("enabled"),
|
||||||
"prefix": obj.get("prefix"),
|
|
||||||
"verifySslCertificates": obj.get("verifySslCertificates"),
|
"verifySslCertificates": obj.get("verifySslCertificates"),
|
||||||
|
"prefix": obj.get("prefix"),
|
||||||
"agentType": obj.get("agentType"),
|
"agentType": obj.get("agentType"),
|
||||||
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
||||||
"labels": [AgentLabel.from_dict(_item) for _item in obj["labels"]] if obj.get("labels") is not None else None,
|
"labels": [AgentLabel.from_dict(_item) for _item in obj["labels"]] if obj.get("labels") is not None else None,
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -27,6 +27,7 @@ from thousandeyes_sdk.agents.models.enterprise_agent_ipv6_policy import Enterpri
|
|||||||
from thousandeyes_sdk.agents.models.enterprise_agent_state import EnterpriseAgentState
|
from thousandeyes_sdk.agents.models.enterprise_agent_state import EnterpriseAgentState
|
||||||
from thousandeyes_sdk.agents.models.error_detail import ErrorDetail
|
from thousandeyes_sdk.agents.models.error_detail import ErrorDetail
|
||||||
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
||||||
|
from thousandeyes_sdk.agents.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
||||||
from typing import Optional, Set
|
from typing import Optional, Set
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
@ -44,9 +45,10 @@ class EnterpriseAgent(BaseModel):
|
|||||||
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
||||||
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
||||||
coordinates: Optional[Coordinates] = None
|
coordinates: Optional[Coordinates] = None
|
||||||
|
network_provider_info: Optional[SimpleAgentAllOfNetworkProviderInfo] = Field(default=None, alias="networkProviderInfo")
|
||||||
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
||||||
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
|
||||||
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
||||||
|
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
||||||
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
|
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
|
||||||
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
||||||
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
|
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
|
||||||
@ -62,7 +64,7 @@ class EnterpriseAgent(BaseModel):
|
|||||||
target_for_tests: Optional[StrictStr] = Field(default=None, description="Test target IP address.", alias="targetForTests")
|
target_for_tests: Optional[StrictStr] = Field(default=None, description="Test target IP address.", alias="targetForTests")
|
||||||
local_resolution_prefixes: Optional[List[StrictStr]] = Field(default=None, description="To perform rDNS lookups for public IP ranges, this field represents the public IP ranges. 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).", alias="localResolutionPrefixes")
|
local_resolution_prefixes: Optional[List[StrictStr]] = Field(default=None, description="To perform rDNS lookups for public IP ranges, this field represents the public IP ranges. 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).", alias="localResolutionPrefixes")
|
||||||
interface_ip_mapping: Optional[List[InterfaceIpMapping]] = Field(default=None, alias="interfaceIpMapping")
|
interface_ip_mapping: Optional[List[InterfaceIpMapping]] = Field(default=None, alias="interfaceIpMapping")
|
||||||
__properties: ClassVar[List[str]] = ["agentType", "ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
|
__properties: ClassVar[List[str]] = ["agentType", "ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "networkProviderInfo", "enabled", "verifySslCertificates", "prefix", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -119,8 +121,8 @@ class EnterpriseAgent(BaseModel):
|
|||||||
"agent_id",
|
"agent_id",
|
||||||
"location",
|
"location",
|
||||||
"country_id",
|
"country_id",
|
||||||
"prefix",
|
|
||||||
"verify_ssl_certificates",
|
"verify_ssl_certificates",
|
||||||
|
"prefix",
|
||||||
"test_ids",
|
"test_ids",
|
||||||
"cluster_members",
|
"cluster_members",
|
||||||
"utilization",
|
"utilization",
|
||||||
@ -139,6 +141,9 @@ class EnterpriseAgent(BaseModel):
|
|||||||
# override the default output from pydantic by calling `to_dict()` of coordinates
|
# override the default output from pydantic by calling `to_dict()` of coordinates
|
||||||
if self.coordinates:
|
if self.coordinates:
|
||||||
_dict['coordinates'] = self.coordinates.to_dict()
|
_dict['coordinates'] = self.coordinates.to_dict()
|
||||||
|
# override the default output from pydantic by calling `to_dict()` of network_provider_info
|
||||||
|
if self.network_provider_info:
|
||||||
|
_dict['networkProviderInfo'] = self.network_provider_info.to_dict()
|
||||||
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
||||||
_items = []
|
_items = []
|
||||||
if self.tests:
|
if self.tests:
|
||||||
@ -195,9 +200,10 @@ class EnterpriseAgent(BaseModel):
|
|||||||
"location": obj.get("location"),
|
"location": obj.get("location"),
|
||||||
"countryId": obj.get("countryId"),
|
"countryId": obj.get("countryId"),
|
||||||
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
||||||
|
"networkProviderInfo": SimpleAgentAllOfNetworkProviderInfo.from_dict(obj["networkProviderInfo"]) if obj.get("networkProviderInfo") is not None else None,
|
||||||
"enabled": obj.get("enabled"),
|
"enabled": obj.get("enabled"),
|
||||||
"prefix": obj.get("prefix"),
|
|
||||||
"verifySslCertificates": obj.get("verifySslCertificates"),
|
"verifySslCertificates": obj.get("verifySslCertificates"),
|
||||||
|
"prefix": obj.get("prefix"),
|
||||||
"testIds": obj.get("testIds"),
|
"testIds": obj.get("testIds"),
|
||||||
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
||||||
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,
|
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -31,6 +31,7 @@ from thousandeyes_sdk.agents.models.error_detail import ErrorDetail
|
|||||||
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
||||||
from thousandeyes_sdk.agents.models.notification_rules import NotificationRules
|
from thousandeyes_sdk.agents.models.notification_rules import NotificationRules
|
||||||
from thousandeyes_sdk.agents.models.self_links import SelfLinks
|
from thousandeyes_sdk.agents.models.self_links import SelfLinks
|
||||||
|
from thousandeyes_sdk.agents.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
||||||
from typing import Optional, Set
|
from typing import Optional, Set
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
@ -47,9 +48,10 @@ class EnterpriseAgentClusterDetail(BaseModel):
|
|||||||
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
||||||
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
||||||
coordinates: Optional[Coordinates] = None
|
coordinates: Optional[Coordinates] = None
|
||||||
|
network_provider_info: Optional[SimpleAgentAllOfNetworkProviderInfo] = Field(default=None, alias="networkProviderInfo")
|
||||||
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
||||||
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
|
||||||
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
||||||
|
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
||||||
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
|
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
|
||||||
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
||||||
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
|
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
|
||||||
@ -70,7 +72,7 @@ class EnterpriseAgentClusterDetail(BaseModel):
|
|||||||
tags: Optional[List[AgentTag]] = Field(default=None, description="List of tags. See `/tags` for more information.")
|
tags: Optional[List[AgentTag]] = Field(default=None, description="List of tags. See `/tags` for more information.")
|
||||||
agent_type: Annotated[str, Field(strict=True)] = Field(description="Enterprise Cluster agent type.", alias="agentType")
|
agent_type: Annotated[str, Field(strict=True)] = Field(description="Enterprise Cluster agent type.", alias="agentType")
|
||||||
links: Optional[SelfLinks] = Field(default=None, alias="_links")
|
links: Optional[SelfLinks] = Field(default=None, alias="_links")
|
||||||
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping", "notificationRules", "labels", "tags", "agentType", "_links"]
|
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "networkProviderInfo", "enabled", "verifySslCertificates", "prefix", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping", "notificationRules", "labels", "tags", "agentType", "_links"]
|
||||||
|
|
||||||
@field_validator('agent_type')
|
@field_validator('agent_type')
|
||||||
def agent_type_validate_regular_expression(cls, value):
|
def agent_type_validate_regular_expression(cls, value):
|
||||||
@ -136,8 +138,8 @@ class EnterpriseAgentClusterDetail(BaseModel):
|
|||||||
"agent_id",
|
"agent_id",
|
||||||
"location",
|
"location",
|
||||||
"country_id",
|
"country_id",
|
||||||
"prefix",
|
|
||||||
"verify_ssl_certificates",
|
"verify_ssl_certificates",
|
||||||
|
"prefix",
|
||||||
"test_ids",
|
"test_ids",
|
||||||
"cluster_members",
|
"cluster_members",
|
||||||
"utilization",
|
"utilization",
|
||||||
@ -158,6 +160,9 @@ class EnterpriseAgentClusterDetail(BaseModel):
|
|||||||
# override the default output from pydantic by calling `to_dict()` of coordinates
|
# override the default output from pydantic by calling `to_dict()` of coordinates
|
||||||
if self.coordinates:
|
if self.coordinates:
|
||||||
_dict['coordinates'] = self.coordinates.to_dict()
|
_dict['coordinates'] = self.coordinates.to_dict()
|
||||||
|
# override the default output from pydantic by calling `to_dict()` of network_provider_info
|
||||||
|
if self.network_provider_info:
|
||||||
|
_dict['networkProviderInfo'] = self.network_provider_info.to_dict()
|
||||||
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
||||||
_items = []
|
_items = []
|
||||||
if self.tests:
|
if self.tests:
|
||||||
@ -237,9 +242,10 @@ class EnterpriseAgentClusterDetail(BaseModel):
|
|||||||
"location": obj.get("location"),
|
"location": obj.get("location"),
|
||||||
"countryId": obj.get("countryId"),
|
"countryId": obj.get("countryId"),
|
||||||
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
||||||
|
"networkProviderInfo": SimpleAgentAllOfNetworkProviderInfo.from_dict(obj["networkProviderInfo"]) if obj.get("networkProviderInfo") is not None else None,
|
||||||
"enabled": obj.get("enabled"),
|
"enabled": obj.get("enabled"),
|
||||||
"prefix": obj.get("prefix"),
|
|
||||||
"verifySslCertificates": obj.get("verifySslCertificates"),
|
"verifySslCertificates": obj.get("verifySslCertificates"),
|
||||||
|
"prefix": obj.get("prefix"),
|
||||||
"testIds": obj.get("testIds"),
|
"testIds": obj.get("testIds"),
|
||||||
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
||||||
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,
|
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -31,6 +31,7 @@ from thousandeyes_sdk.agents.models.error_detail import ErrorDetail
|
|||||||
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
||||||
from thousandeyes_sdk.agents.models.notification_rules import NotificationRules
|
from thousandeyes_sdk.agents.models.notification_rules import NotificationRules
|
||||||
from thousandeyes_sdk.agents.models.self_links import SelfLinks
|
from thousandeyes_sdk.agents.models.self_links import SelfLinks
|
||||||
|
from thousandeyes_sdk.agents.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
||||||
from typing import Optional, Set
|
from typing import Optional, Set
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
@ -47,9 +48,10 @@ class EnterpriseAgentDetail(BaseModel):
|
|||||||
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
||||||
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
||||||
coordinates: Optional[Coordinates] = None
|
coordinates: Optional[Coordinates] = None
|
||||||
|
network_provider_info: Optional[SimpleAgentAllOfNetworkProviderInfo] = Field(default=None, alias="networkProviderInfo")
|
||||||
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
||||||
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
|
||||||
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
||||||
|
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
||||||
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
|
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
|
||||||
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
||||||
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
|
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
|
||||||
@ -70,7 +72,7 @@ class EnterpriseAgentDetail(BaseModel):
|
|||||||
tags: Optional[List[AgentTag]] = Field(default=None, description="List of tags. See `/tags` for more information.")
|
tags: Optional[List[AgentTag]] = Field(default=None, description="List of tags. See `/tags` for more information.")
|
||||||
agent_type: Annotated[str, Field(strict=True)] = Field(description="Enterprise agent type.", alias="agentType")
|
agent_type: Annotated[str, Field(strict=True)] = Field(description="Enterprise agent type.", alias="agentType")
|
||||||
links: Optional[SelfLinks] = Field(default=None, alias="_links")
|
links: Optional[SelfLinks] = Field(default=None, alias="_links")
|
||||||
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping", "notificationRules", "labels", "tags", "agentType", "_links"]
|
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "networkProviderInfo", "enabled", "verifySslCertificates", "prefix", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping", "notificationRules", "labels", "tags", "agentType", "_links"]
|
||||||
|
|
||||||
@field_validator('agent_type')
|
@field_validator('agent_type')
|
||||||
def agent_type_validate_regular_expression(cls, value):
|
def agent_type_validate_regular_expression(cls, value):
|
||||||
@ -136,8 +138,8 @@ class EnterpriseAgentDetail(BaseModel):
|
|||||||
"agent_id",
|
"agent_id",
|
||||||
"location",
|
"location",
|
||||||
"country_id",
|
"country_id",
|
||||||
"prefix",
|
|
||||||
"verify_ssl_certificates",
|
"verify_ssl_certificates",
|
||||||
|
"prefix",
|
||||||
"test_ids",
|
"test_ids",
|
||||||
"cluster_members",
|
"cluster_members",
|
||||||
"utilization",
|
"utilization",
|
||||||
@ -158,6 +160,9 @@ class EnterpriseAgentDetail(BaseModel):
|
|||||||
# override the default output from pydantic by calling `to_dict()` of coordinates
|
# override the default output from pydantic by calling `to_dict()` of coordinates
|
||||||
if self.coordinates:
|
if self.coordinates:
|
||||||
_dict['coordinates'] = self.coordinates.to_dict()
|
_dict['coordinates'] = self.coordinates.to_dict()
|
||||||
|
# override the default output from pydantic by calling `to_dict()` of network_provider_info
|
||||||
|
if self.network_provider_info:
|
||||||
|
_dict['networkProviderInfo'] = self.network_provider_info.to_dict()
|
||||||
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
||||||
_items = []
|
_items = []
|
||||||
if self.tests:
|
if self.tests:
|
||||||
@ -237,9 +242,10 @@ class EnterpriseAgentDetail(BaseModel):
|
|||||||
"location": obj.get("location"),
|
"location": obj.get("location"),
|
||||||
"countryId": obj.get("countryId"),
|
"countryId": obj.get("countryId"),
|
||||||
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
||||||
|
"networkProviderInfo": SimpleAgentAllOfNetworkProviderInfo.from_dict(obj["networkProviderInfo"]) if obj.get("networkProviderInfo") is not None else None,
|
||||||
"enabled": obj.get("enabled"),
|
"enabled": obj.get("enabled"),
|
||||||
"prefix": obj.get("prefix"),
|
|
||||||
"verifySslCertificates": obj.get("verifySslCertificates"),
|
"verifySslCertificates": obj.get("verifySslCertificates"),
|
||||||
|
"prefix": obj.get("prefix"),
|
||||||
"testIds": obj.get("testIds"),
|
"testIds": obj.get("testIds"),
|
||||||
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
||||||
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,
|
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,96 @@
|
|||||||
|
# coding: utf-8
|
||||||
|
|
||||||
|
"""
|
||||||
|
Agents API
|
||||||
|
|
||||||
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
|
""" # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
import pprint
|
||||||
|
import re # noqa: F401
|
||||||
|
import json
|
||||||
|
|
||||||
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
||||||
|
from typing import Any, ClassVar, Dict, List, Optional
|
||||||
|
from thousandeyes_sdk.agents.models.network_provider_type import NetworkProviderType
|
||||||
|
from typing import Optional, Set
|
||||||
|
from typing_extensions import Self
|
||||||
|
|
||||||
|
class NetworkProviderInfo(BaseModel):
|
||||||
|
"""
|
||||||
|
Information about the network provider that owns the agent's public IP prefix.
|
||||||
|
""" # noqa: E501
|
||||||
|
asn: Optional[StrictInt] = Field(default=None, description="Autonomous System Number (ASN) announcing the agent's public IP prefix.")
|
||||||
|
name: Optional[StrictStr] = Field(default=None, description="Name of the network provider organization.")
|
||||||
|
type: Optional[NetworkProviderType] = None
|
||||||
|
__properties: ClassVar[List[str]] = ["asn", "name", "type"]
|
||||||
|
|
||||||
|
model_config = ConfigDict(
|
||||||
|
populate_by_name=True,
|
||||||
|
validate_assignment=True,
|
||||||
|
protected_namespaces=(),
|
||||||
|
extra="allow",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def to_str(self) -> str:
|
||||||
|
"""Returns the string representation of the model using alias"""
|
||||||
|
return pprint.pformat(self.model_dump(by_alias=True))
|
||||||
|
|
||||||
|
def to_json(self) -> str:
|
||||||
|
"""Returns the JSON representation of the model using alias"""
|
||||||
|
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
||||||
|
return self.model_dump_json(by_alias=True, exclude_unset=True, exclude_none=True)
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
||||||
|
"""Create an instance of NetworkProviderInfo from a JSON string"""
|
||||||
|
return cls.from_dict(json.loads(json_str))
|
||||||
|
|
||||||
|
def to_dict(self) -> Dict[str, Any]:
|
||||||
|
"""Return the dictionary representation of the model using alias.
|
||||||
|
|
||||||
|
This has the following differences from calling pydantic's
|
||||||
|
`self.model_dump(by_alias=True)`:
|
||||||
|
|
||||||
|
* `None` is only added to the output dict for nullable fields that
|
||||||
|
were set at model initialization. Other fields with value `None`
|
||||||
|
are ignored.
|
||||||
|
* OpenAPI `readOnly` fields are excluded.
|
||||||
|
* OpenAPI `readOnly` fields are excluded.
|
||||||
|
"""
|
||||||
|
excluded_fields: Set[str] = set([
|
||||||
|
"asn",
|
||||||
|
"name",
|
||||||
|
])
|
||||||
|
|
||||||
|
_dict = self.model_dump(
|
||||||
|
by_alias=True,
|
||||||
|
exclude=excluded_fields,
|
||||||
|
exclude_none=True,
|
||||||
|
)
|
||||||
|
return _dict
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
||||||
|
"""Create an instance of NetworkProviderInfo from a dict"""
|
||||||
|
if obj is None:
|
||||||
|
return None
|
||||||
|
|
||||||
|
if not isinstance(obj, dict):
|
||||||
|
return cls.model_validate(obj)
|
||||||
|
|
||||||
|
_obj = cls.model_validate({
|
||||||
|
"asn": obj.get("asn"),
|
||||||
|
"name": obj.get("name"),
|
||||||
|
"type": obj.get("type")
|
||||||
|
})
|
||||||
|
return _obj
|
||||||
|
|
||||||
|
|
||||||
@ -1,9 +1,9 @@
|
|||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Dashboards API
|
Agents API
|
||||||
|
|
||||||
Manage ThousandEyes Dashboards.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -17,21 +17,24 @@ from enum import Enum
|
|||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
|
|
||||||
|
|
||||||
class ApiAgentWidgetShow(str, Enum):
|
class NetworkProviderType(str, Enum):
|
||||||
"""
|
"""
|
||||||
Ownership of the agent.
|
Classification of the agent's network provider.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
allowed enum values
|
allowed enum values
|
||||||
"""
|
"""
|
||||||
OWNED = 'owned'
|
|
||||||
ALL = 'all'
|
|
||||||
UNKNOWN = 'unknown'
|
UNKNOWN = 'unknown'
|
||||||
|
ISP = 'isp'
|
||||||
|
CDN = 'cdn'
|
||||||
|
STUB = 'stub'
|
||||||
|
CLOUD_MINUS_PROVIDER = 'cloud-provider'
|
||||||
|
CARRIER = 'carrier'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_json(cls, json_str: str) -> Self:
|
def from_json(cls, json_str: str) -> Self:
|
||||||
"""Create an instance of ApiAgentWidgetShow from a JSON string"""
|
"""Create an instance of NetworkProviderType from a JSON string"""
|
||||||
return cls(json.loads(json_str))
|
return cls(json.loads(json_str))
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -19,6 +19,7 @@ import json
|
|||||||
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
||||||
from typing import Any, ClassVar, Dict, List, Optional
|
from typing import Any, ClassVar, Dict, List, Optional
|
||||||
from thousandeyes_sdk.agents.models.coordinates import Coordinates
|
from thousandeyes_sdk.agents.models.coordinates import Coordinates
|
||||||
|
from thousandeyes_sdk.agents.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from typing import Optional, Set
|
from typing import Optional, Set
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
|
|
||||||
@ -34,10 +35,11 @@ class SimpleAgent(BaseModel):
|
|||||||
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
||||||
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
||||||
coordinates: Optional[Coordinates] = None
|
coordinates: Optional[Coordinates] = None
|
||||||
|
network_provider_info: Optional[SimpleAgentAllOfNetworkProviderInfo] = Field(default=None, alias="networkProviderInfo")
|
||||||
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
||||||
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
|
||||||
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
||||||
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates"]
|
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
||||||
|
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "networkProviderInfo", "enabled", "verifySslCertificates", "prefix"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -86,8 +88,8 @@ class SimpleAgent(BaseModel):
|
|||||||
"agent_id",
|
"agent_id",
|
||||||
"location",
|
"location",
|
||||||
"country_id",
|
"country_id",
|
||||||
"prefix",
|
|
||||||
"verify_ssl_certificates",
|
"verify_ssl_certificates",
|
||||||
|
"prefix",
|
||||||
])
|
])
|
||||||
|
|
||||||
_dict = self.model_dump(
|
_dict = self.model_dump(
|
||||||
@ -98,6 +100,9 @@ class SimpleAgent(BaseModel):
|
|||||||
# override the default output from pydantic by calling `to_dict()` of coordinates
|
# override the default output from pydantic by calling `to_dict()` of coordinates
|
||||||
if self.coordinates:
|
if self.coordinates:
|
||||||
_dict['coordinates'] = self.coordinates.to_dict()
|
_dict['coordinates'] = self.coordinates.to_dict()
|
||||||
|
# override the default output from pydantic by calling `to_dict()` of network_provider_info
|
||||||
|
if self.network_provider_info:
|
||||||
|
_dict['networkProviderInfo'] = self.network_provider_info.to_dict()
|
||||||
return _dict
|
return _dict
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -118,9 +123,10 @@ class SimpleAgent(BaseModel):
|
|||||||
"location": obj.get("location"),
|
"location": obj.get("location"),
|
||||||
"countryId": obj.get("countryId"),
|
"countryId": obj.get("countryId"),
|
||||||
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
||||||
|
"networkProviderInfo": SimpleAgentAllOfNetworkProviderInfo.from_dict(obj["networkProviderInfo"]) if obj.get("networkProviderInfo") is not None else None,
|
||||||
"enabled": obj.get("enabled"),
|
"enabled": obj.get("enabled"),
|
||||||
"prefix": obj.get("prefix"),
|
"verifySslCertificates": obj.get("verifySslCertificates"),
|
||||||
"verifySslCertificates": obj.get("verifySslCertificates")
|
"prefix": obj.get("prefix")
|
||||||
})
|
})
|
||||||
return _obj
|
return _obj
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,96 @@
|
|||||||
|
# coding: utf-8
|
||||||
|
|
||||||
|
"""
|
||||||
|
Agents API
|
||||||
|
|
||||||
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
|
""" # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
import pprint
|
||||||
|
import re # noqa: F401
|
||||||
|
import json
|
||||||
|
|
||||||
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
||||||
|
from typing import Any, ClassVar, Dict, List, Optional
|
||||||
|
from thousandeyes_sdk.agents.models.network_provider_type import NetworkProviderType
|
||||||
|
from typing import Optional, Set
|
||||||
|
from typing_extensions import Self
|
||||||
|
|
||||||
|
class SimpleAgentAllOfNetworkProviderInfo(BaseModel):
|
||||||
|
"""
|
||||||
|
SimpleAgentAllOfNetworkProviderInfo
|
||||||
|
""" # noqa: E501
|
||||||
|
asn: Optional[StrictInt] = Field(default=None, description="Autonomous System Number (ASN) announcing the agent's public IP prefix.")
|
||||||
|
name: Optional[StrictStr] = Field(default=None, description="Name of the network provider organization.")
|
||||||
|
type: Optional[NetworkProviderType] = None
|
||||||
|
__properties: ClassVar[List[str]] = ["asn", "name", "type"]
|
||||||
|
|
||||||
|
model_config = ConfigDict(
|
||||||
|
populate_by_name=True,
|
||||||
|
validate_assignment=True,
|
||||||
|
protected_namespaces=(),
|
||||||
|
extra="allow",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def to_str(self) -> str:
|
||||||
|
"""Returns the string representation of the model using alias"""
|
||||||
|
return pprint.pformat(self.model_dump(by_alias=True))
|
||||||
|
|
||||||
|
def to_json(self) -> str:
|
||||||
|
"""Returns the JSON representation of the model using alias"""
|
||||||
|
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
||||||
|
return self.model_dump_json(by_alias=True, exclude_unset=True, exclude_none=True)
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
||||||
|
"""Create an instance of SimpleAgentAllOfNetworkProviderInfo from a JSON string"""
|
||||||
|
return cls.from_dict(json.loads(json_str))
|
||||||
|
|
||||||
|
def to_dict(self) -> Dict[str, Any]:
|
||||||
|
"""Return the dictionary representation of the model using alias.
|
||||||
|
|
||||||
|
This has the following differences from calling pydantic's
|
||||||
|
`self.model_dump(by_alias=True)`:
|
||||||
|
|
||||||
|
* `None` is only added to the output dict for nullable fields that
|
||||||
|
were set at model initialization. Other fields with value `None`
|
||||||
|
are ignored.
|
||||||
|
* OpenAPI `readOnly` fields are excluded.
|
||||||
|
* OpenAPI `readOnly` fields are excluded.
|
||||||
|
"""
|
||||||
|
excluded_fields: Set[str] = set([
|
||||||
|
"asn",
|
||||||
|
"name",
|
||||||
|
])
|
||||||
|
|
||||||
|
_dict = self.model_dump(
|
||||||
|
by_alias=True,
|
||||||
|
exclude=excluded_fields,
|
||||||
|
exclude_none=True,
|
||||||
|
)
|
||||||
|
return _dict
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
||||||
|
"""Create an instance of SimpleAgentAllOfNetworkProviderInfo from a dict"""
|
||||||
|
if obj is None:
|
||||||
|
return None
|
||||||
|
|
||||||
|
if not isinstance(obj, dict):
|
||||||
|
return cls.model_validate(obj)
|
||||||
|
|
||||||
|
_obj = cls.model_validate({
|
||||||
|
"asn": obj.get("asn"),
|
||||||
|
"name": obj.get("name"),
|
||||||
|
"type": obj.get("type")
|
||||||
|
})
|
||||||
|
return _obj
|
||||||
|
|
||||||
|
|
||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -26,6 +26,7 @@ from thousandeyes_sdk.agents.models.enterprise_agent_ipv6_policy import Enterpri
|
|||||||
from thousandeyes_sdk.agents.models.enterprise_agent_state import EnterpriseAgentState
|
from thousandeyes_sdk.agents.models.enterprise_agent_state import EnterpriseAgentState
|
||||||
from thousandeyes_sdk.agents.models.error_detail import ErrorDetail
|
from thousandeyes_sdk.agents.models.error_detail import ErrorDetail
|
||||||
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping
|
||||||
|
from thousandeyes_sdk.agents.models.simple_agent_all_of_network_provider_info import SimpleAgentAllOfNetworkProviderInfo
|
||||||
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
from thousandeyes_sdk.agents.models.simple_test import SimpleTest
|
||||||
from typing import Optional, Set
|
from typing import Optional, Set
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self
|
||||||
@ -42,9 +43,10 @@ class SimpleEnterpriseAgent(BaseModel):
|
|||||||
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
location: Optional[StrictStr] = Field(default=None, description="Location of the agent.")
|
||||||
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
|
||||||
coordinates: Optional[Coordinates] = None
|
coordinates: Optional[Coordinates] = None
|
||||||
|
network_provider_info: Optional[SimpleAgentAllOfNetworkProviderInfo] = Field(default=None, alias="networkProviderInfo")
|
||||||
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
|
||||||
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
|
||||||
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
|
||||||
|
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
|
||||||
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
|
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
|
||||||
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
|
||||||
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
|
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
|
||||||
@ -60,7 +62,7 @@ class SimpleEnterpriseAgent(BaseModel):
|
|||||||
target_for_tests: Optional[StrictStr] = Field(default=None, description="Test target IP address.", alias="targetForTests")
|
target_for_tests: Optional[StrictStr] = Field(default=None, description="Test target IP address.", alias="targetForTests")
|
||||||
local_resolution_prefixes: Optional[List[StrictStr]] = Field(default=None, description="To perform rDNS lookups for public IP ranges, this field represents the public IP ranges. 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).", alias="localResolutionPrefixes")
|
local_resolution_prefixes: Optional[List[StrictStr]] = Field(default=None, description="To perform rDNS lookups for public IP ranges, this field represents the public IP ranges. 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).", alias="localResolutionPrefixes")
|
||||||
interface_ip_mapping: Optional[List[InterfaceIpMapping]] = Field(default=None, alias="interfaceIpMapping")
|
interface_ip_mapping: Optional[List[InterfaceIpMapping]] = Field(default=None, alias="interfaceIpMapping")
|
||||||
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
|
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "networkProviderInfo", "enabled", "verifySslCertificates", "prefix", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -117,8 +119,8 @@ class SimpleEnterpriseAgent(BaseModel):
|
|||||||
"agent_id",
|
"agent_id",
|
||||||
"location",
|
"location",
|
||||||
"country_id",
|
"country_id",
|
||||||
"prefix",
|
|
||||||
"verify_ssl_certificates",
|
"verify_ssl_certificates",
|
||||||
|
"prefix",
|
||||||
"test_ids",
|
"test_ids",
|
||||||
"cluster_members",
|
"cluster_members",
|
||||||
"utilization",
|
"utilization",
|
||||||
@ -137,6 +139,9 @@ class SimpleEnterpriseAgent(BaseModel):
|
|||||||
# override the default output from pydantic by calling `to_dict()` of coordinates
|
# override the default output from pydantic by calling `to_dict()` of coordinates
|
||||||
if self.coordinates:
|
if self.coordinates:
|
||||||
_dict['coordinates'] = self.coordinates.to_dict()
|
_dict['coordinates'] = self.coordinates.to_dict()
|
||||||
|
# override the default output from pydantic by calling `to_dict()` of network_provider_info
|
||||||
|
if self.network_provider_info:
|
||||||
|
_dict['networkProviderInfo'] = self.network_provider_info.to_dict()
|
||||||
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
# override the default output from pydantic by calling `to_dict()` of each item in tests (list)
|
||||||
_items = []
|
_items = []
|
||||||
if self.tests:
|
if self.tests:
|
||||||
@ -192,9 +197,10 @@ class SimpleEnterpriseAgent(BaseModel):
|
|||||||
"location": obj.get("location"),
|
"location": obj.get("location"),
|
||||||
"countryId": obj.get("countryId"),
|
"countryId": obj.get("countryId"),
|
||||||
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
|
||||||
|
"networkProviderInfo": SimpleAgentAllOfNetworkProviderInfo.from_dict(obj["networkProviderInfo"]) if obj.get("networkProviderInfo") is not None else None,
|
||||||
"enabled": obj.get("enabled"),
|
"enabled": obj.get("enabled"),
|
||||||
"prefix": obj.get("prefix"),
|
|
||||||
"verifySslCertificates": obj.get("verifySslCertificates"),
|
"verifySslCertificates": obj.get("verifySslCertificates"),
|
||||||
|
"prefix": obj.get("prefix"),
|
||||||
"testIds": obj.get("testIds"),
|
"testIds": obj.get("testIds"),
|
||||||
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
|
||||||
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,
|
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -97,34 +97,44 @@ class TestCloudAndEnterpriseAgentNotificationRulesApi(unittest.TestCase):
|
|||||||
"agents" : [ {
|
"agents" : [ {
|
||||||
"agentId" : "281474976710706",
|
"agentId" : "281474976710706",
|
||||||
"agentType" : "enterprise-cluster",
|
"agentType" : "enterprise-cluster",
|
||||||
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
|
||||||
"prefix" : "99.128.0.0/11",
|
"prefix" : "99.128.0.0/11",
|
||||||
"coordinates" : {
|
"coordinates" : {
|
||||||
"latitude" : 37.77493,
|
"latitude" : 37.77493,
|
||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
"networkProviderInfo" : {
|
||||||
"location" : "San Francisco Bay Area",
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
|
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
||||||
|
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
||||||
|
"location" : "San Francisco Bay Area",
|
||||||
"verifySslCertificates" : true
|
"verifySslCertificates" : true
|
||||||
}, {
|
}, {
|
||||||
"agentId" : "281474976710706",
|
"agentId" : "281474976710706",
|
||||||
"agentType" : "enterprise-cluster",
|
"agentType" : "enterprise-cluster",
|
||||||
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
|
||||||
"prefix" : "99.128.0.0/11",
|
"prefix" : "99.128.0.0/11",
|
||||||
"coordinates" : {
|
"coordinates" : {
|
||||||
"latitude" : 37.77493,
|
"latitude" : 37.77493,
|
||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
"networkProviderInfo" : {
|
||||||
"location" : "San Francisco Bay Area",
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
|
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
||||||
|
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
||||||
|
"location" : "San Francisco Bay Area",
|
||||||
"verifySslCertificates" : true
|
"verifySslCertificates" : true
|
||||||
} ]
|
} ]
|
||||||
}"""
|
}"""
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -57,6 +57,11 @@ class TestCloudAndEnterpriseAgentsApi(unittest.TestCase):
|
|||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
|
"networkProviderInfo" : {
|
||||||
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
@ -169,34 +174,44 @@ class TestCloudAndEnterpriseAgentsApi(unittest.TestCase):
|
|||||||
"agents" : [ {
|
"agents" : [ {
|
||||||
"agentId" : "281474976710706",
|
"agentId" : "281474976710706",
|
||||||
"agentType" : "enterprise-cluster",
|
"agentType" : "enterprise-cluster",
|
||||||
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
|
||||||
"prefix" : "99.128.0.0/11",
|
"prefix" : "99.128.0.0/11",
|
||||||
"coordinates" : {
|
"coordinates" : {
|
||||||
"latitude" : 37.77493,
|
"latitude" : 37.77493,
|
||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
"networkProviderInfo" : {
|
||||||
"location" : "San Francisco Bay Area",
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
|
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
||||||
|
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
||||||
|
"location" : "San Francisco Bay Area",
|
||||||
"verifySslCertificates" : true
|
"verifySslCertificates" : true
|
||||||
}, {
|
}, {
|
||||||
"agentId" : "281474976710706",
|
"agentId" : "281474976710706",
|
||||||
"agentType" : "enterprise-cluster",
|
"agentType" : "enterprise-cluster",
|
||||||
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
|
||||||
"prefix" : "99.128.0.0/11",
|
"prefix" : "99.128.0.0/11",
|
||||||
"coordinates" : {
|
"coordinates" : {
|
||||||
"latitude" : 37.77493,
|
"latitude" : 37.77493,
|
||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
"networkProviderInfo" : {
|
||||||
"location" : "San Francisco Bay Area",
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
|
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
||||||
|
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
||||||
|
"location" : "San Francisco Bay Area",
|
||||||
"verifySslCertificates" : true
|
"verifySslCertificates" : true
|
||||||
} ]
|
} ]
|
||||||
}"""
|
}"""
|
||||||
@ -246,6 +261,11 @@ class TestCloudAndEnterpriseAgentsApi(unittest.TestCase):
|
|||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
|
"networkProviderInfo" : {
|
||||||
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -62,6 +62,11 @@ class TestEnterpriseAgentClusterApi(unittest.TestCase):
|
|||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
|
"networkProviderInfo" : {
|
||||||
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
@ -183,34 +188,44 @@ class TestEnterpriseAgentClusterApi(unittest.TestCase):
|
|||||||
"agents" : [ {
|
"agents" : [ {
|
||||||
"agentId" : "281474976710706",
|
"agentId" : "281474976710706",
|
||||||
"agentType" : "enterprise-cluster",
|
"agentType" : "enterprise-cluster",
|
||||||
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
|
||||||
"prefix" : "99.128.0.0/11",
|
"prefix" : "99.128.0.0/11",
|
||||||
"coordinates" : {
|
"coordinates" : {
|
||||||
"latitude" : 37.77493,
|
"latitude" : 37.77493,
|
||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
"networkProviderInfo" : {
|
||||||
"location" : "San Francisco Bay Area",
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
|
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
||||||
|
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
||||||
|
"location" : "San Francisco Bay Area",
|
||||||
"verifySslCertificates" : true
|
"verifySslCertificates" : true
|
||||||
}, {
|
}, {
|
||||||
"agentId" : "281474976710706",
|
"agentId" : "281474976710706",
|
||||||
"agentType" : "enterprise-cluster",
|
"agentType" : "enterprise-cluster",
|
||||||
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
|
||||||
"prefix" : "99.128.0.0/11",
|
"prefix" : "99.128.0.0/11",
|
||||||
"coordinates" : {
|
"coordinates" : {
|
||||||
"latitude" : 37.77493,
|
"latitude" : 37.77493,
|
||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
"networkProviderInfo" : {
|
||||||
"location" : "San Francisco Bay Area",
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
|
"publicIpAddresses" : [ "192.168.1.78", "f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c" ],
|
||||||
|
"ipAddresses" : [ "99.139.65.220", "9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce" ],
|
||||||
|
"location" : "San Francisco Bay Area",
|
||||||
"verifySslCertificates" : true
|
"verifySslCertificates" : true
|
||||||
} ]
|
} ]
|
||||||
}"""
|
}"""
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"""
|
"""
|
||||||
Agents API
|
Agents API
|
||||||
|
|
||||||
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
## Overview Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
|
||||||
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
@ -62,6 +62,11 @@ class TestTestsAssignmentOnAgentsApi(unittest.TestCase):
|
|||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
|
"networkProviderInfo" : {
|
||||||
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
@ -188,6 +193,11 @@ class TestTestsAssignmentOnAgentsApi(unittest.TestCase):
|
|||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
|
"networkProviderInfo" : {
|
||||||
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
@ -314,6 +324,11 @@ class TestTestsAssignmentOnAgentsApi(unittest.TestCase):
|
|||||||
"longitude" : -122.41942
|
"longitude" : -122.41942
|
||||||
},
|
},
|
||||||
"agentName" : "thousandeyes-stg-va-254",
|
"agentName" : "thousandeyes-stg-va-254",
|
||||||
|
"networkProviderInfo" : {
|
||||||
|
"asn" : 7018,
|
||||||
|
"name" : "AT&T Services, Inc.",
|
||||||
|
"type" : "isp"
|
||||||
|
},
|
||||||
"countryId" : "US",
|
"countryId" : "US",
|
||||||
"enabled" : true,
|
"enabled" : true,
|
||||||
"network" : "AT&T Services, Inc. (AS 7018)",
|
"network" : "AT&T Services, Inc. (AS 7018)",
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user