File tree Expand file tree Collapse file tree 3 files changed +75
-0
lines changed
src/main/java/com/yunionyun/mcp/mcclient/managers/impl/compute Expand file tree Collapse file tree 3 files changed +75
-0
lines changed Original file line number Diff line number Diff line change
1
+ package com .yunionyun .mcp .mcclient .managers .impl .compute ;
2
+
3
+ import com .yunionyun .mcp .mcclient .EndpointType ;
4
+ import com .yunionyun .mcp .mcclient .managers .ComputeManager ;
5
+
6
+ /**
7
+ * 备份存储
8
+ *
9
+ * @author zxc
10
+ * @date 2020/01/18
11
+ */
12
+ public class BackupStorageManager extends ComputeManager {
13
+ public BackupStorageManager () {
14
+ this (EndpointType .InternalURL );
15
+ }
16
+
17
+ public BackupStorageManager (EndpointType endpointType ) {
18
+ super (
19
+ "backupstorage" ,
20
+ "backupstorages" ,
21
+ endpointType ,
22
+ new String []{},
23
+ new String []{});
24
+ }
25
+ }
Original file line number Diff line number Diff line change
1
+ package com .yunionyun .mcp .mcclient .managers .impl .compute ;
2
+
3
+ import com .yunionyun .mcp .mcclient .EndpointType ;
4
+ import com .yunionyun .mcp .mcclient .managers .ComputeManager ;
5
+
6
+ /**
7
+ * 磁盘备份
8
+ *
9
+ * @author zxc
10
+ * @date 2020/01/18
11
+ */
12
+ public class DiskBackupManager extends ComputeManager {
13
+ public DiskBackupManager () {
14
+ this (EndpointType .InternalURL );
15
+ }
16
+
17
+ public DiskBackupManager (EndpointType endpointType ) {
18
+ super (
19
+ "diskbackup" ,
20
+ "diskbackups" ,
21
+ endpointType ,
22
+ new String []{},
23
+ new String []{});
24
+ }
25
+ }
Original file line number Diff line number Diff line change
1
+ package com .yunionyun .mcp .mcclient .managers .impl .compute ;
2
+
3
+ import com .yunionyun .mcp .mcclient .EndpointType ;
4
+ import com .yunionyun .mcp .mcclient .managers .ComputeManager ;
5
+
6
+ /**
7
+ * 主机备份
8
+ *
9
+ * @author zxc
10
+ * @date 2020/01/18
11
+ */
12
+ public class InstanceBackupManager extends ComputeManager {
13
+ public InstanceBackupManager () {
14
+ this (EndpointType .InternalURL );
15
+ }
16
+
17
+ public InstanceBackupManager (EndpointType endpointType ) {
18
+ super (
19
+ "instancebackup" ,
20
+ "instancebackups" ,
21
+ endpointType ,
22
+ new String []{},
23
+ new String []{});
24
+ }
25
+ }
You can’t perform that action at this time.
0 commit comments