[GitHub Bot] Generated python SDK

This commit is contained in:
API Team 2025-01-28 22:55:27 +00:00
parent 73e713bbaa
commit a520ec4edd
31 changed files with 84 additions and 27 deletions

View File

@ -12,7 +12,7 @@ This API provides the following operations to manage your organization:
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -5,7 +5,7 @@ Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -12,7 +12,7 @@ For more information about the alerts, see [Alerts](https://docs.thousandeyes.co
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -21,6 +21,9 @@ Name | Type | Description | Notes
**include_covered_prefixes** | **bool** | Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules. | [optional] **include_covered_prefixes** | **bool** | Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules. | [optional]
**sensitivity_level** | [**SensitivityLevel**](SensitivityLevel.md) | | [optional] **sensitivity_level** | [**SensitivityLevel**](SensitivityLevel.md) | | [optional]
**severity** | [**Severity**](Severity.md) | | [optional] **severity** | [**Severity**](Severity.md) | | [optional]
**endpoint_agent_ids** | **List[str]** | An array of endpoint agent IDs associated with the rule (get `id` from `/endpoint/agents` API). This is applicable when `alertGroupType` is `browser-session`. | [optional]
**endpoint_label_ids** | **List[str]** | An array of label IDs used to assign specific Endpoint Agents to the test (get `id` from `/endpoint/labels`). This is applicable when `alertGroupType` is `browser-session`. | [optional]
**visited_sites_filter** | **List[str]** | A list of website domains visited during the session. This is applicable when `alertGroupType` is `browser-session`. | [optional]
## Example ## Example

View File

@ -21,6 +21,9 @@ Name | Type | Description | Notes
**include_covered_prefixes** | **bool** | Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules. | [optional] **include_covered_prefixes** | **bool** | Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules. | [optional]
**sensitivity_level** | [**SensitivityLevel**](SensitivityLevel.md) | | [optional] **sensitivity_level** | [**SensitivityLevel**](SensitivityLevel.md) | | [optional]
**severity** | [**Severity**](Severity.md) | | [optional] **severity** | [**Severity**](Severity.md) | | [optional]
**endpoint_agent_ids** | **List[str]** | An array of endpoint agent IDs associated with the rule (get `id` from `/endpoint/agents` API). This is applicable when `alertGroupType` is `browser-session`. | [optional]
**endpoint_label_ids** | **List[str]** | An array of label IDs used to assign specific Endpoint Agents to the test (get `id` from `/endpoint/labels`). This is applicable when `alertGroupType` is `browser-session`. | [optional]
**visited_sites_filter** | **List[str]** | A list of website domains visited during the session. This is applicable when `alertGroupType` is `browser-session`. | [optional]
**notifications** | [**AlertNotification**](AlertNotification.md) | | [optional] **notifications** | [**AlertNotification**](AlertNotification.md) | | [optional]
**test_ids** | **List[str]** | Array of test IDs to link to alert rule (get `testId` from `/tests` endpoint). | [optional] **test_ids** | **List[str]** | Array of test IDs to link to alert rule (get `testId` from `/tests` endpoint). | [optional]
**links** | [**SelfLinks**](SelfLinks.md) | | [optional] **links** | [**SelfLinks**](SelfLinks.md) | | [optional]

View File

@ -21,6 +21,9 @@ Name | Type | Description | Notes
**include_covered_prefixes** | **bool** | Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules. | [optional] **include_covered_prefixes** | **bool** | Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules. | [optional]
**sensitivity_level** | [**SensitivityLevel**](SensitivityLevel.md) | | [optional] **sensitivity_level** | [**SensitivityLevel**](SensitivityLevel.md) | | [optional]
**severity** | [**Severity**](Severity.md) | | [optional] **severity** | [**Severity**](Severity.md) | | [optional]
**endpoint_agent_ids** | **List[str]** | An array of endpoint agent IDs associated with the rule (get `id` from `/endpoint/agents` API). This is applicable when `alertGroupType` is `browser-session`. | [optional]
**endpoint_label_ids** | **List[str]** | An array of label IDs used to assign specific Endpoint Agents to the test (get `id` from `/endpoint/labels`). This is applicable when `alertGroupType` is `browser-session`. | [optional]
**visited_sites_filter** | **List[str]** | A list of website domains visited during the session. This is applicable when `alertGroupType` is `browser-session`. | [optional]
**notifications** | [**AlertNotification**](AlertNotification.md) | | [optional] **notifications** | [**AlertNotification**](AlertNotification.md) | | [optional]
**tests** | [**List[AlertSimpleTest]**](AlertSimpleTest.md) | | [optional] [readonly] **tests** | [**List[AlertSimpleTest]**](AlertSimpleTest.md) | | [optional] [readonly]
**links** | [**SelfLinks**](SelfLinks.md) | | [optional] **links** | [**SelfLinks**](SelfLinks.md) | | [optional]

View File

@ -21,6 +21,9 @@ Name | Type | Description | Notes
**include_covered_prefixes** | **bool** | Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules. | [optional] **include_covered_prefixes** | **bool** | Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules. | [optional]
**sensitivity_level** | [**SensitivityLevel**](SensitivityLevel.md) | | [optional] **sensitivity_level** | [**SensitivityLevel**](SensitivityLevel.md) | | [optional]
**severity** | [**Severity**](Severity.md) | | [optional] **severity** | [**Severity**](Severity.md) | | [optional]
**endpoint_agent_ids** | **List[str]** | An array of endpoint agent IDs associated with the rule (get `id` from `/endpoint/agents` API). This is applicable when `alertGroupType` is `browser-session`. | [optional]
**endpoint_label_ids** | **List[str]** | An array of label IDs used to assign specific Endpoint Agents to the test (get `id` from `/endpoint/labels`). This is applicable when `alertGroupType` is `browser-session`. | [optional]
**visited_sites_filter** | **List[str]** | A list of website domains visited during the session. This is applicable when `alertGroupType` is `browser-session`. | [optional]
**notifications** | [**AlertNotification**](AlertNotification.md) | | [optional] **notifications** | [**AlertNotification**](AlertNotification.md) | | [optional]
**test_ids** | **List[str]** | Array of test IDs to link to alert rule (get `testId` from `/tests` endpoint). | [optional] **test_ids** | **List[str]** | Array of test IDs to link to alert rule (get `testId` from `/tests` endpoint). | [optional]

View File

@ -47,7 +47,10 @@ class BaseRule(BaseModel):
include_covered_prefixes: Optional[StrictBool] = Field(default=None, description="Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules.", alias="includeCoveredPrefixes") include_covered_prefixes: Optional[StrictBool] = Field(default=None, description="Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules.", alias="includeCoveredPrefixes")
sensitivity_level: Optional[SensitivityLevel] = Field(default=None, alias="sensitivityLevel") sensitivity_level: Optional[SensitivityLevel] = Field(default=None, alias="sensitivityLevel")
severity: Optional[Severity] = None severity: Optional[Severity] = None
__properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity"] endpoint_agent_ids: Optional[List[StrictStr]] = Field(default=None, description="An array of endpoint agent IDs associated with the rule (get `id` from `/endpoint/agents` API). This is applicable when `alertGroupType` is `browser-session`.", alias="endpointAgentIds")
endpoint_label_ids: Optional[List[StrictStr]] = Field(default=None, description="An array of label IDs used to assign specific Endpoint Agents to the test (get `id` from `/endpoint/labels`). This is applicable when `alertGroupType` is `browser-session`.", alias="endpointLabelIds")
visited_sites_filter: Optional[List[StrictStr]] = Field(default=None, description="A list of website domains visited during the session. This is applicable when `alertGroupType` is `browser-session`.", alias="visitedSitesFilter")
__properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "endpointAgentIds", "endpointLabelIds", "visitedSitesFilter"]
model_config = ConfigDict( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -118,7 +121,10 @@ class BaseRule(BaseModel):
"roundsViolatingRequired": obj.get("roundsViolatingRequired"), "roundsViolatingRequired": obj.get("roundsViolatingRequired"),
"includeCoveredPrefixes": obj.get("includeCoveredPrefixes"), "includeCoveredPrefixes": obj.get("includeCoveredPrefixes"),
"sensitivityLevel": obj.get("sensitivityLevel"), "sensitivityLevel": obj.get("sensitivityLevel"),
"severity": obj.get("severity") "severity": obj.get("severity"),
"endpointAgentIds": obj.get("endpointAgentIds"),
"endpointLabelIds": obj.get("endpointLabelIds"),
"visitedSitesFilter": obj.get("visitedSitesFilter")
}) })
return _obj return _obj

