thousandeyes-sdk-instant-tests 1.3.0__py3-none-any.whl → 2.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- thousandeyes_sdk/instant_tests/__init__.py +28 -18
- thousandeyes_sdk/instant_tests/api/__init__.py +13 -13
- thousandeyes_sdk/instant_tests/api/{agent_to_agent_api.py → agent_to_agent_instant_tests_api.py} +15 -15
- thousandeyes_sdk/instant_tests/api/{agent_to_server_api.py → agent_to_server_instant_tests_api.py} +15 -15
- thousandeyes_sdk/instant_tests/api/{api_api.py → api_instant_tests_api.py} +15 -15
- thousandeyes_sdk/instant_tests/api/{dns_server_api.py → dns_server_instant_tests_api.py} +15 -15
- thousandeyes_sdk/instant_tests/api/{dns_trace_api.py → dns_trace_instant_tests_api.py} +15 -15
- thousandeyes_sdk/instant_tests/api/{dns_security_api.py → dnssec_instant_tests_api.py} +21 -21
- thousandeyes_sdk/instant_tests/api/{ftp_server_api.py → ftp_server_instant_tests_api.py} +31 -31
- thousandeyes_sdk/instant_tests/api/{http_page_load_api.py → http_page_load_instant_tests_api.py} +15 -15
- thousandeyes_sdk/instant_tests/api/{http_server_api.py → http_server_instant_tests_api.py} +15 -15
- thousandeyes_sdk/instant_tests/api/{run_api.py → instant_tests_api.py} +2 -2
- thousandeyes_sdk/instant_tests/api/{sip_server_api.py → sip_server_instant_tests_api.py} +9 -9
- thousandeyes_sdk/instant_tests/api/{voice_api.py → voice_instant_tests_api.py} +15 -15
- thousandeyes_sdk/instant_tests/api/{web_transaction_api.py → web_transaction_instant_tests_api.py} +15 -15
- thousandeyes_sdk/instant_tests/models/__init__.py +15 -5
- thousandeyes_sdk/instant_tests/models/agent_base.py +1 -1
- thousandeyes_sdk/instant_tests/models/agent_interfaces.py +1 -1
- thousandeyes_sdk/instant_tests/models/{agent.py → agent_response.py} +5 -5
- thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test.py +3 -15
- thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_request.py +1 -1
- thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_response.py +195 -0
- thousandeyes_sdk/instant_tests/models/agent_to_agent_properties.py +1 -1
- thousandeyes_sdk/instant_tests/models/agent_to_agent_test_protocol.py +6 -1
- thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test.py +3 -15
- thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_request.py +1 -1
- thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_response.py +200 -0
- thousandeyes_sdk/instant_tests/models/agent_to_server_properties.py +1 -1
- thousandeyes_sdk/instant_tests/models/api_instant_test.py +8 -14
- thousandeyes_sdk/instant_tests/models/api_instant_test_request.py +11 -5
- thousandeyes_sdk/instant_tests/models/api_instant_test_response.py +217 -0
- thousandeyes_sdk/instant_tests/models/api_predefined_variable.py +1 -1
- thousandeyes_sdk/instant_tests/models/api_properties.py +8 -2
- thousandeyes_sdk/instant_tests/models/api_request.py +1 -1
- thousandeyes_sdk/instant_tests/models/api_request_assertion.py +1 -1
- thousandeyes_sdk/instant_tests/models/api_request_assertion_name.py +6 -1
- thousandeyes_sdk/instant_tests/models/api_request_assertion_operator.py +6 -1
- thousandeyes_sdk/instant_tests/models/api_request_auth_type.py +6 -1
- thousandeyes_sdk/instant_tests/models/api_request_header.py +1 -1
- thousandeyes_sdk/instant_tests/models/api_request_method.py +6 -1
- thousandeyes_sdk/instant_tests/models/api_request_variable.py +1 -1
- thousandeyes_sdk/instant_tests/models/cloud_enterprise_agent_type.py +6 -1
- thousandeyes_sdk/instant_tests/models/dns_query_class.py +6 -1
- thousandeyes_sdk/instant_tests/models/dns_sec_instant_test.py +3 -15
- thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_request.py +1 -1
- thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_response.py +167 -0
- thousandeyes_sdk/instant_tests/models/dns_sec_properties.py +1 -1
- thousandeyes_sdk/instant_tests/models/dns_server_instant_test.py +3 -15
- thousandeyes_sdk/instant_tests/models/dns_server_instant_test_request.py +1 -1
- thousandeyes_sdk/instant_tests/models/{sip_server_instant_test_request1.py → dns_server_instant_test_response.py} +36 -27
- thousandeyes_sdk/instant_tests/models/dns_server_properties.py +1 -1
- thousandeyes_sdk/instant_tests/models/dns_servers_request.py +1 -1
- thousandeyes_sdk/instant_tests/models/dns_trace_instant_test.py +3 -15
- thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_request.py +1 -1
- thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_response.py +170 -0
- thousandeyes_sdk/instant_tests/models/dns_trace_properties.py +1 -1
- thousandeyes_sdk/instant_tests/models/error.py +1 -1
- thousandeyes_sdk/instant_tests/models/expand_instant_test_options.py +42 -0
- thousandeyes_sdk/instant_tests/models/ftp_server_instant_test.py +3 -15
- thousandeyes_sdk/instant_tests/models/{server_instant_test_request.py → ftp_server_instant_test_request.py} +5 -5
- thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_response.py +204 -0
- thousandeyes_sdk/instant_tests/models/ftp_server_properties.py +1 -1
- thousandeyes_sdk/instant_tests/models/ftp_server_request_type.py +6 -1
- thousandeyes_sdk/instant_tests/models/http_server_base_properties.py +3 -3
- thousandeyes_sdk/instant_tests/models/http_server_instant_test.py +5 -17
- thousandeyes_sdk/instant_tests/models/http_server_instant_test_request.py +3 -3
- thousandeyes_sdk/instant_tests/models/http_server_instant_test_response.py +257 -0
- thousandeyes_sdk/instant_tests/models/http_server_properties.py +3 -3
- thousandeyes_sdk/instant_tests/models/instant_test.py +1 -1
- thousandeyes_sdk/instant_tests/models/instant_test_request.py +1 -1
- thousandeyes_sdk/instant_tests/models/link.py +1 -1
- thousandeyes_sdk/instant_tests/models/o_auth.py +1 -1
- thousandeyes_sdk/instant_tests/models/page_load_instant_test.py +5 -17
- thousandeyes_sdk/instant_tests/models/page_load_instant_test_request.py +3 -3
- thousandeyes_sdk/instant_tests/models/page_load_instant_test_response.py +269 -0
- thousandeyes_sdk/instant_tests/models/page_load_properties.py +3 -3
- thousandeyes_sdk/instant_tests/models/request_method.py +6 -1
- thousandeyes_sdk/instant_tests/models/shared_with_account.py +1 -1
- thousandeyes_sdk/instant_tests/models/simple_agent.py +1 -1
- thousandeyes_sdk/instant_tests/models/sip_server_instant_test.py +3 -15
- thousandeyes_sdk/instant_tests/models/sip_server_instant_test_request.py +1 -1
- thousandeyes_sdk/instant_tests/models/sip_server_instant_test_response.py +6 -8
- thousandeyes_sdk/instant_tests/models/sip_server_properties.py +1 -1
- thousandeyes_sdk/instant_tests/models/sip_test_protocol.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_agent.py +1 -1
- thousandeyes_sdk/instant_tests/models/test_auth_type.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_custom_headers.py +1 -1
- thousandeyes_sdk/instant_tests/models/test_direction.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_dns_server.py +1 -1
- thousandeyes_sdk/instant_tests/models/test_dns_transport_protocol.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_dscp_id.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_ipv6_policy.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_label.py +1 -1
- thousandeyes_sdk/instant_tests/models/test_links.py +1 -1
- thousandeyes_sdk/instant_tests/models/test_page_loading_strategy.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_path_trace_mode.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_probe_mode.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_protocol.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_self_link.py +1 -1
- thousandeyes_sdk/instant_tests/models/test_sip_credentials.py +1 -1
- thousandeyes_sdk/instant_tests/models/test_ssl_version_id.py +6 -1
- thousandeyes_sdk/instant_tests/models/test_type.py +6 -1
- thousandeyes_sdk/instant_tests/models/unauthorized_error.py +1 -1
- thousandeyes_sdk/instant_tests/models/unexpanded_instant_test.py +1 -1
- thousandeyes_sdk/instant_tests/models/validation_error.py +1 -1
- thousandeyes_sdk/instant_tests/models/validation_error_item.py +1 -1
- thousandeyes_sdk/instant_tests/models/voice_instant_test.py +3 -15
- thousandeyes_sdk/instant_tests/models/voice_instant_test_request.py +1 -1
- thousandeyes_sdk/instant_tests/models/voice_instant_test_response.py +186 -0
- thousandeyes_sdk/instant_tests/models/voice_properties.py +1 -1
- thousandeyes_sdk/instant_tests/models/web_transaction_instant_test.py +4 -16
- thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_request.py +7 -7
- thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_response.py +273 -0
- thousandeyes_sdk/instant_tests/models/web_transaction_properties.py +3 -3
- {thousandeyes_sdk_instant_tests-1.3.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0.dist-info}/METADATA +36 -26
- thousandeyes_sdk_instant_tests-2.0.0.dist-info/RECORD +121 -0
- {thousandeyes_sdk_instant_tests-1.3.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0.dist-info}/WHEEL +1 -1
- thousandeyes_sdk/instant_tests/models/expand.py +0 -37
- thousandeyes_sdk_instant_tests-1.3.0.dist-info/RECORD +0 -111
- {thousandeyes_sdk_instant_tests-1.3.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0.dist-info}/LICENSE +0 -0
- {thousandeyes_sdk_instant_tests-1.3.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0.dist-info}/NOTICE +0 -0
- {thousandeyes_sdk_instant_tests-1.3.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0.dist-info}/top_level.txt +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
"""
|
4
4
|
Instant Tests API
|
5
5
|
|
6
|
-
The Instant Tests API
|
6
|
+
The Instant Tests API operations lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
|
7
7
|
|
8
8
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
9
9
|
|
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
|
|
21
21
|
from pydantic import Field, StrictStr
|
22
22
|
from typing import List, Optional
|
23
23
|
from typing_extensions import Annotated
|
24
|
-
from thousandeyes_sdk.instant_tests.models.dns_server_instant_test import DnsServerInstantTest
|
25
24
|
from thousandeyes_sdk.instant_tests.models.dns_server_instant_test_request import DnsServerInstantTestRequest
|
26
|
-
from thousandeyes_sdk.instant_tests.models.
|
25
|
+
from thousandeyes_sdk.instant_tests.models.dns_server_instant_test_response import DnsServerInstantTestResponse
|
26
|
+
from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
|
27
27
|
|
28
28
|
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
|
29
29
|
from thousandeyes_sdk.core.api_response import ApiResponse
|
30
30
|
from thousandeyes_sdk.core.rest import RESTResponseType
|
31
31
|
|
32
32
|
|
33
|
-
class
|
33
|
+
class DNSServerInstantTestsApi:
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator
|
35
35
|
Ref: https://openapi-generator.tech
|
36
36
|
|
@@ -49,7 +49,7 @@ class DNSServerApi:
|
|
49
49
|
self,
|
50
50
|
dns_server_instant_test_request: DnsServerInstantTestRequest,
|
51
51
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
52
|
-
expand: Annotated[Optional[List[
|
52
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
53
53
|
_request_timeout: Union[
|
54
54
|
None,
|
55
55
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -62,7 +62,7 @@ class DNSServerApi:
|
|
62
62
|
_content_type: Optional[StrictStr] = None,
|
63
63
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
64
64
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
65
|
-
) ->
|
65
|
+
) -> DnsServerInstantTestResponse:
|
66
66
|
"""Create DNS server instant test
|
67
67
|
|
68
68
|
Creates and runs a new DNS server instant test.
|
@@ -72,7 +72,7 @@ class DNSServerApi:
|
|
72
72
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
73
73
|
:type aid: str
|
74
74
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
75
|
-
:type expand: List[
|
75
|
+
:type expand: List[ExpandInstantTestOptions]
|
76
76
|
:param _request_timeout: timeout setting for this request. If one
|
77
77
|
number provided, it will be total request
|
78
78
|
timeout. It can also be a pair (tuple) of
|
@@ -106,7 +106,7 @@ class DNSServerApi:
|
|
106
106
|
)
|
107
107
|
|
108
108
|
_response_types_map: Dict[str, Optional[str]] = {
|
109
|
-
'201': "
|
109
|
+
'201': "DnsServerInstantTestResponse",
|
110
110
|
'400': "ValidationError",
|
111
111
|
'401': "UnauthorizedError",
|
112
112
|
'403': "Error",
|
@@ -132,7 +132,7 @@ class DNSServerApi:
|
|
132
132
|
self,
|
133
133
|
dns_server_instant_test_request: DnsServerInstantTestRequest,
|
134
134
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
135
|
-
expand: Annotated[Optional[List[
|
135
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
136
136
|
_request_timeout: Union[
|
137
137
|
None,
|
138
138
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -145,7 +145,7 @@ class DNSServerApi:
|
|
145
145
|
_content_type: Optional[StrictStr] = None,
|
146
146
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
147
147
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
148
|
-
) -> ApiResponse[
|
148
|
+
) -> ApiResponse[DnsServerInstantTestResponse]:
|
149
149
|
"""Create DNS server instant test
|
150
150
|
|
151
151
|
Creates and runs a new DNS server instant test.
|
@@ -155,7 +155,7 @@ class DNSServerApi:
|
|
155
155
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
156
156
|
:type aid: str
|
157
157
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
158
|
-
:type expand: List[
|
158
|
+
:type expand: List[ExpandInstantTestOptions]
|
159
159
|
:param _request_timeout: timeout setting for this request. If one
|
160
160
|
number provided, it will be total request
|
161
161
|
timeout. It can also be a pair (tuple) of
|
@@ -189,7 +189,7 @@ class DNSServerApi:
|
|
189
189
|
)
|
190
190
|
|
191
191
|
_response_types_map: Dict[str, Optional[str]] = {
|
192
|
-
'201': "
|
192
|
+
'201': "DnsServerInstantTestResponse",
|
193
193
|
'400': "ValidationError",
|
194
194
|
'401': "UnauthorizedError",
|
195
195
|
'403': "Error",
|
@@ -215,7 +215,7 @@ class DNSServerApi:
|
|
215
215
|
self,
|
216
216
|
dns_server_instant_test_request: DnsServerInstantTestRequest,
|
217
217
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
218
|
-
expand: Annotated[Optional[List[
|
218
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
219
219
|
_request_timeout: Union[
|
220
220
|
None,
|
221
221
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -238,7 +238,7 @@ class DNSServerApi:
|
|
238
238
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
239
239
|
:type aid: str
|
240
240
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
241
|
-
:type expand: List[
|
241
|
+
:type expand: List[ExpandInstantTestOptions]
|
242
242
|
:param _request_timeout: timeout setting for this request. If one
|
243
243
|
number provided, it will be total request
|
244
244
|
timeout. It can also be a pair (tuple) of
|
@@ -272,7 +272,7 @@ class DNSServerApi:
|
|
272
272
|
)
|
273
273
|
|
274
274
|
_response_types_map: Dict[str, Optional[str]] = {
|
275
|
-
'201': "
|
275
|
+
'201': "DnsServerInstantTestResponse",
|
276
276
|
'400': "ValidationError",
|
277
277
|
'401': "UnauthorizedError",
|
278
278
|
'403': "Error",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"""
|
4
4
|
Instant Tests API
|
5
5
|
|
6
|
-
The Instant Tests API
|
6
|
+
The Instant Tests API operations lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
|
7
7
|
|
8
8
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
9
9
|
|
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
|
|
21
21
|
from pydantic import Field, StrictStr
|
22
22
|
from typing import List, Optional
|
23
23
|
from typing_extensions import Annotated
|
24
|
-
from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test import DnsTraceInstantTest
|
25
24
|
from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test_request import DnsTraceInstantTestRequest
|
26
|
-
from thousandeyes_sdk.instant_tests.models.
|
25
|
+
from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test_response import DnsTraceInstantTestResponse
|
26
|
+
from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
|
27
27
|
|
28
28
|
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
|
29
29
|
from thousandeyes_sdk.core.api_response import ApiResponse
|
30
30
|
from thousandeyes_sdk.core.rest import RESTResponseType
|
31
31
|
|
32
32
|
|
33
|
-
class
|
33
|
+
class DNSTraceInstantTestsApi:
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator
|
35
35
|
Ref: https://openapi-generator.tech
|
36
36
|
|
@@ -49,7 +49,7 @@ class DNSTraceApi:
|
|
49
49
|
self,
|
50
50
|
dns_trace_instant_test_request: DnsTraceInstantTestRequest,
|
51
51
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
52
|
-
expand: Annotated[Optional[List[
|
52
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
53
53
|
_request_timeout: Union[
|
54
54
|
None,
|
55
55
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -62,7 +62,7 @@ class DNSTraceApi:
|
|
62
62
|
_content_type: Optional[StrictStr] = None,
|
63
63
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
64
64
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
65
|
-
) ->
|
65
|
+
) -> DnsTraceInstantTestResponse:
|
66
66
|
"""Create DNS trace instant test
|
67
67
|
|
68
68
|
Creates and runs a new DNS trace instant test.
|
@@ -72,7 +72,7 @@ class DNSTraceApi:
|
|
72
72
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
73
73
|
:type aid: str
|
74
74
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
75
|
-
:type expand: List[
|
75
|
+
:type expand: List[ExpandInstantTestOptions]
|
76
76
|
:param _request_timeout: timeout setting for this request. If one
|
77
77
|
number provided, it will be total request
|
78
78
|
timeout. It can also be a pair (tuple) of
|
@@ -106,7 +106,7 @@ class DNSTraceApi:
|
|
106
106
|
)
|
107
107
|
|
108
108
|
_response_types_map: Dict[str, Optional[str]] = {
|
109
|
-
'201': "
|
109
|
+
'201': "DnsTraceInstantTestResponse",
|
110
110
|
'400': "ValidationError",
|
111
111
|
'401': "UnauthorizedError",
|
112
112
|
'403': "Error",
|
@@ -132,7 +132,7 @@ class DNSTraceApi:
|
|
132
132
|
self,
|
133
133
|
dns_trace_instant_test_request: DnsTraceInstantTestRequest,
|
134
134
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
135
|
-
expand: Annotated[Optional[List[
|
135
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
136
136
|
_request_timeout: Union[
|
137
137
|
None,
|
138
138
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -145,7 +145,7 @@ class DNSTraceApi:
|
|
145
145
|
_content_type: Optional[StrictStr] = None,
|
146
146
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
147
147
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
148
|
-
) -> ApiResponse[
|
148
|
+
) -> ApiResponse[DnsTraceInstantTestResponse]:
|
149
149
|
"""Create DNS trace instant test
|
150
150
|
|
151
151
|
Creates and runs a new DNS trace instant test.
|
@@ -155,7 +155,7 @@ class DNSTraceApi:
|
|
155
155
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
156
156
|
:type aid: str
|
157
157
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
158
|
-
:type expand: List[
|
158
|
+
:type expand: List[ExpandInstantTestOptions]
|
159
159
|
:param _request_timeout: timeout setting for this request. If one
|
160
160
|
number provided, it will be total request
|
161
161
|
timeout. It can also be a pair (tuple) of
|
@@ -189,7 +189,7 @@ class DNSTraceApi:
|
|
189
189
|
)
|
190
190
|
|
191
191
|
_response_types_map: Dict[str, Optional[str]] = {
|
192
|
-
'201': "
|
192
|
+
'201': "DnsTraceInstantTestResponse",
|
193
193
|
'400': "ValidationError",
|
194
194
|
'401': "UnauthorizedError",
|
195
195
|
'403': "Error",
|
@@ -215,7 +215,7 @@ class DNSTraceApi:
|
|
215
215
|
self,
|
216
216
|
dns_trace_instant_test_request: DnsTraceInstantTestRequest,
|
217
217
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
218
|
-
expand: Annotated[Optional[List[
|
218
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
219
219
|
_request_timeout: Union[
|
220
220
|
None,
|
221
221
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -238,7 +238,7 @@ class DNSTraceApi:
|
|
238
238
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
239
239
|
:type aid: str
|
240
240
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
241
|
-
:type expand: List[
|
241
|
+
:type expand: List[ExpandInstantTestOptions]
|
242
242
|
:param _request_timeout: timeout setting for this request. If one
|
243
243
|
number provided, it will be total request
|
244
244
|
timeout. It can also be a pair (tuple) of
|
@@ -272,7 +272,7 @@ class DNSTraceApi:
|
|
272
272
|
)
|
273
273
|
|
274
274
|
_response_types_map: Dict[str, Optional[str]] = {
|
275
|
-
'201': "
|
275
|
+
'201': "DnsTraceInstantTestResponse",
|
276
276
|
'400': "ValidationError",
|
277
277
|
'401': "UnauthorizedError",
|
278
278
|
'403': "Error",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"""
|
4
4
|
Instant Tests API
|
5
5
|
|
6
|
-
The Instant Tests API
|
6
|
+
The Instant Tests API operations lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
|
7
7
|
|
8
8
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
9
9
|
|
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
|
|
21
21
|
from pydantic import Field, StrictStr
|
22
22
|
from typing import List, Optional
|
23
23
|
from typing_extensions import Annotated
|
24
|
-
from thousandeyes_sdk.instant_tests.models.dns_sec_instant_test import DnsSecInstantTest
|
25
24
|
from thousandeyes_sdk.instant_tests.models.dns_sec_instant_test_request import DnsSecInstantTestRequest
|
26
|
-
from thousandeyes_sdk.instant_tests.models.
|
25
|
+
from thousandeyes_sdk.instant_tests.models.dns_sec_instant_test_response import DnsSecInstantTestResponse
|
26
|
+
from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
|
27
27
|
|
28
28
|
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
|
29
29
|
from thousandeyes_sdk.core.api_response import ApiResponse
|
30
30
|
from thousandeyes_sdk.core.rest import RESTResponseType
|
31
31
|
|
32
32
|
|
33
|
-
class
|
33
|
+
class DNSSECInstantTestsApi:
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator
|
35
35
|
Ref: https://openapi-generator.tech
|
36
36
|
|
@@ -49,7 +49,7 @@ class DNSSecurityApi:
|
|
49
49
|
self,
|
50
50
|
dns_sec_instant_test_request: DnsSecInstantTestRequest,
|
51
51
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
52
|
-
expand: Annotated[Optional[List[
|
52
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
53
53
|
_request_timeout: Union[
|
54
54
|
None,
|
55
55
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -62,17 +62,17 @@ class DNSSecurityApi:
|
|
62
62
|
_content_type: Optional[StrictStr] = None,
|
63
63
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
64
64
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
65
|
-
) ->
|
66
|
-
"""Create
|
65
|
+
) -> DnsSecInstantTestResponse:
|
66
|
+
"""Create DNSSEC instant test
|
67
67
|
|
68
|
-
Creates and runs a new
|
68
|
+
Creates and runs a new DNSSEC instant test.
|
69
69
|
|
70
70
|
:param dns_sec_instant_test_request: (required)
|
71
71
|
:type dns_sec_instant_test_request: DnsSecInstantTestRequest
|
72
72
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
73
73
|
:type aid: str
|
74
74
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
75
|
-
:type expand: List[
|
75
|
+
:type expand: List[ExpandInstantTestOptions]
|
76
76
|
:param _request_timeout: timeout setting for this request. If one
|
77
77
|
number provided, it will be total request
|
78
78
|
timeout. It can also be a pair (tuple) of
|
@@ -106,7 +106,7 @@ class DNSSecurityApi:
|
|
106
106
|
)
|
107
107
|
|
108
108
|
_response_types_map: Dict[str, Optional[str]] = {
|
109
|
-
'201': "
|
109
|
+
'201': "DnsSecInstantTestResponse",
|
110
110
|
'400': "ValidationError",
|
111
111
|
'401': "UnauthorizedError",
|
112
112
|
'403': "Error",
|
@@ -132,7 +132,7 @@ class DNSSecurityApi:
|
|
132
132
|
self,
|
133
133
|
dns_sec_instant_test_request: DnsSecInstantTestRequest,
|
134
134
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
135
|
-
expand: Annotated[Optional[List[
|
135
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
136
136
|
_request_timeout: Union[
|
137
137
|
None,
|
138
138
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -145,17 +145,17 @@ class DNSSecurityApi:
|
|
145
145
|
_content_type: Optional[StrictStr] = None,
|
146
146
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
147
147
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
148
|
-
) -> ApiResponse[
|
149
|
-
"""Create
|
148
|
+
) -> ApiResponse[DnsSecInstantTestResponse]:
|
149
|
+
"""Create DNSSEC instant test
|
150
150
|
|
151
|
-
Creates and runs a new
|
151
|
+
Creates and runs a new DNSSEC instant test.
|
152
152
|
|
153
153
|
:param dns_sec_instant_test_request: (required)
|
154
154
|
:type dns_sec_instant_test_request: DnsSecInstantTestRequest
|
155
155
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
156
156
|
:type aid: str
|
157
157
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
158
|
-
:type expand: List[
|
158
|
+
:type expand: List[ExpandInstantTestOptions]
|
159
159
|
:param _request_timeout: timeout setting for this request. If one
|
160
160
|
number provided, it will be total request
|
161
161
|
timeout. It can also be a pair (tuple) of
|
@@ -189,7 +189,7 @@ class DNSSecurityApi:
|
|
189
189
|
)
|
190
190
|
|
191
191
|
_response_types_map: Dict[str, Optional[str]] = {
|
192
|
-
'201': "
|
192
|
+
'201': "DnsSecInstantTestResponse",
|
193
193
|
'400': "ValidationError",
|
194
194
|
'401': "UnauthorizedError",
|
195
195
|
'403': "Error",
|
@@ -215,7 +215,7 @@ class DNSSecurityApi:
|
|
215
215
|
self,
|
216
216
|
dns_sec_instant_test_request: DnsSecInstantTestRequest,
|
217
217
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
218
|
-
expand: Annotated[Optional[List[
|
218
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
219
219
|
_request_timeout: Union[
|
220
220
|
None,
|
221
221
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -229,16 +229,16 @@ class DNSSecurityApi:
|
|
229
229
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
230
230
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
231
231
|
) -> RESTResponseType:
|
232
|
-
"""Create
|
232
|
+
"""Create DNSSEC instant test
|
233
233
|
|
234
|
-
Creates and runs a new
|
234
|
+
Creates and runs a new DNSSEC instant test.
|
235
235
|
|
236
236
|
:param dns_sec_instant_test_request: (required)
|
237
237
|
:type dns_sec_instant_test_request: DnsSecInstantTestRequest
|
238
238
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
239
239
|
:type aid: str
|
240
240
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
241
|
-
:type expand: List[
|
241
|
+
:type expand: List[ExpandInstantTestOptions]
|
242
242
|
:param _request_timeout: timeout setting for this request. If one
|
243
243
|
number provided, it will be total request
|
244
244
|
timeout. It can also be a pair (tuple) of
|
@@ -272,7 +272,7 @@ class DNSSecurityApi:
|
|
272
272
|
)
|
273
273
|
|
274
274
|
_response_types_map: Dict[str, Optional[str]] = {
|
275
|
-
'201': "
|
275
|
+
'201': "DnsSecInstantTestResponse",
|
276
276
|
'400': "ValidationError",
|
277
277
|
'401': "UnauthorizedError",
|
278
278
|
'403': "Error",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"""
|
4
4
|
Instant Tests API
|
5
5
|
|
6
|
-
The Instant Tests API
|
6
|
+
The Instant Tests API operations lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
|
7
7
|
|
8
8
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
9
9
|
|
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
|
|
21
21
|
from pydantic import Field, StrictStr
|
22
22
|
from typing import List, Optional
|
23
23
|
from typing_extensions import Annotated
|
24
|
-
from thousandeyes_sdk.instant_tests.models.
|
25
|
-
from thousandeyes_sdk.instant_tests.models.
|
26
|
-
from thousandeyes_sdk.instant_tests.models.
|
24
|
+
from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
|
25
|
+
from thousandeyes_sdk.instant_tests.models.ftp_server_instant_test_request import FtpServerInstantTestRequest
|
26
|
+
from thousandeyes_sdk.instant_tests.models.ftp_server_instant_test_response import FtpServerInstantTestResponse
|
27
27
|
|
28
28
|
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
|
29
29
|
from thousandeyes_sdk.core.api_response import ApiResponse
|
30
30
|
from thousandeyes_sdk.core.rest import RESTResponseType
|
31
31
|
|
32
32
|
|
33
|
-
class
|
33
|
+
class FTPServerInstantTestsApi:
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator
|
35
35
|
Ref: https://openapi-generator.tech
|
36
36
|
|
@@ -47,9 +47,9 @@ class FTPServerApi:
|
|
47
47
|
@validate_call
|
48
48
|
def create_ftp_server_instant_test(
|
49
49
|
self,
|
50
|
-
|
50
|
+
ftp_server_instant_test_request: FtpServerInstantTestRequest,
|
51
51
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
52
|
-
expand: Annotated[Optional[List[
|
52
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
53
53
|
_request_timeout: Union[
|
54
54
|
None,
|
55
55
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -62,17 +62,17 @@ class FTPServerApi:
|
|
62
62
|
_content_type: Optional[StrictStr] = None,
|
63
63
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
64
64
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
65
|
-
) ->
|
65
|
+
) -> FtpServerInstantTestResponse:
|
66
66
|
"""Create FTP server instant test
|
67
67
|
|
68
68
|
Creates and runs a new FTP server instant test.
|
69
69
|
|
70
|
-
:param
|
71
|
-
:type
|
70
|
+
:param ftp_server_instant_test_request: (required)
|
71
|
+
:type ftp_server_instant_test_request: FtpServerInstantTestRequest
|
72
72
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
73
73
|
:type aid: str
|
74
74
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
75
|
-
:type expand: List[
|
75
|
+
:type expand: List[ExpandInstantTestOptions]
|
76
76
|
:param _request_timeout: timeout setting for this request. If one
|
77
77
|
number provided, it will be total request
|
78
78
|
timeout. It can also be a pair (tuple) of
|
@@ -96,7 +96,7 @@ class FTPServerApi:
|
|
96
96
|
""" # noqa: E501
|
97
97
|
|
98
98
|
_param = self._create_ftp_server_instant_test_serialize(
|
99
|
-
|
99
|
+
ftp_server_instant_test_request=ftp_server_instant_test_request,
|
100
100
|
aid=aid,
|
101
101
|
expand=expand,
|
102
102
|
_request_auth=_request_auth,
|
@@ -106,7 +106,7 @@ class FTPServerApi:
|
|
106
106
|
)
|
107
107
|
|
108
108
|
_response_types_map: Dict[str, Optional[str]] = {
|
109
|
-
'201': "
|
109
|
+
'201': "FtpServerInstantTestResponse",
|
110
110
|
'400': "ValidationError",
|
111
111
|
'401': "UnauthorizedError",
|
112
112
|
'403': "Error",
|
@@ -130,9 +130,9 @@ class FTPServerApi:
|
|
130
130
|
@validate_call
|
131
131
|
def create_ftp_server_instant_test_with_http_info(
|
132
132
|
self,
|
133
|
-
|
133
|
+
ftp_server_instant_test_request: FtpServerInstantTestRequest,
|
134
134
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
135
|
-
expand: Annotated[Optional[List[
|
135
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
136
136
|
_request_timeout: Union[
|
137
137
|
None,
|
138
138
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -145,17 +145,17 @@ class FTPServerApi:
|
|
145
145
|
_content_type: Optional[StrictStr] = None,
|
146
146
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
147
147
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
148
|
-
) -> ApiResponse[
|
148
|
+
) -> ApiResponse[FtpServerInstantTestResponse]:
|
149
149
|
"""Create FTP server instant test
|
150
150
|
|
151
151
|
Creates and runs a new FTP server instant test.
|
152
152
|
|
153
|
-
:param
|
154
|
-
:type
|
153
|
+
:param ftp_server_instant_test_request: (required)
|
154
|
+
:type ftp_server_instant_test_request: FtpServerInstantTestRequest
|
155
155
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
156
156
|
:type aid: str
|
157
157
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
158
|
-
:type expand: List[
|
158
|
+
:type expand: List[ExpandInstantTestOptions]
|
159
159
|
:param _request_timeout: timeout setting for this request. If one
|
160
160
|
number provided, it will be total request
|
161
161
|
timeout. It can also be a pair (tuple) of
|
@@ -179,7 +179,7 @@ class FTPServerApi:
|
|
179
179
|
""" # noqa: E501
|
180
180
|
|
181
181
|
_param = self._create_ftp_server_instant_test_serialize(
|
182
|
-
|
182
|
+
ftp_server_instant_test_request=ftp_server_instant_test_request,
|
183
183
|
aid=aid,
|
184
184
|
expand=expand,
|
185
185
|
_request_auth=_request_auth,
|
@@ -189,7 +189,7 @@ class FTPServerApi:
|
|
189
189
|
)
|
190
190
|
|
191
191
|
_response_types_map: Dict[str, Optional[str]] = {
|
192
|
-
'201': "
|
192
|
+
'201': "FtpServerInstantTestResponse",
|
193
193
|
'400': "ValidationError",
|
194
194
|
'401': "UnauthorizedError",
|
195
195
|
'403': "Error",
|
@@ -213,9 +213,9 @@ class FTPServerApi:
|
|
213
213
|
@validate_call
|
214
214
|
def create_ftp_server_instant_test_without_preload_content(
|
215
215
|
self,
|
216
|
-
|
216
|
+
ftp_server_instant_test_request: FtpServerInstantTestRequest,
|
217
217
|
aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
|
218
|
-
expand: Annotated[Optional[List[
|
218
|
+
expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
|
219
219
|
_request_timeout: Union[
|
220
220
|
None,
|
221
221
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -233,12 +233,12 @@ class FTPServerApi:
|
|
233
233
|
|
234
234
|
Creates and runs a new FTP server instant test.
|
235
235
|
|
236
|
-
:param
|
237
|
-
:type
|
236
|
+
:param ftp_server_instant_test_request: (required)
|
237
|
+
:type ftp_server_instant_test_request: FtpServerInstantTestRequest
|
238
238
|
:param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
|
239
239
|
:type aid: str
|
240
240
|
:param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
|
241
|
-
:type expand: List[
|
241
|
+
:type expand: List[ExpandInstantTestOptions]
|
242
242
|
:param _request_timeout: timeout setting for this request. If one
|
243
243
|
number provided, it will be total request
|
244
244
|
timeout. It can also be a pair (tuple) of
|
@@ -262,7 +262,7 @@ class FTPServerApi:
|
|
262
262
|
""" # noqa: E501
|
263
263
|
|
264
264
|
_param = self._create_ftp_server_instant_test_serialize(
|
265
|
-
|
265
|
+
ftp_server_instant_test_request=ftp_server_instant_test_request,
|
266
266
|
aid=aid,
|
267
267
|
expand=expand,
|
268
268
|
_request_auth=_request_auth,
|
@@ -272,7 +272,7 @@ class FTPServerApi:
|
|
272
272
|
)
|
273
273
|
|
274
274
|
_response_types_map: Dict[str, Optional[str]] = {
|
275
|
-
'201': "
|
275
|
+
'201': "FtpServerInstantTestResponse",
|
276
276
|
'400': "ValidationError",
|
277
277
|
'401': "UnauthorizedError",
|
278
278
|
'403': "Error",
|
@@ -290,7 +290,7 @@ class FTPServerApi:
|
|
290
290
|
|
291
291
|
def _create_ftp_server_instant_test_serialize(
|
292
292
|
self,
|
293
|
-
|
293
|
+
ftp_server_instant_test_request,
|
294
294
|
aid,
|
295
295
|
expand,
|
296
296
|
_request_auth,
|
@@ -325,8 +325,8 @@ class FTPServerApi:
|
|
325
325
|
# process the header parameters
|
326
326
|
# process the form parameters
|
327
327
|
# process the body parameter
|
328
|
-
if
|
329
|
-
_body_params =
|
328
|
+
if ftp_server_instant_test_request is not None:
|
329
|
+
_body_params = ftp_server_instant_test_request
|
330
330
|
|
331
331
|
|
332
332
|
# set the HTTP header `Accept`
|