File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
api/src/main/java/org/apache/cloudstack
server/src/main/java/com/cloud/api Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ public class BackupRepositoryResponse extends BaseResponse {
5757 @ Param (description = "backup type" )
5858 private String type ;
5959
60+ @ SerializedName (ApiConstants .MOUNT_OPTIONS )
61+ @ Param (description = "mount options" , since = "4.22.1" )
62+ private String mountOptions ;
63+
6064 @ SerializedName (ApiConstants .CAPACITY_BYTES )
6165 @ Param (description = "capacity of the backup repository" )
6266 private Long capacityBytes ;
@@ -128,6 +132,14 @@ public void setType(String type) {
128132 this .type = type ;
129133 }
130134
135+ public String getMountOptions () {
136+ return mountOptions ;
137+ }
138+
139+ public void setMountOptions (String mountOptions ) {
140+ this .mountOptions = mountOptions ;
141+ }
142+
131143 public Long getCapacityBytes () {
132144 return capacityBytes ;
133145 }
Original file line number Diff line number Diff line change @@ -32,5 +32,4 @@ public interface BackupRepositoryService {
3232 BackupRepository updateBackupRepository (UpdateBackupRepositoryCmd cmd );
3333 boolean deleteBackupRepository (DeleteBackupRepositoryCmd cmd );
3434 Pair <List <BackupRepository >, Integer > listBackupRepositories (ListBackupRepositoriesCmd cmd );
35-
3635}
Original file line number Diff line number Diff line change @@ -5526,6 +5526,7 @@ public BackupRepositoryResponse createBackupRepositoryResponse(BackupRepository
55265526 response .setAddress (backupRepository .getAddress ());
55275527 response .setProviderName (backupRepository .getProvider ());
55285528 response .setType (backupRepository .getType ());
5529+ response .setMountOptions (backupRepository .getMountOptions ());
55295530 response .setCapacityBytes (backupRepository .getCapacityBytes ());
55305531 response .setCrossZoneInstanceCreation (backupRepository .crossZoneInstanceCreationEnabled ());
55315532 response .setObjectName ("backuprepository" );
You can’t perform that action at this time.
0 commit comments