test
Creates, updates, deletes, gets or lists a test
resource.
Overview
Name | test |
Type | Resource |
Id | sumologic.connections.test |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
testConnection | exec | region , name , type | functionalities , connectionId | Test a new connection url is valid and can connect. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
connectionId | string | Unique identifier of an existing connection to test. It should be provided when the request body of an existing connection contains masked authorization headers. If not provided, the authorization headers will not be correctly unmasked, and the test may fail due to unauthorized access. (example: 0000000000123ABC) |
functionalities | array | A comma-separated functionalities of webhook payload to test. Acceptable values: alert , resolution . (example: alert,resolution) |
Lifecycle Methods
- testConnection
Test a new connection url is valid and can connect.
EXEC sumologic.connections.test.testConnection
@region='{{ region }}' --required,
@functionalities='{{ functionalities }}',
@connectionId='{{ connectionId }}'
@@json=
'{
"type": "{{ type }}",
"name": "{{ name }}",
"description": "{{ description }}"
}'
;