root ユーザーは、アプライアンスにアップロードされている実行中のどのスクリプトにも再接続できます。root 以外のユーザーは、実行中の自分のスクリプトのみに再接続できます。
スクリプトの詳細については、Oracle ZFS Storage Appliance 管理ガイド、Release OS8.8.x の CLI スクリプトの操作を参照してください。
リクエストの例:
$ curl -kv -H "Accept: text/plain" --user root:pw \ https://hostname:215/api/workflow/v1/scripts/9 GET /api/workflow/v1/scripts/9 HTTP/1.1 Host: zfs-storage.example.com:215 Authorization: Basic Tm8gcGVla2luZyE= User-Agent: curl/7.45.0 Accept: text/plain
結果例:
{
"test2": {,
"str": "this is a string",
"bool": "True",
"posint": 994,
"int": 1123,
"address": "",
"host": "192.0.2.0",
"hostname": "example.com",
"color": "red",
"languages": "latin",
"size": "red",
"onoff": "off",
"number": 0,
"stringlist": "this is another string",
"emptystringlist": "this is another string",
"yetanotherstr": "You can't change me",
"emptystr": "Any string",
"password": "password",
"longpassword": "longpassword",
"permissions": "022",
"nonnegativeint": 42,
"port": 21,
"time": "Thu Jan 01 1970 15:22:30 GMT+0000 (UTC)",
"date": "Sun Jun 17 2007 00:00:00 GMT+0000 (UTC)",
"datetime": "Sun Jun 17 2007 15:22:00 GMT+0000 (UTC)",
"hostport": "ipaddr-1",
"dn": "uid=root,ou=people,dc=fishpong,dc=com",
"commalist": "foo,bar"
}
},
"utask": []
}