mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-02-04 10:15:30 +00:00
Compare commits
No commits in common. "4aeaaa49248199859d6052fc081b9814f6fb39b6" and "dcf0f54d5681dd6486cc817d98ed326be217b029" have entirely different histories.
4aeaaa4924
...
dcf0f54d56
18
.github/workflows/release.yaml
vendored
18
.github/workflows/release.yaml
vendored
@ -58,10 +58,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: deployment
|
||||
steps:
|
||||
- name: Create GitHub Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: ${{ inputs.releaseVersion }}
|
||||
prerelease: false
|
||||
draft: false
|
||||
generate_release_notes: true
|
||||
- name: Checkout latest code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Add tag and push to the repository
|
||||
run: |
|
||||
git config user.name "API Team"
|
||||
git config user.email "api-team@thousandeyes.com"
|
||||
|
||||
git tag ${{ inputs.releaseVersion }}
|
||||
git push origin ${{ inputs.releaseVersion }}
|
||||
|
||||
|
||||
@ -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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
@ -24,10 +24,11 @@ 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** | 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. |
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -24,10 +24,11 @@ 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** | 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. |
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -24,10 +24,11 @@ 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** | 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. |
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -11,10 +11,11 @@ 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** | 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. |
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**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. | [optional]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**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. | [optional]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**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. | [optional]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -54,16 +54,17 @@ 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="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.")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
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", "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", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -175,6 +176,7 @@ 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,17 +53,18 @@ 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="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.")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
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", "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", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "agents"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -164,6 +165,7 @@ 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,17 +55,18 @@ 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="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.")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
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", "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", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "agents"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -184,6 +185,7 @@ 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,17 +37,18 @@ 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="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.")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
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", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"]
|
||||
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -111,6 +112,7 @@ 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: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
password: StrictStr = Field(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: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
password: StrictStr = Field(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: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
password: StrictStr = Field(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:80",
|
||||
"server" : "www.thousandeyes.com",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -77,6 +77,7 @@ 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",
|
||||
@ -91,7 +92,7 @@ class TestAgentToServerInstantTestsApi(unittest.TestCase):
|
||||
|
||||
response_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"server" : "www.thousandeyes.com",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -162,6 +163,7 @@ 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- 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.42
|
||||
- API version: 7.0.41
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
@ -24,10 +24,11 @@ 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** | 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. |
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -11,10 +11,11 @@ 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** | 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. |
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -28,10 +28,11 @@ 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** | 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. |
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -28,10 +28,11 @@ 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** | 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. |
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**dscp** | **str** | DSCP label. | [optional] [readonly]
|
||||
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
|
||||
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
|
||||
|
||||
@ -28,10 +28,11 @@ 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** | 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. |
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**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. | [optional]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**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. | [optional]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**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. | [optional]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**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. | [optional]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -25,10 +25,11 @@ 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** | 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. |
|
||||
**server** | **str** | Target name or IP address. |
|
||||
**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. | [optional]
|
||||
**password** | **str** | Password for Basic/NTLM authentication. |
|
||||
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
|
||||
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
|
||||
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
|
||||
|
||||
@ -54,16 +54,17 @@ 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="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.")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
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", "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", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -175,6 +176,7 @@ 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,17 +37,18 @@ 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="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.")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
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", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"]
|
||||
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "type"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -111,6 +112,7 @@ 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,10 +61,11 @@ 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="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.")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
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")
|
||||
@ -73,7 +74,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", "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", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -205,6 +206,7 @@ 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,10 +58,11 @@ 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="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.")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
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")
|
||||
@ -71,7 +72,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", "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", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors", "agents"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -176,6 +177,7 @@ 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,10 +62,11 @@ 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="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.")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
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")
|
||||
@ -75,7 +76,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", "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", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp", "monitors", "agents"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -214,6 +215,7 @@ 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: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
password: StrictStr = Field(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: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
password: StrictStr = Field(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: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
password: StrictStr = Field(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: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
password: StrictStr = Field(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,10 +54,11 @@ 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="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.")
|
||||
server: StrictStr = Field(description="Target name or IP address.")
|
||||
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")
|
||||
@ -65,7 +66,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", "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", "port", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "bgpMeasurements", "usePublicBgp"]
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True,
|
||||
@ -160,6 +161,7 @@ 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: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
|
||||
password: StrictStr = Field(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:80",
|
||||
"server" : "www.thousandeyes.com",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -82,6 +82,7 @@ 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,
|
||||
@ -98,7 +99,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
|
||||
response_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"server" : "www.thousandeyes.com",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -202,6 +203,7 @@ 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,
|
||||
@ -245,7 +247,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
|
||||
response_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"server" : "www.thousandeyes.com",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -349,6 +351,7 @@ 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,
|
||||
@ -389,7 +392,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
response_body_json = """
|
||||
{
|
||||
"tests" : [ {
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"server" : "www.thousandeyes.com",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -430,6 +433,7 @@ 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,
|
||||
@ -437,7 +441,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
"pingPayloadSize" : 112,
|
||||
"continuousMode" : false
|
||||
}, {
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"server" : "www.thousandeyes.com",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -478,6 +482,7 @@ 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,
|
||||
@ -507,7 +512,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
"""Test case for update_agent_to_server_test request and response models"""
|
||||
request_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"server" : "www.thousandeyes.com",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -557,6 +562,7 @@ 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,
|
||||
@ -573,7 +579,7 @@ class TestAgentToServerTestsApi(unittest.TestCase):
|
||||
|
||||
response_body_json = """
|
||||
{
|
||||
"server" : "www.thousandeyes.com:80",
|
||||
"server" : "www.thousandeyes.com",
|
||||
"mtuMeasurements" : false,
|
||||
"ipv6Policy" : "use-agent-policy",
|
||||
"_links" : {
|
||||
@ -677,6 +683,7 @@ 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.42
|
||||
- API version: 7.0.41
|
||||
- Generator version: 7.6.0
|
||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user