サービスアダプタを起点にテンプレート変数の値を一括取得する
パラメータ無し
Key |
Type |
Value |
---|---|---|
code |
String |
SAコード |
values |
Array |
変数の一覧
|
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/template/1/sa/tss99990001/variable
Content-Type: application/json
{ "code": "tss90000140", "values": [ { "name": "HOSTNAME", "value": null }, { "name": "LAN0PREFIX", "value" :null }, { "name": "LAN0ADDRESS", "value": null }, { "name": "LAN1ADDRESS", "value": "192.168.0.1" } ] }
サービスアダプタを起点にテンプレート変数の値を一括変更する
Content-Type: application/json
Key |
Type |
Value |
---|---|---|
values |
Array |
変数の一覧 (必須)
|
Key |
Type |
Value |
---|---|---|
code |
String |
SAコード |
values |
Array |
変数の一覧
|
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/template/1/sa/tss99990001/variable
Content-Type: application/json
{ "values": [ { "name": "HOSTNAME", "value": "SEIL/X1 001" }, { "name": "LAN0PREFIX", "value": "24" }, { "name": "LAN0ADDRESS", "value": "192.168.1.1" }, { "name": "LAN1ADDRESS", "value":"10.0.0.1" } ] }
Content-Type: application/json
{ "code": "tss99990001", "values": [ { "name": "HOSTNAME", "value": "SEIL/X1 001" }, { "name": "LAN0PREFIX", "value": "24" }, { "name": "LAN0ADDRESS", "value": "192.168.1.1" }, { "name": "LAN1ADDRESS", "value":"10.0.0.1" } ] }