我们正在尝试关联在Parent(source)&amp ;;创建的快照的常见属性。副本站点用于还原目的。 我们发现,只有'Notes'可以在故障转移后帮助我们,但是在故障转移后Notes不会被复制。
是否有任何方法或任何API可以帮助我们根据父母和子女相应快照的共同属性触发恢复。副本网站?
类似于我们如何确认从父级到副本的特定快照复制的完成。
答案 0 :(得分:0)
This object mask could help you to retrieve attributes related for snapshots.
Note: A network storage partnership is used to link multiple volumes to each other. These partnerships describe replication hierarchies or link volume snapshots to their associated storage volume.
https://$username:$apiKey@api.softlayer.com/rest/v3/SoftLayer_Network_Storage/$networkStorageId/getObject.json?objectMask=mask[parentPartnerships[partnerVolume,type,volume[parentPartnerships[volume,type]]]]
For all items in the account:
https://$username:$apiKey@api.softlayer.com/rest/v3/SoftLayer_Account/getNetworkStorage.json?objectMask=mask[parentPartnerships[partnerVolume,type,volume]]