华为乾坤-刷新DfsGroup信息:响应示例

时间:2025-05-12 15:31:53

响应示例

返回状态码为200:DfsGroup刷新结果

HTTP/1.1 200 OK
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
	"errorCode" : "1",
	"errorMsg" : "connect device failed",
	"dfsGroupInfo" : {
		"id" : "d25de9be-1d9a-4d06-a519-09ff92fee050",
		"name" : "dfs-group-name-1",
		"siteName" : "site-name-1",
		"members" : [
			{
				"id" : "as25fdbf-8dee-4823-bac2-5bfe8e3359cb",
				"status" : 0,
				"name" : "devicename-1",
				"esn" : "21500102390000009990",
				"deviceModel" : "S6730-H28X6CZ-V2",
				"peerLinkIfName" : "Eth-trunk1"
			}
		],
		"peerLinkStatus" : 1,
		"status" : 1,
		"physicalLinkId" : "e9bed25d-1d9a-4d06-a519-09ff92fee050"
	}
}

返回状态码为400:参数错误

HTTP/1.1 400 Bad Request
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive

返回状态码为500:服务内部错误

HTTP/1.1 500 Internal Server Error
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002128679114.html