JavaScript is required to for searching.
Ignorer les liens de navigation
Quitter l'aperu
API RESTful des systèmes Oracle® ZFS Storage Appliance
Oracle Technology Network
Bibliothque
PDF
Aperu avant impression
Commentaires
search filter icon
search icon

Informations document

Utilisation de cette documentation

Chapitre 1 Présentation

Chapitre 2 Utilisation de l'API

Chapitre 3 Commandes du service d'alerte

Chapitre 4 Services Analytics

Chapitre 5 Services matériels

Chapitre 6 Commandes des journaux

Chapitre 7 Commandes réseau

Chapitre 8 Commandes du service des problèmes

Chapitre 9 Service des rôles

Chapitre 10 Services SAN

Chapitre 11 Commandes de service

Chapitre 12 Services de stockage

Chapitre 13 Commandes système

Chapitre 14 Service utilisateur

Chapitre 15 Commandes des workflows

Commandes des services de workflow

List Workflows

Get Workflow

Modify a Workflow

Execute a Workflow

Delete Workflow

Upload Workflow

Chapitre 16 Clients RESTful

Modify a Workflow

Vous pouvez modifier les propriétés d'un workflow unique en envoyant une demande PUT à une ressource de workflow.

Exemple de demande :

PUT /api/workflow/v1/workflows/6c2b6545-fa78-cc7b-8cc1-ff88bd628e7d HTTP/1.1
Authorization: Basic abcefgMWE=
Host: zfssa.example.com:215
Accept: application/json
Content-Type: application/json
Content-Length: 28

{"setid": false}

Exemple de réponse :

HTTP/1.1 202 Accepted
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 234

{
    "workflow": {
        "alert": false,
        "description": "Echo bird repeats a song.",
        "href": "/api/workflow/v1/workflows/448b78e1-f219-e8f4-abb5-e01e09e1fac8",
        "name": "Echo",
        "origin": "<local>",
        "owner": "root",
        "scheduled": false,
        "setid": true,
        "uuid": "448b78e1-f219-e8f4-abb5-e01e09e1fac8",
        "version": ""
    }
}