thousandeyes-sdk-python/thousandeyes-sdk-tests/docs/DnsSecTestRequest.md
Miguel Pragosa 62bed5b328
Some checks failed
Python CI / build (push) Has been cancelled
[GitHub Bot] Generated python SDK (#85)
Co-authored-by: API Team <api-team@thousandeyes.com>
2024-12-04 15:57:44 +00:00

50 lines
3.3 KiB
Markdown

# DnsSecTestRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**interval** | [**TestInterval**](TestInterval.md) | |
**alerts_enabled** | **bool** | Indicates if alerts are enabled. | [optional]
**enabled** | **bool** | Test is enabled. | [optional] [default to True]
**alert_rules** | **List[str]** | List of alert rules IDs to apply to the test (get &#x60;ruleId&#x60; from &#x60;/alerts/rules&#x60; endpoint. If &#x60;alertsEnabled&#x60; is set to &#x60;true&#x60; and &#x60;alertRules&#x60; is not included on test creation or update, applicable user default alert rules will be used) | [optional]
**created_by** | **str** | User that created the test. | [optional] [readonly]
**created_date** | **datetime** | UTC created date (ISO date-time format). | [optional] [readonly]
**description** | **str** | A description of the test. | [optional]
**live_share** | **bool** | Indicates if the test is shared with the account group. | [optional] [readonly]
**modified_by** | **str** | User that modified the test. | [optional] [readonly]
**modified_date** | **datetime** | UTC last modification date (ISO date-time format). | [optional] [readonly]
**saved_event** | **bool** | Indicates if the test is a saved event. | [optional] [readonly]
**test_id** | **str** | Each test is assigned an unique ID; this is used to access test information and results from other endpoints. | [optional] [readonly]
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | Contains list of test label IDs (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint) | [optional]
**shared_with_accounts** | **List[str]** | Contains list of account group IDs. Test is shared with the listed account groups (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint) | [optional]
**domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. |
**dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional]
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
**agents** | [**List[TestAgentRequest]**](TestAgentRequest.md) | Contains list of Agent IDs (get &#x60;agentId&#x60; from &#x60;/agents&#x60; endpoint). |
## Example
```python
from thousandeyes_sdk.tests.models.dns_sec_test_request import DnsSecTestRequest
# TODO update the JSON string below
json = "{}"
# create an instance of DnsSecTestRequest from a JSON string
dns_sec_test_request_instance = DnsSecTestRequest.from_json(json)
# print the JSON string representation of the object
print(DnsSecTestRequest.to_json())
# convert the object into a dict
dns_sec_test_request_dict = dns_sec_test_request_instance.to_dict()
# create an instance of DnsSecTestRequest from a dict
dns_sec_test_request_from_dict = DnsSecTestRequest.from_dict(dns_sec_test_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)