还原卷(上云卷) 请求示例1 单机版:还原卷luna9。 plaintext POST /rest/v1/block/lun HTTP/1.1 Date: Mon, 13 May 2024 10: 46: 42 GMT ContentType: application/json; charsetutf8 Connection: keepalive Authorization: HBlock userName:signature ContentLength: 516 Host: 192.168.0.32: 1443 { "lunName": "luna9", "uuid": "lunuuiddf8308a9bfb040a0bf9d7e741b1b6a63", "targetName": "targeta", "storageMode": "Storage", "config": { "writePolicy": "WriteThrough" }, "cloud": { "bucketName": "hblocktest3", "prefix": "hblock1", "accessKey": "cb22b08b1f9229f85874", "secretKey": "", "endpoint": "ooscn.ctyunapi.cn", "signVersion": "v4", "region": "cn" } } 响应示例1 plaintext HTTP/1.1 200 OK xhblockrequestid: 20b087c7711f44af9588cc013ede8654 Connection: keepalive ContentLength: 0 Date: Mon, 13 May 2024 10: 46: 42 GMT Server: HBlock 请求示例2 集群版:还原卷lun08a。 plaintext POST /rest/v1/block/lun/recover HTTP/1.1 Date: Mon, 13 May 2024 09:33:12 GMT ContentType: application/json; charsetutf8 Connection: keepalive Authorization: HBlock userName:signature ContentLength: 629 Host: 192.168.0.110: 1443 { "lunName": "lun08a", "uuid": "lunuuida74475f78d7349b5bd820ac0309e1fae", "targetName": "target08", "storageMode": "Storage", "config": { "localStorageClass": "EC 2+1", "minReplica": 2, "highAvailability": "ActiveStandby", "writePolicy": "WriteThrough" }, "cloud": { "bucketName": "hblocktest3", "prefix": "hblock", "accessKey": "cb22b08b1f9229f85874", "secretKey": "", "endpoint": "ooscn.ctyunapi.cn", "signVersion": "v4", "region": "cn" } }