Ignorer les liens de navigation | |
Quitter l'aperu | |
![]() |
API RESTful des systèmes Oracle® ZFS Storage Appliance |
Utilisation de cette documentation
Chapitre 2 Utilisation de l'API
Chapitre 3 Commandes du service d'alerte
Chapitre 6 Commandes des journaux
Chapitre 8 Commandes du service des problèmes
Chapitre 11 Commandes de service
Chapitre 12 Services de stockage
Chapitre 14 Service utilisateur
Répertorie les propriétés d'un seuil d'alerte unique.
Exemple de demande :
GET /api/alert/v1/thresholds/1b15d405-75c4-4c0c-e0f6-8a108165b874 HTTP/1.1 Authorization: Basic abcd123MWE= Host: zfssa.example.com:215 Accept: application/json
Exemple de résultat :
HTTP/1.1 200 OK X-Zfssa-Appliance-Api: 1.0 Content-Type: application/json Content-Length: 363 { "threshold": { "days": "weekdays", "frequency": 300, "href": "/api/alert/v1/thresholds/ 1b15d405-75c4-4c0c-e0f6-8a108165b874", "limit": 100000, "minclear": 300, "minpost": 300, "statname": "datalink.kilobytes", "type": "normal", "uuid": "1b15d405-75c4-4c0c-e0f6-8a108165b874", "window_end": 0, "window_start": -1 } }