Configuration du point de terminaison de test
Le point de terminaison de test est généralement conçu pour des tests plus approfondis et moins pour un temps de réponse minimal. Utilisez Heartbeat Endpoint Configuration pour une utilisation avec l'application de surveillance des services.
Exemples
Le JSON suivant est un exemple pour ce composant de configuration standardisé :
{ "PresharedSecret": "presharedsecret"
, "Enable": true
}
Définition
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://invantive.com/schemas/defs/ExtendedTestEndpointConfig.schema.json",
"title": "ExtendedTestEndpointConfig",
"allOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"Enabled": {
"type": "boolean",
"description": "Whether the test endpoint is enabled."
},
"PresharedSecret": {
"type": ["string", "null"],
"description": "The pre-shared key."
}
}
}
]
}