此產品有較新版本可以使用。
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
列出群組快照
您可以使用 `ListGroupSnapshots`傳回有關所有已建立群組快照的資訊的方法。
參數
此方法有以下輸入參數:
| Name | 描述 | 類型 | 預設值 | 必需的 |
|---|---|---|---|---|
群組快照ID |
取得單一群組快照 ID 的資訊。 |
整數 |
沒有任何 |
不 |
卷 |
要查詢的唯一磁碟區 ID 陣列。如果您不指定此參數,則會包含叢集上的所有群組快照。 |
volumeID 數組 |
沒有任何 |
不 |
傳回值
此方法傳回以下值:
| Name | 描述 | 類型 |
|---|---|---|
群組快照 |
包含每個群組快照資訊的物件清單。 |
群組快照大批 |
請求範例
該方法的請求類似於以下範例:
{
"method": "ListGroupSnapshots",
"params": {
"volumes": [
31,
49
]
},
"id": 1
}
回應範例
此方法傳回類似以下範例的回應:
{
"groupSnapshots": [
{
"status": "Done",
"remoteStatuses": [
{
"volumePairUUID": "abcdef-1234-5678-90ab-cdef0123",
"remoteStatus": "Present"
}
],
"attributes": {},
"groupSnapshotID": 1,
"createTime": "2014-06-17T17:35:05Z",
"members": [
{
"snapshotUUID": "abcdef-1234-5678-90ab-cdef0123",
"expirationReason": "None",
"virtualVolumeID": "abcdef-1234-5678-90ab-cdef0123",
"groupID": 1,
"createTime": "2014-06-17T17:35:05Z",
"totalSize": 1,
"snapMirrorLabel": "test1",
"volumeName": "test1",
"instanceCreateTime": "2014-06-17T17:35:05Z",
"volumeID": 1,
"checksum": "0x0",
"attributes": {},
"instanceSnapshotUUID": "abcdef-1234-5678-90ab-cdef0123",
"snapshotID": 1,
"status": "Done",
"groupSnapshotUUID": "abcdef-1234-5678-90ab-cdef0123",
"expirationTime": "2014-06-17T17:35:05Z",
"enableRemoteReplication": true,
"name": "test1",
"remoteStatuses": [
{
"volumePairUUID": "abcdef-1234-5678-90ab-cdef0123",
"remoteStatus": "Present"
}
]
}
],
"enableRemoteReplication": true,
"name": "test1",
"groupSnapshotUUID": "abcdef-1234-5678-90ab-cdef0123"
}
]
}
自版本以來的新版本
9.6