View File

@ -49,10 +49,13 @@ class Rule(BaseModel):
include_covered_prefixes: Optional[StrictBool] = Field(default=None, description="Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules.", alias="includeCoveredPrefixes") include_covered_prefixes: Optional[StrictBool] = Field(default=None, description="Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules.", alias="includeCoveredPrefixes")
sensitivity_level: Optional[SensitivityLevel] = Field(default=None, alias="sensitivityLevel") sensitivity_level: Optional[SensitivityLevel] = Field(default=None, alias="sensitivityLevel")
severity: Optional[Severity] = None severity: Optional[Severity] = None
endpoint_agent_ids: Optional[List[StrictStr]] = Field(default=None, description="An array of endpoint agent IDs associated with the rule (get `id` from `/endpoint/agents` API). This is applicable when `alertGroupType` is `browser-session`.", alias="endpointAgentIds")
endpoint_label_ids: Optional[List[StrictStr]] = Field(default=None, description="An array of label IDs used to assign specific Endpoint Agents to the test (get `id` from `/endpoint/labels`). This is applicable when `alertGroupType` is `browser-session`.", alias="endpointLabelIds")
visited_sites_filter: Optional[List[StrictStr]] = Field(default=None, description="A list of website domains visited during the session. This is applicable when `alertGroupType` is `browser-session`.", alias="visitedSitesFilter")
notifications: Optional[AlertNotification] = None notifications: Optional[AlertNotification] = None
test_ids: Optional[List[StrictStr]] = Field(default=None, description="Array of test IDs to link to alert rule (get `testId` from `/tests` endpoint).", alias="testIds") test_ids: Optional[List[StrictStr]] = Field(default=None, description="Array of test IDs to link to alert rule (get `testId` from `/tests` endpoint).", alias="testIds")
links: Optional[SelfLinks] = Field(default=None, alias="_links") links: Optional[SelfLinks] = Field(default=None, alias="_links")
__properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "notifications", "testIds", "_links"] __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "endpointAgentIds", "endpointLabelIds", "visitedSitesFilter", "notifications", "testIds", "_links"]
model_config = ConfigDict( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -130,6 +133,9 @@ class Rule(BaseModel):
"includeCoveredPrefixes": obj.get("includeCoveredPrefixes"), "includeCoveredPrefixes": obj.get("includeCoveredPrefixes"),
"sensitivityLevel": obj.get("sensitivityLevel"), "sensitivityLevel": obj.get("sensitivityLevel"),
"severity": obj.get("severity"), "severity": obj.get("severity"),
"endpointAgentIds": obj.get("endpointAgentIds"),
"endpointLabelIds": obj.get("endpointLabelIds"),
"visitedSitesFilter": obj.get("visitedSitesFilter"),
"notifications": AlertNotification.from_dict(obj["notifications"]) if obj.get("notifications") is not None else None, "notifications": AlertNotification.from_dict(obj["notifications"]) if obj.get("notifications") is not None else None,
"testIds": obj.get("testIds"), "testIds": obj.get("testIds"),
"_links": SelfLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None "_links": SelfLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None

View File

@ -50,10 +50,13 @@ class RuleDetail(BaseModel):
include_covered_prefixes: Optional[StrictBool] = Field(default=None, description="Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules.", alias="includeCoveredPrefixes") include_covered_prefixes: Optional[StrictBool] = Field(default=None, description="Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules.", alias="includeCoveredPrefixes")
sensitivity_level: Optional[SensitivityLevel] = Field(default=None, alias="sensitivityLevel") sensitivity_level: Optional[SensitivityLevel] = Field(default=None, alias="sensitivityLevel")
severity: Optional[Severity] = None severity: Optional[Severity] = None
endpoint_agent_ids: Optional[List[StrictStr]] = Field(default=None, description="An array of endpoint agent IDs associated with the rule (get `id` from `/endpoint/agents` API). This is applicable when `alertGroupType` is `browser-session`.", alias="endpointAgentIds")
endpoint_label_ids: Optional[List[StrictStr]] = Field(default=None, description="An array of label IDs used to assign specific Endpoint Agents to the test (get `id` from `/endpoint/labels`). This is applicable when `alertGroupType` is `browser-session`.", alias="endpointLabelIds")
visited_sites_filter: Optional[List[StrictStr]] = Field(default=None, description="A list of website domains visited during the session. This is applicable when `alertGroupType` is `browser-session`.", alias="visitedSitesFilter")
notifications: Optional[AlertNotification] = None notifications: Optional[AlertNotification] = None
tests: Optional[List[AlertSimpleTest]] = None tests: Optional[List[AlertSimpleTest]] = None
links: Optional[SelfLinks] = Field(default=None, alias="_links") links: Optional[SelfLinks] = Field(default=None, alias="_links")
__properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "notifications", "tests", "_links"] __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "endpointAgentIds", "endpointLabelIds", "visitedSitesFilter", "notifications", "tests", "_links"]
model_config = ConfigDict( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -140,6 +143,9 @@ class RuleDetail(BaseModel):
"includeCoveredPrefixes": obj.get("includeCoveredPrefixes"), "includeCoveredPrefixes": obj.get("includeCoveredPrefixes"),
"sensitivityLevel": obj.get("sensitivityLevel"), "sensitivityLevel": obj.get("sensitivityLevel"),
"severity": obj.get("severity"), "severity": obj.get("severity"),
"endpointAgentIds": obj.get("endpointAgentIds"),
"endpointLabelIds": obj.get("endpointLabelIds"),
"visitedSitesFilter": obj.get("visitedSitesFilter"),
"notifications": AlertNotification.from_dict(obj["notifications"]) if obj.get("notifications") is not None else None, "notifications": AlertNotification.from_dict(obj["notifications"]) if obj.get("notifications") is not None else None,
"tests": [AlertSimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None, "tests": [AlertSimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
"_links": SelfLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None "_links": SelfLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None

View File

@ -48,9 +48,12 @@ class RuleDetailUpdate(BaseModel):
include_covered_prefixes: Optional[StrictBool] = Field(default=None, description="Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules.", alias="includeCoveredPrefixes") include_covered_prefixes: Optional[StrictBool] = Field(default=None, description="Set true to include covered prefixes in the BGP alert rule. Only applicable to BGP alert rules.", alias="includeCoveredPrefixes")
sensitivity_level: Optional[SensitivityLevel] = Field(default=None, alias="sensitivityLevel") sensitivity_level: Optional[SensitivityLevel] = Field(default=None, alias="sensitivityLevel")
severity: Optional[Severity] = None severity: Optional[Severity] = None
endpoint_agent_ids: Optional[List[StrictStr]] = Field(default=None, description="An array of endpoint agent IDs associated with the rule (get `id` from `/endpoint/agents` API). This is applicable when `alertGroupType` is `browser-session`.", alias="endpointAgentIds")
endpoint_label_ids: Optional[List[StrictStr]] = Field(default=None, description="An array of label IDs used to assign specific Endpoint Agents to the test (get `id` from `/endpoint/labels`). This is applicable when `alertGroupType` is `browser-session`.", alias="endpointLabelIds")
visited_sites_filter: Optional[List[StrictStr]] = Field(default=None, description="A list of website domains visited during the session. This is applicable when `alertGroupType` is `browser-session`.", alias="visitedSitesFilter")
notifications: Optional[AlertNotification] = None notifications: Optional[AlertNotification] = None
test_ids: Optional[List[StrictStr]] = Field(default=None, description="Array of test IDs to link to alert rule (get `testId` from `/tests` endpoint).", alias="testIds") test_ids: Optional[List[StrictStr]] = Field(default=None, description="Array of test IDs to link to alert rule (get `testId` from `/tests` endpoint).", alias="testIds")
__properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "notifications", "testIds"] __properties: ClassVar[List[str]] = ["ruleId", "ruleName", "expression", "direction", "notifyOnClear", "isDefault", "alertType", "alertGroupType", "minimumSources", "minimumSourcesPct", "roundsViolatingMode", "roundsViolatingOutOf", "roundsViolatingRequired", "includeCoveredPrefixes", "sensitivityLevel", "severity", "endpointAgentIds", "endpointLabelIds", "visitedSitesFilter", "notifications", "testIds"]
model_config = ConfigDict( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -125,6 +128,9 @@ class RuleDetailUpdate(BaseModel):
"includeCoveredPrefixes": obj.get("includeCoveredPrefixes"), "includeCoveredPrefixes": obj.get("includeCoveredPrefixes"),
"sensitivityLevel": obj.get("sensitivityLevel"), "sensitivityLevel": obj.get("sensitivityLevel"),
"severity": obj.get("severity"), "severity": obj.get("severity"),
"endpointAgentIds": obj.get("endpointAgentIds"),
"endpointLabelIds": obj.get("endpointLabelIds"),
"visitedSitesFilter": obj.get("visitedSitesFilter"),
"notifications": AlertNotification.from_dict(obj["notifications"]) if obj.get("notifications") is not None else None, "notifications": AlertNotification.from_dict(obj["notifications"]) if obj.get("notifications") is not None else None,
"testIds": obj.get("testIds") "testIds": obj.get("testIds")
}) })

