mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-03-22 09:25:30 +00:00
32 lines
1.6 KiB
Markdown
32 lines
1.6 KiB
Markdown
# EndpointSpecificAgentsSelectorConfig
|
|
|
|
Specific agents selection object.
|
|
|
|
## Properties
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**agent_selector_type** | [**SpecificAgentsSelectorType**](SpecificAgentsSelectorType.md) | | [optional]
|
|
**max_machines** | **int** | Maximum number of agents which can execute the test. | [optional]
|
|
**agents** | **List[str]** | List of endpoint agent IDs (obtained from `/endpoint/agents` endpoint). Required when `agentSelectorType` is set to `specific-agent`. | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from tests_api.models.endpoint_specific_agents_selector_config import EndpointSpecificAgentsSelectorConfig
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of EndpointSpecificAgentsSelectorConfig from a JSON string
|
|
endpoint_specific_agents_selector_config_instance = EndpointSpecificAgentsSelectorConfig.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print EndpointSpecificAgentsSelectorConfig.to_json()
|
|
|
|
# convert the object into a dict
|
|
endpoint_specific_agents_selector_config_dict = endpoint_specific_agents_selector_config_instance.to_dict()
|
|
# create an instance of EndpointSpecificAgentsSelectorConfig from a dict
|
|
endpoint_specific_agents_selector_config_form_dict = endpoint_specific_agents_selector_config.from_dict(endpoint_specific_agents_selector_config_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)
|
|
|
|
|