mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-05 23:45:30 +00:00
[GitHub Bot] Generated python SDK (#93)
Some checks failed
Python CI / build (push) Has been cancelled
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
This commit is contained in:
parent
2fa30db172
commit
0f10697640
@ -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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ 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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,7 @@ For more information about the alerts, see [Alerts](https://docs.thousandeyes.co
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ For more information about monitors, see [Inside-Out BGP Visibility](https://doc
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ For more information about credentials, see [Working With Secure Credentials](ht
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ Manage ThousandEyes Dashboards.
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ To access Emulation API operations, the following permissions are required:
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ For more information about Endpoint Agents, see [Endpoint Agents](https://docs.t
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ The URLs for these API test data endpoints are provided within the test definiti
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
||||||
|
|||||||
@ -38,6 +38,7 @@ class EndpointAgentToServerTest(BaseModel):
|
|||||||
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
||||||
@ -53,7 +54,7 @@ class EndpointAgentToServerTest(BaseModel):
|
|||||||
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
||||||
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
||||||
labels: Optional[List[TestLabel]] = None
|
labels: Optional[List[TestLabel]] = None
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "isPrioritized", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"]
|
||||||
|
|
||||||
@field_validator('type')
|
@field_validator('type')
|
||||||
def type_validate_regular_expression(cls, value):
|
def type_validate_regular_expression(cls, value):
|
||||||
@ -143,6 +144,7 @@ class EndpointAgentToServerTest(BaseModel):
|
|||||||
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"isSavedEvent": obj.get("isSavedEvent"),
|
"isSavedEvent": obj.get("isSavedEvent"),
|
||||||
|
|||||||
@ -40,6 +40,7 @@ class EndpointHttpServerTest(BaseModel):
|
|||||||
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
||||||
@ -66,7 +67,7 @@ class EndpointHttpServerTest(BaseModel):
|
|||||||
ssl_version: Optional[StrictStr] = Field(default=None, description="Reflects the verbose SSL protocol version used by a test.", alias="sslVersion")
|
ssl_version: Optional[StrictStr] = Field(default=None, description="Reflects the verbose SSL protocol version used by a test.", alias="sslVersion")
|
||||||
use_ntlm: Optional[StrictBool] = Field(default=None, description="Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set.", alias="useNtlm")
|
use_ntlm: Optional[StrictBool] = Field(default=None, description="Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set.", alias="useNtlm")
|
||||||
labels: Optional[List[TestLabel]] = None
|
labels: Optional[List[TestLabel]] = None
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "isPrioritized", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"]
|
||||||
|
|
||||||
@field_validator('type')
|
@field_validator('type')
|
||||||
def type_validate_regular_expression(cls, value):
|
def type_validate_regular_expression(cls, value):
|
||||||
@ -158,6 +159,7 @@ class EndpointHttpServerTest(BaseModel):
|
|||||||
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"isSavedEvent": obj.get("isSavedEvent"),
|
"isSavedEvent": obj.get("isSavedEvent"),
|
||||||
|
|||||||
@ -37,6 +37,7 @@ class EndpointTest(BaseModel):
|
|||||||
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
||||||
@ -51,7 +52,7 @@ class EndpointTest(BaseModel):
|
|||||||
type: EndpointScheduledTestType
|
type: EndpointScheduledTestType
|
||||||
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
||||||
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "isPrioritized", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -123,6 +124,7 @@ class EndpointTest(BaseModel):
|
|||||||
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"isSavedEvent": obj.get("isSavedEvent"),
|
"isSavedEvent": obj.get("isSavedEvent"),
|
||||||
|
|||||||
@ -66,6 +66,7 @@ class TestAgentToServerEndpointInstantScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
|
|||||||
@ -80,6 +80,7 @@ class TestHTTPServerEndpointInstantScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"httpTimeLimit" : 5000,
|
"httpTimeLimit" : 5000,
|
||||||
"type" : "http-server",
|
"type" : "http-server",
|
||||||
"protocol" : "icmp",
|
"protocol" : "icmp",
|
||||||
|
|||||||
@ -4,7 +4,7 @@ Manage labels applied to endpoint agents using this API.
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ Retrieve results for scheduled and dynamic tests on endpoint agents.
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**application** | **str** | Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`. | [optional]
|
**application** | **str** | Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`. | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**has_path_trace_in_session** | **bool** | Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session. | [optional]
|
**has_path_trace_in_session** | **bool** | Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session. | [optional]
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
||||||
|
|||||||
@ -38,6 +38,7 @@ class DynamicTest(BaseModel):
|
|||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
application: Optional[StrictStr] = Field(default=None, description="Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`.")
|
application: Optional[StrictStr] = Field(default=None, description="Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`.")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
has_path_trace_in_session: Optional[StrictBool] = Field(default=None, description="Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session.", alias="hasPathTraceInSession")
|
has_path_trace_in_session: Optional[StrictBool] = Field(default=None, description="Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session.", alias="hasPathTraceInSession")
|
||||||
@ -51,7 +52,7 @@ class DynamicTest(BaseModel):
|
|||||||
test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID; this is used to access test information and results from other endpoints.", alias="testId")
|
test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID; this is used to access test information and results from other endpoints.", alias="testId")
|
||||||
test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName")
|
test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName")
|
||||||
labels: Optional[List[TestLabel]] = None
|
labels: Optional[List[TestLabel]] = None
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "application", "createdDate", "interval", "isEnabled", "hasPathTraceInSession", "hasPing", "hasTraceroute", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "tcpProbeMode", "testId", "testName", "labels"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "application", "createdDate", "isPrioritized", "interval", "isEnabled", "hasPathTraceInSession", "hasPing", "hasTraceroute", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "tcpProbeMode", "testId", "testName", "labels"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -131,6 +132,7 @@ class DynamicTest(BaseModel):
|
|||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"application": obj.get("application"),
|
"application": obj.get("application"),
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"hasPathTraceInSession": obj.get("hasPathTraceInSession"),
|
"hasPathTraceInSession": obj.get("hasPathTraceInSession"),
|
||||||
|
|||||||
@ -38,6 +38,7 @@ class EndpointAgentToServerTest(BaseModel):
|
|||||||
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
||||||
@ -53,7 +54,7 @@ class EndpointAgentToServerTest(BaseModel):
|
|||||||
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
||||||
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
||||||
labels: Optional[List[TestLabel]] = None
|
labels: Optional[List[TestLabel]] = None
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "isPrioritized", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"]
|
||||||
|
|
||||||
@field_validator('type')
|
@field_validator('type')
|
||||||
def type_validate_regular_expression(cls, value):
|
def type_validate_regular_expression(cls, value):
|
||||||
@ -143,6 +144,7 @@ class EndpointAgentToServerTest(BaseModel):
|
|||||||
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"isSavedEvent": obj.get("isSavedEvent"),
|
"isSavedEvent": obj.get("isSavedEvent"),
|
||||||
|
|||||||
@ -40,6 +40,7 @@ class EndpointHttpServerTest(BaseModel):
|
|||||||
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
||||||
@ -66,7 +67,7 @@ class EndpointHttpServerTest(BaseModel):
|
|||||||
ssl_version: Optional[StrictStr] = Field(default=None, description="Reflects the verbose SSL protocol version used by a test.", alias="sslVersion")
|
ssl_version: Optional[StrictStr] = Field(default=None, description="Reflects the verbose SSL protocol version used by a test.", alias="sslVersion")
|
||||||
use_ntlm: Optional[StrictBool] = Field(default=None, description="Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set.", alias="useNtlm")
|
use_ntlm: Optional[StrictBool] = Field(default=None, description="Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set.", alias="useNtlm")
|
||||||
labels: Optional[List[TestLabel]] = None
|
labels: Optional[List[TestLabel]] = None
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "isPrioritized", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"]
|
||||||
|
|
||||||
@field_validator('type')
|
@field_validator('type')
|
||||||
def type_validate_regular_expression(cls, value):
|
def type_validate_regular_expression(cls, value):
|
||||||
@ -158,6 +159,7 @@ class EndpointHttpServerTest(BaseModel):
|
|||||||
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"isSavedEvent": obj.get("isSavedEvent"),
|
"isSavedEvent": obj.get("isSavedEvent"),
|
||||||
|
|||||||
@ -37,6 +37,7 @@ class EndpointTest(BaseModel):
|
|||||||
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
||||||
@ -51,7 +52,7 @@ class EndpointTest(BaseModel):
|
|||||||
type: EndpointScheduledTestType
|
type: EndpointScheduledTestType
|
||||||
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
||||||
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "isPrioritized", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -123,6 +124,7 @@ class EndpointTest(BaseModel):
|
|||||||
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"isSavedEvent": obj.get("isSavedEvent"),
|
"isSavedEvent": obj.get("isSavedEvent"),
|
||||||
|
|||||||
@ -55,6 +55,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"httpTimeLimit" : 5000,
|
"httpTimeLimit" : 5000,
|
||||||
"type" : "http-server",
|
"type" : "http-server",
|
||||||
"protocol" : "icmp",
|
"protocol" : "icmp",
|
||||||
|
|||||||
@ -82,6 +82,7 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
"labels" : [ {
|
"labels" : [ {
|
||||||
@ -358,6 +359,7 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
"labels" : [ {
|
"labels" : [ {
|
||||||
@ -811,6 +813,7 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
"labels" : [ {
|
"labels" : [ {
|
||||||
|
|||||||
@ -82,6 +82,7 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
@ -578,6 +579,7 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
@ -1012,6 +1014,7 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
|
|||||||
@ -5,7 +5,7 @@ Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API.
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**application** | **str** | Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`. | [optional]
|
**application** | **str** | Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`. | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**has_path_trace_in_session** | **bool** | Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session. | [optional]
|
**has_path_trace_in_session** | **bool** | Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session. | [optional]
|
||||||
|
|||||||
@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**agent_selector_type** | [**EndpointTestAgentSelectorType**](EndpointTestAgentSelectorType.md) | | [optional]
|
**agent_selector_type** | [**EndpointTestAgentSelectorType**](EndpointTestAgentSelectorType.md) | | [optional]
|
||||||
**agents** | **List[str]** | List of endpoint agent IDs (obtained from `/endpoint/agents` endpoint). Required when `agentSelectorType` is set to `specific-agent`. | [optional]
|
**agents** | **List[str]** | List of endpoint agent IDs (obtained from `/endpoint/agents` endpoint). Required when `agentSelectorType` is set to `specific-agent`. | [optional]
|
||||||
**endpoint_agent_labels** | **List[str]** | List of endpoint agent label IDs (obtained from `/endpoint/labels` endpoint), required when `agentSelectorType` is set to `agent-labels`. | [optional]
|
**endpoint_agent_labels** | **List[str]** | List of endpoint agent label IDs (obtained from `/endpoint/labels` endpoint), required when `agentSelectorType` is set to `agent-labels`. | [optional]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**max_machines** | **int** | Maximum number of agents which can execute the test. | [optional] [default to 25]
|
**max_machines** | **int** | Maximum number of agents which can execute the test. | [optional] [default to 25]
|
||||||
**application** | **str** | Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`. |
|
**application** | **str** | Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`. |
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
||||||
|
|||||||
@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|||||||
**test_name** | **str** | Name of the test. |
|
**test_name** | **str** | Name of the test. |
|
||||||
**server_name** | **str** | A server address without a protocol or IP address. |
|
**server_name** | **str** | A server address without a protocol or IP address. |
|
||||||
**port** | **int** | Port number. | [optional] [default to 443]
|
**port** | **int** | Port number. | [optional] [default to 443]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional]
|
**protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional]
|
||||||
|
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
||||||
|
|||||||
@ -24,6 +24,7 @@ Name | Type | Description | Notes
|
|||||||
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
|
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
|
||||||
**target_response_time** | **int** | Response time target in milliseconds. Affects the colors of agents and legends on the view page. The value is compared with actual response time in order to determine the color scale (from green to red). | [optional] [default to 1000]
|
**target_response_time** | **int** | Response time target in milliseconds. Affects the colors of agents and legends on the view page. The value is compared with actual response time in order to determine the color scale (from green to red). | [optional] [default to 1000]
|
||||||
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
**links** | [**EndpointTestLinks**](EndpointTestLinks.md) | | [optional]
|
||||||
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
**agent_selector_config** | [**EndpointAgentSelectorConfig**](EndpointAgentSelectorConfig.md) | | [optional]
|
||||||
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
|
||||||
|
**is_prioritized** | **bool** | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False]
|
||||||
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
**interval** | [**TestInterval**](TestInterval.md) | | [optional]
|
||||||
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
**is_enabled** | **bool** | Indicates if test is enabled. | [optional] [default to True]
|
||||||
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
**is_saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
|
||||||
|
|||||||
@ -38,6 +38,7 @@ class DynamicTest(BaseModel):
|
|||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
application: Optional[StrictStr] = Field(default=None, description="Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`.")
|
application: Optional[StrictStr] = Field(default=None, description="Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`.")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
has_path_trace_in_session: Optional[StrictBool] = Field(default=None, description="Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session.", alias="hasPathTraceInSession")
|
has_path_trace_in_session: Optional[StrictBool] = Field(default=None, description="Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session.", alias="hasPathTraceInSession")
|
||||||
@ -51,7 +52,7 @@ class DynamicTest(BaseModel):
|
|||||||
test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID; this is used to access test information and results from other endpoints.", alias="testId")
|
test_id: Optional[StrictStr] = Field(default=None, description="Each test is assigned a unique ID; this is used to access test information and results from other endpoints.", alias="testId")
|
||||||
test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName")
|
test_name: Optional[StrictStr] = Field(default=None, description="Name of the test.", alias="testName")
|
||||||
labels: Optional[List[TestLabel]] = None
|
labels: Optional[List[TestLabel]] = None
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "application", "createdDate", "interval", "isEnabled", "hasPathTraceInSession", "hasPing", "hasTraceroute", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "tcpProbeMode", "testId", "testName", "labels"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "application", "createdDate", "isPrioritized", "interval", "isEnabled", "hasPathTraceInSession", "hasPing", "hasTraceroute", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "tcpProbeMode", "testId", "testName", "labels"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -131,6 +132,7 @@ class DynamicTest(BaseModel):
|
|||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"application": obj.get("application"),
|
"application": obj.get("application"),
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"hasPathTraceInSession": obj.get("hasPathTraceInSession"),
|
"hasPathTraceInSession": obj.get("hasPathTraceInSession"),
|
||||||
|
|||||||
@ -32,6 +32,7 @@ class DynamicTestRequest(BaseModel):
|
|||||||
agent_selector_type: Optional[EndpointTestAgentSelectorType] = Field(default=None, alias="agentSelectorType")
|
agent_selector_type: Optional[EndpointTestAgentSelectorType] = Field(default=None, alias="agentSelectorType")
|
||||||
agents: Optional[List[StrictStr]] = Field(default=None, description="List of endpoint agent IDs (obtained from `/endpoint/agents` endpoint). Required when `agentSelectorType` is set to `specific-agent`.")
|
agents: Optional[List[StrictStr]] = Field(default=None, description="List of endpoint agent IDs (obtained from `/endpoint/agents` endpoint). Required when `agentSelectorType` is set to `specific-agent`.")
|
||||||
endpoint_agent_labels: Optional[List[StrictStr]] = Field(default=None, description="List of endpoint agent label IDs (obtained from `/endpoint/labels` endpoint), required when `agentSelectorType` is set to `agent-labels`.", alias="endpointAgentLabels")
|
endpoint_agent_labels: Optional[List[StrictStr]] = Field(default=None, description="List of endpoint agent label IDs (obtained from `/endpoint/labels` endpoint), required when `agentSelectorType` is set to `agent-labels`.", alias="endpointAgentLabels")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
max_machines: Optional[StrictInt] = Field(default=25, description="Maximum number of agents which can execute the test.", alias="maxMachines")
|
max_machines: Optional[StrictInt] = Field(default=25, description="Maximum number of agents which can execute the test.", alias="maxMachines")
|
||||||
application: StrictStr = Field(description="Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`.")
|
application: StrictStr = Field(description="Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`.")
|
||||||
@ -39,7 +40,7 @@ class DynamicTestRequest(BaseModel):
|
|||||||
tcp_probe_mode: Optional[TestProbeMode] = Field(default=None, alias="tcpProbeMode")
|
tcp_probe_mode: Optional[TestProbeMode] = Field(default=None, alias="tcpProbeMode")
|
||||||
test_name: StrictStr = Field(description="Name of the test.", alias="testName")
|
test_name: StrictStr = Field(description="Name of the test.", alias="testName")
|
||||||
has_path_trace_in_session: Optional[StrictBool] = Field(default=None, description="Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session.", alias="hasPathTraceInSession")
|
has_path_trace_in_session: Optional[StrictBool] = Field(default=None, description="Enables \"in session\" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session.", alias="hasPathTraceInSession")
|
||||||
__properties: ClassVar[List[str]] = ["agentSelectorType", "agents", "endpointAgentLabels", "interval", "maxMachines", "application", "protocol", "tcpProbeMode", "testName", "hasPathTraceInSession"]
|
__properties: ClassVar[List[str]] = ["agentSelectorType", "agents", "endpointAgentLabels", "isPrioritized", "interval", "maxMachines", "application", "protocol", "tcpProbeMode", "testName", "hasPathTraceInSession"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -96,6 +97,7 @@ class DynamicTestRequest(BaseModel):
|
|||||||
"agentSelectorType": obj.get("agentSelectorType"),
|
"agentSelectorType": obj.get("agentSelectorType"),
|
||||||
"agents": obj.get("agents"),
|
"agents": obj.get("agents"),
|
||||||
"endpointAgentLabels": obj.get("endpointAgentLabels"),
|
"endpointAgentLabels": obj.get("endpointAgentLabels"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"maxMachines": obj.get("maxMachines") if obj.get("maxMachines") is not None else 25,
|
"maxMachines": obj.get("maxMachines") if obj.get("maxMachines") is not None else 25,
|
||||||
"application": obj.get("application"),
|
"application": obj.get("application"),
|
||||||
|
|||||||
@ -38,6 +38,7 @@ class EndpointAgentToServerTest(BaseModel):
|
|||||||
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
||||||
@ -53,7 +54,7 @@ class EndpointAgentToServerTest(BaseModel):
|
|||||||
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
||||||
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
||||||
labels: Optional[List[TestLabel]] = None
|
labels: Optional[List[TestLabel]] = None
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "isPrioritized", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "labels"]
|
||||||
|
|
||||||
@field_validator('type')
|
@field_validator('type')
|
||||||
def type_validate_regular_expression(cls, value):
|
def type_validate_regular_expression(cls, value):
|
||||||
@ -143,6 +144,7 @@ class EndpointAgentToServerTest(BaseModel):
|
|||||||
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"isSavedEvent": obj.get("isSavedEvent"),
|
"isSavedEvent": obj.get("isSavedEvent"),
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import pprint
|
|||||||
import re # noqa: F401
|
import re # noqa: F401
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
||||||
from typing import Any, ClassVar, Dict, List, Optional
|
from typing import Any, ClassVar, Dict, List, Optional
|
||||||
from thousandeyes_sdk.endpoint_tests.models.endpoint_test_agent_selector_type import EndpointTestAgentSelectorType
|
from thousandeyes_sdk.endpoint_tests.models.endpoint_test_agent_selector_type import EndpointTestAgentSelectorType
|
||||||
from thousandeyes_sdk.endpoint_tests.models.endpoint_test_protocol import EndpointTestProtocol
|
from thousandeyes_sdk.endpoint_tests.models.endpoint_test_protocol import EndpointTestProtocol
|
||||||
@ -35,9 +35,10 @@ class EndpointAgentToServerTestRequest(BaseModel):
|
|||||||
test_name: StrictStr = Field(description="Name of the test.", alias="testName")
|
test_name: StrictStr = Field(description="Name of the test.", alias="testName")
|
||||||
server_name: StrictStr = Field(description="A server address without a protocol or IP address.", alias="serverName")
|
server_name: StrictStr = Field(description="A server address without a protocol or IP address.", alias="serverName")
|
||||||
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
protocol: Optional[EndpointTestProtocol] = None
|
protocol: Optional[EndpointTestProtocol] = None
|
||||||
__properties: ClassVar[List[str]] = ["agentSelectorType", "agents", "endpointAgentLabels", "maxMachines", "testName", "serverName", "port", "interval", "protocol"]
|
__properties: ClassVar[List[str]] = ["agentSelectorType", "agents", "endpointAgentLabels", "maxMachines", "testName", "serverName", "port", "isPrioritized", "interval", "protocol"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -98,6 +99,7 @@ class EndpointAgentToServerTestRequest(BaseModel):
|
|||||||
"testName": obj.get("testName"),
|
"testName": obj.get("testName"),
|
||||||
"serverName": obj.get("serverName"),
|
"serverName": obj.get("serverName"),
|
||||||
"port": obj.get("port") if obj.get("port") is not None else 443,
|
"port": obj.get("port") if obj.get("port") is not None else 443,
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"protocol": obj.get("protocol")
|
"protocol": obj.get("protocol")
|
||||||
})
|
})
|
||||||
|
|||||||
@ -40,6 +40,7 @@ class EndpointHttpServerTest(BaseModel):
|
|||||||
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
||||||
@ -66,7 +67,7 @@ class EndpointHttpServerTest(BaseModel):
|
|||||||
ssl_version: Optional[StrictStr] = Field(default=None, description="Reflects the verbose SSL protocol version used by a test.", alias="sslVersion")
|
ssl_version: Optional[StrictStr] = Field(default=None, description="Reflects the verbose SSL protocol version used by a test.", alias="sslVersion")
|
||||||
use_ntlm: Optional[StrictBool] = Field(default=None, description="Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set.", alias="useNtlm")
|
use_ntlm: Optional[StrictBool] = Field(default=None, description="Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set.", alias="useNtlm")
|
||||||
labels: Optional[List[TestLabel]] = None
|
labels: Optional[List[TestLabel]] = None
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "isPrioritized", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port", "authType", "httpTimeLimit", "username", "sslVersionId", "verifyCertificate", "url", "followRedirects", "httpTargetTime", "httpVersion", "sslVersion", "useNtlm", "labels"]
|
||||||
|
|
||||||
@field_validator('type')
|
@field_validator('type')
|
||||||
def type_validate_regular_expression(cls, value):
|
def type_validate_regular_expression(cls, value):
|
||||||
@ -158,6 +159,7 @@ class EndpointHttpServerTest(BaseModel):
|
|||||||
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"isSavedEvent": obj.get("isSavedEvent"),
|
"isSavedEvent": obj.get("isSavedEvent"),
|
||||||
|
|||||||
@ -50,8 +50,9 @@ class EndpointHttpServerTestRequest(BaseModel):
|
|||||||
network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements")
|
network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements")
|
||||||
target_response_time: Optional[StrictInt] = Field(default=1000, description="Response time target in milliseconds. Affects the colors of agents and legends on the view page. The value is compared with actual response time in order to determine the color scale (from green to red).", alias="targetResponseTime")
|
target_response_time: Optional[StrictInt] = Field(default=1000, description="Response time target in milliseconds. Affects the colors of agents and legends on the view page. The value is compared with actual response time in order to determine the color scale (from green to red).", alias="targetResponseTime")
|
||||||
password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
__properties: ClassVar[List[str]] = ["agentSelectorType", "agents", "endpointAgentLabels", "maxMachines", "testName", "authType", "hasPathTraceInSession", "httpTimeLimit", "protocol", "username", "sslVersionId", "tcpProbeMode", "verifyCertificate", "url", "hasPing", "hasTraceroute", "networkMeasurements", "targetResponseTime", "password", "interval"]
|
__properties: ClassVar[List[str]] = ["agentSelectorType", "agents", "endpointAgentLabels", "maxMachines", "testName", "authType", "hasPathTraceInSession", "httpTimeLimit", "protocol", "username", "sslVersionId", "tcpProbeMode", "verifyCertificate", "url", "hasPing", "hasTraceroute", "networkMeasurements", "targetResponseTime", "password", "isPrioritized", "interval"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -124,6 +125,7 @@ class EndpointHttpServerTestRequest(BaseModel):
|
|||||||
"networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True,
|
"networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True,
|
||||||
"targetResponseTime": obj.get("targetResponseTime") if obj.get("targetResponseTime") is not None else 1000,
|
"targetResponseTime": obj.get("targetResponseTime") if obj.get("targetResponseTime") is not None else 1000,
|
||||||
"password": obj.get("password"),
|
"password": obj.get("password"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval")
|
"interval": obj.get("interval")
|
||||||
})
|
})
|
||||||
return _obj
|
return _obj
|
||||||
|
|||||||
@ -37,6 +37,7 @@ class EndpointTest(BaseModel):
|
|||||||
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
links: Optional[EndpointTestLinks] = Field(default=None, alias="_links")
|
||||||
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
agent_selector_config: Optional[EndpointAgentSelectorConfig] = Field(default=None, alias="agentSelectorConfig")
|
||||||
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
created_date: Optional[datetime] = Field(default=None, description="UTC created date (ISO date-time format).", alias="createdDate")
|
||||||
|
is_prioritized: Optional[StrictBool] = Field(default=False, description="Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.", alias="isPrioritized")
|
||||||
interval: Optional[TestInterval] = None
|
interval: Optional[TestInterval] = None
|
||||||
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
is_enabled: Optional[StrictBool] = Field(default=True, description="Indicates if test is enabled.", alias="isEnabled")
|
||||||
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
is_saved_event: Optional[StrictBool] = Field(default=None, description="Indicates if the test is a saved event.", alias="isSavedEvent")
|
||||||
@ -51,7 +52,7 @@ class EndpointTest(BaseModel):
|
|||||||
type: EndpointScheduledTestType
|
type: EndpointScheduledTestType
|
||||||
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
tcp_probe_mode: Optional[TestProbeModeResponse] = Field(default=None, alias="tcpProbeMode")
|
||||||
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
port: Optional[StrictInt] = Field(default=443, description="Port number.")
|
||||||
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port"]
|
__properties: ClassVar[List[str]] = ["aid", "_links", "agentSelectorConfig", "createdDate", "isPrioritized", "interval", "isEnabled", "isSavedEvent", "hasPathTraceInSession", "modifiedDate", "networkMeasurements", "protocol", "ipVersion", "server", "testId", "testName", "type", "tcpProbeMode", "port"]
|
||||||
|
|
||||||
model_config = ConfigDict(
|
model_config = ConfigDict(
|
||||||
populate_by_name=True,
|
populate_by_name=True,
|
||||||
@ -123,6 +124,7 @@ class EndpointTest(BaseModel):
|
|||||||
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
"_links": EndpointTestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
|
||||||
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
"agentSelectorConfig": EndpointAgentSelectorConfig.from_dict(obj["agentSelectorConfig"]) if obj.get("agentSelectorConfig") is not None else None,
|
||||||
"createdDate": obj.get("createdDate"),
|
"createdDate": obj.get("createdDate"),
|
||||||
|
"isPrioritized": obj.get("isPrioritized") if obj.get("isPrioritized") is not None else False,
|
||||||
"interval": obj.get("interval"),
|
"interval": obj.get("interval"),
|
||||||
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
"isEnabled": obj.get("isEnabled") if obj.get("isEnabled") is not None else True,
|
||||||
"isSavedEvent": obj.get("isSavedEvent"),
|
"isSavedEvent": obj.get("isSavedEvent"),
|
||||||
|
|||||||
@ -35,6 +35,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase):
|
|||||||
"protocol" : "icmp",
|
"protocol" : "icmp",
|
||||||
"application" : "webex",
|
"application" : "webex",
|
||||||
"agentSelectorType" : "all-agents",
|
"agentSelectorType" : "all-agents",
|
||||||
|
"isPrioritized" : false,
|
||||||
"maxMachines" : 25,
|
"maxMachines" : 25,
|
||||||
"interval" : 60,
|
"interval" : 60,
|
||||||
"hasPathTraceInSession" : true,
|
"hasPathTraceInSession" : true,
|
||||||
@ -68,6 +69,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
"labels" : [ {
|
"labels" : [ {
|
||||||
@ -128,6 +130,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
"labels" : [ {
|
"labels" : [ {
|
||||||
@ -185,6 +188,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
"labels" : [ {
|
"labels" : [ {
|
||||||
@ -231,6 +235,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
"labels" : [ {
|
"labels" : [ {
|
||||||
@ -313,6 +318,7 @@ class TestAgentToServerEndpointDynamicTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
"labels" : [ {
|
"labels" : [ {
|
||||||
|
|||||||
@ -37,6 +37,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"agentSelectorType" : "all-agents",
|
"agentSelectorType" : "all-agents",
|
||||||
"maxMachines" : 25,
|
"maxMachines" : 25,
|
||||||
"serverName" : "www.example.com",
|
"serverName" : "www.example.com",
|
||||||
|
"isPrioritized" : false,
|
||||||
"interval" : 60,
|
"interval" : 60,
|
||||||
"endpointAgentLabels" : [ "567", "214" ],
|
"endpointAgentLabels" : [ "567", "214" ],
|
||||||
"agents" : [ "0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1", "66eec0f1-72b4-4755-aa83-3aed61d17f3c" ],
|
"agents" : [ "0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1", "66eec0f1-72b4-4755-aa83-3aed61d17f3c" ],
|
||||||
@ -68,6 +69,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
@ -129,6 +131,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
@ -187,6 +190,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
@ -234,6 +238,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
@ -318,6 +323,7 @@ class TestAgentToServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
|
|||||||
@ -53,6 +53,7 @@ class TestEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
@ -91,6 +92,7 @@ class TestEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"type" : "agent-to-server",
|
"type" : "agent-to-server",
|
||||||
"tcpProbeMode" : "auto",
|
"tcpProbeMode" : "auto",
|
||||||
|
|||||||
@ -36,6 +36,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"hasPing" : true,
|
"hasPing" : true,
|
||||||
"agentSelectorType" : "all-agents",
|
"agentSelectorType" : "all-agents",
|
||||||
"maxMachines" : 25,
|
"maxMachines" : 25,
|
||||||
|
"isPrioritized" : false,
|
||||||
"httpTimeLimit" : 5000,
|
"httpTimeLimit" : 5000,
|
||||||
"networkMeasurements" : true,
|
"networkMeasurements" : true,
|
||||||
"endpointAgentLabels" : [ "567", "214" ],
|
"endpointAgentLabels" : [ "567", "214" ],
|
||||||
@ -81,6 +82,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"httpTimeLimit" : 5000,
|
"httpTimeLimit" : 5000,
|
||||||
"type" : "http-server",
|
"type" : "http-server",
|
||||||
"protocol" : "icmp",
|
"protocol" : "icmp",
|
||||||
@ -153,6 +155,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"httpTimeLimit" : 5000,
|
"httpTimeLimit" : 5000,
|
||||||
"type" : "http-server",
|
"type" : "http-server",
|
||||||
"protocol" : "icmp",
|
"protocol" : "icmp",
|
||||||
@ -222,6 +225,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"httpTimeLimit" : 5000,
|
"httpTimeLimit" : 5000,
|
||||||
"type" : "http-server",
|
"type" : "http-server",
|
||||||
"protocol" : "icmp",
|
"protocol" : "icmp",
|
||||||
@ -280,6 +284,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"httpTimeLimit" : 5000,
|
"httpTimeLimit" : 5000,
|
||||||
"type" : "http-server",
|
"type" : "http-server",
|
||||||
"protocol" : "icmp",
|
"protocol" : "icmp",
|
||||||
@ -374,6 +379,7 @@ class TestHTTPServerEndpointScheduledTestsApi(unittest.TestCase):
|
|||||||
"title" : "title"
|
"title" : "title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"isPrioritized" : false,
|
||||||
"httpTimeLimit" : 5000,
|
"httpTimeLimit" : 5000,
|
||||||
"type" : "http-server",
|
"type" : "http-server",
|
||||||
"protocol" : "icmp",
|
"protocol" : "icmp",
|
||||||
|
|||||||
@ -12,7 +12,7 @@ With the Events API, you can perform the following tasks on the ThousandEyes pla
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@ The response does not include the immediate test results. Use the Test Results e
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,7 @@ For more information about Internet Insights, see the [Internet Insights](https:
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ Creates a new test snapshot 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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ For more information about ThousandEyes for OpenTelemetry, see the [documentatio
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ Things to note with the ThousandEyes Tags API:
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ Get test result metrics for Cloud and Enterprise Agent tests.
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ This API supports listing, creating, editing, and deleting Cloud and Enterprise
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@ Refer to the Usage API operations for detailed usage instructions and optional p
|
|||||||
|
|
||||||
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.36
|
- API version: 7.0.37
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user