View File

@ -36,6 +36,7 @@ class TestAlertRulesApi(unittest.TestCase):
"expression" : "((hops((hopDelay >= 100 ms))))", "expression" : "((hops((hopDelay >= 100 ms))))",
"alertType" : "http-server", "alertType" : "http-server",
"includeCoveredPrefixes" : true, "includeCoveredPrefixes" : true,
"visitedSitesFilter" : [ "app.thousandeyes.com" ],
"roundsViolatingMode" : "exact", "roundsViolatingMode" : "exact",
"sensitivityLevel" : "medium", "sensitivityLevel" : "medium",
"alertGroupType" : "endpoint", "alertGroupType" : "endpoint",
@ -44,8 +45,10 @@ class TestAlertRulesApi(unittest.TestCase):
"roundsViolatingOutOf" : 5, "roundsViolatingOutOf" : 5,
"roundsViolatingRequired" : 2, "roundsViolatingRequired" : 2,
"isDefault" : true, "isDefault" : true,
"endpointAgentIds" : [ "281474976710706", "281474976710706" ],
"minimumSourcesPct" : 99, "minimumSourcesPct" : 99,
"ruleName" : "The End of the Internet", "ruleName" : "The End of the Internet",
"endpointLabelIds" : [ "123456", "123456" ],
"minimumSources" : 10, "minimumSources" : 10,
"ruleId" : "127094", "ruleId" : "127094",
"notifications" : { "notifications" : {
@ -108,6 +111,7 @@ class TestAlertRulesApi(unittest.TestCase):
} }
}, },
"includeCoveredPrefixes" : true, "includeCoveredPrefixes" : true,
"visitedSitesFilter" : [ "app.thousandeyes.com" ],
"roundsViolatingMode" : "exact", "roundsViolatingMode" : "exact",
"sensitivityLevel" : "medium", "sensitivityLevel" : "medium",
"alertGroupType" : "endpoint", "alertGroupType" : "endpoint",
@ -116,8 +120,10 @@ class TestAlertRulesApi(unittest.TestCase):
"roundsViolatingOutOf" : 5, "roundsViolatingOutOf" : 5,
"roundsViolatingRequired" : 2, "roundsViolatingRequired" : 2,
"isDefault" : true, "isDefault" : true,
"endpointAgentIds" : [ "281474976710706", "281474976710706" ],
"minimumSourcesPct" : 99, "minimumSourcesPct" : 99,
"ruleName" : "The End of the Internet", "ruleName" : "The End of the Internet",
"endpointLabelIds" : [ "123456", "123456" ],
"minimumSources" : 10, "minimumSources" : 10,
"ruleId" : "127094", "ruleId" : "127094",
"notifications" : { "notifications" : {
@ -187,6 +193,7 @@ class TestAlertRulesApi(unittest.TestCase):
} }
}, },
"includeCoveredPrefixes" : true, "includeCoveredPrefixes" : true,
"visitedSitesFilter" : [ "app.thousandeyes.com" ],
"roundsViolatingMode" : "exact", "roundsViolatingMode" : "exact",
"sensitivityLevel" : "medium", "sensitivityLevel" : "medium",
"alertGroupType" : "endpoint", "alertGroupType" : "endpoint",
@ -194,6 +201,7 @@ class TestAlertRulesApi(unittest.TestCase):
"roundsViolatingOutOf" : 5, "roundsViolatingOutOf" : 5,
"roundsViolatingRequired" : 2, "roundsViolatingRequired" : 2,
"isDefault" : true, "isDefault" : true,
"endpointAgentIds" : [ "281474976710706", "281474976710706" ],
"tests" : [ { "tests" : [ {
"_links" : { "_links" : {
"testResults" : [ { "testResults" : [ {
@ -259,6 +267,7 @@ class TestAlertRulesApi(unittest.TestCase):
} ], } ],
"minimumSourcesPct" : 99, "minimumSourcesPct" : 99,
"ruleName" : "The End of the Internet", "ruleName" : "The End of the Internet",
"endpointLabelIds" : [ "123456", "123456" ],
"minimumSources" : 10, "minimumSources" : 10,
"ruleId" : "127094", "ruleId" : "127094",
"notifications" : { "notifications" : {
@ -325,6 +334,7 @@ class TestAlertRulesApi(unittest.TestCase):
"expression" : "((hops((hopDelay >= 100 ms))))", "expression" : "((hops((hopDelay >= 100 ms))))",
"alertType" : "http-server", "alertType" : "http-server",
"includeCoveredPrefixes" : true, "includeCoveredPrefixes" : true,
"visitedSitesFilter" : [ "app.thousandeyes.com" ],
"roundsViolatingMode" : "exact", "roundsViolatingMode" : "exact",
"sensitivityLevel" : "medium", "sensitivityLevel" : "medium",
"alertGroupType" : "endpoint", "alertGroupType" : "endpoint",
@ -332,8 +342,10 @@ class TestAlertRulesApi(unittest.TestCase):
"roundsViolatingOutOf" : 5, "roundsViolatingOutOf" : 5,
"roundsViolatingRequired" : 2, "roundsViolatingRequired" : 2,
"isDefault" : true, "isDefault" : true,
"endpointAgentIds" : [ "281474976710706", "281474976710706" ],
"minimumSourcesPct" : 99, "minimumSourcesPct" : 99,
"ruleName" : "The End of the Internet", "ruleName" : "The End of the Internet",
"endpointLabelIds" : [ "123456", "123456" ],
"minimumSources" : 10, "minimumSources" : 10,
"ruleId" : "127094", "ruleId" : "127094",
"direction" : "to-target" "direction" : "to-target"
@ -342,6 +354,7 @@ class TestAlertRulesApi(unittest.TestCase):
"expression" : "((hops((hopDelay >= 100 ms))))", "expression" : "((hops((hopDelay >= 100 ms))))",
"alertType" : "http-server", "alertType" : "http-server",
"includeCoveredPrefixes" : true, "includeCoveredPrefixes" : true,
"visitedSitesFilter" : [ "app.thousandeyes.com" ],
"roundsViolatingMode" : "exact", "roundsViolatingMode" : "exact",
"sensitivityLevel" : "medium", "sensitivityLevel" : "medium",
"alertGroupType" : "endpoint", "alertGroupType" : "endpoint",
@ -349,8 +362,10 @@ class TestAlertRulesApi(unittest.TestCase):
"roundsViolatingOutOf" : 5, "roundsViolatingOutOf" : 5,
"roundsViolatingRequired" : 2, "roundsViolatingRequired" : 2,
"isDefault" : true, "isDefault" : true,
"endpointAgentIds" : [ "281474976710706", "281474976710706" ],
"minimumSourcesPct" : 99, "minimumSourcesPct" : 99,
"ruleName" : "The End of the Internet", "ruleName" : "The End of the Internet",
"endpointLabelIds" : [ "123456", "123456" ],
"minimumSources" : 10, "minimumSources" : 10,
"ruleId" : "127094", "ruleId" : "127094",
"direction" : "to-target" "direction" : "to-target"
@ -369,6 +384,7 @@ class TestAlertRulesApi(unittest.TestCase):
"expression" : "((hops((hopDelay >= 100 ms))))", "expression" : "((hops((hopDelay >= 100 ms))))",
"alertType" : "http-server", "alertType" : "http-server",
"includeCoveredPrefixes" : true, "includeCoveredPrefixes" : true,
"visitedSitesFilter" : [ "app.thousandeyes.com" ],
"roundsViolatingMode" : "exact", "roundsViolatingMode" : "exact",
"sensitivityLevel" : "medium", "sensitivityLevel" : "medium",
"alertGroupType" : "endpoint", "alertGroupType" : "endpoint",
@ -377,8 +393,10 @@ class TestAlertRulesApi(unittest.TestCase):
"roundsViolatingOutOf" : 5, "roundsViolatingOutOf" : 5,
"roundsViolatingRequired" : 2, "roundsViolatingRequired" : 2,
"isDefault" : true, "isDefault" : true,
"endpointAgentIds" : [ "281474976710706", "281474976710706" ],
"minimumSourcesPct" : 99, "minimumSourcesPct" : 99,
"ruleName" : "The End of the Internet", "ruleName" : "The End of the Internet",
"endpointLabelIds" : [ "123456", "123456" ],
"minimumSources" : 10, "minimumSources" : 10,
"ruleId" : "127094", "ruleId" : "127094",
"notifications" : { "notifications" : {
@ -441,6 +459,7 @@ class TestAlertRulesApi(unittest.TestCase):
} }
}, },
"includeCoveredPrefixes" : true, "includeCoveredPrefixes" : true,
"visitedSitesFilter" : [ "app.thousandeyes.com" ],
"roundsViolatingMode" : "exact", "roundsViolatingMode" : "exact",
"sensitivityLevel" : "medium", "sensitivityLevel" : "medium",
"alertGroupType" : "endpoint", "alertGroupType" : "endpoint",
@ -449,8 +468,10 @@ class TestAlertRulesApi(unittest.TestCase):
"roundsViolatingOutOf" : 5, "roundsViolatingOutOf" : 5,
"roundsViolatingRequired" : 2, "roundsViolatingRequired" : 2,
"isDefault" : true, "isDefault" : true,
"endpointAgentIds" : [ "281474976710706", "281474976710706" ],
"minimumSourcesPct" : 99, "minimumSourcesPct" : 99,
"ruleName" : "The End of the Internet", "ruleName" : "The End of the Internet",
"endpointLabelIds" : [ "123456", "123456" ],
"minimumSources" : 10, "minimumSources" : 10,
"ruleId" : "127094", "ruleId" : "127094",
"notifications" : { "notifications" : {

View File

@ -9,7 +9,7 @@ For more information about monitors, see [Inside-Out BGP Visibility](https://doc
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -13,7 +13,7 @@ For more information about credentials, see [Working With Secure Credentials](ht
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -3,7 +3,7 @@ Manage ThousandEyes Dashboards.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -9,7 +9,7 @@ To access Emulation API operations, the following permissions are required:
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -5,7 +5,7 @@ For more information about Endpoint Agents, see [Endpoint Agents](https://docs.t
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -13,7 +13,7 @@ The URLs for these API test data endpoints are provided within the test definiti
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -4,7 +4,7 @@ Manage labels applied to endpoint agents using this API.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -3,7 +3,7 @@ Retrieve results for scheduled and dynamic tests on endpoint agents.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -5,7 +5,7 @@ Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -12,7 +12,7 @@ With the Events API, you can perform the following tasks on the ThousandEyes pla
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -8,7 +8,7 @@ The response does not include the immediate test results. Use the Test Results e
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -14,7 +14,7 @@ For more information about Internet Insights, see the [Internet Insights](https:
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -3,7 +3,7 @@ Creates a new test snapshot in ThousandEyes.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -15,7 +15,7 @@ For more information about ThousandEyes for OpenTelemetry, see the [documentatio
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -92,7 +92,7 @@ Name | Type | Description | Notes
**400** | Bad Request | - | **400** | Bad Request | - |
**401** | Unauthorized | - | **401** | Unauthorized | - |
**409** | An existing item already exists | - | **409** | An existing item already exists | - |
**412** | Reached limit on number of streams (maximum 5 data streams per account group) | - | **412** | Reached limit on number of streams (maximum 10 data streams per account group) | - |
**500** | Internal Server Error | - | **500** | Internal Server Error | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

View File

@ -16,7 +16,7 @@ Things to note with the ThousandEyes Tags API:
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -3,7 +3,7 @@ Get test result metrics for Cloud and Enterprise Agent tests.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -4,7 +4,7 @@ This API supports listing, creating, editing, and deleting Cloud and Enterprise
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -17,7 +17,7 @@ Refer to the Usage API operations for detailed usage instructions and optional p
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.35 - API version: 7.0.36
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator