mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-05 22:16:52 +00:00
[GitHub Bot] Generated python SDK (#97)
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
1cbf139fbc
commit
4aeaaa4924
@ -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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
@ -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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
@ -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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
@ -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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
@ -6,7 +6,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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
@ -24,11 +24,10 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**port** | **int** | Target port. | [optional] [default to 49153]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**server** | **str** | The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -24,11 +24,10 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**port** | **int** | Target port. | [optional] [default to 49153]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**server** | **str** | The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -24,11 +24,10 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**port** | **int** | Target port. | [optional] [default to 49153]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**server** | **str** | The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -11,11 +11,10 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**port** | **int** | Target port. | [optional] [default to 49153]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**server** | **str** | The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -25,7 +25,7 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -25,7 +25,7 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -54,17 +54,16 @@ class AgentToServerInstantTest(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
server: StrictStr = Field(description="The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.")
|
||||
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
|
||||
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
|
||||
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
||||
ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize")
|
||||
network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements")
|
||||
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements"]
|
||||
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -176,7 +175,6 @@ class AgentToServerInstantTest(BaseModel):
|
||||
"mtuMeasurements": obj.get("mtuMeasurements"),
|
||||
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
|
||||
"pathTraceMode": obj.get("pathTraceMode"),
|
||||
"port": obj.get("port") if obj.get("port") is not None else 49153,
|
||||
"probeMode": obj.get("probeMode"),
|
||||
"protocol": obj.get("protocol"),
|
||||
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
||||
|
||||
@ -53,18 +53,17 @@ class AgentToServerInstantTestRequest(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
server: StrictStr = Field(description="The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.")
|
||||
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
|
||||
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
|
||||
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
||||
ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize")
|
||||
network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements")
|
||||
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
|
||||
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "agents"]
|
||||
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "agents"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -165,7 +164,6 @@ class AgentToServerInstantTestRequest(BaseModel):
|
||||
"mtuMeasurements": obj.get("mtuMeasurements"),
|
||||
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
|
||||
"pathTraceMode": obj.get("pathTraceMode"),
|
||||
"port": obj.get("port") if obj.get("port") is not None else 49153,
|
||||
"probeMode": obj.get("probeMode"),
|
||||
"protocol": obj.get("protocol"),
|
||||
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
||||
|
||||
@ -55,18 +55,17 @@ class AgentToServerInstantTestResponse(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
server: StrictStr = Field(description="The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.")
|
||||
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
|
||||
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
|
||||
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
||||
ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize")
|
||||
network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements")
|
||||
agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.")
|
||||
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "agents"]
|
||||
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "agents"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -185,7 +184,6 @@ class AgentToServerInstantTestResponse(BaseModel):
|
||||
"mtuMeasurements": obj.get("mtuMeasurements"),
|
||||
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
|
||||
"pathTraceMode": obj.get("pathTraceMode"),
|
||||
"port": obj.get("port") if obj.get("port") is not None else 49153,
|
||||
"probeMode": obj.get("probeMode"),
|
||||
"protocol": obj.get("protocol"),
|
||||
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
||||
|
||||
@ -37,18 +37,17 @@ class AgentToServerProperties(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
server: StrictStr = Field(description="The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.")
|
||||
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
|
||||
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
|
||||
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
||||
ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize")
|
||||
network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements")
|
||||
type: Optional[StrictStr] = None
|
||||
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"]
|
||||
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -112,7 +111,6 @@ class AgentToServerProperties(BaseModel):
|
||||
"mtuMeasurements": obj.get("mtuMeasurements"),
|
||||
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
|
||||
"pathTraceMode": obj.get("pathTraceMode"),
|
||||
"port": obj.get("port") if obj.get("port") is not None else 49153,
|
||||
"probeMode": obj.get("probeMode"),
|
||||
"protocol": obj.get("protocol"),
|
||||
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
||||
|
||||
@ -55,7 +55,7 @@ class FtpServerInstantTest(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
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")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
password: StrictStr = Field(description="Password for Basic/NTLM authentication.")
|
||||
password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
|
||||
@ -56,7 +56,7 @@ class FtpServerInstantTestResponse(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
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")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
password: StrictStr = Field(description="Password for Basic/NTLM authentication.")
|
||||
password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
|
||||
@ -38,7 +38,7 @@ class FtpServerProperties(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
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")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
password: StrictStr = Field(description="Password for Basic/NTLM authentication.")
|
||||
password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
|
||||
@ -32,7 +32,7 @@ class TestAgentToServerInstantTestsApi(unittest.TestCase):
|
||||
"""Test case for create_agent_to_server_instant_test request and response models"""
|
||||
request_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com",
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -77,7 +77,6 @@ class TestAgentToServerInstantTestsApi(unittest.TestCase):
|
||||
} ],
|
||||
"createdDate" : "2022-07-17T22:00:54Z",
|
||||
"createdBy" : "user@user.com",
|
||||
"port" : 49153,
|
||||
"randomizedStartTime" : false,
|
||||
"modifiedDate" : "2022-07-17T22:00:54Z",
|
||||
"testId" : "281474976710706",
|
||||
@ -92,7 +91,7 @@ class TestAgentToServerInstantTestsApi(unittest.TestCase):
|
||||
|
||||
response_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com",
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -163,7 +162,6 @@ class TestAgentToServerInstantTestsApi(unittest.TestCase):
|
||||
} ],
|
||||
"createdDate" : "2022-07-17T22:00:54Z",
|
||||
"createdBy" : "user@user.com",
|
||||
"port" : 49153,
|
||||
"randomizedStartTime" : false,
|
||||
"modifiedDate" : "2022-07-17T22:00:54Z",
|
||||
"testId" : "281474976710706",
|
||||
|
||||
@ -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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- 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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ Get test result metrics for Network and Application Synthetics tests.
|
||||
|
||||
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ This API allows you to list, create, edit, and delete Network and Application Sy
|
||||
|
||||
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
@ -24,11 +24,10 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**port** | **int** | Target port. | [optional] [default to 49153]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**server** | **str** | The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -11,11 +11,10 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**port** | **int** | Target port. | [optional] [default to 49153]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**server** | **str** | The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -28,11 +28,10 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**port** | **int** | Target port. | [optional] [default to 49153]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**server** | **str** | The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -28,11 +28,10 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**port** | **int** | Target port. | [optional] [default to 49153]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**server** | **str** | The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -28,11 +28,10 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**port** | **int** | Target port. | [optional] [default to 49153]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**server** | **str** | The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -25,7 +25,7 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -29,7 +29,7 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -29,7 +29,7 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -25,11 +25,10 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**port** | **int** | Target port. | [optional] [default to 49153]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**server** | **str** | The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -26,7 +26,7 @@ Name | Type | Description | Notes
|
||||
**mtu_measurements** | **bool** | Set `true` to measure MTU sizes on network from agents to the target. | [optional]
|
||||
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
|
||||
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -54,17 +54,16 @@ class AgentToServerInstantTest(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
server: StrictStr = Field(description="The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.")
|
||||
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
|
||||
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
|
||||
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
||||
ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize")
|
||||
network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements")
|
||||
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements"]
|
||||
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -176,7 +175,6 @@ class AgentToServerInstantTest(BaseModel):
|
||||
"mtuMeasurements": obj.get("mtuMeasurements"),
|
||||
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
|
||||
"pathTraceMode": obj.get("pathTraceMode"),
|
||||
"port": obj.get("port") if obj.get("port") is not None else 49153,
|
||||
"probeMode": obj.get("probeMode"),
|
||||
"protocol": obj.get("protocol"),
|
||||
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
||||
|
||||
@ -37,18 +37,17 @@ class AgentToServerProperties(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
server: StrictStr = Field(description="The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.")
|
||||
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
|
||||
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
|
||||
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
||||
ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize")
|
||||
network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements")
|
||||
type: Optional[StrictStr] = None
|
||||
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"]
|
||||
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -112,7 +111,6 @@ class AgentToServerProperties(BaseModel):
|
||||
"mtuMeasurements": obj.get("mtuMeasurements"),
|
||||
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
|
||||
"pathTraceMode": obj.get("pathTraceMode"),
|
||||
"port": obj.get("port") if obj.get("port") is not None else 49153,
|
||||
"probeMode": obj.get("probeMode"),
|
||||
"protocol": obj.get("protocol"),
|
||||
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
||||
|
||||
@ -61,11 +61,10 @@ class AgentToServerTest(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
server: StrictStr = Field(description="The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.")
|
||||
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
|
||||
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
|
||||
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
||||
@ -74,7 +73,7 @@ class AgentToServerTest(BaseModel):
|
||||
bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements")
|
||||
use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp")
|
||||
monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.")
|
||||
__properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors"]
|
||||
__properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -206,7 +205,6 @@ class AgentToServerTest(BaseModel):
|
||||
"mtuMeasurements": obj.get("mtuMeasurements"),
|
||||
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
|
||||
"pathTraceMode": obj.get("pathTraceMode"),
|
||||
"port": obj.get("port") if obj.get("port") is not None else 49153,
|
||||
"probeMode": obj.get("probeMode"),
|
||||
"protocol": obj.get("protocol"),
|
||||
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
||||
|
||||
@ -58,11 +58,10 @@ class AgentToServerTestRequest(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
server: StrictStr = Field(description="The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.")
|
||||
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
|
||||
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
|
||||
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
||||
@ -72,7 +71,7 @@ class AgentToServerTestRequest(BaseModel):
|
||||
use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp")
|
||||
monitors: Optional[List[StrictStr]] = Field(default=None, description="Contains list of BGP monitor IDs (get `monitorId` from `/monitors` endpoint)")
|
||||
agents: List[TestAgentRequest] = Field(description="Contains list of Agent IDs (get `agentId` from `/agents` endpoint).")
|
||||
__properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors", "agents"]
|
||||
__properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors", "agents"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -177,7 +176,6 @@ class AgentToServerTestRequest(BaseModel):
|
||||
"mtuMeasurements": obj.get("mtuMeasurements"),
|
||||
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
|
||||
"pathTraceMode": obj.get("pathTraceMode"),
|
||||
"port": obj.get("port") if obj.get("port") is not None else 49153,
|
||||
"probeMode": obj.get("probeMode"),
|
||||
"protocol": obj.get("protocol"),
|
||||
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
||||
|
||||
@ -62,11 +62,10 @@ class AgentToServerTestResponse(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
server: StrictStr = Field(description="The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.")
|
||||
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
|
||||
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
|
||||
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
||||
@ -76,7 +75,7 @@ class AgentToServerTestResponse(BaseModel):
|
||||
use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp")
|
||||
monitors: Optional[List[Monitor]] = Field(default=None, description="Contains list of enabled BGP monitors.")
|
||||
agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.")
|
||||
__properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors", "agents"]
|
||||
__properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "alertRules", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors", "agents"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -215,7 +214,6 @@ class AgentToServerTestResponse(BaseModel):
|
||||
"mtuMeasurements": obj.get("mtuMeasurements"),
|
||||
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
|
||||
"pathTraceMode": obj.get("pathTraceMode"),
|
||||
"port": obj.get("port") if obj.get("port") is not None else 49153,
|
||||
"probeMode": obj.get("probeMode"),
|
||||
"protocol": obj.get("protocol"),
|
||||
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
||||
|
||||
@ -55,7 +55,7 @@ class FtpServerInstantTest(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
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")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
password: StrictStr = Field(description="Password for Basic/NTLM authentication.")
|
||||
password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
|
||||
@ -38,7 +38,7 @@ class FtpServerProperties(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
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")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
password: StrictStr = Field(description="Password for Basic/NTLM authentication.")
|
||||
password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
|
||||
@ -62,7 +62,7 @@ class FtpServerTest(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
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")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
password: StrictStr = Field(description="Password for Basic/NTLM authentication.")
|
||||
password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
|
||||
@ -63,7 +63,7 @@ class FtpServerTestResponse(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
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")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
password: StrictStr = Field(description="Password for Basic/NTLM authentication.")
|
||||
password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
|
||||
@ -54,11 +54,10 @@ class UnexpandedAgentToServerTest(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
port: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=49153, description="Target port.")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
server: StrictStr = Field(description="The target name or IP address. If a port is set for the test, it is appended to the target name or IP address using a colon.")
|
||||
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
|
||||
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
|
||||
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
||||
@ -66,7 +65,7 @@ class UnexpandedAgentToServerTest(BaseModel):
|
||||
network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements")
|
||||
bgp_measurements: Optional[StrictBool] = Field(default=True, description="Set to `true` to enable bgp measurements.", alias="bgpMeasurements")
|
||||
use_public_bgp: Optional[StrictBool] = Field(default=True, description="Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value.", alias="usePublicBgp")
|
||||
__properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp"]
|
||||
__properties: ClassVar[List[str]] = ["interval", "alertsEnabled", "enabled", "createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -161,7 +160,6 @@ class UnexpandedAgentToServerTest(BaseModel):
|
||||
"mtuMeasurements": obj.get("mtuMeasurements"),
|
||||
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
|
||||
"pathTraceMode": obj.get("pathTraceMode"),
|
||||
"port": obj.get("port") if obj.get("port") is not None else 49153,
|
||||
"probeMode": obj.get("probeMode"),
|
||||
"protocol": obj.get("protocol"),
|
||||
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
||||
|
||||
@ -55,7 +55,7 @@ class UnexpandedFtpServerTest(BaseModel):
|
||||
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
|
||||
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")
|
||||
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
|
||||
password: StrictStr = Field(description="Password for Basic/NTLM authentication.")
|
||||
password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
||||
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
||||
protocol: Optional[TestProtocol] = None
|
||||
|
||||
@ -32,7 +32,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
"""Test case for create_agent_to_server_test request and response models"""
|
||||
request_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com",
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -82,7 +82,6 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
} ],
|
||||
"createdDate" : "2022-07-17T22:00:54Z",
|
||||
"createdBy" : "user@user.com",
|
||||
"port" : 49153,
|
||||
"randomizedStartTime" : false,
|
||||
"modifiedDate" : "2022-07-17T22:00:54Z",
|
||||
"interval" : 60,
|
||||
@ -99,7 +98,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
|
||||
response_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com",
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -203,7 +202,6 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
} ],
|
||||
"createdDate" : "2022-07-17T22:00:54Z",
|
||||
"createdBy" : "user@user.com",
|
||||
"port" : 49153,
|
||||
"randomizedStartTime" : false,
|
||||
"modifiedDate" : "2022-07-17T22:00:54Z",
|
||||
"interval" : 60,
|
||||
@ -247,7 +245,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
|
||||
response_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com",
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -351,7 +349,6 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
} ],
|
||||
"createdDate" : "2022-07-17T22:00:54Z",
|
||||
"createdBy" : "user@user.com",
|
||||
"port" : 49153,
|
||||
"randomizedStartTime" : false,
|
||||
"modifiedDate" : "2022-07-17T22:00:54Z",
|
||||
"interval" : 60,
|
||||
@ -392,7 +389,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
response_body_json = """
|
||||
{
|
||||
"tests" : [ {
|
||||
"server" : "www.thousandeyes.com",
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -433,7 +430,6 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
"networkMeasurements" : false,
|
||||
"createdDate" : "2022-07-17T22:00:54Z",
|
||||
"createdBy" : "user@user.com",
|
||||
"port" : 49153,
|
||||
"randomizedStartTime" : false,
|
||||
"modifiedDate" : "2022-07-17T22:00:54Z",
|
||||
"interval" : 60,
|
||||
@ -441,7 +437,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
"pingPayloadSize" : 112,
|
||||
"continuousMode" : false
|
||||
}, {
|
||||
"server" : "www.thousandeyes.com",
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -482,7 +478,6 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
"networkMeasurements" : false,
|
||||
"createdDate" : "2022-07-17T22:00:54Z",
|
||||
"createdBy" : "user@user.com",
|
||||
"port" : 49153,
|
||||
"randomizedStartTime" : false,
|
||||
"modifiedDate" : "2022-07-17T22:00:54Z",
|
||||
"interval" : 60,
|
||||
@ -512,7 +507,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
"""Test case for update_agent_to_server_test request and response models"""
|
||||
request_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com",
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -562,7 +557,6 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
} ],
|
||||
"createdDate" : "2022-07-17T22:00:54Z",
|
||||
"createdBy" : "user@user.com",
|
||||
"port" : 49153,
|
||||
"randomizedStartTime" : false,
|
||||
"modifiedDate" : "2022-07-17T22:00:54Z",
|
||||
"interval" : 60,
|
||||
@ -579,7 +573,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
|
||||
response_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com",
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -683,7 +677,6 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
} ],
|
||||
"createdDate" : "2022-07-17T22:00:54Z",
|
||||
"createdBy" : "user@user.com",
|
||||
"port" : 49153,
|
||||
"randomizedStartTime" : false,
|
||||
"modifiedDate" : "2022-07-17T22:00:54Z",
|
||||
"interval" : 60,
|
||||
|
||||
@ -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:
|
||||
|
||||
- API version: 7.0.41
|
||||
- API version: 7.0.42
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user