You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicstaticfinalStringCHECKSUM_PARAMETER_PREFIX_DESCRIPTION = "The parameter containing the checksum will be considered a MD5sum if it is not prefixed\n"
1164
1168
+ " and just a plain ascii/utf8 representation of a hexadecimal string. If it is required to\n"
//////////////// API parameters /////////////////////
@@ -84,6 +86,20 @@ public class CopySnapshotCmd extends BaseAsyncCmd implements UserCmd {
84
86
"Do not specify destzoneid and destzoneids together, however one of them is required.")
85
87
protectedList<Long> destZoneIds;
86
88
89
+
@Parameter(name = ApiConstants.STORAGE_ID_LIST,
90
+
type=CommandType.LIST,
91
+
collectionType = CommandType.UUID,
92
+
entityType = StoragePoolResponse.class,
93
+
required = false,
94
+
authorized = RoleType.Admin,
95
+
since = "4.21.0",
96
+
description = "A comma-separated list of IDs of the storage pools in other zones in which the snapshot will be made available. " +
97
+
"The snapshot will always be made available in the zone in which the volume is present. Currently supported for StorPool only")
98
+
protectedList<Long> storagePoolIds;
99
+
100
+
@Parameter (name = ApiConstants.USE_STORAGE_REPLICATION, type=CommandType.BOOLEAN, required = false, since = "4.21.0", description = "This parameter enables the option the snapshot to be copied to supported primary storage")
@@ -99,6 +102,19 @@ public class CreateSnapshotCmd extends BaseAsyncCreateCmd {
99
102
since = "4.19.0")
100
103
protectedList<Long> zoneIds;
101
104
105
+
@Parameter(name = ApiConstants.STORAGE_ID_LIST,
106
+
type=CommandType.LIST,
107
+
collectionType = CommandType.UUID,
108
+
entityType = StoragePoolResponse.class,
109
+
authorized = RoleType.Admin,
110
+
description = "A comma-separated list of IDs of the storage pools in other zones in which the snapshot will be made available. " +
111
+
"The snapshot will always be made available in the zone in which the volume is present.",
112
+
since = "4.21.0")
113
+
protectedList<Long> storagePoolIds;
114
+
115
+
@Parameter (name = ApiConstants.USE_STORAGE_REPLICATION, type=CommandType.BOOLEAN, required = false, description = "This parameter enables the option the snapshot to be copied to supported primary storage")
0 commit comments